/* ============================================================
   LINGUVIAS — Core Stylesheet
   ============================================================
   Design notes:
   - Palette is rooted in the Italian flag but deepened/desaturated
     so it reads editorial rather than novelty-souvenir.
   - "Via" (road/route) is the throughline: Linguvias = language
     roads. The dotted route rule under the nav and the route-dot
     markers are the signature motif — used once, with restraint.
   - Display face: Fraunces (warm, slightly idiosyncratic serif —
     evokes old Italian travel posters/typeset signage).
   - Body/UI face: Archivo (clean grotesque, good at small sizes).
   ============================================================ */

:root {
    /* ---- Color tokens ---- */
    --ita-green:        #0F5C3F;
    --ita-green-dark:   #0A3D2A;
    --ita-white:        #F7F3EC;
    --ita-red:          #C8333B;
    --ita-red-dark:     #9C2329;
    --gold:             #B08D45;

    --ink:              #1B1B1B;
    --ink-soft:         #4A4742;
    --ink-faint:        #8A857C;
    --border-soft:      #E4DDCD;

    --surface:          var(--ita-white);
    --surface-raised:   #FFFFFF;

    /* ---- Type ---- */
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body:    'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* ---- Spacing scale ---- */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.75rem;
    --space-lg: 3rem;
    --space-xl: 5rem;

    --radius: 6px;
    --max-width: 1180px;
}

/* ---- Reset ---- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--surface);
    line-height: 1.6;
    font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 var(--space-sm);
    color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 var(--space-sm); color: var(--ink-soft); }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Respect reduced-motion preferences site-wide */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   TRICOLOR RULE — thin flag detail, used once at the very top
   ============================================================ */
.tricolor-rule {
    height: 4px;
    display: flex;
    width: 100%;
}
.tricolor-rule span { flex: 1; }
.tricolor-rule .stripe-green { background: var(--ita-green); }
.tricolor-rule .stripe-white { background: var(--ita-white); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.tricolor-rule .stripe-red   { background: var(--ita-red); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
    background: var(--surface-raised);
    border-bottom: 1px solid var(--border-soft);
    position: sticky;
    top: 0;
    z-index: 50;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
}

.wordmark {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
    white-space: nowrap;
}
.wordmark .ling { color: var(--ita-green); }
.wordmark .via  { color: var(--ita-red); }
.wordmark .s    { color: var(--ink); }

/* Primary nav rendered as a "route": each section is a stop,
   joined by a dotted line, the active stop gets a filled dot. */
.route-nav {
    display: flex;
    align-items: center;
    list-style: none;
}
.route-nav li {
    display: flex;
    align-items: center;
}
.route-nav li + li::before {
    content: '';
    width: 22px;
    height: 1px;
    margin: 0 4px;
    background-image: linear-gradient(to right, var(--ink-faint) 0 4px, transparent 4px 8px);
    background-size: 8px 1px;
    background-repeat: repeat-x;
    flex-shrink: 0;
}
.route-nav a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink-soft);
    border-radius: var(--radius);
    transition: color 0.15s ease, background-color 0.15s ease;
}
.route-nav a::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ink-faint);
    flex-shrink: 0;
    transition: background-color 0.15s ease, transform 0.15s ease;
}
.route-nav a:hover {
    color: var(--ita-green-dark);
    background: rgba(15, 92, 63, 0.06);
}
.route-nav a:hover::before { background: var(--ita-green); }
.route-nav a:focus-visible {
    outline: 2px solid var(--ita-green);
    outline-offset: 2px;
}
.route-nav a[aria-current="page"] {
    color: var(--ita-red-dark);
}
.route-nav a[aria-current="page"]::before {
    background: var(--ita-red);
    transform: scale(1.2);
}

/* ---- Dropdown: "Learn Italian" nav item ---- */
.has-dropdown {
    position: relative;
}
.dropdown-caret {
    margin-left: 2px;
    transition: transform 0.15s ease;
}
.has-dropdown.is-open .dropdown-caret,
.has-dropdown:hover .dropdown-caret {
    transform: rotate(180deg);
}
.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 280px;
    background: var(--surface-raised);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    box-shadow: 0 18px 32px -16px rgba(27, 27, 27, 0.18);
    padding: 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
    z-index: 60;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown.is-open .dropdown-menu,
.dropdown-menu:focus-within {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li + li::before { content: none; }
.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink-soft);
    white-space: nowrap;
}
.dropdown-menu a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}
.dropdown-menu a:hover {
    background: rgba(15, 92, 63, 0.07);
    color: var(--ita-green-dark);
}
.dropdown-menu a[aria-current="page"] {
    color: var(--ita-red-dark);
    background: rgba(200, 51, 59, 0.06);
}

@media (max-width: 880px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        display: none;
        padding: 0 0 0 var(--space-sm);
        margin-top: 4px;
    }
    .has-dropdown.is-open .dropdown-menu { display: block; }
    .dropdown-toggle { justify-content: space-between; }
}

.header-actions { display: flex; align-items: center; gap: var(--space-sm); }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}
.btn-primary {
    background: var(--ita-green);
    color: var(--ita-white);
}
.btn-primary:hover { background: var(--ita-green-dark); }
.btn-outline {
    background: transparent;
    border-color: var(--border-soft);
    color: var(--ink);
}
.btn-outline:hover { border-color: var(--ink-faint); }
.btn-lang {
    background: transparent;
    border: 1.5px solid var(--ita-green);
    color: var(--ita-green);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 5px 10px;
}
.btn-lang:hover {
    background: var(--ita-green);
    color: #fff;
}
.btn-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    padding: 6px;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}
.btn-search:hover { color: var(--ita-green); background: rgba(15,92,63,0.07); }
.btn-block { width: 100%; }
.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--ita-white);
    border: 1px solid var(--border-soft);
    padding: 4px 11px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink-soft);
    transition: border-color 0.15s ease, color 0.15s ease;
}
.tag-pill:hover { border-color: var(--ita-green); color: var(--ita-green-dark); }

/* Mobile nav toggle (progressive — no JS framework required) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    margin: 4px 0;
}

@media (max-width: 880px) {
    .nav-toggle { display: block; }
    .route-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--surface-raised);
        border-bottom: 1px solid var(--border-soft);
        padding: var(--space-sm) var(--space-md);
    }
    .route-nav.is-open { display: flex; }
    .route-nav li { width: 100%; }
    .route-nav li + li::before { display: none; }
    .route-nav a { width: 100%; padding: 12px 6px; }
    .header-actions .btn-outline { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    overflow: hidden;
    padding: var(--space-xl) 0;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--ita-white) 100%);
}
.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-lg);
    align-items: center;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ita-green-dark);
    margin-bottom: var(--space-sm);
}
.hero-eyebrow::before {
    content: '';
    width: 16px;
    height: 2px;
    background: var(--ita-red);
}
.hero h1 { margin-bottom: var(--space-sm); }
.hero h1 em {
    font-style: normal;
    color: var(--ita-green);
    position: relative;
}
.hero-lede {
    font-size: 1.1rem;
    max-width: 36ch;
    margin-bottom: var(--space-md);
}
.hero-cta-group { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

/* The route map illustration: 4 stops connected by a dashed path */
.route-map {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 420px;
}
.route-map svg { width: 100%; height: 100%; }

@media (max-width: 880px) {
    .hero .container { grid-template-columns: 1fr; }
    .route-map { max-width: 320px; margin: 0 auto; }
}

/* ============================================================
   SECTION CARDS ("ROUTE STOPS")
   ============================================================ */
.section-stops {
    padding: var(--space-xl) 0;
}
.section-stops-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto var(--space-lg);
}
.stops-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}
.stop-card {
    background: var(--surface-raised);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: var(--space-md);
    position: relative;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.stop-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -12px rgba(15, 92, 63, 0.25);
    border-color: var(--ita-green);
}
.stop-card .stop-number {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ita-red);
    margin-bottom: var(--space-xs);
    display: block;
}
.stop-card h3 { margin-bottom: 6px; }
.stop-card p { font-size: 0.92rem; margin-bottom: var(--space-sm); }
.stop-card .stop-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ita-green-dark);
}
.stop-card .stop-link::after { content: ' →'; }

@media (max-width: 980px) {
    .stops-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .stops-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--ink);
    color: #D9D5CC;
    padding: var(--space-xl) 0 var(--space-md);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}
.footer-grid h4 {
    color: var(--ita-white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-sm);
}
.footer-grid ul { display: flex; flex-direction: column; gap: 9px; }
.footer-grid a { color: #B8B3A8; font-size: 0.92rem; transition: color 0.15s ease; }
.footer-grid a:hover { color: var(--ita-white); }
.footer-wordmark { font-family: var(--font-display); font-size: 1.4rem; color: var(--ita-white); margin-bottom: var(--space-xs); }
.footer-wordmark .via { color: #E07A7E; }
.footer-tagline { font-size: 0.9rem; color: #8A857C; max-width: 28ch; }
.footer-bottom {
    border-top: 1px solid #33312C;
    padding-top: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    font-size: 0.82rem;
    color: #8A857C;
}
.footer-bottom .tricolor-dots { display: inline-flex; gap: 4px; }
.footer-bottom .tricolor-dots span { width: 6px; height: 6px; border-radius: 50%; }
.footer-bottom .tricolor-dots .d-green { background: var(--ita-green); }
.footer-bottom .tricolor-dots .d-white { background: var(--ita-white); }
.footer-bottom .tricolor-dots .d-red { background: var(--ita-red); }

@media (max-width: 880px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   UTILITY / PLACEHOLDER PAGE STYLES
   (used by the stub pages for dictionary, flashcards, etc.)
   ============================================================ */
.placeholder-page {
    padding: var(--space-xl) 0;
    text-align: center;
}
.placeholder-page .placeholder-icon {
    font-size: 2.4rem;
    margin-bottom: var(--space-sm);
}
.placeholder-page h1 { margin-bottom: var(--space-xs); }
.placeholder-page p { max-width: 46ch; margin: 0 auto var(--space-md); }

/* ============================================================
   CONTENT LAYOUT — sidebar + article
   Used by Learn Italian hub + all 6 sub-pages.
   ============================================================ */
.content-layout {
    padding: var(--space-lg) 0 var(--space-xl);
}
.content-layout .container {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: var(--space-lg);
    align-items: start;
}

/* ============================================================
   FULL-WIDTH SECTION (single column, no sidebar)
   Used by Dictionary and Flashcards pages, which need the
   .container's max-width/centering but NOT the sidebar grid
   that .content-layout applies.
   ============================================================ */
.full-width-section {
    padding: var(--space-lg) 0 var(--space-xl);
}

/* ---- Breadcrumb ---- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--ink-faint);
    margin-bottom: var(--space-md);
    grid-column: 1 / -1;
}
.breadcrumb a { color: var(--ink-soft); font-weight: 600; }
.breadcrumb a:hover { color: var(--ita-green-dark); }
.breadcrumb .sep { color: var(--border-soft); }
.breadcrumb .current { color: var(--ita-red-dark); font-weight: 600; }

/* ---- Sidebar ---- */
.sidebar {
    background: var(--surface-raised);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: var(--space-md);
    position: sticky;
    top: calc(64px + var(--space-md));
}
.sidebar-heading {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid var(--border-soft);
}
.sidebar-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: var(--space-md);
}
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink-soft);
    transition: background-color 0.15s ease, color 0.15s ease;
}
.sidebar-nav a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ink-faint);
    flex-shrink: 0;
    transition: background-color 0.15s ease, transform 0.15s ease;
}
.sidebar-nav a:hover {
    background: rgba(15, 92, 63, 0.07);
    color: var(--ita-green-dark);
}
.sidebar-nav a:hover::before { background: var(--ita-green); }
.sidebar-nav a[aria-current="page"] {
    background: rgba(200, 51, 59, 0.07);
    color: var(--ita-red-dark);
}
.sidebar-nav a[aria-current="page"]::before {
    background: var(--ita-red);
    transform: scale(1.2);
}

.sidebar-explore-more {
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border-soft);
}
.sidebar-explore-more .sidebar-heading {
    border-bottom: none;
    margin-bottom: var(--space-xs);
}
.sidebar-explore-more .sidebar-nav a::before { background: var(--gold); }
.sidebar-explore-more .sidebar-nav a:hover::before { background: var(--gold); }

@media (max-width: 980px) {
    .content-layout .container { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}

/* ---- Article ---- */
.article {
    background: var(--surface-raised);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: var(--space-lg);
}
.article-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ita-green-dark);
    margin-bottom: var(--space-xs);
}
.article-eyebrow::before {
    content: '';
    width: 14px;
    height: 2px;
    background: var(--ita-red);
}
.article h1 { margin-bottom: var(--space-xs); }
.article-lede {
    font-size: 1.08rem;
    color: var(--ink-soft);
    margin-bottom: var(--space-md);
    max-width: 70ch;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.82rem;
    color: var(--ink-faint);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-soft);
}

.article-body h2 {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-soft);
}
.article-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.article-body h3 {
    margin-top: var(--space-md);
    color: var(--ita-green-dark);
}
.article-body p { max-width: 74ch; }
.article-body ul,
.article-body ol {
    margin: 0 0 var(--space-sm);
    padding-left: 1.4rem;
    color: var(--ink-soft);
    max-width: 74ch;
}
.article-body li { margin-bottom: 6px; }
.article-body strong { color: var(--ink); }
.article-body em.it { font-style: normal; color: var(--ita-green-dark); font-weight: 600; }

/* Table used for grammar/vocab reference */
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-sm) 0 var(--space-md);
    font-size: 0.92rem;
}
.article-body th, .article-body td {
    text-align: left;
    padding: 9px 12px;
    border: 1px solid var(--border-soft);
}
.article-body th {
    background: var(--ita-white);
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink);
}
.article-body tr:nth-child(even) td { background: rgba(244, 243, 236, 0.5); }

/* Callout box — tips, cultural notes, common mistakes */
.callout {
    border-left: 3px solid var(--ita-green);
    background: rgba(15, 92, 63, 0.05);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: var(--space-sm) var(--space-md);
    margin: var(--space-md) 0;
    max-width: 74ch;
}
.callout p:last-child { margin-bottom: 0; }
.callout-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ita-green-dark);
    margin-bottom: 4px;
}
.callout.callout-warning {
    border-left-color: var(--ita-red);
    background: rgba(200, 51, 59, 0.05);
}
.callout.callout-warning .callout-label { color: var(--ita-red-dark); }

/* ============================================================
   ITALKI AFFILIATE CTA BLOCK
   A mid-article call to action that appears on content pages.
   Designed to feel like a natural part of the article flow
   rather than an ad — muted colour, editorial tone, no banner.
   ============================================================ */
.italki-cta {
    margin: var(--space-lg) 0;
    border: 1.5px solid rgba(176,141,69,0.35);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(176,141,69,0.06) 0%, rgba(247,243,236,0.8) 100%);
    overflow: hidden;
}
.italki-cta-inner {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
}
.italki-cta-icon {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
}
.italki-cta-body {
    flex: 1;
    min-width: 0;
}
.italki-cta-heading {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 4px;
}
.italki-cta-sub {
    font-size: 0.88rem;
    color: var(--ink-soft);
    margin: 0;
    line-height: 1.5;
}
.italki-cta-btn {
    display: inline-block;
    flex-shrink: 0;
    padding: 10px 20px;
    background: var(--gold, #B08D45);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, transform 0.12s;
}
.italki-cta-btn:hover {
    background: #9a7a37;
    transform: translateY(-1px);
}
@media (max-width: 620px) {
    .italki-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }
    .italki-cta-btn { width: 100%; text-align: center; }
}

/* End-of-article "next steps" link grid */
.next-steps {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-soft);
}
.next-steps h2 { border-top: none !important; padding-top: 0 !important; margin-top: 0 !important; }
.next-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}
.next-step-card {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: var(--space-sm);
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.next-step-card:hover {
    border-color: var(--ita-green);
    transform: translateY(-2px);
}
.next-step-card span.label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--ita-red-dark);
    margin-bottom: 4px;
}
.next-step-card strong { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--ink); }

@media (max-width: 760px) {
    .article { padding: var(--space-md); }
    .next-steps-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SPEAK BUTTON (Web Speech API trigger)
   Shared between dictionary entries and flashcards.
   ============================================================ */
.speak-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-soft);
    background: var(--surface-raised);
    color: var(--ita-green-dark);
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.speak-btn:hover { background: rgba(15, 92, 63, 0.08); border-color: var(--ita-green); }
.speak-btn:active { transform: scale(0.93); }
.speak-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.speak-btn svg { width: 16px; height: 16px; }

/* ============================================================
   DICTIONARY PAGE
   ============================================================ */
.dictionary-toolbar {
    background: var(--surface-raised);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    align-items: flex-end;
}
.dictionary-toolbar .field { flex: 1; min-width: 160px; }
.dictionary-toolbar label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ink-soft);
    margin-bottom: 5px;
}
.dictionary-toolbar input[type="search"],
.dictionary-toolbar select {
    width: 100%;
    padding: 9px 11px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    background: var(--ita-white);
    color: var(--ink);
}
.dictionary-toolbar input:focus, .dictionary-toolbar select:focus {
    outline: none;
    border-color: var(--ita-green);
}
.dictionary-results-count {
    font-size: 0.85rem;
    color: var(--ink-faint);
    margin-bottom: var(--space-sm);
}

.dictionary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-sm);
}
.word-card {
    background: var(--surface-raised);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: var(--space-sm) var(--space-md);
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.word-card:hover { border-color: var(--ita-green); transform: translateY(-2px); }
.word-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    margin-bottom: 4px;
}
.word-card-italian {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.word-card-gender {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
}
.word-card-translation { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 6px; }
.word-card-meta { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.word-card-example {
    font-size: 0.82rem;
    color: var(--ink-faint);
    border-top: 1px solid var(--border-soft);
    padding-top: 8px;
    margin-top: 4px;
}
.word-card-example .it { color: var(--ita-green-dark); font-weight: 600; display: block; margin-bottom: 2px; }

.dictionary-empty {
    text-align: center;
    padding: var(--space-lg);
    color: var(--ink-faint);
    background: var(--surface-raised);
    border: 1px dashed var(--border-soft);
    border-radius: var(--radius);
}

/* ============================================================
   FLASHCARDS — deck list
   ============================================================ */
.deck-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-md);
}
.deck-card {
    background: var(--surface-raised);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.deck-card:hover {
    border-color: var(--ita-green);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -16px rgba(15, 92, 63, 0.25);
}
.deck-card h3 { margin-bottom: 4px; }
.deck-card p { font-size: 0.9rem; flex: 1; }
.deck-card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: var(--space-sm); }
.deck-card-count { font-size: 0.8rem; color: var(--ink-faint); }

/* ============================================================
   FLASHCARDS — study / flip-card mode
   ============================================================ */
.study-progress {
    text-align: center;
    font-size: 0.85rem;
    color: var(--ink-faint);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}
.flip-card-stage {
    max-width: 480px;
    margin: 0 auto var(--space-md);
}
.flip-card {
    perspective: 1200px;
    height: 260px;
    cursor: pointer;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.5s;
    transform-style: preserve-3d;
}
.flip-card.is-flipped .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    backface-visibility: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
    background: var(--surface-raised);
    padding: var(--space-md);
    text-align: center;
    box-shadow: 0 16px 32px -20px rgba(27, 27, 27, 0.2);
}
.flip-card-face.back {
    transform: rotateY(180deg);
    background: var(--ita-white);
}
.flip-card-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-faint);
    font-weight: 700;
}
.flip-card-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--ink);
    line-height: 1.2;
}
.flip-card-hint { font-size: 0.78rem; color: var(--ink-faint); }
.flip-card-face .speak-btn { width: 42px; height: 42px; }
.flip-card-face .speak-btn svg { width: 19px; height: 19px; }

.study-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}
.study-controls .btn-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-soft);
    background: var(--surface-raised);
    color: var(--ink);
    cursor: pointer;
}
.study-controls .btn-circle:hover { border-color: var(--ita-green); color: var(--ita-green-dark); }
.study-controls .btn-circle:disabled { opacity: 0.3; cursor: not-allowed; }

.study-complete {
    text-align: center;
    padding: var(--space-lg);
}
.study-complete .icon { font-size: 2.4rem; margin-bottom: var(--space-sm); }

@media (max-width: 560px) {
    .dictionary-grid, .deck-grid { grid-template-columns: 1fr; }
    .flip-card { height: 220px; }
    .flip-card-text { font-size: 1.4rem; }
}

/* ============================================================
   FLASHCARDS — quiz mode
   ============================================================ */
.quiz-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--border-soft);
}
.quiz-deck-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin: 0 0 6px;
}
.quiz-meta {
    display: flex;
    gap: var(--space-md);
    font-size: 0.9rem;
    color: var(--ink-faint);
}
.quiz-score-display { color: var(--ink-soft); }
.quiz-timer-wrap {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--ita-green);
    min-width: 70px;
    text-align: right;
}
.quiz-question-panel {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.quiz-prompt-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-faint);
    margin-bottom: var(--space-sm);
}
.quiz-word {
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: var(--ink);
    margin-bottom: var(--space-lg);
    min-height: 3rem;
}
.quiz-choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: var(--space-md);
}
.quiz-choice-btn {
    padding: 14px 12px;
    border: 2px solid var(--border-soft);
    border-radius: 8px;
    background: var(--ita-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--ink);
    cursor: pointer;
    transition: border-color 0.12s, background 0.12s, color 0.12s;
    text-align: center;
}
.quiz-choice-btn:hover:not(:disabled) {
    border-color: var(--ita-green);
    background: rgba(15,92,63,0.05);
}
.quiz-choice-btn.is-correct {
    border-color: var(--ita-green);
    background: rgba(15,92,63,0.12);
    color: var(--ita-green-dark);
    font-weight: 600;
}
.quiz-choice-btn.is-wrong {
    border-color: var(--ita-red);
    background: rgba(200,51,59,0.08);
    color: var(--ita-red);
}
.quiz-feedback {
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: 6px;
    margin-top: var(--space-sm);
    font-weight: 600;
}
.quiz-feedback--correct { background: rgba(15,92,63,0.1); color: var(--ita-green-dark); }
.quiz-feedback--wrong   { background: rgba(200,51,59,0.08); color: var(--ita-red); }

.quiz-results-panel {
    max-width: 520px;
    margin: var(--space-lg) auto;
    text-align: center;
    padding: var(--space-lg);
    background: var(--ita-white);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
}
.quiz-results-icon { font-size: 3rem; margin-bottom: var(--space-sm); }
.quiz-results-panel h2 { margin-bottom: var(--space-sm); }
.quiz-final-score {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--ita-green-dark);
    margin-bottom: var(--space-md);
}
.quiz-missed-list {
    text-align: left;
    margin: var(--space-md) 0;
    padding: var(--space-sm) var(--space-md);
    background: rgba(200,51,59,0.05);
    border-radius: 8px;
    border: 1px solid rgba(200,51,59,0.15);
}
.quiz-missed-list h3 { font-size: 0.9rem; margin-bottom: 8px; color: var(--ita-red); }
.quiz-missed-list ul { list-style: none; padding: 0; margin: 0; }
.quiz-missed-list li { padding: 5px 0; border-bottom: 1px solid var(--border-soft); font-size: 0.9rem; }
.quiz-missed-list li:last-child { border-bottom: none; }
.quiz-results-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: var(--space-md); }

@media (max-width: 500px) {
    .quiz-choices { grid-template-columns: 1fr; }
    .quiz-word { font-size: 1.8rem; }
}

/* ============================================================
   BLOG — listing page
   ============================================================ */
.blog-toolbar {
    background: var(--surface-raised);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    align-items: flex-end;
}
.blog-toolbar .field { flex: 1; min-width: 160px; }
.blog-toolbar label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ink-soft);
    margin-bottom: 5px;
}
.blog-toolbar select, .blog-toolbar input[type="search"] {
    width: 100%;
    padding: 9px 11px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    background: var(--ita-white);
    color: var(--ink);
}
.blog-toolbar select:focus, .blog-toolbar input:focus { outline: none; border-color: var(--ita-green); }
.blog-results-count { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: var(--space-sm); }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}
.blog-card {
    background: var(--surface-raised);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.blog-card:hover {
    border-color: var(--ita-green);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -16px rgba(15, 92, 63, 0.25);
}
.blog-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--ita-white);
    overflow: hidden;
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--border-soft);
}
.blog-card-body {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-card-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.blog-card-date { font-size: 0.78rem; color: var(--ink-faint); }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--ita-green-dark); }
.blog-card p { font-size: 0.9rem; flex: 1; margin-bottom: var(--space-sm); }
.blog-card-readmore { font-size: 0.82rem; font-weight: 700; color: var(--ita-green-dark); margin-top: auto; }
.blog-card-readmore::after { content: ' →'; }

.blog-empty {
    text-align: center;
    padding: var(--space-lg);
    color: var(--ink-faint);
    background: var(--surface-raised);
    border: 1px dashed var(--border-soft);
    border-radius: var(--radius);
}

/* Public pagination (mirrors admin's, kept separate so the two
   areas' styles never depend on each other) */
.public-pagination {
    display: flex;
    gap: 6px;
    margin-top: var(--space-md);
    justify-content: center;
}
.public-pagination a, .public-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border-soft);
    color: var(--ink-soft);
}
.public-pagination a:hover { border-color: var(--ita-green); color: var(--ita-green-dark); }
.public-pagination .current { background: var(--ita-green); color: #fff; border-color: var(--ita-green); }

/* ============================================================
   BLOG — single post detail page
   ============================================================ */
.post-detail-header {
    max-width: 720px;
    margin: 0 auto var(--space-md);
    text-align: center;
}
.post-detail-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: var(--space-sm);
    font-size: 0.85rem;
    color: var(--ink-faint);
}
.post-detail-image {
    max-width: 860px;
    margin: 0 auto var(--space-lg);
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 7;
    background: var(--ita-white);
}
.post-detail-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-detail-body {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--ink-soft);
}
.post-detail-body h2 { margin-top: var(--space-lg); color: var(--ink); }
.post-detail-body h3 { margin-top: var(--space-md); color: var(--ink); }
.post-detail-body p { margin-bottom: var(--space-md); }
.post-detail-body a { color: var(--ita-green-dark); text-decoration: underline; }
.post-detail-body img { max-width: 100%; border-radius: var(--radius); margin: var(--space-sm) 0; }
.post-detail-body ul, .post-detail-body ol { margin-bottom: var(--space-md); padding-left: 1.4rem; }
.post-detail-body blockquote {
    border-left: 3px solid var(--ita-green);
    padding-left: var(--space-sm);
    margin: var(--space-md) 0;
    color: var(--ink-faint);
    font-style: italic;
}
.post-detail-body table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-md) 0;
    font-size: 0.95rem;
    background: var(--surface-raised);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
}
.post-detail-body th, .post-detail-body td {
    padding: 9px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border-soft);
}
.post-detail-body th {
    background: var(--ita-white);
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink-soft);
}
.post-detail-body tr:last-child td { border-bottom: none; }
.post-detail-body code {
    background: var(--ita-white);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'SF Mono', Consolas, Monaco, monospace;
}
.email-template-callout {
    background: var(--ita-white);
    border: 1px solid var(--border-soft);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius);
    padding: var(--space-sm) var(--space-md);
    margin: var(--space-md) 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ink);
}
.email-template-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold);
    margin-bottom: 8px;
}
.post-detail-tags {
    max-width: 720px;
    margin: var(--space-lg) auto 0;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-soft);
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.post-detail-nav {
    max-width: 720px;
    margin: var(--space-lg) auto 0;
    display: flex;
    justify-content: space-between;
    gap: var(--space-sm);
}

@media (max-width: 700px) {
    .blog-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   GENERIC FORMS — contact, newsletter, login, register, account
   Shared across any public page that needs a real form, rather
   than each page rolling its own input styling from scratch.
   ============================================================ */
.form-group { margin-bottom: var(--space-sm); }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--ink);
}
.form-group .hint {
    display: block;
    font-size: 0.8rem;
    color: var(--ink-faint);
    margin-top: 4px;
}
input[type="text"], input[type="email"], input[type="password"],
input[type="search"], input[type="date"], select, textarea {
    width: 100%;
    padding: 10px 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--ink);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    background: var(--surface-raised);
    transition: border-color 0.15s ease;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--ita-green);
    box-shadow: 0 0 0 3px rgba(15, 92, 63, 0.1);
}
textarea { resize: vertical; min-height: 120px; }
.error-banner {
    background: rgba(200, 51, 59, 0.08);
    border: 1px solid rgba(200, 51, 59, 0.3);
    color: var(--ita-red-dark);
    padding: 12px 14px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}
.success-banner {
    background: rgba(15, 92, 63, 0.08);
    border: 1px solid rgba(15, 92, 63, 0.3);
    color: var(--ita-green-dark);
    padding: 12px 14px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

/* ============================================================
   NEWSLETTER SIGNUP (footer + inline variants)
   ============================================================ */
.newsletter-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.newsletter-form input[type="email"] { flex: 1; min-width: 180px; }
.newsletter-form .btn { flex: 0 0 auto; }
.newsletter-inline {
    background: var(--surface-raised);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: var(--space-lg);
    text-align: center;
    max-width: 560px;
    margin: var(--space-lg) auto;
}
.newsletter-inline h3 { margin-bottom: 6px; }
.newsletter-inline p { margin-bottom: var(--space-md); }

/* ============================================================
   AUTH PAGES (login, register, account)
   ============================================================ */
.auth-card {
    max-width: 420px;
    margin: var(--space-lg) auto;
    background: var(--surface-raised);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: var(--space-lg) var(--space-md);
}
.auth-card h1 { text-align: center; margin-bottom: 4px; }
.auth-card .auth-subtitle { text-align: center; color: var(--ink-faint); font-size: 0.9rem; margin-bottom: var(--space-md); }
.auth-switch { text-align: center; font-size: 0.9rem; color: var(--ink-faint); margin-top: var(--space-sm); }
.auth-switch a { color: var(--ita-green-dark); font-weight: 600; }

/* ============================================================
   ACCOUNT DASHBOARD
   ============================================================ */
.account-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: var(--space-lg);
    align-items: start;
}
.account-nav { list-style: none; margin: 0; padding: 0; }
.account-nav li { margin-bottom: 4px; }
.account-nav a {
    display: block;
    padding: 9px 14px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink-soft);
}
.account-nav a:hover { background: var(--ita-white); }
.account-nav a.active { background: var(--ita-green); color: #fff; }

@media (max-width: 700px) {
    .account-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BLOG COMMENTS
   ============================================================ */
.comments-section {
    max-width: 720px;
    margin: var(--space-lg) auto 0;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-soft);
}
.comment-form textarea { min-height: 90px; }
.comment-list { list-style: none; margin: var(--space-md) 0 0; padding: 0; }
.comment-item {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-soft);
}
.comment-item:last-child { border-bottom: none; }
.comment-author { font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.comment-date { font-size: 0.78rem; color: var(--ink-faint); margin-left: 8px; }
.comment-body { font-size: 0.92rem; color: var(--ink-soft); margin-top: 4px; }
.comment-pending-note {
    font-size: 0.8rem;
    color: var(--gold);
    font-style: italic;
    margin-top: 4px;
}
