/* ============================================================
   The Vigilant Citizen — Fantasy Broadsheet Styles
   A prop-quality in-game newspaper for D&D campaigns
   ============================================================ */

/* --- Fonts --- */
/* Libre Baskerville + UnifrakturCook + MedievalSharp loaded via Google Fonts in HTML */

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

html { font-size: 16px; }

body {
    background: #2a2419;
    color: #1a1510;
    font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
    min-height: 100vh;
}

.newspaper-layout {
    display: flex;
    min-height: 100vh;
}

/* ============================================================
   EDITOR PANEL — Dark theme matching reference app
   ============================================================ */

.newspaper-editor {
    width: 380px;
    min-width: 380px;
    background: #1e1914;
    color: #e8dcc8;
    padding: 1rem;
    overflow-y: auto;
    max-height: 100vh;
    position: sticky;
    top: 0;
    border-right: 2px solid #3d3429;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 0.875rem;
}

.editor-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #3d3429;
}

.editor-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #c4a35a;
    font-family: Georgia, serif;
}

.editor-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.editor-btn {
    padding: 0.35rem 0.75rem;
    border: 1px solid #3d3429;
    background: #2a2419;
    color: #e8dcc8;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
}

.editor-btn:hover {
    background: #3d3429;
}

.editor-btn--accent {
    background: #922610;
    border-color: #922610;
    color: #fff;
}

.editor-btn--accent:hover {
    background: #c23a1a;
}

.editor-section {
    border: 1px solid #3d3429;
    border-radius: 4px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
}

.editor-section legend {
    color: #c4a35a;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.editor-section label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    color: #c4b699;
}

.editor-section input[type="text"],
.editor-section textarea,
.editor-section select {
    display: block;
    width: 100%;
    padding: 0.35rem 0.5rem;
    margin-top: 0.2rem;
    background: #1a1510;
    border: 1px solid #3d3429;
    color: #e8dcc8;
    border-radius: 3px;
    font-size: 0.8rem;
    font-family: inherit;
}

.editor-section textarea {
    min-height: 60px;
    resize: vertical;
}

.editor-add-btn {
    padding: 0.15rem 0.5rem;
    border: 1px solid #5a7247;
    background: transparent;
    color: #5a7247;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.7rem;
}

.editor-add-btn:hover {
    background: #5a7247;
    color: #fff;
}

.editor-item {
    border: 1px solid #3d3429;
    border-radius: 3px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.editor-item__remove {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    background: none;
    border: none;
    color: #922610;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0.1rem 0.3rem;
}

.editor-item__remove:hover {
    color: #c23a1a;
}

.editor-item__generate {
    display: inline-block;
    margin-top: 0.25rem;
    padding: 0.15rem 0.5rem;
    border: 1px dashed #c4a35a;
    background: transparent;
    color: #c4a35a;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.65rem;
    opacity: 0.6;
}

.editor-item__generate:hover {
    opacity: 1;
}

.editor-back-link {
    display: block;
    margin-top: 1rem;
    color: #c4a35a;
    text-decoration: none;
    font-size: 0.8rem;
}

.editor-back-link:hover {
    text-decoration: underline;
}

/* --- Editor toggle (mobile) --- */
.editor-toggle {
    display: none;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 100;
    background: #922610;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* ============================================================
   BROADSHEET PAGE — The parchment newspaper prop
   ============================================================ */

.newspaper-page {
    flex: 1;
    background:
        /* Fiber texture via repeating gradients */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(139,90,43,0.015) 2px,
            rgba(139,90,43,0.015) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 3px,
            rgba(139,90,43,0.01) 3px,
            rgba(139,90,43,0.01) 6px
        ),
        /* Mottled parchment base */
        radial-gradient(ellipse at 30% 20%, #f7ead0 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, #eedbb0 0%, transparent 50%),
        radial-gradient(ellipse at 50% 90%, #f0dfc0 0%, transparent 40%),
        #f4e4c1;
    color: #1a1510;
    max-width: 1100px;
    margin: 1rem auto;
    padding: 2rem 2.5rem;
    position: relative;
    /* Decorative double-rule border */
    border: 3px double #4a3f30;
    outline: 1px solid #8a7e6b;
    outline-offset: 4px;
    box-shadow:
        0 0 0 6px #f4e4c1,
        0 0 0 7px #b8a07a,
        0 4px 24px rgba(0,0,0,0.4),
        inset 0 0 60px rgba(139,90,43,0.06);
}

/* --- Full-screen preview mode --- */
body.preview-mode {
    background: #1a1510;
    overflow: auto;
}

body.preview-mode .newspaper-editor,
body.preview-mode .editor-toggle {
    display: none !important;
}

body.preview-mode .newspaper-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
}

body.preview-mode .newspaper-page {
    max-width: 1200px;
    width: 100%;
}

body.preview-mode .np-preview-close {
    display: block;
}

.np-preview-close {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 200;
    background: #922610;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.25rem;
    cursor: pointer;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

.np-preview-close:hover {
    background: #c23a1a;
}

/* --- Article images — old broadsheet woodcut style --- */
.np-article__image-wrap {
    position: relative;
    margin-bottom: 0.5rem;
    border: 2px solid #4a3f30;
    overflow: hidden;
    background: #f4e4c1;
}

.np-article__image {
    display: block;
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    /* Warm sepia tone — aged broadsheet illustration, not B&W */
    filter: sepia(0.6) saturate(0.4) contrast(1.2) brightness(0.85);
    opacity: 0.9;
}

/* Decorative ephemera — Waterdeep coat of arms, section vignettes */
.np-vignette {
    display: block;
    max-width: 80px;
    max-height: 80px;
    margin: 0.25rem auto 0.5rem;
    opacity: 0.65;
    filter: sepia(1) saturate(0) contrast(1.5) brightness(0.7);
}

.np-masthead__crest {
    display: block;
    max-width: 60px;
    max-height: 60px;
    margin: 0.35rem auto 0.15rem;
    opacity: 0.55;
    filter: sepia(1) saturate(0) contrast(1.5) brightness(0.65);
}

/* --- Aged/stained parchment effect --- */
.newspaper-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        /* Coffee stain rings */
        radial-gradient(ellipse 80px 90px at 15% 85%, rgba(120,70,20,0.07) 0%, transparent 70%),
        radial-gradient(ellipse 60px 50px at 88% 12%, rgba(100,60,15,0.06) 0%, transparent 65%),
        /* Age darkening at edges */
        linear-gradient(to right, rgba(80,50,10,0.08) 0%, transparent 8%, transparent 92%, rgba(80,50,10,0.08) 100%),
        linear-gradient(to bottom, rgba(80,50,10,0.06) 0%, transparent 5%, transparent 95%, rgba(80,50,10,0.1) 100%),
        /* Corner wear */
        radial-gradient(ellipse at 0% 0%, rgba(100,60,20,0.1) 0%, transparent 25%),
        radial-gradient(ellipse at 100% 0%, rgba(100,60,20,0.08) 0%, transparent 20%),
        radial-gradient(ellipse at 0% 100%, rgba(100,60,20,0.12) 0%, transparent 30%),
        radial-gradient(ellipse at 100% 100%, rgba(100,60,20,0.09) 0%, transparent 22%);
    pointer-events: none;
    z-index: 1;
}

/* --- Subtle noise/texture overlay --- */
.newspaper-page::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    background-size: 256px 256px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
}

/* Ensure content sits above pseudo-element overlays */
.newspaper-page > * {
    position: relative;
    z-index: 2;
}

/* --- Corner ornaments (decorative accents at broadsheet corners) --- */
.np-corner {
    position: absolute;
    width: 24px;
    height: 24px;
    color: #4a3f30;
    font-size: 18px;
    line-height: 1;
    z-index: 3;
    opacity: 0.6;
}
.np-corner--tl { top: 6px; left: 8px; }
.np-corner--tr { top: 6px; right: 8px; }
.np-corner--bl { bottom: 6px; left: 8px; }
.np-corner--br { bottom: 6px; right: 8px; }

/* ============================================================
   MASTHEAD — Woodcut/blackletter style
   ============================================================ */

.np-masthead {
    text-align: center;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    position: relative;
}

/* Decorative top rule above masthead */
.np-masthead::before {
    content: '';
    display: block;
    margin: 0 auto 0.6rem;
    width: 100%;
    height: 4px;
    background:
        linear-gradient(to right, transparent, #1a1510 15%, #1a1510 85%, transparent);
    border-top: 1px solid #1a1510;
    border-bottom: 1px solid #1a1510;
}

/* Bottom border with decorative treatment */
.np-masthead::after {
    content: '';
    display: block;
    margin-top: 0.75rem;
    width: 100%;
    height: 3px;
    background:
        linear-gradient(to right, transparent, #1a1510 10%, #1a1510 90%, transparent);
}

.np-masthead__title {
    font-family: 'UnifrakturCook', 'MedievalSharp', Georgia, serif;
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.05;
    margin-bottom: 0.15rem;
    color: #1a1510;
    text-shadow:
        1px 1px 0 rgba(139,90,43,0.15),
        -0.5px -0.5px 0 rgba(244,228,193,0.5);
    /* Ink bleed effect */
    filter: blur(0.15px);
}

.np-masthead__flourish {
    display: block;
    font-size: 1.1rem;
    letter-spacing: 0.6em;
    color: #4a3f30;
    margin-bottom: 0.15rem;
    line-height: 1;
}

.np-masthead__tagline {
    font-size: 0.85rem;
    font-style: italic;
    color: #4a3f30;
    margin-bottom: 0.2rem;
}

.np-masthead__date {
    font-size: 0.8rem;
    font-variant: small-caps;
    letter-spacing: 0.08em;
    color: #4a3f30;
}

/* Thin rule between date and content */
.np-masthead__rule {
    display: block;
    margin-top: 0.5rem;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #8a7e6b 20%, #8a7e6b 80%, transparent);
}

/* ============================================================
   CONTENT FLOW — Articles across 3 columns, full page
   ============================================================ */

.np-content-flow {
    column-count: 3;
    column-gap: 1.5rem;
    column-rule: 1px solid #8a7e6b;
}

/* ============================================================
   SECTIONS GRID — Letters/Obits in 2 cols, Classifieds sidebar
   ============================================================ */

.np-sections-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.np-sections-main {
    column-count: 2;
    column-gap: 1.5rem;
    column-rule: 1px solid #8a7e6b;
}

.np-sections-sidebar {
    border-left: 1px solid #8a7e6b;
    padding-left: 1.5rem;
}

/* ============================================================
   ARTICLES — Hand-set headline styling
   ============================================================ */

.np-article {
    margin-bottom: 0.75rem;
}

.np-article__headline {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin-bottom: 0.4rem;
    color: #1a1510;
    /* Ink bleed on headlines */
    text-shadow: 0.3px 0.3px 0.5px rgba(0,0,0,0.12);
}

.np-article--lead .np-article__headline {
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.np-article__dateline {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #4a3f30;
    font-variant: small-caps;
}

.np-article__body {
    font-size: 0.9rem;
    line-height: 1.55;
    text-align: justify;
    hyphens: auto;
    color: #2a2015;
    /* Very subtle ink bleed */
    text-shadow: 0.2px 0.1px 0.3px rgba(0,0,0,0.06);
}

/* Keep small atomic items from splitting across columns */
.np-letter,
.np-obituary,
.np-classified,
.np-correction {
    break-inside: avoid;
}

/* ============================================================
   DROP CAP — Decorative initial letter
   ============================================================ */

.np-article--lead .np-article__body::first-letter {
    float: left;
    font-family: 'UnifrakturCook', 'MedievalSharp', Georgia, serif;
    font-size: 3.6rem;
    line-height: 0.75;
    padding-right: 0.12rem;
    padding-top: 0.08rem;
    font-weight: 700;
    color: #1a1510;
    text-shadow:
        1px 2px 2px rgba(0,0,0,0.15);
}

/* ============================================================
   ORNAMENTAL RULES — Elaborate section dividers
   ============================================================ */

.np-rule {
    border: none;
    text-align: center;
    margin: 0.75rem 0;
    color: #4a3f30;
    font-size: 1rem;
    line-height: 1;
    position: relative;
    overflow: hidden;
}

.np-rule::before {
    content: '\2767\2003\2500\2500\2500\2500\2500\0020\2726\0020\2500\2500\2500\2500\2500\2003\2767';
    letter-spacing: 0.05em;
}

/* Story separator — horizontal rule with ephemera */
.np-rule--light {
    border: none;
    text-align: center;
    margin: 0.6rem 0;
    color: #8a7e6b;
    font-size: 0.7rem;
    line-height: 1;
    position: relative;
    overflow: hidden;
}

.np-rule--light::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #8a7e6b 20%, #8a7e6b 80%, transparent);
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */

.np-section__heading {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-bottom: 2px solid #1a1510;
    padding-bottom: 0.2rem;
    margin-bottom: 0.6rem;
    margin-top: 0.75rem;
    text-align: center;
    break-after: avoid;
}

/* ============================================================
   LETTERS TO THE EDITOR
   ============================================================ */

.np-letter {
    margin-bottom: 0.75rem;
}

.np-letter__from {
    font-size: 0.8rem;
    font-style: italic;
    color: #4a3f30;
    margin-bottom: 0.15rem;
}

.np-letter__body {
    font-size: 0.88rem;
    line-height: 1.5;
    text-align: justify;
    color: #2a2015;
    text-shadow: 0.2px 0.1px 0.3px rgba(0,0,0,0.06);
}

/* ============================================================
   OBITUARIES
   ============================================================ */

.np-obituary {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dotted #8a7e6b;
}

.np-obituary:last-child {
    border-bottom: none;
}

.np-obituary__name {
    font-weight: 700;
    font-size: 0.9rem;
    font-variant: small-caps;
    letter-spacing: 0.03em;
}

.np-obituary__age {
    font-size: 0.8rem;
    color: #4a3f30;
}

.np-obituary__body {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #2a2015;
}

/* ============================================================
   CLASSIFIEDS — Tightly packed broadsheet feel
   ============================================================ */

.np-classifieds-box {
    background: rgba(139,90,43,0.06);
    border: 1px solid #c4a87a;
    padding: 0.6rem;
    margin-bottom: 0.5rem;
}

.np-classified {
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px dotted #b8a07a;
    font-size: 0.82rem;
    line-height: 1.4;
    color: #2a2015;
}

.np-classified:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.np-classified__type {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: #4a3f30;
}

/* ============================================================
   CORRECTIONS
   ============================================================ */

.np-corrections-box {
    margin-top: 0.5rem;
}

.np-correction {
    font-size: 0.82rem;
    font-style: italic;
    margin-bottom: 0.4rem;
    line-height: 1.4;
    color: #4a3f30;
}

/* ============================================================
   FOOTER — Decorative border treatment
   ============================================================ */

.np-footer {
    text-align: center;
    margin-top: 1.25rem;
    padding-top: 0.6rem;
    font-size: 0.7rem;
    font-variant: small-caps;
    letter-spacing: 0.05em;
    color: #4a3f30;
    position: relative;
    break-inside: avoid;
    break-before: avoid;
}

/* Decorative double-rule above footer */
.np-footer::before {
    content: '';
    display: block;
    margin-bottom: 0.6rem;
    width: 100%;
    height: 4px;
    background:
        linear-gradient(to right, transparent, #4a3f30 15%, #4a3f30 85%, transparent);
    border-top: 1px solid #4a3f30;
    border-bottom: 1px solid #4a3f30;
}

.np-footer__motto {
    font-style: italic;
    margin-top: 0.2rem;
    font-variant: normal;
    letter-spacing: 0.02em;
}

.np-footer__ornament {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    color: #8a7e6b;
    line-height: 1;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */

.np-empty {
    text-align: center;
    padding: 3rem;
    color: #8a7e6b;
    font-style: italic;
}

/* ============================================================
   RESPONSIVE — Single column on narrow screens
   ============================================================ */

@media (max-width: 900px) {
    .newspaper-layout {
        flex-direction: column;
    }

    .newspaper-editor {
        width: 100%;
        min-width: unset;
        max-height: none;
        position: static;
        border-right: none;
        border-bottom: 2px solid #3d3429;
    }

    .newspaper-editor.editor--collapsed {
        display: none;
    }

    .editor-toggle {
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .newspaper-page {
        margin: 0.5rem;
        padding: 1.5rem 1rem;
        outline: none;
        box-shadow: 0 4px 24px rgba(0,0,0,0.4);
    }

    .np-content-flow {
        column-count: 1;
    }

    .np-sections-grid {
        grid-template-columns: 1fr;
    }

    .np-sections-main {
        column-count: 1;
    }

    .np-sections-sidebar {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #8a7e6b;
        padding-top: 1rem;
    }

    .np-masthead__title {
        font-size: 2rem;
    }

    .np-corner {
        display: none;
    }
}

/* ============================================================
   PRINT — Portrait broadsheet, fit one page
   ============================================================ */

@media print {
    @page {
        size: portrait;
        margin: 0;
    }

    html, body {
        background: #f4e4c1 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .newspaper-editor,
    .editor-toggle,
    .np-preview-close {
        display: none !important;
    }

    .newspaper-layout {
        display: block;
    }

    .newspaper-page {
        max-width: 100%;
        width: 100%;
        margin: 0;
        padding: 0.5in 0.6in;
        box-shadow: none !important;
        border: none !important;
        outline: none !important;
        background: #f4e4c1 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Two-page broadsheet — front and back, generous sizing */
    .np-masthead {
        padding-bottom: 0.5rem;
        margin-bottom: 0.6rem;
    }

    .np-masthead__title {
        font-size: 2.4rem;
        text-shadow: none;
        filter: none;
    }

    .np-masthead__flourish { font-size: 0.9rem; }
    .np-masthead__tagline { font-size: 0.75rem; margin-bottom: 0.15rem; }
    .np-masthead__date { font-size: 0.75rem; }
    .np-masthead__rule { margin-top: 0.3rem; }
    .np-masthead::before { margin-bottom: 0.4rem; height: 3px; }
    .np-masthead::after { margin-top: 0.4rem; height: 2px; }

    .np-content-flow {
        column-count: 3 !important;
        column-gap: 0.75rem;
    }

    /* In print, flatten grid into 3-column flow to avoid
       Chromium bug where grid after column-count gets dropped
       at page boundaries */
    .np-sections-grid {
        display: block !important;
        column-count: 3 !important;
        column-gap: 0.75rem;
        column-rule: 1px solid #8a7e6b;
    }

    .np-sections-main {
        column-count: auto !important;
    }

    .np-sections-sidebar {
        border-left: none !important;
        padding-left: 0 !important;
    }

    .np-article {
        margin-bottom: 0.5rem;
    }

    .np-article__headline {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
        text-shadow: none;
    }

    .np-article--lead .np-article__headline {
        font-size: 1.2rem;
    }

    .np-article__dateline { font-size: 0.65rem; }

    .np-article__body,
    .np-letter__body,
    .np-obituary__body {
        font-size: 0.8rem;
        line-height: 1.5;
        text-shadow: none;
    }

    .np-article__image { max-height: 160px; }
    .np-article__image-wrap {
        margin-bottom: 0.4rem;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .np-section__heading {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
        padding-bottom: 0.2rem;
    }

    .np-letter { margin-bottom: 0.5rem; }
    .np-letter__from { font-size: 0.7rem; }
    .np-obituary { margin-bottom: 0.5rem; padding-bottom: 0.3rem; }
    .np-obituary__name { font-size: 0.8rem; }
    .np-obituary__age { font-size: 0.7rem; }

    .np-classified {
        font-size: 0.7rem;
        line-height: 1.4;
        margin-bottom: 0.3rem;
        padding-bottom: 0.3rem;
    }
    .np-classified__type { font-size: 0.65rem; }
    .np-classifieds-box { padding: 0.4rem; }

    .np-correction { font-size: 0.7rem; line-height: 1.4; }
    .np-corrections-box { margin-top: 0.3rem; }

    .np-rule { margin: 0.4rem 0; font-size: 0.9rem; }

    .np-footer {
        font-size: 0.65rem;
        margin-top: 0.5rem;
        padding-top: 0.3rem;
    }
    .np-footer__motto { font-size: 0.65rem; }
    .np-footer__ornament { font-size: 0.7rem; }

    .np-article--lead .np-article__body::first-letter {
        font-size: 2.8rem;
        text-shadow: none;
    }

    .newspaper-page::before,
    .newspaper-page::after {
        display: none;
    }

    .np-corner { display: none; }

    .np-article--lead .np-article__body::first-letter {
        filter: none;
        text-shadow: none;
    }
}

/* --- Saved Editions List --- */
.editor-editions {
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    border: 1px solid #3d3429;
    border-radius: 4px;
}

.editor-editions__title {
    font-size: 0.75rem;
    color: #c4a35a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

.edition-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
}

.edition-item__load {
    flex: 1;
    text-align: left;
    padding: 0.25rem 0.5rem;
    background: #2a2419;
    border: 1px solid #3d3429;
    color: #e8dcc8;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.7rem;
}

.edition-item__load:hover {
    background: #3d3429;
}

.edition-item__delete {
    background: none;
    border: none;
    color: #922610;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.15rem 0.3rem;
}
