:root {
    --masters-green: #2C5F2D;
    --masters-green-dark: #1F4420;
    --masters-yellow: #FBF308;
    --ink: #1A1A1A;
    --ink-soft: #4A4A4A;
    --paper: #FAF8F3;
    --rule: #E5E0D5;
    --white: #FFFFFF;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Serif 4', Georgia, serif;
    --font-meta: 'Inter', -apple-system, sans-serif;

    --container: 1200px;
    --gutter: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--masters-green); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header */
.site-header {
    color: var(--white);
    position: relative;
    z-index: 1000;
}
.header-inner {
    display: none;
}
.wordmark {
    color: var(--white);
    text-decoration: none;
    text-align: center;
    font-family: var(--font-display);
    line-height: 1;
}
.wordmark:hover { text-decoration: none; }
.wordmark-main {
    display: block;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 0.5px;
}
.wordmark-sub {
    display: block;
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
    color: var(--masters-yellow);
}
.wordmark-tagline {
    font-family: var(--font-meta);
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FBF308;
    text-align: center;
    margin-top: 4px;
}

/* Navigation */
.site-nav {
    background: var(--masters-green);
}
.tagline-bar {
    background: var(--masters-green-dark);
    text-align: center;
    padding: 6px 0;
    border-bottom: 3px solid var(--masters-yellow);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tagline-bar span {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 1px;
    text-transform: none;
    color: var(--masters-yellow);
}
.nav-inner {
    display: flex;
    align-items: center;
    height: 54px;
    gap: 0;
    position: relative;
}
.nav-wordmark-link {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0;
    color: var(--white);
    text-decoration: none;
    flex-shrink: 0;
    padding: 0 20px 0 0;
    white-space: nowrap;
    position: relative;
    z-index: 2;
    background: var(--masters-green);
}
.nav-wordmark-link em {
    font-style: italic;
    font-weight: 400;
    font-size: 13px;
    color: var(--masters-yellow);
}
.nav-wordmark-link:hover {
    text-decoration: none;
    opacity: 0.9;
}
.nav-center {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    pointer-events: none;
    padding: 0 var(--gutter);
}
.nav-rule {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    display: block;
    min-width: 12px;
}
.nav-pill {
    display: flex;
    list-style: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9999px;
    padding: 3px;
    gap: 0;
    flex-shrink: 0;
    pointer-events: auto;
}
.nav-pill li a {
    display: block;
    padding: 6px 14px;
    font-family: var(--font-meta);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    border-radius: 9999px;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
}
.nav-pill li a:hover,
.nav-pill li a.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    text-decoration: none;
}
.nav-pill li a.nav-diciotto {
    color: var(--masters-yellow);
}
.nav-pill li a.nav-diciotto:hover,
.nav-pill li a.nav-diciotto.active {
    background: var(--masters-yellow);
    color: var(--masters-green);
    text-decoration: none;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    align-items: center;
    justify-content: center;
    color: var(--white);
    -webkit-tap-highlight-color: transparent;
}
.nav-toggle-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    transform-origin: 50% 85%;
    transition: transform 420ms cubic-bezier(0.34, 1.56, 0.64, 1), color 220ms ease;
    pointer-events: none;
}
.nav-toggle-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}
.nav-toggle:active .nav-toggle-icon {
    transform: scale(0.92) !important;
    transition-duration: 120ms;
}
.nav-toggle.open .nav-toggle-icon {
    transform: rotate(-22deg) translateY(-2px) scale(1.08) !important;
    color: var(--masters-yellow) !important;
}

/* Site Layout with Sidebar */
.site-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

.site-main {
    min-height: 60vh;
    padding: 48px 0 80px;
    min-width: 0;
}

/* Live Updates Sidebar */
.live-sidebar {
    position: sticky;
    top: 24px;
    padding: 48px 0 80px;
}

.live-sidebar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--masters-green);
}

.live-sidebar-title {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.live-sidebar-title .live-title-masters {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
    font-style: italic;
    color: var(--masters-green);
    letter-spacing: 0.5px;
}

.live-sidebar-title .live-title-live {
    font-family: var(--font-meta);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #E53935;
    margin-top: 3px;
}

.live-sidebar-header .live-dot {
    flex-shrink: 0;
    align-self: center;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #E53935;
    box-shadow: 0 0 6px 2px rgba(229, 57, 53, 0.5);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 6px 2px rgba(229, 57, 53, 0.4); }
    50% { box-shadow: 0 0 12px 4px rgba(229, 57, 53, 0.8); }
}

/* Tee Times */
.tee-times {
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 28px;
}

.tee-times-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--masters-green);
}

.tee-times-title {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
    font-style: italic;
    color: var(--masters-green);
    letter-spacing: 0.5px;
}

.tee-times-round {
    display: block;
    font-family: var(--font-meta);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-top: 4px;
}

.tee-times-table {
    width: 100%;
    border-collapse: collapse;
}

.tee-times-table tr {
    border-bottom: 1px solid var(--rule);
}

.tee-times-table tr:last-child {
    border-bottom: none;
}

.tee-time-cell {
    font-family: var(--font-meta);
    font-size: 13px;
    font-weight: 700;
    color: var(--masters-green);
    padding: 10px 12px 10px 0;
    vertical-align: top;
    white-space: nowrap;
    width: 50px;
}

.tee-players-cell {
    font-family: var(--font-meta);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    padding: 10px 0;
    line-height: 1.6;
    vertical-align: top;
}

.live-timeline {
    position: relative;
    padding-left: 20px;
}

.live-timeline::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #E53935, rgba(229, 57, 53, 0.1));
}

.live-item {
    position: relative;
    padding-bottom: 24px;
}

.live-item:last-child {
    padding-bottom: 0;
}

.live-item-dot {
    position: absolute;
    left: -20px;
    top: 3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid #E53935;
}

.live-item--latest .live-item-dot {
    background: #E53935;
    box-shadow: 0 0 6px 2px rgba(229, 57, 53, 0.5);
    animation: pulse-glow 2s ease-in-out infinite;
}

.live-item-time {
    font-family: var(--font-meta);
    font-size: 11px;
    font-weight: 600;
    color: #E53935;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.live-item-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ink);
    margin: 4px 0;
}

.live-item-body {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.5;
    color: var(--ink-soft);
}

.live-item-body p {
    margin: 0;
}

.live-empty {
    font-family: var(--font-meta);
    font-size: 13px;
    color: var(--ink-soft);
    font-style: italic;
}

/* Featured */
.featured {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: center;
    align-items: center;
    padding-bottom: 48px;
    margin-bottom: 48px;
}
.featured-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--rule);
    display: block;
}
.featured-image img { width: 100%; height: 100%; object-fit: cover; }
.featured-body .eyebrow {
    font-family: var(--font-meta);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--masters-green);
    margin-bottom: 16px;
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 3px solid var(--masters-yellow);
}
.featured-body h1 {
    font-family: var(--font-display);
    font-size: 44px;
    line-height: 1.1;
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 20px;
}
.featured-body h1 a { color: inherit; }
.featured-body h1 a:hover { color: var(--masters-green); text-decoration: none; }
.featured-body .meta {
    font-family: var(--font-meta);
    font-size: 13px;
    color: var(--masters-green);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Grid */
.grid-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--masters-green);
    margin-bottom: 24px;
}
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.article-card { display: flex; flex-direction: column; }
.article-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--rule);
    margin-bottom: 16px;
    display: block;
}
.article-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.article-card:hover .article-card-image img { transform: scale(1.04); }
.article-card .eyebrow {
    font-family: var(--font-meta);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--masters-green);
    margin-bottom: 8px;
    display: inline-block;
    padding-bottom: 3px;
    border-bottom: 2px solid var(--masters-yellow);
}
.article-card h2 {
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 10px;
}
.article-card h2 a { color: var(--ink); }
.article-card h2 a:hover { color: var(--masters-green); text-decoration: none; }
.article-card .meta {
    font-family: var(--font-meta);
    font-size: 12px;
    color: var(--masters-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    padding-top: 8px;
}

/* Article */
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 48px;
    align-items: start;
    max-width: 1060px;
    margin: 0 auto;
}
.article-sidebar {
    position: sticky;
    top: 32px;
}
.article-sidebar .diciotto-promo__title { font-size: 28px; }
.article-sidebar .diciotto-promo__tagline { font-size: 13px; }
.article-sidebar .diciotto-promo__lead { font-size: 13px; }
.article-detail { max-width: 740px; margin: 0 auto; }
.article-detail .eyebrow {
    font-family: var(--font-meta);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--masters-green);
    margin-bottom: 16px;
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 3px solid var(--masters-yellow);
}
.article-detail h1 {
    font-family: var(--font-display);
    font-size: 52px;
    line-height: 1.05;
    font-weight: 900;
    margin-bottom: 24px;
    color: var(--ink);
}
.article-detail .byline {
    font-family: var(--font-meta);
    font-size: 14px;
    color: var(--masters-green);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--rule);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: 12px;
    vertical-align: middle;
}
.lang-btn {
    font-family: var(--font-meta);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 2px 7px;
    border: 1px solid var(--masters-green);
    background: transparent;
    color: var(--masters-green);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.lang-btn--active {
    background: var(--masters-green);
    color: #fff;
}
.article-hero {
    margin-bottom: 40px;
}
.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.image-credit {
    font-family: var(--font-meta);
    font-size: 11px;
    color: #999;
    margin-top: 6px;
    text-align: right;
}
.article-body {
    font-size: 20px;
    line-height: 1.7;
    color: var(--ink);
}
.article-body p { margin-bottom: 1.4em; }
.article-body p:first-of-type::first-letter {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 900;
    float: left;
    line-height: 0.85;
    margin: 8px 8px 0 0;
    color: var(--masters-green);
}
.article-body h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    margin: 1.8em 0 0.5em;
    color: var(--ink);
}
.article-body h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin: 1.5em 0 0.4em;
    color: var(--ink);
}
.article-body blockquote {
    border-left: 4px solid var(--masters-yellow);
    padding: 8px 0 8px 24px;
    margin: 1.5em 0;
    font-style: italic;
    font-size: 22px;
    color: var(--ink-soft);
}
.article-body ul, .article-body ol {
    margin: 0 0 1.4em 1.5em;
}
.article-body a {
    color: var(--masters-green);
    border-bottom: 1px solid var(--masters-yellow);
}
.back-link {
    display: inline-block;
    margin-top: 60px;
    font-family: var(--font-meta);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--masters-green);
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: var(--masters-green-dark);
    color: var(--white);
    padding: 32px 0;
    font-family: var(--font-meta);
    font-size: 13px;
    text-align: center;
    letter-spacing: 0.5px;
}
.site-footer a {
    color: var(--masters-yellow);
    text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; }

/* Contact page */
.sostieni-page {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 0 100px;
}
.sostieni-page__title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
}
.sostieni-page__lead {
    font-family: var(--font-body);
    font-size: 20px;
    color: var(--ink-soft);
    margin-bottom: 48px;
    line-height: 1.6;
}
.sostieni-page__body p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 24px;
}
.sostieni-page__cta {
    display: inline-block;
    margin: 16px 0 32px;
    padding: 14px 32px;
    background: var(--masters-green);
    color: var(--white);
    font-family: var(--font-meta);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 2px;
}
.sostieni-page__cta:hover {
    background: var(--masters-green-dark);
    text-decoration: none;
    color: var(--white);
}
.sostieni-page__note {
    font-size: 14px;
    color: var(--ink-soft);
    margin-top: 8px;
}

.contact-page {
    text-align: center;
    padding: 40px 0 80px;
}
.contact-page h1 { margin-bottom: 16px; }
.contact-lede {
    font-family: var(--font-meta);
    font-size: 18px;
    color: var(--masters-green);
    margin-bottom: 48px;
}
.contact-email {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--masters-green);
    border-bottom: 2px solid var(--masters-yellow);
    padding-bottom: 4px;
    word-break: break-all;
}
.contact-email:hover {
    color: var(--masters-green-dark);
    text-decoration: none;
}
@media (max-width: 600px) {
    .contact-email { font-size: 22px; }
}

/* Legal pages (privacy, terms, etc.) */
.legal-page {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 0 80px;
    font-family: var(--font-meta);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
}
.legal-page .eyebrow {
    font-family: var(--font-meta);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--masters-green);
    margin-bottom: 16px;
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 3px solid var(--masters-yellow);
}
.legal-page h1 {
    font-family: var(--font-display);
    font-size: 36px;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--ink);
}
.legal-page h2 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--masters-green);
}
.legal-page p {
    margin-bottom: 1.2em;
}
.legal-page a {
    color: var(--masters-green);
    text-decoration: underline;
}
.legal-page a:hover {
    color: var(--masters-green-dark);
}

.empty {
    text-align: center;
    padding: 80px 20px;
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--ink-soft);
    font-style: italic;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ink);
    color: var(--white);
    z-index: 9999;
    padding: 20px 0;
}
.cookie-banner-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.cookie-banner p {
    font-family: var(--font-meta);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    color: #ccc;
}
.cookie-link {
    color: var(--white) !important;
    text-decoration: underline !important;
}
.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-btn {
    font-family: var(--font-meta);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.cookie-btn--accept {
    background: var(--masters-green);
    color: var(--white);
}
.cookie-btn--reject {
    background: transparent;
    color: #999;
    border: 1px solid #555;
}
.cookie-btn--reject:hover {
    color: var(--white);
    border-color: #999;
}
@media (max-width: 600px) {
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .site-layout { grid-template-columns: 1fr; gap: 0; }
    .live-sidebar { position: static; padding: 0 0 48px; border-top: 1px solid var(--rule); margin-top: 0; padding-top: 32px; }
    .featured { grid-template-columns: 1fr; gap: 24px; }
    .featured-body h1 { font-size: 32px; }
    .article-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .article-detail h1 { font-size: 36px; }
    .article-body { font-size: 18px; }
    .wordmark-main { font-size: 24px; }
    .wordmark-sub { font-size: 14px; }
    .wordmark-tagline { display: none; }

    .nav-toggle {
        display: flex;
        order: 1;
        flex-shrink: 0;
        flex: 0 0 44px;
        justify-content: center;
    }
    .nav-inner {
        min-height: 50px;
        height: auto;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .nav-inner::after {
        content: '';
        order: 3;
        flex: 0 0 44px;
        height: 1px;
    }
    .nav-wordmark-link {
        order: 2;
        flex: 1;
        text-align: center;
        padding: 0;
        font-size: 15px;
    }
    .nav-wordmark-link em {
        font-size: 12px;
    }
    .nav-center {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        bottom: auto;
        transform: none;
        pointer-events: auto;
        width: 100%;
        background-color: var(--masters-green-dark);
        padding: 8px var(--gutter) 12px;
        z-index: 1000;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }
    .mobile-menu-open .nav-center {
        display: flex;
        flex-direction: column;
    }
    .nav-rule { display: none; }
    .nav-pill {
        flex-direction: column;
        border: none;
        border-radius: 0;
        padding: 0;
        width: 100%;
    }
    .nav-pill li a {
        padding: 12px var(--gutter);
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 12px;
        letter-spacing: 1.5px;
    }
    .mobile-menu-open .nav-wordmark-link { display: none; }
    .tagline-bar span { font-size: 9px; }
    .site-nav { position: relative; }
}
@media (max-width: 600px) {
    .article-grid { grid-template-columns: 1fr; }
    .featured-body h1 { font-size: 28px; }
    .article-detail h1 { font-size: 30px; }
    .article-body p:first-of-type::first-letter { font-size: 56px; }
}

/* ── Block Editor Styles ──────────────────────────────────────────── */
.article-blocks { display: flex; flex-direction: column; gap: 0; }

.article-block-image { margin: 32px 0; }
.article-block-image img { width: 100%; height: auto; display: block; border-radius: 4px; }
.article-block-image figcaption { margin-top: 8px; font-size: 13px; color: var(--ink-soft); font-style: italic; }

.embed-video { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin: 32px 0; border-radius: 4px; }
.embed-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.embed-tweet { margin: 32px auto; max-width: 550px; }

.article-block-embed { margin: 32px 0; }
.embed-fallback { font-size: 14px; color: var(--ink-soft); }

/* ============================================
   Diciotto launch popup
   ============================================ */
.diciotto-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.diciotto-popup.is-open {
    display: flex;
    animation: diciottoFadeIn 320ms ease both;
}
@keyframes diciottoFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.diciotto-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 30, 22, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    cursor: pointer;
}
.diciotto-popup__card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    width: min(960px, 100%);
    max-height: calc(100vh - 48px);
    overflow: hidden;
    background: rgba(250, 248, 243, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(229, 224, 213, 0.6);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    animation: diciottoScaleIn 420ms cubic-bezier(0.2, 0.9, 0.3, 1.1) both;
}
@keyframes diciottoScaleIn {
    from { transform: scale(0.96); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.diciotto-popup__close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 0;
    color: var(--ink, #1A1A1A);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    border-radius: 50%;
    transition: background 180ms ease;
}
.diciotto-popup__close:hover {
    background: rgba(0, 0, 0, 0.06);
}
.diciotto-popup__cover {
    overflow: hidden;
    background: var(--paper, #FAF8F3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.diciotto-popup__cover img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}
.diciotto-popup__body {
    padding: 48px 44px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    min-height: 0;
    color: var(--ink, #1A1A1A);
}
.diciotto-popup__eyebrow {
    margin: 0 0 12px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink-soft, #4A4A4A);
}
.diciotto-popup__title {
    margin: 0 0 8px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 56px;
    font-weight: 500;
    line-height: 1;
    color: #2C5F2D;
    letter-spacing: -1px;
}
.diciotto-popup__tagline {
    margin: 0 0 24px;
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 17px;
    font-style: italic;
    color: var(--ink-soft, #4A4A4A);
}
.diciotto-popup__lead {
    margin: 0 0 24px;
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink, #1A1A1A);
}
.diciotto-popup__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.diciotto-popup__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.diciotto-popup__label {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink-soft, #4A4A4A);
}
.diciotto-popup__field input {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 15px;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.25);
    background: transparent;
    color: var(--ink, #1A1A1A);
    transition: border-color 180ms ease;
}
.diciotto-popup__field input:focus {
    outline: 0;
    border-bottom-color: #2C5F2D;
}
.diciotto-popup__submit {
    margin-top: 8px;
    padding: 14px 20px;
    background: #2C5F2D;
    color: #FFFFFF;
    border: 0;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 180ms ease;
}
.diciotto-popup__submit:hover {
    background: #1F4420;
}
.diciotto-popup__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.diciotto-popup__message {
    margin: 4px 0 0;
    min-height: 18px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 13px;
}
.diciotto-popup__message--ok { color: #2C5F2D; }
.diciotto-popup__message--error { color: #B22222; }
.diciotto-popup__message--pending { color: var(--ink-soft, #4A4A4A); }
.diciotto-popup__footer {
    margin: 28px 0 0;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--ink-soft, #4A4A4A);
}
body.diciotto-popup-open {
    overflow: hidden;
}

@media (max-width: 720px) {
    .diciotto-popup {
        padding: 16px;
    }
    .diciotto-popup__close {
        position: fixed;
        top: 24px;
        right: 24px;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    .diciotto-popup__close:hover {
        background: rgba(255, 255, 255, 1);
    }
    .diciotto-popup__card {
        display: block;
        max-height: calc(100dvh - 32px);
        max-height: calc(100vh - 32px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    .diciotto-popup__cover {
        max-height: none;
        background: transparent;
    }
    .diciotto-popup__cover img {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: top center;
    }
    .diciotto-popup__body {
        padding: 24px 24px 32px;
        overflow: visible;
    }
    .diciotto-popup__title {
        font-size: 40px;
    }
    .diciotto-popup__tagline {
        font-size: 15px;
        margin-bottom: 18px;
    }
    .diciotto-popup__lead {
        font-size: 14px;
        line-height: 1.55;
        margin-bottom: 18px;
    }
    .diciotto-popup__footer {
        margin-top: 20px;
    }
}

/* ============================================
   Diciotto homepage promo card
   ============================================ */
.hero-row {
    padding-bottom: 48px;
    border-bottom: 2px solid var(--masters-green);
    margin-bottom: 48px;
}
.hero-row--with-promo {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}
.hero-row--with-promo .featured {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}
.hero-row--with-promo .featured-body h1 {
    font-size: 32px;
}
.hero-row__main {
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-width: 0;
}
.featured-secondary {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--rule, #E5E0D5);
}
.secondary-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    align-items: start;
}
.secondary-card__image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--rule, #E5E0D5);
}
.secondary-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.secondary-card__body .eyebrow {
    font-family: var(--font-meta);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--masters-green);
    margin-bottom: 6px;
    display: inline-block;
}
.secondary-card__body h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 6px;
}
.secondary-card__body h3 a { color: inherit; }
.secondary-card__body h3 a:hover { color: var(--masters-green); text-decoration: none; }
.secondary-card__body .meta {
    font-family: var(--font-meta);
    font-size: 11px;
    color: var(--masters-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Diciotto Page */
.diciotto-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 0 80px;
}
.diciotto-page__hero {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 56px;
    align-items: start;
    margin-bottom: 64px;
    padding-bottom: 64px;
    border-bottom: 2px solid var(--masters-green);
}
.diciotto-page__cover img {
    width: 100%;
    display: block;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.diciotto-page__eyebrow {
    font-family: var(--font-meta);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--masters-green);
    margin-bottom: 12px;
}
.diciotto-page__title {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 900;
    color: var(--masters-green);
    line-height: 1;
    margin-bottom: 16px;
}
.diciotto-page__tagline {
    font-family: var(--font-body);
    font-size: 20px;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 24px;
}
.diciotto-page__lead {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 16px;
}
.diciotto-page__signup-section {
    max-width: 540px;
}
.diciotto-page__signup-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.diciotto-page__signup-sub {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.6;
}
.diciotto-page__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.diciotto-page__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.diciotto-page__label {
    font-family: var(--font-meta);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.diciotto-page__field input {
    font-family: var(--font-body);
    font-size: 16px;
    padding: 12px 16px;
    border: 1.5px solid #D0C9BC;
    background: var(--white);
    color: var(--text-primary);
    border-radius: 2px;
    outline: none;
    transition: border-color 0.2s;
}
.diciotto-page__field input:focus {
    border-color: var(--masters-green);
}
.diciotto-page__submit {
    font-family: var(--font-meta);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: var(--masters-green);
    color: var(--white);
    border: none;
    padding: 14px 28px;
    cursor: pointer;
    align-self: flex-start;
    transition: background 0.2s;
}
.diciotto-page__submit:hover { background: var(--masters-green-dark); }
.diciotto-page__message { font-size: 14px; margin-top: 4px; min-height: 20px; }
.diciotto-page__message--ok { color: var(--masters-green); }
.diciotto-page__message--error { color: #c0392b; }
.diciotto-page__message--pending { color: var(--text-secondary); }

@media (max-width: 900px) {
    .secondary-card {
        grid-template-columns: 110px 1fr;
        gap: 12px;
    }
    .secondary-card__body h3 {
        font-size: 16px;
    }
}

.cover-story {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 48px;
}
.cover-story,
.cover-story *,
.cover-story:hover,
.cover-story:hover * {
    text-decoration: none !important;
}
.cover-story__image {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 0;
    z-index: 0;
}
.cover-story__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.cover-story:hover .cover-story__image img {
    transform: scale(1.02);
}
.cover-story__body {
    padding: 24px 0 32px;
    text-align: center;
}
.cover-story__eyebrow {
    font-family: var(--font-meta);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--masters-green);
    display: block;
    margin-bottom: 10px;
}
.cover-story__title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 12px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}
.cover-story__meta {
    font-family: var(--font-meta);
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.cover-story__author {
    font-weight: 600;
    color: var(--masters-green);
}

.cover-story-diciotto {
    margin-bottom: 48px;
}
.cover-story-diciotto__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-top: 3px solid var(--masters-green);
    padding: 20px 28px;
    text-decoration: none;
    color: inherit;
}
.cover-story-diciotto__inner:hover {
    text-decoration: none;
}
@media (max-width: 680px) {
    .cover-story-diciotto__inner {
        flex-wrap: wrap;
        gap: 12px;
        padding: 16px;
    }
    .cover-story-diciotto__cta {
        width: 100%;
        text-align: right;
    }
}
.cover-story-diciotto__cover {
    width: 56px;
    height: auto;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.cover-story-diciotto__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cover-story-diciotto__eyebrow {
    font-family: var(--font-meta);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--masters-green);
}
.cover-story-diciotto__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--masters-green);
    line-height: 1;
}
.cover-story-diciotto__tagline {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}
.cover-story-diciotto__cta {
    font-family: var(--font-meta);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--masters-green);
    flex-shrink: 0;
    white-space: nowrap;
}

.diciotto-mobile-strip {
    display: none;
}
@media (max-width: 680px) {
    .diciotto-mobile-strip {
        display: flex;
        align-items: center;
        gap: 12px;
        background: var(--paper);
        border: 1px solid var(--rule);
        border-left: 3px solid var(--masters-green);
        padding: 10px 12px;
        margin-bottom: 24px;
        text-decoration: none;
        color: inherit;
    }
    .diciotto-mobile-strip__cover {
        width: 36px;
        height: auto;
        flex-shrink: 0;
        box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    }
    .diciotto-mobile-strip__text {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }
    .diciotto-mobile-strip__title {
        font-family: var(--font-display);
        font-size: 15px;
        font-weight: 700;
        color: var(--masters-green);
        line-height: 1;
    }
    .diciotto-mobile-strip__sub {
        font-family: var(--font-meta);
        font-size: 11px;
        color: var(--text-secondary);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .diciotto-mobile-strip__cta {
        font-family: var(--font-meta);
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.5px;
        color: var(--masters-green);
        flex-shrink: 0;
        text-transform: uppercase;
    }
}
@media (max-width: 680px) {
    .hero-row .diciotto-promo {
        display: none;
    }
}
@media (max-width: 680px) {
    .diciotto-page {
        padding: 32px 0 60px;
    }
    .diciotto-page__hero {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 48px;
        padding-bottom: 48px;
    }
    .diciotto-page__cover {
        max-width: 240px;
        margin: 0 auto;
    }
    .diciotto-page__intro {
        text-align: center;
    }
    .diciotto-page__title {
        font-size: 52px;
    }
    .diciotto-page__tagline {
        font-size: 18px;
    }
    .diciotto-page__lead {
        font-size: 16px;
        text-align: left;
    }
    .diciotto-page__signup-section {
        max-width: 100%;
    }
    .diciotto-page__submit {
        align-self: stretch;
        text-align: center;
    }
}

.diciotto-promo {
    display: flex;
    flex-direction: column;
    background: var(--paper, #FAF8F3);
    border: 1px solid var(--rule, #E5E0D5);
    border-top: 3px solid var(--masters-green, #2C5F2D);
    overflow: hidden;
}
.diciotto-promo__cover {
    display: block;
    background: var(--masters-green, #2C5F2D);
    overflow: hidden;
    transition: opacity 220ms ease;
}
.diciotto-promo__cover:hover {
    opacity: 0.92;
}
.diciotto-promo__cover img {
    width: 100%;
    height: auto;
    display: block;
}
.diciotto-promo__body {
    padding: 24px 24px 28px;
}
.diciotto-promo__eyebrow {
    margin: 0 0 8px;
    font-family: var(--font-meta, 'Inter', sans-serif);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink-soft, #4A4A4A);
}
.diciotto-promo__title {
    margin: 0 0 6px;
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-size: 36px;
    font-weight: 500;
    line-height: 1;
    color: var(--masters-green, #2C5F2D);
    letter-spacing: -0.5px;
}
.diciotto-promo__tagline {
    margin: 0 0 14px;
    font-family: var(--font-body, 'Source Serif 4', Georgia, serif);
    font-size: 15px;
    font-style: italic;
    color: var(--ink-soft, #4A4A4A);
    line-height: 1.4;
}
.diciotto-promo__lead {
    margin: 0 0 20px;
    font-family: var(--font-body, 'Source Serif 4', Georgia, serif);
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink, #1A1A1A);
}
.diciotto-promo__cta {
    display: inline-block;
    width: 100%;
    padding: 12px 16px;
    background: var(--masters-green, #2C5F2D);
    color: var(--white, #FFFFFF);
    border: 0;
    font-family: var(--font-meta, 'Inter', sans-serif);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 180ms ease;
}
.diciotto-promo__cta:hover {
    background: var(--masters-green-dark, #1F4420);
}

@media (max-width: 900px) {
    .hero-row--with-promo {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Nav: Diciotto highlight link */
.nav-diciotto {
    position: relative;
}
.nav-diciotto::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--masters-yellow, #FBF308);
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    transform: translateY(-1px);
}

/* Diciotto popup signup block — make the ask explicit */
.diciotto-popup__signup {
    margin-top: 8px;
    padding: 24px;
    background: rgba(44, 95, 45, 0.06);
    border-left: 3px solid var(--masters-green, #2C5F2D);
}
.diciotto-popup__signup-title {
    margin: 0 0 8px;
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--masters-green, #2C5F2D);
    line-height: 1.2;
}
.diciotto-popup__signup-sub {
    margin: 0 0 18px;
    font-family: var(--font-body, 'Source Serif 4', Georgia, serif);
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink, #1A1A1A);
}
.diciotto-popup__signup-sub em {
    font-style: italic;
}
@media (max-width: 720px) {
    .diciotto-popup__signup {
        padding: 20px 18px;
    }
    .diciotto-popup__signup-title {
        font-size: 19px;
    }
    .diciotto-popup__signup-sub {
        font-size: 13.5px;
    }
}

/* Article page: hide sidebar on mobile, show horizontal bar instead */
.article-diciotto-mobile { display: none; }

@media (max-width: 760px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    .article-sidebar {
        display: none;
    }
    .article-diciotto-mobile {
        display: block;
        margin-top: 40px;
        border-top: 2px solid var(--masters-green);
        border-bottom: 1px solid var(--rule);
    }
    .article-diciotto-mobile__inner {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 16px 0;
        text-decoration: none;
        color: inherit;
    }
    .article-diciotto-mobile__cover {
        width: 52px;
        flex-shrink: 0;
        display: block;
    }
    .article-diciotto-mobile__text {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }
    .article-diciotto-mobile__eyebrow {
        font-family: var(--font-meta);
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: var(--ink-soft);
    }
    .article-diciotto-mobile__title {
        font-family: var(--font-display);
        font-size: 22px;
        font-weight: 700;
        color: var(--masters-green);
        line-height: 1;
    }
    .article-diciotto-mobile__tagline {
        font-family: var(--font-body);
        font-size: 13px;
        font-style: italic;
        color: var(--ink-soft);
        line-height: 1.3;
    }
    .article-diciotto-mobile__cta {
        font-family: var(--font-meta);
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: var(--masters-green);
        flex-shrink: 0;
        white-space: nowrap;
    }
}
