/*
 * Think About Books
 * New Homepage Design System
 */

:root {
    --tab-navy: #071B3D;
    --tab-teal: #1687A3;
    --tab-teal-dark: #086B85;
    --tab-aqua: #78C8D8;
    --tab-ice: #F3F9FB;
    --tab-soft: #EAF5F7;
    --tab-slate: #607086;
    --tab-border: #DCE9EE;
    --tab-white: #FFFFFF;
    --tab-success: #168A62;

    --tab-radius-sm: 8px;
    --tab-radius-md: 14px;
    --tab-radius-lg: 22px;

    --tab-shadow:
        0 10px 35px rgba(7,27,61,.08);

    --tab-container: 1440px;
}

.tab-new-home {
    color: var(--tab-navy);
    background: var(--tab-white);
}

.tab-new-home *,
.tab-new-home *::before,
.tab-new-home *::after {
    box-sizing: border-box;
}

.tab-container {
    width: min(
        calc(100% - 48px),
        var(--tab-container)
    );
    margin-inline: auto;
}

.tab-section {
    padding: 72px 0;
}

.tab-section--soft {
    background: var(--tab-ice);
}

.tab-eyebrow {
    color: var(--tab-teal);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tab-heading {
    color: var(--tab-navy);
    font-weight: 700;
    line-height: 1.08;
}

.tab-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border: 1px solid var(--tab-teal);
    border-radius: var(--tab-radius-sm);
    background: var(--tab-teal);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.tab-button:hover {
    background: var(--tab-teal-dark);
    border-color: var(--tab-teal-dark);
    color: #fff;
    transform: translateY(-1px);
}

.tab-button--outline {
    background: transparent;
    color: var(--tab-teal);
}

.tab-button--outline:hover {
    background: var(--tab-soft);
    color: var(--tab-teal-dark);
}

@media (max-width: 1024px) {

    .tab-container {
        width: min(
            calc(100% - 36px),
            var(--tab-container)
        );
    }

    .tab-section {
        padding: 56px 0;
    }
}

@media (max-width: 767px) {

    .tab-container {
        width: min(
            calc(100% - 28px),
            var(--tab-container)
        );
    }

    .tab-section {
        padding: 42px 0;
    }
}

/* =========================================================
   TAB NEW HOME — SECTION HEADINGS
   ========================================================= */

.tab-section-heading {
    margin: 0 auto 38px;
    text-align: center;
}

.tab-section-heading > span {
    display: block;
    margin-bottom: 8px;
    color: var(--tab-teal);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tab-section-heading h2 {
    margin: 0;
    color: var(--tab-navy);
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.08;
    letter-spacing: -.025em;
}

.tab-center-action {
    margin-top: 32px;
    text-align: center;
}


/* =========================================================
   HERO
   ========================================================= */

.tab-hero {
    padding: 64px 0 58px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(120,200,216,.20),
            transparent 29%
        ),
        linear-gradient(
            110deg,
            #fff 0%,
            #fff 54%,
            #f3f9fb 100%
        );
}

.tab-hero__grid {
    display: grid;
    grid-template-columns:
        minmax(0,.9fr)
        minmax(420px,1.1fr);
    gap: 64px;
    align-items: center;
}

.tab-hero h1 {
    margin: 12px 0 20px;
    color: var(--tab-navy);
    font-size: clamp(48px,5.2vw,78px);
    font-weight: 800;
    line-height: .99;
    letter-spacing: -.045em;
}

.tab-hero h1 span {
    display: block;
    color: var(--tab-teal);
}

.tab-hero__lead {
    max-width: 600px;
    margin: 0 0 24px;
    color: var(--tab-slate);
    font-size: 18px;
    line-height: 1.7;
}

.tab-hero__benefits {
    display: grid;
    gap: 11px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.tab-hero__benefits li {
    position: relative;
    padding-left: 32px;
    color: var(--tab-navy);
    font-size: 15px;
}

.tab-hero__benefits li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 21px;
    height: 21px;
    place-items: center;
    border-radius: 50%;
    background: var(--tab-teal);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.tab-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.tab-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 34px;
    color: var(--tab-slate);
    font-size: 13px;
}

.tab-trust-row span {
    margin-right: 5px;
    color: var(--tab-teal);
    font-weight: 900;
}


/* HERO VISUAL */

.tab-hero__visual {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-hero__visual::before {
    content: "";
    position: absolute;
    width: 410px;
    height: 410px;
    border-radius: 50%;
    background:
        linear-gradient(
            145deg,
            rgba(120,200,216,.28),
            rgba(22,135,163,.06)
        );
}

.tab-hero__book-stack {
    position: relative;
    z-index: 2;
    width: min(470px,85%);
    transform: rotate(-2deg);
}

.tab-book {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 60px;
    margin: -2px 0 0;
    padding: 0 28px;
    border-radius: 5px 12px 12px 5px;
    box-shadow: 0 10px 22px rgba(7,27,61,.12);
    font-size: 18px;
    font-weight: 700;
}

.tab-book--1 {
    width: 88%;
    margin-left: 6%;
    background: #f1e3cf;
    color: #9b4e20;
}

.tab-book--2 {
    width: 96%;
    background: var(--tab-navy);
    color: #fff;
}

.tab-book--3 {
    width: 91%;
    margin-left: 4%;
    background: #e9c984;
    color: var(--tab-navy);
}

.tab-book--4 {
    width: 97%;
    background: #f7f3e9;
    color: var(--tab-navy);
}

.tab-book--5 {
    width: 92%;
    margin-left: 3%;
    background: var(--tab-teal);
    color: #fff;
}

.tab-read-share {
    position: absolute;
    z-index: 3;
    top: 48px;
    right: 3%;
    display: grid;
    width: 92px;
    height: 92px;
    place-items: center;
    border-radius: 50%;
    background: var(--tab-teal);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
    letter-spacing: .08em;
    box-shadow: var(--tab-shadow);
}


/* =========================================================
   RESPONSIVE HERO
   ========================================================= */

@media (max-width: 1024px) {

    .tab-hero__grid {
        grid-template-columns: 1fr 1fr;
        gap: 38px;
    }

    .tab-hero__visual {
        min-height: 380px;
    }

    .tab-book {
        min-height: 52px;
        font-size: 15px;
    }
}

@media (max-width: 767px) {

    .tab-hero {
        padding: 42px 0;
    }

    .tab-hero__grid {
        grid-template-columns: 1fr;
    }

    .tab-hero h1 {
        font-size: clamp(43px,13vw,62px);
    }

    .tab-hero__lead {
        font-size: 16px;
    }

    .tab-hero__visual {
        min-height: 340px;
        order: 2;
    }

    .tab-hero__visual::before {
        width: 300px;
        height: 300px;
    }

    .tab-trust-row {
        gap: 12px 20px;
    }

    .tab-read-share {
        width: 75px;
        height: 75px;
        right: 0;
        font-size: 10px;
    }
}


/* =========================================================
   TAB NEW HOME — SECTION HEADINGS
   ========================================================= */

.tab-section-heading {
    margin: 0 auto 38px;
    text-align: center;
}

.tab-section-heading > span {
    display: block;
    margin-bottom: 8px;
    color: var(--tab-teal);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tab-section-heading h2 {
    margin: 0;
    color: var(--tab-navy);
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.08;
    letter-spacing: -.025em;
}

.tab-center-action {
    margin-top: 32px;
    text-align: center;
}


/* =========================================================
   HERO
   ========================================================= */

.tab-hero {
    padding: 64px 0 58px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(120,200,216,.20),
            transparent 29%
        ),
        linear-gradient(
            110deg,
            #fff 0%,
            #fff 54%,
            #f3f9fb 100%
        );
}

.tab-hero__grid {
    display: grid;
    grid-template-columns:
        minmax(0,.9fr)
        minmax(420px,1.1fr);
    gap: 64px;
    align-items: center;
}

.tab-hero h1 {
    margin: 12px 0 20px;
    color: var(--tab-navy);
    font-size: clamp(48px,5.2vw,78px);
    font-weight: 800;
    line-height: .99;
    letter-spacing: -.045em;
}

.tab-hero h1 span {
    display: block;
    color: var(--tab-teal);
}

.tab-hero__lead {
    max-width: 600px;
    margin: 0 0 24px;
    color: var(--tab-slate);
    font-size: 18px;
    line-height: 1.7;
}

.tab-hero__benefits {
    display: grid;
    gap: 11px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.tab-hero__benefits li {
    position: relative;
    padding-left: 32px;
    color: var(--tab-navy);
    font-size: 15px;
}

.tab-hero__benefits li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 21px;
    height: 21px;
    place-items: center;
    border-radius: 50%;
    background: var(--tab-teal);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.tab-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.tab-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 34px;
    color: var(--tab-slate);
    font-size: 13px;
}

.tab-trust-row span {
    margin-right: 5px;
    color: var(--tab-teal);
    font-weight: 900;
}


/* HERO VISUAL */

.tab-hero__visual {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-hero__visual::before {
    content: "";
    position: absolute;
    width: 410px;
    height: 410px;
    border-radius: 50%;
    background:
        linear-gradient(
            145deg,
            rgba(120,200,216,.28),
            rgba(22,135,163,.06)
        );
}

.tab-hero__book-stack {
    position: relative;
    z-index: 2;
    width: min(470px,85%);
    transform: rotate(-2deg);
}

.tab-book {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 60px;
    margin: -2px 0 0;
    padding: 0 28px;
    border-radius: 5px 12px 12px 5px;
    box-shadow: 0 10px 22px rgba(7,27,61,.12);
    font-size: 18px;
    font-weight: 700;
}

.tab-book--1 {
    width: 88%;
    margin-left: 6%;
    background: #f1e3cf;
    color: #9b4e20;
}

.tab-book--2 {
    width: 96%;
    background: var(--tab-navy);
    color: #fff;
}

.tab-book--3 {
    width: 91%;
    margin-left: 4%;
    background: #e9c984;
    color: var(--tab-navy);
}

.tab-book--4 {
    width: 97%;
    background: #f7f3e9;
    color: var(--tab-navy);
}

.tab-book--5 {
    width: 92%;
    margin-left: 3%;
    background: var(--tab-teal);
    color: #fff;
}

.tab-read-share {
    position: absolute;
    z-index: 3;
    top: 48px;
    right: 3%;
    display: grid;
    width: 92px;
    height: 92px;
    place-items: center;
    border-radius: 50%;
    background: var(--tab-teal);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
    letter-spacing: .08em;
    box-shadow: var(--tab-shadow);
}


/* =========================================================
   RESPONSIVE HERO
   ========================================================= */

@media (max-width: 1024px) {

    .tab-hero__grid {
        grid-template-columns: 1fr 1fr;
        gap: 38px;
    }

    .tab-hero__visual {
        min-height: 380px;
    }

    .tab-book {
        min-height: 52px;
        font-size: 15px;
    }
}

@media (max-width: 767px) {

    .tab-hero {
        padding: 42px 0;
    }

    .tab-hero__grid {
        grid-template-columns: 1fr;
    }

    .tab-hero h1 {
        font-size: clamp(43px,13vw,62px);
    }

    .tab-hero__lead {
        font-size: 16px;
    }

    .tab-hero__visual {
        min-height: 340px;
        order: 2;
    }

    .tab-hero__visual::before {
        width: 300px;
        height: 300px;
    }

    .tab-trust-row {
        gap: 12px 20px;
    }

    .tab-read-share {
        width: 75px;
        height: 75px;
        right: 0;
        font-size: 10px;
    }
}


/* =========================================================
   MORE THAN JUST A BOOKSTORE
   ========================================================= */

.tab-why {
    padding: 58px 0;
    background: linear-gradient(115deg,#071B3D 0%,#073B59 100%);
    color: #fff;
}

.tab-section-heading--light > span {
    color: var(--tab-aqua);
}

.tab-section-heading--light h2 {
    color: #fff;
}

.tab-why__grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
}

.tab-why__grid article {
    padding: 12px 38px;
    text-align: center;
}

.tab-why__grid article + article {
    border-left: 1px solid rgba(255,255,255,.20);
}

.tab-feature-icon {
    display: grid;
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    place-items: center;
    border: 1px solid rgba(120,200,216,.7);
    border-radius: 50%;
    color: var(--tab-aqua);
    font-size: 28px;
}

.tab-why h3 {
    margin: 0 0 9px;
    color: #fff;
    font-size: 17px;
}

.tab-why p {
    max-width: 245px;
    margin: auto;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   CATEGORIES
   ========================================================= */

.tab-category-grid {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 16px;
}

.tab-category-card {
    display: block;
    overflow: hidden;
    border: 1px solid var(--tab-border);
    border-radius: var(--tab-radius-md);
    background: #fff;
    box-shadow: 0 5px 20px rgba(7,27,61,.045);
    color: var(--tab-navy);
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease,
                box-shadow .2s ease,
                border-color .2s ease;
}

.tab-category-card:hover {
    border-color: var(--tab-aqua);
    box-shadow: var(--tab-shadow);
    color: var(--tab-navy);
    transform: translateY(-4px);
}

.tab-category-card__image {
    height: 128px;
    overflow: hidden;
    background: var(--tab-soft);
}

.tab-category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tab-category-card strong {
    display: block;
    padding: 15px 10px 3px;
    font-size: 15px;
}

.tab-category-card small {
    display: block;
    padding: 0 10px 15px;
    color: var(--tab-slate);
}


/* =========================================================
   TRENDING PRODUCTS
   ========================================================= */

.tab-product-grid {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 20px;
}

.tab-product-card {
    overflow: hidden;
    border: 1px solid var(--tab-border);
    border-radius: var(--tab-radius-md);
    background: #fff;
    transition: transform .2s ease,
                box-shadow .2s ease;
}

.tab-product-card:hover {
    box-shadow: var(--tab-shadow);
    transform: translateY(-4px);
}

.tab-product-card__image {
    display: block;
    aspect-ratio: 3 / 4;
    padding: 16px;
    background: #fff;
}

.tab-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tab-product-card__body {
    padding: 4px 16px 18px;
}

.tab-product-card h3 {
    min-height: 44px;
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.4;
}

.tab-product-card h3 a {
    color: var(--tab-navy);
    text-decoration: none;
}

.tab-product-card__rating {
    margin-bottom: 6px;
    color: #E7A323;
    font-size: 13px;
    letter-spacing: .04em;
}

.tab-product-card__price {
    color: var(--tab-teal);
    font-size: 16px;
    font-weight: 800;
}


/* =========================================================
   RESPONSIVE GRIDS
   ========================================================= */

@media (max-width: 1100px) {

    .tab-category-grid,
    .tab-product-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .tab-why__grid {
        grid-template-columns: repeat(2,1fr);
        gap: 30px 0;
    }

    .tab-why__grid article:nth-child(3) {
        border-left: 0;
    }
}

@media (max-width: 600px) {

    .tab-category-grid,
    .tab-product-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .tab-product-grid {
        gap: 12px;
    }

    .tab-why__grid {
        grid-template-columns: 1fr;
    }

    .tab-why__grid article {
        padding: 20px;
    }

    .tab-why__grid article + article {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.16);
    }
}


/* =========================================================
   HOW IT WORKS
   ========================================================= */

.tab-how__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
    margin-top: 48px;
}

.tab-how__grid::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: var(--tab-aqua);
}

.tab-how__grid article {
    position: relative;
    z-index: 2;
    text-align: center;
}

.tab-how__grid article > span {
    display: grid;
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    place-items: center;
    border: 5px solid #fff;
    border-radius: 50%;
    background: var(--tab-teal);
    box-shadow: 0 0 0 1px var(--tab-aqua);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.tab-how__grid h3 {
    margin: 0 0 8px;
    color: var(--tab-navy);
    font-size: 17px;
}

.tab-how__grid p {
    max-width: 230px;
    margin: auto;
    color: var(--tab-slate);
    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   TURN YOUR PASSION INTO INCOME
   ========================================================= */

.tab-income {
    padding: 18px 0 72px;
}

.tab-income__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    min-height: 330px;
    overflow: hidden;
    border-radius: var(--tab-radius-lg);
    background:
        radial-gradient(
            circle at 82% 35%,
            rgba(120,200,216,.24),
            transparent 30%
        ),
        linear-gradient(
            110deg,
            #071B3D 0%,
            #07516D 62%,
            #1687A3 100%
        );
    box-shadow: var(--tab-shadow);
}

.tab-income__inner > div:first-child {
    position: relative;
    z-index: 2;
    padding: 62px 70px;
}

.tab-eyebrow--light {
    color: var(--tab-aqua);
}

.tab-income h2 {
    max-width: 600px;
    margin: 10px 0 18px;
    color: #fff;
    font-size: clamp(38px,4vw,60px);
    line-height: 1;
    letter-spacing: -.035em;
}

.tab-income h2 span {
    display: block;
    color: var(--tab-aqua);
}

.tab-income p {
    max-width: 510px;
    margin: 0 0 26px;
    color: rgba(255,255,255,.78);
    font-size: 16px;
    line-height: 1.7;
}

.tab-button--white {
    border-color: #fff;
    background: #fff;
    color: var(--tab-navy);
}

.tab-button--white:hover {
    border-color: var(--tab-soft);
    background: var(--tab-soft);
    color: var(--tab-teal-dark);
}

.tab-income__quote {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
    color: rgba(255,255,255,.12);
    font-size: clamp(52px,6vw,88px);
    font-weight: 900;
    line-height: .82;
    letter-spacing: -.05em;
}

.tab-income__quote strong:nth-child(2) {
    color: rgba(120,200,216,.22);
}

.tab-income__quote strong:nth-child(3) {
    color: rgba(255,255,255,.18);
}


/* =========================================================
   FINAL RESPONSIVE RULES
   ========================================================= */

@media (max-width: 900px) {

    .tab-how__grid {
        grid-template-columns: repeat(2,1fr);
        gap: 42px 25px;
    }

    .tab-how__grid::before {
        display: none;
    }

    .tab-income__inner {
        grid-template-columns: 1fr;
    }

    .tab-income__quote {
        display: none;
    }
}

@media (max-width: 600px) {

    .tab-how__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tab-income {
        padding-bottom: 45px;
    }

    .tab-income__inner {
        min-height: 0;
    }

    .tab-income__inner > div:first-child {
        padding: 42px 28px;
    }

    .tab-income h2 {
        font-size: 40px;
    }
}


/* =========================================================
   APPROVED HOMEPAGE — FULL WIDTH CANVAS
   ========================================================= */

body.page-id-2278 .page-heading,
body.page-id-2278 .page-title,
body.page-id-2278 .breadcrumbs {
    display: none !important;
}

body.page-id-2278 .content-page,
body.page-id-2278 .page-content,
body.page-id-2278 .site-content,
body.page-id-2278 .container.content-page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.page-id-2278 .content-page > .container,
body.page-id-2278 .site-content > .container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.page-id-2278 .content {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
}

body.page-id-2278 .sidebar {
    display: none !important;
}

body.page-id-2278 .tab-new-home {
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: hidden;
}

body.page-id-2278 .tab-container {
    width: min(calc(100% - 80px), 1440px);
    max-width: 1440px;
    margin-inline: auto;
}

/* Full-bleed major visual bands */

body.page-id-2278 .tab-hero,
body.page-id-2278 .tab-why,
body.page-id-2278 .tab-income {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Approved tighter homepage rhythm */

body.page-id-2278 .tab-section {
    padding-top: 52px;
    padding-bottom: 52px;
}

body.page-id-2278 .tab-why {
    border-radius: 0;
}

@media (max-width: 1024px) {

    body.page-id-2278 .tab-container {
        width: min(calc(100% - 48px), 1440px);
    }
}

@media (max-width: 767px) {

    body.page-id-2278 .tab-container {
        width: min(calc(100% - 28px), 1440px);
    }
}


/* =========================================================
   APPROVED HOME — HEADER + HERO REFINEMENT
   ========================================================= */

/* Header */
body.page-id-2278 .header-main {
    background: rgba(255,255,255,.96) !important;
}

body.page-id-2278 .main-header {
    box-shadow: none !important;
    border-bottom: 1px solid rgba(220,233,238,.7);
}

body.page-id-2278 .header-wrapper {
    position: relative;
    z-index: 50;
}

/* Hero */
body.page-id-2278 .tab-hero {
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 42px 0 38px;
    background:
        radial-gradient(
            circle at 86% 28%,
            rgba(120,200,216,.18),
            transparent 26%
        ),
        linear-gradient(
            105deg,
            #ffffff 0%,
            #ffffff 48%,
            #f3f9fb 100%
        );
}

body.page-id-2278 .tab-hero__grid {
    grid-template-columns:
        minmax(430px,.88fr)
        minmax(520px,1.12fr);
    gap: 55px;
}

body.page-id-2278 .tab-hero h1 {
    max-width: 670px;
    margin-top: 10px;
    font-size: clamp(54px,5vw,76px);
}

body.page-id-2278 .tab-hero__lead {
    max-width: 570px;
}

body.page-id-2278 .tab-hero__visual {
    min-height: 500px;
}

/* Larger book composition */

body.page-id-2278 .tab-hero__book-stack {
    width: min(570px,92%);
}

body.page-id-2278 .tab-book {
    min-height: 68px;
    padding-inline: 32px;
    font-size: 20px;
}

/* Badge */

body.page-id-2278 .tab-read-share {
    top: 38px;
    right: 4%;
    width: 100px;
    height: 100px;
}

/* Trust indicators */

body.page-id-2278 .tab-trust-row {
    padding-top: 4px;
    font-weight: 600;
}

/* Why section immediately follows hero */

body.page-id-2278 .tab-why {
    padding: 48px 0 50px;
}

body.page-id-2278 .tab-why .tab-section-heading {
    margin-bottom: 30px;
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1600px) {

    body.page-id-2278 .tab-container {
        max-width: 1520px;
    }

    body.page-id-2278 .tab-hero {
        min-height: 650px;
    }

    body.page-id-2278 .tab-hero__grid {
        grid-template-columns: .9fr 1.1fr;
        gap: 80px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    body.page-id-2278 .tab-hero {
        min-height: auto;
    }

    body.page-id-2278 .tab-hero__grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    body.page-id-2278 .tab-book {
        min-height: 54px;
        font-size: 15px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    body.page-id-2278 .tab-hero {
        padding: 38px 0 28px;
    }

    body.page-id-2278 .tab-hero__grid {
        grid-template-columns: 1fr;
    }

    body.page-id-2278 .tab-hero h1 {
        font-size: clamp(44px,13vw,60px);
    }

    body.page-id-2278 .tab-hero__visual {
        min-height: 330px;
    }

    body.page-id-2278 .tab-hero__book-stack {
        width: 92%;
    }
}


/* =========================================================
   STAGE 3B — OFFICIAL HERO ASSETS
   ========================================================= */

/* TOP HERO — official uploaded visual */
body.page-id-2278 .tab-hero {
    position: relative;
    min-height: 620px;
    padding: 55px 0 45px;

    background-image:
        linear-gradient(
            90deg,
            rgba(255,255,255,.99) 0%,
            rgba(255,255,255,.97) 35%,
            rgba(255,255,255,.70) 51%,
            rgba(255,255,255,.08) 69%,
            rgba(255,255,255,0) 100%
        ),
        url("https://thinkaboutbooks.com/wp-content/uploads/2026/09/think-about-books-hero-landing.png");

    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/*
 * The photograph already contains the books/cup/plant.
 * Remove temporary CSS-generated book artwork.
 */
body.page-id-2278 .tab-hero__visual {
    min-height: 500px;
    pointer-events: none;
}

body.page-id-2278 .tab-hero__book-stack,
body.page-id-2278 .tab-read-share,
body.page-id-2278 .tab-hero__visual::before {
    display: none !important;
}

/* Keep real HTML copy comfortably inside photo's blank area */
body.page-id-2278 .tab-hero__grid {
    grid-template-columns: minmax(480px, 650px) 1fr;
    gap: 20px;
}

body.page-id-2278 .tab-hero__content {
    position: relative;
    z-index: 3;
}

body.page-id-2278 .tab-hero h1 {
    max-width: 650px;
}

body.page-id-2278 .tab-hero__lead {
    max-width: 530px;
}


/* =========================================================
   MID-PAGE INCOME HERO — official uploaded visual
   ========================================================= */

body.page-id-2278 .tab-income__inner {
    min-height: 340px;

    background-image:
        url("https://thinkaboutbooks.com/wp-content/uploads/2026/09/mid-page-hero-photo.png");

    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/*
 * Text is real HTML on top of the image.
 * The left side of the asset was intentionally prepared
 * for this content.
 */
body.page-id-2278 .tab-income__inner > div:first-child {
    max-width: 650px;
    padding: 64px 70px;
}

body.page-id-2278 .tab-income__quote {
    display: none !important;
}

body.page-id-2278 .tab-income h2 {
    color: #fff;
}

body.page-id-2278 .tab-income h2 span {
    color: #fff;
}

body.page-id-2278 .tab-income p {
    color: rgba(255,255,255,.90);
}


/* =========================================================
   HERO RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    body.page-id-2278 .tab-hero {
        min-height: 570px;
        background-position: 60% center;
    }

    body.page-id-2278 .tab-hero__grid {
        grid-template-columns: minmax(420px, 58%) 1fr;
    }

    body.page-id-2278 .tab-hero__visual {
        min-height: 440px;
    }
}

@media (max-width: 767px) {

    body.page-id-2278 .tab-hero {
        min-height: auto;
        padding: 42px 0 300px;

        background-image:
            linear-gradient(
                180deg,
                rgba(255,255,255,1) 0%,
                rgba(255,255,255,.98) 48%,
                rgba(255,255,255,.20) 72%,
                rgba(255,255,255,0) 100%
            ),
            url("https://thinkaboutbooks.com/wp-content/uploads/2026/09/think-about-books-hero-landing.png");

        background-position: 70% bottom;
        background-size: auto 100%;
    }

    body.page-id-2278 .tab-hero__grid {
        display: block;
    }

    body.page-id-2278 .tab-hero__visual {
        display: none;
    }

    body.page-id-2278 .tab-income__inner {
        min-height: 420px;
        background-position: 68% center;
    }

    body.page-id-2278 .tab-income__inner > div:first-child {
        padding: 42px 28px;
        background:
            linear-gradient(
                90deg,
                rgba(7,27,61,.92),
                rgba(7,27,61,.58) 70%,
                transparent
            );
    }
}


/* =========================================================
   MID-PAGE HERO — WIDER APPROVED LAYOUT
   ========================================================= */

/*
 * Allow the income banner to break out of the normal
 * 1440px content container while preserving side breathing room.
 */

body.page-id-2278 .tab-income > .tab-container {
    width: 94vw !important;
    max-width: 1800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Larger, more cinematic banner */

body.page-id-2278 .tab-income__inner {
    width: 100%;
    min-height: 380px;
    border-radius: 22px;

    background-image:
        url("https://thinkaboutbooks.com/wp-content/uploads/2026/09/mid-page-hero-photo.png");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Keep copy aligned to the prepared blue area */

body.page-id-2278 .tab-income__inner > div:first-child {
    width: 48%;
    max-width: 720px;
    padding: 70px 72px;
}

/* Give heading a better proportion inside wider banner */

body.page-id-2278 .tab-income h2 {
    max-width: 600px;
    font-size: clamp(44px, 4vw, 66px);
}

body.page-id-2278 .tab-income p {
    max-width: 520px;
}


/* Large screens */

@media (min-width: 1600px) {

    body.page-id-2278 .tab-income > .tab-container {
        width: 92vw !important;
        max-width: 1900px !important;
    }

    body.page-id-2278 .tab-income__inner {
        min-height: 400px;
    }
}


/* Tablet */

@media (max-width: 1024px) {

    body.page-id-2278 .tab-income > .tab-container {
        width: calc(100% - 48px) !important;
    }

    body.page-id-2278 .tab-income__inner > div:first-child {
        width: 58%;
        padding: 55px 45px;
    }
}


/* Mobile */

@media (max-width: 767px) {

    body.page-id-2278 .tab-income > .tab-container {
        width: calc(100% - 28px) !important;
    }

    body.page-id-2278 .tab-income__inner {
        min-height: 460px;
        background-position: 65% center;
    }

    body.page-id-2278 .tab-income__inner > div:first-child {
        width: 100%;
        max-width: none;
        padding: 40px 28px;

        background:
            linear-gradient(
                90deg,
                rgba(7,27,61,.94) 0%,
                rgba(7,27,61,.76) 55%,
                rgba(7,27,61,.20) 100%
            );
    }

    body.page-id-2278 .tab-income h2 {
        max-width: 340px;
        font-size: 42px;
    }
}


/* =========================================================
   MID-PAGE HERO — PRESERVE ORIGINAL 2172 × 319 RATIO
   ========================================================= */

body.page-id-2278 .tab-income {
    padding: 18px 0 55px;
}

body.page-id-2278 .tab-income > .tab-container {
    width: 94vw !important;
    max-width: 2172px !important;
    margin-inline: auto !important;
}

/*
 * Original production asset:
 * 2172 × 319 = 6.8088:1
 */
body.page-id-2278 .tab-income__inner {
    width: 100% !important;
    min-height: 0 !important;
    aspect-ratio: 2172 / 319;

    border-radius: 18px;

    background-image:
        url("https://thinkaboutbooks.com/wp-content/uploads/2026/09/mid-page-hero-photo.png");

    background-size: 100% 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/*
 * Keep HTML content inside the blue portion,
 * without forcing the banner taller.
 */
body.page-id-2278 .tab-income__inner > div:first-child {
    width: 43% !important;
    max-width: none !important;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        clamp(18px,2vw,38px)
        clamp(30px,4vw,72px) !important;
}

body.page-id-2278 .tab-income h2 {
    margin: 5px 0 10px;
    font-size: clamp(28px,2.6vw,48px);
    line-height: 1;
}

body.page-id-2278 .tab-income p {
    margin-bottom: 15px;
    font-size: clamp(12px,.95vw,16px);
    line-height: 1.45;
}

body.page-id-2278 .tab-income .tab-button {
    align-self: flex-start;
    min-height: 40px;
    padding: 0 22px;
    font-size: 13px;
}


/* Tablet — still preserve ratio */

@media (max-width: 1024px) {

    body.page-id-2278 .tab-income > .tab-container {
        width: calc(100% - 40px) !important;
    }

    body.page-id-2278 .tab-income__inner {
        aspect-ratio: 2172 / 319;
    }

    body.page-id-2278 .tab-income__inner > div:first-child {
        width: 48% !important;
        padding: 15px 28px !important;
    }
}


/*
 * Mobile is the only breakpoint where the ultra-wide
 * desktop ratio becomes impractical, so it becomes
 * a deliberately composed mobile banner.
 */
@media (max-width: 767px) {

    body.page-id-2278 .tab-income > .tab-container {
        width: calc(100% - 28px) !important;
    }

    body.page-id-2278 .tab-income__inner {
        aspect-ratio: auto;
        min-height: 360px !important;

        background-size: cover !important;
        background-position: 65% center !important;
    }

    body.page-id-2278 .tab-income__inner > div:first-child {
        width: 100% !important;
        padding: 35px 25px !important;
    }
}


/* =========================================================
   APPROVED MID-PAGE HERO COPY — 2172 × 319
   ========================================================= */

body.page-id-2278 .tab-income__inner {
    aspect-ratio: 2172 / 319 !important;
    min-height: 0 !important;
    background-size: 100% 100% !important;
    background-position: center !important;
}

body.page-id-2278 .tab-income__inner > div:first-child {
    width: 47% !important;
    max-width: none !important;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding:
        clamp(18px,1.8vw,36px)
        clamp(36px,4.5vw,90px) !important;

    background: none !important;
}

body.page-id-2278 .tab-income .tab-eyebrow {
    margin: 0 0 8px !important;
    color: rgba(255,255,255,.92) !important;

    font-family: var(--tab-font-ui, Arial, sans-serif) !important;
    font-size: clamp(10px,.72vw,14px) !important;
    font-weight: 800 !important;

    line-height: 1.2 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase;
}

body.page-id-2278 .tab-income h2 {
    max-width: none !important;
    margin: 0 0 10px !important;

    color: #fff !important;

    font-family: var(--tab-font-ui, Arial, sans-serif) !important;
    font-size: clamp(27px,2.45vw,48px) !important;
    font-weight: 800 !important;

    line-height: 1.04 !important;
    letter-spacing: -.035em !important;

    white-space: nowrap;
}

body.page-id-2278 .tab-income h2 span {
    display: inline !important;
    color: inherit !important;
}

body.page-id-2278 .tab-income p {
    max-width: none !important;
    margin: 0 0 16px !important;

    color: rgba(255,255,255,.96) !important;

    font-family: var(--tab-font-ui, Arial, sans-serif) !important;
    font-size: clamp(11px,1vw,18px) !important;
    font-weight: 500 !important;

    line-height: 1.35 !important;
}

body.page-id-2278 .tab-income .tab-button--white {
    min-width: clamp(180px,17vw,300px);
    min-height: clamp(38px,3vw,54px);

    padding: 0 24px !important;

    border: 2px solid rgba(120,200,216,.80) !important;
    border-radius: 9px !important;

    background: #fff !important;
    color: #086B85 !important;

    font-family: var(--tab-font-ui, Arial, sans-serif) !important;
    font-size: clamp(11px,.85vw,15px) !important;
    font-weight: 800 !important;

    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(7,27,61,.10);
}

body.page-id-2278 .tab-income .tab-button--white:hover {
    background: #EAF5F7 !important;
    border-color: #78C8D8 !important;
    color: #071B3D !important;
}


/* Keep the desktop banner shallow and faithful to source */

@media (min-width: 768px) {

    body.page-id-2278 .tab-income__inner > div:first-child {
        height: 100%;
    }
}


/* Mobile requires a separate readable composition */

@media (max-width: 767px) {

    body.page-id-2278 .tab-income__inner {
        aspect-ratio: auto !important;
        min-height: 360px !important;

        background-size: cover !important;
        background-position: 64% center !important;
    }

    body.page-id-2278 .tab-income__inner > div:first-child {
        width: 100% !important;
        min-height: 360px;
        padding: 34px 25px !important;

        background:
            linear-gradient(
                90deg,
                rgba(7,27,61,.94) 0%,
                rgba(7,27,61,.74) 55%,
                rgba(7,27,61,.12) 100%
            ) !important;
    }

    body.page-id-2278 .tab-income h2 {
        max-width: 310px !important;
        font-size: 36px !important;
        white-space: normal;
    }

    body.page-id-2278 .tab-income p {
        max-width: 290px !important;
        font-size: 14px !important;
    }

    body.page-id-2278 .tab-income p br {
        display: none;
    }
}


/* =========================================================
   THINK ABOUT BOOKS — APPROVED FOOTER
   ========================================================= */

/* Hide imported XStore demo footer on preview homepage only */
body.page-id-2278 > .template-container > footer,
body.page-id-2278 .footer:not(.tab-site-footer),
body.page-id-2278 .footer-widgets:not(.tab-site-footer),
body.page-id-2278 .footer-bottom:not(.tab-site-footer) {
    display: none !important;
}

body.page-id-2278 .tab-site-footer {
    width: 100%;
    margin: 0;
    font-family: var(--tab-font-ui, Arial, sans-serif);
}

body.page-id-2278 .tab-footer-container {
    width: min(calc(100% - 80px), 1440px);
    margin-inline: auto;
}


/* Newsletter */

body.page-id-2278 .tab-newsletter {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background:
        linear-gradient(
            100deg,
            #07516D 0%,
            #086B85 55%,
            #1687A3 100%
        );
}

body.page-id-2278 .tab-newsletter__inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

body.page-id-2278 .tab-newsletter__intro {
    display: flex;
    align-items: center;
    gap: 17px;
    color: #fff;
}

body.page-id-2278 .tab-newsletter__icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    font-size: 20px;
}

body.page-id-2278 .tab-newsletter__intro strong {
    display: block;
    margin-bottom: 2px;
    color: #fff;
    font-size: 16px;
}

body.page-id-2278 .tab-newsletter__intro small {
    display: block;
    color: rgba(255,255,255,.78);
    font-size: 12px;
}

body.page-id-2278 .tab-newsletter__form {
    width: min(520px,48%);
    display: grid;
    grid-template-columns: 1fr 145px;
    gap: 10px;
}

body.page-id-2278 .tab-newsletter__form input {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 7px;
    background: #fff;
    color: #071B3D;
    outline: none;
}

body.page-id-2278 .tab-newsletter__form button {
    height: 44px;
    border: 0;
    border-radius: 7px;
    background: #19A1C0;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}


/* Main footer */

body.page-id-2278 .tab-footer-main {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 30px 0 25px;
    background: #fff;
}

body.page-id-2278 .tab-footer-grid {
    display: grid;
    grid-template-columns:
        1.45fr
        repeat(4,.75fr)
        1.1fr;
    gap: 42px;
    align-items: start;
}

body.page-id-2278 .tab-footer-brand img {
    width: 185px;
    height: auto;
    display: block;
}

body.page-id-2278 .tab-footer-social {
    display: flex;
    gap: 9px;
    margin-top: 18px;
}

body.page-id-2278 .tab-footer-social a {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid #DCE9EE;
    border-radius: 50%;
    color: #607086;
    font-size: 12px;
    text-decoration: none;
}

body.page-id-2278 .tab-footer-column h3 {
    margin: 0 0 12px;
    color: #071B3D;
    font-family: var(--tab-font-ui, Arial, sans-serif) !important;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

body.page-id-2278 .tab-footer-column a {
    display: block;
    margin-bottom: 7px;
    color: #607086;
    font-size: 12px;
    line-height: 1.25;
    text-decoration: none;
}

body.page-id-2278 .tab-footer-column a:hover {
    color: #1687A3;
}

body.page-id-2278 .tab-footer-meta {
    color: #607086;
    font-size: 11px;
}

body.page-id-2278 .tab-footer-meta small {
    display: block;
    line-height: 1.5;
}

body.page-id-2278 .tab-payment-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 12px;
}

body.page-id-2278 .tab-payment-labels span {
    color: #1687A3;
    font-size: 10px;
    font-weight: 900;
}

body.page-id-2278 .tab-footer-meta strong {
    color: #607086;
    font-size: 11px;
    font-weight: 600;
}

body.page-id-2278 .tab-footer-meta b {
    color: #D73B52;
}


/* Tablet */

@media (max-width: 1100px) {

    body.page-id-2278 .tab-footer-grid {
        grid-template-columns: 1.4fr repeat(2,1fr);
        gap: 35px;
    }

    body.page-id-2278 .tab-footer-meta {
        grid-column: auto;
    }
}


/* Mobile */

@media (max-width: 767px) {

    body.page-id-2278 .tab-footer-container {
        width: calc(100% - 30px);
    }

    body.page-id-2278 .tab-newsletter__inner {
        padding: 24px 0;
        flex-direction: column;
        align-items: stretch;
    }

    body.page-id-2278 .tab-newsletter__form {
        width: 100%;
        grid-template-columns: 1fr;
    }

    body.page-id-2278 .tab-footer-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 30px 20px;
    }

    body.page-id-2278 .tab-footer-brand,
    body.page-id-2278 .tab-footer-meta {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   TESTIMONIALS + BLOG — APPROVED HOME
   ========================================================= */

body.page-id-2278 .tab-section-heading--compact {
    margin-bottom: 18px;
}

body.page-id-2278 .tab-section-heading--compact > span {
    margin-bottom: 2px;
    font-size: 10px;
}

body.page-id-2278 .tab-section-heading--compact h2 {
    font-size: clamp(27px,2.2vw,38px);
}


/* Testimonials */

body.page-id-2278 .tab-social-proof {
    padding: 12px 0 24px;
    background: #fff;
}

body.page-id-2278 .tab-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
}

body.page-id-2278 .tab-testimonial-card {
    position: relative;
    min-height: 125px;
    padding: 22px 25px 20px 68px;

    border: 1px solid #E5EEF2;
    border-radius: 10px;

    background: #fff;

    box-shadow:
        0 8px 25px rgba(7,27,61,.07);
}

body.page-id-2278 .tab-testimonial-quote {
    position: absolute;
    top: 13px;
    left: 23px;

    color: #1687A3;

    font-family: Georgia,serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

body.page-id-2278 .tab-testimonial-stars {
    margin-bottom: 5px;

    color: #F39A27;

    font-size: 14px;
    letter-spacing: 2px;
}

body.page-id-2278 .tab-testimonial-card p {
    margin: 0 0 5px;

    color: #071B3D;

    font-size: 13px;
    line-height: 1.35;
}

body.page-id-2278 .tab-testimonial-card strong {
    color: #071B3D;
    font-size: 12px;
}


/* Blog */

body.page-id-2278 .tab-home-blog {
    padding: 8px 0 28px;
    background: #fff;
}

body.page-id-2278 .tab-home-blog-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
}

body.page-id-2278 .tab-home-blog-card {
    position: relative;

    min-height: 150px;
    overflow: hidden;

    border-radius: 9px;

    background-image: var(--tab-blog-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    box-shadow:
        0 8px 22px rgba(7,27,61,.10);
}

body.page-id-2278 .tab-home-blog-card__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4,20,38,.88) 0%,
            rgba(4,20,38,.68) 55%,
            rgba(4,20,38,.30) 100%
        );
}

body.page-id-2278 .tab-home-blog-card__content {
    position: relative;
    z-index: 2;

    display: flex;
    height: 100%;
    min-height: 150px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    padding: 20px 24px;
}

body.page-id-2278 .tab-home-blog-card__category {
    display: inline-flex;

    margin-bottom: 10px;
    padding: 4px 12px;

    border-radius: 4px;

    background: #1687A3;
    color: #fff;

    font-size: 10px;
    font-weight: 800;

    line-height: 1;
    text-transform: uppercase;
}

body.page-id-2278 .tab-home-blog-card h3 {
    max-width: 330px;

    margin: 0 0 8px;

    color: #fff !important;

    font-family:
        var(--tab-font-ui,Arial,sans-serif) !important;

    font-size: 18px;
    font-weight: 700;
    line-height: 1.15;
}

body.page-id-2278 .tab-home-blog-card a {
    color: #43C3DF;

    font-size: 11px;
    font-weight: 800;

    text-decoration: none;
}

body.page-id-2278 .tab-home-blog__action {
    margin-top: 14px;
    text-align: center;
}

body.page-id-2278 .tab-home-blog__action .tab-button {
    min-height: 36px;
    padding: 0 22px;
    font-size: 11px;
}


/* Tablet */

@media (max-width: 900px) {

    body.page-id-2278 .tab-testimonials-grid {
        grid-template-columns: 1fr;
    }

    body.page-id-2278 .tab-home-blog-grid {
        grid-template-columns: 1fr;
    }

    body.page-id-2278 .tab-home-blog-card {
        min-height: 180px;
    }
}


/* Mobile */

@media (max-width: 600px) {

    body.page-id-2278 .tab-testimonial-card {
        padding: 20px 20px 18px 58px;
    }

    body.page-id-2278 .tab-home-blog-card__content {
        min-height: 170px;
        padding: 22px;
    }

    body.page-id-2278 .tab-home-blog-card h3 {
        font-size: 18px;
    }
}


/* =========================================================
   APPROVED CATEGORY + TRENDING COMMERCE SECTION
   ========================================================= */

/* Bring both areas into one visual composition */

body.page-id-2278 .tab-categories {
    padding-top: 30px !important;
    padding-bottom: 12px !important;

    background:
        radial-gradient(
            circle at 0 35%,
            rgba(120,200,216,.12),
            transparent 18%
        ),
        radial-gradient(
            circle at 100% 25%,
            rgba(120,200,216,.12),
            transparent 18%
        ),
        #fff !important;
}

body.page-id-2278 .tab-categories .tab-section-heading {
    margin-bottom: 22px !important;
}

body.page-id-2278 .tab-categories .tab-section-heading h2 {
    font-size: clamp(30px,2.5vw,42px) !important;
}


/* =========================================================
   CATEGORY TILES
   ========================================================= */

body.page-id-2278 .tab-category-grid {
    max-width: 1360px;
    margin: 0 auto;

    display: grid !important;
    grid-template-columns: repeat(6,1fr) !important;
    gap: 16px !important;
}

body.page-id-2278 .tab-category-card {
    min-height: 118px !important;

    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border: 1px solid #E4EDF1 !important;
    border-radius: 9px !important;

    background: #fff !important;

    box-shadow:
        0 5px 18px rgba(7,27,61,.055) !important;

    transform: none !important;
}

body.page-id-2278 .tab-category-card:hover {
    border-color: #78C8D8 !important;

    box-shadow:
        0 8px 22px rgba(7,27,61,.09) !important;

    transform: translateY(-2px) !important;
}


/* Compact icon area */

body.page-id-2278 .tab-category-card__image {
    width: 100% !important;
    height: 72px !important;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #F3F9FB !important;
}


/*
 * Existing category images become compact icons rather
 * than filling the whole tile.
 */

body.page-id-2278 .tab-category-card__image img {
    width: 58px !important;
    height: 58px !important;

    max-width: 58px !important;

    object-fit: contain !important;

    border-radius: 0 !important;
}

body.page-id-2278 .tab-category-card strong {
    padding: 9px 8px 0 !important;

    color: #071B3D !important;

    font-family:
        var(--tab-font-ui,Arial,sans-serif) !important;

    font-size: 13px !important;
    font-weight: 700 !important;

    line-height: 1.15;
}

body.page-id-2278 .tab-category-card small {
    padding: 2px 8px 10px !important;

    color: #607086 !important;

    font-size: 10px !important;
}


/* View All button */

body.page-id-2278 .tab-categories .tab-center-action {
    margin-top: 17px !important;
    margin-bottom: 0 !important;
}

body.page-id-2278 .tab-categories .tab-button {
    min-height: 38px !important;
    padding: 0 25px !important;

    background: #1687A3 !important;
    border-color: #1687A3 !important;
    color: #fff !important;

    font-size: 11px !important;
    text-transform: uppercase;
}


/* =========================================================
   TRENDING BOOKS
   ========================================================= */

body.page-id-2278 .tab-trending {
    position: relative;

    padding-top: 10px !important;
    padding-bottom: 38px !important;

    background:
        linear-gradient(
            180deg,
            #fff 0%,
            #F5FAFC 38%,
            #fff 100%
        ) !important;
}

body.page-id-2278 .tab-trending .tab-section-heading {
    margin-bottom: 22px !important;
}

body.page-id-2278 .tab-trending .tab-section-heading > span {
    margin-bottom: 2px !important;
}

body.page-id-2278 .tab-trending .tab-section-heading h2 {
    font-size: clamp(30px,2.5vw,42px) !important;
}


/* Products become open merchandising items, not cards */

body.page-id-2278 .tab-product-grid {
    position: relative;

    max-width: 1500px;
    margin: 0 auto;

    display: grid !important;
    grid-template-columns: repeat(6,minmax(0,1fr)) !important;

    gap: clamp(28px,3vw,58px) !important;

    align-items: start;
}

body.page-id-2278 .tab-product-card {
    overflow: visible !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    box-shadow: none !important;

    transform: none !important;
}

body.page-id-2278 .tab-product-card:hover {
    box-shadow: none !important;
    transform: translateY(-3px) !important;
}


/* Book cover */

body.page-id-2278 .tab-product-card__image {
    width: 100% !important;

    height: 270px !important;
    aspect-ratio: auto !important;

    display: flex !important;
    align-items: flex-end;
    justify-content: center;

    padding: 0 !important;

    background: transparent !important;
}

body.page-id-2278 .tab-product-card__image img {
    width: auto !important;
    height: 250px !important;

    max-width: 100% !important;

    object-fit: contain !important;

    filter:
        drop-shadow(
            0 8px 8px rgba(7,27,61,.10)
        );
}


/* Product information */

body.page-id-2278 .tab-product-card__body {
    padding: 12px 0 0 !important;
}

body.page-id-2278 .tab-product-card h3 {
    min-height: 38px !important;

    margin: 0 0 3px !important;

    font-family:
        var(--tab-font-ui,Arial,sans-serif) !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    line-height: 1.18 !important;
}

body.page-id-2278 .tab-product-card h3 a {
    color: #071B3D !important;
}

body.page-id-2278 .tab-product-card__rating {
    margin: 6px 0 2px !important;

    color: #F39A27 !important;

    font-size: 11px !important;
    letter-spacing: 1px !important;
}

body.page-id-2278 .tab-product-card__price {
    color: #1687A3 !important;

    font-size: 15px !important;
    font-weight: 800 !important;
}


/* =========================================================
   APPROVED CAROUSEL ARROWS — VISUAL
   ========================================================= */

body.page-id-2278 .tab-trending::before,
body.page-id-2278 .tab-trending::after {
    position: absolute;
    z-index: 5;

    top: 54%;

    display: grid;

    width: 42px;
    height: 42px;

    place-items: center;

    border: 1px solid #78C8D8;
    border-radius: 50%;

    background: #fff;

    color: #1687A3;

    font-family: Arial,sans-serif;
    font-size: 27px;
    font-weight: 400;

    box-shadow:
        0 4px 12px rgba(7,27,61,.05);
}

body.page-id-2278 .tab-trending::before {
    content: "‹";
    left: 3.5%;
}

body.page-id-2278 .tab-trending::after {
    content: "›";
    right: 3.5%;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    body.page-id-2278 .tab-category-grid {
        grid-template-columns: repeat(3,1fr) !important;
    }

    body.page-id-2278 .tab-product-grid {
        grid-template-columns: repeat(3,1fr) !important;
        gap: 35px !important;
    }

    body.page-id-2278 .tab-trending::before,
    body.page-id-2278 .tab-trending::after {
        display: none;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    body.page-id-2278 .tab-category-grid {
        grid-template-columns: repeat(2,1fr) !important;
        gap: 10px !important;
    }

    body.page-id-2278 .tab-product-grid {
        grid-template-columns: repeat(2,1fr) !important;
        gap: 28px 18px !important;
    }

    body.page-id-2278 .tab-product-card__image {
        height: 220px !important;
    }

    body.page-id-2278 .tab-product-card__image img {
        height: 205px !important;
    }
}


/* =========================================================
   THINK ABOUT BOOKS — LARGE BRANDED CATEGORY ICONS
   ========================================================= */

/*
 * Hide the small thumbnail artwork.
 * We keep the existing links/category data intact.
 */

body.page-id-2278 .tab-category-card__image img {
    display: none !important;
}


/* Larger branded icon stage */

body.page-id-2278 .tab-category-card__image {
    position: relative;

    height: 96px !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #F3F9FB 0%,
            #EAF5F7 100%
        ) !important;
}


/* Soft circle behind every icon */

body.page-id-2278 .tab-category-card__image::before {
    content: "";

    position: absolute;

    width: 72px;
    height: 72px;

    border-radius: 50%;

    background:
        rgba(120,200,216,.14);

    border:
        1px solid rgba(22,135,163,.12);
}


/* Base icon */

body.page-id-2278 .tab-category-card__image::after {
    position: relative;
    z-index: 2;

    display: grid;

    width: 72px;
    height: 72px;

    place-items: center;

    color: #1687A3;

    font-family:
        "Arial Unicode MS",
        "Segoe UI Symbol",
        Arial,
        sans-serif;

    font-size: 43px;
    font-weight: 400;

    line-height: 1;

    text-align: center;
}


/* ---------------------------------------------------------
   CATEGORY-SPECIFIC ICONS
   Current homepage order:
   1 Cookbook
   2 Children's Book
   3 Comics
   4 Health
   5 History
   6 Business
   --------------------------------------------------------- */


/* Cookbook */

body.page-id-2278
.tab-category-card:nth-child(1)
.tab-category-card__image::after {
    content: "♨";
}


/* Children's Book */

body.page-id-2278
.tab-category-card:nth-child(2)
.tab-category-card__image::after {
    content: "★";
}


/* Comics */

body.page-id-2278
.tab-category-card:nth-child(3)
.tab-category-card__image::after {
    content: "▤";
}


/* Health */

body.page-id-2278
.tab-category-card:nth-child(4)
.tab-category-card__image::after {
    content: "♡";
}


/* History */

body.page-id-2278
.tab-category-card:nth-child(5)
.tab-category-card__image::after {
    content: "⌛";
}


/* Business */

body.page-id-2278
.tab-category-card:nth-child(6)
.tab-category-card__image::after {
    content: "▣";
}


/* ---------------------------------------------------------
   CARD REFINEMENT
   --------------------------------------------------------- */

body.page-id-2278 .tab-category-card {
    min-height: 145px !important;

    border:
        1px solid #DCE9EE !important;

    background:
        #FFFFFF !important;
}

body.page-id-2278 .tab-category-card strong {
    padding-top: 11px !important;

    color: #071B3D !important;

    font-size: 14px !important;
    font-weight: 700 !important;
}

body.page-id-2278 .tab-category-card small {
    color: #607086 !important;
}


/* Hover gives icon stronger TAB identity */

body.page-id-2278
.tab-category-card:hover
.tab-category-card__image::before {
    background:
        rgba(22,135,163,.12);

    border-color:
        rgba(22,135,163,.28);
}

body.page-id-2278
.tab-category-card:hover
.tab-category-card__image::after {
    color: #086B85;
}


/* Small teal accent line */

body.page-id-2278 .tab-category-card::after {
    content: "";

    display: block;

    width: 0;
    height: 3px;

    margin: auto;

    border-radius: 3px;

    background:
        linear-gradient(
            90deg,
            #1687A3,
            #78C8D8
        );

    transition:
        width .22s ease;
}

body.page-id-2278 .tab-category-card:hover::after {
    width: 55%;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 600px) {

    body.page-id-2278 .tab-category-card__image {
        height: 84px !important;
    }

    body.page-id-2278 .tab-category-card__image::before {
        width: 62px;
        height: 62px;
    }

    body.page-id-2278 .tab-category-card__image::after {
        width: 62px;
        height: 62px;

        font-size: 36px;
    }
}


/* =========================================================
   TAB HEADER — FINAL SIZE / LAYOUT CORRECTION
   ========================================================= */

body.page-id-2278 .tab-site-header {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    background: rgba(255,255,255,.98) !important;
}


/* One clean horizontal row */

body.page-id-2278 .tab-header-container {
    width: min(calc(100% - 70px), 1520px) !important;
    height: 92px !important;
    min-height: 92px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    display: grid !important;

    grid-template-columns:
        210px
        minmax(520px,1fr)
        minmax(390px,480px) !important;

    gap: 25px !important;

    align-items: center !important;
}


/* ---------------------------------------------------------
   LOGO — LOCKED SIZE
   --------------------------------------------------------- */

body.page-id-2278 .tab-header-logo {
    width: 190px !important;
    max-width: 190px !important;

    height: auto !important;

    display: block !important;

    margin: 0 !important;
    padding: 0 !important;
}

body.page-id-2278 .tab-header-logo img {
    display: block !important;

    width: 190px !important;
    max-width: 190px !important;

    height: auto !important;
    max-height: 78px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
}


/* Prevent generic theme image rules enlarging it */

body.page-id-2278
.tab-site-header
.tab-header-logo
img {
    min-width: 0 !important;
}


/* ---------------------------------------------------------
   NAVIGATION — SAME ROW
   --------------------------------------------------------- */

body.page-id-2278 .tab-header-nav {
    width: auto !important;

    display: flex !important;
    flex-direction: row !important;

    align-items: center !important;
    justify-content: center !important;

    gap: clamp(20px,2vw,34px) !important;

    margin: 0 !important;
    padding: 0 !important;
}

body.page-id-2278 .tab-header-nav a {
    display: inline-flex !important;
    align-items: center !important;

    height: 92px !important;

    padding: 0 !important;
    margin: 0 !important;

    font-size: 13px !important;

    white-space: nowrap !important;
}

body.page-id-2278 .tab-header-nav a.is-active::after {
    bottom: 24px !important;
}


/* ---------------------------------------------------------
   SEARCH + ACCOUNT + CART
   --------------------------------------------------------- */

body.page-id-2278 .tab-header-actions {
    width: 100% !important;

    display: flex !important;
    flex-direction: row !important;

    align-items: center !important;
    justify-content: flex-end !important;

    gap: 15px !important;

    margin: 0 !important;
    padding: 0 !important;
}

body.page-id-2278 .tab-header-search {
    width: 300px !important;
    max-width: 300px !important;

    margin: 0 !important;
}

body.page-id-2278 .tab-header-search input[type="search"] {
    height: 40px !important;
}

body.page-id-2278 .tab-header-search button {
    height: 40px !important;
}


/* ---------------------------------------------------------
   DESKTOP SAFETY
   --------------------------------------------------------- */

@media (min-width: 1260px) {

    body.page-id-2278 .tab-mobile-menu {
        display: none !important;
    }

    body.page-id-2278 .tab-mobile-menu-toggle {
        display: none !important;
    }
}


/* ---------------------------------------------------------
   MEDIUM DESKTOP
   --------------------------------------------------------- */

@media (max-width: 1259px) and (min-width: 901px) {

    body.page-id-2278 .tab-header-container {
        width: calc(100% - 40px) !important;

        grid-template-columns:
            175px
            minmax(440px,1fr)
            285px !important;

        gap: 15px !important;
    }

    body.page-id-2278 .tab-header-logo,
    body.page-id-2278 .tab-header-logo img {
        width: 165px !important;
        max-width: 165px !important;
    }

    body.page-id-2278 .tab-header-nav {
        gap: 16px !important;
    }

    body.page-id-2278 .tab-header-nav a {
        font-size: 11px !important;
    }

    body.page-id-2278 .tab-header-search {
        width: 210px !important;
    }
}


/* ---------------------------------------------------------
   MOBILE / TABLET
   --------------------------------------------------------- */

@media (max-width: 900px) {

    body.page-id-2278 .tab-header-container {
        width: calc(100% - 28px) !important;

        height: 78px !important;
        min-height: 78px !important;

        display: flex !important;

        align-items: center !important;
        justify-content: space-between !important;
    }

    body.page-id-2278 .tab-header-logo,
    body.page-id-2278 .tab-header-logo img {
        width: 145px !important;
        max-width: 145px !important;
        max-height: 64px !important;
    }

    body.page-id-2278 .tab-header-nav,
    body.page-id-2278 .tab-header-search {
        display: none !important;
    }

    body.page-id-2278 .tab-mobile-menu-toggle {
        display: block !important;
    }
}


/* =========================================================
   TAB HEADER SEARCH — FINAL ALIGNMENT + BRAND COLOR
   ========================================================= */

body.page-id-2278 .tab-header-search {
    width: 330px !important;
    height: 42px !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    border: 1px solid #DCE9EE !important;
    border-radius: 10px !important;

    background: #FFFFFF !important;

    box-shadow:
        0 3px 12px rgba(7,27,61,.05) !important;
}


/* Search field */

body.page-id-2278
.tab-header-search
input[type="search"] {

    flex: 1 1 auto !important;

    width: auto !important;
    min-width: 0 !important;

    height: 42px !important;

    margin: 0 !important;
    padding: 0 15px !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: #FFFFFF !important;

    color: #071B3D !important;

    font-size: 12px !important;
    line-height: 42px !important;

    box-shadow: none !important;
    outline: none !important;
}


/* Search button */

body.page-id-2278
.tab-header-search
button[type="submit"] {

    flex: 0 0 48px !important;

    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;

    height: 42px !important;
    min-height: 42px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: #1687A3 !important;
    color: #FFFFFF !important;

    font-size: 20px !important;
    font-weight: 700 !important;

    line-height: 1 !important;

    box-shadow: none !important;

    transform: none !important;
}


/* Hover = darker logo teal */

body.page-id-2278
.tab-header-search
button[type="submit"]:hover {

    background: #086B85 !important;
    color: #FFFFFF !important;

    transform: none !important;
}


/* Placeholder */

body.page-id-2278
.tab-header-search
input[type="search"]::placeholder {

    color: #8C9AAA !important;
    opacity: 1 !important;
}


/* Medium desktop */

@media (max-width: 1259px) and (min-width: 901px) {

    body.page-id-2278 .tab-header-search {
        width: 220px !important;
    }

    body.page-id-2278
    .tab-header-search
    button[type="submit"] {

        flex-basis: 44px !important;
        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
    }
}


/* =========================================================
   TAB HEADER — FINAL MENU TYPOGRAPHY
   ========================================================= */

@media (min-width: 1260px) {

    body.page-id-2278 .tab-header-nav a {
        font-size: 15px !important;
        font-weight: 600 !important;
        letter-spacing: -.01em !important;
    }

    body.page-id-2278 .tab-header-nav {
        gap: clamp(24px,2vw,38px) !important;
    }
}

@media (max-width: 1259px) and (min-width: 901px) {

    body.page-id-2278 .tab-header-nav a {
        font-size: 12px !important;
        font-weight: 600 !important;
    }
}




/* =========================================================
   TAB GLOBAL APPROVED FOOTER
   ========================================================= */
.tab-site-footer {
    width: 100%;
    margin: 0;
    font-family: var(--tab-font-ui, Arial, sans-serif);
}

.tab-footer-container {
    width: min(calc(100% - 80px), 1440px);
    margin-inline: auto;
}


/* Newsletter */

.tab-newsletter {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background:
        linear-gradient(
            100deg,
            #07516D 0%,
            #086B85 55%,
            #1687A3 100%
        );
}

.tab-newsletter__inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.tab-newsletter__intro {
    display: flex;
    align-items: center;
    gap: 17px;
    color: #fff;
}

.tab-newsletter__icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    font-size: 20px;
}

.tab-newsletter__intro strong {
    display: block;
    margin-bottom: 2px;
    color: #fff;
    font-size: 16px;
}

.tab-newsletter__intro small {
    display: block;
    color: rgba(255,255,255,.78);
    font-size: 12px;
}

.tab-newsletter__form {
    width: min(520px,48%);
    display: grid;
    grid-template-columns: 1fr 145px;
    gap: 10px;
}

.tab-newsletter__form input {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 7px;
    background: #fff;
    color: #071B3D;
    outline: none;
}

.tab-newsletter__form button {
    height: 44px;
    border: 0;
    border-radius: 7px;
    background: #19A1C0;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}


/* Main footer */

.tab-footer-main {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 30px 0 25px;
    background: #fff;
}

.tab-footer-grid {
    display: grid;
    grid-template-columns:
        1.45fr
        repeat(4,.75fr)
        1.1fr;
    gap: 42px;
    align-items: start;
}

.tab-footer-brand img {
    width: 185px;
    height: auto;
    display: block;
}

.tab-footer-social {
    display: flex;
    gap: 9px;
    margin-top: 18px;
}

.tab-footer-social a {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid #DCE9EE;
    border-radius: 50%;
    color: #607086;
    font-size: 12px;
    text-decoration: none;
}

.tab-footer-column h3 {
    margin: 0 0 12px;
    color: #071B3D;
    font-family: var(--tab-font-ui, Arial, sans-serif) !important;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.tab-footer-column a {
    display: block;
    margin-bottom: 7px;
    color: #607086;
    font-size: 12px;
    line-height: 1.25;
    text-decoration: none;
}

.tab-footer-column a:hover {
    color: #1687A3;
}

.tab-footer-meta {
    color: #607086;
    font-size: 11px;
}

.tab-footer-meta small {
    display: block;
    line-height: 1.5;
}

.tab-payment-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 12px;
}

.tab-payment-labels span {
    color: #1687A3;
    font-size: 10px;
    font-weight: 900;
}

.tab-footer-meta strong {
    color: #607086;
    font-size: 11px;
    font-weight: 600;
}

.tab-footer-meta b {
    color: #D73B52;
}


/* Tablet */

@media (max-width: 1100px) {

    .tab-footer-grid {
        grid-template-columns: 1.4fr repeat(2,1fr);
        gap: 35px;
    }

    .tab-footer-meta {
        grid-column: auto;
    }
}


/* Mobile */

@media (max-width: 767px) {

    .tab-footer-container {
        width: calc(100% - 30px);
    }

    .tab-newsletter__inner {
        padding: 24px 0;
        flex-direction: column;
        align-items: stretch;
    }

    .tab-newsletter__form {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .tab-footer-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 30px 20px;
    }

    .tab-footer-brand,
    .tab-footer-meta {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   TESTIMONIALS + BLOG — APPROVED HOME
   ========================================================= */

.tab-section-heading--compact {
    margin-bottom: 18px;
}

.tab-section-heading--compact > span {
    margin-bottom: 2px;
    font-size: 10px;
}

.tab-section-heading--compact h2 {
    font-size: clamp(27px,2.2vw,38px);
}


/* Testimonials */

.tab-social-proof {
    padding: 12px 0 24px;
    background: #fff;
}

.tab-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
}

.tab-testimonial-card {
    position: relative;
    min-height: 125px;
    padding: 22px 25px 20px 68px;

    border: 1px solid #E5EEF2;
    border-radius: 10px;

    background: #fff;

    box-shadow:
        0 8px 25px rgba(7,27,61,.07);
}

.tab-testimonial-quote {
    position: absolute;
    top: 13px;
    left: 23px;

    color: #1687A3;

    font-family: Georgia,serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.tab-testimonial-stars {
    margin-bottom: 5px;

    color: #F39A27;

    font-size: 14px;
    letter-spacing: 2px;
}

.tab-testimonial-card p {
    margin: 0 0 5px;

    color: #071B3D;

    font-size: 13px;
    line-height: 1.35;
}

.tab-testimonial-card strong {
    color: #071B3D;
    font-size: 12px;
}


/* Blog */

.tab-home-blog {
    padding: 8px 0 28px;
    background: #fff;
}

.tab-home-blog-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
}

.tab-home-blog-card {
    position: relative;

    min-height: 150px;
    overflow: hidden;

    border-radius: 9px;

    background-image: var(--tab-blog-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    box-shadow:
        0 8px 22px rgba(7,27,61,.10);
}

.tab-home-blog-card__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4,20,38,.88) 0%,
            rgba(4,20,38,.68) 55%,
            rgba(4,20,38,.30) 100%
        );
}

.tab-home-blog-card__content {
    position: relative;
    z-index: 2;

    display: flex;
    height: 100%;
    min-height: 150px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    padding: 20px 24px;
}

.tab-home-blog-card__category {
    display: inline-flex;

    margin-bottom: 10px;
    padding: 4px 12px;

    border-radius: 4px;

    background: #1687A3;
    color: #fff;

    font-size: 10px;
    font-weight: 800;

    line-height: 1;
    text-transform: uppercase;
}

.tab-home-blog-card h3 {
    max-width: 330px;

    margin: 0 0 8px;

    color: #fff !important;

    font-family:
        var(--tab-font-ui,Arial,sans-serif) !important;

    font-size: 18px;
    font-weight: 700;
    line-height: 1.15;
}

.tab-home-blog-card a {
    color: #43C3DF;

    font-size: 11px;
    font-weight: 800;

    text-decoration: none;
}

.tab-home-blog__action {
    margin-top: 14px;
    text-align: center;
}

.tab-home-blog__action .tab-button {
    min-height: 36px;
    padding: 0 22px;
    font-size: 11px;
}


/* Tablet */

@media (max-width: 900px) {

    .tab-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .tab-home-blog-grid {
        grid-template-columns: 1fr;
    }

    .tab-home-blog-card {
        min-height: 180px;
    }
}


/* Mobile */

@media (max-width: 600px) {

    .tab-testimonial-card {
        padding: 20px 20px 18px 58px;
    }

    .tab-home-blog-card__content {
        min-height: 170px;
        padding: 22px;
    }

    .tab-home-blog-card h3 {
        font-size: 18px;
    }
}


/* =========================================================
   APPROVED CATEGORY + TRENDING COMMERCE SECTION
   ========================================================= */

/* Bring both areas into one visual composition */

.tab-categories {
    padding-top: 30px !important;
    padding-bottom: 12px !important;

    background:
        radial-gradient(
            circle at 0 35%,
            rgba(120,200,216,.12),
            transparent 18%
        ),
        radial-gradient(
            circle at 100% 25%,
            rgba(120,200,216,.12),
            transparent 18%
        ),
        #fff !important;
}

.tab-categories .tab-section-heading {
    margin-bottom: 22px !important;
}

.tab-categories .tab-section-heading h2 {
    font-size: clamp(30px,2.5vw,42px) !important;
}


/* =========================================================
   CATEGORY TILES
   ========================================================= */

.tab-category-grid {
    max-width: 1360px;
    margin: 0 auto;

    display: grid !important;
    grid-template-columns: repeat(6,1fr) !important;
    gap: 16px !important;
}

.tab-category-card {
    min-height: 118px !important;

    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border: 1px solid #E4EDF1 !important;
    border-radius: 9px !important;

    background: #fff !important;

    box-shadow:
        0 5px 18px rgba(7,27,61,.055) !important;

    transform: none !important;
}

.tab-category-card:hover {
    border-color: #78C8D8 !important;

    box-shadow:
        0 8px 22px rgba(7,27,61,.09) !important;

    transform: translateY(-2px) !important;
}


/* Compact icon area */

.tab-category-card__image {
    width: 100% !important;
    height: 72px !important;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #F3F9FB !important;
}


/*
 * Existing category images become compact icons rather
 * than filling the whole tile.
 */

.tab-category-card__image img {
    width: 58px !important;
    height: 58px !important;

    max-width: 58px !important;

    object-fit: contain !important;

    border-radius: 0 !important;
}

.tab-category-card strong {
    padding: 9px 8px 0 !important;

    color: #071B3D !important;

    font-family:
        var(--tab-font-ui,Arial,sans-serif) !important;

    font-size: 13px !important;
    font-weight: 700 !important;

    line-height: 1.15;
}

.tab-category-card small {
    padding: 2px 8px 10px !important;

    color: #607086 !important;

    font-size: 10px !important;
}


/* View All button */

.tab-categories .tab-center-action {
    margin-top: 17px !important;
    margin-bottom: 0 !important;
}

.tab-categories .tab-button {
    min-height: 38px !important;
    padding: 0 25px !important;

    background: #1687A3 !important;
    border-color: #1687A3 !important;
    color: #fff !important;

    font-size: 11px !important;
    text-transform: uppercase;
}


/* =========================================================
   TRENDING BOOKS
   ========================================================= */

.tab-trending {
    position: relative;

    padding-top: 10px !important;
    padding-bottom: 38px !important;

    background:
        linear-gradient(
            180deg,
            #fff 0%,
            #F5FAFC 38%,
            #fff 100%
        ) !important;
}

.tab-trending .tab-section-heading {
    margin-bottom: 22px !important;
}

.tab-trending .tab-section-heading > span {
    margin-bottom: 2px !important;
}

.tab-trending .tab-section-heading h2 {
    font-size: clamp(30px,2.5vw,42px) !important;
}


/* Products become open merchandising items, not cards */

.tab-product-grid {
    position: relative;

    max-width: 1500px;
    margin: 0 auto;

    display: grid !important;
    grid-template-columns: repeat(6,minmax(0,1fr)) !important;

    gap: clamp(28px,3vw,58px) !important;

    align-items: start;
}

.tab-product-card {
    overflow: visible !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    box-shadow: none !important;

    transform: none !important;
}

.tab-product-card:hover {
    box-shadow: none !important;
    transform: translateY(-3px) !important;
}


/* Book cover */

.tab-product-card__image {
    width: 100% !important;

    height: 270px !important;
    aspect-ratio: auto !important;

    display: flex !important;
    align-items: flex-end;
    justify-content: center;

    padding: 0 !important;

    background: transparent !important;
}

.tab-product-card__image img {
    width: auto !important;
    height: 250px !important;

    max-width: 100% !important;

    object-fit: contain !important;

    filter:
        drop-shadow(
            0 8px 8px rgba(7,27,61,.10)
        );
}


/* Product information */

.tab-product-card__body {
    padding: 12px 0 0 !important;
}

.tab-product-card h3 {
    min-height: 38px !important;

    margin: 0 0 3px !important;

    font-family:
        var(--tab-font-ui,Arial,sans-serif) !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    line-height: 1.18 !important;
}

.tab-product-card h3 a {
    color: #071B3D !important;
}

.tab-product-card__rating {
    margin: 6px 0 2px !important;

    color: #F39A27 !important;

    font-size: 11px !important;
    letter-spacing: 1px !important;
}

.tab-product-card__price {
    color: #1687A3 !important;

    font-size: 15px !important;
    font-weight: 800 !important;
}


/* =========================================================
   APPROVED CAROUSEL ARROWS — VISUAL
   ========================================================= */

.tab-trending::before,
.tab-trending::after {
    position: absolute;
    z-index: 5;

    top: 54%;

    display: grid;

    width: 42px;
    height: 42px;

    place-items: center;

    border: 1px solid #78C8D8;
    border-radius: 50%;

    background: #fff;

    color: #1687A3;

    font-family: Arial,sans-serif;
    font-size: 27px;
    font-weight: 400;

    box-shadow:
        0 4px 12px rgba(7,27,61,.05);
}

.tab-trending::before {
    content: "‹";
    left: 3.5%;
}

.tab-trending::after {
    content: "›";
    right: 3.5%;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .tab-category-grid {
        grid-template-columns: repeat(3,1fr) !important;
    }

    .tab-product-grid {
        grid-template-columns: repeat(3,1fr) !important;
        gap: 35px !important;
    }

    .tab-trending::before,
    .tab-trending::after {
        display: none;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .tab-category-grid {
        grid-template-columns: repeat(2,1fr) !important;
        gap: 10px !important;
    }

    .tab-product-grid {
        grid-template-columns: repeat(2,1fr) !important;
        gap: 28px 18px !important;
    }

    .tab-product-card__image {
        height: 220px !important;
    }

    .tab-product-card__image img {
        height: 205px !important;
    }
}


/* =========================================================
   THINK ABOUT BOOKS — LARGE BRANDED CATEGORY ICONS
   ========================================================= */

/*
 * Hide the small thumbnail artwork.
 * We keep the existing links/category data intact.
 */

.tab-category-card__image img {
    display: none !important;
}


/* Larger branded icon stage */

.tab-category-card__image {
    position: relative;

    height: 96px !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #F3F9FB 0%,
            #EAF5F7 100%
        ) !important;
}


/* Soft circle behind every icon */

.tab-category-card__image::before {
    content: "";

    position: absolute;

    width: 72px;
    height: 72px;

    border-radius: 50%;

    background:
        rgba(120,200,216,.14);

    border:
        1px solid rgba(22,135,163,.12);
}


/* Base icon */

.tab-category-card__image::after {
    position: relative;
    z-index: 2;

    display: grid;

    width: 72px;
    height: 72px;

    place-items: center;

    color: #1687A3;

    font-family:
        "Arial Unicode MS",
        "Segoe UI Symbol",
        Arial,
        sans-serif;

    font-size: 43px;
    font-weight: 400;

    line-height: 1;

    text-align: center;
}


/* ---------------------------------------------------------
   CATEGORY-SPECIFIC ICONS
   Current homepage order:
   1 Cookbook
   2 Children's Book
   3 Comics
   4 Health
   5 History
   6 Business
   --------------------------------------------------------- */


/* Cookbook */

body.page-id-2278
.tab-category-card:nth-child(1)
.tab-category-card__image::after {
    content: "♨";
}


/* Children's Book */

body.page-id-2278
.tab-category-card:nth-child(2)
.tab-category-card__image::after {
    content: "★";
}


/* Comics */

body.page-id-2278
.tab-category-card:nth-child(3)
.tab-category-card__image::after {
    content: "▤";
}


/* Health */

body.page-id-2278
.tab-category-card:nth-child(4)
.tab-category-card__image::after {
    content: "♡";
}


/* History */

body.page-id-2278
.tab-category-card:nth-child(5)
.tab-category-card__image::after {
    content: "⌛";
}


/* Business */

body.page-id-2278
.tab-category-card:nth-child(6)
.tab-category-card__image::after {
    content: "▣";
}


/* ---------------------------------------------------------
   CARD REFINEMENT
   --------------------------------------------------------- */

.tab-category-card {
    min-height: 145px !important;

    border:
        1px solid #DCE9EE !important;

    background:
        #FFFFFF !important;
}

.tab-category-card strong {
    padding-top: 11px !important;

    color: #071B3D !important;

    font-size: 14px !important;
    font-weight: 700 !important;
}

.tab-category-card small {
    color: #607086 !important;
}


/* Hover gives icon stronger TAB identity */

body.page-id-2278
.tab-category-card:hover
.tab-category-card__image::before {
    background:
        rgba(22,135,163,.12);

    border-color:
        rgba(22,135,163,.28);
}

body.page-id-2278
.tab-category-card:hover
.tab-category-card__image::after {
    color: #086B85;
}


/* Small teal accent line */

.tab-category-card::after {
    content: "";

    display: block;

    width: 0;
    height: 3px;

    margin: auto;

    border-radius: 3px;

    background:
        linear-gradient(
            90deg,
            #1687A3,
            #78C8D8
        );

    transition:
        width .22s ease;
}

.tab-category-card:hover::after {
    width: 55%;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .tab-category-card__image {
        height: 84px !important;
    }

    .tab-category-card__image::before {
        width: 62px;
        height: 62px;
    }

    .tab-category-card__image::after {
        width: 62px;
        height: 62px;

        font-size: 36px;
    }
}


/* =========================================================
   TAB HEADER — FINAL SIZE / LAYOUT CORRECTION
   ========================================================= */

.tab-site-header {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    background: rgba(255,255,255,.98) !important;
}


/* One clean horizontal row */

.tab-header-container {
    width: min(calc(100% - 70px), 1520px) !important;
    height: 92px !important;
    min-height: 92px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    display: grid !important;

    grid-template-columns:
        210px
        minmax(520px,1fr)
        minmax(390px,480px) !important;

    gap: 25px !important;

    align-items: center !important;
}


/* ---------------------------------------------------------
   LOGO — LOCKED SIZE
   --------------------------------------------------------- */

.tab-header-logo {
    width: 190px !important;
    max-width: 190px !important;

    height: auto !important;

    display: block !important;

    margin: 0 !important;
    padding: 0 !important;
}

.tab-header-logo img {
    display: block !important;

    width: 190px !important;
    max-width: 190px !important;

    height: auto !important;
    max-height: 78px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
}


/* Prevent generic theme image rules enlarging it */

body.page-id-2278
.tab-site-header
.tab-header-logo
img {
    min-width: 0 !important;
}


/* ---------------------------------------------------------
   NAVIGATION — SAME ROW
   --------------------------------------------------------- */

.tab-header-nav {
    width: auto !important;

    display: flex !important;
    flex-direction: row !important;

    align-items: center !important;
    justify-content: center !important;

    gap: clamp(20px,2vw,34px) !important;

    margin: 0 !important;
    padding: 0 !important;
}

.tab-header-nav a {
    display: inline-flex !important;
    align-items: center !important;

    height: 92px !important;

    padding: 0 !important;
    margin: 0 !important;

    font-size: 13px !important;

    white-space: nowrap !important;
}

.tab-header-nav a.is-active::after {
    bottom: 24px !important;
}


/* ---------------------------------------------------------
   SEARCH + ACCOUNT + CART
   --------------------------------------------------------- */

.tab-header-actions {
    width: 100% !important;

    display: flex !important;
    flex-direction: row !important;

    align-items: center !important;
    justify-content: flex-end !important;

    gap: 15px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.tab-header-search {
    width: 300px !important;
    max-width: 300px !important;

    margin: 0 !important;
}

.tab-header-search input[type="search"] {
    height: 40px !important;
}

.tab-header-search button {
    height: 40px !important;
}


/* ---------------------------------------------------------
   DESKTOP SAFETY
   --------------------------------------------------------- */

@media (min-width: 1260px) {

    .tab-mobile-menu {
        display: none !important;
    }

    .tab-mobile-menu-toggle {
        display: none !important;
    }
}


/* ---------------------------------------------------------
   MEDIUM DESKTOP
   --------------------------------------------------------- */

@media (max-width: 1259px) and (min-width: 901px) {

    .tab-header-container {
        width: calc(100% - 40px) !important;

        grid-template-columns:
            175px
            minmax(440px,1fr)
            285px !important;

        gap: 15px !important;
    }

    .tab-header-logo,
    .tab-header-logo img {
        width: 165px !important;
        max-width: 165px !important;
    }

    .tab-header-nav {
        gap: 16px !important;
    }

    .tab-header-nav a {
        font-size: 11px !important;
    }

    .tab-header-search {
        width: 210px !important;
    }
}


/* ---------------------------------------------------------
   MOBILE / TABLET
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .tab-header-container {
        width: calc(100% - 28px) !important;

        height: 78px !important;
        min-height: 78px !important;

        display: flex !important;

        align-items: center !important;
        justify-content: space-between !important;
    }

    .tab-header-logo,
    .tab-header-logo img {
        width: 145px !important;
        max-width: 145px !important;
        max-height: 64px !important;
    }

    .tab-header-nav,
    .tab-header-search {
        display: none !important;
    }

    .tab-mobile-menu-toggle {
        display: block !important;
    }
}


/* =========================================================
   TAB HEADER SEARCH — FINAL ALIGNMENT + BRAND COLOR
   ========================================================= */

.tab-header-search {
    width: 330px !important;
    height: 42px !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    border: 1px solid #DCE9EE !important;
    border-radius: 10px !important;

    background: #FFFFFF !important;

    box-shadow:
        0 3px 12px rgba(7,27,61,.05) !important;
}


/* Search field */

body.page-id-2278
.tab-header-search
input[type="search"] {

    flex: 1 1 auto !important;

    width: auto !important;
    min-width: 0 !important;

    height: 42px !important;

    margin: 0 !important;
    padding: 0 15px !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: #FFFFFF !important;

    color: #071B3D !important;

    font-size: 12px !important;
    line-height: 42px !important;

    box-shadow: none !important;
    outline: none !important;
}


/* Search button */

body.page-id-2278
.tab-header-search
button[type="submit"] {

    flex: 0 0 48px !important;

    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;

    height: 42px !important;
    min-height: 42px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: #1687A3 !important;
    color: #FFFFFF !important;

    font-size: 20px !important;
    font-weight: 700 !important;

    line-height: 1 !important;

    box-shadow: none !important;

    transform: none !important;
}


/* Hover = darker logo teal */

body.page-id-2278
.tab-header-search
button[type="submit"]:hover {

    background: #086B85 !important;
    color: #FFFFFF !important;

    transform: none !important;
}


/* Placeholder */

body.page-id-2278
.tab-header-search
input[type="search"]::placeholder {

    color: #8C9AAA !important;
    opacity: 1 !important;
}


/* Medium desktop */

@media (max-width: 1259px) and (min-width: 901px) {

    .tab-header-search {
        width: 220px !important;
    }

    body.page-id-2278
    .tab-header-search
    button[type="submit"] {

        flex-basis: 44px !important;
        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
    }
}


/* =========================================================
   TAB HEADER — FINAL MENU TYPOGRAPHY
   ========================================================= */

@media (min-width: 1260px) {

    .tab-header-nav a {
        font-size: 15px !important;
        font-weight: 600 !important;
        letter-spacing: -.01em !important;
    }

    .tab-header-nav {
        gap: clamp(24px,2vw,38px) !important;
    }
}

@media (max-width: 1259px) and (min-width: 901px) {

    .tab-header-nav a {
        font-size: 12px !important;
        font-weight: 600 !important;
    }
}

