.book-card__author a,.shop-book-card__meta a{color:inherit;text-decoration:none}
.book-card__author a:hover,.shop-book-card__meta a:hover{color:var(--color-primary);text-decoration:underline}
.hero-carousel{position:relative;width:100%;overflow:hidden;background:#f2f2f2}
.hero-carousel__track{position:relative;width:100%;aspect-ratio:1920/500;min-height:250px}
.hero-slide{position:absolute;inset:0;visibility:hidden;opacity:0;transition:opacity var(--transition-normal)}
.hero-slide.is-active{visibility:visible;opacity:1;z-index:2}
.hero-slide__image-link{display:block;width:100%;height:100%}
.hero-slide__image-link img{width:100%;height:100%;object-fit:cover}
.hero-slide__fallback{display:grid;place-items:center;width:100%;height:100%;background:#121212;color:#fff;font-size:clamp(2rem,5vw,5rem);font-weight:800;text-decoration:none}
.hero-carousel__control{position:absolute;top:50%;z-index:5;width:38px;height:38px;padding:0;border:1px solid rgba(255,255,255,.75);border-radius:50%;background:rgba(0,0,0,.25);color:#fff;font-size:25px;line-height:1;transform:translateY(-50%);cursor:pointer}
.hero-carousel__control--prev{left:1rem}.hero-carousel__control--next{right:1rem}
.hero-carousel__dots{position:absolute;bottom:.7rem;left:50%;z-index:5;display:flex;gap:.4rem;transform:translateX(-50%)}
.hero-carousel__dots button{width:7px;height:7px;padding:0;border:1px solid #fff;border-radius:50%;background:transparent}
.hero-carousel__dots button.is-active{background:#fff}

.home-product-section{padding:2.5rem 0 2.2rem}
.home-product-section--soft{background:#f7f9fa}
.home-section-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.25rem;padding-bottom:.7rem;border-bottom:1px solid #e3e7e9}
.home-section-heading h2{margin:0;color:var(--color-primary, #df1037);font-size:1.05rem;font-weight:700}
.home-section-heading a{display:inline-flex;align-items:center;gap:.2rem;padding:.35rem .8rem;border-radius:999px;background:var(--color-primary, #df1037);color:#fff;font-size:.62rem;font-weight:800;text-decoration:none}
.home-section-heading a:hover{background:#121212}
.home-section-heading a span{font-size:.9rem;line-height:1}
.home-products-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem}
.shop-book-card{min-width:0;background:#fff;border:1px solid #e2e5e7;border-radius:4px;overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.03)}
.shop-book-card__cover{display:block;aspect-ratio:2/3;overflow:hidden;background:#f1f1f1}
.shop-book-card__cover img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.shop-book-card:hover .shop-book-card__cover img{transform:scale(1.02)}
.shop-book-card__body{padding:.65rem .7rem .75rem}
/* CARD ORDER: title → author → price/cart */
.shop-book-card h3{margin:0 0 .25rem;font-size:.77rem;line-height:1.3}
.shop-book-card h3 a{text-decoration:none}
.shop-book-card h3 a:hover{color:var(--color-primary, #df1037)}
.shop-book-card__meta{margin:0 0 .4rem;color:#777;font-size:.58rem;text-transform:uppercase;letter-spacing:.03em}
.shop-book-card__price-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.shop-book-card__price{color:#c31435;font-size:.67rem;font-weight:800}
.shop-book-card__cart{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#36b86a;color:#fff;font-size:.85rem;line-height:1}
.home-promo-band{width:100%;margin:1rem 0 0;overflow:hidden}
.home-promo-band a{display:block}
.home-promo-band img{display:block;width:100%;height:auto}

.home-blog{padding:3.5rem 0;background:#fff}
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.blog-card{overflow:hidden;border:1px solid #e2e5e7;background:#fff}
.blog-card__image{display:block;aspect-ratio:16/9;overflow:hidden;background:#eee}
.blog-card__image img{width:100%;height:100%;object-fit:cover}
.blog-card__body{padding:1rem}
.blog-card__date{margin:0 0 .35rem;color:var(--color-primary, #df1037);font-size:.6rem;font-weight:800;text-transform:uppercase}
.blog-card__body h3{font-size:1rem}.blog-card__body h3 a{text-decoration:none}
.blog-card__body>p:not(.blog-card__date){font-size:.8rem;color:#666}
.blog-card__read{font-size:.7rem;color:var(--color-primary, #df1037);font-weight:800;text-decoration:none}
.blog-empty{grid-column:1/-1;padding:2.5rem;background:#f7f9fa}
@media(max-width:1100px){.home-products-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:.7rem}.shop-book-card__body{padding:.55rem}.shop-book-card h3{font-size:.7rem}}
@media(max-width:800px){.home-products-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.blog-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){
.hero-carousel__track{aspect-ratio:4/3}
.home-product-section{padding:2rem 0 1.8rem}
.home-section-heading{margin-bottom:1rem}.home-section-heading h2{font-size:.95rem}
.home-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.shop-book-card__body{padding:.55rem .55rem .65rem}
.shop-book-card h3{font-size:.75rem}.shop-book-card__meta{font-size:.55rem}
.home-promo-band{margin-top:.5rem}
.home-blog{padding:2.5rem 0}.blog-grid{grid-template-columns:1fr}
.authors-panel{align-items:flex-start;flex-direction:column;padding:2rem}
.authors-panel h2{font-size:2rem}.authors-panel .button{width:100%}
}

/* ============================================================
   AUTHORS FEATURE PANEL
   Edit background, heading size and button treatment here later.
   ============================================================ */
.home-authors{padding:3.5rem 0 4.5rem;background:#fff}
.authors-panel{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:220px;
    gap:3rem;
    overflow:hidden;
    padding:3rem 3.5rem;
    border-radius:4px;
    background:var(--color-primary, #df1037); /* EDIT AUTHORS PANEL COLOR */
    color:#fff;
}
.authors-panel__copy{position:relative;z-index:2;max-width:650px}
.authors-panel .eyebrow{
    color:#fff;
    margin-bottom:.65rem;
}
.authors-panel h2{
    margin-bottom:.7rem;
    color:#fff;
    font-size:clamp(2.5rem,5vw,4.6rem); /* EDIT AUTHORS HEADING SIZE */
    letter-spacing:-.03em;
}
.authors-panel p:not(.eyebrow){
    margin:0;
    max-width:560px;
    color:rgba(255,255,255,.9);
    font-size:.9rem; /* EDIT AUTHORS DESCRIPTION SIZE */
}
.authors-panel__action{
    position:relative;
    z-index:2;
    display:flex;
    align-items:center;
    gap:1.5rem;
}
.authors-panel__mark{
    display:grid;
    place-items:center;
    width:115px;
    height:115px;
    border:1px solid rgba(255,255,255,.25);
    border-radius:50%;
    color:rgba(255,255,255,.2);
    font-size:5rem;
    font-weight:900;
}
.authors-panel .button--primary{
    display:inline-flex;
    align-items:center;
    gap:.5rem;
    padding:.85rem 1.2rem;
    border-radius:3px;
    background:#fff;
    color:#121212;
    font-size:.72rem;
    font-weight:800;
    text-decoration:none;
}
.authors-panel .button--primary:hover{transform:translateY(-1px)}
@media(max-width:700px){
    .home-authors{padding:2.5rem 0 3rem}
    .authors-panel{align-items:flex-start;flex-direction:column;min-height:0;padding:2.25rem 1.5rem;gap:2rem}
    .authors-panel__action{width:100%;justify-content:space-between}
    .authors-panel__mark{width:80px;height:80px;font-size:3.5rem}
    .authors-panel .button--primary{flex:1;justify-content:center}
}

/* Preserve the entire banner artwork on small screens. */
@media(max-width:600px){
.hero-carousel__track{aspect-ratio:1920/500;min-height:0}
.hero-slide__image-link img{object-fit:contain}
.hero-carousel__control{width:44px;height:44px}
.hero-carousel__control--prev{left:0}.hero-carousel__control--next{right:0}
.hero-carousel__dots{bottom:0;gap:0}
.hero-carousel__dots button{width:24px;height:24px;background-clip:content-box;padding:8px;border:0;box-shadow:none}
.hero-carousel__dots button::after{content:'';display:block;width:8px;height:8px;border:1px solid #fff;border-radius:50%;box-sizing:border-box}
.hero-carousel__dots button.is-active::after{background:#fff}
}
