.fansa-home .fansa-hero-region {
  --fansa-cover-inset: max(5%, calc((100% - 1320px) / 2));
  --fansa-cover-gold: #ffc40c;
  --fansa-cover-light-gold: #ffda64;
  direction: rtl;
}
.fansa-home .fansa-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 650px;
  height: 100vh;
  height: min(100svh, 1040px);
  color: #fff;
  background: #302923;
}
.fansa-home .fansa-cover-image,
.fansa-home .fansa-cover-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.fansa-home .fansa-cover-image {
  left: auto;
  width: 84%;
  background:
    repeating-linear-gradient(0deg, transparent 0 71px, #dab47d17 71px 72px),
    repeating-linear-gradient(90deg, transparent 0 71px, #dab47d17 71px 72px),
    linear-gradient(125deg, #242827 2%, #464238 59%, #63523f);
}
.fansa-home .fansa-cover-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 46%;
}
.fansa-home .fansa-cover-light {
  background: linear-gradient(90deg, #30251d 10%, rgb(48 37 29 / 99%) 16%, rgb(42 31 23 / 86%) 29%, rgb(35 25 18 / 48%) 42%, transparent 60%),
              linear-gradient(0deg, rgb(35 24 19 / 51%), transparent 26%, transparent 84%, rgb(37 26 19 / 17%));
}
.fansa-home .fansa-cover-body {
  position: relative;
  box-sizing: border-box;
  width: calc(100% - 2 * var(--fansa-cover-inset));
  height: 100%;
  margin-inline: auto;
  padding-block: 125px 105px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}
.fansa-home .fansa-cover-copy { width: min(51%, 600px); text-align: left; }
.fansa-home .fansa-cover-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
  color: #ffdd85;
  font-size: clamp(.875rem, 1.14vw, 1rem);
  font-weight: 650;
  line-height: 1.75;
}
.fansa-home .fansa-cover-kicker::after { content: ''; width: 34px; height: 2px; background: var(--fansa-cover-gold); }
.fansa-home .fansa-cover-copy h1 {
  margin: 0;
  color: #fff;
  font: inherit;
  font-size: clamp(1.325rem, 2.275vw, 2.3rem);
  font-weight: 450;
  line-height: 1.55;
  letter-spacing: -.052em;
}
.fansa-home .fansa-cover-copy h1 strong { display: block; color: var(--fansa-cover-light-gold); font-weight: 850; }
.fansa-home .fansa-cover-copy p {
  max-width: min(100%, 26rem);
  margin: 13px auto 0 0;
  color: #fff9f0;
  font-size: clamp(.9375rem, 1.26vw, 1.125rem);
  font-weight: 450;
  line-height: 1.95;
  text-wrap: pretty;
}
.fansa-home .fansa-teaser-wrap {
  position: absolute;
  right: var(--fansa-cover-inset);
  bottom: 53px;
  width: clamp(230px,20vw,320px);
  z-index: 1;
}
.fansa-home .fansa-teaser-card {
  display: block;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 1.65;
  overflow: hidden;
  isolation: isolate;
  padding: 0;
  color: #fff;
  font: inherit;
  background: #242421;
  border: 1px solid #ffffff79;
  border-radius: 16px;
  cursor: pointer;
  transform: perspective(1200px) rotateY(-25deg) rotateX(5deg);
  transform-origin: right center;
  box-shadow: -25px 25px 50px #0006;
  transition: transform .5s cubic-bezier(.25,.8,.25,1), border-color .5s, box-shadow .5s;
}
.fansa-home .fansa-teaser-card[hidden],
.fansa-home .fansa-teaser-direct[hidden] { display: none; }
.fansa-home .fansa-teaser-card > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% 42%;
  opacity: .8;
  transition: opacity .5s;
}
.fansa-home .fansa-teaser-card::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg,#18181837,#15151679 54%,#171718d8);
}
.fansa-home .fansa-teaser-wrap:hover .fansa-teaser-card,
.fansa-home .fansa-teaser-card:focus-visible {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) scale(1.05);
  border-color: var(--fansa-cover-light-gold);
  box-shadow: 0 20px 60px #0009;
}
.fansa-home .fansa-teaser-wrap:hover .fansa-teaser-card > img,
.fansa-home .fansa-teaser-card:focus-visible > img { opacity: 1; }
.fansa-home .fansa-teaser-play {
  position: absolute;
  isolation: isolate;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(42px,3.65vw,55px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--fansa-cover-gold);
  color: #29271e;
  transform: translate(-50%,-50%);
  transition: background-color .3s, transform .3s, box-shadow .3s;
}
.fansa-home .fansa-teaser-play svg { width: 40%; height: 40%; }
@keyframes fansa-teaser-wave {
  from { transform: scale(1); opacity: .55; }
  75%, 100% { transform: scale(1.75); opacity: 0; }
}
@media (prefers-reduced-motion:no-preference) {
  .fansa-home .fansa-teaser-in-view:not(:hover) .fansa-teaser-card:not(:focus-visible) .fansa-teaser-play::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    background: var(--fansa-cover-light-gold);
    animation: fansa-teaser-wave 2s linear infinite;
    pointer-events: none;
  }
}
.fansa-home .fansa-teaser-wrap:hover .fansa-teaser-play,
.fansa-home .fansa-teaser-card:focus-visible .fansa-teaser-play {
  transform: translate(-50%,-50%) scale(1.1);
  background: white;
  box-shadow: 0 0 30px #ffcf41cc;
}
.fansa-home .fansa-teaser-label {
  display: grid;
  position: absolute;
  inset-inline: 16px;
  bottom: 10px;
  text-align: right;
  line-height: 1.5;
}
.fansa-home .fansa-teaser-label strong { color: #fff; font-size: .95rem; font-weight: 750; }
.fansa-home .fansa-teaser-label small { color: #fffcf1; font-size: .73rem; }
.fansa-home .fansa-cover-scroll {
  position: absolute;
  left: 50%;
  bottom: 33px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  transform: translateX(-50%);
  color: #fff;
}
.fansa-home .fansa-teaser-direct { display: inline-block; color: #fff; padding: 10px 16px; border: 1px solid #ffda6499; border-radius: 8px; background: #30251d; }
.fansa-home .fansa-teaser-dialog {
  position: fixed;
  box-sizing: border-box;
  inset: 0;
  width: min(900px,calc(100vw - 32px));
  height: fit-content;
  max-height: 90vh;
  max-height: 90svh;
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid #ffffff26;
  border-radius: 12px;
  background: #1e2022;
  color: #fff;
  box-shadow: 0 20px 72px #0007;
  text-align: right;
}
.fansa-home .fansa-teaser-dialog:not([open]) { display: none; }
.fansa-home .fansa-teaser-dialog::backdrop { background: #141414cc; backdrop-filter: blur(6px); }
.fansa-home .fansa-teaser-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px; gap: 12px; }
.fansa-home .fansa-teaser-bar h2 { margin: 0; color: #fff; font: inherit; font-size: 1.08rem; font-weight: 700; }
.fansa-home .fansa-teaser-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.fansa-home .fansa-teaser-close:hover { background: #ffffff1a; }
.fansa-home .fansa-teaser-dialog video { display: block; width: 100%; max-height: 71vh; aspect-ratio: 16/9; background: #121212; }
.fansa-home .fansa-teaser-file { display: inline-block; margin: 8px 16px; padding: 4px 0; color: #ffda64; font-size: .875rem; text-decoration: underline; }
.fansa-home .fansa-hero-region :is(button,a):focus-visible { outline: 2px solid #ffda64; outline-offset: 3px; }

/* Other modules placed in SliderPane and its native DNN edit controls stay in the normal flow. */
.fansa-home:not(.fansa-editing) .fansa-hero-pane :is(.DnnModule-LiveSlider,.fansa-hero-source) { display: none; }
.dnnEditState .fansa-home .fansa-hero-pane :is(.DnnModule-LiveSlider,.fansa-hero-source),
.fansa-home.dnnEditState .fansa-hero-pane :is(.DnnModule-LiveSlider,.fansa-hero-source),
.fansa-home .dnnEditState .fansa-hero-pane :is(.DnnModule-LiveSlider,.fansa-hero-source) { display: block; }
@media (min-width:641px) and (max-width:1050px) {
  .fansa-home .fansa-cover-copy p { max-width: 32vw; }
}
@media (max-width:900px) {
  .fansa-home .fansa-cover-copy h1 { font-size: clamp(1.35rem,3vw,1.8rem); }
  .fansa-home .fansa-teaser-wrap { width: clamp(180px,25vw,225px); bottom: 43px; }
}
@media (max-width:640px) {
  .fansa-home .fansa-cover { min-height: 0; height: clamp(665px,100svh,850px); }
  .fansa-home .fansa-cover-image { width: 100%; height: 78%; top: auto; }
  .fansa-home .fansa-cover-image img { object-position: 52% 17%; }
  .fansa-home .fansa-cover-light {
    background: linear-gradient(180deg,#30251d 14%,rgb(48 37 29 / 99%) 22%,rgb(46 34 25 / 87%) 29%,rgb(39 28 20 / 38%) 42%,transparent 54%,transparent 76%,rgb(35 24 17 / 48%)),
                linear-gradient(90deg,rgb(40 29 22 / 35%),transparent 75%);
  }
  .fansa-home .fansa-cover-body { width: calc(100% - 42px); align-items: flex-start; padding-block: clamp(117px,19svh,184px) 225px; }
  .fansa-home .fansa-cover-copy { width: min(100%,25rem); margin-inline: 0 auto; text-align: right; }
  .fansa-home .fansa-cover-kicker { flex-direction: row-reverse; margin-bottom: 5px; }
  .fansa-home .fansa-cover-copy h1 { font-size: clamp(1.2rem,4.8vw,1.6rem); }
  .fansa-home .fansa-cover-copy p { margin: 8px 0 0; font-size: .9375rem; line-height: 1.85; }
  .fansa-home .fansa-teaser-wrap { right: 21px; bottom: 70px; width: clamp(140px,43vw,195px); }
  .fansa-home .fansa-teaser-card { aspect-ratio: 1.88; border-radius: 10px; }
  .fansa-home .fansa-teaser-play { width: 31px; }
  .fansa-home .fansa-teaser-label { inset-inline: 9px; bottom: 4px; }
  .fansa-home .fansa-teaser-label strong { font-size: .7rem; }
  .fansa-home .fansa-teaser-label small { display: none; }
  .fansa-home .fansa-cover-scroll { left: auto; right: 18px; bottom: 15px; transform: none; }
}
@media (max-width:640px) and (max-height:700px) {
  .fansa-home .fansa-cover { height: max(100svh,565px); }
  .fansa-home .fansa-cover-body { padding-top: 103px; padding-bottom: 175px; }
  .fansa-home .fansa-cover-copy h1 { font-size: clamp(1.075rem,4.3vw,1.4rem); }
}
@media (hover:none) and (orientation:portrait) {
  .fansa-home .fansa-teaser-card, .fansa-home .fansa-teaser-wrap:hover .fansa-teaser-card { transform: none; }
}
@media (prefers-reduced-motion:reduce) {
  .fansa-home .fansa-teaser-card, .fansa-home .fansa-teaser-card > img, .fansa-home .fansa-teaser-play { transition: none; }
}

/* The HTML module renders the editable headline and the real media link in its own DNN pane. */
.fansa-home .fansa-hero-content-pane,
.fansa-home .fansa-hero-content-pane .fansa-hero-content {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.fansa-home .fansa-hero-content {
  color: #fff;
  font: 400 16px/1.9 var(--font);
}
.fansa-home:not(.fansa-editing) .fansa-hero-content-pane :where(div,section,article,span):has(.fansa-hero-content) {
  position: static !important;
  transform: none !important;
}
.fansa-home .fansa-hero-content .fansa-cover-copy p { font-family: var(--font); }
.fansa-home .fansa-hero-content .fansa-teaser-card {
  pointer-events: auto;
  text-decoration: none;
  color: #fff;
}
.fansa-home .fansa-hero-content .fansa-teaser-play::after {
  content: '';
  width: 0;
  height: 0;
  border-block: .36em solid transparent;
  border-left: .58em solid currentColor;
}
.fansa-home .fansa-teaser-card:not(:has(.fansa-teaser-play))::after {
  content: "▶";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: clamp(31px, 3.65vw, 55px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--fansa-cover-gold);
  color: #29271e;
}
.fansa-home .fansa-teaser-card > strong,
.fansa-home .fansa-teaser-card > small {
  position: absolute;
  inset-inline: 12px;
  bottom: 8px;
  color: #fff;
}
.fansa-home .fansa-teaser-card > strong { bottom: 27px; }
.fansa-home.fansa-editing .fansa-cover,
.dnnEditState .fansa-home .fansa-cover {
  height: auto;
  overflow: visible;
}
.fansa-home.fansa-editing .fansa-hero-content-pane,
.dnnEditState .fansa-home .fansa-hero-content-pane {
  position: relative;
  min-height: 520px;
  padding-top: 76px;
  pointer-events: auto;
}
.fansa-home.fansa-editing .fansa-hero-content-pane .fansa-hero-content,
.dnnEditState .fansa-home .fansa-hero-content-pane .fansa-hero-content {
  position: relative;
  min-height: 430px;
  pointer-events: auto;
}
.fansa-home.fansa-editing .fansa-hero-content-pane .fansa-cover-body,
.dnnEditState .fansa-home .fansa-hero-content-pane .fansa-cover-body { height: auto; }
