/* WP5 Veyrona-inspired appearance */
/* Appearance only. Existing temav2 templates and behavior are retained. */
:root {
  --contrast: #f4f4f6;
  --contrast-2: #b3b7c6;
  --contrast-3: #7f8599;
  --base: #20232e;
  --base-2: #0b0c10;
  --base-3: #14161e;
  --accent: #ff8069;
  --cinema-line: #2b2e3b;
}
body.wp-theme-temav2 {
  color-scheme: dark;
  background: #0b0c10;
  color: #d5d7e1;
  font-family: Arial, Helvetica, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.75;
}
.wp-theme-temav2 a { color: #f0f0f5; text-decoration: none; }
.wp-theme-temav2 a:hover { color: #ff9f8c; }
.wp-theme-temav2 :is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid #ff9f8c;
  outline-offset: 4px;
}
.wp-theme-temav2 :is(h1, h2, h3, h4, h5, h6) {
  color: #f4f4f6;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.035em;
}
.wp-theme-temav2 .grid-container { max-width: 1320px; }
.wp-theme-temav2 .site-header {
  background: #101117;
  border-bottom: 1px solid #2b2e3b;
}
.wp-theme-temav2 .inside-header {
  padding: 30px 28px 0;
  gap: 24px;
  flex-wrap: wrap;
}
.wp-theme-temav2 .site-branding { padding-bottom: 23px; }
.wp-theme-temav2 .main-title { font-size: clamp(23px, 2.5vw, 32px); letter-spacing: -1.2px; }
.wp-theme-temav2 .main-title a,
.wp-theme-temav2 .main-title a:visited { display: inline-flex; align-items: center; gap: 13px; color: #f4f4f6; }
.wp-theme-temav2 .main-title a::before {
  content: '\25B6';
  display: inline-grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 44px;
  padding-left: 2px;
  box-sizing: border-box;
  border-radius: 9px;
  background: #ff8069;
  color: #191116;
  font-size: 15px;
  letter-spacing: 0;
}
.wp-theme-temav2 .site-description { color: #a8aebe; margin-top: 7px; font-size: 11px; letter-spacing: .08em; }
.wp-theme-temav2 .header-image { max-height: 60px; width: auto; }
.wp-theme-temav2 .main-navigation {
  margin: 0;
  width: 100%;
  background: #101117;
  border-top: 1px solid #242733;
}
.wp-theme-temav2 .main-navigation .inside-navigation { padding: 0; }
.wp-theme-temav2 .main-navigation .main-nav ul li a {
  color: #d0d3de;
  background: transparent;
  padding: 0 17px;
  line-height: 54px;
  font-size: 12px;
  font-weight: 600;
}
.wp-theme-temav2 .main-navigation .main-nav > ul > li:first-child > a { padding-left: 0; }
.wp-theme-temav2 .main-navigation .main-nav ul li:is(:hover, :focus-within, [class*="current-menu-"]) > a {
  color: #ff9f8c;
  background: transparent;
}
.wp-theme-temav2 .main-navigation .main-nav ul ul {
  background: #1b1e28;
  border: 1px solid #343949;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 15px 35px #0006;
}
.wp-theme-temav2 .main-navigation .main-nav ul ul li a { padding: 12px 18px; line-height: 1.6; }
.wp-theme-temav2 .menu-toggle { min-height: 52px; color: #eeeef3; background: transparent; padding-left: 0; }
.wp-theme-temav2 .menu-toggle:hover,
.wp-theme-temav2 .menu-toggle:focus { background: transparent; color: #ff9f8c; }
.wp-theme-temav2 .site-content { display: flex; gap: 30px; padding: 34px 28px 0; }
.wp-theme-temav2 .content-area { width: calc(100% - 280px); min-width: 0; }
.wp-theme-temav2.no-sidebar .content-area { width: 100%; }
.wp-theme-temav2 .is-right-sidebar,
.wp-theme-temav2 .is-left-sidebar { width: 250px; flex-shrink: 0; }
.wp-theme-temav2 .site-main,
.wp-theme-temav2 .inside-right-sidebar,
.wp-theme-temav2 .inside-left-sidebar { margin: 0; }
.wp-theme-temav2:is(.blog, .archive, .search-results) .site-main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.wp-theme-temav2:is(.blog, .archive, .search-results) .site-main > article { margin: 0; min-width: 0; height: 100%; }
.wp-theme-temav2 .inside-article,
.wp-theme-temav2 .comments-area,
.wp-theme-temav2 .paging-navigation,
.wp-theme-temav2 .page-header {
  background: #14161e;
  border: 1px solid #2b2e3b;
  border-radius: 10px;
}
.wp-theme-temav2:is(.blog, .archive, .search-results) article .inside-article {
  padding: 0;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.wp-theme-temav2:is(.blog, .archive, .search-results) article .post-image {
  order: -1;
  margin: 0;
  overflow: hidden;
  background: #1a1d26;
}
.wp-theme-temav2:is(.blog, .archive, .search-results) article .post-image a { display: block; }
.wp-theme-temav2:is(.blog, .archive, .search-results) article .post-image img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: cover;
}
.wp-theme-temav2:is(.blog, .archive, .search-results) article .entry-header { padding: 19px 18px 0; }
.wp-theme-temav2:is(.blog, .archive, .search-results) article .entry-title { font-size: 19px; letter-spacing: -.4px; line-height: 1.35; }
.wp-theme-temav2 .entry-title a,
.wp-theme-temav2 .entry-title a:visited { color: #f2f2f7; }
.wp-theme-temav2 .entry-title a:hover { color: #ff9f8c; }
.wp-theme-temav2 .entry-meta { color: #949caf; font-size: 11px; line-height: 1.8; }
.wp-theme-temav2 .entry-meta a { color: #adb4c6; }
.wp-theme-temav2 .entry-meta a:hover { color: #ff9f8c; }
.wp-theme-temav2:is(.blog, .archive, .search-results) article :is(.entry-summary, .entry-content) {
  margin: 13px 18px 0;
  color: #b5bbcb;
  font-size: 12px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.wp-theme-temav2 .entry-summary p:last-child { margin-bottom: 0; }
.wp-theme-temav2:is(.blog, .archive, .search-results) article footer.entry-meta {
  border-top: 1px solid #2b2e3b;
  padding: 13px 18px 17px;
  margin-top: 18px;
  font-size: 10px;
}
.wp-theme-temav2 .read-more { color: #ff9f8c; font-weight: 600; }
.wp-theme-temav2 .sidebar .widget { padding: 22px; background: #14161e; border: 1px solid #2b2e3b; border-radius: 9px; margin-bottom: 22px; font-size: 12px; }
.wp-theme-temav2 .widget-title,
.wp-theme-temav2 .sidebar .wp-block-heading { font-size: 17px; margin-bottom: 19px; padding-bottom: 13px; border-bottom: 1px solid #2b2e3b; }
.wp-theme-temav2 .sidebar :is(.widget-title, .wp-block-heading)::before { content: ''; display: inline-block; width: 4px; height: 15px; background: #ff8069; border-radius: 2px; margin-right: 10px; vertical-align: -2px; }
.wp-theme-temav2 .sidebar .widget li { margin-bottom: 11px; line-height: 1.75; }
.wp-theme-temav2 .sidebar .widget a { color: #c7ccda; }
.wp-theme-temav2 .sidebar .widget a:hover { color: #ff9f8c; }
.wp-theme-temav2 .sidebar .widget ul ul { margin-left: 14px; padding-top: 9px; }
.wp-theme-temav2 .page-header,
.wp-theme-temav2 .paging-navigation,
.wp-theme-temav2 .site-main > .wp-pagenavi,
.wp-theme-temav2 .site-main > #wp_page_numbers { grid-column: 1 / -1; }
.wp-theme-temav2 .page-header { padding: 25px 28px; margin: 0; }
.wp-theme-temav2 .page-header h1 { font-size: clamp(25px, 3vw, 36px); }
.wp-theme-temav2 .paging-navigation { padding: 20px; margin: 8px 0 0; }
.wp-theme-temav2 :is(.page-numbers, .wp-pagenavi a, .wp-pagenavi span) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 42px;
  box-sizing: border-box;
  padding: 6px 12px;
  margin: 3px;
  background: #1a1d27;
  color: #d9deeb;
  border: 1px solid #373d4d;
  border-radius: 5px;
  font-size: 12px;
}
.wp-theme-temav2 :is(.page-numbers.current, .wp-pagenavi .current) { background: #ff8069; border-color: #ff8069; color: #191116; }
.wp-theme-temav2:is(.single, .page) .inside-article { padding: clamp(22px, 3vw, 38px); }
.wp-theme-temav2:is(.single, .page) .entry-title { font-size: clamp(27px, 3.2vw, 43px); letter-spacing: -1px; }
.wp-theme-temav2:is(.single, .page) .entry-content { color: #c9cfdd; font-size: 15px; line-height: 1.95; overflow-wrap: anywhere; }
.wp-theme-temav2 .entry-content :is(a:not(.button), blockquote) { color: #ffa28f; }
.wp-theme-temav2 .entry-content blockquote { background: #1a1d27; border-left-color: #ff8069; border-radius: 0 7px 7px 0; }
.wp-theme-temav2 .entry-content img { border-radius: 7px; }
.wp-theme-temav2 .entry-content :is(iframe, video) { max-width: 100%; border: 0; background: #06070a; border-radius: 8px; }
.wp-theme-temav2 .comments-area { padding: 28px; margin-top: 24px; }
.wp-theme-temav2 .comment-content { background: #1a1d27; border: 1px solid #333847; border-radius: 7px; }
.wp-theme-temav2 :is(input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], select, textarea) {
  background: #1c1f2a;
  color: #edf0f7;
  border: 1px solid #3a4052;
  border-radius: 6px;
  padding: 11px 13px;
  min-height: 44px;
  max-width: 100%;
}
.wp-theme-temav2 input::placeholder,
.wp-theme-temav2 textarea::placeholder { color: #a4abbd; opacity: 1; }
.wp-theme-temav2 :is(button:not(.menu-toggle):not(.dropdown-menu-toggle), input[type="submit"], .button, .wp-block-button__link) {
  background: #ff8069;
  color: #191116;
  border-radius: 6px;
  font-weight: 700;
  min-height: 44px;
}
.wp-theme-temav2 :is(button:not(.menu-toggle):not(.dropdown-menu-toggle), input[type="submit"], .button):hover { background: #ffa28f; color: #191116; }
.wp-theme-temav2 .search-form,
.wp-theme-temav2 .wp-block-search__inside-wrapper { display: flex; gap: 7px; }
.wp-theme-temav2 .search-form label { min-width: 0; flex: 1; }
.wp-theme-temav2 .search-form input[type="search"] { width: 100%; }
.wp-theme-temav2 .search-form .search-submit { padding: 9px 12px; }
.wp-theme-temav2 .site-footer { margin-top: 52px; border-top: 1px solid #2b2e3b; background: #101117; }
.wp-theme-temav2 .footer-widgets { background: #101117; color: #b6bed0; }
.wp-theme-temav2 .site-info { background: #101117; color: #929cb1; font-size: 11px; padding: 25px 28px; }
.wp-theme-temav2 .site-info a { color: #d0d6e2; }
.wp-theme-temav2 .temav2-back-to-top { border: 1px solid #484f61; background: #222633; color: #ff9f8c; border-radius: 50%; }
.wp-theme-temav2 .inside-header:not(:has(#site-navigation .main-nav)) { padding-bottom: 27px; }
.wp-theme-temav2 .inside-header:not(:has(#site-navigation .main-nav)) .site-branding { padding-bottom: 0; }
.wp-theme-temav2 .inside-header:not(:has(#site-navigation .main-nav)) :is(#site-navigation, #mobile-menu-control-wrapper) { display: none; }
.wp-theme-temav2 .site-content:not(:has(> .sidebar .widget)) > .sidebar { display: none; }
.wp-theme-temav2 .site-content:not(:has(> .sidebar .widget)) > .content-area { width: 100%; }
.wp-theme-temav2 .entry-summary:not(:has(*)) { margin: 0; }
.wp-theme-temav2.single .inside-article:has(> .featured-image) { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 28px; align-items: center; }
.wp-theme-temav2.single .inside-article > .featured-image { grid-column: 1; grid-row: 1; margin: 0; }
.wp-theme-temav2.single .inside-article > .featured-image img { display: block; width: 150px; border-radius: 6px; }
.wp-theme-temav2.single .inside-article:has(> .featured-image) > .entry-header { grid-column: 2; grid-row: 1; }
.wp-theme-temav2.single .inside-article:has(> .featured-image) > :is(.entry-content, footer) { grid-column: 1 / -1; margin-top: 0; }
@media (min-width: 1101px) {
  .wp-theme-temav2:is(.blog, .archive, .search-results) .site-content:not(:has(> .sidebar .widget)) .site-main { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .wp-theme-temav2 .site-content { gap: 22px; padding-inline: 22px; }
  .wp-theme-temav2 .content-area { width: calc(100% - 242px); }
  .wp-theme-temav2 .is-right-sidebar,
  .wp-theme-temav2 .is-left-sidebar { width: 220px; }
  .wp-theme-temav2:is(.blog, .archive, .search-results) .site-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .wp-theme-temav2:is(.blog, .archive, .search-results) .site-content:not(:has(> .sidebar .widget)) .site-main { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wp-theme-temav2 .sidebar .widget { padding: 18px; }
}
@media (max-width: 768px) {
  .wp-theme-temav2 .inside-header { padding: 23px 20px 0; gap: 0; }
  .wp-theme-temav2 .site-branding { padding-bottom: 22px; }
  .wp-theme-temav2 .inside-header .main-navigation { width: 100%; flex-basis: 100%; margin: 0; }
  .wp-theme-temav2 .main-navigation .main-nav ul li a { padding: 0 15px; line-height: 48px; }
  .wp-theme-temav2 .main-navigation.toggled .main-nav > ul > li:first-child > a { padding-left: 15px; }
  .wp-theme-temav2 .main-navigation.toggled .main-nav { padding-bottom: 12px; }
  .wp-theme-temav2 .site-content { padding: 24px 18px 0; gap: 28px; flex-direction: column; }
  .wp-theme-temav2 .content-area,
  .wp-theme-temav2 .is-right-sidebar,
  .wp-theme-temav2 .is-left-sidebar { width: 100%; }
  .wp-theme-temav2:is(.blog, .archive, .search-results) .site-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .wp-theme-temav2:is(.blog, .archive, .search-results) article .entry-header { padding: 15px 13px 0; }
  .wp-theme-temav2:is(.blog, .archive, .search-results) article .entry-title { font-size: 16px; letter-spacing: -.2px; }
  .wp-theme-temav2:is(.blog, .archive, .search-results) article :is(.entry-summary, .entry-content) { margin: 12px 13px 0; font-size: 11px; }
  .wp-theme-temav2:is(.blog, .archive, .search-results) article footer.entry-meta { padding: 12px 13px 14px; font-size: 9px; }
  .wp-theme-temav2 .inside-right-sidebar,
  .wp-theme-temav2 .inside-left-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .wp-theme-temav2 .sidebar .widget { min-width: 0; margin: 0; padding: 18px; }
  .wp-theme-temav2 .page-header { padding: 22px; }
  .wp-theme-temav2 .comments-area { padding: 22px; }
  .wp-theme-temav2.single .inside-article:has(> .featured-image) { grid-template-columns: 100px minmax(0, 1fr); gap: 19px; }
  .wp-theme-temav2.single .inside-article > .featured-image img { width: 100px; }
}
@media (max-width: 480px) {
  .wp-theme-temav2 .site-content { padding-inline: 14px; }
  .wp-theme-temav2 .inside-header { padding-inline: 16px; }
  .wp-theme-temav2 .main-title { font-size: 24px; }
  .wp-theme-temav2 .main-title a { gap: 10px; }
  .wp-theme-temav2 .main-title a::before { width: 34px; height: 39px; flex-basis: 34px; font-size: 12px; }
  .wp-theme-temav2 .inside-right-sidebar,
  .wp-theme-temav2 .inside-left-sidebar { grid-template-columns: 1fr; }
  .wp-theme-temav2 .entry-meta { font-size: 10px; }
  .wp-theme-temav2 .site-footer { margin-top: 35px; }
}
@media (prefers-reduced-motion: no-preference) {
  .wp-theme-temav2 .entry-title a,
  .wp-theme-temav2 .main-navigation a,
  .wp-theme-temav2 .sidebar a { transition: color .18s ease; }
  .wp-theme-temav2 .post-image img { transition: transform .3s ease; }
  .wp-theme-temav2:is(.blog, .archive, .search-results) article:hover .post-image img { transform: scale(1.025); }
}


/* Film components follow the existing Veyrona visual language. */
body.temav2-film-site { --film-accent: #ff8069; --film-muted: #adb0be; }
.temav2-film-site .temav2-film-wrap { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.temav2-film-site .grid-container { max-width: 1344px; }
.temav2-film-site .site-content { padding: 0 32px; gap: 28px; }
.temav2-film-site .inside-header { min-height: 104px; padding: 22px 32px; column-gap: 28px; }
.temav2-film-site .inside-header .site-branding,
.temav2-film-site .inside-header:not(:has(#site-navigation .main-nav)) .site-branding { padding: 0; }
.temav2-film-site .inside-header:not(:has(#site-navigation .main-nav)) { padding-bottom: 22px; }
.temav2-film-site .main-title { font-size: 29px; font-weight: 800; line-height: 1.1; }
.temav2-film-site .main-title a::before { width: 45px; height: 48px; flex-basis: 45px; }
.temav2-film-site .temav2-film-header-note { font-size: 9px; letter-spacing: 1.5px; line-height: 1.8; margin: 0 auto 0 0; padding-left: 25px; border-left: 1px solid #2b2e39; color: #f4f4f6; }
.temav2-film-site .temav2-film-header-note span { color: #adb0be; }
.temav2-film-site .temav2-film-header-search { width: 300px; margin-left: auto; }
.temav2-film-site .temav2-film-header-search .search-form { display: flex; gap: 0; border: 1px solid #303340; background: #1b1d27; border-radius: 6px; }
.temav2-film-site .temav2-film-header-search .search-field { background: transparent; border: 0; font-size: 12px; padding-left: 15px; }
.temav2-film-site .temav2-film-header-search .search-submit { background: transparent; color: #f4f4f6; border: 0; font-size: 12px; }
.temav2-film-site .inside-header #site-navigation:has(.main-nav) { margin-top: 0; flex-basis: 100%; }
.temav2-film-site .temav2-film-genrebar { border-bottom: 1px solid #2b2e39; background: #15171f; }
.temav2-film-site .temav2-film-genrebar > div { display: flex; align-items: center; gap: 24px; min-height: 59px; position: relative; }
.temav2-film-site .temav2-film-genres { display: flex; gap: 24px; align-items: center; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: thin; }
.temav2-film-site .temav2-film-genres a { min-height: 58px; display: inline-flex; align-items: center; flex-shrink: 0; white-space: nowrap; font-size: 11px; color: #c2c4ce; }
.temav2-film-site .temav2-film-genres a:hover,
.temav2-film-site .temav2-film-genres a[aria-current] { color: #ff8069; }
.temav2-film-site .temav2-film-genres .temav2-film-home-link { color: #f4f4f6; font-weight: 700; padding-right: 23px; border-right: 1px solid #2b2e39; }
.temav2-film-site .temav2-film-genre-label { color: #ff8069; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; }
.temav2-film-site .temav2-film-all-genres { flex-shrink: 0; }
.temav2-film-site .temav2-film-all-genres summary { cursor: pointer; display: flex; align-items: center; gap: 15px; min-height: 44px; font-size: 10px; list-style: none; color: #f4f4f6; border-left: 1px solid #2b2e39; padding-left: 24px; }
.temav2-film-site .temav2-film-all-genres summary::-webkit-details-marker { display: none; }
.temav2-film-site .temav2-film-all-genres summary span { font-size: 20px; color: #ff8069; }
.temav2-film-site .temav2-film-all-genres[open] summary span { transform: rotate(45deg); }
.temav2-film-site .temav2-film-all-genres nav { position: absolute; z-index: 50; left: 0; right: 0; top: 100%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 22px 28px; gap: 0 23px; max-height: 65vh; overflow: auto; border: 1px solid #3b3f4d; background: #1b1e28; box-shadow: 0 20px 40px #0008; border-radius: 0 0 8px 8px; }
.temav2-film-site .temav2-film-all-genres nav a { min-height: 40px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid #303440; font-size: 11px; }
.temav2-film-site .temav2-film-all-genres small { font-size: 9px; color: #adb0be; }
.temav2-film-site .temav2-film-eyebrow { font-size: 9px; font-weight: 700; color: #ff8069; letter-spacing: 1.7px; line-height: 1.5; margin: 0 0 12px; }
.temav2-film-site .temav2-film-front { grid-column: 1 / -1; }
.temav2-film-site .temav2-film-front-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 40px 0 26px; }
.temav2-film-site .temav2-film-front-heading h2 { font-size: 47px; letter-spacing: -1.6px; line-height: 1.15; margin: 0; }
.temav2-film-site .temav2-film-front-heading h2 span { color: #9398aa; }
.temav2-film-site .temav2-film-front-heading > p { font-size: 11px; color: #adb0be; line-height: 1.8; margin: 0 0 4px; }
.temav2-film-site .temav2-film-showcase { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 22px; margin-bottom: 45px; }
.temav2-film-site .temav2-film-hero { display: grid; grid-template-columns: minmax(0, 1fr) 40%; border: 1px solid #34303b; border-radius: 9px; background: radial-gradient(ellipse at 100% 0, #7d392e48, transparent 65%), linear-gradient(120deg, #1e202a, #17171f); overflow: hidden; }
.temav2-film-site .temav2-film-hero-copy { min-width: 0; padding: 30px 12px 26px 30px; display: flex; flex-direction: column; align-items: start; justify-content: center; }
.temav2-film-site .temav2-film-hero-tag { color: #ff8069; font-size: 8px; letter-spacing: 1.6px; font-weight: 700; border: 1px solid #ff806946; background: #ff80690a; padding: 5px 9px; border-radius: 3px; margin: 0 0 23px; }
.temav2-film-site .temav2-film-hero h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.09; letter-spacing: -1.3px; margin: 0 0 18px; }
.temav2-film-site .temav2-film-hero-summary { color: #b5b4c0; font-size: 11px; line-height: 1.9; margin: 0 0 24px; }
.temav2-film-site .temav2-film-hero .temav2-film-card-meta { margin-bottom: 15px; }
.temav2-film-site .temav2-film-discover { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 9px 20px; background: #ff8069; color: #171014; font-size: 11px; font-weight: 700; border-radius: 5px; box-sizing: border-box; }
.temav2-film-site .temav2-film-discover:hover { background: #ffad9e; color: #171014; }
.temav2-film-site .temav2-film-hero-index { display: block; margin-top: 24px; font-size: 10px; letter-spacing: 2px; color: #a697a4; }
.temav2-film-site .temav2-film-hero-poster { padding: 22px 22px 22px 8px; align-self: center; }
.temav2-film-site .temav2-film-hero-poster img { display: block; width: 100%; height: auto; aspect-ratio: 2/3; object-fit: cover; border-radius: 5px; box-shadow: 0 17px 36px #0009; transform: rotate(3deg); }
.temav2-film-site .temav2-film-picks { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.temav2-film-site .temav2-film-pick { display: grid; grid-template-columns: 106px minmax(0, 1fr); gap: 22px; align-items: center; padding: 16px; border: 1px solid #2d303c; border-radius: 8px; background: #181a23; }
.temav2-film-site .temav2-film-pick-poster img { display: block; width: 100%; height: auto; aspect-ratio: 2/3; object-fit: cover; border-radius: 4px; box-shadow: 0 7px 17px #0005; }
.temav2-film-site .temav2-film-pick h3 { font-size: 22px; letter-spacing: -.6px; margin: 0 0 12px; }
.temav2-film-site .temav2-film-pick .temav2-film-eyebrow { font-size: 8px; letter-spacing: 1px; margin-bottom: 9px; }
.temav2-film-site .temav2-film-text-link { display: inline-flex; min-height: 44px; align-items: center; color: #ff8069; font-size: 11px; font-weight: 700; }
.temav2-film-site .temav2-film-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid #2b2e39; padding-top: 27px; margin-bottom: 25px; }
.temav2-film-site .temav2-film-section-heading h2 { font-size: 29px; letter-spacing: -.8px; margin: 0; }
.temav2-film-site .temav2-film-section-heading .temav2-film-eyebrow { font-size: 8px; margin-bottom: 9px; }
.temav2-film-site .temav2-film-catalog-count { font-size: 10px; color: #c1c4d0; border: 1px solid #343743; background: #181a22; border-radius: 4px; padding: 5px 10px; }
body.temav2-film-site:is(.blog, .archive, .search-results) .site-main { gap: 28px 22px; padding-top: 30px; }
body.temav2-film-site.blog .site-main:has(.temav2-film-front) { padding-top: 0; }
body.temav2-film-site:is(.blog, .archive, .search-results) .site-content:not(:has(> .sidebar .widget)) .site-main { grid-template-columns: repeat(6, minmax(0, 1fr)); }
body.temav2-film-site:is(.blog, .archive, .search-results) .temav2-film-entry .inside-article { display: flex; padding: 0; background: transparent; border: 0; border-radius: 0; overflow: visible; }
body.temav2-film-site:is(.blog, .archive, .search-results) .temav2-film-entry .post-image { position: relative; order: -1; border-radius: 6px; border: 1px solid #ffffff0d; box-shadow: 0 6px 16px #0004; }
body.temav2-film-site:is(.blog, .archive, .search-results) .temav2-film-entry .post-image > a { display: block; }
body.temav2-film-site:is(.blog, .archive, .search-results) .temav2-film-entry .post-image > a::after { content: '▶'; position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #ff8069e8; color: #171014; font-size: 15px; opacity: 0; pointer-events: none; }
body.temav2-film-site:is(.blog, .archive, .search-results) .temav2-film-entry .post-image > a:is(:hover, :focus-visible)::after { opacity: 1; }
body.temav2-film-site:is(.blog, .archive, .search-results) .temav2-film-entry .entry-header { padding: 13px 0 0; }
body.temav2-film-site:is(.blog, .archive, .search-results) .temav2-film-entry .entry-title { font-size: 15px; font-weight: 700; line-height: 1.4; letter-spacing: -.1px; margin: 0 0 5px; }
body.temav2-film-site:is(.blog, .archive, .search-results) .temav2-film-entry .entry-header > .entry-meta,
body.temav2-film-site:is(.blog, .archive, .search-results) .temav2-film-entry > .inside-article > :is(.entry-summary, footer.entry-meta) { display: none; }
.temav2-film-site .temav2-film-card-meta { color: #a8adbd; font-size: 10px; line-height: 1.5; margin: 0 0 6px; }
.temav2-film-site .temav2-film-card-language { color: #a4abba; font-size: 10px; line-height: 1.6; margin: 0; }
.temav2-film-site .temav2-film-imdb strong { color: #ffd281; margin-left: 4px; }
.temav2-film-site .temav2-film-card-meta .temav2-film-imdb { margin-left: 8px; }
.temav2-film-site .temav2-film-score { position: absolute; z-index: 2; top: 9px; left: 9px; color: #f7d588; background: #0b0c10e8; border: 1px solid #ffffff25; border-radius: 4px; padding: 3px 7px; min-height: 25px; box-sizing: border-box; font-size: 10px; font-weight: 700; pointer-events: none; }
.temav2-film-site .temav2-film-quality { position: absolute; z-index: 2; bottom: 10px; left: 10px; color: white; font-size: 8px; text-shadow: 0 1px 4px #000; pointer-events: none; }
body.temav2-film-site.temav2-film-single .inside-article { display: block; padding: 0; border: 0; background: transparent; border-radius: 0; }
.temav2-film-single .temav2-film-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 25px; font-size: 10px; color: #adb0be; }
body.temav2-film-site.temav2-film-single .inside-article > .entry-header { padding: 30px 0; }
body.temav2-film-site.temav2-film-single .entry-title { font-size: clamp(34px, 4.5vw, 56px); max-width: 960px; letter-spacing: -1.9px; margin-bottom: 18px; }
.temav2-film-site .temav2-film-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 12px; color: #adb0be; }
body.temav2-film-site.temav2-film-single .entry-content { margin-top: 0; }
.temav2-film-site .temav2-film-cinema { background: #050609; border: 1px solid #313440; border-radius: 7px; box-shadow: 0 12px 40px #0004; overflow: hidden; }
.temav2-film-site .temav2-film-sources { display: flex; gap: 8px; padding: 14px; overflow-x: auto; border-bottom: 1px solid #313440; }
.temav2-film-site .temav2-film-sources :is(a, span) { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 44px; padding: 8px 17px; border: 1px solid #41485a; border-radius: 6px; background: #252936; color: #fff; font-size: 12px; font-weight: 700; box-sizing: border-box; }
.temav2-film-site .temav2-film-sources [aria-current] { background: #ff8069; color: #171014; border-color: #ff8069; }
.temav2-film-site .temav2-film-player { width: 100%; color: white; }
.temav2-film-site .temav2-film-player :is(iframe, video, object, embed) { display: block; width: 100%; height: auto; aspect-ratio: 16/9; max-width: 100%; border: 0; border-radius: 0; }
.temav2-film-site .temav2-film-player > p { margin: 0; }
.temav2-film-site .temav2-film-player .wp-video { max-width: 100%; }
.temav2-film-site .temav2-film-dossier { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 44px; align-items: start; margin: 40px 0 48px; }
.temav2-film-site .temav2-film-dossier:not(:has(.temav2-film-dossier-poster)) { grid-template-columns: minmax(0, 1fr); }
.temav2-film-site .temav2-film-dossier-poster img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 12px 25px #0005; }
.temav2-film-site .temav2-film-dossier h2 { margin: 0 0 20px; font-size: 30px; letter-spacing: -.8px; }
.temav2-film-site .temav2-film-synopsis { color: #c1c5d1; font-size: 14px; line-height: 1.95; margin: 0 0 24px; max-width: 850px; }
.temav2-film-site .temav2-film-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; margin: 0; font-size: 12px; line-height: 1.8; }
.temav2-film-site .temav2-film-facts > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid #2b2e39; }
.temav2-film-site .temav2-film-facts dt { color: #adb0be; font-weight: 400; }
.temav2-film-site .temav2-film-facts dd { margin: 0; color: #f4f4f6; overflow-wrap: anywhere; }
.temav2-film-site .temav2-film-facts a { color: #ff8069; }
.temav2-film-site .temav2-film-trailer { max-width: 720px; margin: 45px 0; }
.temav2-film-site .temav2-film-trailer h2 { font-size: 29px; padding-top: 25px; border-top: 1px solid #2b2e39; }
.temav2-film-site .temav2-film-trailer summary { position: relative; display: block; width: 100%; aspect-ratio: 16/9; cursor: pointer; overflow: hidden; border: 1px solid #313440; border-radius: 7px; background: #08090d; }
.temav2-film-site .temav2-film-trailer summary::-webkit-details-marker { display: none; }
.temav2-film-site .temav2-film-trailer summary img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.temav2-film-site .temav2-film-trailer summary > span { position: absolute; inset: 0; display: grid; place-items: center; color: white; font-size: 17px; font-weight: 700; text-shadow: 0 1px 4px #000; }
.temav2-film-site .temav2-film-trailer details[open] summary { aspect-ratio: auto; min-height: 44px; margin-bottom: 12px; }
.temav2-film-site .temav2-film-trailer details[open] summary img { display: none; }
.temav2-film-site .temav2-film-trailer details[open] summary > span { position: static; padding: 10px; font-size: 12px; }
.temav2-film-site .temav2-film-trailer iframe { width: 100%; height: auto; aspect-ratio: 16/9; border: 0; border-radius: 7px; }
body.temav2-film-site.temav2-film-single .comments-area { background: transparent; border: 0; padding: 30px 0 0; border-top: 1px solid #2b2e39; border-radius: 0; }
.temav2-film-site .temav2-film-related { grid-column: 1/-1; margin-top: 45px; }
.temav2-film-site .temav2-film-related-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.temav2-film-site .temav2-film-tile { min-width: 0; }
.temav2-film-site .temav2-film-tile-poster { display: block; position: relative; aspect-ratio: 2/3; overflow: hidden; background: #181a23; border: 1px solid #ffffff0d; border-radius: 6px; box-shadow: 0 6px 16px #0004; }
.temav2-film-site .temav2-film-tile-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.temav2-film-site .temav2-film-tile .temav2-film-card-meta { margin-top: 13px; }
.temav2-film-site .temav2-film-tile h3 { margin: 0 0 5px; font-size: 15px; letter-spacing: -.1px; line-height: 1.4; }
.temav2-film-site .site-footer { margin-top: 60px; }
@media (max-width: 1100px) {
  .temav2-film-site .temav2-film-wrap { width: calc(100% - 44px); }
  .temav2-film-site .site-content { padding-inline: 22px; }
  .temav2-film-site .inside-header { padding-inline: 22px; }
  .temav2-film-site .temav2-film-header-note { display: none; }
  .temav2-film-site .temav2-film-genres { gap: 18px; }
  body.temav2-film-site:is(.blog, .archive, .search-results) .site-content:not(:has(> .sidebar .widget)) .site-main { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .temav2-film-site .temav2-film-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .temav2-film-site .temav2-film-showcase { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 18px; }
  .temav2-film-site .temav2-film-pick { grid-template-columns: 80px minmax(0, 1fr); padding: 13px; gap: 13px; }
  .temav2-film-site .temav2-film-pick h3 { font-size: 19px; }
  .temav2-film-site .temav2-film-hero h2 { font-size: 31px; }
  .temav2-film-site .temav2-film-hero-copy { padding: 25px 8px 24px 24px; }
}
@media (max-width: 800px) {
  .temav2-film-site .temav2-film-showcase { grid-template-columns: 1fr; }
  .temav2-film-site .temav2-film-picks { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  body.temav2-film-site:is(.blog, .archive, .search-results) .site-content:not(:has(> .sidebar .widget)) .site-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .temav2-film-site .temav2-film-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .temav2-film-site .temav2-film-dossier { grid-template-columns: 180px minmax(0, 1fr); gap: 26px; }
  .temav2-film-site .temav2-film-facts { grid-template-columns: 1fr; }
  .temav2-film-site .temav2-film-all-genres nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .temav2-film-site .temav2-film-front-heading h2 { font-size: 39px; }
  .temav2-film-site .temav2-film-front-heading > p { font-size: 10px; }
}
@media (max-width: 600px) {
  .temav2-film-site .temav2-film-wrap { width: calc(100% - 32px); }
  .temav2-film-site .inside-header { padding: 21px 16px 17px; gap: 20px; }
  .temav2-film-site .inside-header:not(:has(#site-navigation .main-nav)) { padding-bottom: 17px; }
  .temav2-film-site .main-title { font-size: 27px; letter-spacing: -1.1px; }
  .temav2-film-site .main-title a { gap: 11px; }
  .temav2-film-site .main-title a::before { width: 39px; height: 43px; flex-basis: 39px; }
  .temav2-film-site .temav2-film-header-search { flex-basis: 100%; width: 100%; margin: 0; }
  .temav2-film-site .temav2-film-genrebar > div { gap: 10px; }
  .temav2-film-site .temav2-film-genres { gap: 17px; }
  .temav2-film-site .temav2-film-genres a { font-size: 10px; min-height: 54px; }
  .temav2-film-site .temav2-film-genres .temav2-film-home-link { padding-right: 15px; }
  .temav2-film-site .temav2-film-genre-label { display: none; }
  .temav2-film-site .temav2-film-all-genres summary { font-size: 9px; gap: 6px; padding-left: 12px; }
  .temav2-film-site .temav2-film-all-genres nav { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px 18px; gap: 0 20px; }
  .temav2-film-site .site-content { padding-inline: 16px; }
  .temav2-film-site .temav2-film-front-heading { padding: 29px 0 23px; }
  .temav2-film-site .temav2-film-front-heading h2 { font-size: 35px; }
  .temav2-film-site .temav2-film-front-heading h2 span { display: block; }
  .temav2-film-site .temav2-film-front-heading > p { display: none; }
  .temav2-film-site .temav2-film-eyebrow { font-size: 8px; letter-spacing: 1.3px; }
  .temav2-film-site .temav2-film-showcase { gap: 17px; margin-bottom: 34px; }
  .temav2-film-site .temav2-film-hero { grid-template-columns: minmax(0, 1fr) 43%; }
  .temav2-film-site .temav2-film-hero-copy { padding: 23px 6px 23px 18px; }
  .temav2-film-site .temav2-film-hero-tag { font-size: 6px; padding: 4px 6px; margin-bottom: 17px; letter-spacing: 1px; }
  .temav2-film-site .temav2-film-hero h2 { font-size: 25px; letter-spacing: -.8px; margin-bottom: 12px; }
  .temav2-film-site .temav2-film-hero-summary { font-size: 10px; line-height: 1.7; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin-bottom: 15px; }
  .temav2-film-site .temav2-film-hero-poster { padding: 16px 13px 16px 3px; }
  .temav2-film-site .temav2-film-hero .temav2-film-card-meta { font-size: 8px; margin-bottom: 11px; }
  .temav2-film-site .temav2-film-hero .temav2-film-imdb { display: block; margin: 6px 0 0; }
  .temav2-film-site .temav2-film-discover { font-size: 9px; padding-inline: 12px; }
  .temav2-film-site .temav2-film-hero-index { font-size: 9px; margin-top: 17px; }
  .temav2-film-site .temav2-film-picks { gap: 12px; }
  .temav2-film-site .temav2-film-pick { grid-template-columns: 1fr; padding: 12px; gap: 10px; align-content: start; }
  .temav2-film-site .temav2-film-pick h3 { font-size: 17px; margin-bottom: 8px; }
  .temav2-film-site .temav2-film-pick .temav2-film-eyebrow { font-size: 7px; }
  .temav2-film-site .temav2-film-pick .temav2-film-card-meta { font-size: 9px; }
  .temav2-film-site .temav2-film-text-link { font-size: 10px; }
  .temav2-film-site .temav2-film-section-heading { padding-top: 22px; margin-bottom: 21px; }
  .temav2-film-site .temav2-film-section-heading h2 { font-size: 24px; }
  .temav2-film-site .temav2-film-section-heading .temav2-film-eyebrow { font-size: 7px; }
  .temav2-film-site .temav2-film-catalog-count { font-size: 8px; padding-inline: 8px; white-space: nowrap; }
  body.temav2-film-site:is(.blog, .archive, .search-results) .site-content:not(:has(> .sidebar .widget)) .site-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 16px; }
  .temav2-film-site .temav2-film-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 16px; }
  .temav2-film-site .temav2-film-card-meta,
  .temav2-film-site .temav2-film-card-language { font-size: 9px; }
  body.temav2-film-site.temav2-film-single .inside-article > .entry-header { padding: 24px 0; }
  body.temav2-film-site.temav2-film-single .entry-title { font-size: 35px; letter-spacing: -1px; }
  .temav2-film-site .temav2-film-meta { font-size: 11px; gap: 8px 14px; }
  .temav2-film-site .temav2-film-sources { padding: 10px; }
  .temav2-film-site .temav2-film-sources :is(a, span) { padding-inline: 14px; }
  .temav2-film-site .temav2-film-dossier { grid-template-columns: 1fr; gap: 24px; margin-top: 30px; }
  .temav2-film-site .temav2-film-dossier-poster { width: 42%; max-width: 220px; }
  .temav2-film-site .temav2-film-facts > div { grid-template-columns: 90px minmax(0, 1fr); }
  .temav2-film-site .temav2-film-trailer h2 { font-size: 24px; }
}

/* Spacing after removal of decorative slogans. */
.temav2-film-site .temav2-film-front { padding-top: 32px; }
@media(max-width:600px) { .temav2-film-site .temav2-film-front { padding-top: 24px; } }

/* Restricted film posters stay blurred at every interaction state. */
body.temav2-film-site img.temav2-sensitive-poster { filter: blur(16px); }
.temav2-film-site .temav2-film-dossier-poster:has(.temav2-sensitive-poster) { overflow: hidden; border-radius: 6px; }

/* Keep mobile layouts full width without varying shared cached HTML by device. */
@media (max-width: 768px) {
  body.temav2-film-site .site-content > .sidebar,
  body.temav2-film-site #right-sidebar,
  body.temav2-film-site #left-sidebar { display: none !important; }
  body.temav2-film-site .site-content { gap: 0; }
  body.temav2-film-site .site-content > .content-area { width: 100%; flex-basis: 100%; }
  body.temav2-film-site:is(.blog,.archive,.search-results) .site-main { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
