:root {
  --bg: #fefdf3;
  --text: rgba(0,0,0,0.8);
  --muted: #6b6558;
  --accent: #a13d2e;
  --card-bg: #ffffff;
  --border: #e5e1d0;
  --font-body: Georgia, 'Times New Roman', Times, serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-headline: 'Oswald', Arial, Helvetica, sans-serif;
  --font-nav: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  background: var(--bg);
}

.masthead {
  display: flex;
  justify-content: center;
  padding-top: 2rem;
  padding-bottom: 1.25rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.issue-line {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.issue-line .wrap {
  text-align: center;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-nav);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.nav-bar {
  border-bottom: 1px solid var(--border);
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 0.9rem 1.25rem;
}

.site-nav a {
  font-family: var(--font-nav);
  color: rgba(0,0,0,0.5);
  text-decoration: none;
  margin: 0 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.site-nav a:hover { color: var(--accent); }

.nav-search {
  border-left: 1px solid var(--border);
  padding-left: 1rem !important;
}

.hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 0.25rem;
}

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-category { padding: 2rem 0 1rem; text-align: left; }
.hero-category h1 { font-size: 2rem; }

.subcat-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 0 1.5rem;
}

.subcat-jump a {
  font-family: var(--font-nav);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 0.3rem 0.85rem;
}

.subcat-jump a:hover {
  background: var(--accent);
  color: #fff;
}

.subcat-section {
  padding-top: 0.5rem;
  margin-bottom: 1rem;
  scroll-margin-top: 1rem;
}

.subcat-section h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  padding-bottom: 3rem;
}

.story-grid-more {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  margin-top: 1rem;
}

.story-grid-more h2 {
  grid-column: 1 / -1;
  font-family: var(--font-display);
  font-weight: 900;
}

.story-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.story-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.story-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.story-card-img {
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: var(--border);
}

.story-card-img picture {
  display: block;
  width: 100%;
  height: 100%;
}

.story-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-card-body {
  padding: 1.25rem;
}

.story-card-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.story-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

.story-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
}

.story-card time {
  font-size: 0.8rem;
  color: var(--muted);
}

.story-full {
  padding: 2.5rem 0 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.story-full h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.25rem;
  line-height: 1.2;
  margin: 0.5rem 0;
}

.story-hero-img {
  margin: 1.5rem 0 0;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.story-hero-img img {
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 60vh;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.story-hero-img figcaption {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.5rem;
  padding: 0 1.25rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.story-hero-img figcaption a {
  color: var(--muted);
}

.story-byline {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
}

.story-updated {
  font-style: italic;
}

.story-body {
  margin-top: 1.5rem;
  font-size: 1.05rem;
}

.story-body p {
  margin: 0 0 1.1rem;
}

.deep-hero-summary {
  font-size: 1.2rem;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin: 1.5rem 0 0;
  line-height: 1.6;
}

.deep-hero-summary p {
  margin: 0 0 0.9rem;
}

.deep-hero-summary p:last-child {
  margin-bottom: 0;
}

.deep-disclaimer {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.deep-section {
  margin-top: 2.25rem;
}

.deep-section h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  margin: 0 0 0.9rem;
}

.deep-section p {
  margin: 0 0 1rem;
}

.deep-key-details,
.deep-takeaways,
.deep-related {
  margin: 0;
  padding-left: 1.25rem;
}

.deep-faqs {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.deep-faq h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.deep-faq p {
  margin: 0;
  color: var(--muted);
}

.deep-key-details li,
.deep-takeaways li,
.deep-related li {
  margin-bottom: 0.5rem;
}

.deep-table-wrap {
  overflow-x: auto;
}

.deep-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.deep-table th,
.deep-table td {
  text-align: left;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border);
  vertical-align: top;
}

.deep-table th {
  background: var(--bg);
  font-family: var(--font-nav);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.deep-related a {
  color: var(--accent);
}

.deep-info-box {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.deep-info-box h2 {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin: 0 0 1rem;
}

.deep-info-box dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1rem;
}

.deep-info-box dt {
  font-weight: 700;
  font-size: 0.85rem;
}

.deep-info-box dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.deep-info-note {
  display: block;
  font-size: 0.78rem;
  font-style: italic;
  margin-top: 0.25rem;
}

.story-source {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.action-box {
  display: block;
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  text-align: center;
}

.action-box:hover {
  opacity: 0.9;
}

.lang-toggle {
  margin: 0.5rem 0 0;
}

.lang-toggle a {
  font-family: var(--font-nav);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 0.25rem 0.8rem;
  display: inline-block;
}

.lang-toggle a:hover {
  background: var(--accent);
  color: #fff;
}

.reaction-box {
  margin-top: 2rem;
}

.reaction-btn {
  font-family: var(--font-nav);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: 30px;
  padding: 0.7rem 1.4rem;
  cursor: pointer;
}

.reaction-btn:hover:not(:disabled) {
  border-color: var(--accent);
}

.reaction-btn.reacted {
  border-color: var(--accent);
  background: #fdf0ea;
  cursor: default;
}

.reaction-btn .reaction-count {
  color: var(--muted);
  font-weight: 600;
}

.share-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.share-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  margin-right: 0.25rem;
}

.share-link {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.35rem 0.9rem;
  text-decoration: none;
  cursor: pointer;
}

.share-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 100;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.newsletter-box {
  background: #fff3e2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
  text-align: center;
}

.newsletter-box h2 {
  font-family: var(--font-display);
  font-weight: 900;
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}

.newsletter-box p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  min-width: 260px;
}

.newsletter-form button {
  padding: 0.65rem 1.5rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.newsletter-form button:hover {
  opacity: 0.9;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-nav {
  margin: 0.75rem 0;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-nav a:hover {
  color: var(--accent);
}

.fine-print {
  font-size: 0.8rem;
  opacity: 0.7;
}

.static-page {
  padding: 2.5rem 0 3rem;
  max-width: 720px;
  margin: 0 auto;
}

.static-page h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  margin: 0 0 1.5rem;
}

.static-page h2 {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.static-page p {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
}

.static-page a {
  color: var(--accent);
}

.submit-form {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 560px;
}

.submit-form label {
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.submit-form input,
.submit-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
}

.submit-form button {
  margin-top: 1.5rem;
  align-self: flex-start;
  padding: 0.7rem 1.75rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.submit-form button:hover {
  opacity: 0.9;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
}

.form-success {
  padding: 1rem 1.25rem;
  background: #eef7ee;
  border: 1px solid #c8e6c8;
  border-radius: 8px;
}

.form-error {
  padding: 1rem 1.25rem;
  background: #fdecec;
  border: 1px solid #f3c6c6;
  border-radius: 8px;
}

.search-page {
  padding: 2rem 0 3rem;
}

.search-page-empty {
  padding-top: 8vh;
  text-align: center;
}

.search-hero-tagline {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 640px;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 0.25rem 0.5rem 0.25rem 1.25rem;
  background: var(--card-bg);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.search-page-empty .search-box {
  margin: 0 auto;
}

.search-box:focus-within {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-color: var(--accent);
}

.search-box-icon {
  font-size: 1.1rem;
  opacity: 0.6;
}

.search-box input[type="text"] {
  flex: 1;
  font-family: var(--font-body);
  font-size: 1.15rem;
  padding: 0.85rem 0.25rem;
  border: none;
  background: transparent;
}

.search-box input[type="text"]:focus {
  outline: none;
}

.search-box button {
  padding: 0.7rem 1.5rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 22px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.search-box button:hover {
  opacity: 0.9;
}

.search-tabs {
  display: flex;
  gap: 1.5rem;
  margin: 1.5rem 0 0;
  border-bottom: 1px solid var(--border);
}

.search-tabs a {
  font-family: var(--font-nav);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid transparent;
}

.search-tabs a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.search-tabs a:hover {
  color: var(--accent);
}

.search-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 1.25rem 0 0;
}

.search-no-results {
  margin-top: 1.5rem;
}

.search-no-results a {
  color: var(--accent);
}

.search-results {
  margin-top: 1rem;
}

.search-result {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.search-result:last-child {
  border-bottom: none;
}

.search-result-url {
  display: block;
  font-family: var(--font-nav);
  font-size: 0.8rem;
  color: #1a6b3c;
  text-decoration: none;
  margin-bottom: 0.2rem;
}

.search-result h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 0 0.4rem;
}

.search-result h2 a {
  color: var(--accent);
  text-decoration: none;
}

.search-result h2 a:hover {
  text-decoration: underline;
}

.search-result-snippet {
  color: var(--text);
  font-size: 0.95rem;
  margin: 0;
}

.search-result-snippet mark {
  background: #fff3cd;
  color: inherit;
  font-weight: 700;
  padding: 0 0.1rem;
}

.live-search-sources {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 1.5rem 0 0.5rem;
}

.live-search-switch {
  font-size: 0.9rem;
  margin: 0;
}

.live-search-switch a,
.search-meta a {
  color: var(--accent);
}

.live-results {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.live-result {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.live-result:last-child {
  border-bottom: none;
}

.live-result-thumb {
  flex: 0 0 140px;
  width: 140px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--border);
  display: block;
}

.live-result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.live-result-body {
  flex: 1;
  min-width: 0;
}

.live-result-meta {
  font-family: var(--font-nav);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.live-result-source {
  font-weight: 700;
  color: var(--accent);
}

.live-result h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 0 0 0.4rem;
}

.live-result h2 a {
  color: var(--text);
  text-decoration: none;
}

.live-result h2 a:hover {
  text-decoration: underline;
}

.live-result-external {
  font-size: 0.8rem;
  color: var(--muted);
}

.live-result-snippet {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

@media (max-width: 600px) {
  .live-result { flex-direction: column; }
  .live-result-thumb { width: 100%; height: 160px; }
}

@media (max-width: 600px) {
  .logo { font-size: 1.9rem; }
  .site-nav { gap: 0.25rem; }
  .site-nav a { margin: 0 0.5rem; font-size: 0.72rem; }
  .hero h1 { font-size: 1.9rem; }
  .story-full h1 { font-size: 1.6rem; }
  .static-page h1 { font-size: 1.6rem; }
  .newsletter-box h2 { font-size: 1.3rem; }
  .search-hero-tagline { font-size: 1.1rem; margin-bottom: 1.5rem; }
  .search-box { flex-wrap: wrap; padding: 0.5rem 0.75rem; border-radius: 20px; }
  .search-box input[type="text"] { width: 100%; font-size: 1rem; }
  .search-box button { width: 100%; }
}
