.highlights-two-rows .new-highlight-pair { display:flex; justify-content:center; align-items:flex-start; gap:12px; padding:58px 24px 30px; margin:0 auto; }
.highlights-two-rows .new-highlight-card { position:relative; flex:0 0 224px; width:224px; height:auto; aspect-ratio:9/16; padding:0; border:4px solid #ced5bf; border-radius:9px; color:#fffdf7; background:#172c48; box-shadow:0 0 0 1px #6e7b64,0 7px #8b987e,0 15px 28px #172c4840; cursor:pointer; transform:rotate(-4deg); text-align:left; }
.highlights-two-rows .new-highlight-card:nth-child(2) { transform:rotate(4deg); }
.highlights-two-rows .new-highlight-card.is-active { z-index:3; border-color:#fffdf7; outline:2px solid #df7628; outline-offset:3px; box-shadow:0 7px #6a7b58,0 20px 32px #172c4840; }
.highlights-two-rows .new-highlight-card:focus-visible { outline:3px solid #df7628; outline-offset:5px; }
.highlights-two-rows .new-highlight-surface { position:relative; display:block; width:100%; height:100%; pointer-events:none; }
.highlights-two-rows .new-highlight-surface:after { content:""; position:absolute; inset:65% 0 0; border-radius:0 0 5px 5px; background:linear-gradient(transparent,#101628e8); }
.highlights-two-rows .new-highlight-card img { display:block; width:100%; height:100%; object-fit:cover; }
.highlights-two-rows .new-highlight-card .ai-video-marquee-category { z-index:3; }
.highlights-two-rows .is-new-feature { color:#fff; background:#ed741b; border-color:#713808; box-shadow:3px 3px #713808; }
.highlights-two-rows .new-highlight-card .ai-video-marquee-card-bottom { z-index:2; }
.highlights-two-rows .new-highlight-card .ai-video-marquee-card-bottom strong { font-size:20px; }
.highlights-two-rows .main-five-viewport { height:550px; }
.highlights-two-rows .main-five-viewport .ai-video-marquee-stack { width:min(calc(100% - 48px),900px); }
.highlights-two-rows .main-five-viewport .slot-1 .ai-video-marquee-category { opacity:0; }
.highlights-two-rows .main-style-label-layer { position:absolute; inset:0; z-index:9; pointer-events:none; }
.highlights-two-rows .main-style-label-layer .ai-video-marquee-slot { pointer-events:none; }
.highlights-two-rows .main-style-label-proxy { border-color:transparent!important; background:transparent!important; box-shadow:none!important; outline:none!important; }
.highlights-two-rows .main-style-label-proxy:after { display:none; }
.highlights-two-rows .main-five-viewport .main-style-label-proxy .ai-video-marquee-category { opacity:1; }
.site-shell .effect-featured-actions>button:disabled { cursor:default; opacity:.65; transform:none; font-size:16px; }
@media(max-width:700px) {
  .highlights-two-rows .new-highlight-pair { gap:12px; padding:44px 18px 26px; }
  .highlights-two-rows .new-highlight-card { flex-basis:clamp(120px,38vw,190px); width:clamp(120px,38vw,190px); border-width:2px; border-radius:7px; }
  .highlights-two-rows .new-highlight-card .ai-video-marquee-card-bottom strong { font-size:clamp(13px,4vw,18px); }
  .highlights-two-rows .new-highlight-card .ai-video-marquee-category strong { font-size:clamp(12px,3.3vw,18px); }
  .highlights-two-rows .main-five-viewport { height:clamp(310px,86vw,405px); }
  .site-shell .highlights-two-rows .ai-video-marquee-dots { gap:5px; padding-inline:6px; }
  .site-shell .highlights-two-rows .ai-video-marquee-dots button { width:22px; height:22px; }
}

/* Bring the lower fan just over the upper pair's outer edge. */
.highlights-two-rows .new-highlight-pair { position:relative; z-index:1; }
.highlights-two-rows .main-five-viewport { position:relative; z-index:2; margin-top:-102px; }
.highlights-two-rows .main-five-viewport .ai-video-marquee-card { transform-origin:top center; }
/* Keep lower-row tabs inside their top edge, clear of upper-row titles. */
.highlights-two-rows .main-five-viewport .ai-video-marquee-category { top:10px; transform:rotate(-4deg); }
@media(max-width:700px) {
  .highlights-two-rows .main-five-viewport { margin-top:-82px; }
  .highlights-two-rows .main-five-viewport .ai-video-marquee-category { top:8px; transform:rotate(-4deg); }
  .highlights-two-rows .main-five-viewport .slot-4 { --drop:7px; }
}
/* Only painted lower cards receive clicks in the overlapping row area. */
.highlights-two-rows .main-five-viewport { pointer-events:none; }
.highlights-two-rows .main-five-viewport button .ai-video-marquee-card { pointer-events:auto; }

/* Lower row covers the lower quarter of the resting upper cards. */
.highlights-two-rows {
  --new-card-width:224px;
  --new-card-height:calc(var(--new-card-width) * 16 / 9);
  --quarter-cover:calc(var(--new-card-height) * .25);
}
.highlights-two-rows .new-highlight-pair { padding-top:110px; z-index:auto; }
.highlights-two-rows .new-highlight-card {
  width:var(--new-card-width); flex-basis:var(--new-card-width); z-index:1;
  transition:transform .3s cubic-bezier(.22,.7,.2,1),box-shadow .3s ease;
}
.highlights-two-rows .new-highlight-card.is-active { z-index:1; }
.highlights-two-rows .main-five-viewport { margin-top:calc(-102px - var(--quarter-cover) + var(--new-card-width) * .033); }
/* Match the lower fan's roughly 23% pop-out, revealing the hovered card. */
.highlights-two-rows .new-highlight-card:focus-visible {
  z-index:5; transform:translateY(calc(-1 * var(--quarter-cover) - 22px)) rotate(0deg) scale(1.23);
  box-shadow:0 0 0 2px #84956f,0 5px #6a7b58,0 24px 40px #172c485c;
}
@media(hover:hover) and (pointer:fine) {
  .highlights-two-rows .new-highlight-card:hover {
    z-index:5; transform:translateY(calc(-1 * var(--quarter-cover) - 22px)) rotate(0deg) scale(1.23);
    box-shadow:0 0 0 2px #84956f,0 5px #6a7b58,0 24px 40px #172c485c;
  }
}
@media(max-width:700px) {
  .highlights-two-rows { --new-card-width:clamp(120px,38vw,190px); }
  .highlights-two-rows .new-highlight-pair { padding-top:86px; }
  .highlights-two-rows .main-five-viewport { margin-top:calc(-81px - var(--quarter-cover) + var(--new-card-width) * .033); }
}
@media(prefers-reduced-motion:reduce) {
  .highlights-two-rows .new-highlight-card { transition:none; }
}

/* Reserve headroom for the lifted card; its bottom clears every lower-row tab. */
.highlights-two-rows .new-highlight-card { transform-origin:bottom center; }
.highlights-two-rows .new-highlight-pair { padding-top:calc(var(--new-card-height) * .5 + 80px); }
@media(max-width:700px) {
  .highlights-two-rows .new-highlight-pair { padding-top:calc(var(--new-card-height) * .5 + 65px); }
}
/* Keep the hover target steady while only the visible card moves. */
.highlights-two-rows .new-highlight-card,
.highlights-two-rows .new-highlight-card:nth-child(2),
.highlights-two-rows .new-highlight-card.is-active,
.highlights-two-rows .new-highlight-card:hover,
.highlights-two-rows .new-highlight-card:focus-visible {
  transform:none; border:0; outline:none; box-shadow:none; background:transparent;
  pointer-events:none;
}
.highlights-two-rows .new-highlight-card::before {
  content:""; position:absolute; inset:0 0 calc(var(--quarter-cover) - 8px); pointer-events:auto;
}
.highlights-two-rows .new-highlight-surface {
  box-sizing:border-box; border:4px solid #ced5bf; border-radius:9px; background:#172c48;
  box-shadow:0 0 0 1px #6e7b64,0 7px #8b987e,0 15px 28px #172c4840;
  transform:rotate(-4deg); transform-origin:bottom center; pointer-events:auto;
  transition:transform .3s cubic-bezier(.22,.7,.2,1),box-shadow .3s ease;
}
.highlights-two-rows .new-highlight-card:nth-child(2) .new-highlight-surface { transform:rotate(4deg); }
.highlights-two-rows .new-highlight-card.is-active .new-highlight-surface {
  border-color:#fffdf7; outline:2px solid #df7628; outline-offset:3px;
}
.highlights-two-rows .new-highlight-card:focus-visible .new-highlight-surface {
  transform:translateY(calc(-1 * var(--quarter-cover) - 22px)) rotate(0deg) scale(1.23);
  box-shadow:0 0 0 2px #84956f,0 5px #6a7b58,0 24px 40px #172c485c;
}
@media(hover:hover) and (pointer:fine) {
  .highlights-two-rows .new-highlight-card:hover .new-highlight-surface {
    transform:translateY(calc(-1 * var(--quarter-cover) - 22px)) rotate(0deg) scale(1.23);
    box-shadow:0 0 0 2px #84956f,0 5px #6a7b58,0 24px 40px #172c485c;
  }
}
@media(max-width:700px) {
  .highlights-two-rows .new-highlight-surface { border-width:2px; border-radius:7px; }
}
@media(prefers-reduced-motion:reduce) {
  .highlights-two-rows .new-highlight-surface { transition:none; }
}
