/* Fansa R8 home sections, scoped to this DNN skin. */
.fansa-home .engineer-zone {
  padding-block: clamp(54px,6.4vw,98px);
  background: #fff;
}
.fansa-home .engineer-zone .container {
  width: min(1320px,calc(100% - 96px));
}
.fansa-home .engineer-feature {
  background: #f8f6ef;
  border-block: 1px solid #e6e1d1;
  border-inline-start: 4px solid var(--gold); padding: clamp(26px,3vw,44px);
  display: grid; grid-template-columns: minmax(210px,1.1fr) minmax(260px,1.25fr) auto;
  gap: clamp(18px,3.5vw,55px); align-items: center;
}
.fansa-home .engineer-kicker {
  color: #755d17; font-size: .82rem; font-weight: 650;
}
.fansa-home .engineer-copy h2 {
  font-size: clamp(2rem,3.1vw,3.1rem); margin-top: 4px; line-height: 1.5; font-weight: 800;
}
.fansa-home .engineer-copy p,
.fansa-home .engineer-copy time {
  color: #59574f; font-size: .87rem;
}
.fansa-home .engineer-copy time:not([hidden]) {
  display: block;
}
.fansa-home .r4-clock {
  display: flex; justify-content: space-around; align-items: center;
}
.fansa-home .r4-time-part {
  min-width: 0; flex: 1; display: grid; justify-items: center; align-content: center; gap: 3px;
}
.fansa-home .r4-time-part + .r4-time-part {
  border-inline-start: 1px solid #cfc9b8;
}
.fansa-home .r4-time-part strong {
  font-size: clamp(2.55rem,4.9vw,4.6rem); line-height: 1.07;
  font-weight: 720; color: #303030; font-variant-numeric: tabular-nums;
}
.fansa-home .r4-time-part span {
  color: #6f6440; font-size: .88rem;
}
.fansa-home .engineer-go {
  display: inline-flex; gap: 13px; align-items: center; justify-content: center; width: fit-content;
  padding: 12px 20px; color: #242420; background: var(--gold); font-weight: 700; font-size: .86rem; border-radius: 5px;
}
.fansa-home .engineer-go:hover {
  background: #ffd54a;
}
.fansa-home .engineer-go svg {
  width: 18px; height: 18px;
}
@media (max-width:900px) {
  .fansa-home .engineer-feature {
    grid-template-columns: 1fr 1fr; row-gap: 13px;
  }
  .fansa-home .engineer-go {
    grid-column: 1;
  }
  .fansa-home .r4-clock {
    grid-row: span 2;
  }
}
@media (max-width:640px) {
  .fansa-home .engineer-zone .container {
    width: calc(100% - 36px);
  }
  .fansa-home .engineer-feature {
    display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding: 23px 19px;
  }
  .fansa-home .engineer-copy h2 {
    font-size: 2.15rem;
  }
  .fansa-home .engineer-go {
    align-self: flex-start; padding: 9px 16px;
  }
  .fansa-home .r4-clock {
    width: 100%;
  }
  .fansa-home .r4-time-part strong {
    font-size: 2.85rem;
  }
}
.fansa-home .editorial-wrap {
  width: min(1320px, calc(100% - 96px));
  margin-inline: auto;
}
.fansa-home .editorial-about,
.fansa-home .editorial-news {
  padding-block: 100px;
}
.fansa-home .editorial-about {
  background: #f5f2eb;
}
.fansa-home .editorial-intro {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 85px;
}
.fansa-home .editorial-about svg,
.fansa-home .editorial-news svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fansa-home .editorial-brand-label {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  padding: 4px 23px;
  min-width: 106px;
  border: 1px solid #8a7339;
  border-radius: 30px;
  color: #6c541b;
  font-size: 12px;
  font-weight: 600;
}
.fansa-home .editorial-heading {
  margin: 0;
  color: var(--ink);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.65;
  letter-spacing: -.038em;
}
.fansa-home .editorial-heading span {
  font-weight: 400;
}
.fansa-home .editorial-heading::after {
  content: '';
  display: block;
  width: 54px;
  height: 3px;
  margin: 22px 0 36px;
  background: var(--gold);
}
.fansa-home .editorial-intro__copy p {
  font-size: 14px;
  line-height: 2.25;
  color: #4b4a46;
  margin: 0 0 15px;
}
.fansa-home .editorial-about__link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
  padding: 12px 27px;
  min-height: 48px;
  border-radius: 5px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
}
.fansa-home .editorial-about__link svg {
  color: var(--gold);
}
.fansa-home .editorial-about__link:hover {
  background: #343c40;
}
.fansa-home .editorial-intro__visual {
  position: relative;
  margin: 0;
  padding-block-start: 20px;
  padding-inline-start: 18px;
}
.fansa-home .editorial-intro__visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 20px 50px #231e1826;
}
.fansa-home .editorial-intro__caption {
  display: flex;
  align-items: center;
  gap: 18px;
  position: absolute;
  top: 0;
  inset-inline-start: -18px;
  padding: 20px 26px;
  background: #fff;
  color: var(--ink);
  border-radius: 7px;
  box-shadow: 0 14px 35px #25221b1a;
  font-size: 14px;
  font-weight: 650;
}
.fansa-home .editorial-intro__caption svg {
  color: #a67900; width: 34px; height: 34px;
}
.fansa-home .editorial-intro__caption small {
  display: block;
  color: #666762;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-align: right;
}
.fansa-home .editorial-news {
  position: relative;
  isolation: isolate;
  color: white;
  background: #292b2c;
}
.fansa-home .editorial-news::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #292825;
}
.fansa-home .editorial-news__head {
  text-align: center;
}
.fansa-home .editorial-news__eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 650;
}
.fansa-home .editorial-news__head .editorial-heading {
  color: #fff;
}
.fansa-home .editorial-news__head .editorial-heading::after {
  margin: 22px auto 52px;
}
.fansa-home .editorial-carousel {
  position: relative;
  padding-inline: 60px;
}
.fansa-home .editorial-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 52px) / 3);
  gap: 26px;
  overflow-x: auto;
  padding: 6px 0 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.fansa-home .editorial-carousel__track::-webkit-scrollbar {
  display: none;
}
.fansa-home .editorial-story {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #e7e6e0;
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  overflow: hidden;
  scroll-snap-align: start;
}
.fansa-home .editorial-story__image {
  display: block;
  aspect-ratio: 1.7;
  position: relative;
  overflow: hidden;
  background: #415664;
}
.fansa-home .editorial-story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s;
}
.fansa-home .editorial-story__image--festival img {
  object-position: center 63%;
}
.fansa-home .editorial-story__image--jury,
.fansa-home .editorial-story__image--jury img {
  background: #2e4556;
}
.fansa-home .editorial-story__image--jury {
  isolation: isolate;
  background-image: none;
  background-size: cover;
  background-position: center;
}
.fansa-home .editorial-story__image--jury::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #1d2e3a77;
  backdrop-filter: blur(14px);
}
.fansa-home .editorial-story__image--jury img {
  object-fit: contain; background: transparent;
}
.fansa-home .editorial-story__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 27px 27px 23px;
}
.fansa-home .editorial-story__type {
  color: #806317; font-size: 12px; font-weight: 600;
}
.fansa-home .editorial-story__body h3 {
  margin: 8px 0 12px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 750;
  line-height: 1.8;
}
.fansa-home .editorial-story__body p {
  flex: 1;
  margin: 0 0 22px;
  color: #5e6265;
  font-size: 13px;
  line-height: 2;
}
.fansa-home .editorial-story__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e5e4de;
  padding-top: 16px;
  color: #725411;
  font-size: 12px;
  font-weight: 650;
}
.fansa-home .editorial-story__link svg {
  width: 18px; height: 18px;
}
.fansa-home .editorial-story h3 a:hover,
.fansa-home .editorial-story__link:hover {
  color: #886003;
}
.fansa-home .editorial-carousel button {
  display: grid;
  place-items: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid #f3c85480;
  border-radius: 50%;
  background: #ffffff0b;
  color: var(--gold-light);
  padding: 0;
}
.fansa-home .editorial-carousel__prev {
  inset-inline-start: 0;
}
.fansa-home .editorial-carousel__prev svg {
  transform: rotate(180deg);
}
.fansa-home .editorial-carousel__next {
  inset-inline-end: 0;
}
.fansa-home .editorial-carousel button:hover:enabled {
  background: var(--gold); color: var(--ink);
}
.fansa-home .editorial-carousel button:disabled {
  opacity: .35;
}
.fansa-home .editorial-news__archive {
  display: flex; justify-content: center; margin-top: 26px;
}
.fansa-home .editorial-news__archive a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 12px 28px;
  min-height: 56px;
  border: 1px solid var(--gold-light);
  border-radius: 50px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 650;
}
.fansa-home .editorial-news__archive a svg:first-child {
  color: var(--gold-light);
}
.fansa-home .editorial-news__archive a:hover {
  background: #373835;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .fansa-home .editorial-story:hover .editorial-story__image img {
    transform: scale(1.035);
  }
}
@media (max-width: 1200px) {
  .fansa-home .editorial-intro {
    gap: 55px;
  }
  .fansa-home .editorial-heading {
    font-size: 33px;
  }
}
@media (max-width: 1050px) {
  .fansa-home .editorial-wrap {
    width: calc(100% - 48px);
  }
  .fansa-home .editorial-about,
  .fansa-home .editorial-news {
    padding-block: 70px;
  }
  .fansa-home .editorial-intro {
    grid-template-columns: 1fr; gap: 45px;
  }
  .fansa-home .editorial-intro__copy {
    max-width: 650px;
  }
  .fansa-home .editorial-intro__visual {
    padding-inline-start: 10px;
  }
  .fansa-home .editorial-intro__visual img {
    aspect-ratio: 1.65;
  }
  .fansa-home .editorial-intro__caption {
    inset-inline-start: 0; padding: 16px 22px;
  }
  .fansa-home .editorial-carousel {
    padding-inline: 46px;
  }
  .fansa-home .editorial-carousel__track {
    grid-auto-columns: calc((100% - 24px)/2); gap: 24px;
  }
  .fansa-home .editorial-carousel button {
    width: 36px; height: 36px;
  }
  .fansa-home .editorial-story__body {
    padding: 22px;
  }
}
@media (max-width: 650px) {
  .fansa-home .editorial-wrap {
    width: calc(100% - 36px);
  }
  .fansa-home .editorial-about,
  .fansa-home .editorial-news {
    padding-block: 56px;
  }
  .fansa-home .editorial-heading {
    font-size: 30px;
  }
  .fansa-home .editorial-heading::after {
    margin: 18px 0 25px;
  }
  .fansa-home .editorial-intro {
    gap: 32px;
  }
  .fansa-home .editorial-intro__visual img {
    aspect-ratio: 1.5;
  }
  .fansa-home .editorial-intro__caption {
    padding: 12px 17px; font-size: 12px; gap: 12px;
  }
  .fansa-home .editorial-intro__caption svg {
    width: 27px; height: 27px;
  }
  .fansa-home .editorial-intro__caption small {
    font-size: 9px;
  }
  .fansa-home .editorial-news__head .editorial-heading::after {
    margin-bottom: 32px;
  }
  .fansa-home .editorial-carousel {
    padding-inline: 36px;
  }
  .fansa-home .editorial-carousel__track {
    grid-auto-columns: 100%; gap: 20px;
  }
  .fansa-home .editorial-carousel button {
    width: 30px; height: 30px;
  }
  .fansa-home .editorial-story__body {
    padding: 19px;
  }
  .fansa-home .editorial-story__body h3 {
    font-size: 17px;
  }
  .fansa-home .editorial-news__archive {
    margin-top: 20px;
  }
}
.fansa-home .fansa-services {
  margin-block-start: clamp(54px, 6vw, 90px);
}
.fansa-home .fansa-services__head {
  margin-block-end: clamp(30px, 3.8vw, 52px);
  text-align: center;
}
.fansa-home .fansa-services__head h2 {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.65;
}
.fansa-home .fansa-services__head::after {
  content: '';
  display: block;
  width: 54px;
  height: 3px;
  margin: 18px auto 0;
  background: var(--gold);
}
.fansa-home .fansa-services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 23px;
}
.fansa-home .fansa-services__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 16px 16px 28px;
  border: 1px solid #e1dfd8;
  border-radius: 12px;
  text-align: center;
  background: #fff;
  box-shadow: 0 6px 24px #27251c07;
  transition: transform .25s ease, border-color .25s ease;
}
.fansa-home .fansa-services__photo {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  margin-block-end: 22px;
  overflow: hidden;
  border-radius: 8px;
  background: #edeae2;
}
.fansa-home .fansa-services__photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.fansa-home .fansa-services__card h3 {
  margin: 0 0 10px; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.8;
}
.fansa-home .fansa-services__card p {
  flex: 1;
  margin: 0 0 20px;
  color: #595b57;
  font-size: 14px;
  line-height: 2;
  text-wrap: pretty;
}
.fansa-home .fansa-services__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #785b0a;
  font-size: 13px;
  font-weight: 650;
}
.fansa-home .fansa-services__more svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fansa-home .fansa-services__card:focus-visible {
  outline: 3px solid #96700f; outline-offset: 3px;
}
@media (hover: hover) {
  .fansa-home .fansa-services__card:hover {
    transform: translateY(-6px); border-color: var(--gold);
  }
}
@media (max-width: 1050px) {
  .fansa-home .fansa-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px;
  }
}
@media (max-width: 600px) {
  .fansa-home .fansa-services__grid {
    gap: 13px;
  }
  .fansa-home .fansa-services__card {
    border-radius: 8px; padding: 9px 9px 17px;
  }
  .fansa-home .fansa-services__photo {
    aspect-ratio: 4 / 3; margin-block-end: 13px; border-radius: 5px;
  }
  .fansa-home .fansa-services__card h3 {
    font-size: 16px; line-height: 1.8; margin-bottom: 8px;
  }
  .fansa-home .fansa-services__card p {
    margin-bottom: 12px; font-size: 12px; line-height: 1.95;
  }
  .fansa-home .fansa-services__more {
    font-size: 12px; gap: 6px;
  }
  .fansa-home .fansa-services__more svg {
    width: 14px; height: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fansa-home .fansa-services__card,
  .fansa-home .fansa-services__card:hover {
    transform: none; transition: none;
  }
}
.fansa-home .editorial-news {
  padding-block: clamp(34px, 4.1vw, 64px);
}
.fansa-home .editorial-news::before {
  background: #292825;
}
.fansa-home .editorial-news .editorial-wrap {
  max-width: 1200px;
}
.fansa-home .editorial-news__eyebrow {
  margin-bottom: 4px;
}
.fansa-home .editorial-news__head .editorial-heading::after {
  margin: 11px auto 21px;
}
.fansa-home .editorial-carousel__track {
  padding-block: 2px 4px;
}
.fansa-home .editorial-story__body {
  padding: clamp(14px, 1.5vw, 20px);
}
.fansa-home .editorial-story__body h3 {
  margin: 4px 0 8px; line-height: 1.68;
}
.fansa-home .editorial-story__body p {
  margin-bottom: 12px; line-height: 1.85;
}
.fansa-home .editorial-story__link {
  padding-top: 10px;
}
.fansa-home .editorial-news__archive {
  margin-top: 16px;
}
.fansa-home .editorial-news__archive a {
  min-height: 44px; padding: 8px 24px;
}
@media (min-width:1051px) {
  .fansa-home .editorial-carousel {
    padding-inline: 0;
  }
  .fansa-home .editorial-carousel__track {
    gap: 20px; grid-auto-columns: calc((100% - 40px) / 3);
  }
}
@media (min-width:651px) and (max-width:1050px) {
  .fansa-home .editorial-carousel__track {
    gap: 16px; grid-auto-columns: calc((100% - 16px) / 2);
  }
}
@media (max-width:650px) {
  .fansa-home .editorial-news {
    padding-block: 32px 36px;
  }
  .fansa-home .editorial-news__head .editorial-heading::after {
    margin-bottom: 16px;
  }
  .fansa-home .editorial-story__body {
    padding: 14px 16px;
  }
}
.fansa-home .editorial-about .editorial-intro {
  width: min(1060px, calc(100% - 96px));
  grid-template-columns: minmax(0, 1fr) minmax(0, .77fr);
  gap: clamp(48px, 7vw, 108px);
}
.fansa-home .editorial-intro__visual.festival-print {
  width: min(100%, 390px);
  justify-self: center;
  padding: clamp(8px, 1vw, 13px);
  margin: 0;
  border: 1px solid #dedbd0;
  border-radius: 9px;
  background: #fffefa;
  box-shadow: 0 16px 38px rgb(42 39 32 / 13%);
}
.fansa-home .festival-print > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 10;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}
.fansa-home .festival-print .festival-print__caption {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 12px 3px 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.fansa-home .festival-print__brand {
  display: inline-flex; align-items: center; gap: 11px;
}
.fansa-home .festival-print__brand > svg {
  width: 28px; height: 28px; color: #947521;
}
.fansa-home .festival-print__brand small {
  font-size: 9px; line-height: 1.3;
}
.fansa-home .festival-print__expand {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #dedbd0;
  border-radius: 50%;
  color: #695622;
}
.fansa-home .festival-print__expand svg {
  width: 18px; height: 18px;
}
.fansa-home .festival-print__expand:hover,
.fansa-home .festival-print__expand:focus-visible {
  background: #f6efd9;
}
@media (max-width: 1050px) {
  .fansa-home .editorial-about .editorial-intro {
    width: calc(100% - 48px); gap: 40px;
  }
}
@media (max-width: 750px) {
  .fansa-home .editorial-about .editorial-intro {
    width: min(540px, calc(100% - 36px));
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .fansa-home .editorial-intro__visual.festival-print {
    width: min(100%, 365px);
  }
}
.fansa-home .editorial-news::before {
  background-color: #292825;
  background-image: repeating-linear-gradient(135deg, transparent 0 11px, rgb(226 205 148 / 7%) 11px 12px);
}
/* Native DNN presentation. Keep unrecognized and newly added module content visible. */
.fansa-home .editorial-about,
.fansa-home .engineer-zone,
.fansa-home .editorial-news {
  --gold: #ffc40c;
  --gold-light: #ffda64;
  --ink: #1b2226;
}
.fansa-home .engineer-zone > .container { margin-inline: auto; max-width: none; padding: 0; }
.fansa-home .editorial-about img, .fansa-home .engineer-zone img, .fansa-home .editorial-news img { max-width: 100%; }
.fansa-home .editorial-about [hidden], .fansa-home .editorial-news [hidden],
.fansa-home .fansa-about-toggle[hidden] { display: none !important; }
.fansa-home .fansa-native-about { min-width: 0; line-height: 2.1; overflow-wrap: anywhere; }
.fansa-home .fansa-native-about p { margin-block: 0 13px; }
.fansa-home .fansa-about-short { display: block; max-height: 10.5em; overflow: hidden; }
.fansa-home .fansa-about-toggle { display: block; padding: 2px 0; margin: 8px 0; font: inherit; font-size: .85rem; background: none; color: #785b0a; border: 0; border-bottom: 1px solid #bda569; cursor: pointer; }
.fansa-home .fansa-native-services:not(:empty) { margin-top: 20px; }
.fansa-home .fansa-native-products { min-width: 0; overflow-wrap: anywhere; }
.fansa-home .fansa-native-products .DnnModule:not(.DNNEmptyPane) { background: #fff; color: #30383c; border-radius: 8px; }
.fansa-home .fansa-native-products a { color: inherit; }
.fansa-home .fansa-native-products .DnnModule:not(:empty) + .DnnModule:not(:empty) { margin-top: 12px; }
.fansa-home:not(.fansa-editing) .fansa-mirrored-news,
.fansa-home:not(.fansa-editing) .fansa-repeated-link { display: none !important; }
.dnnEditState .fansa-home .fansa-mirrored-news,
.dnnEditState .fansa-home .fansa-repeated-link { display: revert !important; }
.dnnEditState .fansa-home .fansa-about-short, .fansa-home.fansa-editing .fansa-about-short { max-height: none; overflow: visible; }
.fansa-home .editorial-story__image { align-self: stretch; }
.fansa-home .editorial-carousel__track { scroll-padding-inline: 0; }
.fansa-home .editorial-carousel__track > .editorial-story:only-child { max-width: 460px; }
.fansa-home .fansa-poster-dialog { box-sizing: border-box; padding: 48px 8px 8px; border: 1px solid #b49e6d; border-radius: 8px; background: #212426; max-height: 95vh; max-width: calc(100vw - 24px); }
.fansa-home .fansa-poster-dialog:not([open]) { display: none; }
.fansa-home .fansa-poster-dialog::backdrop { background: rgb(0 0 0 / 72%); }
.fansa-home .fansa-poster-dialog img { display: block; width: auto; height: auto; max-height: calc(90vh - 58px); max-width: 100%; object-fit: contain; margin-inline: auto; }
.fansa-home .fansa-poster-close { position: absolute; inset: 7px 8px auto auto; background: #fff; color: #202428; border: 0; border-radius: 4px; min-height: 32px; padding-inline: 14px; cursor: pointer; }

.fansa-home .fansa-native-about [id$="_HtmlModule_lblContent"] { display: block; }
.fansa-home a.fansa-services__card,
.fansa-home a.fansa-services__card:visited,
.fansa-home .editorial-story h3 a,
.fansa-home .editorial-story h3 a:visited { color: var(--ink); text-decoration: none; }
.fansa-home .editorial-story h3 a:hover, .fansa-home .editorial-story h3 a:focus-visible { color: #795b0d; }
.fansa-home a.editorial-about__link, .fansa-home a.editorial-about__link:visited,
.fansa-home .editorial-news__archive a, .fansa-home .editorial-news__archive a:visited { color: #fff; text-decoration: none; }
.fansa-home a.engineer-go, .fansa-home a.engineer-go:visited { color: #242420; text-decoration: none; }
.fansa-home a.editorial-story__link, .fansa-home a.editorial-story__link:visited { color: #725411; text-decoration: none; }
.fansa-home .fansa-native-services .fansa-native-more-links {
  display: flex; align-items: center; flex-wrap: wrap; gap: 9px 12px; list-style: none; margin: 12px 0 0; padding: 0;
}
.fansa-home .fansa-native-more-links > li { list-style: none; margin: 0; padding: 0; }
.fansa-home .fansa-native-more-links > li > a {
  display: inline-block; padding: 6px 14px; border: 1px solid #ddd7c4; border-radius: 4px;
  color: #51472b; background: #fffdf7; text-decoration: none; font-size: .87rem; line-height: 1.7;
}
.fansa-home .fansa-native-more-links > li > a:hover,
.fansa-home .fansa-native-more-links > li > a:focus-visible { border-color: #b69a4f; color: #6b5110; }
/* The same SuperLinks module can render a plain list or a repeated gallery of real portal links. */
.fansa-home .fansa-native-services [data-fansa-service-grid] {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  margin-inline: 0 !important;
  padding-inline: 0;
}
.fansa-home .fansa-native-services [data-fansa-service-grid="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fansa-home .fansa-native-services [data-fansa-service-grid="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fansa-home .fansa-native-services [data-fansa-service-grid] > :not([data-fansa-service-card]) { grid-column: 1 / -1; }
.fansa-home .fansa-native-services [data-fansa-service-clear-before]::before,
.fansa-home .fansa-native-services [data-fansa-service-clear-after]::after { display: none; }
.fansa-home .fansa-native-services [data-fansa-service-card] {
  box-sizing: border-box; width: auto !important; min-width: 0; max-width: 100% !important;
  float: none !important; height: auto !important; min-height: 0 !important;
  list-style: none; margin: 0 !important; padding: 7px !important;
  border: 1px solid #e2dfd4; border-radius: 8px; background: #fff;
  overflow-wrap: anywhere; text-align: center;
}
.fansa-home .fansa-native-services [data-fansa-service-card]:focus-within { border-color: #ab8225; }
.fansa-home .fansa-native-services [data-fansa-service-inner] {
  box-sizing: border-box; min-width: 0; max-width: 100% !important; width: 100% !important;
  height: auto !important; min-height: 0 !important; margin-inline: 0 !important;
}
.fansa-home .fansa-native-services [data-fansa-service-photo] {
  box-sizing: border-box; display: block; width: 100% !important; max-width: 100% !important;
  height: clamp(110px, 11vw, 154px) !important; min-height: 0 !important; max-height: none !important;
  margin: 0 !important; border-radius: 5px;
  object-fit: contain !important; object-position: center; background-color: #f4f2ed;
  background-size: contain !important; background-position: center !important; background-repeat: no-repeat !important;
}
.fansa-home .fansa-native-services a[data-fansa-service-action] {
  box-sizing: border-box; display: block; width: 100% !important; max-width: 100%; height: auto !important;
  min-height: 38px; padding: 7px 8px !important; margin: 4px 0 0; white-space: normal;
  font-family: inherit; font-size: .88rem; line-height: 1.7; text-decoration: none;
}
@media (max-width: 850px) {
  .fansa-home .fansa-native-services [data-fansa-service-grid][data-fansa-service-grid] { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
}
@media (max-width: 365px) {
  .fansa-home .fansa-native-services [data-fansa-service-grid][data-fansa-service-grid] { gap: 8px; }
}
/* Leave uncommon SuperLinks templates in their own layout while keeping their image proportions. */
.fansa-home:not(.fansa-editing) .fansa-native-services .ModFaraSuperLinksC img:not([data-fansa-service-photo]) {
  box-sizing: border-box; width: auto !important; height: auto !important;
  max-width: min(100%, 390px) !important; max-height: 170px !important; object-fit: contain !important;
}

/* Festival content is published through the DNN HTML module. */
.fansa-home .fansa-festival-event .engineer-copy > .engineer-kicker { color: #755d17; font-size: .82rem; }
.fansa-home .fansa-festival-event .engineer-copy > div:not(.engineer-kicker) { color: #59574f; font-size: .87rem; }
.fansa-home .fansa-festival-event .fansa-event-deadline,
.fansa-home .fansa-festival-event .fansa-time-zone { display: inline; }
.fansa-home .fansa-festival-event .fansa-time-label { color: #6f6440; font-size: .88rem; }
.fansa-home .fansa-festival-event .engineer-copy time { display: inline; }
.fansa-home .fansa-festival-event [hidden] { display: none !important; }
.fansa-home:not(.fansa-editing) .fansa-festival-event:not([data-clock-state="expired"]) .fansa-event-ended { display: none; }
.fansa-home:not(.fansa-editing) .fansa-festival-event:not([data-clock-state]) .r4-clock { display: none; }
.fansa-home .fansa-festival-event .engineer-go::after { content: "←"; font-size: 1.1em; }
.fansa-home .fansa-event-announcement {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
/* The companion HTML module and existing 3070 prose remain ordinary editable DNN modules. */
.fansa-home .fansa-about-layout {
  width: min(1060px, calc(100% - 96px));
  margin-inline: auto;
}
.fansa-home .fansa-about-layout .editorial-intro__visual { margin-block: 22px; }
.fansa-home .fansa-about-layout .fansa-about-more a { align-items: center; gap: 10px; }

/* The default DNN HTML editor retains classes on DIVs when it normalizes content. */
.fansa-home .fansa-about-heading .editorial-heading h2 {
  margin: 0;
  color: inherit;
  font: inherit;
  font-weight: 400;
  letter-spacing: inherit;
}
.fansa-home .fansa-about-heading .editorial-heading strong { font-weight: 800; }
.fansa-home .fansa-about-features .fansa-about-poster-image img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  aspect-ratio: 7 / 10;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}
.fansa-home .fansa-about-features .festival-print__expand { font-size: 0; }
.fansa-home .fansa-about-features .festival-print__expand::before { content: "↗"; font-size: 20px; line-height: 1; }

/* Use the module's own heading, figure and link in the visual grid. Its editor and
   its source content stay in the original pane. Unstructured new content remains visible. */
@supports selector(:has(*)) {
  .fansa-home:not(.fansa-editing) .fansa-about-layout:not(.dnnEditState *):has(.fansa-about-content) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .77fr);
    grid-template-rows: 1fr auto auto auto 1fr;
    grid-template-areas: ". visual" "heading visual" "copy visual" "more visual" ". visual";
    column-gap: clamp(48px, 7vw, 108px);
    align-items: center;
  }
  .fansa-home:not(.fansa-editing) .fansa-about-layout:not(.dnnEditState *) .fansa-about-features:has(.fansa-about-content),
  .fansa-home:not(.fansa-editing) .fansa-about-layout:not(.dnnEditState *) .fansa-about-features :has(.fansa-about-content),
  .fansa-home:not(.fansa-editing) .fansa-about-layout:not(.dnnEditState *) .fansa-about-content { display: contents; }
  .fansa-home:not(.fansa-editing) .fansa-about-layout:not(.dnnEditState *) .fansa-about-content > .fansa-about-heading { grid-area: heading; }
  .fansa-home:not(.fansa-editing) .fansa-about-layout:not(.dnnEditState *) .fansa-about-content > .festival-print { grid-area: visual; margin: 0; align-self: center; }
  .fansa-home:not(.fansa-editing) .fansa-about-layout:not(.dnnEditState *) .fansa-about-content > .fansa-about-more { grid-area: more; }
  .fansa-home:not(.fansa-editing) .fansa-about-layout:not(.dnnEditState *):has(.fansa-about-content) > .editorial-intro__copy { grid-area: copy; min-width: 0; }
  .fansa-home:not(.fansa-editing) .fansa-about-layout:not(.dnnEditState *):has(.fansa-about-content) .fansa-native-about :is(h1,h2,h3,h4):has([id$="_dnnTITLE_titleLabel"]) { display: none; }
  .fansa-home:not(.fansa-editing) .fansa-about-layout:not(.dnnEditState *) .fansa-about-features .DnnModule:has(.fansa-about-content) :is(a[name]:not([href]),div:empty):not(.dnnActionMenu) { display: none; }
}
@media (max-width:1050px) {
  .fansa-home .fansa-about-layout { width: calc(100% - 48px); }
}
@media (max-width:750px) {
  .fansa-home .fansa-about-layout { width: min(540px, calc(100% - 36px)); }
  .fansa-home:not(.fansa-editing) .fansa-about-layout:not(.dnnEditState *):has(.fansa-about-content) {
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: auto;
    grid-template-areas: "heading" "copy" "more" "visual";
  }
  .fansa-home:not(.fansa-editing) .fansa-about-layout:not(.dnnEditState *) .fansa-about-content > .festival-print { margin-top: 32px; }
}
/* End Fansa R2 About. */

.fansa-home .fansa-services-native [id$="_dnnTITLE_titleLabel"] {display:block;text-align:center;font-weight:800;margin-block:0 1.35rem}
.fansa-home .fansa-services__photo img:not([src]),.fansa-home .fansa-services__photo img[src=""] {visibility:hidden}
.fansa-home .fansa-news-native.DNNEmptyPane {display:none}
