
/* =========================================================
   NORTHCAPE4000 HOME — TABLET REDESIGN
   Scope: 768–1199 only. Mobile CSS is intentionally untouched.
   ========================================================= */
@media (min-width:768px) and (max-width:1199px){

  body.home-page{
    --home-wide-pad:clamp(54px,7vw,86px);
    --home-wide-inline:clamp(34px,5vw,64px);
    --home-wide-max:980px;
    --home-wide-title:clamp(4.5rem,8.6vw,7rem);
    --home-wide-subtitle:clamp(2.4rem,5vw,4rem);
    --home-wide-long:clamp(1.62rem,2.65vw,2rem);
    --home-wide-quote:clamp(2rem,3.6vw,2.8rem);
    --home-wide-kicker:clamp(1.25rem,2vw,1.55rem);
    --home-wide-card-title:clamp(1.65rem,2.7vw,2.15rem);
    --home-blue:#064264;
    --home-mid:#0f405d;
    --home-cyan:#53a7c5;
    --home-ice:#f4f4f1;
    --home-gold:#d6ad52;
    overflow-x:hidden;
  }

  /* Hide only the duplicate narrow-layout sections by document position. */
  body.home-page main > .home-berlin-photo-v15 + .home-ten-years-v15{
    display:none!important;
  }
  body.home-page main > .home-map-newsletter-v3 + section{
    display:none!important;
  }

  /* Shared wide editorial system. */
  body.home-page .home-long-copy,
  body.home-page .home-ten-map-pair-v9 .home-ten-years-v15 > p{
    font-family:"Barlow Condensed",Arial,sans-serif!important;
    font-size:var(--home-wide-long)!important;
    line-height:1.28!important;
    font-weight:400!important;
  }

  body.home-page .home-anniversary-v15 h2,
  body.home-page .home-format-v4 h2,
  body.home-page .home-europe-v5 h2,
  body.home-page .home-chapter-text-v7 h2,
  body.home-page #home-sponsors h2{
    font-family:"Barlow Condensed",Arial,sans-serif!important;
    font-size:var(--home-wide-title)!important;
    line-height:.86!important;
    font-weight:800!important;
    letter-spacing:-.03em!important;
    text-transform:uppercase!important;
  }

  body.home-page .wrap{
    width:min(var(--home-wide-max),calc(100% - (var(--home-wide-inline) * 2)))!important;
    max-width:var(--home-wide-max)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  /* HERO — wide version keeps the real text, not the mobile image lockup. */
  body.home-page .home-hero{
    min-height:88svh!important;
    padding:110px var(--home-wide-inline) 54px!important;
    display:flex!important;
    align-items:flex-end!important;
    background-position:62% center!important;
  }
  body.home-page .home-hero-copy-png{display:none!important}
  body.home-page .home-hero-inner{
    position:relative!important;
    width:min(100%,980px)!important;
    min-height:calc(88svh - 164px)!important;
    margin:0!important;
  }
  body.home-page .home-kicker{
    display:block!important;
    font-size:var(--home-wide-kicker)!important;
    letter-spacing:.09em!important;
  }
  body.home-page .home-title{
    display:block!important;
    max-width:900px!important;
    margin:16px 0 0!important;
    font-size:clamp(6.7rem,13vw,10rem)!important;
    line-height:.72!important;
  }
  body.home-page .home-summary{
    display:block!important;
    max-width:640px!important;
    margin-top:26px!important;
    font-size:clamp(1.8rem,3vw,2.25rem)!important;
    line-height:1.06!important;
  }
  body.home-page .home-dates{
    position:absolute!important;
    left:0!important;
    bottom:0!important;
    top:auto!important;
    font-size:1.45rem!important;
  }
  body.home-page .home-dates .starts{font-size:1.55rem!important}
  body.home-page .home-dates strong{font-size:1.8rem!important}

  /* GUIDE — full-width vertical composition. */
  body.home-page .home-register{
    padding:var(--home-wide-pad) var(--home-wide-inline)!important;
    text-align:center!important;
    background:var(--home-blue)!important;
  }
  body.home-page .home-register .register-inner{
    display:block!important;
    width:min(900px,100%)!important;
    margin:0 auto!important;
  }
  body.home-page .home-register .register-copy-block .eyebrow{
    font-size:clamp(1.55rem,2.8vw,2rem)!important;
    line-height:1.04!important;
    margin-bottom:18px!important;
  }
  body.home-page .home-register .register-copy-block h2{
    font-size:clamp(3.5rem,7vw,5.4rem)!important;
    line-height:.9!important;
    margin:0 auto 32px!important;
  }
  body.home-page .home-register .nc4k-brevo{
    width:min(520px,72%)!important;
    max-width:520px!important;
    margin:0 auto!important;
  }
  body.home-page .home-register input[type="email"],
  body.home-page .home-register .nc4k-brevo-submit{
    min-height:52px!important;
    height:52px!important;
    font-size:1.2rem!important;
  }

  /* VIDEO — intentionally preserved as image/video + copy side-by-side. */
  body.home-page .home-film{
    display:grid!important;
    grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr)!important;
    min-height:600px!important;
    aspect-ratio:auto!important;
    background:#0d4564!important;
  }
  body.home-page .home-film-media{
    position:relative!important;
    min-height:600px!important;
    height:100%!important;
  }
  body.home-page .home-film-media .home-film-desktop{
    display:block!important;
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
  }
  body.home-page .home-film-media .home-film-mobile{display:none!important}
  body.home-page .home-film-copy-panel{
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:flex-start!important;
    padding:52px 38px!important;
    background:#155474!important;
  }
  body.home-page .home-film-copy-panel .eyebrow{
    color:var(--home-gold)!important;
    font-size:1.25rem!important;
  }
  body.home-page .home-film-copy-panel h2{
    margin:12px 0 0!important;
    font-size:clamp(3.3rem,5vw,4.8rem)!important;
    line-height:.82!important;
  }

  /* STATS — full viewport width, four equal cards. */
  body.home-page .home-stats-v15{
    width:100%!important;
    padding:0!important;
    background:var(--home-mid)!important;
  }
  body.home-page .home-stats-v15-grid{
    width:100%!important;
    max-width:none!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  body.home-page .home-stat-v15{
    min-height:220px!important;
    padding:30px 12px!important;
    border:1px solid rgba(255,255,255,.28)!important;
    border-left:0!important;
  }
  body.home-page .home-stat-v15:first-child{border-left:1px solid rgba(255,255,255,.28)!important}
  body.home-page .home-stat-v15 .home-stat-master-icon{
    width:86px!important;
    height:86px!important;
    object-fit:contain!important;
  }
  body.home-page .home-stat-v15 strong{
    font-size:clamp(1.55rem,2.4vw,2rem)!important;
    line-height:.95!important;
  }

  /* ANNIVERSARY */
  body.home-page .home-anniversary-v15{
    padding:var(--home-wide-pad) var(--home-wide-inline)!important;
    background:var(--home-mid)!important;
    text-align:center!important;
  }
  body.home-page .home-anniversary-v15-inner{max-width:900px!important}
  body.home-page .home-anniversary-v15 h2 span{color:var(--home-cyan)!important}
  body.home-page .home-anniversary-v15 p{
    max-width:900px!important;
    margin:0 auto 28px!important;
  }
  body.home-page .home-anniversary-v15-close{
    font-size:clamp(1.8rem,3vw,2.35rem)!important;
    line-height:1.15!important;
  }

  /* Full-width story photo. */
  body.home-page .home-berlin-photo-v15{
    min-height:64vw!important;
    max-height:720px!important;
  }
  body.home-page .home-berlin-photo-v15-img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }
  body.home-page .home-berlin-photo-v15-label{
    font-size:1.35rem!important;
  }

  /* Newsletter — full-width blue pause before the map. */
  body.home-page .home-map-newsletter-v3{
    padding:var(--home-wide-pad) var(--home-wide-inline) calc(var(--home-wide-pad) + 24px)!important;
    background:var(--home-blue)!important;
    text-align:center!important;
  }
  body.home-page .home-map-newsletter-v3-inner{
    width:min(900px,100%)!important;
    margin:0 auto!important;
  }
  body.home-page .home-map-newsletter-v3 h3{
    font-size:clamp(3rem,6vw,4.6rem)!important;
    line-height:.92!important;
  }
  body.home-page .home-map-newsletter-v3 .nc4k-form-copy{
    font-size:var(--home-wide-long)!important;
  }
  body.home-page .home-map-newsletter-v3 .nc4k-brevo{
    width:min(520px,72%)!important;
    max-width:520px!important;
  }

  /* Desktop/tablet story block — vertical, never side-by-side with the map. */
  body.home-page .home-ten-map-pair-v9{
    display:block!important;
    background:var(--home-mid)!important;
  }
  body.home-page .home-ten-map-pair-v9 .home-ten-years-v15{
    display:block!important;
    padding:var(--home-wide-pad) var(--home-wide-inline)!important;
    text-align:center!important;
    background:var(--home-mid)!important;
  }
  body.home-page .home-ten-map-pair-v9 .home-ten-years-v15-inner{
    max-width:900px!important;
    margin:0 auto 36px!important;
  }
  body.home-page .home-ten-years-v15-mark--png{
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    gap:30px!important;
  }
  body.home-page .home-ten-years-v15-mark--png > img{
    width:190px!important;
    height:auto!important;
  }
  body.home-page .home-ten-years-v15-years span{
    font-size:3.2rem!important;
    line-height:.9!important;
  }
  body.home-page .home-ten-years-v15-years strong{
    font-size:4.8rem!important;
    line-height:.82!important;
  }
  body.home-page .home-ten-map-pair-v9 .home-ten-years-v15 > p{
    width:min(900px,100%)!important;
    margin:0 auto 28px!important;
    text-align:center!important;
  }

  /* MAP — dedicated transparent desktop artwork on a blue→ice section gradient. */
  body.home-page .home-map-svg-v2{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:760px!important;
    padding:70px var(--home-wide-inline) 96px!important;
    background:linear-gradient(180deg,
      var(--home-blue) 0%,
      #155474 28%,
      #6d99aa 63%,
      #ccd9dc 84%,
      var(--home-ice) 100%)!important;
  }
  body.home-page .home-map-svg-v2 picture{
    width:100%!important;
    max-width:1120px!important;
    margin:0 auto!important;
  }
  body.home-page .home-map-svg-v2 img{
    content:url("/shared/assets/desktop-home/mappadesktop.png")!important;
    display:block!important;
    width:100%!important;
    max-width:1120px!important;
    height:auto!important;
    max-height:none!important;
    object-fit:contain!important;
    margin:0 auto!important;
  }

  /* QUOTES — large, vertical, ice. */
  body.home-page .home-quotes-svg-v2,
  body.home-page .home-europe-quotes-v6{
    padding:var(--home-wide-pad) var(--home-wide-inline)!important;
    background:var(--home-ice)!important;
    color:var(--home-blue)!important;
  }
  body.home-page .home-quotes-svg-v2-inner,
  body.home-page .home-europe-quotes-v6-inner{
    width:min(920px,100%)!important;
    margin:0 auto!important;
  }
  body.home-page .home-quotes-svg-v2 blockquote,
  body.home-page .home-europe-quotes-v6 blockquote{
    margin:0 0 54px!important;
    padding-left:30px!important;
  }
  body.home-page .home-quotes-svg-v2 blockquote:last-child,
  body.home-page .home-europe-quotes-v6 blockquote:last-child{margin-bottom:0!important}
  body.home-page .home-quotes-svg-v2 p,
  body.home-page .home-europe-quotes-v6 p{
    font-size:var(--home-wide-quote)!important;
    line-height:1.16!important;
    color:var(--home-blue)!important;
  }

  /* Carousel: full-width blue strip, large equal cards. */
  body.home-page .home-route-carousel{
    padding:56px 0 70px!important;
    background:var(--home-mid)!important;
  }
  body.home-page .home-route-carousel-head{
    justify-content:center!important;
    padding:0 var(--home-wide-inline) 26px!important;
  }
  body.home-page .home-route-carousel-track{
    gap:22px!important;
    padding:0 var(--home-wide-inline)!important;
  }
  body.home-page .home-route-carousel-slide{
    flex-basis:58vw!important;
    height:38vw!important;
    max-height:420px!important;
  }
  body.home-page .home-route-carousel-slide img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }
  body.home-page .home-route-carousel-slide span{
    font-size:1.35rem!important;
  }

  /* FORMAT — 2×2 on tablet, spanning the full width. */
  body.home-page .home-heritage-format-layout-v8,
  body.home-page .home-europe-layout-v8,
  body.home-page .home-chapter-layout-v8{
    display:block!important;
  }
  body.home-page .home-format-v4{
    padding:var(--home-wide-pad) 0!important;
    background:var(--home-mid)!important;
    color:#fff!important;
  }
  body.home-page .home-format-v4 > .wrap{
    width:100%!important;
    max-width:none!important;
  }
  body.home-page .home-format-v4 h2{
    width:min(900px,calc(100% - (var(--home-wide-inline) * 2)))!important;
    margin:0 auto 48px!important;
    text-align:center!important;
  }
  body.home-page .home-format-grid-v4{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    gap:0!important;
  }
  body.home-page .home-format-card-v4{
    min-height:360px!important;
    padding:46px 34px!important;
    border:1px solid rgba(255,255,255,.24)!important;
    background:#0d4564!important;
    text-align:center!important;
  }
  body.home-page .home-format-card-v4 img{
    width:94px!important;
    height:94px!important;
    object-fit:contain!important;
  }
  body.home-page .home-format-card-v4 h3{
    margin:22px 0 16px!important;
    font-size:var(--home-wide-card-title)!important;
    line-height:.96!important;
  }
  body.home-page .home-format-card-v4 p{
    font-size:var(--home-wide-long)!important;
    line-height:1.25!important;
  }

  /* Europe + quotes: vertical like mobile. */
  body.home-page .home-europe-v5{
    padding:var(--home-wide-pad) var(--home-wide-inline)!important;
    background:var(--home-mid)!important;
    color:#fff!important;
    text-align:center!important;
  }
  body.home-page .home-europe-v5-inner{max-width:920px!important}
  body.home-page .home-europe-v5 h2 span{color:var(--home-cyan)!important}
  body.home-page .home-europe-v5 p{
    max-width:920px!important;
    margin:0 auto 26px!important;
  }

  /* Chapter: photo then text, never 50/50. */
  body.home-page .home-chapter-photo-v7{
    min-height:72vw!important;
    max-height:780px!important;
    position:relative!important;
    background:#082c41!important;
  }
  body.home-page .home-chapter-photo-v7 picture,
  body.home-page .home-chapter-photo-v7 img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }
  body.home-page .home-chapter-photo-v7 > blockquote{
    position:absolute!important;
    left:var(--home-wide-inline)!important;
    right:var(--home-wide-inline)!important;
    bottom:48px!important;
    margin:0!important;
    max-width:760px!important;
  }
  body.home-page .home-chapter-photo-v7 > blockquote p{
    font-size:var(--home-wide-quote)!important;
    line-height:1.12!important;
  }
  body.home-page .home-chapter-desktop-quotes-v8{display:none!important}

  body.home-page .home-chapter-text-v7{
    padding:var(--home-wide-pad) var(--home-wide-inline)!important;
    background:var(--home-mid)!important;
    color:#fff!important;
    text-align:center!important;
  }
  body.home-page .home-chapter-text-v7-inner{max-width:920px!important}
  body.home-page .home-chapter-text-v7 h2 .home-chapter-accent{color:var(--home-cyan)!important}
  body.home-page .home-chapter-text-v7 p{
    max-width:920px!important;
    margin:0 auto 26px!important;
  }
  body.home-page .home-chapter-text-v7 h3{
    margin:54px 0 24px!important;
    font-size:clamp(2.3rem,4vw,3.3rem)!important;
    color:var(--home-gold)!important;
  }

  /* Registration block shown on tablet, scaled up from mobile but still 2×2. */
  body.home-page .home-countdown-v1{
    display:block!important;
    padding:var(--home-wide-pad) var(--home-wide-inline)!important;
    background:var(--home-ice)!important;
    color:var(--home-blue)!important;
    text-align:center!important;
  }
  body.home-page .home-countdown-v1-inner{
    width:min(900px,100%)!important;
    margin:0 auto!important;
  }
  body.home-page .home-countdown-v1-copy{
    font-size:var(--home-wide-long)!important;
    line-height:1.25!important;
  }
  body.home-page .home-countdown-v1 .eyebrow{
    margin-top:40px!important;
    color:var(--home-gold)!important;
    font-size:1.35rem!important;
  }
  body.home-page .home-countdown-v1-date{
    font-size:2.1rem!important;
    color:var(--home-blue)!important;
  }
  body.home-page .home-countdown-v1 .countdown-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;
  }
  body.home-page .home-countdown-v1 .countdown-box{
    min-height:150px!important;
    padding:22px 12px!important;
    background:#fff!important;
    border:1px solid rgba(6,66,100,.18)!important;
    color:var(--home-blue)!important;
  }
  body.home-page .home-countdown-v1 .countdown-box b{
    font-size:4.6rem!important;
  }
  body.home-page .home-countdown-v1 .countdown-box span{
    font-size:1rem!important;
  }
  body.home-page .home-countdown-v1-cta{
    display:inline-flex!important;
    min-height:54px!important;
    margin:34px auto 0!important;
    padding:12px 28px!important;
    font-size:1.35rem!important;
  }
  body.home-page .home-countdown-v1-logo{
    display:block!important;
    width:130px!important;
    margin:30px auto 0!important;
  }

  /* Sponsors remain a final blue field, but larger on tablet. */
  body.home-page #home-sponsors{
    padding:var(--home-wide-pad) var(--home-wide-inline)!important;
    background:var(--home-blue)!important;
  }
  body.home-page #home-sponsors .partner-strip{
    width:min(980px,100%)!important;
    margin:42px auto 0!important;
  }
}


/* =========================================================
   HOME TABLET V2 — ALIGNMENT / SHARED TYPOGRAPHY / MAP / FORMAT
   ========================================================= */
@media (min-width:768px) and (max-width:1199px){

  /* Dedicated wide pennant. No mobile class is reused here. */
  body.home-page .site-header .nc4k-wide-gagliardetto{
    display:block!important;
    width:auto!important;
    height:122px!important;
    max-width:50vw!important;
    margin:0!important;
    object-fit:contain!important;
    object-position:left top!important;
  }
  body.home-page .site-header .nc4k-desktop-header-logo{
    display:none!important;
  }
  body.home-page .site-header .brand{
    position:absolute!important;
    top:0!important;
    left:4.4vw!important;
    height:auto!important;
    overflow:visible!important;
  }

  /* ONE tablet long-copy authority — same size as 2017 story text. */
  body.home-page main p.home-long-copy[class][class],
  body.home-page .home-ten-map-pair-v9 .home-ten-years-v15 > p{
    font-family:"Barlow Condensed",Arial,sans-serif!important;
    font-size:var(--home-wide-long)!important;
    line-height:1.28!important;
    font-weight:400!important;
    max-width:1040px!important;
    width:min(1040px,92vw)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  /* Guide + Newsletter = one identical visual/form system. */
  body.home-page .home-register,
  body.home-page .home-map-newsletter-v3{
    padding:var(--home-wide-pad) var(--home-wide-inline)!important;
    background:var(--home-blue)!important;
    text-align:center!important;
  }
  body.home-page .home-register .register-inner,
  body.home-page .home-map-newsletter-v3-inner{
    width:min(900px,100%)!important;
    margin:0 auto!important;
  }
  body.home-page .home-register .register-copy-block h2,
  body.home-page .home-map-newsletter-v3 h3{
    margin:0 auto 32px!important;
    color:var(--home-gold)!important;
    font-family:"Barlow Condensed",Arial,sans-serif!important;
    font-size:clamp(3.5rem,7vw,5.4rem)!important;
    line-height:.9!important;
    font-weight:700!important;
    text-transform:uppercase!important;
  }
  body.home-page .home-map-newsletter-v3 .nc4k-form-copy{
    width:auto!important;
    max-width:none!important;
    font-size:var(--home-wide-long)!important;
    color:#fff!important;
    text-align:center!important;
  }
  body.home-page .home-register .nc4k-brevo,
  body.home-page .home-map-newsletter-v3 .nc4k-brevo{
    width:min(520px,72%)!important;
    max-width:520px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.home-page .home-register input[type="email"],
  body.home-page .home-register .nc4k-brevo-submit,
  body.home-page .home-map-newsletter-v3 input[type="email"],
  body.home-page .home-map-newsletter-v3 .nc4k-brevo-submit{
    width:100%!important;
    min-height:52px!important;
    height:52px!important;
    font-size:1.2rem!important;
    box-sizing:border-box!important;
  }

  /* Map: transition from previous dark blue at top all the way to ice below. */
  body.home-page .home-map-svg-v2{
    min-height:0!important;
    padding:70px 0 100px!important;
    background:linear-gradient(180deg,
      var(--home-mid) 0%,
      var(--home-blue) 17%,
      #155474 36%,
      #759ead 66%,
      #d1dcde 86%,
      var(--home-ice) 100%)!important;
    overflow:hidden!important;
  }
  body.home-page .home-map-svg-v2 picture,
  body.home-page .home-map-svg-v2 img{
    width:100vw!important;
    max-width:none!important;
    height:auto!important;
    margin:0!important;
    object-fit:contain!important;
    object-position:right center!important;
  }

  /* FORMAT uses the same card language as the four stats above. */
  body.home-page .home-format-v4{
    padding:var(--home-wide-pad) 0!important;
    background:var(--home-mid)!important;
  }
  body.home-page .home-format-grid-v4{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:0!important;
    width:100%!important;
  }
  body.home-page .home-format-card-v4{
    min-height:320px!important;
    padding:38px 24px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:center!important;
    gap:14px!important;
    background:var(--home-mid)!important;
    border:1px solid rgba(255,255,255,.28)!important;
    text-align:center!important;
  }
  body.home-page .home-format-card-v4 img{
    width:86px!important;
    height:86px!important;
    transform:none!important;
    object-fit:contain!important;
    margin:0!important;
  }
  body.home-page .home-format-card-v4 h3{
    margin:0!important;
    color:#fff!important;
    font-size:clamp(1.55rem,2.4vw,2rem)!important;
    line-height:.95!important;
    font-weight:700!important;
  }
  body.home-page .home-format-card-v4 p{
    width:100%!important;
    max-width:390px!important;
    margin:0 auto!important;
    color:#fff!important;
    font-size:var(--home-wide-long)!important;
    line-height:1.22!important;
  }

  /* Rider image ends cleanly; chapter title starts below it and stays visible. */
  body.home-page .home-chapter-photo-v7{
    height:min(72vw,780px)!important;
    min-height:0!important;
    max-height:none!important;
    overflow:hidden!important;
    position:relative!important;
    z-index:1!important;
  }
  body.home-page .home-chapter-text-v7{
    position:relative!important;
    z-index:2!important;
    clear:both!important;
    margin:0!important;
    transform:none!important;
    padding:var(--home-wide-pad) var(--home-wide-inline)!important;
  }

  /* Slightly wider editorial measure everywhere. */
  body.home-page .home-anniversary-v15-inner,
  body.home-page .home-europe-v5-inner,
  body.home-page .home-chapter-text-v7-inner{
    max-width:1040px!important;
  }

  /* Sponsors: white marks on blue, no white cards. */
  body.home-page #home-sponsors .partner-card{
    background:transparent!important;
    border:0!important;
  }
  body.home-page #home-sponsors .partner-card img{
    filter:brightness(0) invert(1)!important;
    opacity:1!important;
  }
}


/* HOME TABLET V3 — PENNANT / NEWSLETTER / MAP / FORMAT */
@media (min-width:768px) and (max-width:1199px){
  body.home-page .site-header .brand{top:-20px!important;left:var(--nc4k-wide-header-left)!important}
  body.home-page .site-header .nc4k-wide-gagliardetto{height:var(--nc4k-wide-pennant-height)!important}

  body.home-page{--home-wide-guide-kicker:clamp(1.55rem,2.8vw,2rem)}
  body.home-page .home-register .register-copy-block .eyebrow,
  body.home-page .home-map-newsletter-v3 .nc4k-form-copy{
    font-family:"Barlow Condensed",Arial,sans-serif!important;
    font-size:var(--home-wide-guide-kicker)!important;line-height:1.04!important;
    font-weight:700!important;letter-spacing:.03em!important;
    text-transform:uppercase!important;text-align:center!important;
  }

  body.home-page .home-map-svg-v2{overflow:visible!important}
  body.home-page .home-map-svg-v2 picture{
    display:block!important;position:relative!important;left:50%!important;
    width:100vw!important;max-width:none!important;margin:0!important;
    transform:translateX(-50%)!important;
  }
  body.home-page .home-map-svg-v2 img{
    display:block!important;width:100%!important;max-width:none!important;height:auto!important;
    margin:0!important;object-fit:contain!important;object-position:center center!important;
  }

  body.home-page .home-format-card-v4{
    min-height:500px!important;height:auto!important;padding:46px 32px!important;
    display:flex!important;flex-direction:column!important;justify-content:center!important;
    align-items:center!important;gap:20px!important;overflow:visible!important;text-align:center!important;
  }
  body.home-page .home-format-card-v4 img{width:86px!important;height:86px!important;flex:0 0 auto!important}
  body.home-page .home-format-card-v4 h3{
    width:100%!important;max-width:360px!important;margin:0 auto!important;
    white-space:normal!important;text-align:center!important;
  }
  body.home-page .home-format-card-v4 p{
    width:100%!important;max-width:390px!important;height:auto!important;margin:0 auto!important;
    white-space:normal!important;overflow:visible!important;overflow-wrap:normal!important;
    word-break:normal!important;text-align:center!important;
    font-size:clamp(1.45rem,2.1vw,1.72rem)!important;line-height:1.25!important;
  }
}
/* HOME TABLET V4 */
@media (min-width:768px) and (max-width:1199px){
  body.home-page .site-header .brand{top:-15px!important}

  body.home-page .home-kicker,body.home-page .home-title,body.home-page .home-summary{transform:translateY(-22px)!important}
  body.home-page .home-dates{position:relative!important;top:auto!important;left:auto!important;bottom:auto!important;margin-top:28px!important}
  body.home-page .home-dates .starts{display:block!important;font-weight:800!important}
  body.home-page .home-dates strong{display:block!important;font-weight:400!important}

  body.home-page .home-map-newsletter-v3 h3{
    color:#fff!important;font-family:"Barlow Condensed",Arial,sans-serif!important;
    font-size:clamp(1.55rem,2.8vw,2rem)!important;line-height:1.04!important;font-weight:700!important;
    letter-spacing:.03em!important;text-transform:uppercase!important;margin:0 auto 18px!important;
  }
  body.home-page .home-map-newsletter-v3 .nc4k-form-copy{
    color:var(--home-gold)!important;font-family:"Barlow Condensed",Arial,sans-serif!important;
    font-size:clamp(3.5rem,7vw,5.4rem)!important;line-height:.9!important;font-weight:700!important;
    text-transform:uppercase!important;margin:0 auto 32px!important;
  }

  body.home-page .home-map-svg-v2 picture{
    left:auto!important;width:80vw!important;max-width:980px!important;margin-left:auto!important;margin-right:0!important;transform:none!important;
  }
  body.home-page .home-map-svg-v2 img{
    width:100%!important;max-width:100%!important;margin-left:auto!important;margin-right:0!important;object-position:right center!important;
  }

  body.home-page .home-format-grid-v4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.home-page .home-format-card-v4{
    min-width:0!important;min-height:520px!important;box-sizing:border-box!important;overflow:hidden!important;padding:46px 30px!important;
  }
  body.home-page .home-format-card-v4 h3,body.home-page .home-format-card-v4 p{
    min-width:0!important;max-width:100%!important;width:100%!important;white-space:normal!important;
    word-break:normal!important;overflow-wrap:break-word!important;box-sizing:border-box!important;text-align:center!important;
  }
  body.home-page .home-format-card-v4 p{font-size:1.45rem!important;line-height:1.24!important}

  body.home-page .home-countdown-v1{background:#f4f4f1!important;color:#064264!important}
  body.home-page .home-countdown-v1-copy,body.home-page .home-countdown-v1-date{color:#064264!important}
  body.home-page .home-countdown-v1 .eyebrow{color:#d6ad52!important}
  body.home-page .home-countdown-v1 .countdown-box{background:#fff!important;border-color:rgba(6,66,100,.18)!important;color:#064264!important}
  body.home-page .home-countdown-v1 .countdown-box b{color:#d6ad52!important}
  body.home-page .home-countdown-v1 .countdown-box span{color:#064264!important}
  body.home-page .home-countdown-v1-cta{background:#b30000!important;color:#fff!important;border:0!important;border-radius:4px!important}
}


/* =========================================================
   HOME TABLET V5 — HERO ALIGNMENT + FORMAT CONTAINMENT
   ========================================================= */
@media (min-width:768px) and (max-width:1199px){

  /* Home hero text uses the same left guide as the pennant. */
  body.home-page .home-hero{
    padding-left:var(--nc4k-wide-content-left)!important;
    padding-right:var(--nc4k-wide-content-right)!important;
  }
  body.home-page .home-hero-inner{
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  /* FORMAT: 2x2 tablet grid, full containment and true vertical flow. */
  body.home-page .home-format-v4{
    overflow:hidden!important;
  }
  body.home-page .home-format-grid-v4{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  body.home-page .home-format-card-v4{
    min-width:0!important;
    width:auto!important;
    min-height:520px!important;
    height:auto!important;
    padding:46px 30px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:18px!important;
    text-align:center!important;
  }
  body.home-page .home-format-card-v4 img{
    flex:0 0 auto!important;
    width:86px!important;
    height:86px!important;
    margin:0 auto!important;
    object-fit:contain!important;
    transform:none!important;
  }
  body.home-page .home-format-card-v4 h3{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0 6px!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    text-align:center!important;
    box-sizing:border-box!important;
  }
  body.home-page .home-format-card-v4 p,
  body.home-page .home-format-card-v4 p.home-long-copy{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    margin:0!important;
    padding:0 8px!important;
    white-space:normal!important;
    overflow:visible!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    text-align:center!important;
    box-sizing:border-box!important;
    font-size:clamp(1.34rem,2vw,1.58rem)!important;
    line-height:1.28!important;
  }
}


/* =========================================================
   HOME FORMAT FINAL — TABLET
   Overrides the shared long-copy width only inside FORMAT.
   ========================================================= */
@media (min-width:768px) and (max-width:1199px){
  body.home-page .home-format-card-v4{
    justify-content:flex-start!important;
    align-items:center!important;
    height:auto!important;
    min-height:520px!important;
    padding:44px 30px 48px!important;
    gap:18px!important;
    overflow:hidden!important;
  }

  body.home-page main .home-format-card-v4 p.home-long-copy[class][class]{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    margin:0!important;
    padding:0 8px!important;
    columns:auto!important;
    white-space:normal!important;
    overflow:visible!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
    text-align:center!important;
    box-sizing:border-box!important;
    font-size:clamp(1.34rem,2vw,1.58rem)!important;
    line-height:1.28!important;
  }
}


/* =========================================================
   HOME FORMAT V24 — TABLET FINAL
   ========================================================= */
@media (min-width:768px) and (max-width:1199px){
  body.home-page .home-format-card-v4{
    justify-content:flex-start!important;
    align-items:center!important;
    min-height:430px!important;
    height:auto!important;
    padding:32px 26px 36px!important;
    gap:16px!important;
    overflow:hidden!important;
  }

  body.home-page main .home-format-card-v4 p.home-long-copy[class][class]{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    margin:0!important;
    padding:0 8px!important;
    columns:auto!important;
    white-space:normal!important;
    overflow:visible!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
    text-align:center!important;
    box-sizing:border-box!important;
    font-family:"Barlow Condensed",Arial,sans-serif!important;
    font-size:var(--home-wide-long)!important;
    line-height:1.28!important;
    font-weight:400!important;
  }
}


/* =========================================================
   V29 — HOME TABLET FINAL
   ========================================================= */
@media (min-width:768px) and (max-width:1199px){

  /* Supplied wide hero photo + same graphic lockup used on mobile. */
  body.home-page .home-hero{
    background-image:url("/shared/assets/desktop-home/home-hero-2027.jpg")!important;
    background-size:cover!important;
    background-position:center center!important;
  }
  body.home-page .home-hero-copy-png{
    display:block!important;
    width:min(58vw,620px)!important;
    height:auto!important;
    margin:0!important;
  }
  body.home-page .home-kicker,
  body.home-page .home-title,
  body.home-page .home-dates{
    display:none!important;
  }
  body.home-page .home-summary{
    display:block!important;
    max-width:720px!important;
    margin-top:26px!important;
    text-align:left!important;
  }
  body.home-page .wide-only-break{
    display:block!important;
  }

  /* Guide kicker matches NORTHCAPE4000 in the Anniversary title. */
  body.home-page .home-register .register-copy-block .eyebrow{
    font-size:var(--home-wide-title)!important;
    line-height:.86!important;
    font-weight:800!important;
    letter-spacing:-.03em!important;
    text-align:center!important;
  }

  /* Priority / Standard wide copy: one clean line per requested item. */
  body.home-page .home-priority-wide{
    display:block!important;
    text-align:center!important;
    line-height:1.22!important;
  }
  body.home-page .home-priority-wide strong{
    display:inline-block!important;
    margin-top:12px!important;
    font-weight:700!important;
  }
  body.home-page .home-priority-wide strong:first-child{
    margin-top:0!important;
  }

  /* 2017–2027 lockup stays on one row. */
  body.home-page .home-ten-years-v15-mark--png{
    flex-wrap:nowrap!important;
    white-space:nowrap!important;
  }

  /* Shared center line for every long-copy block and first registration paragraph. */
  body.home-page main p.home-long-copy[class][class],
  body.home-page .home-ten-map-pair-v9 .home-ten-years-v15 > p,
  body.home-page .home-countdown-v1-copy{
    width:min(900px,100%)!important;
    max-width:900px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:24px!important;
    padding-right:24px!important;
    box-sizing:border-box!important;
    text-align:center!important;
  }

  /* Quote over rider photo near top, not bottom. */
  body.home-page .home-chapter-photo-v7 > blockquote{
    top:56px!important;
    bottom:auto!important;
  }
}


/* =========================================================
   V31 — HOME TABLET FINAL DETAILS
   ========================================================= */
@media (min-width:768px) and (max-width:1199px){
  /* Use only the complete 10 YEARS artwork; remove 2017–2027 / YEARS lockup. */
  body.home-page .home-ten-years-years-lockup{
    display:none!important;
  }
  body.home-page .home-ten-years-v15-mark--png{
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
  }
  body.home-page .home-ten-years-v15-mark--png > img:first-child{
    display:block!important;
    width:320px!important;
    max-width:58vw!important;
    height:auto!important;
    margin:0 auto!important;
  }

  /* DID YOU KNOW / LO SAPEVI = same scale as the chapter title above, in gold. */
  body.home-page .home-chapter-text-v7 h3{
    font-size:var(--home-wide-title)!important;
    line-height:.86!important;
    font-weight:800!important;
    letter-spacing:-.03em!important;
    color:var(--home-gold)!important;
  }
}


/* =========================================================
   V33 — HOME TABLET 10 YEARS LOCKUP
   Use the supplied transparent PNGs only.
   ========================================================= */
@media (min-width:768px) and (max-width:1199px){
  body.home-page .home-ten-years-v15-mark--png{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:34px!important;
    flex-wrap:nowrap!important;
  }

  body.home-page .home-ten-years-v15-mark--png > img:first-child{
    display:block!important;
    width:min(31vw,360px)!important;
    max-width:none!important;
    height:auto!important;
    margin:0!important;
    flex:0 0 auto!important;
    object-fit:contain!important;
  }

  body.home-page .home-ten-years-years-lockup{
    display:block!important;
    width:min(39vw,455px)!important;
    max-width:none!important;
    height:auto!important;
    margin:0!important;
    flex:0 0 auto!important;
    object-fit:contain!important;
  }
}


/* =========================================================
   V35 — HOME TABLET FINAL AUTHORITY
   ========================================================= */
@media (min-width:768px) and (max-width:1199px){
  body.home-page .home-summary{
    display:none!important;
  }

  body.home-page .home-ten-years-v15-mark--png{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:34px!important;
    flex-wrap:nowrap!important;
  }
  body.home-page .home-ten-years-v15-mark--png > img:first-child{
    display:block!important;
    width:min(31vw,360px)!important;
    max-width:none!important;
    height:auto!important;
    margin:0!important;
  }
  body.home-page .home-ten-years-years-lockup{
    display:block!important;
    width:min(39vw,455px)!important;
    max-width:none!important;
    height:auto!important;
    margin:0!important;
  }
  body.home-page .home-ten-years-v15-years{
    display:none!important;
  }
}


/* =========================================================
   V43 — HOME ANNIVERSARY LOCKUP: USE BOTH MOBILE PNGS, LARGER
   ========================================================= */
@media (min-width:768px) and (max-width:1199px){
  body.home-page .home-ten-years-v15-mark--png{
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    gap:30px!important;
    flex-wrap:nowrap!important;
  }
  body.home-page .home-ten-years-v15-mark--png > img:first-child{
    display:block!important;
    width:min(40vw,440px)!important;
    max-width:none!important;
    height:auto!important;
    margin:0!important;
  }
  body.home-page .home-ten-years-years-lockup{
    display:block!important;
    width:min(49vw,540px)!important;
    max-width:none!important;
    height:auto!important;
    margin:0!important;
  }
}


/* =========================================================
   V45 — HOME TABLET VIDEO + HERO RESPONSIVE FIX
   ========================================================= */
@media (min-width:768px) and (max-width:1199px){
  body.home-page .home-film{
    min-height:0!important;
    height:auto!important;
    align-items:start!important;
  }
  body.home-page .home-film-media{
    width:100%!important;
    min-height:0!important;
    height:auto!important;
    aspect-ratio:16/9!important;
    align-self:start!important;
  }
  body.home-page .home-film-media iframe{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
  }

  /* Smaller graphic lockup so it does not dominate the rider/photo. */
  body.home-page .home-hero-copy-png{
    width:min(44vw,470px)!important;
    max-width:470px!important;
    height:auto!important;
  }
}


/* =========================================================
   V46 — HOME TABLET FILM PANEL HEIGHT FIX
   Keep video 16:9; make the copy panel fill the full video height.
   ========================================================= */
@media (min-width:768px) and (max-width:1199px){
  body.home-page .home-film{
    align-items:stretch!important;
  }
  body.home-page .home-film-copy-panel{
    align-self:stretch!important;
    height:100%!important;
    min-height:100%!important;
    box-sizing:border-box!important;
  }
}


/* =========================================================
   V47 — HOME HERO RESPONSIVE LOCKUP
   Size follows BOTH viewport width and height.
   Prevents the hero artwork from covering the rider on
   landscape tablets / short browser windows.
   ========================================================= */
@media (min-width:768px) and (max-width:1199px){
  body.home-page .home-hero-copy-png{
    display:block!important;
    width:min(44vw,48vh,470px)!important;
    max-width:470px!important;
    max-height:58vh!important;
    object-fit:contain!important;
    height:auto!important;
  }
}

@media (min-width:768px) and (max-width:1199px) and (max-height:800px){
  body.home-page .home-hero-copy-png{
    width:min(40vw,44vh,420px)!important;
    max-height:52vh!important;
  }
}

