/* Golf Hound theme
   Colors come from the Golf Hound mascot: navy, visor blue, tan, bow-tie plaid. */

:root {
    --navy: #0E1E4D;
    --blue: #1E4FC2;
    --tan: #E2B06A;
    --red: #B8321F;
    --green: #2F7A3E;
    --paper: #FAF6EC;
    --ink: #16171B;
    --body: #3A3B42;
    --muted: #45474F;
    --meta: #555A69;
    --line: #C9CFDD;
    --ph: #DCE3F2;
    --ph-line: #BFC9E0;
    --font-display: var(--gh-font-heading, "Playfair Display", Georgia, serif);
    --font-label: Archivo, "Helvetica Neue", Helvetica, sans-serif;
    --font-body: var(--gh-font-body, Lora, Georgia, serif);
    --gutter: 48px;
    --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--blue); text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.site { max-width: var(--max); margin: 0 auto; background: var(--paper); min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 10; background: #fff; padding: 8px 12px; }

/* Plaid stripe, echoing the bow tie */
.plaid {
    height: 10px;
    background: repeating-linear-gradient(90deg,
        var(--red) 0 18px, var(--navy) 18px 26px, var(--green) 26px 38px,
        var(--tan) 38px 42px, var(--blue) 42px 54px, var(--red) 54px 60px);
}
.plaid-thin { height: 6px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: var(--paper); font-size: 13px; }
.topbar-inner { min-height: 40px; padding: 6px var(--gutter); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.topbar-date { letter-spacing: 0.04em; }
.topbar-nav { flex: 1; display: flex; justify-content: flex-end; }
.topbar-nav .nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; }
.topbar-nav a, .topbar-members a {
    color: var(--paper); font-family: var(--font-label); font-weight: 700;
    font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase;
}
.topbar-nav a:hover, .topbar-members a:hover { color: var(--tan); }
.topbar-nav .nav-current a { color: var(--tan); }
.topbar-members { display: flex; align-items: center; gap: 16px; }
.topbar-members .btn-subscribe { background: var(--tan); color: var(--navy); padding: 6px 12px; border-radius: 2px; }
.topbar-members .btn-subscribe:hover { background: var(--paper); color: var(--navy); text-decoration: none; }

/* ---------- Masthead ---------- */
.masthead { padding: 28px var(--gutter) 0; }
.masthead-brand { display: flex; align-items: center; justify-content: center; gap: 28px; color: var(--navy); }
.masthead-brand:hover { text-decoration: none; color: var(--navy); }
.masthead-logo { width: 136px; height: auto; }
.masthead-text { display: flex; flex-direction: column; gap: 8px; }
.wordmark { font-family: var(--font-label); font-weight: 900; font-size: 88px; line-height: 0.95; letter-spacing: 0.01em; color: var(--navy); }
.wordmark-accent { color: var(--blue); }
.wordmark-accent-gold { color: var(--tan); }
.tagline { font-style: italic; font-size: 17px; color: var(--muted); }
.rule-heavy { height: 3px; background: var(--navy); margin-top: 22px; }

/* ---------- Shared labels ---------- */
.kicker { font-family: var(--font-label); font-weight: 800; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.kicker-blue { color: var(--blue); }
.story-meta { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--meta); }
.story-source { font-weight: 600; }

/* ---------- Lead ---------- */
.lead {
    padding: 32px var(--gutter) 36px;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 40px; row-gap: 0; align-items: center;
}
.lead-image { grid-column: 1; grid-row: 1 / span 2; display: block; aspect-ratio: 4 / 3; background: var(--ph); border: 1px solid var(--ph-line); overflow: hidden; }
.lead-image img { width: 100%; height: 100%; object-fit: cover; }
.lead-body { grid-column: 2; display: flex; flex-direction: column; gap: 16px; align-self: end; }
.lead-title { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: 52px; line-height: 1.03; text-transform: uppercase; }
.lead-preview { margin: 0; font-size: 18px; line-height: 1.55; color: var(--body); }
.lead .story-meta { font-size: 13px; }
.lead-related { grid-column: 2; align-self: start; list-style: none; margin: 16px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.lead-related a { font-weight: 600; font-size: 17px; }
.lead-related li:first-child a { color: var(--red); }

.rule-section { margin: 0 var(--gutter); height: 2px; background: var(--navy); }

/* ---------- Columns ---------- */
.columns { padding: 32px var(--gutter); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.column { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.column-head {
    margin: 0; font-family: var(--font-label); font-weight: 800; font-size: 19px;
    letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue);
    border-bottom: 3px solid var(--blue); padding-bottom: 6px;
}
.column-head a { color: inherit; }
.column-empty { margin: 0; font-size: 14px; font-style: italic; color: var(--meta); }
.stack { display: flex; flex-direction: column; gap: 22px; }

.story-card { display: flex; gap: 14px; }
.story-thumb { width: 96px; height: 72px; flex-shrink: 0; background: var(--ph); border: 1px solid var(--ph-line); overflow: hidden; display: block; }
.story-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-empty { display: block; width: 100%; height: 100%; }
.story-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.story-title { margin: 0; font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1.3; }
.story-preview { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); }

.more-head { margin: 0; padding-top: 8px; border-top: 1px solid var(--line); font-family: var(--font-label); font-weight: 800; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); }
.more-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.more-links a { font-size: 15px; line-height: 1.35; font-weight: 500; }

/* Original feature box */
.feature { background: var(--navy); color: var(--paper); }
.feature-inner { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.feature-kicker { font-family: var(--font-label); font-weight: 800; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tan); }
.feature-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #1D3170; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.15; }
.feature-title a { color: var(--paper); }
.feature-title a:hover { color: var(--tan); }
.feature-dek { margin: 0; font-size: 15px; line-height: 1.5; color: #D5DCEE; }
.feature-byline { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tan); }

/* Ad slot */
.ad-slot { border: 1px dashed var(--blue); min-height: 250px; display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; text-align: center; padding: 16px; }
.ad-slot a { font-family: var(--font-label); font-weight: 800; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.ad-slot span { font-size: 11px; letter-spacing: 0.1em; color: var(--meta); }

/* Top 3 Reads */
.top3 { margin: 0; padding: 0; list-style: none; counter-reset: top3; display: flex; flex-direction: column; gap: 16px; }
.top3 li { counter-increment: top3; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; row-gap: 4px; }
.top3 li::before { content: counter(top3); grid-row: 1 / span 2; font-family: var(--font-display); font-weight: 900; font-size: 36px; line-height: 1; color: var(--red); }
.top3 a { font-weight: 600; font-size: 16px; line-height: 1.3; }

/* The Latest */
.wire { padding: 8px var(--gutter) 40px; display: flex; flex-direction: column; gap: 18px; }
.wire-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 44px; }
.wire-list a { font-weight: 600; font-size: 15.5px; line-height: 1.35; }

/* ---------- Archive pages ---------- */
.archive { padding: 36px var(--gutter) 48px; }
.archive-head { max-width: 760px; margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.archive-title { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: 48px; line-height: 1.05; color: var(--navy); }
.archive-desc { margin: 0; font-size: 18px; color: var(--body); }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 44px; }
.pagination { margin-top: 36px; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-label); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.pagination a { color: var(--blue); }
.btn { display: inline-block; background: var(--navy); color: var(--paper); padding: 12px 18px; font-family: var(--font-label); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.btn:hover { background: var(--blue); color: #fff; text-decoration: none; }

/* ---------- Article ---------- */
.article { padding: 40px var(--gutter) 24px; }
.article-head { max-width: 760px; margin: 0 auto 28px; display: flex; flex-direction: column; gap: 14px; }
.article-title { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: 50px; line-height: 1.05; color: var(--ink); }
.article-dek { margin: 0; font-size: 20px; line-height: 1.5; color: var(--body); }
.article-byline { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--meta); }
.article-byline a { color: var(--blue); }
.article-source-link { max-width: 760px; margin: 0 auto 24px; }
.article-source-link a { font-family: var(--font-label); font-weight: 800; color: var(--blue); }
.article-image { margin: 0 auto 32px; max-width: 1000px; }
.article-image figcaption { font-size: 13px; color: var(--meta); padding-top: 8px; }
.article-tags { max-width: 760px; margin: 32px auto 0; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; }
.article-tags a { font-family: var(--font-label); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); border: 1px solid var(--blue); padding: 4px 10px; }
.article-comments { max-width: 760px; margin: 40px auto 0; }
.related { padding: 8px var(--gutter) 48px; display: flex; flex-direction: column; gap: 22px; }

/* Post body and Ghost editor cards */
.gh-content { max-width: 760px; margin: 0 auto; font-size: 19px; line-height: 1.7; color: var(--ink); }
.gh-content > * + * { margin-top: 1.25em; }
.gh-content p, .gh-content ul, .gh-content ol, .gh-content blockquote { margin-bottom: 0; }
.gh-content h2, .gh-content h3 { font-family: var(--font-display); line-height: 1.2; margin-top: 1.8em; margin-bottom: 0; color: var(--navy); }
.gh-content h2 { font-size: 32px; }
.gh-content h3 { font-size: 25px; }
.gh-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.gh-content blockquote { border-left: 4px solid var(--tan); margin-left: 0; padding-left: 20px; font-style: italic; }
.gh-content figure { margin: 1.6em 0 0; }
.gh-content figcaption { font-size: 14px; color: var(--meta); text-align: center; padding-top: 8px; }
.gh-content hr { border: 0; height: 2px; background: var(--line); margin: 2em 0; }
.kg-width-wide { position: relative; width: 85vw; min-width: 100%; max-width: 1040px; margin-left: 50%; transform: translateX(-50%); }
.kg-width-full { position: relative; width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.kg-width-full img { width: 100%; }
.kg-image { margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #D5DCEE; margin-top: auto; }
.footer-inner { padding: 24px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; font-size: 13px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand:hover { text-decoration: none; }
.footer-brand img { width: 48px; }
.wordmark-sm { font-size: 22px; color: var(--paper); }
.footer-note { margin: 0; flex: 1; min-width: 240px; }
.footer-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-nav .nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.footer-nav a { color: #D5DCEE; }
.footer-nav a:hover { color: var(--tan); }
.footer-nav .footer-cta { color: var(--tan); font-weight: 600; }
.footer-copy { padding: 0 var(--gutter) 20px; font-size: 12px; color: #AEB8D4; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    :root { --gutter: 32px; }
    .wordmark { font-size: 68px; }
    .lead-title { font-size: 42px; }
    .columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .columns .column:nth-child(3) { grid-column: 1 / -1; }
    .wire-list, .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    :root { --gutter: 16px; }
    body { font-size: 16px; }
    .topbar-inner { gap: 8px 16px; }
    .topbar-nav { justify-content: flex-start; order: 3; width: 100%; }
    .topbar-nav .nav { gap: 6px 18px; }
    .masthead { padding-top: 18px; }
    .masthead-brand { gap: 14px; }
    .masthead-logo { width: 72px; }
    .wordmark { font-size: 40px; }
    .tagline { font-size: 14px; }
    .rule-heavy { margin-top: 14px; }
    .lead { grid-template-columns: 1fr; row-gap: 18px; padding-top: 20px; }
    .lead-image, .lead-body, .lead-related { grid-column: 1; grid-row: auto; }
    .lead-title { font-size: 32px; }
    .lead-preview { font-size: 16px; }
    .columns { grid-template-columns: 1fr; gap: 36px; padding-top: 24px; }
    .columns .column:nth-child(3) { grid-column: auto; }
    .wire-list, .archive-grid { grid-template-columns: 1fr; }
    .archive-title, .article-title { font-size: 34px; }
    .gh-content { font-size: 17.5px; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
}
