/* ===== FONTS (must be first) ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@400;500;600&display=swap');

/* ===== VARIABLES ===== */
:root {
  --black: #111;
  --white: #fff;
  --off-white: #faf9f7;
  --light-gray: #e8e6e1;
  --mid-gray: #999;
  --dark-gray: #444;
  --accent: #b5000a;
  --nav-border: #d0cec9;
  --footer-bg: #111;
  --border: #dedad4;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --font-sans: 'DM Sans', 'Helvetica Neue', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body { font-family: var(--font-body); background: var(--off-white); color: var(--black); line-height: 1.5; }
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; }

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  text-align: center;
  padding: 28px 20px 20px;
  border-bottom: 1px solid var(--nav-border);
}

.site-header a { display: inline-block; }

.site-logo {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--black);
  line-height: 1;
}

.header-dateline {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: var(--mid-gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ===== NAV ===== */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--nav-border);
}

.site-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.site-nav ul li a {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-gray);
  padding: 12px 22px;
  transition: color 0.15s;
  border-bottom: 2px solid transparent;
}

.site-nav ul li a:hover {
  color: var(--black);
  border-bottom-color: var(--black);
}

.site-nav ul li a.active {
  color: var(--black);
  font-weight: 600;
  border-bottom-color: var(--black);
}

/* ===== LAYOUT ===== */
.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== HOMEPAGE ===== */
.home-main {
  padding: 40px 0 60px;
}

/* Date and Search */
.header-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 18px;
  padding: 0 20px;
  width: 100%;
}

.header-date {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: #555;
  letter-spacing: 0.06em;
}

.header-search {
  display: flex;
  align-items: center;
  border: 1px solid #c8c5bf;
  background: var(--white);
  transition: border-color 0.15s;
}

.header-search:focus-within {
  border-color: #888;
}

.header-search input {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  border: none;
  padding: 7px 12px;
  width: 200px;
  background: transparent;
  color: var(--black);
  outline: none;
}

.header-search button {
  background: transparent;
  border: none;
  padding: 7px 10px;
  cursor: pointer;
  color: var(--mid-gray);
  font-size: 1rem;
  line-height: 1;
  transition: color 0.15s;
}

.header-search button:hover {
  color: var(--black);
}

/* Top row: spotlight + right column */
.top-row {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0;
  margin-bottom: 52px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 52px;
  align-items: start;
  height: 340px;
  overflow: hidden;
}

/* Spotlight */
.spotlight {
  display: grid;
  grid-template-columns: 2fr 1fr;
  border-right: 1px solid var(--border);
  padding-right: 36px;
  height: 100%;
}

.spotlight-image {
  height: 100%;
  overflow: hidden;
}

.spotlight-image .img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #c0bdb8 0%, #dedad5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.spotlight-content {
  padding: 0 0 0 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.section-tag {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.spotlight-content h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--black);
}

.spotlight-content p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--dark-gray);
  line-height: 1.7;
}

/* Right column */
.right-column {
  display: flex;
  flex-direction: column;
  padding-left: 28px;
  height: 100%;
  overflow: hidden;
}

.video-block {
  background: #1c1c1c;
  flex: 0 0 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: #666;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.video-block .play-icon {
  width: 40px;
  height: 40px;
  border: 1px solid #444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-block .play-icon::after {
  content: '';
  border-left: 12px solid #555;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
}

.top-stories {
  padding-top: 14px;
  flex: 1;
  border-top: 2px solid var(--black);
  margin-top: 14px;
  overflow: hidden;
}

.top-stories h3 {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 10px;
}

.top-stories ul { list-style: none; }

.top-stories ul li {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--dark-gray);
  padding: 7px 0 7px 14px;
  border-bottom: 1px solid var(--light-gray);
  line-height: 1.3;
  position: relative;
}

.top-stories ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--mid-gray);
}

.top-stories ul li:last-child { border-bottom: none; }
.top-stories ul li a:hover { color: var(--accent); }

/* ===== ARTICLE ROW — open, editorial ===== */
.article-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.article-card {
  padding-right: 28px;
  border-right: 1px solid var(--border);
}

.article-card:first-child {
  padding-left: 0;
}

.article-card:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 28px;
}

.article-card:nth-child(2),
.article-card:nth-child(3) {
  padding-left: 28px;
}

.article-card .img-placeholder {
  height: 140px;
  background: linear-gradient(135deg, #c4c1bb 0%, #dedad5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.article-card-body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
  color: var(--black);
}

.article-card-body p {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: #777;
  line-height: 1.55;
}

.article-card:hover h3 { color: var(--accent); }

/* ===== SECTION PAGES ===== */
.section-hero {
  background: var(--white);
  padding: 36px 0 18px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.section-hero h1 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--black);
}

.section-hero p {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--mid-gray);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 8px;
}

.section-grid {
  padding: 48px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.section-card {
  padding: 0 32px 40px 0;
  border-right: 1px solid var(--border);
}

.section-card:nth-child(3n) {
  border-right: none;
  padding-right: 0;
  padding-left: 32px;
}

.section-card:nth-child(3n+2) {
  padding-left: 32px;
}

.section-card:nth-child(n+4) {
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.section-card .img-placeholder {
  height: 170px;
  background: linear-gradient(135deg, #c4c1bb 0%, #dedad5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-card-body h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
  color: var(--black);
}

.section-card-body p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #777;
  line-height: 1.6;
}

.section-card:hover h2 { color: var(--accent); }

/* ===== UTILITY PAGES ===== */
.utility-page {
  max-width: 720px;
  margin: 56px auto;
  padding: 0 32px;
}

.utility-page h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.utility-page p {
  font-size: 0.95rem;
  color: var(--dark-gray);
  line-height: 1.8;
  margin-top: 20px;
}

/* Contact form */
.contact-form {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-bottom-color: #bbb;
  padding: 11px 14px;
  background: var(--white);
  color: var(--black);
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--black); }

.contact-form textarea { height: 140px; resize: vertical; }

.contact-form button {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 13px 36px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s;
}

.contact-form button:hover { background: #333; }

/* Donate */
.donate-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.donate-btn {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--black);
  color: var(--black);
  padding: 11px 28px;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: all 0.15s;
}

.donate-btn:hover {
  background: var(--black);
  color: var(--white);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--footer-bg);
  color: #aaa;
  padding: 48px 0 24px;
  margin-top: 64px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-top {
  display: flex;
  gap: 72px;
  margin-bottom: 36px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: #ccc;
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border: 1px solid #555;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 0.7rem;
  font-family: var(--font-sans);
  font-weight: 700;
  transition: all 0.15s;
}

.footer-social a:hover {
  border-color: #666;
  color: var(--white);
}

.footer-copyright {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: #aaa;
  letter-spacing: 0.04em;
}

/* ===== POST / ARTICLE PAGE ===== */
.post {
  max-width: 720px;
  margin: 52px auto;
  padding: 0 32px;
}

.post-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.post-header .section-tag {
  margin-bottom: 14px;
}

.post-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--black);
}

.post-excerpt {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--dark-gray);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 16px;
}

.post-meta {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--mid-gray);
  letter-spacing: 0.06em;
}

.post-meta-divider {
  color: var(--light-gray);
}

.post-feature-image {
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, #c4c1bb 0%, #dedad5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.post-body p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.85;
  color: #222;
  margin-bottom: 1.6em;
}

.post-body p:last-child {
  margin-bottom: 0;
}

/* ===== GHOST REQUIRED CLASSES ===== */
.kg-width-wide {
  margin-left: -80px;
  margin-right: -80px;
}

.kg-width-full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

/* ===== FOOTER UPDATES ===== */
.footer-top {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.footer-col-logo {
  flex: 0 0 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.1;
  display: block;
}

.footer-logo:hover {
  color: #ddd;
}

.footer-col ul li a {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: #ccc;
  transition: color 0.15s;
}

.footer-col-subscribe {
  flex: 0 0 220px;
  margin-left: auto;
}

.footer-subscribe-pitch {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: #999;
  line-height: 1.55;
  margin-bottom: 12px;
}

.footer-action-btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--black);
  padding: 10px 24px;
  cursor: pointer;
  transition: all 0.15s;
}

.footer-action-btn:hover {
  background: #ddd;
}

.footer-action-btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid #555;
}

.footer-action-btn--outline:hover {
  border-color: var(--white);
  background: transparent;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-bottom .footer-copyright {
  width: 100%;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid #555;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 700;
  transition: all 0.15s;
}

.footer-social a:hover {
  border-color: #999;
  color: var(--white);
}

.footer-copyright {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: #aaa;
  letter-spacing: 0.04em;
  text-align: center;
}
