@import url("../webfonts/LibreFranklin/stylesheet.css");

#cine7 {
  color-scheme: dark;
  --paper: #000a26;
  --panel: #121b35;
  --ink: #f5f7ff;
  --muted: #c5d0eb;
  --rule: #3a4e7f;
  --copy-size: 14px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 14px/1.55 "Libre Franklin", system-ui, sans-serif;
}
#cine7[data-theme="light"] {
  color-scheme: light;
  --paper: #cad1e2;
  --panel: #e4e6ed;
  --ink: #242019;
  --muted: #514b45;
  --rule: #9ba9c3;
}
#cine7[data-size="small"] { --copy-size: 13px; }
#cine7[data-size="large"] { --copy-size: 16px; }
#cine7 * { box-sizing: border-box; }
#cine7 header, #cine7 .site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  padding-block: 12px;
  gap: 8px 16px;
}
#cine7 .brand { margin-right: auto; }
#cine7 .brand svg { display: block; width: 116px; height: auto; }
#cine7 .text-size-controls { display: flex; flex-wrap: wrap; gap: 6px; }
#cine7 button, #cine7 .read-more, #cine7 main .browse-button {
  display: inline-block;
  border: 1px solid var(--rule);
  border-radius: 5px;
  padding: 8px 12px;
  min-height: 44px;
  background: transparent;
  color: inherit;
  font: inherit;
}
#cine7 main .browse-button, #cine7 main .read-more { text-decoration: none; }
#cine7 button { cursor: pointer; }
#cine7 button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
#cine7 .site-nav > * { padding: 5px 0; font-weight: 600; }
#cine7 .site-nav [aria-disabled="true"] { color: var(--muted); }
#cine7 main, #cine7 .site-top > header, #cine7 .site-top > .site-nav {
  max-width: 1070px;
  margin-inline: auto;
  padding-inline: 4%;
}
#cine7 main { padding-block: 24px 36px; font-size: var(--copy-size); }
#cine7 a { color: inherit; }
#cine7 main a, #cine7 .site-nav a:hover { text-decoration: underline; text-underline-offset: .2em; }
#cine7 :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
#cine7 .listing_block, #cine7 .listing_block_display {
  display: flow-root;
  width: 100%;
  min-height: 0;
  padding: clamp(12px, 3vw, 28px);
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 8px;
  box-shadow: none;
}
#cine7 h1, #cine7 h2, #cine7 .film_title {
  margin: 0 0 .4em;
  color: inherit;
  font: 650 1.7em/1.15 "Libre Franklin", system-ui, sans-serif;
  letter-spacing: -.025em;
}
#cine7 h1 { font-size: clamp(1.9em, 5vw, 3.5em); }
#cine7 .year, #cine7 .director_grey, #cine7 .text_body_grey_reg,
#cine7 .schedule_film_grey { color: var(--muted); }
#cine7 .director, #cine7 .cast, #cine7 .production, #cine7 .synopsis,
#cine7 .film_title_alt, #cine7 .film_title_strap, #cine7 .text_body,
#cine7 .text_centre, #cine7 .records, #cine7 .sub_heading,
#cine7 .schedule_film_black {
  color: inherit;
  font-family: inherit;
  line-height: 1.55;
  text-shadow: none;
}
#cine7 .director, #cine7 .cast, #cine7 .production, #cine7 .synopsis,
#cine7 .text_body, #cine7 .records { font-size: var(--copy-size); }
#cine7 .schedule_date, #cine7 .panel_heading, #cine7 .entry_head {
  background: var(--panel);
  color: var(--ink);
}
#cine7 .list_image, #cine7 .list_image1 {
  margin: 0 0 12px 16px;
  border: 0;
  border-radius: 5px;
}
#cine7 .input { max-width: 100%; }
#cine7 .read-more { margin-top: 10px; }
@media (max-width: 540px) {
  #cine7 .list_image, #cine7 .list_image1 {
    float: none;
    width: min(100%, 300px);
    margin: 0 0 12px;
  }
}

#cine7 .site-top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
}
#cine7 .film-card {
  display: grid;
  grid-template-columns: minmax(110px, 24%) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  border: 0;
  padding: 16px;
}
#cine7 .still-frame {
  position: relative;
  width: 100%;
  background: var(--rule);
  border-radius: 5px;
  overflow: hidden;
}
#cine7 .still-frame::before {
  content: "";
  display: block;
  padding-top: 60.606%;
}
#cine7 .still-frame > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
#cine7 .film-thumb, #cine7 .gallery-main { display: block; object-fit: cover; }
#cine7 .still-frame > [hidden] { display: none; }
#cine7 .still-placeholder {
  display: grid;
  place-items: center;
  background: var(--rule);
  color: var(--ink);
  text-align: center;
}
#cine7 .film-copy .cast, #cine7 .film-copy .director {
  color: var(--muted);
  font-weight: normal;
}
#cine7 .film-copy .synopsis { max-width: 72ch; }
#cine7 .film-copy h2 a { text-decoration: none; }
#cine7 .film-copy h2 a:hover { text-decoration: underline; }
#cine7 .film-detail {
  background: var(--panel);
  border-radius: 8px;
  padding: clamp(12px, 3vw, 28px);
}
#cine7 .film-hero, #cine7 .film-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
#cine7 .film-detail h1 { font-size: clamp(2.3em, 5.5vw, 3.85em); }
#cine7 .film-detail .year { display: block; font: 400 var(--copy-size)/1.5 "Libre Franklin", system-ui, sans-serif; }
#cine7 .film-kicker {
  color: var(--muted);
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .16em;
}
#cine7 .still-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
  border-radius: 5px;
}
#cine7 .still-strip, #cine7 .film-cast ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(55px, 1fr));
  gap: 8px;
  margin: 8px 0;
}
#cine7 .still-strip a[aria-current="true"] { outline: 2px solid var(--ink); outline-offset: 2px; }
#cine7 .film-cast, #cine7 .film-details, #cine7 .film-review {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  margin-top: 16px;
}
#cine7 .film-cast ul {
  list-style: none;
  padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}
#cine7 .film-cast li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 6px;
  background: var(--paper);
  border-radius: 5px;
  overflow-wrap: anywhere;
}
#cine7 .film-cast img { width: 72px; height: 72px; flex: none; object-fit: cover; border-radius: 4px; }
#cine7 .film-cast small { display: block; color: var(--muted); }
#cine7 .film-details { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
#cine7 .film-details dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 5px 12px; }
#cine7 .film-details dt { color: var(--muted); }
#cine7 .film-details dd { margin: 0; }
@media (max-width: 580px) {
  #cine7 .film-card, #cine7 .film-hero, #cine7 .film-details { grid-template-columns: minmax(0, 1fr); }
  #cine7 .film-card .still-frame { width: min(100%, 220px); }
}

#cine7 form .input {
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--rule);
}
#cine7 form input.input { caret-color: var(--ink); }
#cine7 .gallery-outgoing {
  z-index: 1;
  pointer-events: none;
  animation: cine7-gallery-fade 1.2s linear forwards;
}
@keyframes cine7-gallery-fade {
  from { opacity: 1; }
  to { opacity: 0; }
}

#cine7 .list_image {
  float: right;
  width: min(38%, 300px);
}
@media (max-width: 540px) {
  #cine7 .list_image { float: none; width: min(100%, 300px); }
}

#cine7 .festival-search-options {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin: 1em 0;
}
#cine7 .festival-search-options p { margin: 0; }

#cine7 .results-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  margin-bottom: 1rem;
}
#cine7 .results-heading h1 { margin: 0; overflow-wrap: anywhere; }
#cine7 .results-heading .browse-button {
  justify-self: end;
  max-inline-size: min(12rem, 38vw);
  text-align: center;
}

/* Film links and stills share the home page presentation. */
#cine7 .film_title a,
#cine7 .film_title a:hover,
#cine7 .film_title a:focus,
#cine7 .schedule_film_black a,
#cine7 .schedule_film_grey a {
  text-decoration: none;
}

#cine7 .film-card {
  display: flow-root;
}

#cine7 .film-card > .still-frame {
  float: right;
  width: 24%;
  margin: 0 0 12px 20px;
}

#cine7 .still-placeholder {
  display: none;
}

#cine7 .still-frame[hidden] {
  display: none;
}

#cine7 .still-frame:not(:has(img)),
#cine7 .still-frame:has(> img[hidden]) {
  display: none;
}

#cine7 .film-hero:not(:has(.still-frame img:not([hidden]))) {
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 540px) {
  #cine7 .film-card > .still-frame {
    float: none;
    width: min(100%, 300px);
    margin: 0 0 12px;
  }
}
