/* Fame TV — 2026 visual refresh. Remove mu-plugins/fametv-refresh.php to restore the previous look. */

:root {
  --fame-bg: #07080c;
  --fame-bg-raise: #101218;
  --fame-line: rgba(255, 255, 255, 0.08);
  --fame-text: #f6f3ec;
  --fame-muted: #b7b2a8;
  --fame-red: #e10600;
  --fame-red-hot: #ff2a1f;
  --fame-font: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --fame-display: "Syne", "Outfit", sans-serif;
  --fame-radius: 16px;
  --fame-header: 76px;
}

html { scroll-behavior: smooth; }

body,
.body_wrap,
.page_wrap,
.page_content_wrap,
.content_wrap,
.scheme_default {
  background: var(--fame-bg) !important;
  color: var(--fame-text) !important;
  font-family: var(--fame-font) !important;
  font-weight: 400;
  letter-spacing: 0;
}

body {
  font-size: 17px;
  line-height: 1.6;
}

/* ---------- Header: one bar ---------- */
header.top_panel {
  position: sticky;
  top: 0;
  z-index: 10040;
  background: rgba(7, 8, 12, 0.86) !important;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--fame-line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}

header.top_panel .vc_empty_space { display: none !important; }

header.top_panel .sc_layouts_row_fixed,
header.top_panel .sc_layouts_row_fixed_always,
header.top_panel .sc_layouts_row_fixed_on {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  transform: none !important;
}

header.top_panel .sc_content,
header.top_panel .sc_content_container {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

header.top_panel .sc_layouts_row_type_compact { padding-top: 10px; padding-bottom: 10px; }

@media (min-width: 1024px) {
  header.top_panel .sc_layouts_row.sc_layouts_hide_on_desktop { display: none !important; }
  header.top_panel .sc_layouts_row.sc_layouts_hide_on_mobile .vc_row-flex,
  header.top_panel .sc_layouts_row.sc_layouts_hide_on_mobile .vc_inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px;
  }
  header.top_panel .sc_layouts_row.sc_layouts_hide_on_mobile .vc_col-sm-2,
  header.top_panel .sc_layouts_row.sc_layouts_hide_on_mobile .vc_col-sm-4,
  header.top_panel .sc_layouts_row.sc_layouts_hide_on_mobile .vc_col-sm-6 {
    width: auto !important;
    flex: 0 0 auto;
  }
  header.top_panel .sc_layouts_row.sc_layouts_hide_on_mobile .vc_col-sm-6 { flex: 1 1 auto; }
  header.top_panel .sc_layouts_column_align_center { text-align: center !important; }
  header.top_panel .sc_layouts_column_align_right { text-align: right !important; }
}

@media (max-width: 1023px) {
  header.top_panel .sc_layouts_row.sc_layouts_hide_on_mobile { display: none !important; }
  header.top_panel .sc_layouts_row.sc_layouts_hide_on_desktop { display: block !important; }
}

header.top_panel .sc_layouts_logo img,
header.top_panel .logo_image {
  max-height: 42px !important;
  width: auto !important;
  height: auto !important;
}

header.top_panel .sc_layouts_menu_nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 !important;
}

header.top_panel .sc_layouts_menu_nav > li {
  display: inline-flex !important;
  margin: 0 !important;
  border: 0 !important;
}

header.top_panel .sc_layouts_menu_nav > li > a {
  font-family: var(--fame-font) !important;
  font-size: 13px !important;
  font-weight: 500;
  letter-spacing: 0.16em !important;
  text-transform: uppercase;
  color: var(--fame-muted) !important;
  padding: 8px 14px !important;
  background: transparent !important;
}

header.top_panel .sc_layouts_menu_nav > li > a:before,
header.top_panel .sc_layouts_menu_nav > li > a:after,
header.top_panel .sc_layouts_menu_nav > li:before {
  display: none !important;
}

header.top_panel .sc_layouts_menu_nav > li > a span { position: relative; }

header.top_panel .sc_layouts_menu_nav > li.current-menu-item > a,
header.top_panel .sc_layouts_menu_nav > li > a:hover {
  color: var(--fame-text) !important;
}

header.top_panel .sc_layouts_menu_nav > li.current-menu-item > a span:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--fame-red);
  border-radius: 2px;
}

header.top_panel .sc_socials .social_item { margin: 0 2px !important; opacity: 0.8; }
header.top_panel .sc_socials .social_icon {
  color: var(--fame-text) !important;
  font-size: 15px !important;
  background: transparent !important;
}
header.top_panel .sc_socials .social_item:hover { opacity: 1; }
header.top_panel .sc_socials .social_item:hover .social_icon { color: var(--fame-red-hot) !important; }

header.top_panel .search_style_fullscreen .search_field {
  width: 148px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 36px 0 14px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid var(--fame-line) !important;
  border-radius: 999px !important;
  color: var(--fame-text) !important;
  font-family: var(--fame-font) !important;
  font-size: 13px !important;
  letter-spacing: 0.04em;
}
header.top_panel .search_style_fullscreen .search_field::placeholder { color: var(--fame-muted); }
header.top_panel .search_submit,
header.top_panel .search_close { color: var(--fame-text) !important; }
header.top_panel .search_wrap .info { display: none !important; }

.menu_mobile.scheme_dark,
.menu_mobile {
  background: #07080c !important;
}
.menu_mobile_nav > li > a {
  font-family: var(--fame-display) !important;
  font-size: 1.7rem !important;
  letter-spacing: -0.03em !important;
  color: var(--fame-text) !important;
}

/* ---------- Type ---------- */
h1, h2, h3, h4, h5, h6,
.sc_item_title,
.sc_layouts_title_caption,
.post_title,
.sc_blogger_item_title {
  font-family: var(--fame-display) !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em !important;
  color: var(--fame-text) !important;
  text-transform: none !important;
}

.sc_item_title_text,
.sc_title_title { line-height: 1.05 !important; }

p, li, .post_content, .wpb_text_column, .sc_item_descr, .comments_list {
  color: var(--fame-muted);
}

a { color: var(--fame-text); }
a:hover { color: var(--fame-red-hot); }

/* Tighten the old 4–7em spacers without collapsing the page */
.page_content_wrap .vc_empty_space,
.footer_wrap .vc_empty_space {
  height: 18px !important;
  max-height: 18px !important;
}

.vc_row.vc_row-has-fill {
  background-color: #0c0e14 !important;
}
.vc_row.vc_row-has-fill[style*="background-image"],
.vc_row[data-vc-full-width][style*="background-image"] {
  background-color: #07080c !important;
}

/* ---------- Showreel ---------- */
.video-container {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto 8px !important;
  aspect-ratio: 16 / 9;
  height: auto !important;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}
.video-container iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

/* ---------- Page titles ---------- */
.sc_layouts_title {
  background: transparent !important;
  padding: 42px 0 8px !important;
  margin: 0 !important;
  border: 0 !important;
}
.sc_layouts_title_caption {
  font-size: clamp(2.6rem, 6vw, 4.6rem) !important;
  line-height: 0.95 !important;
}
.sc_layouts_title_breadcrumbs,
.sc_layouts_title_breadcrumbs a,
.breadcrumbs,
.breadcrumbs a {
  color: var(--fame-muted) !important;
  font-size: 13px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Show cards ---------- */
.sc_blogger_item,
.post_item.post_layout_excerpt,
.post_item.post_layout_news-magazine {
  background: transparent;
}

.post_featured,
.sc_blogger_item .post_featured {
  border-radius: var(--fame-radius);
  overflow: hidden;
  background: #14161c;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.post_featured img {
  transition: transform 0.55s ease;
  width: 100%;
}
.post_featured:hover img { transform: scale(1.045); }
.post_featured .mask {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.05) 55%) !important;
  opacity: 1 !important;
}

.sc_blogger_item_title,
.post_featured .post_title,
.post_featured .entry-title {
  font-size: 1.15rem !important;
}
.sc_blogger_post_categories,
.sc_blogger_post_categories a,
.post_categories a {
  font-family: var(--fame-font) !important;
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78) !important;
}
.sc_blogger_post_categories a:hover,
.post_categories a:hover { color: #fff !important; }

/* Shows archive: poster cards. The theme sizes the text column as calc(100% - 250px),
   so a tight 4-up grid collapses titles into a one-letter stack. Two-up keeps them readable. */
.posts_container {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 28px 22px;
}
.posts_container:before,
.posts_container:after { display: none !important; }
.posts_container > .post_item,
.posts_container > article.post_layout_excerpt {
  width: auto !important;
  min-width: 0 !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}
.post_layout_excerpt .post_featured {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  aspect-ratio: 16 / 10;
}
.post_layout_excerpt .post_featured img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
.post_layout_excerpt .post_featured + .go_wrap,
.post_layout_excerpt .go_wrap,
.post_layout_excerpt .post_header,
.post_layout_excerpt .post_content {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  padding: 12px 0 0 !important;
  margin: 0 !important;
  float: none !important;
  position: static !important;
  box-sizing: border-box !important;
}
.post_layout_excerpt .post_title,
.post_layout_excerpt .post_title a,
.post_layout_excerpt .post_content_inner {
  writing-mode: horizontal-tb !important;
  white-space: normal !important;
  word-break: normal !important;
  width: auto !important;
  height: auto !important;
  transform: none !important;
}
.posts_container .post_title { font-size: 1.25rem !important; margin: 0 0 6px !important; }
.posts_container .post_meta,
.posts_container .post_date,
.posts_container .post_counters_item { display: none !important; }
.posts_container .post_categories { display: block !important; margin-bottom: 6px !important; }
.posts_container .post_content_inner {
  color: var(--fame-muted);
  font-size: 14.5px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Home slider: poster art already carries the name. Drop the extra category line. */
.sc_blogger_item .sc_blogger_post_categories { display: none !important; }

/* Sidebar widgets were still on a white panel */
.sidebar,
.sidebar_inner { background: transparent !important; }
.sidebar .widget,
.sidebar aside.widget {
  background: #12141a !important;
  color: var(--fame-muted) !important;
  border: 1px solid var(--fame-line) !important;
  border-radius: 16px !important;
  padding: 18px 16px 10px !important;
  margin-bottom: 16px !important;
  box-shadow: none !important;
}
.sidebar .widget_title,
.sidebar a,
.sidebar p,
.sidebar li { color: var(--fame-text) !important; }
.sidebar .widget_title { font-size: 0.95rem !important; margin-bottom: 12px !important; }
.sidebar .sc_button,
.sidebar a.sc_button,
.widget_area .sc_button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: transparent !important;
  color: #fff !important;
  border: 1px solid var(--fame-line) !important;
  border-radius: 999px !important;
  margin: 8px 0 !important;
  padding: 10px 14px !important;
  letter-spacing: 0.12em !important;
}
.sidebar .sc_button:hover,
.sidebar a.sc_button:hover { background: var(--fame-red) !important; border-color: var(--fame-red) !important; }

/* Kill leftover white bands in the main column */
.page_content_wrap,
.page_content_wrap .content,
.content_wrap,
.sc_blogger,
.sc_layouts_title {
  background-color: transparent !important;
}

@media (max-width: 900px) {
  .posts_container { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .video-container { width: calc(100% - 20px); border-radius: 14px; }
}

/* Slider posters */
.sc_blogger .slider-slide { padding-bottom: 8px; }
.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.35) !important;
  opacity: 1 !important;
}
.swiper-pagination-bullet-active { background: var(--fame-red) !important; }

/* ---------- Tabs ---------- */
.vc_tta-tabs.vc_tta-tabs-position-top .vc_tta-tabs-container { margin-bottom: 18px !important; }
.vc_tta-color-white.vc_tta-style-flat .vc_tta-tab > a,
.vc_tta-color-white.vc_tta-style-modern .vc_tta-tab > a,
.vc_tta-tabs .vc_tta-tab > a {
  font-family: var(--fame-font) !important;
  font-size: 12px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  border: 1px solid var(--fame-line) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--fame-muted) !important;
  padding: 8px 16px !important;
  margin: 0 4px !important;
}
.vc_tta-tabs .vc_tta-tab.vc_active > a,
.vc_tta-tabs .vc_tta-tab > a:hover {
  background: var(--fame-red) !important;
  border-color: var(--fame-red) !important;
  color: #fff !important;
}
.vc_tta-panel-body { background: transparent !important; border: 0 !important; padding-top: 8px !important; }

/* ---------- Feature band (Jo Maxwell and similar) ---------- */
.vc_row.vc_row-has-fill h2,
.vc_row.vc_row-has-fill .sc_item_title { color: #fff !important; }
.vc_row.vc_row-has-fill p,
.vc_row.vc_row-has-fill .wpb_text_column { color: #d7d2c8 !important; }

/* ---------- Forms ---------- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="url"],
textarea,
select,
.wpcf7-form-control {
  background: #14161d !important;
  color: var(--fame-text) !important;
  border: 1px solid var(--fame-line) !important;
  border-radius: 12px !important;
  font-family: var(--fame-font) !important;
  padding: 12px 14px !important;
}
textarea { min-height: 140px; }
input:focus, textarea:focus, select:focus {
  border-color: rgba(225, 6, 0, 0.7) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.18) !important;
}

.sc_button,
button,
input[type="submit"],
.wpcf7-submit,
.comments_wrap .form-submit input {
  background: var(--fame-red) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-family: var(--fame-font) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  padding: 14px 26px !important;
  box-shadow: none !important;
  transition: background 0.2s ease, transform 0.2s ease;
}
.sc_button:hover,
button:hover,
input[type="submit"]:hover,
.wpcf7-submit:hover {
  background: var(--fame-red-hot) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Keep the header search icon from becoming a red pill */
header.top_panel .search_submit {
  background: transparent !important;
  padding: 0 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  border-radius: 0 !important;
}

/* ---------- Team ---------- */
.sc_team_item,
.team_member {
  background: var(--fame-bg-raise);
  border: 1px solid var(--fame-line);
  border-radius: var(--fame-radius);
  overflow: hidden;
}
.sc_team_item_title,
.team_member_title,
.team_member .team_title { color: #fff !important; }
.sc_team_item_subtitle,
.team_member_position { color: var(--fame-muted) !important; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px !important; }

/* ---------- Footer ---------- */
.footer_wrap {
  background: #05060a !important;
  border-top: 1px solid var(--fame-line);
  margin-top: 28px;
}
.footer_wrap .contacts_logo img { max-height: 40px !important; width: auto !important; }
.footer_wrap,
.footer_wrap p,
.footer_wrap .contacts_content,
.footer_wrap .wpb_text_column {
  color: var(--fame-muted) !important;
  font-size: 14px;
}
.footer_wrap .widget_title {
  font-family: var(--fame-display) !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
  font-size: 1.05rem !important;
}
.footer_wrap input[type="email"],
.footer_wrap input[type="text"] {
  background: #12141b !important;
  border-radius: 999px !important;
}

.trx_addons_scroll_to_top {
  background: var(--fame-red) !important;
  color: #fff !important;
  border-radius: 999px !important;
}

/* Single show */
.single .post_header .post_title,
.single .entry-title { font-size: clamp(2rem, 4vw, 3.2rem) !important; }
.single .post_content { font-size: 1.05rem; max-width: 760px; }
.single .post_featured { border-radius: 18px; margin-bottom: 22px; }

@media (max-width: 1023px) {
  header.top_panel .sc_layouts_row.sc_layouts_hide_on_desktop .vc_row-flex {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
  }
  header.top_panel .sc_layouts_row.sc_layouts_hide_on_desktop .vc_column_container {
    width: auto !important;
    flex: 0 1 auto !important;
  }
  header.top_panel .sc_layouts_row.sc_layouts_hide_on_desktop .vc_col-sm-8 {
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }
  header.top_panel .search_style_fullscreen .search_field {
    width: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }
  header.top_panel .sc_layouts_menu_mobile_button,
  header.top_panel .sc_layouts_iconed_text_icon {
    display: inline-flex !important;
    color: #fff !important;
    font-size: 26px !important;
    line-height: 1 !important;
  }
  .sc_layouts_title { padding-top: 24px !important; }
}

/* Social follow links in the sidebar (plain anchors, not theme buttons) */
a.soc-follow {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 999px !important;
  padding: 12px 16px !important;
  margin: 8px 0 !important;
  font-family: var(--fame-font) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  text-decoration: none !important;
}
a.soc-follow:hover {
  background: var(--fame-red) !important;
  border-color: var(--fame-red) !important;
  color: #fff !important;
}

/* Mobile tabs collapse into a white accordion. Keep it on the dark canvas. */
.vc_tta-accordion .vc_tta-panel,
.vc_tta-accordion .vc_tta-panel-heading,
.vc_tta-accordion .vc_tta-panel-title,
.vc_tta-accordion .vc_tta-panel-title > a,
.vc_tta-panel-heading {
  background: #12141a !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.vc_tta-accordion .vc_tta-panel-title > a,
.vc_tta-panel-heading .vc_tta-title-text {
  color: #fff !important;
  font-family: var(--fame-display) !important;
  letter-spacing: -0.02em !important;
}
.vc_tta-accordion .vc_tta-panel {
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: 8px !important;
}

/* Visible menu button. The icon font sits on black and disappears. */
@media (max-width: 1023px) {
  header.top_panel .sc_layouts_row.sc_layouts_hide_on_desktop {
    display: block !important;
  }
  header.top_panel .sc_layouts_item_menu_mobile_button,
  header.top_panel .sc_layouts_hide_on_desktop .vc_column-inner,
  header.top_panel .sc_layouts_hide_on_desktop .wpb_wrapper,
  header.top_panel .sc_layouts_hide_on_desktop .vc_column_container {
    overflow: visible !important;
    position: static !important;
  }
  header.top_panel .sc_layouts_menu_mobile_button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed !important;
    right: 14px !important;
    top: 14px !important;
    z-index: 100000 !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    background: #1c1f27 !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 12px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  header.top_panel .sc_layouts_menu_mobile_button .sc_layouts_item_icon,
  header.top_panel .sc_layouts_menu_mobile_button .trx_addons_icon-menu {
    color: #fff !important;
    font-size: 20px !important;
  }
  header.top_panel .sc_layouts_menu_mobile_button a.sc_layouts_item_link {
    position: relative;
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    font-size: 0 !important;
    color: transparent !important;
  }
  header.top_panel .sc_layouts_menu_mobile_button a.sc_layouts_item_link:before,
  header.top_panel .sc_layouts_menu_mobile_button a.sc_layouts_item_link:after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: #fff;
  }
  header.top_panel .sc_layouts_menu_mobile_button a.sc_layouts_item_link:before { top: -6px; }
  header.top_panel .sc_layouts_menu_mobile_button a.sc_layouts_item_link:after { top: 6px; }
}

@media (max-width: 1023px) {
  header.top_panel .sc_layouts_search { display: none !important; }
}


.nav-load-more,
a.nav-load-more {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 999px !important;
  padding: 12px 22px !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px !important;
}
