/* =========================================================
   Why This Book Block
   ========================================================= */

:root {
    --wtb-bg: #F5F0E8;
    --wtb-green: #1e4a38;
    --wtb-eyebrow: #2d5547;
    --wtb-text: #1a1a1a;
    --wtb-muted: #333333;
    --wtb-card-tan: #C4B08A;
    --wtb-card-white: #ffffff;
    --wtb-font-serif: Cormorant, serif;
    --wtb-font-script: Cormorant, 'Playfair Display', serif;
    --wtb-font-sans: Montserrat, sans-serif;
}

/* Section wrapper ---------------------------------------- */
.why-this-book-block {
    background-color: var(--wtb-bg);
    padding: 5rem 1.5rem;
    width: 100%;
    box-sizing: border-box;
    border-bottom-right-radius: 150px;
}

/* Two-column inner --------------------------------------- */
.why-this-book-block__inner {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    max-width: 1540px;
    margin: 0 auto;
}

/* =========================================================
   Left Column
   ========================================================= */
.why-this-book-block__left {
    flex: 0 0 42%;
    max-width: 42%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Eyebrow */
.why-this-book-block__eyebrow {
    margin: 0;
    font-family: 'Mona Sans Condensed', sans-serif;
    font-weight: 600;
    font-size: 21px;
    line-height: 1.3;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1E4542;
}

/* Title */
.why-this-book-block__title {
    margin: 0;
    color: var(--wtb-text);
}

.why-this-book-block__title p,
.why-this-book-block__title h1,
.why-this-book-block__title h2,
.why-this-book-block__title h3 {
    margin: 0;
    font-family: var(--wtb-font-serif);
    font-size: 65px;
    font-weight: 400;
    line-height: 1;
    color: var(--wtb-text);
}

.why-this-book-block__title em,
.why-this-book-block__title i {
    font-style: italic;
    font-weight: 700;
    font-family: var(--wtb-font-serif);
}

.why-this-book-block__title strong,
.why-this-book-block__title b {
    font-weight: 700;
    font-family: var(--wtb-font-serif);
}

/* Description */
.why-this-book-block__description {
    margin: 0;
    font-family: var(--wtb-font-sans);
    font-size: 13px;
    font-weight: 400;
    line-height: 22px;
    color: var(--wtb-muted);
    max-width: 95%;
}

.why-this-book-block__description p {
    margin: 0 0 0.75em;
    font-family: var(--wtb-font-sans);
}

.why-this-book-block__description p:last-child {
    margin-bottom: 0;
}

/* CTA buttons */
.why-this-book-block__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
    margin-top: 0.5rem;
}

.why-this-book-block__cta {
    display: inline-block;
    font-family: var(--wtb-font-sans);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    padding: 16px 28px;
    border-radius: 50px;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.why-this-book-block__cta--outline {
    color: var(--wtb-text);
    border: 1.5px solid var(--wtb-text);
    background: transparent;
}

.why-this-book-block__cta--outline:hover {
    background: var(--wtb-text);
    color: var(--wtb-bg);
}

.why-this-book-block__cta--filled {
    color: #ffffff;
    background: var(--wtb-green);
    border: 1.5px solid var(--wtb-green);
}

.why-this-book-block__cta--filled:hover {
    background: #163828;
    border-color: #163828;
}

/* =========================================================
   Right Column: Cards Grid
   ========================================================= */
.why-this-book-block__cards {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: 1.25rem;
}

/* Base card */
.why-this-book-block__card {
    border-radius: 0px 40px 0px 40px;
    padding: 1.25rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* Alternating card colours: tan, white, white, dark-green */
.why-this-book-block__card:nth-child(4n+1) {
    background-color: var(--wtb-card-tan);
    color: var(--wtb-text);
    box-shadow: none;
}

.why-this-book-block__card:nth-child(4n+2) {
    background-color: var(--wtb-card-white);
    color: var(--wtb-text);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    margin-top: 60px;
}

.why-this-book-block__card:nth-child(4n+3) {
    background-color: var(--wtb-card-white);
    color: var(--wtb-text);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    margin-top: -50px;
}

@media screen and (max-width: 990px) {
    .why-this-book-block__card:nth-child(4n+3) {
        margin-top: 0;
    }
}

.why-this-book-block__card:nth-child(4n+4) {
    background-color: var(--wtb-green);
    color: #ffffff;
    margin-top: 10px;
}

/* Card icon */
.why-this-book-block__card-icon {
    margin-bottom: 0.25rem;
}

.why-this-book-block__card-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

/* Make icon white on dark-green card */
.why-this-book-block__card:nth-child(4n+4) .why-this-book-block__card-icon img {
    filter: brightness(0) invert(1);
}

/* Card title */
.why-this-book-block__card-title {
    margin: 0;
    font-family: var(--wtb-font-serif);
    font-size: 26px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0%;
    color: inherit;
}

/* Card description */
.why-this-book-block__card-desc {
    margin: 0;
    font-family: var(--wtb-font-sans);
    font-size: 13px;
    font-weight: 400;
    line-height: 22px;
    color: inherit;
    opacity: 0.82;
}

/* =========================================================
   Quote Oval
   ========================================================= */
.why-this-book-block__quote-wrap {
    display: flex;
    justify-content: center;
    margin-top: 3.5rem;
    max-width: 1540px;
    margin: 60px auto 0;
}

.why-this-book-block__quote-oval {
    background-color: var(--wtb-green);
    border-radius: 50%;
    width: 100%;
    padding: 3.5rem 7rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-sizing: border-box;
}

.why-this-book-block__quote-text {
    margin: 0 0 30px;
    font-family: var(--wtb-font-serif);
    font-style: italic;
    font-size: 25px;
    line-height: 40px;
    letter-spacing: 0%;
    color: #ffffff;
    text-align: center;
    width: 90%;
    max-width: 900px;
    margin: auto;
}

.why-this-book-block__quote-author {
    display: block;
    font-family: 'Aesthetica Demo', var(--wtb-font-script);
    font-style: normal;
    font-size: 35px;
    color: #ffffff;
    text-align: center;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 1541px) {
    .why-this-book-block__title,
    .why-this-book-block__title p,
    .why-this-book-block__title h1,
    .why-this-book-block__title h2,
    .why-this-book-block__title h3 {
        font-size: 68px;
    }
}

@media (max-width: 1540px) {
    .why-this-book-block__title,
    .why-this-book-block__title p,
    .why-this-book-block__title h1,
    .why-this-book-block__title h2,
    .why-this-book-block__title h3 {
        font-size: 65px;
    }
}

@media (max-width: 900px) {
    .why-this-book-block__title,
    .why-this-book-block__title p,
    .why-this-book-block__title h1,
    .why-this-book-block__title h2,
    .why-this-book-block__title h3 {
        font-size: 2.6rem;
    }

    .why-this-book-block__inner {
        flex-direction: column;
        gap: 2.5rem;
    }

    .why-this-book-block__left {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .why-this-book-block__description {
        max-width: 100%;
    }

    .why-this-book-block__quote-oval {
        padding: 3rem 4rem;
    }
}

@media (max-width: 480px) {
    .why-this-book-block__description,
    .why-this-book-block__description p,
    .why-this-book-block__description li,
    .why-this-book-block__info,
    .why-this-book-block__info p {
        font-size: 16px !important;
        line-height: 1.75 !important;
    }

    .why-this-book-block {
        border-bottom-right-radius: 75px;
    }

    .why-this-book-block {
        padding: 3rem 1rem;
    }

    .why-this-book-block__cards {
        grid-template-columns: 1fr;
    }

    .why-this-book-block__card:nth-child(4n+2),
    .why-this-book-block__card:nth-child(4n+4) {
        margin-top: 0;
    }

    .why-this-book-block__quote-oval {
        padding: 2.5rem 2rem;
        border-radius: 40px;
    }

    .why-this-book-block__title,
    .why-this-book-block__title p,
    .why-this-book-block__title h1,
    .why-this-book-block__title h2,
    .why-this-book-block__title h3 {
        font-size: 2rem;
    }
}

@media (min-width: 1025px) and (max-width: 1539.98px) {
    .why-this-book-block__inner,
    .why-this-book-block__quote-wrap {
        max-width: 1250px;
    }
}

@media (max-width: 428px) {
    .why-this-book-block__title,
    .why-this-book-block__title *,
    .why-this-book-block__heading,
    .why-this-book-block__heading * {
        font-size: 32px !important;
    }
}

.why-this-book-block__cta--amazon {
    color: #ffffff;
    background: #00A3E0;
    border: 1.5px solid #00A3E0;
}

.why-this-book-block__cta--amazon:hover {
    background: #008CC2;
    border-color: #008CC2;
}

.why-this-book-block__description,
.why-this-book-block__description *,
.why-this-book-block__info,
.why-this-book-block__info * {
    font-family: 'Montserrat', sans-serif;
}
