/* ContentVibee — light, single-column, mobile-first. No dark mode. */
:root {
    --bg: #ffffff;
    --bg-soft: #f7f8fa;
    --text: #1a1a1a;
    --text-muted: #5f6368;
    --accent: #0b6e4f;
    --accent-soft: #e8f4ee;
    --border: #e5e7eb;
    --ad-bg: #fafafa;
    --max-width: 720px;
    --radius: 10px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); }
a:hover { color: #095c42; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---- Header ---- */
.site-header { border-bottom: 1px solid var(--border); background: #fff; }
.header-inner {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    padding-top: 12px; padding-bottom: 12px;
}
.brand { flex: 1 1 auto; min-width: 200px; }
.logo {
    font-size: 28px; font-weight: 800; letter-spacing: -0.5px;
    color: var(--text); text-decoration: none;
}
.tagline { margin: 2px 0 0; font-size: 12.5px; color: var(--text-muted); }
.main-nav { display: flex; gap: 14px; flex-wrap: wrap; }
.main-nav a {
    color: var(--text); text-decoration: none; font-weight: 600; font-size: 14.5px;
}
.main-nav a:hover { color: var(--accent); }
.search-icon { color: var(--text); }

/* ---- Cards ---- */
.section-heading { font-size: 24px; margin: 24px 0 16px; letter-spacing: -0.3px; }
.card-stack { display: flex; flex-direction: column; gap: 20px; }
.card {
    border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; background: #fff;
}
.card-link { text-decoration: none; color: inherit; display: block; }
.card-media { aspect-ratio: 16 / 9; background: var(--bg-soft); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media-fallback {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    color: #b9bec6; font-weight: 700; font-size: 20px;
}
.card-body { padding: 14px 16px 16px; }
.card-category {
    display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.6px; color: var(--accent); margin-bottom: 6px;
}
.card-title { margin: 0 0 8px; font-size: 21px; line-height: 1.3; letter-spacing: -0.2px; }
.card-link:hover .card-title { color: var(--accent); }
.card-meta { margin: 0; font-size: 13px; color: var(--text-muted); }

/* ---- Ad slots ---- */
.ad-slot {
    background: var(--ad-bg); border: 1px dashed #d1d5db; border-radius: var(--radius);
    padding: 18px 12px 12px; margin: 20px 0; position: relative; text-align: center;
}
.ad-label {
    position: absolute; top: 4px; left: 0; right: 0;
    font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: #9ca3af;
}
.sticky-ad {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
    background: #fff; border-top: 1px solid var(--border);
    padding: 14px 8px 8px; text-align: center;
}

/* ---- Pagination ---- */
.pagination {
    display: flex; justify-content: space-between; align-items: center;
    margin: 32px 0; gap: 12px;
}
.page-link {
    text-decoration: none; font-weight: 700; padding: 10px 18px;
    border: 1px solid var(--border); border-radius: 8px; color: var(--text);
}
.page-link:hover { border-color: var(--accent); color: var(--accent); }
.page-disabled { color: #c4c9d1; }
.page-info { font-size: 14px; color: var(--text-muted); }

/* ---- Article ---- */
.article { padding: 8px 0 24px; }
.disclosure {
    font-size: 13px; color: var(--text-muted); background: var(--bg-soft);
    border-left: 3px solid #d1d5db; padding: 10px 14px; margin: 16px 0 20px;
}
.article h1 { font-size: 30px; line-height: 1.25; letter-spacing: -0.5px; margin: 0 0 10px; }
.byline { font-size: 13.5px; color: var(--text-muted); margin: 0 0 16px; }
.byline a { color: var(--text-muted); }
.article-hero { border-radius: var(--radius); overflow: hidden; margin: 0 0 16px; }
.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lede { font-size: 19px; color: #333; }

.toc {
    background: var(--bg-soft); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 14px 18px; margin: 20px 0;
}
.toc strong { font-size: 15px; }
.toc ul { margin: 8px 0 0; padding-left: 20px; }
.toc li { margin: 4px 0; font-size: 15px; }

/* Offer table */
.offer-table-wrap { margin: 24px 0; }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.offer-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.offer-table th, .offer-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--border); }
.offer-table thead th { background: var(--accent-soft); font-size: 13px; text-transform: uppercase; letter-spacing: 0.4px; }
.offer-table tbody tr:last-child td { border-bottom: none; }
.offer-cta {
    display: inline-block; background: var(--accent); color: #fff !important;
    text-decoration: none; font-weight: 700; padding: 8px 14px; border-radius: 8px; white-space: nowrap;
}

/* Sponsored featured slots */
.sponsored {
    border: 2px solid #f0b429; border-radius: var(--radius);
    padding: 16px; margin: 24px 0; background: #fffdf5;
}
.sponsored h2 { font-size: 16px; text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 12px; }
.sponsored-item { padding: 12px 0; border-top: 1px solid #f3e3b3; }
.sponsored-item:first-of-type { border-top: none; padding-top: 0; }
.sponsored-item h3 { margin: 0 0 6px; font-size: 18px; }
.sponsored-item p { margin: 0 0 8px; font-size: 15px; }

/* Job list items */
.job-item { padding: 22px 0; border-top: 1px solid var(--border); }
.job-item h2 { font-size: 22px; margin: 0 0 10px; letter-spacing: -0.2px; }
.job-item img {
    border-radius: var(--radius); margin: 0 0 12px;
    width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg-soft);
}
.job-item p { margin: 0 0 10px; }
.apply-link {
    display: inline-block; font-weight: 700; text-decoration: none;
    border: 1px solid var(--accent); border-radius: 8px; padding: 9px 16px; margin-top: 4px;
}
.apply-link:hover { background: var(--accent); color: #fff; }

/* Newsletter CTAs */
.newsletter-cta {
    background: var(--accent-soft); border-radius: var(--radius);
    padding: 20px; margin: 26px 0; text-align: center;
}
.newsletter-pitch { font-size: 19px; margin: 0 0 12px; }
.newsletter-form { display: flex; gap: 8px; max-width: 440px; margin: 0 auto; }
.newsletter-form input[type="email"] {
    flex: 1; padding: 11px 14px; font-size: 16px;
    border: 1px solid var(--border); border-radius: 8px; min-width: 0;
}
.newsletter-form button {
    background: var(--accent); color: #fff; border: none; border-radius: 8px;
    padding: 11px 18px; font-size: 16px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.newsletter-success { color: var(--accent); font-weight: 700; }
.fine-print { font-size: 12.5px; color: var(--text-muted); margin: 8px 0 0; }

/* Recirculation */
.recirculation {
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px; margin: 30px 0; background: var(--bg-soft);
}
.recirculation h2 { font-size: 20px; margin: 0 0 12px; }
.recirculation ul { margin: 0; padding: 0; list-style: none; }
.recirculation li { margin: 8px 0; }
.recirculation a { font-weight: 700; text-decoration: none; font-size: 17px; }

/* Related */
.related { margin: 30px 0; }
.related h2 { font-size: 22px; margin-bottom: 16px; }

/* ---- Static pages ---- */
.page h1 { font-size: 30px; letter-spacing: -0.5px; }
.page p, .page li { font-size: 17px; }

/* ---- Search ---- */
.search-form { display: flex; gap: 8px; margin: 20px 0; }
.search-form input[type="search"] {
    flex: 1; padding: 12px 14px; font-size: 17px;
    border: 1px solid var(--border); border-radius: 8px;
}
.search-form button {
    background: var(--accent); color: #fff; border: none; border-radius: 8px;
    padding: 12px 20px; font-size: 16px; font-weight: 700; cursor: pointer;
}

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 32px 0 90px; background: var(--bg-soft); }
.footer-newsletter { text-align: center; margin-bottom: 24px; }
.footer-nav, .footer-categories {
    display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 16px;
}
.footer-nav a, .footer-categories a { color: var(--text); text-decoration: none; font-size: 14.5px; }
.footer-nav a { font-weight: 700; }
.footer-disclaimer { font-size: 13px; color: var(--text-muted); text-align: center; max-width: 560px; margin: 0 auto 16px; }
.footer-social { display: flex; justify-content: center; align-items: center; gap: 14px; margin-bottom: 16px; color: var(--text-muted); font-size: 14px; }
.footer-social a { color: var(--text-muted); }
.footer-social a:hover { color: var(--accent); }
.copyright { text-align: center; font-size: 13px; color: var(--text-muted); margin: 0; }

@media (min-width: 640px) {
    .article h1 { font-size: 34px; }
    .card-title { font-size: 22px; }
}
