/* Homepage slideshow only: original header, typography and purchase buttons remain.
   This replaces the experimental rockdrill-banner.css include, not the live theme. */
.rockdrill-home { --rd-home-width:1680px; --rd-home-gutter:48px; }
.rockdrill-home .rd-hero { max-width:var(--rd-home-width); margin-inline:auto; padding-inline:var(--rd-home-gutter); grid-template-columns:minmax(0,40fr) minmax(0,60fr); }
.rockdrill-home .rd-hero-copy { padding:32px 32px 32px 0; }
.rockdrill-home>.section { max-width:var(--rd-home-width); margin-inline:auto; padding-inline:var(--rd-home-gutter); }

.rd-carousel { min-width:0; position:relative; isolation:isolate; background:#eaf1ee; min-height:430px; }
.rd-slide { position:relative; height:100%; min-height:430px; overflow:hidden; background:#eaf1ee; }
.rd-slide[hidden],.rd-carousel-controls[hidden] { display:none; }
.rd-carousel[data-rd-enhanced] { display:grid; grid-template-columns:minmax(0,1fr); }
.rd-carousel[data-rd-enhanced] .rd-slide { grid-area:1/1; min-width:0; align-self:stretch; opacity:0; visibility:hidden; pointer-events:none; z-index:0; transition:opacity 550ms ease-in-out,visibility 0s linear 550ms; }
.rd-carousel[data-rd-enhanced] .rd-slide[aria-hidden="false"] { opacity:1; visibility:visible; pointer-events:auto; z-index:1; transition-delay:0s; }
.rd-slide-art { position:absolute; inset:0; overflow:hidden; }
.rd-slide-art img { display:block; width:100%; height:100%; max-width:none; object-fit:cover; object-position:center; }
.rd-slide--field img { object-position:center 20%; }
.rd-slide--action img { object-position:center 30%; }
.rd-slide-art::after { content:""; position:absolute; inset:55% 0 0; background:linear-gradient(transparent,#0b201eaa); }
.rd-slide-caption { position:absolute; bottom:21px; right:26px; left:240px; display:flex; justify-content:flex-end; align-items:center; gap:.7rem; min-height:44px; color:white; text-shadow:0 1px 6px #0008; font-size:clamp(.95rem,1.35vw,1.3rem); font-weight:600; text-decoration:none; text-align:right; line-height:1.2; }
.rd-slide-caption:hover { text-decoration:underline; }
.rd-slide-caption svg { width:21px; height:21px; }
.rd-carousel-controls { position:absolute; z-index:2; bottom:24px; left:22px; display:flex; align-items:center; padding:3px; border:1px solid #ffffffb3; border-radius:999px; background:#ffffffed; box-shadow:0 3px 16px #0d393a12; }
.rd-carousel-controls button { display:inline-flex; align-items:center; justify-content:center; flex:none; width:36px; height:36px; padding:0; border:0; border-radius:50%; background:transparent; color:var(--rd-dark); font-size:.75rem; font-weight:500; }
.rd-carousel-controls button:hover:not(:disabled) { background:#dcebe6; }
.rd-carousel-controls button:disabled { opacity:.5; cursor:default; }
.rd-carousel-controls svg { width:16px; height:16px; }
.rd-pagination { display:flex; }
.rd-pagination [aria-current="true"] { color:#fff; background:var(--rd-green); }
.rd-rotation-toggle [data-rd-play] { display:none; }
.rd-rotation-toggle[data-paused="true"] [data-rd-play] { display:block; }
.rd-rotation-toggle[data-paused="true"] [data-rd-pause] { display:none; }
.rd-carousel :focus-visible { outline:3px solid #f6c52b; outline-offset:4px; }
@media(min-width:1680px) { .rd-carousel,.rd-slide { min-height:500px; } }
@media(min-width:761px) and (max-width:1150px) {
  .rockdrill-home { --rd-home-gutter:24px; }
  .rockdrill-home .rd-hero { grid-template-columns:minmax(0,47fr) minmax(0,53fr); }
  .rockdrill-home .rd-hero-copy { padding:24px 24px 24px 0; }
  .rd-slide-caption { bottom:68px; left:20px; right:20px; font-size:1.15rem; }
  .rd-carousel-controls { bottom:15px; left:50%; transform:translateX(-50%); }
}
@media(max-width:760px) {
  .rockdrill-home { --rd-home-gutter:20px; }
  .rockdrill-home .rd-hero { grid-template-columns:minmax(0,1fr); }
  .rockdrill-home .rd-hero-copy { padding:26px 0 24px; }
  .rd-carousel,.rd-slide { min-height:330px; }
  .rd-slide--action img { object-position:56% center; }
  .rd-slide-caption { bottom:55px; left:12px; right:12px; justify-content:center; font-size:1rem; text-align:center; }
  .rd-carousel-controls { bottom:10px; left:50%; transform:translateX(-50%); }
  .rd-carousel-controls button { width:40px; height:40px; }
}
@media(prefers-reduced-motion:reduce) { .rd-carousel[data-rd-enhanced] .rd-slide { transition:none; } }
