/* Content hub — guides & features (extends landing.css tokens) */

.ch-page .ch-main {
    min-height: 60vh;
}

/* Hero */
.ch-hero {
    padding: 2.5rem 0 2rem;
    background: linear-gradient(165deg, var(--lp-teal-soft) 0%, var(--lp-bg) 55%);
}

.ch-hero--article {
    padding-bottom: 1.5rem;
}

.ch-hero--feature {
    padding: 2.5rem 0 3rem;
}

.ch-hero h1 {
    font-family: var(--lp-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.15;
    margin: 0.75rem 0 1rem;
    color: var(--lp-navy);
    max-width: 42rem;
}

.ch-hero__lead {
    font-size: 1.0625rem;
    color: var(--lp-slate);
    max-width: 40rem;
    margin: 0;
    line-height: 1.65;
}

/* Breadcrumb */
.ch-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.8125rem;
    color: var(--lp-muted);
    margin-bottom: 0.5rem;
}

.ch-breadcrumb a {
    color: var(--lp-teal-dark);
    text-decoration: none;
}

.ch-breadcrumb a:hover {
    text-decoration: underline;
}

/* Cards grid (guides index) */
.ch-section {
    padding: 2.5rem 0 3rem;
}

.ch-section--alt {
    background: var(--lp-white);
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
}

.ch-card-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
}

.ch-card {
    background: var(--lp-white);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--lp-shadow);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.ch-card__tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lp-teal-dark);
    background: var(--lp-teal-soft);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    width: fit-content;
}

.ch-card h2 {
    font-family: var(--lp-display);
    font-size: 1.0625rem;
    line-height: 1.35;
    margin: 0;
}

.ch-card h2 a {
    color: var(--lp-navy);
    text-decoration: none;
}

.ch-card h2 a:hover {
    color: var(--lp-teal-dark);
}

.ch-card p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--lp-slate);
    flex: 1;
}

.ch-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: var(--lp-muted);
    margin-top: 0.25rem;
}

.ch-link {
    color: var(--lp-teal-dark);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.ch-link:hover {
    text-decoration: underline;
}

/* Article prose */
.ch-prose {
    max-width: 42rem;
    padding: 2rem 0 2.5rem;
}

.ch-prose--narrow {
    max-width: 38rem;
    margin: 0 auto;
    padding: 2rem 0;
}

.ch-prose section + section {
    margin-top: 2rem;
}

.ch-prose h2 {
    font-family: var(--lp-display);
    font-size: 1.25rem;
    margin: 0 0 0.75rem;
    color: var(--lp-navy);
}

.ch-prose p {
    margin: 0 0 1rem;
    color: var(--lp-slate);
    line-height: 1.7;
}

.ch-prose ul {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
    color: var(--lp-slate);
    line-height: 1.65;
}

.ch-prose li + li {
    margin-top: 0.35rem;
}

.ch-article__meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--lp-muted);
    margin-top: 1rem;
}

/* Feature pages */
.ch-feature-hero__grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .ch-feature-hero__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.ch-feature-hero__visual img {
    width: 100%;
    height: auto;
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow-lg);
}

.ch-feature-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
}

.ch-feature-card {
    background: var(--lp-white);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--lp-shadow);
}

.ch-feature-card--1 { border-top: 3px solid var(--lp-teal); }
.ch-feature-card--2 { border-top: 3px solid #6366f1; }
.ch-feature-card--3 { border-top: 3px solid #f59e0b; }

.ch-feature-card h2 {
    font-family: var(--lp-display);
    font-size: 1.125rem;
    margin: 0 0 0.35rem;
}

.ch-feature-card h2 a {
    color: var(--lp-navy);
    text-decoration: none;
}

.ch-feature-card__tagline {
    font-weight: 600;
    color: var(--lp-teal-dark);
    font-size: 0.875rem;
    margin: 0 0 0.65rem;
}

.ch-feature-card p {
    font-size: 0.9375rem;
    color: var(--lp-slate);
    margin: 0 0 1rem;
}

.ch-highlights {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
}

.ch-highlight {
    background: var(--lp-white);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 1.25rem;
}

.ch-highlight h2 {
    font-size: 0.9375rem;
    font-family: var(--lp-display);
    margin: 0 0 0.5rem;
    color: var(--lp-navy);
}

.ch-highlight p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--lp-slate);
    line-height: 1.55;
}

.ch-checklist {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.ch-checklist li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.65rem;
    color: var(--lp-slate);
    line-height: 1.55;
}

.ch-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 1rem;
    height: 1rem;
    background: var(--lp-teal);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
    border-radius: 50%;
}

/* Related links */
.ch-related {
    padding: 0 0 2rem;
    max-width: 42rem;
}

.ch-related h2,
.ch-section-title {
    font-family: var(--lp-display);
    font-size: 1.125rem;
    margin: 0 0 1rem;
    color: var(--lp-navy);
}

.ch-related__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ch-related__list--inline {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.ch-related__list a {
    color: var(--lp-teal-dark);
    font-weight: 500;
    text-decoration: none;
}

.ch-related__list a:hover {
    text-decoration: underline;
}

/* CTA band */
.ch-cta-band {
    background: var(--lp-navy);
    color: #e2e8f0;
    padding: 2.5rem 0;
    margin-top: 1rem;
}

.ch-cta-band__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.ch-cta-band h2 {
    font-family: var(--lp-display);
    font-size: 1.25rem;
    margin: 0 0 0.35rem;
    color: #fff;
}

.ch-cta-band p {
    margin: 0;
    font-size: 0.9375rem;
    color: #94a3b8;
    max-width: 28rem;
}

.ch-cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ch-cta-band .lp-btn--outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.ch-cta-band .lp-btn--outline:hover {
    background: rgba(255, 255, 255, 0.08);
}
