/* ==========================================================================
   CONDÉ NAST EDITORIAL DESIGN SYSTEM
   1:1 High-Fidelity Editorial Theme for Ghost
   ========================================================================== */

:root {
    --bg-page: #ffffff;
    --bg-surface: #ffffff;
    --bg-surface-alt: #f5f5f5;
    --text-primary: #000000;
    --text-secondary: #222222;
    --text-muted: #666666;
    --border-strong: #000000;
    --border-subtle: #e5e5e5;
    --border-hairline: #dcdcdc;
    --accent-electric: #E6FD05;
    --accent-blue: #057dbc;
    --accent-alert: #eb0000;
    --font-display: 'Barlow Condensed', 'Space Grotesk', -apple-system, sans-serif;
    --font-heading: 'Barlow Condensed', -apple-system, sans-serif;
    --font-body: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --font-mono: 'Space Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --container-max: 1440px;
    --reading-max: 720px;
}

html.dark {
    --bg-page: #0a0a0a;
    --bg-surface: #121212;
    --bg-surface-alt: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #dcdcdc;
    --text-muted: #999999;
    --border-strong: #ffffff;
    --border-subtle: #2b2b2b;
    --border-hairline: #333333;
    --accent-electric: #E6FD05;
    --accent-blue: #5ec1ff;
    --accent-alert: #ff4500;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.cn-body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.5;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.cn-container {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.cn-container-fluid {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ==========================================================================
   HEADER BAR (1:1 CONDÉ NAST MASTHEAD)
   ========================================================================== */

.cn-header {
    background-color: var(--bg-page);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-strong);
}

.cn-header-bar {
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cn-header-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
}

.cn-menu-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
}

.cn-burger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 18px;
    height: 13px;
}

.cn-burger-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text-primary);
}

.cn-logo-link {
    display: flex;
    align-items: center;
}

.cn-logo-wordmark {
    font-family: var(--font-display);
    font-size: 2.35rem;
    font-weight: 900;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    line-height: 1;
    color: var(--text-primary);
}

.cn-logo-img {
    max-height: 38px;
    width: auto;
}

/* Middle Navigation */
.cn-header-nav {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
}

.cn-header-nav::-webkit-scrollbar {
    display: none;
}

.cn-nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.35rem;
    white-space: nowrap;
}

.cn-nav-list a {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
    transition: color 0.15s ease;
}

.cn-nav-list a:hover {
    color: var(--accent-blue);
}

/* Right Header Actions */
.cn-header-right {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    flex-shrink: 0;
}

.cn-theme-btn,
.cn-user-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
}

html.dark .cn-theme-icon-light {
    display: none;
}

html:not(.dark) .cn-theme-icon-dark {
    display: none;
}

.cn-user-icon {
    display: flex;
    align-items: center;
    color: var(--text-primary);
}

.cn-link-newsletters {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.cn-link-newsletters:hover {
    text-decoration: underline;
}

.cn-link-subscribe {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-blue);
    text-decoration: none;
}

.cn-link-subscribe:hover {
    text-decoration: underline;
}

/* ==========================================================================
   SIGNATURE SECTION TITLE BADGES
   ========================================================================== */

.cn-section-title {
    border-top: 2px solid var(--border-strong);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 1.5rem;
    margin-bottom: 1.25rem;
    padding-top: 0;
}

.cn-section-badge {
    background-color: var(--border-strong);
    color: var(--bg-page);
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.18rem 0.65rem;
    display: inline-block;
    margin-top: -2px;
    line-height: 1.25;
}

/* ==========================================================================
   RUBRICS & BYLINES
   ========================================================================== */

.cn-rubric {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    display: block;
}

.cn-rubric a {
    color: inherit;
}

.cn-rubric a:hover {
    text-decoration: underline;
}

.cn-byline {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #2b2b2b;
}

.cn-audio-badge {
    position: absolute;
    bottom: 0.35rem;
    right: 0.35rem;
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    z-index: 2;
}

.cn-audio-badge-hero {
    bottom: 0.75rem;
    right: 0.75rem;
    width: 26px;
    height: 26px;
}

/* ==========================================================================
   1:1 3-COLUMN HOMEPAGE GRID LAYOUT
   ========================================================================== */

.cn-main-stage {
    padding-top: 0.5rem;
    margin-bottom: 4rem;
}

.cn-home-layout {
    display: grid;
    grid-template-columns: 2.85fr 1fr;
    gap: 2.25rem;
}

.cn-today-picks-wrapper {
    display: flex;
    flex-direction: column;
}

.cn-today-grid {
    display: grid;
    grid-template-columns: 1fr 1.75fr;
    gap: 2.25rem;
}

/* Col 1: Left 4-card stack */
.cn-left-stack {
    display: flex;
    flex-direction: column;
}

.cn-side-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
}

.cn-side-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cn-side-thumb {
    width: 105px;
    height: 105px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-surface-alt);
}

.cn-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.cn-side-thumb:hover img {
    transform: scale(1.05);
}

.cn-side-body {
    flex: 1;
}

.cn-side-hed {
    font-family: var(--font-display);
    font-size: 1.22rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin: 0.2rem 0 0.4rem;
    color: var(--text-primary);
}

.cn-side-hed a:hover {
    text-decoration: underline;
}

/* Col 2: Center Lead Feature */
.cn-center-lead {
    border-left: 1px solid var(--border-subtle);
    padding-left: 2.25rem;
    display: flex;
    flex-direction: column;
}

.cn-hero-feature {
    text-align: center;
    margin-bottom: 1.75rem;
}

.cn-hero-rubric {
    text-align: center;
    margin-bottom: 0.5rem;
}

.cn-hero-hed {
    font-family: var(--font-display);
    font-size: clamp(2.3rem, 3.6vw, 3.5rem);
    font-weight: 900;
    line-height: 0.94;
    letter-spacing: -0.025em;
    margin: 0 auto 0.75rem;
    max-width: 95%;
    text-align: center;
    color: var(--text-primary);
}

.cn-hero-hed a:hover {
    text-decoration: underline;
}

.cn-hero-dek {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.42;
    color: var(--text-secondary);
    max-width: 88%;
    margin: 0 auto 0.75rem;
    text-align: center;
}

.cn-hero-byline {
    text-align: center;
    margin-bottom: 1.25rem;
}

.cn-hero-media {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--bg-surface-alt);
}

.cn-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.cn-hero-media:hover img {
    transform: scale(1.02);
}

/* 2 Sub-stories below lead image */
.cn-hero-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: auto;
}

.cn-sub-card {
    padding-right: 1.25rem;
    border-right: 1px solid var(--border-subtle);
}

.cn-hero-subgrid .cn-sub-card:last-child {
    border-right: none;
    padding-right: 0;
}

.cn-sub-hed {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin: 0.3rem 0 0.4rem;
    color: var(--text-primary);
}

.cn-sub-hed a:hover {
    text-decoration: underline;
}

.cn-sub-dek {
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.38;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Col 3: Right Trending Stories Stack */
.cn-trending-wrapper {
    border-left: 1px solid var(--border-strong);
    padding-left: 1.75rem;
    display: flex;
    flex-direction: column;
}

.cn-trending-feed {
    display: flex;
    flex-direction: column;
}

.cn-trending-item {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.cn-trending-hed {
    font-family: var(--font-display);
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.015em;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.cn-trending-hed a:hover {
    text-decoration: underline;
}

/* Inverted Black Highlight Box */
.cn-highlight-box {
    background-color: #000000;
    color: #ffffff;
    padding: 0.85rem;
    margin-top: 1.25rem;
}

.cn-highlight-media {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.cn-highlight-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cn-highlight-rubric {
    color: #ff3333;
    text-align: center;
    margin-bottom: 0.3rem;
}

.cn-highlight-hed {
    font-family: var(--font-display);
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.015em;
    text-align: center;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.cn-highlight-hed a:hover {
    text-decoration: underline;
}

.cn-highlight-byline {
    text-align: center;
    color: #999999;
}

/* More stories grid (14+) */
.cn-more-title {
    margin-top: 4rem;
}

.cn-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2rem;
    margin-bottom: 3.5rem;
}

.cn-card {
    display: flex;
    flex-direction: column;
}

.cn-card-media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 0.85rem;
    background-color: var(--bg-surface-alt);
}

.cn-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cn-card-hed {
    font-family: var(--font-display);
    font-size: 1.38rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.015em;
    margin: 0.3rem 0 0.45rem;
}

.cn-card-hed a:hover {
    text-decoration: underline;
}

.cn-card-dek {
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.42;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
}

.cn-card-byline {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: auto;
}

/* ==========================================================================
   ARTICLE / POST VIEW
   ========================================================================== */

.cn-article {
    margin-bottom: 4rem;
}

.cn-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background-color: var(--border-strong);
    width: 0%;
    z-index: 999;
    transition: width 0.1s linear;
}

.cn-article-header {
    padding: 2.5rem 0 1rem;
}

.cn-article-rubric {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.cn-article-hed {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.5vw, 4.4rem);
    font-weight: 800;
    line-height: 0.94;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin: 0.5rem 0 1rem;
}

.cn-article-dek {
    font-family: var(--font-body);
    font-size: 1.35rem;
    line-height: 1.42;
    color: var(--text-secondary);
    max-width: 860px;
    margin-bottom: 1.5rem;
}

.cn-article-meta-row {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.cn-meta-by {
    color: var(--text-primary);
}

.cn-meta-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cn-action-bar {
    border-top: 1px solid var(--border-strong);
    border-bottom: 1px solid var(--border-strong);
    padding: 0.65rem 0;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cn-action-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cn-action-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.cn-action-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
}

.cn-action-btn:hover {
    color: var(--accent-blue);
}

.cn-action-utility {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.cn-article-featured-media {
    margin-bottom: 2.5rem;
}

.cn-featured-img {
    width: 100%;
    max-height: 750px;
    object-fit: cover;
}

.cn-featured-caption {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    padding-top: 0.6rem;
    line-height: 1.4;
}

.cn-reading-column {
    max-width: var(--reading-max);
    margin: 0 auto;
}

.cn-prose {
    font-family: var(--font-body);
    font-size: 1.1875rem;
    line-height: 1.72;
    color: var(--text-secondary);
}

.cn-prose > * + * {
    margin-top: 1.6rem;
}

.cn-prose > p:first-of-type::first-letter {
    font-family: var(--font-display);
    float: left;
    font-size: 5.2rem;
    line-height: 0.75;
    padding-top: 5px;
    padding-right: 12px;
    padding-bottom: 0px;
    font-weight: 900;
    color: var(--text-primary);
    text-transform: uppercase;
}

.cn-prose h2 {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    margin-top: 2.75rem;
    margin-bottom: 1rem;
}

.cn-prose h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
}

.cn-prose a {
    text-decoration: underline;
    text-underline-offset: 3px;
    color: var(--text-primary);
}

.cn-prose a:hover {
    color: var(--accent-blue);
}

.cn-prose blockquote {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    padding: 1.75rem 0;
    margin: 2.5rem 0;
    border-top: 2px solid var(--border-strong);
    border-bottom: 2px solid var(--border-strong);
    text-align: left;
}

.cn-article-tags {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.cn-tags-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.cn-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cn-tag-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
    background: transparent;
    transition: all 0.15s ease;
}

.cn-tag-badge:hover {
    background: var(--border-strong);
    color: var(--bg-page);
}

.cn-author-card {
    margin-top: 3rem;
    padding: 1.75rem;
    border: 1px solid var(--border-strong);
    background-color: var(--bg-surface);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.cn-author-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border-strong);
}

.cn-author-kicker {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.25rem;
}

.cn-author-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.cn-author-bio {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--text-secondary);
}

/* ==========================================================================
   ARCHIVES (TAG & AUTHOR PAGES)
   ========================================================================== */

.cn-archive {
    padding: 1.5rem 0 4rem;
}

.cn-author-profile-box {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 2.5rem 0 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.cn-author-profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-strong);
}

.cn-author-profile-name {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin: 0.25rem 0 0.5rem;
}

.cn-author-profile-bio {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.45;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.cn-author-profile-meta {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Pagination */
.cn-pagination {
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

.cn-pagination-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.cn-page-btn {
    border: 1px solid var(--border-strong);
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    text-transform: uppercase;
}

.cn-page-btn:hover:not(.cn-page-disabled) {
    background-color: var(--border-strong);
    color: var(--bg-page);
}

.cn-page-disabled {
    border-color: var(--border-subtle);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.cn-footer {
    border-top: 2px solid var(--border-strong);
    background-color: var(--bg-surface);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.cn-newsletter-box {
    border: 2px solid var(--border-strong);
    padding: 2.5rem;
    margin-bottom: 3.5rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    align-items: center;
    background-color: var(--bg-surface-alt);
}

.cn-newsletter-hed {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin: 0.35rem 0 0.5rem;
}

.cn-newsletter-dek {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.45;
    color: var(--text-secondary);
}

.cn-newsletter-row {
    display: flex;
}

.cn-newsletter-input {
    flex: 1;
    border: 2px solid var(--border-strong);
    border-right: none;
    padding: 0.85rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    background-color: var(--bg-page);
    color: var(--text-primary);
    border-radius: 0;
    outline: none;
}

.cn-newsletter-btn {
    background-color: var(--border-strong);
    color: var(--bg-page);
    border: 2px solid var(--border-strong);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0 1.5rem;
    cursor: pointer;
    border-radius: 0;
}

.cn-newsletter-btn:hover {
    background-color: var(--accent-electric);
    color: #000000;
}

.cn-footer-nav-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-subtle);
}

.cn-footer-logo {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.cn-footer-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--text-secondary);
}

.cn-footer-col-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cn-footer-links {
    list-style: none;
}

.cn-footer-links li {
    margin-bottom: 0.5rem;
}

.cn-footer-links a {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    color: var(--text-muted);
}

.cn-footer-links a:hover {
    color: var(--text-primary);
}

.cn-footer-baseline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* Drawer */
.cn-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    visibility: hidden;
    transition: visibility 0.25s ease;
}

.cn-drawer.is-open {
    visibility: visible;
}

.cn-drawer-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.cn-drawer.is-open .cn-drawer-backdrop {
    opacity: 1;
}

.cn-drawer-panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background-color: var(--bg-page);
    transform: translateX(-100%);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-right: 2px solid var(--border-strong);
}

.cn-drawer.is-open .cn-drawer-panel {
    transform: translateX(0);
}

.cn-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 1.5rem;
}

.cn-drawer-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.cn-drawer-close-btn {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-primary);
    line-height: 1;
}

.cn-drawer-nav ul.nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cn-drawer-nav a {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
    padding: 0.35rem 0;
}

.cn-drawer-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

.cn-drawer-subscribe-btn {
    display: block;
    text-align: center;
    background-color: var(--border-strong);
    color: var(--bg-page);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.85rem;
    letter-spacing: 0.08em;
}

/* ==========================================================================
   GHOST KOENIG EDITOR STYLES
   ========================================================================== */

.kg-width-wide {
    position: relative;
    width: 85vw;
    min-width: 100%;
    margin-left: calc(50% - 42.5vw);
    margin-right: calc(50% - 42.5vw);
}

.kg-width-full {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.kg-gallery-container {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    width: 100%;
}

.kg-gallery-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.kg-gallery-image img {
    display: block;
    margin: 0;
    width: 100%;
    height: 100%;
}

.kg-gallery-row:not(:first-of-type) {
    margin-top: 0.75rem;
}

.kg-gallery-image:not(:first-of-type) {
    margin-left: 0.75rem;
}

.kg-bookmark-card {
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.kg-bookmark-container {
    display: flex;
    text-decoration: none;
    border: 1px solid var(--border-strong);
    background-color: var(--bg-surface);
    color: var(--text-primary);
}

.kg-bookmark-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 1.25rem;
}

.kg-bookmark-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.kg-bookmark-description {
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.4;
    margin-top: 0.5rem;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kg-bookmark-metadata {
    display: flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.kg-bookmark-icon {
    width: 16px;
    height: 16px;
}

.kg-bookmark-author {
    font-weight: 700;
    text-transform: uppercase;
}

.kg-bookmark-publisher {
    text-transform: uppercase;
}

.kg-bookmark-thumbnail {
    position: relative;
    min-width: 33%;
    max-height: 100%;
}

.kg-bookmark-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

@media (max-width: 1200px) {
    .cn-home-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .cn-trending-wrapper {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid var(--border-strong);
        padding-top: 2rem;
    }

    .cn-header-nav {
        display: none;
    }
}

@media (max-width: 860px) {
    .cn-today-grid {
        grid-template-columns: 1fr;
    }

    .cn-center-lead {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-subtle);
        padding-top: 2rem;
    }

    .cn-hero-subgrid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .cn-sub-card {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid var(--border-subtle);
        padding-bottom: 1.25rem;
    }

    .cn-newsletter-box {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .cn-posts-grid {
        grid-template-columns: 1fr;
    }
}
