/* Editorial book recommendation — scoped to avoid changing existing theme components. */
.azu-book-promo {
    margin: 0 0 var(--gap-lg);
    color: var(--c-text, #182c35);
}

.azu-book-promo__intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.15rem;
}

.azu-book-promo__eyebrow {
    margin: 0 0 .45rem;
    color: #c84b36;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.azu-book-promo__heading {
    margin: 0;
    color: var(--c-heading, #182c35);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.8rem, 4vw, 2.55rem);
    line-height: .98;
    letter-spacing: -.045em;
}

.azu-book-promo__lead {
    max-width: 31rem;
    margin: 0 0 .15rem;
    color: var(--c-text-muted, #66757a);
    font-size: .9rem;
    line-height: 1.65;
}

.azu-book-promo__switcher {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
    width: min(100%, 360px);
    margin: 0 0 .85rem auto;
    padding: 3px;
    border: 1px solid var(--c-border, #d9d0c4);
    background: #f2ece3;
}

.azu-book-promo__format {
    min-height: 2.55rem;
    border: 0;
    padding: .55rem .75rem;
    color: #66757a;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.25;
}

.azu-book-promo__format.is-active,
.azu-book-promo__format[aria-pressed="true"] {
    color: #182c35;
    background: #fffaf2;
    box-shadow: 0 2px 8px rgba(24, 44, 53, .1);
}

.azu-book-promo__format:focus-visible,
.azu-book-promo__button:focus-visible {
    outline: 3px solid #c84b36;
    outline-offset: 3px;
}

.azu-book-promo__card {
    display: grid;
    grid-template-columns: minmax(205px, .72fr) minmax(0, 1.28fr);
    overflow: hidden;
    border: 1px solid var(--c-border, #d9d0c4);
    background: #fffaf2;
    box-shadow: 0 18px 40px rgba(52, 39, 28, .11);
}

.azu-book-promo__cover-stage {
    display: flex;
    min-height: 425px;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    background: #ebe3d6;
}

.azu-book-promo__cover {
    display: block;
    width: min(100%, 275px);
    height: auto;
    box-shadow: 14px 16px 0 rgba(24, 44, 53, .12), 0 22px 30px rgba(24, 44, 53, .18);
    transform: rotate(-1deg);
    transition: transform 260ms ease, box-shadow 260ms ease;
}

.azu-book-promo__cover:hover {
    box-shadow: 18px 20px 0 rgba(24, 44, 53, .12), 0 27px 35px rgba(24, 44, 53, .2);
    transform: rotate(0deg) translateY(-3px);
}

.azu-book-promo__body {
    padding: 2.6rem 3rem 2.2rem;
}

.azu-book-promo__topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.azu-book-promo__badge {
    display: inline-block;
    border: 1px solid #c84b36;
    padding: .55rem .7rem;
    color: #c84b36;
    font-size: .63rem;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.2;
    text-transform: uppercase;
}

.azu-book-promo__note {
    color: #66757a;
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.45;
    text-align: right;
    text-transform: uppercase;
}

.azu-book-promo__title {
    max-width: 15ch;
    margin: 1.5rem 0 .75rem;
    color: #182c35;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: .94;
    letter-spacing: -.055em;
}

.azu-book-promo__subtitle {
    max-width: 42ch;
    margin: 0;
    color: #66757a;
    font-size: .88rem;
    line-height: 1.75;
}

.azu-book-promo__author {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-top: 1.25rem;
    color: #182c35;
    font-size: .75rem;
    font-weight: 800;
}

.azu-book-promo__author-avatar {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #182c35;
    background: #a7b6a1;
    font-size: .68rem;
}

.azu-book-promo__rule {
    height: 1px;
    margin: 1.45rem 0 1.25rem;
    background: rgba(24, 44, 53, .14);
}

.azu-book-promo__teaser {
    max-width: 48ch;
    margin: 0;
    color: #182c35;
    font-size: .82rem;
    line-height: 1.75;
}

.azu-book-promo__formats {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: 1.45rem;
}

.azu-book-promo__price {
    display: inline-flex;
    min-height: 2.35rem;
    align-items: center;
    border: 1px solid rgba(24, 44, 53, .14);
    padding: .45rem .65rem;
    color: #66757a;
    font-size: .67rem;
    font-weight: 700;
}

.azu-book-promo__price strong {
    margin-left: .25rem;
    color: #182c35;
}

.azu-book-promo__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
    margin-top: 1.5rem;
}

.azu-book-promo__button {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem .85rem;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.azu-book-promo__button:hover {
    transform: translateY(-2px);
}

.azu-book-promo__button--primary {
    border: 1px solid #c84b36;
    color: #fffaf2;
    background: #c84b36;
}

.azu-book-promo__button--primary:hover {
    background: #9e3728;
}

.azu-book-promo__button--secondary {
    border: 1px solid #182c35;
    color: #182c35;
    background: transparent;
}

.azu-book-promo__button--secondary:hover {
    border-color: #c84b36;
    background: rgba(200, 75, 54, .08);
}

.azu-book-promo__disclosure {
    margin: 1rem 0 0;
    color: #66757a;
    font-size: .63rem;
    line-height: 1.55;
}

.azu-book-promo [hidden] {
    display: none !important;
}

@media (max-width: 760px) {
    .azu-book-promo__intro {
        display: block;
    }

    .azu-book-promo__lead {
        margin-top: .8rem;
    }

    .azu-book-promo__switcher {
        width: 100%;
        margin-top: 1rem;
    }

    .azu-book-promo__card {
        grid-template-columns: 1fr;
    }

    .azu-book-promo__cover-stage {
        min-height: 330px;
        padding: 2rem 1.25rem;
    }

    .azu-book-promo__cover {
        width: min(100%, 250px);
    }

    .azu-book-promo__body {
        padding: 2rem 1.25rem 1.7rem;
    }
}

@media (max-width: 430px) {
    .azu-book-promo__actions {
        grid-template-columns: 1fr;
    }

    .azu-book-promo__note {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .azu-book-promo__cover,
    .azu-book-promo__button {
        transition: none;
    }
}