.index-hero {
  margin-bottom: 4px
}

.index-hero .index-hero__shell {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  gap: 22px;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 8px 0 24px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background: none;
  border: none;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none
}

.index-hero .index-hero__intro {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  text-align: center
}

/* H1 uses container width — avoid a narrow max-width that forces awkward wraps on large screens */
.index-hero .index-hero__intro .title {
  margin: 0 auto 14px;
  max-width: 100%;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  text-align: center
}

.index-hero .index-hero__intro .text {
  margin: 0 auto;
  max-width: min(100%, 52em);
  text-align: center
}

.index-hero .index-hero__bio-link {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 204, 0, .55);
  transition: color .2s ease, text-decoration-color .2s ease
}

.index-hero .index-hero__bio-link:hover {
  color: var(--dc-gold, #FFCC00);
  text-decoration-color: var(--dc-gold, #FFCC00)
}

.index-hero .index-hero__stats {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px auto 0;
  padding: 0;
  list-style: none;
  max-width: min(100%, 42em)
}

.index-hero .index-hero__stat {
  margin: 0;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .01em;
  color: #ffffff;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 204, 0, .35)
}

.index-hero .index-hero__cta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 18px 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, .05)), to(rgba(255, 255, 255, .02)));
  background: -o-linear-gradient(top, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, .02) 100%);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, .02) 100%)
}

/* Badge + offer: sized closer to the CTA for readability */
.index-hero .index-hero__accroche {
  margin: 0 auto;
  width: 100%;
  max-width: min(100%, 52em);
  text-align: center;
  font-size: 15px;
  line-height: 1.45;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 22px 16px 12px;
  position: relative;
  border-radius: 12px;
  background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(255, 255, 255, .1)
}

.index-hero .index-hero__badge {
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 0;
  margin: 0;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: #161616;
  background: #FFCC00;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%)
}

.index-hero .index-hero__accroche-gap {
  display: inline;
  white-space: pre
}

.index-hero .index-hero__offer {
  display: inline;
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  font-weight: 600;
  color: #ffffff
}

@media (max-width: 420px) {
  .index-hero .index-hero__accroche {
    display: block;
    max-width: 22em;
    padding: 22px 12px 12px
  }

  .index-hero .index-hero__badge {
    display: inline-block;
    margin: 0
  }

  .index-hero .index-hero__offer {
    display: block
  }

  .index-hero .index-hero__accroche-gap {
    display: none
  }
}

.index-hero .index-hero__btn {
  display: inline-block;
  width: 100%;
  max-width: 320px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
  text-align: center;
  color: var(--dc-cta-text, #161616) !important;
  text-decoration: none !important;
  background: var(--dc-cta, #FFCC00);
  border: 1px solid var(--dc-cta, #FFCC00);
  border-radius: var(--dc-cta-radius);
  box-shadow: 0 6px 18px rgba(var(--dc-cta-rgb, 255, 204, 0), 0.28);
  -webkit-transform-origin: center center;
  -ms-transform-origin: center center;
  transform-origin: center center;
  -webkit-transition: background-color .2s, border-color .2s, color .2s, -webkit-transform .15s, box-shadow .2s;
  transition: background-color .2s, border-color .2s, color .2s, transform .15s, box-shadow .2s;
  transition: background-color .2s, border-color .2s, color .2s, transform .15s, box-shadow .2s, -webkit-transform .15s
}

.index-hero .index-hero__btn:hover {
  background: var(--dc-cta-hover, #FFD633);
  border-color: var(--dc-cta-hover, #FFD633);
  color: var(--dc-cta-text, #161616) !important;
  -webkit-transform: scale(1.04);
  -ms-transform: scale(1.04);
  transform: scale(1.04);
  -webkit-box-shadow: 0 8px 22px rgba(255, 204, 0, 0.38);
  box-shadow: 0 8px 22px rgba(255, 204, 0, 0.38)
}

.index-hero .index-hero__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  width: 100%
}

.index-hero .index-hero__btn--secondary {
  color: #ffffff !important;
  background: transparent !important;
  border: 1px solid rgba(255, 204, 0, .55) !important;
  -webkit-box-shadow: none;
  box-shadow: none
}

.index-hero .index-hero__btn--secondary:hover {
  color: #161616 !important;
  background: var(--dc-gold, #FFCC00) !important;
  border-color: var(--dc-gold, #FFCC00) !important;
  -webkit-transform: scale(1.02);
  -ms-transform: scale(1.02);
  transform: scale(1.02);
  -webkit-box-shadow: 0 6px 18px rgba(255, 204, 0, .28);
  box-shadow: 0 6px 18px rgba(255, 204, 0, .28)
}

@media (min-width: 560px) {
  .index-hero .index-hero__actions {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
  }

  .index-hero .index-hero__actions .index-hero__btn {
    width: auto;
    min-width: 220px
  }
}

@media (max-width: 640px) {
  .index-hero .index-hero__cta {
    max-width: min(100%, 360px);
    padding: 10px 10px 12px;
    border-radius: 10px
  }
}

/* Horizontal thumb row (Netflix-style). Pair: include_thumb_row_rail_start / _end.tpl */
.thumb-row-rail {
  position: relative;
  margin: 0 0 28px;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box
}

.thumb-row-rail__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
  width: 100%;
  outline: none;
  scrollbar-width: none;
  scrollbar-color: #2a2a2a #000000
}

@media (hover: hover) and (pointer: fine) {
  .thumb-row-rail__viewport {
    /* Keep vertical room so hover-lift cards are not clipped by viewport overflow */
    padding-top: 10px;
    /* padding-bottom: 14px; */
  }

  .section-row--models-rail .thumb-row-rail__viewport {
    /* Portrait model cards need a bit more headroom on lift */
    padding-top: 16px;
  }
}

.section-row--models-rail .thumb-row-rail__viewport,
.section-row--channels-rail .thumb-row-rail__viewport {
  scroll-behavior: smooth;
}

.thumb-row-rail__viewport::-webkit-scrollbar {
  height: 6px
}

.thumb-row-rail__viewport::-webkit-scrollbar-track {
  background: #000000;
  border-radius: 3px
}

.thumb-row-rail__viewport::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 3px
}

.thumb-row-rail__viewport::-webkit-scrollbar-thumb:hover {
  background: #3a3a3a
}

.thumb-row-rail__track.thumbs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  margin: 0 -5px 0;
  width: 100%;
  min-width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box
}

.thumb-row-rail__track.thumbs > .thumb {
  -ms-flex-negative: 0;
  flex-shrink: 0
}

.thumb-row-rail .channels-thumbs--rail .thumb {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 16.6667%;
  flex: 0 0 16.6667%;
  width: 16.6667%;
  max-width: none;
  margin-bottom: 0
}

.thumb-row-rail .models-thumbs--rail .thumb {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 16.6667%;
  flex: 0 0 16.6667%;
  width: 16.6667%;
  max-width: none;
  margin-bottom: 0;
  padding: 6px 6px 18px
}

.thumb-row-rail .videos-thumbs--rail .thumb {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  width: 25% !important;
  max-width: none;
  margin-bottom: 0
}

@media (max-width: 992px) {
  .thumb-row-rail .models-thumbs--rail .thumb {
    -ms-flex-preferred-size: 25%;
    flex-basis: 25%;
    width: 25%;
  }
}

@media (max-width: 768px) {
  .thumb-row-rail .models-thumbs--rail .thumb {
    -ms-flex-preferred-size: 33.3333%;
    flex-basis: 33.3333%;
    width: 33.3333%;
  }
}

@media (max-width: 520px) {
  .thumb-row-rail .models-thumbs--rail .thumb {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    width: 50%;
  }
}

@media (max-width: 1023px) {
  .thumb-row-rail .channels-thumbs--rail .thumb {
    -ms-flex-preferred-size: 25%;
    flex-basis: 25%;
    width: 25%;
  }
}

@media (max-width: 768px) {
  .thumb-row-rail .channels-thumbs--rail .thumb {
    -ms-flex-preferred-size: 33.3333%;
    flex-basis: 33.3333%;
    width: 33.3333%;
  }
}

@media (max-width: 520px) {
  .thumb-row-rail .channels-thumbs--rail .thumb {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    width: 50%;
  }
}

@media (max-width: 1023px) {
  .thumb-row-rail .videos-thumbs--rail .thumb {
    -ms-flex-preferred-size: 33.3333%;
    flex-basis: 33.3333%;
    width: 33.3333% !important;
  }
}

@media (max-width: 800px) {
  .thumb-row-rail .videos-thumbs--rail .thumb {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    width: 50% !important;
  }
}

@media (max-width: 520px) {
  .thumb-row-rail .videos-thumbs--rail .thumb {
    -ms-flex-preferred-size: 50%; /* mobile: 2 colonnes */
    flex-basis: 50%;
    width: 50% !important
  }
}

@media (max-width: 410px) {
  .thumb-row-rail .videos-thumbs--rail .thumb {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    width: 100% !important;
  }
}

.thumb-row-rail__nav {
  position: absolute;
  top: 50%;
  z-index: 20;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #fff;
  background: rgba(0, 0, 0, .55);
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
  -webkit-transition: background-color .2s, opacity .2s, -webkit-transform .15s;
  transition: background-color .2s, opacity .2s, -webkit-transform .15s;
  -o-transition: background-color .2s, opacity .2s, transform .15s;
  transition: background-color .2s, opacity .2s, transform .15s;
  transition: background-color .2s, opacity .2s, transform .15s, -webkit-transform .15s
}

.thumb-row-rail__nav:hover:not(:disabled) {
  background: rgba(255, 204, 0, .92);
  color: #161616
}

.thumb-row-rail__nav:disabled {
  opacity: .25;
  cursor: default;
  pointer-events: none
}

.thumb-row-rail__nav--prev {
  left: 8px
}

.thumb-row-rail__nav--next {
  right: 8px
}

.thumb-row-rail__nav .svg-icon {
  width: 18px;
  height: 18px
}

.thumb-row-rail--no-overflow .thumb-row-rail__nav {
  display: none
}

.section-row--channels-rail .thumb-row-rail,
.section-row--models-rail .thumb-row-rail,
.section-row--videos-rail .thumb-row-rail {
  margin-bottom: 12px
}

.block-inner .title,
.footer .footer-desc,
.thumb-box .title {
  font-weight: 400;
  font-size: 12px;
  line-height: 20px
}

.footer-box {
  background: var(--footer-box-bg);
  padding-bottom: 35px
}

.block-inner {
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  padding: 15px 0
}

.block-inner .title {
  text-align: center;
  color: #747474;
  margin-bottom: 15px
}

.block-inner .block-holder {
  width: 100%;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between
}

.block-inner .block-holder .block-img {
  padding: 5px
}

@media (max-width:1270px) {
  .block-inner .block-holder .block-img:nth-child(4) {
    display: none
  }
}

@media (max-width:945px) {
  .block-inner .block-holder {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
  }

  .block-inner .block-holder .block-img:nth-child(3) {
    display: none
  }
}

@media (max-width:635px) {
  .block-inner .block-holder .block-img:nth-child(2) {
    display: none
  }
}

/* Home hero carousel — poster jaquettes (portrait) */
.home-hero-carousel {
  --hero-radius: 12px;
  --hero-spacing-below: clamp(1.25rem, 3.5vw, 2.5rem);
  position: relative;
  width: 100%;
  max-width: min(920px, 100%);
  margin: 0 auto var(--hero-spacing-below);
}

.home-hero-carousel__viewport {
  overflow: hidden;
  width: 100%;
  border-radius: var(--hero-radius);
}

.home-hero-carousel__track {
  display: flex;
  flex-direction: row;
  overflow: visible;
  scroll-snap-type: none;
  transition: transform 0.45s ease;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-carousel__track {
    transition: none;
  }
}

.home-hero-carousel__slide {
  flex: 0 0 100%;
  min-width: 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.home-hero-carousel__link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--hero-radius);
}

.home-hero-carousel__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  border-radius: var(--hero-radius);
  object-fit: cover;
  aspect-ratio: 450 / 640;
  max-height: min(72vh, 640px);
  margin: 0 auto;
  background: #111;
}

.home-hero-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  transition: background 0.2s ease;
}

.home-hero-carousel__btn:hover {
  background: rgba(255, 204, 0, 0.92);
  color: #161616;
}

.home-hero-carousel__btn--prev {
  left: 12px;
}

.home-hero-carousel__btn--next {
  right: 12px;
}

.home-hero-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.home-hero-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.home-hero-carousel__dot[aria-selected="true"] {
  background: #FFCC00;
}

@media (max-width: 600px) {
  .home-hero-carousel__btn {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }
}

/* Light theme — hero CTA block (badge stays red via explicit rule below) */
html.light .index-hero .index-hero__bio-link {
  color: var(--dc-cta, #0062F8);
  text-decoration-color: rgba(var(--dc-cta-rgb), 0.45);
}

html.light .index-hero .index-hero__bio-link:hover {
  color: var(--dc-cta-hover, #0050D4);
  text-decoration-color: var(--dc-cta-hover, #0050D4);
}

html.light .index-hero .index-hero__cta {
  border: none;
  background: rgba(var(--dc-cta-rgb), 0.04);
  box-shadow: none;
}

html.light .index-hero .index-hero__accroche {
  background: #f4f6f8;
  border: 1px solid rgba(var(--dc-cta-rgb), 0.12);
}

html.light .index-hero .index-hero__badge {
  color: #ffffff;
  background: #c41e3a;
}

html.light .index-hero .index-hero__offer {
  color: #2a2a2a;
}

html.light .index-hero .index-hero__intro .text {
  color: rgba(0, 0, 0, 0.72);
}

html.light .thumb-row-rail__nav:hover:not(:disabled) {
  background: rgba(var(--dc-cta-rgb), 0.92);
  color: #ffffff;
}

html.light .home-hero-carousel__btn:hover {
  background: rgba(var(--dc-cta-rgb), 0.92);
  color: #ffffff;
}

html.light .home-hero-carousel__dot[aria-selected="true"] {
  background: var(--dc-cta, #0062F8);
}
