﻿/* Shared DNN navigation */
.fansa-home:is(.is-home,.fansa-inner):not(.fansa-editing) .fc-header.fc-scrolled {
  inset: 0 0 auto;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  background: #242626;
}
.fansa-home:not(.fansa-editing) .fc-header.fc-scrolled .fc-bar {
  max-width: 1400px;
  margin-inline: auto;
  box-sizing: border-box;
}
.fansa-home .fc-nav .fc-toggle::after { color: #ffffff9e; transition: color .2s, transform .2s; }
.fansa-home .fc-nav .fc-node:is(:hover,:focus-within,.fc-open) > .fc-toggle::after { color: #ffc40c; }
@media (min-width: 1101px) {
  .fansa-home .fc-menu-list .fc-submenu {
    --fr-panel-width: 200px;
    --fr-columns: 1;
    padding: 3px;
    box-sizing: border-box;
    overflow: visible;
    width: calc(var(--fr-columns) * var(--fr-panel-width));
    max-width: none;
    max-height: none;
    min-width: 0;
    grid-template-rows: repeat(var(--fr-rows, 1), auto);
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    align-content: start;
  }
  .fansa-home .fc-menu-list > .fc-node > .fc-submenu {
    right: 0;
    left: auto;
    transform: translateX(var(--fr-root-shift, 0px));
  }
  .fansa-home .fc-nav .fc-menu-list .fc-node.fc-open > .fc-submenu { display: grid; }
  .fansa-home .fc-nav .fc-submenu .fc-node > .fc-submenu {
    left: auto;
    right: 100%;
    top: calc(-4px + var(--fr-lift, 0px));
  }
  .fansa-home .fc-nav .fc-submenu .fc-node {
    min-height: 36px;
    transition: background-color .2s;
  }
  .fansa-home .fc-nav .fc-submenu .fc-node:is(:hover,:focus-within,.fc-open) { background-color: #424344; }
  .fansa-home .fc-nav .fc-submenu .fc-node > .fc-link {
    line-height: 1.45;
    padding: 7px 10px;
    background-image: none;
    text-decoration: none;
    transition: color .2s;
  }
  .fansa-home .fc-nav .fc-submenu .fc-node:is(:hover,:focus-within,.fc-open) > .fc-link { color: #ffc40c; }
  .fansa-home .fc-nav .fc-submenu .fc-toggle::after { transform: rotate(45deg); }
}
.fansa-home .fr-network .fr-network-trigger {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 32px;
  height: 36px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
}
.fansa-home .fr-network .fr-network-trigger:is(:focus-visible,:hover) { color: var(--fr-gold); }
.fansa-home .fr-network [hidden], .fansa-home .fr-social-dialog:not([open]) { display: none !important; }
.fansa-home .fr-social-dialog {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 470px;
  max-width: calc(100% - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 42px 35px 35px;
  background: #fff;
  color: #252628;
  border: 0;
  border-radius: 10px;
  overflow: auto;
  text-align: right;
  font-family: var(--font);
}
.fansa-home .fr-social-dialog::backdrop { background: rgb(16 22 20 / .62); }
.fansa-home .fr-social-dialog h2 {
  margin: 0 0 12px;
  color: #e5ae00;
  font: 800 26px/1.6 var(--font);
}
.fansa-home .fr-social-dialog p { margin: 0; color: #636363; font: 400 13px/1.95 var(--font); }
.fansa-home .fr-social-dialog .fr-social-close {
  position: absolute;
  top: 13px;
  left: 13px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 5px;
  border: 0;
  background: transparent;
  color: #252628;
  cursor: pointer;
}
.fansa-home .fr-social-close svg { width: 24px; height: 24px; }
@media (max-width: 1100px) {
  .fansa-home .fr-drawer {
    width: min(360px, 88vw);
    padding: 20px 23px;
    color: #252628;
    background: #fff;
    transform: translateX(100%);
    transition: transform .22s ease-out;
  }
  .fansa-home .fr-drawer.fr-shown { transform: translateX(0); }
  .fansa-home .fr-drawer::backdrop { background: rgb(10 19 16 / .52); }
  .fansa-home .fr-drawer > button { color: #252628; }
  .fansa-home .fr-drawer .fc-node > .fc-link {
    background: transparent;
    color: #282b2c;
    text-decoration: none;
  }
  .fansa-home .fr-drawer .fc-node .fc-nav-caption {
    display: inline-block;
    position: relative;
    width: fit-content;
    background: linear-gradient(#ffc40c,#ffc40c) right bottom / 0 2px no-repeat;
    transition: background-size .2s;
  }
  .fansa-home .fr-drawer .fc-node:is(:hover,:focus-within,.fc-open) > .fc-link .fc-nav-caption,
  .fansa-home .fr-drawer .fc-link[aria-current="page"] .fc-nav-caption { background-size: 100% 2px; }
  .fansa-home .fr-drawer .fc-nav .fc-toggle::after { color: #646765; }
  .fansa-home .fr-drawer .fc-node.fc-open > .fc-submenu {
    display: block;
    padding: 0 12px 0 0;
    border: 0;
    background: #f6f6f4;
    box-shadow: none;
    overflow: visible;
    max-height: none;
  }
  .fansa-home .fr-drawer .fc-nav .fc-node + .fc-node { border-top: 0; }
  .fansa-home .fc-brand img { width: clamp(106px, 24vw, 153px); max-width: 100%; }
  .fansa-home .fc-tools .fr-networks {
    display: flex;
    align-items: center;
    flex-flow: row nowrap;
    gap: 1px;
  }
}
@media (max-width: 600px) {
  .fansa-home .fr-social-dialog { padding: 38px 25px 27px; }
  .fansa-home .fc-tools .fr-network .fr-network-trigger { width: 23px; height: 32px; }
  .fansa-home .fc-tools .fr-network svg { width: 18px; height: 18px; }
  .fansa-home .fc-bar { padding-inline: 8px; }
  .fansa-home .fc-tools { gap: 1px; }
  .fansa-home .fc-brand img { width: clamp(96px, 28vw, 143px); }
}
@media (max-width: 369px) {
  .fansa-home .fc-tools .fr-network .fr-network-trigger { width: 20px; }
  .fansa-home .fc-tools .fc-account-links { gap: 0; }
  .fansa-home .fc-tools .fc-account-links a { padding-inline: 1px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .fansa-home .fr-drawer, .fansa-home .fc-nav .fc-node, .fansa-home .fc-nav .fc-link,
  .fansa-home .fr-drawer .fc-nav-caption { transition: none; }
}

/* Hero controls from the Almas design and the video's intrinsic aspect ratio */
.fansa-home.is-home .r7-slider .r7-slider-controls {
  inset: auto 0 110px;
  width: auto;
  justify-content: center;
  align-items: center;
  gap: 12px;
  direction: ltr;
  pointer-events: none;
}
.fansa-home.is-home .r7-slider .r7-slider-controls button {
  pointer-events: auto;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #fff;
  border: 1px solid #ffffff88;
  background: #174d43b0;
  box-shadow: none;
}
.fansa-home.is-home .r7-slider .r7-slider-controls button:is(:hover,:focus-visible) { background: #174d43; color: #fff; }
.fansa-home.is-home .r7-slider .r7-slider-controls button svg { width: 18px; height: 18px; }
.fansa-home.is-home .r7-slider .r7-slider-controls button::after,
.fansa-home .fr-rail .fr-rail-button::after { content: none; }
.fansa-home.is-home .fansa-teaser-dialog {
  box-sizing: border-box;
  width: var(--fr-video-width, min(900px, 94vw));
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 16px);
  padding: 0;
  overflow: hidden;
}
.fansa-home.is-home .fansa-teaser-dialog video {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: var(--fr-video-ratio, 1.7777778);
  object-fit: contain;
}
@media (max-width: 550px) {
  .fansa-home.is-home .r7-slider .r7-slider-controls { inset: auto auto 70px 20px; gap: 8px; }
  .fansa-home.is-home .r7-slider .r7-slider-controls button { width: 30px; height: 30px; }
}

/* Editable introduction and poster */
.fansa-home .fr-about .editorial-heading h2,
.fansa-home .fr-about .editorial-heading h2 > :is(strong,.fr-about-line) {
  display: block;
  font-size: 40px;
  line-height: 1.65;
  margin: 0;
}
.fansa-home .fr-about .editorial-heading h2 > strong { font-weight: 800; }
.fansa-home .fr-about .editorial-heading h2 > .fr-about-line { font-weight: 400; }
.fansa-home .fr-about .editorial-about__link svg { width: 21px; height: 21px; }
.fansa-home .fr-about .editorial-intro__visual.festival-print { width: min(100%, 390px); max-width: 390px; box-sizing: border-box; }
.fansa-home .fr-about .festival-print__caption { display: flex; align-items: center; justify-content: space-between; direction: rtl; }
.fansa-home .fr-about .festival-print__brand { display: inline-flex; align-items: center; gap: 11px; }
.fansa-home .fr-about .fr-caption-text { font-size: 14px; font-weight: 650; color: #252628; }
.fansa-home .fr-about .fr-caption-text small { display: block; font-size: 9px; font-weight: 500; color: #666762; text-align: right; }
.fansa-home .fr-caption-icon :is(svg,img) { display: block; width: 28px; height: 28px; object-fit: contain; color: #947521; }
.fansa-home .festival-print__expand { cursor: zoom-in; }
.fansa-home .fr-about .festival-print__expand svg { width: 18px; height: 18px; transition: transform .18s; }
.fansa-home .festival-print__expand:is(:hover,:focus-visible) svg { transform: scale(1.15); }
.fansa-home .fansa-poster-dialog {
  inset: 0;
  width: fit-content;
  height: fit-content;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #fff;
  background: transparent;
}
.fansa-home .fansa-poster-dialog img { max-height: calc(100dvh - 82px); max-width: min(90vw, 100%); object-fit: contain; }
.fansa-home .fansa-poster-dialog .fr-poster-title { margin: 8px 0 0; color: #fff; font: 500 .9rem/1.7 var(--font); text-align: center; }
.fansa-home .fansa-poster-dialog .fansa-poster-close {
  inset: 0 auto auto 0;
  z-index: 1;
  display: grid;
  place-content: center;
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: #1b2226;
  cursor: pointer;
}
.fansa-home .fansa-poster-dialog .fansa-poster-close svg { width: 24px; height: 24px; }
.fansa-home .fansa-festival-event .r4-clock .r4-time-part strong { font-size: 3.45rem; }
.fansa-home .fansa-festival-event .fansa-event-timing[hidden] { display: none !important; }
@media (max-width: 720px) {
  .fansa-home .fr-about .editorial-intro__visual.festival-print { max-width: 365px; }
  .fansa-home .fansa-festival-event .r4-time-part { min-width: 0; padding-inline: 2px; }
}

/* Keep both rail controls completely outside the card area at every viewport. */
.fansa-home .fr-rail {
  --fr-control-size: 38px;
  --fr-control-gap: 8px;
  padding-inline: calc(var(--fr-control-size) + var(--fr-control-gap));
  box-sizing: border-box;
}
.fansa-home .fansa-services-native .fr-section-heading { margin-bottom: 36px; }
.fansa-home .fr-rail > :is(.fansa-services__grid,.fansa-hm-latest) { padding-block: 10px 12px !important; }
.fansa-home .fr-rail .fr-rail-button {
  width: var(--fr-control-size);
  height: var(--fr-control-size);
  background: #fff;
  border: 1px solid #92721b;
  color: #725411;
  box-shadow: none;
  transition: color .2s, background-color .2s;
}
.fansa-home .fr-rail-button svg { width: 20px; height: 20px; }
.fansa-home .fr-rail .fr-prev { right: 0; left: auto; }
.fansa-home .fr-rail .fr-next { left: 0; right: auto; }
.fansa-home .fr-rail-button[aria-disabled="true"] { opacity: .42; cursor: default; }
.fansa-home .fr-rail .fr-rail-button:is(:hover,:focus-visible):not([aria-disabled="true"]),
.fansa-home .fr-rail .fr-rail-button.fr-pressed,
.fansa-home .fr-rail .fr-rail-button:active { background: #725411; border-color: #725411; color: #fff; opacity: 1; }
.fansa-home .fr-rail .fansa-services__card:is(:hover,:focus-within) { border-top-color: #ba9024; }
@media (max-width: 720px) {
  .fansa-home .fr-rail, .fansa-home .fansa-news-native .fr-rail { --fr-control-size: 34px; --fr-control-gap: 6px; margin-inline: 0; }
}

.fansa-home .fansa-news-native .fansa-hm-latest__item {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 10px;
  background: #fff;
  color: #252628;
}
.fansa-home .fansa-news-native .fr-article-copy { padding: 16px 20px 13px; flex: 1 0 auto; }
.fansa-home .fansa-news-native .fr-article-kicker { color: #806317; font: 600 12px/1.8 var(--font); }
.fansa-home .fansa-news-native .fr-article-kicker:empty,
.fansa-home .fansa-news-native .fansa-hm-latest__summary:empty { display: none; }
.fansa-home .fansa-news-native .fansa-hm-latest__title,
.fansa-home .fansa-news-native .fansa-hm-latest__title > a {
  overflow: visible;
  position: static;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  color: #252628;
  font: 750 19px/1.65 var(--font);
  text-decoration: none;
}
.fansa-home .fansa-news-native .fansa-hm-latest__title > a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  border: 0;
}
.fansa-home .fansa-news-native .fansa-hm-latest__item:is(:hover,:focus-within) .fansa-hm-latest__title a { color: #886003; }
.fansa-home .fansa-news-native .fansa-hm-latest__summary,
.fansa-home .fansa-news-native .fansa-hm-latest__summary p {
  display: block;
  padding: 0;
  margin: 4px 0 0;
  color: #5e6265;
  font: 400 12px/1.9 var(--font);
}
.fansa-home .fansa-news-native .fr-article-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 20px;
  padding: 12px 0;
  border-top: 1px solid #e5e4de;
  color: #725411;
  font: 650 12px/1.5 var(--font);
  pointer-events: none;
}
.fansa-home .fr-article-more svg { width: 18px; height: 18px; }
.fansa-home .fansa-news-native .fansa-hm-latest__image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.fansa-home .fc-footer-useful .DNNModuleContent :is(ul,ol,li,.sociallinks,.default) {
  margin-inline: 0;
  padding-inline: 0;
  list-style: none;
}
.fansa-home .fc-footer .fc-footer-useful .DNNModuleContent :is(.superlinks__container,ul,li),
.fansa-home .fc-footer .fc-footer-useful .DNNModuleContent li > a {
  margin-right: 0 !important;
  padding-right: 0;
}
.fansa-home .almas-contact-item > :is(a,span):not([hidden]) { display: inline-flex; align-items: center; gap: 10px; }
.fansa-home .almas-contact-item [hidden] { display: none !important; }
.fansa-home .almas-contact-icons .k-icon { width: 18px; height: 18px; }
.fansa-home .fc-footer .almas-footer-intro-content p:empty { display: none; }
.fansa-home .fc-footer .fr-letter-form {
  display: flex;
  align-items: stretch;
  direction: ltr;
  width: 100%;
  min-height: 47px;
}
.fansa-home .fc-footer .fr-letter-form input {
  box-sizing: border-box;
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  height: 47px;
  margin: 0;
  padding: 8px 12px;
  font-size: 11px;
  border: 1px solid #ffffff22;
  border-radius: 4px 0 0 4px;
  background: #ffffff08;
  color: #fff;
  text-align: right;
  direction: ltr;
}
.fansa-home .fr-letter-form input::placeholder { color: #ffffffb3; }
.fansa-home .fc-footer .fr-letter-form button {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  padding: 0;
  flex: 0 0 47px;
  border: 0;
  border-radius: 0 4px 4px 0;
  background: var(--gold-light, #ffda74);
  color: #202426;
  cursor: pointer;
}
.fansa-home .fr-letter-form button svg { width: 20px; height: 20px; }
.fansa-home .fc-footer .fr-letter-form :focus-visible { outline: 2px solid #ffc40c; outline-offset: 2px; }
.fansa-home .fr-letter-status { display: block; margin-top: 6px; color: #fff; font-size: .82rem; }
.fansa-home .fr-letter-status:empty { display: none; }
@media (max-width: 580px) {
  .fansa-home .fc-footer .fc-footer-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-areas: "contact contact" "quick useful" "newsletter newsletter";
    column-gap: 15px;
  }
  .fansa-home .fc-footer-contact { grid-area: contact; }
  .fansa-home .fc-footer-quick { grid-area: quick; }
  .fansa-home .fc-footer-useful { grid-area: useful; }
  .fansa-home .fc-footer-news { grid-area: newsletter; }
}

.fansa-home.fansa-feature .fe-hero {
  box-sizing: border-box;
  height: 488px;
  min-height: 488px;
  align-items: start;
  padding: 175px 0 0;
}
.fansa-home.fansa-feature .fe-hero .fe-cover { opacity: .19; object-position: 50% 48%; filter: grayscale(.45); }
.fansa-home.fansa-feature .fe-hero::before { background: linear-gradient(270deg, #182125ef, transparent); }
.fansa-home.fansa-feature .fe-heading { padding: 0; }
.fansa-home.fansa-feature .fe-heading .fe-trail { padding: 0; margin: 0 0 29px; line-height: 1.8; }
.fansa-home.fansa-feature .fe-trail .fr-slash { display: inline-block; margin-inline: 11px; color: #ffc40c; }
@media (max-width: 640px) {
  .fansa-home.fansa-feature .fe-hero { padding-top: 140px; }
}
.fansa-home .fansa-about-features .fr-about .festival-print__expand::before { content: none; }
