* {
    box-sizing: border-box;
}

:root {
    --bg: #120d0b;
    --bg-soft: rgba(31, 22, 19, 0.92);
    --panel-dark: rgba(45, 31, 27, 0.94);
    --panel-dark-2: rgba(58, 40, 35, 0.94);
    --line: rgba(214, 185, 132, 0.24);
    --text: #efe4cb;
    --muted: #cdb991;
    --gold: #d2a85c;
    --gold-soft: #9f7b3f;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.12);
    --radius: 18px;
    --radius-sm: 12px;
    --maxw: 1500px;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background:
        radial-gradient(circle at top, rgba(136, 88, 45, 0.18), transparent 35%),
        linear-gradient(rgba(10, 7, 6, 0.78), rgba(10, 7, 6, 0.92)),
        url('https://images.unsplash.com/photo-1518562180175-34a163b1a9a6?auto=format&fit=crop&w=1600&q=80') center/cover fixed no-repeat;
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =========================================================
   BANNIÈRE
   ========================================================= */

.site-header {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #1a120f;
    border-bottom: 1px solid var(--line);
}

.site-header-media {
    position: relative;
    width: 100%;
    background: #1a120f;
    isolation: isolate;
}

.site-header-banner {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center center;
    background: #1a120f;
}

.header-mist,
.header-sparkles,
.header-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.header-mist {
    z-index: 2;
    opacity: 0.30;
    mix-blend-mode: screen;
}

.mist-back {
    background:
        radial-gradient(circle at 12% 78%, rgba(255, 221, 181, 0.20), transparent 20%),
        radial-gradient(circle at 34% 72%, rgba(235, 210, 180, 0.16), transparent 24%),
        radial-gradient(circle at 68% 70%, rgba(255, 227, 192, 0.14), transparent 22%),
        radial-gradient(circle at 88% 76%, rgba(255, 221, 181, 0.12), transparent 18%);
    filter: blur(12px);
    animation: mistDriftBack 24s linear infinite alternate;
}

.mist-front {
    background:
        radial-gradient(circle at 16% 88%, rgba(255, 230, 194, 0.20), transparent 18%),
        radial-gradient(circle at 50% 86%, rgba(255, 236, 209, 0.16), transparent 22%),
        radial-gradient(circle at 82% 88%, rgba(255, 224, 188, 0.18), transparent 16%);
    filter: blur(20px);
    opacity: 0.24;
    animation: mistDriftFront 32s ease-in-out infinite alternate;
}

.header-sparkles {
    z-index: 3;
    overflow: hidden;
}

.spark {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 228, 159, 0.95) 0%, rgba(255, 206, 92, 0.55) 48%, rgba(255, 206, 92, 0) 74%);
    box-shadow: 0 0 10px rgba(255, 204, 102, 0.24);
    opacity: 0;
    animation: sparkleFloat 9s ease-in-out infinite;
}

.spark::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(255, 236, 183, 0.28), transparent 70%);
}

.s1  { left: 8%;  top: 62%; animation-delay: 0.2s; animation-duration: 8.5s; }
.s2  { left: 14%; top: 30%; animation-delay: 1s; animation-duration: 10s; }
.s3  { left: 22%; top: 72%; animation-delay: 1.8s; animation-duration: 11s; }
.s4  { left: 31%; top: 44%; animation-delay: 2.4s; animation-duration: 9.2s; }
.s5  { left: 43%; top: 68%; animation-delay: 0.8s; animation-duration: 10.8s; }
.s6  { left: 55%; top: 35%; animation-delay: 3.1s; animation-duration: 8.9s; }
.s7  { left: 63%; top: 76%; animation-delay: 2.1s; animation-duration: 10.6s; }
.s8  { left: 72%; top: 28%; animation-delay: 0.4s; animation-duration: 9.8s; }
.s9  { left: 79%; top: 58%; animation-delay: 2.8s; animation-duration: 11.6s; }
.s10 { left: 86%; top: 34%; animation-delay: 1.4s; animation-duration: 9.4s; }
.s11 { left: 91%; top: 70%; animation-delay: 3.6s; animation-duration: 12.2s; }
.s12 { left: 49%; top: 22%; animation-delay: 4.2s; animation-duration: 8.7s; }

.header-overlay {
    z-index: 4;
    background:
        linear-gradient(180deg, rgba(18,13,11,0.02), rgba(18,13,11,0.10)),
        radial-gradient(circle at center, transparent 58%, rgba(0,0,0,0.06) 100%);
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 24px;
    background: linear-gradient(180deg, rgba(26,18,15,0), rgba(26,18,15,0.18));
    pointer-events: none;
}

.header-inner {
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    bottom: 8px;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    align-items: end;
}

.site-brand {
    display: inline-block;
    max-width: 620px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(32, 21, 17, 0.18);
    border: 1px solid rgba(214, 185, 132, 0.12);
    backdrop-filter: blur(2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.site-brand h1 {
    margin: 0 0 4px;
    font-size: clamp(1.45rem, 2.5vw, 2.15rem);
    line-height: 1.1;
    letter-spacing: 0.05em;
    color: #f3e6c8;
}

.site-brand p {
    margin: 0;
    font-size: 0.92rem;
    color: #f0dfbd;
}

/* =========================================================
   NAVIGATION / WRAPPER
   ========================================================= */

.main-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    backdrop-filter: blur(10px);
    background: rgba(18, 13, 11, 0.88);
    border-bottom: 1px solid var(--line);
}

.main-nav a {
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    border: 1px solid transparent;
    color: var(--text);
    transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(210, 168, 92, 0.12);
    border-color: rgba(210, 168, 92, 0.4);
    color: #fff2d8;
}

.page-wrap {
    flex: 1;
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 24px 16px 40px;
}

/* =========================================================
   BLOCS GÉNÉRAUX
   ========================================================= */

.home-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}

.panel,
.role-card,
.map-details,
.map-board,
.admin-entry-box {
    background: var(--panel-dark);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.panel {
    padding: 20px;
}

.panel h2,
.page-heading h2 {
    margin-top: 0;
    color: #f0dfbb;
}

.info-card,
.announcement-card,
.rule-item,
.note-box {
    background: var(--panel-dark-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-bottom: 14px;
}

.announcement-card h3,
.info-card h3,
.role-card h3,
.map-details h3 {
    margin-top: 0;
    color: #f3e5be;
}

.rich-text,
.panel p,
.role-card p,
.map-details p,
.note-box {
    line-height: 1.7;
    color: var(--text);
}

.empty-state {
    opacity: 0.95;
}

.site-footer {
    text-align: center;
    padding: 18px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    background: rgba(18, 13, 11, 0.9);
}

/* =========================================================
   GAZETTE / ACCUEIL
   ========================================================= */

.news-hero {
    margin-bottom: 18px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    min-height: auto;
    position: relative;
}

.news-hero-paper {
    background: linear-gradient(180deg, rgba(238, 222, 190, 0.94), rgba(210, 188, 145, 0.90));
    border: 1px solid rgba(102, 71, 31, 0.18);
}

.news-hero-paper::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(93, 67, 43, 0.020) 0px,
            rgba(93, 67, 43, 0.020) 1px,
            transparent 1px,
            transparent 5px
        );
    opacity: 0.42;
    pointer-events: none;
}

.news-hero-inner {
    position: relative;
    z-index: 1;
    padding: 30px 24px;
    max-width: 900px;
}

.news-kicker {
    display: inline-block;
    padding: 7px 14px;
    margin-bottom: 14px;
    border-radius: 999px;
    border: 1px solid rgba(102, 71, 31, 0.22);
    background: rgba(255,255,255,0.18);
    color: #6d4d2a;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.victorian-masthead-wrap {
    display: inline-block;
    margin: 4px 0 14px;
    padding: 16px 20px 14px;
    border-radius: 18px;
    background: rgba(255,248,236,0.42);
    border: 1px solid rgba(142,103,48,0.24);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.05),
        0 12px 28px rgba(0,0,0,0.08);
}

.victorian-masthead {
    font-size: clamp(2.1rem, 4.8vw, 4.3rem);
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #6a4923;
    font-weight: 700;
}

.victorian-subline {
    margin-top: 8px;
    color: #5d432d;
    font-size: 0.96rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.news-hero-paper p {
    margin: 0;
    max-width: 720px;
    line-height: 1.8;
    color: #3b291b;
    font-size: 1.04rem;
}

.newspaper-layout {
    grid-template-columns: 290px minmax(0, 1fr) 320px;
}

.newspaper-column {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(48, 34, 29, 0.96), rgba(33, 22, 18, 0.97));
}

.paper-card,
.paper-panel,
.paper-rule {
    position: relative;
}

.panel-ornament {
    height: 16px;
    margin: -20px -20px 18px;
    background:
        linear-gradient(90deg, transparent, rgba(210,168,92,0.8), transparent),
        linear-gradient(180deg, rgba(210,168,92,0.12), rgba(210,168,92,0.03));
    border-bottom: 1px solid rgba(214, 185, 132, 0.2);
}

.section-intro {
    color: #dac7a2;
    font-style: italic;
    margin-top: -4px;
    margin-bottom: 18px;
}

.journal-title-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: start;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(214,185,132,0.16);
}

.journal-edition {
    color: #d7ba82;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.82rem;
    margin-bottom: 6px;
}

.journal-stamp {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(214,185,132,0.28);
    color: #f0deb8;
    background: rgba(210,168,92,0.10);
    white-space: nowrap;
    font-size: 0.92rem;
}

.journal-card,
.journal-rule,
.journal-feature,
.journal-article,
.frontpage-feature {
    padding: 26px 28px !important;
}
.journal-card,
.journal-rule {
    background: linear-gradient(180deg, rgba(63, 45, 37, 0.86), rgba(46, 32, 27, 0.95));
    border: 1px solid rgba(214, 185, 132, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

/* =========================================================
   ANNONCES PREMIUM HOMOGÈNES
   ========================================================= */

.frontpage-feature,
.announcement-card.journal-article {
    background: linear-gradient(180deg, rgba(63, 45, 37, 0.86), rgba(46, 32, 27, 0.95));
    border: 1px solid rgba(214, 185, 132, 0.18);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.02),
        0 10px 24px rgba(0,0,0,0.18);
    color: var(--text);
}

.feature-frame {
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(214,185,132,0.10);
    border-radius: 10px;
    pointer-events: none;
}

.mini-ornament {
    width: 58px;
    height: 3px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(210,168,92,0.1), rgba(210,168,92,0.95), rgba(210,168,92,0.1));
}

.announcement-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 0.82rem;
    border-radius: 999px;
    border: 1px solid rgba(214, 185, 132, 0.24);
    background: rgba(210, 168, 92, 0.12);
    color: #f3e5be;
}

.badge-gold {
    background: rgba(210, 168, 92, 0.22);
    color: #f3e5be;
}

.date,
.announcement-date,
.frontpage-label {
    color: #cdb991;
}

.frontpage-label {
    margin-bottom: 12px;

    font-size: 2.0rem;           /* + gros */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;

    color: #f3e5be;              /* plus lisible */

    padding-bottom: 6px;
    border-bottom: 1px solid rgba(214, 185, 132, 0.25); /* style journal */
}

/* =========================================================
   UNE ET ANNONCES : MÊME STRUCTURE
   ========================================================= */

.frontpage-feature h3,
.secondary-feature h3,
.announcement-card.journal-article h3 {
    margin: 0 0 14px;
    font-size: clamp(1.45rem, 2.3vw, 2.1rem);
    line-height: 1.15;
    color: #f3e5be;
    position: relative;
    z-index: 1;
}

.secondary-feature h3 {
    font-size: clamp(1.28rem, 2vw, 1.7rem);
    margin-bottom: 12px;
}

.frontpage-grid {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.frontpage-visual {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 380px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(214, 185, 132, 0.18);
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    background:
        linear-gradient(180deg, rgba(78, 57, 45, 0.65), rgba(46, 32, 27, 0.65));
    padding: 8px;
}

.frontpage-visual img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: contain;
    object-position: center top;
    background: transparent;
    filter: sepia(0.08) saturate(0.92) contrast(1.02);
}

.frontpage-content {
    color: var(--text);
    line-height: 1.9;
    text-align: justify;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    column-count: 1;
    column-gap: 0;
}

.frontpage-content,
.frontpage-content p,
.frontpage-content div,
.frontpage-content span {
    color: var(--text);
    text-shadow: none;
}

.frontpage-content::before {
    display: none;
}

.frontpage-content.dropcap-text::first-letter {
    float: left;
    font-size: 4.2em;
    line-height: 0.78;
    padding-right: 10px;
    padding-top: 6px;
    font-weight: 700;
    color: var(--gold);
    text-shadow: none;
}

/* =========================================================
   ANNONCES SECONDAIRES
   ========================================================= */

.secondary-announcements {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 18px;
}

.announcement-footer {
    clear: both;
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(214, 185, 132, 0.12);
    color: var(--muted);
    font-size: 0.92rem;
}

/* =========================================================
   LISTE JOUEURS
   ========================================================= */

.connected-players-list {
    margin: 0;
    padding-left: 18px;
    color: var(--text);
}

.connected-players-list li + li {
    margin-top: 4px;
}

/* =========================================================
   PAGINATION
   ========================================================= */

.pagination-wrap {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.pagination-link,
.pagination-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(214, 185, 132, 0.22);
    background: rgba(210, 168, 92, 0.08);
    color: #f0deb8;
    transition: 0.2s ease;
}

.pagination-link:hover,
.pagination-page:hover {
    background: rgba(210, 168, 92, 0.16);
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-page.is-active {
    background: rgba(210, 168, 92, 0.24);
    color: #fff2d8;
    border-color: rgba(214, 185, 132, 0.4);
}

.pagination-link.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

/* =========================================================
   RÈGLES
   ========================================================= */

.rule-toggle {
    width: 100%;
    text-align: left;
    background: transparent;
    color: #f2dfb9;
    border: 0;
    font: inherit;
    font-size: 1.03rem;
    cursor: pointer;
    padding: 0;
    font-weight: bold;
    letter-spacing: 0.01em;
}

.rule-body {
    display: none;
    margin-top: 12px;
    color: var(--muted);
    line-height: 1.6;
}

.rule-body.is-open {
    display: block;
}

.rule-item.journal-rule {
    padding-top: 16px;
}

.rule-item.journal-rule::before {
    content: "✦";
    position: absolute;
    top: 10px;
    right: 14px;
    color: rgba(224, 187, 114, 0.78);
    font-size: 1rem;
}

/* =========================================================
   AUTRES PAGES EXISTANTES
   ========================================================= */

.single-page {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.page-heading,
.admin-entry-box {
    padding: 22px;
}

.map-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
}

.map-board {
    position: relative;
    overflow: hidden;
    min-height: 480px;
}

.map-image,
.map-details img,
.role-card img {
    display: block;
    width: 100%;
    height: auto;
}

.map-point {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(242, 219, 168, 0.7);
    background: rgba(210, 168, 92, 0.88);
    color: #1b120f;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(210, 168, 92, 0.5);
}

.map-details {
    padding: 18px;
}

.map-details img {
    border-radius: 14px;
    border: 1px solid var(--line);
    margin-bottom: 14px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.role-card {
    overflow: hidden;
}

.role-card img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-bottom: 1px solid var(--line);
}

.role-card-body {
    padding: 16px;
}

.button-primary {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #d8b06a, #9f7536);
    color: #1c130f;
    font-weight: bold;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1150px) {
    .home-grid,
    .newspaper-layout {
        grid-template-columns: 1fr;
    }

    .map-layout {
        grid-template-columns: 1fr;
    }

    .panel-left,
    .panel-center,
    .panel-right {
        border-left: 1px solid var(--line);
        border-right: 1px solid var(--line);
    }
}

@media (max-width: 980px) {
    .header-inner {
        padding: 0 14px;
        bottom: 6px;
    }

    .site-brand {
        max-width: 82%;
    }

    .frontpage-grid {
        grid-template-columns: 1fr;
    }

    .frontpage-visual {
        max-width: 100%;
    }

    .frontpage-visual img {
        height: 300px;
    }
}

@media (max-width: 700px) {
    .main-nav {
        justify-content: flex-start;
    }

    .main-nav a {
        flex: 1 1 calc(50% - 10px);
        text-align: center;
    }

    .page-wrap {
        padding: 16px 12px 28px;
    }

    .panel,
    .page-heading,
    .admin-entry-box,
    .map-details {
        padding: 16px;
    }

    .map-board {
        min-height: 260px;
    }

    .site-header::after {
        height: 18px;
    }

    .header-inner {
        position: relative;
        bottom: auto;
        padding: 8px 10px 10px;
        display: block;
        background: rgba(20,14,11,0.58);
        border-top: 1px solid rgba(214, 185, 132, 0.08);
    }

    .site-brand {
        width: 100%;
        max-width: 100%;
        padding: 10px 12px;
        background: rgba(28, 18, 14, 0.16);
    }

    .site-brand h1 {
        font-size: 1.18rem;
    }

    .site-brand p {
        font-size: 0.84rem;
    }

    .news-hero-inner {
        padding: 20px 16px;
    }

    .journal-title-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .victorian-masthead-wrap {
        width: 100%;
        padding: 14px 14px 12px;
    }

    .victorian-subline {
        font-size: 0.82rem;
        letter-spacing: 0.08em;
    }

    .frontpage-content.dropcap-text::first-letter {
        font-size: 3.4em;
        padding-right: 8px;
        padding-top: 4px;
    }

    .frontpage-visual img {
        height: auto;
        max-height: 260px;
    }

    .pagination-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .pagination-pages {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-mist,
    .spark {
        animation: none !important;
    }
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes mistDriftBack {
    0% {
        transform: translate3d(-1.2%, 0, 0) scale(1);
        opacity: 0.20;
    }
    50% {
        opacity: 0.34;
    }
    100% {
        transform: translate3d(1.8%, -1.2%, 0) scale(1.03);
        opacity: 0.26;
    }
}

@keyframes mistDriftFront {
    0% {
        transform: translate3d(2.2%, 0, 0) scale(1);
        opacity: 0.14;
    }
    50% {
        opacity: 0.24;
    }
    100% {
        transform: translate3d(-2.8%, -1.5%, 0) scale(1.04);
        opacity: 0.18;
    }
}

@keyframes sparkleFloat {
    0% {
        transform: translate3d(0, 8px, 0) scale(0.75);
        opacity: 0;
    }
    12% {
        opacity: 0.30;
    }
    50% {
        transform: translate3d(10px, -18px, 0) scale(1);
        opacity: 0.55;
    }
    88% {
        opacity: 0.18;
    }
    100% {
        transform: translate3d(18px, -34px, 0) scale(0.82);
        opacity: 0;
    }
}

/* =========================================================
   Effet papier journal vieilli + ombre interne + grain
   ========================================================= */

.frontpage-feature,
.secondary-feature,
.announcement-card.journal-article {
    position: relative !important;
    overflow: hidden !important;

    background:
        linear-gradient(180deg, rgba(92, 67, 45, 0.10), rgba(46, 32, 27, 0.10)),
        linear-gradient(180deg, rgba(77, 56, 41, 0.96), rgba(52, 37, 30, 0.97)) !important;

    border: 1px solid rgba(214, 185, 132, 0.22) !important;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.025),
        inset 0 18px 30px rgba(255, 232, 190, 0.03),
        inset 0 -18px 28px rgba(0, 0, 0, 0.16),
        inset 0 0 32px rgba(0, 0, 0, 0.10),
        0 12px 28px rgba(0,0,0,0.22) !important;
}

/* grain léger */
.frontpage-feature::before,
.secondary-feature::before,
.announcement-card.journal-article::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    z-index: 0 !important;
    opacity: 0.24 !important;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(255, 238, 204, 0.030) 0px,
            rgba(255, 238, 204, 0.030) 1px,
            transparent 1px,
            transparent 4px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255, 235, 198, 0.018) 0px,
            rgba(255, 235, 198, 0.018) 1px,
            transparent 1px,
            transparent 6px
        ),
        radial-gradient(circle at 20% 15%, rgba(255, 232, 190, 0.06), transparent 28%),
        radial-gradient(circle at 85% 70%, rgba(255, 221, 171, 0.05), transparent 24%) !important;
}

/* légère patine centrale */
.frontpage-feature::after,
.secondary-feature::after,
.announcement-card.journal-article::after {
    content: "" !important;
    position: absolute !important;
    inset: 10px !important;
    border-radius: 10px !important;
    pointer-events: none !important;
    z-index: 0 !important;
    border: 1px solid rgba(214, 185, 132, 0.08) !important;
    box-shadow:
        inset 0 0 18px rgba(255, 224, 179, 0.025),
        inset 0 0 40px rgba(0,0,0,0.08) !important;
}

/* remettre le contenu au-dessus des textures */
.frontpage-feature > *,
.secondary-feature > *,
.announcement-card.journal-article > * {
    position: relative !important;
    z-index: 1 !important;
}

/* texte un peu plus chaleureux */
.frontpage-feature h3,
.secondary-feature h3,
.announcement-card.journal-article h3 {
    color: #f1dfb7 !important;
}

.frontpage-content,
.frontpage-content p,
.frontpage-content div,
.frontpage-content span,
.announcement-content,
.announcement-content p,
.announcement-content div,
.announcement-content span {
    color: #ead8b1 !important;
}

/* lettrine plus journal ancien */
.frontpage-content.dropcap-text::first-letter,
.announcement-content.dropcap-text::first-letter {
    color: #d7ad63 !important;
    text-shadow:
        0 1px 0 rgba(255,255,255,0.04),
        0 0 8px rgba(210,168,92,0.08) !important;
}

/* image mieux intégrée au papier */
.frontpage-visual {
    background:
        linear-gradient(180deg, rgba(102, 74, 53, 0.72), rgba(55, 39, 31, 0.72)) !important;
    border: 1px solid rgba(214, 185, 132, 0.20) !important;
    box-shadow:
        0 8px 18px rgba(0,0,0,0.18),
        inset 0 0 0 1px rgba(255,255,255,0.02) !important;
}