/* =========================================================
   About the Book Block
   ========================================================= */

:root {
    --atb-teal:        #B9973D;
    --atb-teal-light:  #3a5f50;
    --atb-cream:       #F5F0E6;
    --atb-cream-dark:  #EDE6D6;
    --atb-text:        #111111;
    --atb-text-muted:  #444444;
    --atb-white:       #ffffff;
    --atb-font-sans:   Montserrat, sans-serif;
    
    --atb-font-serif:  'Cormorant', 'Playfair Display', Georgia, serif;
    --atb-font-script: 'Cormorant', Georgia, serif;
}

/* Section wrapper ---------------------------------------- */
.about-the-book-block {
    width: 100%;
    background-color: var(--atb-white);
    overflow: hidden;
}

/* Inner layout ------------------------------------------- */
.about-the-book-block__inner {
    display: flex;
    align-items: stretch;
    background: #F5F3EC;
    border-top-right-radius: 150px;
    border-bottom-left-radius: 150px;
}

/* =========================================================
   Left Column — Hero Image
   ========================================================= */
.about-the-book-block__left {
    flex: 0 0 40%;
    max-width: 45%;
    position: relative;
    overflow: hidden;
}

.about-the-book-block__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* =========================================================
   Right Column — Content
   ========================================================= */
.about-the-book-block__right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 4.5rem max(4rem, calc((100vw - 1540px) / 2)) 4.5rem 4rem;
    background-color: #F5F3EC;
    border-top-right-radius: 150px;
    justify-content: center;
}

.about-the-book-block__right .about-the-book-block__eyebrow,
.about-the-book-block__right .about-the-book-block__heading,
.about-the-book-block__right .about-the-book-block__description,
.about-the-book-block__right .about-the-book-block__ctas {
    padding-left: 0px;
}

/* Eyebrow ------------------------------------------------ */
.about-the-book-block__eyebrow {
    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: var(--ab-green);

}

/* Heading ------------------------------------------------ */
.about-the-book-block__heading {
    margin-bottom: 25px;
    font-family: var(--atb-font-serif);
    font-size: 65px;
    font-weight: 300;
    line-height: 1;
    color: var(--atb-text);
}

.about-the-book-block__heading p,
.about-the-book-block__heading h1,
.about-the-book-block__heading h2,
.about-the-book-block__heading h3,
.about-the-book-block__heading h4,
.about-the-book-block__heading span,
.about-the-book-block__heading * {
    font-family: var(--atb-font-serif);
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

/* Allow italic span for the "Every Day" styled portion */
.about-the-book-block__heading em,
.about-the-book-block__heading i {
    font-family: var(--atb-font-serif);
    font-weight: 700;
    font-style: italic;
}

/* Description -------------------------------------------- */
.about-the-book-block__description {
    font-family: var(--atb-font-sans);
    font-size: 13px;
    line-height: 22px;
    letter-spacing: 0%;
    color: #333333;
    max-width: 95%;
}

.about-the-book-block__description p {
    margin: 0 0 0.75em;
    font-family: var(--atb-font-sans);
}

.about-the-book-block__description p:last-child {
    margin-bottom: 0;
}

/* Checklist / bullet list from wysiwyg */
.about-the-book-block__description ul {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.about-the-book-block__description ul li {
    padding-left: 1.6em;
    position: relative;
    font-size: 13px;
    line-height: 22px;
    color: var(--atb-text-muted);
    font-family: var(--atb-font-sans);
}

.about-the-book-block__description ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--atb-teal);
    font-weight: 700;
}

/* Bold text inside description */
.about-the-book-block__description strong {
    color: var(--atb-text);
    font-weight: 700;
}

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

.about-the-book-block__cta {
    display: inline-block;
    font-family: var(--ab-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;
}

/* Outline button (primary CTA) */
.about-the-book-block__cta--outline {
    color: var(--atb-text);
    border: 1.5px solid var(--atb-text);
    background: transparent;
}

.about-the-book-block__cta--outline:hover {
    background: var(--atb-text);
    color: var(--atb-white);
}

/* Filled button (secondary CTA) */
.about-the-book-block__cta--filled {
    color: var(--atb-white);
    background: #1E4542;
    border: 1.5px solid #1E4542;
}

.about-the-book-block__cta--filled:hover {
    background: var(--atb-teal-light);
    border-color: var(--atb-teal-light);
}

/* Quote box ---------------------------------------------- */
.about-the-book-block__quote-box {
    margin: 2.5rem 0 0;
    padding: 40px 35px;
    background-color: #E9DFC6;
    border-radius: 0px 150px 0px 150px;
    border: none;
}

.about-the-book-block__quote-text {
    margin: 0 0 30px;
    font-family: var(--atb-font-serif);
    font-style: italic;
    font-size: 25px;
    line-height: 32px;
    letter-spacing: 0%;
    color: #333333;
    text-align: center;
    width: 95%;
    font-weight: 600;
}

.about-the-book-block__quote-author {
    display: block;
    font-family: 'Aesthetica Demo', var(--atb-font-script);
    font-style: italic;
    font-size: 35px;
    color: var(--atb-text);
    text-align: center;
    font-style: normal;
}

/* =========================================================
   Responsive — 1024px (tablet)
   ========================================================= */
@media (min-width: 1541px) {
    .about-the-book-block__heading,
    .about-the-book-block__heading p,
    .about-the-book-block__heading h1,
    .about-the-book-block__heading h2,
    .about-the-book-block__heading h3 {
        font-size: 68px;
    }
}

@media (max-width: 1540px) {
    .about-the-book-block__heading,
    .about-the-book-block__heading p,
    .about-the-book-block__heading h1,
    .about-the-book-block__heading h2,
    .about-the-book-block__heading h3 {
        font-size: 65px;
    }
}

@media (max-width: 1024px) {
    .about-the-book-block__inner {
        border-top-right-radius: 120px;
        border-bottom-left-radius: 120px;
    }

    .about-the-book-block__right {
        border-top-right-radius: 120px;
        padding: 3rem 2.5rem;
    }

    .about-the-book-block__eyebrow {
        padding-left: 0;
        font-size: 20px;
        margin-bottom: 0;
    }

    .about-the-book-block__heading {
        font-size: 44px;
        line-height: 1.15;
        margin-bottom: 0;
    }
}

/* =========================================================
   Responsive — 900px
   ========================================================= */
@media (max-width: 900px) {
    .about-the-book-block__inner {
        flex-direction: column;
        min-height: auto;
        border-top-right-radius: 80px;
        border-bottom-left-radius: 80px;
    }

    .about-the-book-block__left {
        flex: 0 0 auto;
        max-width: 100%;
        height: 420px;
    }

    .about-the-book-block__right {
        border-top-right-radius: 80px;
        padding: 2.5rem 1.75rem;
    }

    .about-the-book-block__heading {
        font-size: clamp(1.8rem, 5vw, 2.4rem);
    }

    .about-the-book-block__content {
        margin: 0;
        width: 100%;
    }
}

/* =========================================================
   Responsive — 480px
   ========================================================= */
@media (max-width: 480px) {
    .about-the-book-block__description,
    .about-the-book-block__description p,
    .about-the-book-block__description li,
    .about-the-book-block__info,
    .about-the-book-block__info p {
        font-size: 16px !important;
        line-height: 1.75 !important;
    }

    .about-the-book-block__inner {
        border-top-right-radius: 75px;
        border-bottom-left-radius: 75px;
    }

    .about-the-book-block__left {
        height: 600px;
    }

    .about-the-book-block__right {
        border-top-right-radius: 75px;
        padding: 2rem 1.25rem;
        gap: 1rem;
    }

    .about-the-book-block__eyebrow {
        font-size: 16px;
        margin-bottom: 0;
    }

    .about-the-book-block__content {
        gap: 1rem;
    }

    .about-the-book-block__heading {
        font-size: 1.65rem;
    }

    .about-the-book-block__ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .about-the-book-block__cta {
        text-align: center;
    }

    .about-the-book-block__quote-box {
        padding: 1.5rem 1.25rem;
        border-radius: 0 80px 0 80px;
    }
}

/* Centered content group: heading + description + CTAs */
.about-the-book-block__content {
    width: 95%;
    max-width: 700px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 1025px) and (max-width: 1539.98px) {
    .about-the-book-block__right {
        padding-right: max(4rem, calc((100vw - 1250px) / 2));
    }
}

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

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

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

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