/* Shared canvas for uploaded artwork and editable, bilingual editorial slides. */
.rainbo-hero-slider { max-width: 1920px; margin: 0 auto; padding: 20px 24px 0; }
.rainbo-hero-slider .rainbo-hero {
    margin: 0;
    height: clamp(480px, calc(100svh - 220px), 620px);
    min-height: 0;
    grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
    border: 0;
    border-radius: 20px;
    background: #f4eee7;
    box-shadow: none;
    isolation: isolate;
}
.rainbo-hero-slider .rainbo-hero-slide:not(.is-active) { display: none; }
.rainbo-hero-slider .rainbo-hero__copy {
    padding: clamp(28px, 3.6vw, 64px);
    overflow: visible;
    gap: 0;
}
.rainbo-hero-slider .rainbo-hero__copy::before,
.rainbo-hero-slider .rainbo-hero__copy::after,
.rainbo-hero-slider .rainbo-hero__photo::after,
.rainbo-hero-slider .hero-badge,
.rainbo-hero-slider .colour-dots { display: none; }
.rainbo-hero-slider .eyebrow { margin: 0 0 18px; font-size: 11px; line-height: 1.5; letter-spacing: .16em; }
.rainbo-hero-slider .rainbo-hero h1,
.rainbo-hero-slider .rainbo-hero h2 {
    max-width: 16ch;
    margin: 0 0 22px;
    font-size: clamp(36px, 3.6vw, 66px);
    font-weight: 750;
    line-height: 1.04;
    letter-spacing: -.045em;
    overflow-wrap: normal;
    text-wrap: balance;
}
.rainbo-hero-slider .rainbo-hero__lead { max-width: 48ch; font-size: 16px; line-height: 1.65; color: #514a46; }
.rainbo-hero-slider .rainbo-hero__lead + .rainbo-hero__lead { margin-top: 12px; }
.rainbo-hero-slider .rainbo-hero .button { margin-top: 26px; min-height: 48px; padding: 14px 24px; font-size: 12px; line-height: 1.4; letter-spacing: .03em; gap: 24px; }
.rainbo-hero-slider .rainbo-hero__photo { min-width: 0; min-height: 0; order: 0; overflow: hidden; background: #eee3d6; }
.rainbo-hero-slider .rainbo-hero__photo > img,
.rainbo-hero-slider .rainbo-hero__photo > picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.rainbo-hero-slider .rainbo-hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.rainbo-hero-slider .rainbo-hero--gift { background: #f6eee5; }
.rainbo-hero-slider .rainbo-hero--gift h2 { font-size: clamp(34px, 3.1vw, 56px); }
.rainbo-hero-slider .rainbo-hero--shipping { background: #f6eee5; }
.rainbo-hero-slider .rainbo-hero--shipping h2 { max-width: 10ch; font-size: clamp(46px, 5.1vw, 88px); }
.rainbo-hero-slider .hero-artwork-slide { display: block; background: #f4eee7; }
.rainbo-hero-slider .hero-artwork-slide > a,
.rainbo-hero-slider .hero-artwork-slide > .rainbo-hero__photo,
.rainbo-hero-slider .hero-artwork-slide .rainbo-hero__picture { position: relative; display: block; height: 100%; width: 100%; }
.rainbo-hero-slider .hero-artwork-slide img,
.rainbo-hero-slider .hero-artwork-slide .rainbo-hero__picture img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
.rainbo-hero-slider .rainbo-hero-nav { position: static; transform: none; justify-content: center; gap: 8px; width: fit-content; margin: 12px auto 0; padding: 0; background: transparent; backdrop-filter: none; }
.rainbo-hero-slider .rainbo-hero-nav .hero-rotation-control { width: 44px; height: 44px; margin: 0; border: 1px solid #d9d0c7; background: #fffaf4; font-size: 16px; transition: background .15s, color .15s; }
.rainbo-hero-slider .hero-rotation-control:hover { background: #1b1720; color: white; }
.rainbo-hero-slider .hero-rotation-control:focus-visible,
.rainbo-hero-slider .rainbo-hero a:focus-visible { outline: 3px solid #7552c8; outline-offset: -4px; }
@media (max-width: 1100px) and (min-width: 761px) {
    .rainbo-hero-slider .rainbo-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .rainbo-hero-slider .rainbo-hero__copy { padding: 28px; }
    .rainbo-hero-slider .rainbo-hero__lead { font-size: 15px; }
}
@media (max-width: 760px) {
    .rainbo-hero-slider { padding: 12px 12px 0; }
    .rainbo-hero-slider .rainbo-hero { height: auto; min-height: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: clamp(205px, 60vw, 340px) minmax(330px, auto); border-radius: 16px; }
    .rainbo-hero-slider .rainbo-hero__photo { grid-row: 1; order: 0; }
    .rainbo-hero-slider .rainbo-hero__photo > picture { height: 100%; aspect-ratio: auto; }
    .rainbo-hero-slider .rainbo-hero__photo.has-mobile-art picture { aspect-ratio: auto; }
    .rainbo-hero-slider .rainbo-hero__photo img,
    .rainbo-hero-slider .rainbo-hero__photo.has-mobile-art img { height: 100%; object-fit: cover; }
    .rainbo-hero-slider .rainbo-hero__copy { grid-row: 2; padding: 26px 24px 30px; justify-content: center; }
    .rainbo-hero-slider .eyebrow { margin-bottom: 12px; font-size: 10px; }
    .rainbo-hero-slider .rainbo-hero h1,
    .rainbo-hero-slider .rainbo-hero h2,
    .rainbo-hero-slider .rainbo-hero--gift h2 { margin-bottom: 16px; font-size: clamp(30px, 8.3vw, 44px); line-height: 1.08; }
    .rainbo-hero-slider .rainbo-hero--shipping h2 { font-size: clamp(44px, 12vw, 64px); }
    .rainbo-hero-slider .rainbo-hero__lead { font-size: 14px; line-height: 1.6; }
    .rainbo-hero-slider .rainbo-hero .button { margin-top: 20px; }
    .rainbo-hero-slider .hero-artwork-slide { display: block; height: auto; }
    .rainbo-hero-slider .hero-artwork-slide img,
    .rainbo-hero-slider .hero-artwork-slide .rainbo-hero__picture img { position: relative; height: auto; max-height: none; object-fit: contain; }
}
@media (prefers-reduced-motion: reduce) {
    .rainbo-hero-slider .hero-rotation-control { transition: none; }
}
