/* Scoped styles: the original banner markup, image and buttons are preserved. */
/* Match the base layer of the existing hidden rule so hidden inert panels
   still determine the grid height without appearing or receiving focus. */
@layer base {
  .bs-hero-carousel .bs-hero-slide[hidden] { display: block !important; }
}
.bs-hero-carousel{--bs-hero-green:var(--brand-green-dark,#123d2c);--bs-hero-orange:var(--brand-orange,#c84f12);position:relative;isolation:isolate;background:var(--paper-cream,#f7f2e7);color:var(--foreground,#163e30)}
/* Stack every panel in the same grid cell: automatic changes never move the
   content below the hero. Inactive panels retain size but are inert and hidden. */
.bs-hero-carousel .bs-hero-slides{display:grid;touch-action:pan-y pinch-zoom}
.bs-hero-carousel .bs-hero-slide{grid-area:1/1;min-width:0}
.bs-hero-carousel .bs-hero-slide[hidden]{display:block!important;visibility:hidden;pointer-events:none}
.bs-hero-carousel .bs-hero-feature{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(2rem,4vw,5rem);min-height:calc(100dvh - 5.5rem);max-width:90rem;margin:0 auto;padding:clamp(3rem,6vw,5rem) clamp(1.5rem,3.2vw,3rem);text-decoration:none;color:inherit;overflow:hidden}
.bs-hero-carousel .bs-hero-feature:focus-visible{outline:3px solid var(--bs-hero-orange);outline-offset:-5px}
.bs-hero-carousel .bs-hero-feature-copy{position:relative;z-index:2;max-width:39rem}
.bs-hero-carousel .bs-hero-eyebrow{margin:0 0 1.2rem;font-size:.9rem;line-height:1.5;font-weight:750;color:var(--bs-hero-orange)}
.bs-hero-carousel .bs-hero-title{margin:0;color:var(--bs-hero-green);font-family:var(--font-serif,Georgia,serif);font-size:clamp(3.05rem,5.7vw,6rem);font-weight:600;line-height:1;letter-spacing:-.045em;text-wrap:balance}
.bs-hero-carousel .bs-hero-description{max-width:36rem;margin:1.5rem 0 0;color:#556e62;font-size:clamp(1rem,1.2vw,1.2rem);line-height:1.65}
.bs-hero-carousel .bs-hero-tags{display:flex;flex-wrap:wrap;gap:.55rem;margin:1.5rem 0 1.7rem;padding:0;list-style:none}
.bs-hero-carousel .bs-hero-tags li{border:1px solid #cedad0;background:#fff9;padding:.4rem .7rem;border-radius:99rem;color:var(--bs-hero-green);font-size:.8rem;line-height:1.4}
.bs-hero-carousel .bs-hero-link{display:inline-flex;align-items:center;gap:.8rem;min-height:3rem;padding:.8rem 1.3rem;border-radius:.55rem;background:var(--bs-hero-orange);color:white;font-size:.95rem;line-height:1.5;font-weight:750;box-shadow:0 12px 25px -16px #a73c08}
.bs-hero-carousel .bs-hero-feature:hover .bs-hero-link{background:var(--brand-orange-dark,#ac3705)}
.bs-hero-carousel .bs-hero-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:29rem;isolation:isolate}
.bs-hero-carousel .bs-hero-art::before{position:absolute;inset:4% 0;background:#155b3b;border-radius:44% 56% 22% 78%/38% 42% 58% 62%;transform:rotate(8deg);content:"";z-index:-2}
.bs-hero-carousel .bs-hero-art-orbit{position:absolute;inset:-4% -8%;border:1px solid #ec95605c;border-radius:60% 40% 52% 48%/37% 58% 42% 63%;transform:rotate(-15deg);z-index:-1}
.bs-hero-carousel .bs-hero-book{position:relative;display:flex;flex-direction:column;width:66%;max-width:20rem;min-height:25rem;padding:1.8rem 1.9rem 2rem;border-radius:.35rem 1rem 1rem .35rem;background:#fffdf7;color:var(--bs-hero-green);box-shadow:inset 8px 0 0 #ddded2,14px 20px 30px -15px #0425189e;transform:rotate(-7deg)}
.bs-hero-carousel .bs-hero-book--back{position:absolute;transform:translate(1.6rem,-.4rem) rotate(8deg);background:#e6b27a;min-height:24rem;z-index:-1}
.bs-hero-carousel .bs-hero-book-brand{font-size:.75rem;font-weight:850;letter-spacing:.16em}
.bs-hero-carousel .bs-hero-book-symbol{display:block;margin:1.4rem 0 .8rem;font-family:var(--font-serif,Georgia,serif);font-size:clamp(4rem,6vw,6.5rem);line-height:1.1;letter-spacing:-.06em;color:var(--bs-hero-orange)}
.bs-hero-carousel .bs-hero-book-title{margin-top:auto;font-family:var(--font-serif,Georgia,serif);font-size:clamp(1.6rem,2vw,2rem);line-height:1.2;font-weight:600}
.bs-hero-carousel .bs-hero-book-detail{display:block;margin-top:1rem;padding-top:1rem;border-top:1px solid #ccd6ca;font-size:.75rem;line-height:1.5}
.bs-hero-carousel .bs-hero-feature--revista .bs-hero-book-symbol{font-family:inherit;font-size:clamp(2.5rem,4vw,3.7rem);letter-spacing:-.08em}
.bs-hero-carousel .bs-hero-feature--marcas .bs-hero-art::before{background:#cf4d16}
.bs-hero-carousel .bs-hero-feature--blog .bs-hero-book{background:#f4ead9}
.bs-hero-carousel .bs-hero-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.5rem;min-height:4.5rem;padding:.5rem 1rem 1rem;border-bottom:1px solid #dce0d5}
.bs-hero-carousel .bs-hero-controls button{font-family:inherit;cursor:pointer;color:var(--bs-hero-green);border:1px solid transparent;background:transparent}
.bs-hero-carousel .bs-hero-controls button:focus-visible{outline:3px solid var(--bs-hero-orange);outline-offset:2px}
.bs-hero-carousel .bs-hero-arrow{width:2.75rem;height:2.75rem;border-radius:50%;font-size:1.35rem;border-color:#cbd8cc!important;background:#fff9!important}
.bs-hero-carousel .bs-hero-dots{display:flex;align-items:center;gap:0}
.bs-hero-carousel .bs-hero-dot{display:grid;place-items:center;width:2.75rem;height:2.75rem;padding:0;border-radius:50%}
.bs-hero-carousel .bs-hero-dot span{width:.5rem;height:.5rem;border-radius:50%;background:#a5b9aa}
.bs-hero-carousel .bs-hero-dot[aria-current=true] span{width:1.3rem;border-radius:.3rem;background:var(--bs-hero-orange)}
.bs-hero-carousel .bs-hero-play{min-height:2.75rem;padding:.35rem .85rem;border-radius:.5rem;font-size:.8rem;font-weight:700}
.bs-hero-carousel .bs-hero-motion-note{padding:.5rem;font-size:.75rem;color:#586f62}
.bs-hero-carousel .bs-hero-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1200px){.bs-hero-carousel .bs-hero-feature{gap:5rem}}
@media(max-width:1023px){.bs-hero-carousel .bs-hero-feature{grid-template-columns:1fr;min-height:0;padding:3rem 1.5rem;gap:2.5rem}.bs-hero-carousel .bs-hero-feature-copy{max-width:42rem}.bs-hero-carousel .bs-hero-art{width:min(100%,32rem);min-height:23rem;margin:0 auto}.bs-hero-carousel .bs-hero-book{min-height:21rem;width:62%}.bs-hero-carousel .bs-hero-book--back{min-height:20rem}.bs-hero-carousel .bs-hero-title{font-size:clamp(2.8rem,8vw,4.5rem)}}
@media(max-width:480px){.bs-hero-carousel .bs-hero-feature{padding:2.5rem 1rem;gap:2rem}.bs-hero-carousel .bs-hero-description{margin-top:1.2rem}.bs-hero-carousel .bs-hero-tags{gap:.4rem}.bs-hero-carousel .bs-hero-art{min-height:20rem;width:95%}.bs-hero-carousel .bs-hero-book{padding:1.3rem 1.4rem;min-height:18rem;width:65%}.bs-hero-carousel .bs-hero-book--back{min-height:17rem}.bs-hero-carousel .bs-hero-book-symbol{font-size:4rem}.bs-hero-carousel .bs-hero-controls{gap:0;padding:.5rem .25rem 1rem}.bs-hero-carousel .bs-hero-dots{order:-1;flex-basis:100%;justify-content:center}.bs-hero-carousel .bs-hero-play,.bs-hero-carousel .bs-hero-motion-note{text-align:center}}
@media(prefers-reduced-motion:reduce){.bs-hero-carousel *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
