body.page-tips-parents .resources-intro {
            padding: 28px 0 48px;
        }

        /* Letter: two-column editorial layout */
        body.page-tips-parents .letter-editorial {
            padding: 0;
            overflow: hidden;
            border-radius: 16px;
        }
        body.page-tips-parents .letter-editorial::before {
            display: none;
        }
        body.page-tips-parents .letter-hero {
            display: grid;
            gap: 0;
        }
        /* Image on top, text below */
        @media (min-width: 768px) {
            body.page-tips-parents .letter-hero {
                grid-template-columns: 1fr;
                min-height: 0;
            }
        }
        body.page-tips-parents .letter-hero-visual {
            background: linear-gradient(160deg, #dcf5ec 0%, #edf9f4 40%, #f8fcfa 100%);
            padding: 22px 18px 18px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            border-bottom: 1px solid #cce8dc;
        }
        @media (min-width: 768px) {
            body.page-tips-parents .letter-hero-visual {
                border-bottom: 1px solid #cce8dc;
                border-right: none;
            }
        }
        body.page-tips-parents .letter-img-swap {
            width: min(300px, 96%);
            margin: 0 auto 12px;
            border-radius: 14px;
            box-shadow: 0 10px 28px rgba(23, 135, 106, 0.18);
        }
        @media (min-width: 768px) {
            body.page-tips-parents .letter-img-swap {
                width: 100%;
                max-width: none;
            }
        }
        body.page-tips-parents .letter-visual-caption {
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: #17876a;
            opacity: 0.85;
            margin: 0;
        }
        body.page-tips-parents .letter-hero-body {
            padding: 20px 22px 22px;
            position: relative;
        }
        body.page-tips-parents .letter-hero-body::before {
            content: "\201C";
            position: absolute;
            top: 6px;
            right: 16px;
            font-size: 3rem;
            line-height: 1;
            color: rgba(34, 177, 140, 0.12);
            font-family: Georgia, serif;
            pointer-events: none;
        }
        body.page-tips-parents .letter-salute {
            font-weight: 700;
            color: #1f2d28;
            font-size: 1.02rem;
            margin-bottom: 10px;
        }
        body.page-tips-parents .letter-box p {
            font-size: 0.94rem;
            line-height: 1.68;
            margin-bottom: 10px;
        }
        body.page-tips-parents .letter-pullquote {
            margin: 14px 0 12px;
            padding: 12px 16px;
            border: none;
            border-left: 4px solid #22b18c;
            background: linear-gradient(90deg, rgba(34, 177, 140, 0.12) 0%, rgba(34, 177, 140, 0.03) 100%);
            border-radius: 0 12px 12px 0;
            font-weight: 600;
            font-size: 1.02rem;
            color: #147a60;
        }
        body.page-tips-parents .letter-signoff {
            font-size: 0.92rem;
            color: #5a6b64;
            font-style: italic;
        }

        body.page-tips-parents .intro-badge {
            margin-bottom: 12px;
        }

        /* Resource sections */
        body.page-tips-parents .letter-resources-block {
            margin-bottom: 1.6rem;
        }
        body.page-tips-parents .letter-block-title {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.08rem;
            font-weight: 700;
            color: #1f2d28;
            margin: 0 0 0.85rem;
            padding-bottom: 0.55rem;
            border-bottom: 2px solid transparent;
            border-image: linear-gradient(90deg, #22b18c 0%, #22b18c 72px, #e8efe9 72px, #e8efe9 100%) 1;
        }
        body.page-tips-parents .letter-block-title i {
            color: #22b18c;
            font-size: 1.1rem;
        }
        body.page-tips-parents .letter-block-title--muted {
            border-image: linear-gradient(90deg, #94a3b8 0%, #94a3b8 72px, #e8efe9 72px, #e8efe9 100%) 1;
        }
        body.page-tips-parents .letter-block-title--muted i {
            color: #94a3b8;
        }

        body.page-tips-parents .resource-card {
            padding: 14px 16px 14px;
            border-radius: 14px;
            height: 100%;
        }
        body.page-tips-parents .resource-card-top {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 8px;
        }
        body.page-tips-parents .resource-card-top .resource-icon {
            width: 44px;
            height: 44px;
            min-width: 44px;
            margin-bottom: 0;
            font-size: 1.15rem;
            border-radius: 12px;
        }
        body.page-tips-parents .resource-card-titles .tag {
            margin-bottom: 4px;
            padding: 2px 8px;
            font-size: 0.68rem;
        }
        body.page-tips-parents .resource-card-titles h3 {
            font-size: 1rem;
            line-height: 1.35;
            margin-bottom: 0;
        }
        body.page-tips-parents .resource-card > p {
            font-size: 0.86rem;
            line-height: 1.55;
            margin-bottom: 10px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        body.page-tips-parents .resource-card .read-more {
            font-size: 0.82rem;
            margin-top: auto;
        }
        body.page-tips-parents .resource-card:hover {
            transform: translateY(-4px);
        }

        body.page-tips-parents .resource-card-soon {
            background: linear-gradient(135deg, #f8faf9 0%, #f3f6f5 100%);
        }
        body.page-tips-parents .resource-card-soon > p {
            -webkit-line-clamp: 2;
        }

        body.page-tips-parents .letter-notice {
            padding: 14px 18px;
            font-size: 0.88rem;
            line-height: 1.58;
            border-radius: 12px;
            margin-top: 0.5rem;
        }
    

/* ---------- Reading width switch ---------- */
.reading-width-switch {
    position: sticky;
    top: 80px; /* Fixed below the navbar */
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 7px 14px;
    background: #fff;
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    width: fit-content;
    font-size: 0.82rem;
}
/* Hidden on mobile */
@media (max-width: 991.98px) {
    .reading-width-switch { display: none !important; }
}
.rw-label {
    display: inline-flex;
    align-items: center;
    color: #2563eb;
    font-weight: 600;
    padding-right: 4px;
    border-right: 1px solid rgba(37, 99, 235, 0.25);
    line-height: 1;
    font-size: 0.78rem;
}
.rw-label i { font-size: 0.92rem; }
.rw-btn {
    display: inline-flex;
    align-items: center;
    gap: 2px; /* Keep the double arrows close */
    padding: 4px 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: #666;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.12s;
    line-height: 1;
}
.rw-btn:hover {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}
.rw-btn.rw-active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}
.rw-btn i { font-size: 0.82rem; transform: rotate(90deg); }
@media (max-width: 576px) {
    .reading-width-switch { margin-bottom: 10px; padding: 4px 8px; font-size: 0.76rem; }
    .rw-btn { padding: 4px 8px; font-size: 0.76rem; }
}

/* ---------- Reading width CSS variable switch ---------- */
/* Default: wide layout (col-lg-7 / col-lg-3) */
.handbook-parents-layout {
    --rg-main: 58.3333%;
    --rg-toc: 25%;
    --rg-side: 16.6667%;
}
/* Comfortable reading: body 50%, TOC 33%, sidebar stays 16.7% */
.handbook-parents-layout.reading-narrow {
    --rg-main: 50%;
    --rg-toc: 33.3333%;
}

/* Override Bootstrap grid via CSS variables at lg+ breakpoints */
@media (min-width: 992px) {
    .handbook-parents-layout > .about-page-main {
        flex: 0 0 var(--rg-main) !important;
        max-width: var(--rg-main) !important;
        transition: flex-basis 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .handbook-parents-layout > .handbook-chapter-toc-col {
        flex: 0 0 var(--rg-toc) !important;
        max-width: var(--rg-toc) !important;
        transition: flex-basis 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .handbook-parents-layout > .about-sidebar-col {
        flex: 0 0 var(--rg-side) !important;
        max-width: var(--rg-side) !important;
    }
    /* Transition the body as well for smoother padding changes */
    .handbook-parents-layout > .about-page-main .article-frame,
    .handbook-parents-layout > .about-page-main .handbook-content {
        transition: padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
}
/* Chapter TOC sidebar: wider in narrow mode without horizontal scroll; fits in wide mode */
.handbook-parents-layout.reading-narrow .handbook-chapter-toc-col .handbook-toc-shell {
    max-height: calc(100vh - 200px);
}

/* Chapter TOC hint dots: unified blue to match the site palette */
.handbook-chapter-toc-col .handbook-toc-shell .sidebar > .toc-link::before {
    background: #dbeafe;
}
.handbook-chapter-toc-col .handbook-toc-shell .sidebar > .toc-link:hover::before {
    background: #3b82f6;
}
.handbook-chapter-toc-col .handbook-toc-shell .sidebar > .toc-link.active::before {
    background: #2563eb;
}

/* White body card (consistent with article pages) */
.article-body.article-frame {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 40px 44px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.article-body.article-frame::before {
    content: ""; display: block; height: 4px;
    margin: -36px -40px 28px;
    background: linear-gradient(90deg, #0f6e56 0%, #22b18c 48%, #185fa5 100%);
}
@media (max-width: 991.98px) {
    .article-body.article-frame { padding: 24px 20px 30px; }
    .article-body.article-frame::before { margin: -24px -20px 20px; }
}
