/* ============================================
   Clear Signals — Main Stylesheet
   ============================================ */

/* ----- CSS Custom Properties ----- */
:root {
    --teal-dark: #1a5c6b;
    --teal-light: #e8f4f7;
    --gold: #b8963e;
    --gold-hover: #a6852f;
    --gold-light: #f5f0e5;
    --bg: #fafafa;
    --bg-white: #ffffff;
    --text: #1a1a1a;
    --text-muted: #666666;
    --text-light: #999999;
    --border: #e5e7eb;

    --font-heading: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: Georgia, 'Times New Roman', serif;
    --font-ui: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --max-content: 680px;
    --max-page: 1080px;
    --max-wide: 1200px;
    --sidebar-width: 300px;
    --gap: 24px;
    --radius: 8px;
    --radius-sm: 6px;
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    --transition: 0.2s ease;
}

/* ----- Reset ----- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 18px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: var(--teal-dark);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--gold);
}

a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: 2px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--teal-dark);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 2.2rem; margin-bottom: 0.5em; }
h2 { font-size: 1.6rem; margin-bottom: 0.5em; }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
h4 { font-size: 1.1rem; margin-bottom: 0.4em; }

p {
    margin-bottom: 1.25em;
}

ul, ol {
    margin-bottom: 1.25em;
    padding-left: 1.5em;
}

/* ----- Buttons ----- */
.btn {
    display: inline-block;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: center;
    transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
    line-height: 1.4;
    text-decoration: none;
}

.btn:focus-visible {
    outline: 2px solid var(--teal-dark);
    outline-offset: 2px;
}

.btn-gold {
    background-color: var(--gold);
    color: #ffffff;
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(184, 150, 62, 0.3);
}

.btn-gold:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-subscribe {
    background-color: var(--gold);
    color: #ffffff;
    padding: 8px 18px;
    font-size: 0.8rem;
}

.btn-subscribe:hover {
    background-color: var(--gold-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

/* ----- Category Tags ----- */
.category-tag {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 3px;
    line-height: 1.4;
    transition: opacity var(--transition);
}

.category-tag:hover {
    opacity: 0.85;
    color: #ffffff;
}

.tag-money {
    background-color: var(--teal-dark);
    color: #ffffff;
}

.tag-health {
    background-color: #16a34a;
    color: #ffffff;
}

.tag-science {
    background-color: #2563eb;
    color: #ffffff;
}

.tag-stories {
    background-color: #d97706;
    color: #ffffff;
}

.tag-productivity {
    background-color: #7c3aed;
    color: #ffffff;
}

.tag-wealth {
    background-color: #b8963e;
    color: #ffffff;
}

.tag-mindset {
    background-color: #7c3aed;
    color: #ffffff;
}

.tag-space {
    background-color: #0891b2;
    color: #ffffff;
}

.tag-tech {
    background-color: #0891b2;
    color: #ffffff;
}

.tag-transformations {
    background-color: #be185d;
    color: #ffffff;
}

/* ----- Header ----- */
.site-header {
    background-color: var(--bg-white);
    border-bottom: 3px solid var(--teal-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header-inner {
    max-width: var(--max-wide);
    margin: 0 auto;
    padding: 0 var(--gap);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo-link {
    flex-shrink: 0;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    position: relative;
    padding: 4px 0;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--teal-dark);
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--teal-dark);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 90;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* ----- Main Layout ----- */
main {
    min-height: 60vh;
}

/* ----- Featured Section ----- */
.featured-section {
    background-color: var(--gold-light);
    padding: 56px var(--gap);
}

.featured-inner {
    max-width: var(--max-page);
    margin: 0 auto;
}

.featured-content {
    max-width: 720px;
}

.featured-content .category-tag {
    margin-bottom: 16px;
}

.featured-title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.featured-title a {
    color: var(--teal-dark);
    text-decoration: none;
}

.featured-title a:hover {
    color: var(--gold);
}

.featured-excerpt {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.featured-meta {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.featured-author {
    font-weight: 600;
    color: var(--text);
}

.meta-sep {
    color: var(--text-light);
}

.reading-time {
    color: var(--text-muted);
}

/* ----- Content + Sidebar Layout ----- */
.content-with-sidebar {
    max-width: var(--max-wide);
    margin: 0 auto;
    padding: 48px var(--gap);
    display: grid;
    grid-template-columns: 1fr var(--sidebar-width);
    gap: 48px;
    align-items: start;
}

.main-content {
    min-width: 0;
}

/* ----- Category Sections ----- */
.category-section {
    margin-bottom: 48px;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.section-title {
    font-size: 1.4rem;
    margin-bottom: 0;
}

.section-title a {
    color: var(--teal-dark);
    text-decoration: none;
}

.section-title a:hover {
    color: var(--gold);
}

.section-more {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gold);
    white-space: nowrap;
}

.section-more:hover {
    color: var(--gold-hover);
}

/* ----- Article Grid ----- */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

/* ----- Article Card ----- */
.article-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.card-image-link {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .card-image {
    transform: scale(1.03);
}

.card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-body .category-tag {
    align-self: flex-start;
    margin-bottom: 10px;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
}

.card-title a {
    color: var(--text);
    text-decoration: none;
}

.card-title a:hover {
    color: var(--teal-dark);
}

.card-excerpt {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 12px;
    flex: 1;
}

.card-meta {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

/* ----- Sidebar ----- */
.sidebar {
    position: sticky;
    top: 88px;
}

.sidebar-widget {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-widget h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.sidebar-widget p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.sidebar-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-input {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color var(--transition);
    width: 100%;
}

.sidebar-input:focus {
    border-color: var(--teal-dark);
    box-shadow: 0 0 0 3px rgba(26, 92, 107, 0.1);
}

.form-note {
    font-size: 0.72rem !important;
    color: var(--text-light) !important;
    margin-bottom: 0 !important;
}

.sidebar-link {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gold);
}

.sidebar-link:hover {
    color: var(--gold-hover);
}

.sidebar-about p {
    line-height: 1.6;
}

/* ----- Email CTA Banner ----- */
.email-cta {
    background-color: var(--teal-dark);
    padding: 56px var(--gap);
    margin: 48px 0;
    border-radius: var(--radius);
}

.email-cta-inner {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.email-cta h2 {
    color: #ffffff;
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.email-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.email-cta-form {
    display: flex;
    gap: 10px;
    max-width: 440px;
    margin: 0 auto 12px;
}

.email-cta-input {
    flex: 1;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    outline: none;
    transition: border-color var(--transition), background-color var(--transition);
}

.email-cta-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.email-cta-input:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.15);
}

.btn-cta {
    padding: 12px 24px;
    flex-shrink: 0;
}

.email-cta-note {
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
    margin-bottom: 0 !important;
}

/* ----- Article Page ----- */
.article-page {
    max-width: var(--max-wide);
    margin: 0 auto;
    padding: 0 var(--gap);
}

.article-header {
    max-width: var(--max-content);
    margin: 48px auto 32px;
    text-align: left;
}

.article-header .category-tag {
    margin-bottom: 16px;
}

.article-title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text);
}

.article-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-meta {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.article-author {
    font-weight: 600;
    color: var(--text);
}

.article-hero {
    max-width: var(--max-content);
    margin: 0 auto 32px;
}

.article-hero img {
    width: 100%;
    border-radius: var(--radius);
}

/* Article Body */
.article-body {
    max-width: var(--max-content);
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.75;
}

.article-body h2 {
    font-size: 1.5rem;
    margin-top: 2em;
    margin-bottom: 0.6em;
    color: var(--teal-dark);
}

.article-body h3 {
    font-size: 1.2rem;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.article-body p {
    margin-bottom: 1.4em;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.4em;
    padding-left: 1.5em;
}

.article-body li {
    margin-bottom: 0.4em;
}

.article-body blockquote {
    border-left: 4px solid var(--gold);
    margin: 1.5em 0;
    padding: 0.5em 0 0.5em 1.25em;
    color: var(--text-muted);
    font-style: italic;
}

.article-body a {
    color: var(--teal-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-body a:hover {
    color: var(--gold);
}

.article-body strong {
    font-weight: 700;
    color: var(--text);
}

.article-body code {
    font-size: 0.88em;
    background: var(--teal-light);
    padding: 2px 6px;
    border-radius: 3px;
}

.article-body pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 20px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin-bottom: 1.4em;
    font-size: 0.85rem;
    line-height: 1.6;
}

.article-body pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.article-body img {
    border-radius: var(--radius);
    margin: 1.5em 0;
}

.article-body hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2em 0;
}

/* Article body list styles */
.article-body ul {
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

/* Tags */
.article-tags {
    max-width: var(--max-content);
    margin: 32px auto;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-pill {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px 14px;
    transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.tag-pill:hover {
    background: var(--teal-light);
    color: var(--teal-dark);
    border-color: var(--teal-dark);
}

/* Author Box */
.author-box {
    max-width: var(--max-content);
    margin: 40px auto;
    padding: 28px;
    background: var(--gold-light);
    border-radius: var(--radius);
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--teal-dark);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.6;
}

.author-link {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold);
}

.author-link:hover {
    color: var(--gold-hover);
}

/* Related Articles */
.related-articles {
    max-width: var(--max-page);
    margin: 48px auto;
    padding: 0 var(--gap);
}

.related-articles h2 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

/* Article page email CTA override */
.article-page .email-cta {
    max-width: var(--max-content);
    margin: 48px auto;
}

/* ----- List Page ----- */
.list-page {
    max-width: var(--max-page);
    margin: 0 auto;
    padding: 48px var(--gap);
}

.list-header {
    margin-bottom: 32px;
}

.list-title {
    font-size: 2rem;
    text-transform: capitalize;
}

.list-description {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.list-empty {
    color: var(--text-muted);
    font-size: 1rem;
    text-align: center;
    padding: 48px 0;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.pagination-link {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal-dark);
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: background-color var(--transition), border-color var(--transition);
}

.pagination-link:hover {
    background: var(--teal-light);
    border-color: var(--teal-dark);
    color: var(--teal-dark);
}

.pagination-info {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ----- Launching Soon ----- */
.launching-soon {
    text-align: center;
    padding: 80px var(--gap);
    max-width: 640px;
    margin: 0 auto;
}

.launching-logo {
    height: 80px;
    margin: 0 auto 32px;
}

.launching-soon h1 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.launching-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.launching-topics {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.launching-form {
    display: flex;
    gap: 10px;
    max-width: 420px;
    margin: 0 auto;
}

.launching-form .email-cta-input {
    border-color: var(--border);
    background: var(--bg-white);
    color: var(--text);
}

.launching-form .email-cta-input::placeholder {
    color: var(--text-light);
}

.launching-form .email-cta-input:focus {
    border-color: var(--teal-dark);
    box-shadow: 0 0 0 3px rgba(26, 92, 107, 0.1);
}

/* ----- Footer ----- */
.site-footer {
    background-color: var(--teal-dark);
    color: #ffffff;
    padding: 56px var(--gap) 0;
}

.footer-inner {
    max-width: var(--max-wide);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 48px;
    margin-bottom: 16px;
}

.footer-tagline {
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-description {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer-col h4 {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-social {
    margin-top: 16px;
}

.footer-social a {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 0;
}

.footer-social a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px 0;
    text-align: center;
    max-width: var(--max-wide);
    margin: 0 auto;
}

.footer-bottom p {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ----- Ad Slot Placeholders ----- */
.ad-slot {
    min-height: 0;
}

/* ----- Selection highlight ----- */
::selection {
    background: var(--teal-light);
    color: var(--teal-dark);
}

/* ----- Responsive: Tablet ----- */
@media (max-width: 1024px) {
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--gap);
    }

    .sidebar .ad-slot {
        grid-column: 1 / -1;
    }

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

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

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

/* ----- Responsive: Mobile ----- */
@media (max-width: 768px) {
    html {
        font-size: 16px;
    }

    .header-inner {
        height: 56px;
    }

    .logo {
        height: 32px;
    }

    /* Mobile Nav */
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        padding: 72px 24px 24px;
        box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
        z-index: 100;
        gap: 0;
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1rem;
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
        width: 100%;
    }

    .nav-link::after {
        display: none;
    }

    .btn-subscribe {
        margin-top: 16px;
        text-align: center;
        width: 100%;
        padding: 12px;
        font-size: 0.9rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Featured */
    .featured-section {
        padding: 32px var(--gap);
    }

    .featured-title {
        font-size: 1.6rem;
    }

    .featured-excerpt {
        font-size: 1rem;
    }

    /* Content */
    .content-with-sidebar {
        padding: 24px var(--gap);
        gap: 32px;
    }

    .sidebar {
        display: block;
    }

    .article-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .section-header {
        flex-direction: column;
        gap: 4px;
    }

    /* Article */
    .article-header {
        margin: 24px auto;
    }

    .article-title {
        font-size: 1.7rem;
    }

    .article-meta {
        font-size: 0.75rem;
    }

    .author-box {
        padding: 20px;
    }

    /* Email CTA */
    .email-cta {
        padding: 36px var(--gap);
        margin: 32px 0;
        border-radius: 0;
    }

    .email-cta h2 {
        font-size: 1.25rem;
    }

    .email-cta-form {
        flex-direction: column;
    }

    .btn-cta {
        width: 100%;
    }

    /* List */
    .list-page {
        padding: 24px var(--gap);
    }

    .list-title {
        font-size: 1.6rem;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: auto;
    }

    /* Pagination */
    .pagination {
        gap: 12px;
    }

    .pagination-link {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    /* Launching */
    .launching-form {
        flex-direction: column;
    }

    .launching-soon {
        padding: 48px var(--gap);
    }

    .launching-soon h1 {
        font-size: 1.6rem;
    }

    .related-articles {
        padding: 0;
    }
}

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

/* ----- Print Styles ----- */
@media print {
    .site-header,
    .site-footer,
    .sidebar,
    .email-cta,
    .related-articles,
    .ad-slot,
    .mobile-menu-toggle,
    .mobile-overlay {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
        font-size: 12pt;
    }

    .article-body {
        max-width: 100%;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
}
