/* ── Home / Book Landing — page-specific styles ── */
.tbc-inner-hero-wrapper.tbc-hero-book {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
    background-color: var(--tbc-pink);
    color: var(--tbc-color-text);
        background: linear-gradient(283.49deg, #FFD3FF 32.25%, #F9DDF8 95.94%);
}

@media (min-width: 1600px){
    .tbc-inner-hero-wrapper.tbc-hero-book {
        min-height: 1024px;
    }
}

.tbc-hero-book .tbc-hero-image-overlay{
    background-position: top left;
    background-repeat: repeat;
    background-size: 80px;
    background-size: 265px 265px;
    mix-blend-mode: overlay;
}

.tbc-hero-book .tbc-hero-title {
    font-family: var(--tbc-font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    padding-right: 4vw;
    text-shadow: none;
}

.tbc-hero-title-cross {
    display: inline-block;
    width: 1em;
    height: auto;
    margin-left: 0.15em;
    vertical-align: middle;
    transform: translateY(-0.15em);
}

.tbc-hero-book .hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
    gap: 3rem;
    width: 100%;
    padding-top: 8rem;
    padding-bottom: 2rem;
    max-width: 100%;
    padding-inline: 0;
}
@media (max-width: 1200px) {
    .tbc-hero-book .hero-container {
        padding-left: 60px;
    }
}

.tbc-hero-book .tbc-scroll-indicator {
    top: auto;
    bottom: 4rem;
}
.tbc-hero-book .tbc-scroll-indicator p{
    display: none;
}

/* Logged-in admin bar pushes the whole page down by its own height, which
   eats into this bottom-anchored arrow's clearance (client review feedback:
   arrow sits cut off at the bottom of the frame while logged in). */
body.admin-bar .tbc-hero-book .tbc-scroll-indicator {
    bottom: calc(4rem + 32px);
}
@media screen and (max-width: 782px) {
    body.admin-bar .tbc-hero-book .tbc-scroll-indicator {
        bottom: calc(4rem + 46px);
    }
}

.tbc-hero-book .tbc-hero-content {
    width: 100%;
    max-width: 496px;
    margin-left: auto;
    padding-left: 0;
}

.tbc-hero-body p {
    font-size: 1rem;
    line-height: 1.8;
    max-width: 620px;
}

.tbc-hero-eyebrow {
    font-size: .875rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    margin-bottom: 1.5rem !important;
    letter-spacing: 0.16em;
    margin-top: 0 !important;
}

.tbc-hero-cta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3.5rem;
}
.tbc-hero-cta-row .btn-secondary:hover,
.tbc-hero-cta-row .btn-secondary:focus-visible,
.tbc-hero-cta-row .btn-primary:hover,
.tbc-hero-cta-row .btn-primary:focus-visible{
    background-color: var(--tbc-red);
    color: var(--tbc-color-white);
    border-color: var(--tbc-red);
}

.tbc-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--tbc-font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: currentColor;
    text-decoration: none;
}

.tbc-hero-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.tbc-hero-link:hover svg {
    transform: translateX(4px);
}

.tbc-hero-worksheets {
    margin-top: 1.5rem;
}

.tbc-hero-worksheets a {
    color: currentColor;
    font-weight: 700;
    text-decoration: underline;
    margin-left: 0.35rem;
}

/* ── Book render column ── */
.tbc-hero-book-media {
    /* flex: 1 1 320px; */
    max-width: 460px;
    max-width: 630px;
    animation: tbc-book-reveal 1.2s var(--tbc-ease-out) 0.3s both;
}

.tbc-hero-book-media img {
    width: 100%;
    height: auto;
}

@keyframes tbc-book-reveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 1024px) {
    .tbc-hero-book .hero-container {
        align-items: flex-start;
        padding-top: 6rem;
    }

    .tbc-hero-book .tbc-hero-content {
        max-width: 100%;
        text-align: left;
    }
    
    .tbc-hero-body p,
    .tbc-hero-cta-row {
        margin-inline: auto;
    }
    
    .tbc-hero-cta-row {
        margin-top: 2rem;
        justify-content: center;
    }
    
    .tbc-hero-book-media {
        margin-inline: 0;
    }
    .tbc-hero-worksheets{
        text-align: center;
    }
}
@media (max-width: 991.98px) {
    .tbc-inner-hero-wrapper.tbc-hero-book{
        min-height: inherit;
        height: auto;
        max-height: inherit;
    }
    .tbc-hero-book .hero-container{
        grid-template-columns: 1fr;
        padding-bottom: 7rem;
        height: auto;
        padding-inline: 20px;
        row-gap: 0;
    }
    .tbc-hero-book .tbc-hero-content {
        order: 99;
        text-align: center;
        max-width: 768px;
        margin-inline: auto;
    }
    .tbc-hero-content p{
        max-width: 100%;
    }
    .tbc-hero-book-media {
        margin-inline: auto;
        max-width: calc(460px + 10vw);
        padding-left: 13vw;
    }
    .tbc-hero-book .tbc-scroll-indicator {
        bottom: 2rem;
    }
}
