/* style.css - Vintage Postal Telegram & Airmail Edition (mflovemail)
   Aesthetics: Antique Postal Dispatch, Airmail Ribbon, Linen Parchment & Stamp Seal
   Eye-Friendly, Warm, Zero-Glare
*/

:root {
    /* Warm, eye-friendly postal parchment palette */
    --bg-body: #e5ded0;
    --bg-paper: #f4ede1;
    --bg-card: #faf5ea;
    --bg-card-sub: #f0e9dc;
    --bg-input: #fbf8f1;
    
    /* Muted vintage postal tones */
    --border-vintage: #cfc4b0;
    --border-dark: #3e362e;
    --border-dashed: #b8ac98;
    
    /* Inks and text */
    --text-main: #27231f;
    --text-muted: #5e544a;
    --text-light: #857a6f;
    
    /* Postal accents */
    --stamp-red: #9e3d31;
    --stamp-red-hover: #832f24;
    --stamp-blue: #2c4c64;
    --stamp-blue-hover: #1e3649;
    --postal-gold: #b58038;
    --postal-gold-hover: #9c6c2b;
    --wax-seal: #8d3227;
    --forest-post: #3a5c44;
    
    /* Status feedback */
    --success-bg: #e6ede4;
    --success-border: #4f7354;
    --success-text: #213c23;
    --error-bg: #f5e4e1;
    --error-border: #b0493d;
    --error-text: #611e17;
    --info-bg: #e5edf2;
    --info-border: #4d708a;
    --info-text: #1b3a4f;

    --shadow-envelope: 0 4px 18px rgba(39, 35, 31, 0.09);
    --shadow-inner: inset 0 1px 3px rgba(39, 35, 31, 0.04);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-image: 
        radial-gradient(var(--border-vintage) 0.75px, transparent 0.75px), 
        radial-gradient(var(--border-vintage) 0.75px, var(--bg-body) 0.75px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
}

a {
    color: var(--stamp-blue);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--stamp-red);
}

/* Base Public Container */
.container {
    background-color: var(--bg-paper);
    max-width: 530px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 24px 20px 96px 20px;
    box-shadow: 0 0 35px rgba(39, 35, 31, 0.14);
    border-left: 2px solid var(--border-vintage);
    border-right: 2px solid var(--border-vintage);
    position: relative;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    width: 100%;
}

/* Airmail Strip Accent */
.airmail-strip {
    height: 8px;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 4px;
    background: repeating-linear-gradient(
        -45deg,
        #a84434 0,
        #a84434 16px,
        #f6f1e5 16px,
        #f6f1e5 24px,
        #34526d 24px,
        #34526d 40px,
        #f6f1e5 40px,
        #f6f1e5 48px
    );
    opacity: 0.85;
}

/* Header Vintage Postal */
.app-header {
    text-align: center;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 2px dashed var(--border-dashed);
    position: relative;
}

.postal-seal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--stamp-red);
    background: #eedecf;
    border: 1.5px solid var(--stamp-red);
    padding: 3px 14px;
    border-radius: 4px;
    margin-bottom: 12px;
    box-shadow: 1px 2px 5px rgba(158, 61, 49, 0.12);
}

.vintage-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 27px;
    font-weight: 700;
    color: var(--text-main);
    margin: 2px 0 8px 0;
    letter-spacing: -0.2px;
    line-height: 1.25;
}

.vintage-title a {
    color: var(--text-main);
}
.vintage-title a:hover {
    color: var(--stamp-blue);
}

.vintage-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 auto;
    max-width: 92%;
    line-height: 1.5;
}

/* Postal Envelope Card */
.postal-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-vintage);
    border-radius: 8px;
    padding: 0;
    margin-bottom: 22px;
    box-shadow: var(--shadow-envelope);
    position: relative;
    overflow: hidden;
}

.postal-card-topbar {
    height: 7px;
    width: 100%;
    background: repeating-linear-gradient(
        -45deg,
        #b24b3b 0,
        #b24b3b 14px,
        #faf5ea 14px,
        #faf5ea 20px,
        #3d617e 20px,
        #3d617e 34px,
        #faf5ea 34px,
        #faf5ea 40px
    );
    opacity: 0.9;
}

.postal-card-content {
    padding: 20px 18px;
}

.postal-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-vintage);
    gap: 12px;
}

.postal-stamp-box {
    width: 54px;
    height: 60px;
    border: 2px dashed var(--stamp-red);
    background: #fbf5ef;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--stamp-red);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 3px;
    flex-shrink: 0;
    line-height: 1.2;
    padding: 4px;
    transform: rotate(3deg);
}

.postal-stamp-box i {
    font-size: 16px;
    margin-bottom: 3px;
}

.postal-header-meta h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--stamp-blue);
    margin-bottom: 4px;
}

.postal-header-meta p {
    font-size: 12.5px;
    color: var(--text-muted);
}

/* Telegram Style Form */
.telegram-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.form-label {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-label .tag-req {
    color: var(--stamp-red);
    font-size: 11px;
}

.vintage-input,
.vintage-select,
.vintage-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border-vintage);
    background: var(--bg-input);
    color: var(--text-main);
    border-radius: 5px;
    font-size: 14.5px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: all 0.2s ease;
    outline: none;
    box-shadow: var(--shadow-inner);
}

.vintage-input:focus,
.vintage-select:focus,
.vintage-textarea:focus {
    border-color: var(--stamp-blue);
    box-shadow: 0 0 0 3px rgba(44, 76, 100, 0.15);
    background: #ffffff;
}

.vintage-input::placeholder {
    color: var(--text-light);
    font-style: italic;
}

/* Telegram Typewriter Buttons */
.btn-postal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 20px;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 6px;
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.2;
}

.btn-stamp-primary {
    background: var(--stamp-blue);
    color: #fcf9f2;
    border-color: #1a3447;
    box-shadow: 0 3px 8px rgba(44, 76, 100, 0.25);
}

.btn-stamp-primary:hover {
    background: var(--stamp-blue-hover);
    color: #ffffff;
    box-shadow: 0 5px 12px rgba(44, 76, 100, 0.35);
    transform: translateY(-1px);
}

.btn-stamp-red {
    background: var(--stamp-red);
    color: #ffffff;
    border-color: #77261d;
    box-shadow: 0 3px 8px rgba(158, 61, 49, 0.25);
}

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

.btn-postal-sub {
    background: #eae2d3;
    color: var(--text-main);
    border-color: var(--border-vintage);
}

.btn-postal-sub:hover {
    background: #e0d6c4;
    color: var(--text-main);
}

.btn-submit {
    width: 100%;
    margin-top: 4px;
    padding: 14px;
    font-size: 15px;
}

/* Alerts */
.vintage-alert {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 6px;
    margin-bottom: 18px;
    font-size: 13.5px;
    align-items: flex-start;
}

.alert-error, .alert-danger {
    background: var(--error-bg);
    border: 1px solid var(--error-border);
    color: var(--error-text);
}

.alert-info {
    background: var(--info-bg);
    border: 1px solid var(--info-border);
    color: var(--info-text);
}

.alert-success {
    background: var(--success-bg);
    border: 1px solid var(--success-border);
    color: var(--success-text);
}

.alert-icon {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

.alert-body p {
    margin: 0;
    line-height: 1.45;
}

/* Dispatch Slip / Active Email Copy Box */
.dispatch-slip {
    background: var(--bg-card);
    border: 1.5px solid var(--border-vintage);
    border-left: 5px solid var(--stamp-blue);
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-envelope);
    position: relative;
}

.dispatch-slip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.dispatch-slip-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800;
    color: var(--stamp-blue);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dispatch-stamp-tag {
    font-size: 9.5px;
    font-weight: 800;
    color: var(--stamp-red);
    border: 1px dashed var(--stamp-red);
    padding: 1px 6px;
    border-radius: 3px;
    text-transform: uppercase;
}

.dispatch-input-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dispatch-field {
    flex: 1;
    background: #ffffff;
    border: 1.5px solid var(--border-vintage);
    padding: 11px 12px;
    font-size: 14px;
    font-family: 'Space Mono', 'Courier New', Courier, monospace;
    font-weight: 700;
    color: var(--stamp-blue);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.btn-stamp-copy {
    background: #ede6d7;
    border: 1.5px solid var(--border-vintage);
    color: var(--text-main);
    padding: 11px 15px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-stamp-copy:hover {
    background: var(--stamp-red);
    color: #ffffff;
    border-color: #832f24;
}

.btn-stamp-copy.copied {
    background: var(--forest-post) !important;
    color: #ffffff !important;
    border-color: #26402d !important;
}

.copied-toast {
    margin-top: 8px;
    font-size: 12px;
    color: var(--forest-post);
    font-weight: 700;
    display: none;
}

/* Mail Envelope Cards (List of Inbound Letters) */
.inbound-letters-wrap {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 24px;
}

.letter-envelope-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-vintage);
    border-radius: 6px;
    padding: 16px;
    box-shadow: var(--shadow-envelope);
    transition: all 0.2s ease;
    position: relative;
    border-top: 3px solid var(--stamp-blue);
}

.letter-envelope-card:hover {
    border-color: var(--stamp-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 35, 31, 0.12);
}

.letter-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--border-vintage);
}

.letter-date-stamp {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.letter-postmark-badge {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--stamp-red);
    background: #fdf3f2;
    border: 1px solid #e2b4ad;
    padding: 1px 7px;
    border-radius: 12px;
}

.letter-sender {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
    word-break: break-all;
}

.letter-subject {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 14.5px;
    color: var(--stamp-blue);
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 600;
}

.letter-action-row {
    display: flex;
    justify-content: flex-end;
    padding-top: 8px;
}

/* Dispatch Document Viewer */
.postal-viewer-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-vintage);
    border-radius: 8px;
    box-shadow: var(--shadow-envelope);
    margin-bottom: 22px;
    overflow: hidden;
}

.postal-viewer-topbar {
    padding: 16px 18px;
    background: #ece4d4;
    border-bottom: 1.5px solid var(--border-vintage);
}

.postal-viewer-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin: 4px 0 8px 0;
}

.postal-viewer-meta {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.4);
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid var(--border-vintage);
}

.postal-viewer-body {
    padding: 16px;
    background: #ffffff;
    min-height: 250px;
}

.postal-viewer-body iframe {
    width: 100%;
    border: none;
    min-height: 220px;
    background: #ffffff;
}

.attachment-tray {
    padding: 14px 18px;
    background: #f7f2e6;
    border-top: 1.5px solid var(--border-vintage);
}

.attachment-tray-title {
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.attachment-tray-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.attachment-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ebe4d5;
    border: 1px solid var(--border-vintage);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12.5px;
    color: var(--stamp-blue);
    font-weight: 700;
    transition: all 0.2s ease;
}

.attachment-chip:hover {
    background: var(--stamp-blue);
    color: #ffffff;
    border-color: #1a3447;
}

/* Postal Bulletin / Archive Section (FAQ) */
.postal-bulletin {
    margin-top: 26px;
    padding: 22px 18px;
    background: #fcf9f2;
    border: 1.5px solid var(--border-vintage);
    border-radius: 8px;
    box-shadow: var(--shadow-envelope);
    position: relative;
}

.bulletin-header {
    text-align: center;
    margin-bottom: 16px;
}

.bulletin-postmark {
    display: inline-block;
    border: 1.5px double var(--stamp-blue);
    color: var(--stamp-blue);
    font-size: 10.5px;
    letter-spacing: 2px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 6px;
}

.bulletin-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin: 4px 0;
}

.bulletin-lead {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
}

.bulletin-divider {
    text-align: center;
    color: var(--stamp-red);
    font-size: 13px;
    letter-spacing: 6px;
    margin: 16px 0;
    border-bottom: 1px dashed var(--border-dashed);
    padding-bottom: 12px;
}

.faq-ledger {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ledger-row {
    background: #fbf6ec;
    border: 1px solid var(--border-vintage);
    border-radius: 5px;
    padding: 13px 15px;
}

.ledger-question {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.ledger-question::before {
    content: "§";
    color: var(--stamp-red);
    font-family: serif;
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
}

.ledger-answer {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    padding-left: 18px;
}

.postal-quote {
    margin-top: 18px;
    padding: 14px;
    background: #f2ebdd;
    border-left: 3px solid var(--stamp-blue);
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    color: var(--text-main);
    font-style: italic;
    font-family: 'Merriweather', Georgia, serif;
}

/* Bottom Postal Navigation */
.postal-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 530px;
    left: 50%;
    transform: translateX(-50%);
    background: #f6f0e4;
    border-top: 2px solid var(--border-vintage);
    border-left: 2px solid var(--border-vintage);
    border-right: 2px solid var(--border-vintage);
    display: flex;
    justify-content: space-around;
    padding: 9px 0 8px 0;
    box-shadow: 0 -4px 16px rgba(39, 35, 31, 0.08);
    z-index: 1000;
}

.postal-nav a {
    color: var(--text-muted);
    text-align: center;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
    padding: 2px 14px;
}

.postal-nav a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.postal-nav a:hover {
    color: var(--stamp-red);
}

.postal-nav a:hover svg {
    transform: translateY(-2px);
}

.postal-nav a.active {
    color: var(--stamp-blue);
}

.postal-nav a.active svg {
    fill: var(--stamp-blue);
}

/* App Footer Credit */
.app-vintage-footer {
    text-align: center;
    padding: 22px 0 8px 0;
    font-size: 12px;
    color: var(--text-light);
}

.app-vintage-footer a {
    color: var(--stamp-blue);
    font-weight: 700;
}

.app-vintage-footer a:hover {
    color: var(--stamp-red);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 530px) {
    .container {
        border-left: none;
        border-right: none;
        padding-left: 15px;
        padding-right: 15px;
    }
    .postal-nav {
        border-left: none;
        border-right: none;
    }
    .vintage-title {
        font-size: 24px;
    }
    .postal-stamp-box {
        display: none;
    }
}



/* ==========================================================================
   Admin Control Station Styles & Aliases
   ========================================================================== */
.stats-grid-vintage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.stat-tile-vintage {
    background: var(--bg-card);
    border: 1.5px solid var(--border-vintage);
    border-top: 3px solid var(--stamp-blue);
    padding: 16px;
    border-radius: 6px;
    position: relative;
    box-shadow: var(--shadow-envelope);
}

.stat-tile-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-family: 'Space Mono', monospace;
}

.stat-tile-value {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--stamp-blue);
}

.stat-tile-icon {
    position: absolute;
    right: 14px;
    top: 16px;
    font-size: 20px;
    color: var(--stamp-red);
    opacity: 0.6;
}

.admin-section-ledger {
    background: var(--bg-card);
    border: 1.5px solid var(--border-vintage);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-envelope);
}

.admin-section-ledger h3 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--stamp-blue);
    margin-bottom: 4px;
}

.admin-section-ledger p.section-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--border-dashed);
}

.config-row-vintage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.cron-box-vintage {
    background: var(--bg-card-sub);
    border: 1px solid var(--border-vintage);
    padding: 12px;
    border-radius: 6px;
    margin-top: 10px;
}

/* Aliases for cross-template compatibility */
.btn-primary {
    background: var(--stamp-blue) !important;
    color: #ffffff !important;
    border-color: var(--stamp-blue-hover) !important;
}

.btn-primary:hover {
    background: var(--stamp-blue-hover) !important;
}

.btn-secondary {
    background: #e8ded1 !important;
    color: var(--text-main) !important;
    border-color: var(--border-vintage) !important;
}

.btn-secondary:hover {
    background: #ded2c3 !important;
}

.vintage-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 530px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-paper);
    border-top: 2px solid var(--border-vintage);
    border-left: 2px solid var(--border-vintage);
    border-right: 2px solid var(--border-vintage);
    display: flex;
    justify-content: space-around;
    padding: 9px 0 8px 0;
    box-shadow: 0 -4px 16px rgba(39, 35, 31, 0.08);
    z-index: 1000;
}

.vintage-nav a {
    color: var(--text-muted);
    text-align: center;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
    padding: 2px 14px;
}

.vintage-nav a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.vintage-nav a:hover {
    color: var(--stamp-red);
}

.vintage-nav a:hover svg {
    transform: translateY(-2px);
}

.vintage-nav a.active {
    color: var(--stamp-blue);
}

.vintage-nav a.active svg {
    fill: var(--stamp-blue);
}

.vintage-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--stamp-red);
    background: #eedecf;
    border: 1.5px solid var(--stamp-red);
    padding: 3px 14px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.vintage-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-vintage);
    border-radius: 8px;
    padding: 20px 18px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-envelope);
    position: relative;
}

.vintage-article {
    margin-top: 28px;
    padding: 24px 20px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-vintage);
    border-radius: 8px;
    box-shadow: var(--shadow-envelope);
}

.article-badge {
    display: inline-block;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--stamp-red);
    background: #f7ede3;
    border: 1px dashed var(--stamp-red);
    padding: 3px 12px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.article-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--stamp-blue);
    margin: 8px 0 6px 0;
}

.article-divider {
    text-align: center;
    color: var(--stamp-red);
    letter-spacing: 6px;
    margin: 18px 0;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-vintage);
    border-left: 3px solid var(--stamp-blue);
    border-radius: 4px;
    padding: 14px;
}

.faq-question {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.faq-answer {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.quote-box {
    margin-top: 20px;
    padding: 14px 16px;
    background: #fdfaf3;
    border-left: 3px solid var(--postal-gold);
    border-radius: 0 4px 4px 0;
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
    font-family: 'Merriweather', Georgia, serif;
}
