@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,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;1,8..60,300;1,8..60,400&display=swap');

/* ─── Variables ─────────────────────────────────────────── */
:root {
  --ink:        #1a1612;
  --paper:      #f5f0e8;
  --paper-dark: #ede8de;
  --mid:        #6b6259;
  --rule:       #c8b89a;
  --highlight:  #fff8e7;
  --white:      #ffffff;
  --accent:     #FF6B00;
  --accent2:    #0055DD;
  --accent-light: #fff0e6;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 17px; scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 300;
  line-height: 1.75;
  min-height: 100vh;
}

/* Grain texture */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.5;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
p  { margin-bottom: 1.3rem; }

/* ─── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.15;
  color: var(--ink);
}

.label {
  font-family: 'Source Serif 4', serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
}

.accent-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ─── Layout ─────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Site Header ────────────────────────────────────────── */
.site-header {
  background: var(--ink);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  text-decoration: none;
  line-height: 1;
}

.site-logo__watt {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.site-logo__bites {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
}

.site-logo__dot {
  font-size: 1.7rem;
  color: #555;
  margin: 0 0.08em;
  font-weight: 900;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.site-nav a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #aaa;
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.active { color: var(--white); }

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

.nav-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  padding: 0.3rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.nav-search-btn:hover { color: var(--white); }

/* Search bar (hidden by default) */
.search-bar {
  background: #111;
  border-bottom: 1px solid #333;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.search-bar.open {
  max-height: 80px;
  padding: 0.8rem 0;
}

.search-bar__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid #444;
  color: var(--white);
  font-family: 'Source Serif 4', serif;
  font-size: 1rem;
  padding: 0.4rem 0;
  outline: none;
}

.search-bar input::placeholder { color: #555; }

.search-bar input:focus { border-bottom-color: var(--accent); }

/* ─── Category bar ───────────────────────────────────────── */
.category-bar {
  background: var(--paper-dark);
  border-bottom: 1px solid var(--rule);
  padding: 0;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.category-bar__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 0;
}

.category-bar a {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.category-bar a:hover { color: var(--ink); }
.category-bar a.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ─── Hero (homepage) ────────────────────────────────────── */
.hero {
  background: var(--ink);
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(255,107,0,0.04) 100%);
  pointer-events: none;
}

.hero__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 700px;
  margin-bottom: 1.2rem;
}

.hero__title em { font-style: italic; color: var(--accent); }

.hero__deck {
  font-size: 1.05rem;
  font-weight: 300;
  color: #aaa;
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 1.8rem;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
}

.hero__meta .cat-tag {
  color: var(--accent);
  border: 1px solid rgba(255,107,0,0.3);
  padding: 0.2em 0.6em;
  border-radius: 2px;
}

/* ─── Article grid ───────────────────────────────────────── */
.articles-section { padding: 3rem 0; }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--ink);
}

.section-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-header a {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.articles-grid--wide {
  grid-template-columns: repeat(2, 1fr);
}

/* ─── Article card ───────────────────────────────────────── */
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--rule);
  transition: transform 0.2s, box-shadow 0.2s;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.article-card__body { padding: 1.3rem; flex: 1; display: flex; flex-direction: column; }

.article-card__cat {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.article-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}

.article-card__title a:hover { color: var(--accent); }

.article-card__excerpt {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.article-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.8rem;
  border-top: 1px solid var(--rule);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
}

.article-card__read-more {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent2);
}

/* ─── Featured card (larger) ─────────────────────────────── */
.article-card--featured .article-card__title {
  font-size: 1.5rem;
}

.article-card--featured .article-card__body {
  padding: 1.6rem;
}

/* ─── Sidebar ────────────────────────────────────────────── */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.sidebar { display: flex; flex-direction: column; gap: 2rem; }

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
  padding: 1.4rem;
}

.sidebar-widget__title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--rule);
}

/* Newsletter widget */
.newsletter-widget { background: var(--ink); border-top-color: var(--accent); padding: 1.6rem; }
.newsletter-widget .sidebar-widget__title { color: #888; border-bottom-color: #333; }
.newsletter-widget p { font-size: 0.88rem; color: #aaa; line-height: 1.55; margin-bottom: 1rem; }

.newsletter-form { display: flex; flex-direction: column; gap: 0.6rem; }

.newsletter-form input[type="email"] {
  background: #111;
  border: 1px solid #333;
  border-radius: 2px;
  color: var(--white);
  font-family: 'Source Serif 4', serif;
  font-size: 0.88rem;
  padding: 0.6rem 0.8rem;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input[type="email"]:focus { border-color: var(--accent); }
.newsletter-form input::placeholder { color: #555; }

.btn {
  display: inline-block;
  padding: 0.65rem 1.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: #e55a00; }
.btn--full { width: 100%; text-align: center; }

/* Popular posts widget */
.popular-list { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }

.popular-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--rule);
}

.popular-list li:last-child { border-bottom: none; padding-bottom: 0; }

.popular-list__num {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--rule);
  line-height: 1;
  flex-shrink: 0;
  width: 24px;
}

.popular-list__title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.popular-list__title a:hover { color: var(--accent); }

/* Tags widget */
.tags-cloud { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.tag-pill {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3em 0.7em;
  background: var(--paper);
  border: 1px solid var(--rule);
  color: var(--mid);
  transition: all 0.2s;
  cursor: pointer;
}

.tag-pill:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tag-pill.active { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* ─── Article page ───────────────────────────────────────── */
.article-masthead {
  background: var(--ink);
  padding: 3.5rem 0 3rem;
}

.article-masthead__cat {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.article-masthead__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 720px;
  margin-bottom: 1.2rem;
}

.article-masthead__title em { font-style: italic; color: var(--accent); }

.article-masthead__deck {
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  color: #999;
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.article-masthead__meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
}

.article-masthead__meta span { display: flex; align-items: center; gap: 0.3rem; }

/* Article body */
.article-body {
  padding: 3rem 0 4rem;
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #2a2520;
}

.article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.8rem 0 0.8rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.article-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.8rem 0 0.5rem;
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  text-align: center;
}

.article-body blockquote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
  color: var(--ink);
}

/* Verdict boxes */
.verdict {
  margin: 2rem 0;
  padding: 1.3rem 1.5rem;
  border-left: 4px solid var(--accent);
  background: var(--highlight);
}

.verdict--pass { border-left-color: #2e7d4f; }
.verdict--fail { border-left-color: var(--accent); }
.verdict--partial { border-left-color: #b07d2a; }
.verdict--critical { border-left-color: #7b1a1a; background: #fdf0f0; }

.verdict__label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.verdict--pass .verdict__label    { color: #2e7d4f; }
.verdict--fail .verdict__label    { color: var(--accent); }
.verdict--partial .verdict__label { color: #b07d2a; }
.verdict--critical .verdict__label{ color: #7b1a1a; }

/* Share buttons */
.share-bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 2rem 0;
}

.share-bar__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-right: 0.4rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s;
  color: var(--ink);
  text-decoration: none;
}

.share-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.share-btn--twitter:hover { background: #1da1f2; border-color: #1da1f2; }
.share-btn--linkedin:hover { background: #0077b5; border-color: #0077b5; }

/* Drop cap */
.dropcap::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 4.2rem;
  font-weight: 900;
  float: left;
  line-height: 0.82;
  margin: 0.1em 0.12em 0 0;
  color: var(--accent);
}

/* Rule ornament */
.rule-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 2rem 0;
  color: var(--rule);
  font-size: 1.1rem;
}

.rule-ornament::before, .rule-ornament::after {
  content: '';
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: var(--rule);
}

/* ─── About page ─────────────────────────────────────────── */
.page-header {
  background: var(--ink);
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.page-header__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.page-header__subtitle {
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  color: #888;
  max-width: 500px;
  margin: 0 auto;
}

.page-body { padding: 3.5rem 0 5rem; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 2.5rem 0;
}

.about-stat {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent);
}

.about-stat__num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.about-stat__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ─── Contact page ───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
}

.form-input, .form-textarea {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 0;
  font-family: 'Source Serif 4', serif;
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-input:focus, .form-textarea:focus { border-color: var(--accent); }
.form-textarea { resize: vertical; min-height: 130px; }

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: #0e0d0b;
  color: #888;
  padding: 3.5rem 0 2rem;
  border-top: 3px solid #222;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand__logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  margin-bottom: 0.8rem;
}

.footer-brand__watt { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 900; color: var(--accent); }
.footer-brand__bites { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 900; color: var(--white); }
.footer-brand__dot { font-size: 1.4rem; color: #444; font-weight: 900; }

.footer-brand p { font-size: 0.85rem; color: #666; line-height: 1.6; margin-bottom: 0; }

.footer-col h4 {
  font-family: 'Source Serif 4', serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #222;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { font-size: 0.85rem; color: #666; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid #1a1a1a;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #444;
}

.footer-bottom a { color: #555; transition: color 0.2s; }
.footer-bottom a:hover { color: #888; }

/* ─── Pagination ─────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 2.5rem 0;
}

.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--rule);
  color: var(--mid);
  transition: all 0.2s;
}

.pagination a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pagination .current { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* ─── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
  padding: 0.8rem 0;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.breadcrumb a { color: #555; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { color: #333; }

/* ─── Notice / alert bar ─────────────────────────────────── */
.notice-bar {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .articles-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 1.9rem; }
}

/* ─── Shortcode components ───────────────────────────────── */

/* Pullquote */
blockquote.pullquote {
  margin: 2.5rem -1rem;
  padding: 1.5rem 2rem;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  text-align: center;
  background: transparent;
}

blockquote.pullquote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
}

/* Factbox */
.factbox {
  float: right;
  width: 255px;
  margin: 0.5rem 0 1.5rem 2rem;
  padding: 1.2rem;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
  background: white;
  font-size: 0.85rem;
}

.factbox h4 {
  font-family: 'Source Serif 4', serif;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mid);
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule);
}

.factbox p  { margin-bottom: 0.6rem; line-height: 1.5; }
.factbox p:last-child { margin-bottom: 0; }
.factbox strong { color: var(--ink); font-weight: 600; }

/* Contradiction box */
.contradiction {
  margin: 2rem 0;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--accent);
  border-left: 4px solid var(--accent);
  background: #fff5f5;
}

.contradiction-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.contradiction-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.contradiction-col h5 {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mid);
  margin-bottom: 0.4rem;
}

.contradiction-col p {
  font-size: 0.88rem;
  font-style: italic;
  margin: 0;
  line-height: 1.5;
}

.contradiction-note {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--mid);
  margin: 0;
  padding-top: 0.7rem;
  border-top: 1px solid #f0c0c0;
}

/* Article table */
.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.88rem;
}

.article-table th {
  font-family: 'Source Serif 4', serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mid);
  padding: 0.6rem 0.8rem;
  border-bottom: 2px solid var(--ink);
  text-align: left;
}

.article-table td {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  line-height: 1.5;
}

.article-table tr:last-child td { border-bottom: none; }
.article-table tr:hover td { background: #fafaf7; }

/* Rule ornament in articles */
.article-body .rule-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 2rem 0;
  color: var(--rule);
  font-size: 1.1rem;
}

.article-body .rule-ornament::before,
.article-body .rule-ornament::after {
  content: '';
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: var(--rule);
}

@media (max-width: 600px) {
  .factbox { float: none; width: 100%; margin: 1.5rem 0; }
  .contradiction-cols { grid-template-columns: 1fr; }
  blockquote.pullquote { margin: 2rem 0; }
}

/* ─── WordPress-specific overrides ──────────────────────── */

/* Fix WP search form */
.search-bar .search-form { display:flex; gap:0.5rem; flex:1; }
.search-bar .search-form label { display:none; }
.search-bar .search-form input[type="search"] {
  flex:1; background:transparent; border:none; border-bottom:1px solid #444;
  color:var(--white); font-family:'Source Serif 4',serif; font-size:1rem;
  padding:0.4rem 0; outline:none;
}
.search-bar .search-form input:focus { border-bottom-color:var(--accent); }
.search-bar .search-form button { background:none; border:none; color:#555; cursor:pointer; }

/* WP pagination */
.pagination .page-numbers { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; font-size:0.8rem; font-weight:600; border:1px solid var(--rule); color:var(--mid); transition:all 0.2s; text-decoration:none; }
.pagination .page-numbers:hover { background:var(--ink); color:var(--white); border-color:var(--ink); }
.pagination .page-numbers.current { background:var(--accent); color:var(--white); border-color:var(--accent); }
.pagination ul { list-style:none; display:flex; gap:0.3rem; justify-content:center; padding:2.5rem 0; }
.pagination ul li { display:inline; }

/* WP admin bar adjustment */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Article content WordPress blocks */
.article-content .wp-block-image { margin:2rem 0; }
.article-content .wp-block-image img { max-width:100%; height:auto; }
.article-content .wp-block-image figcaption { font-size:0.8rem; color:var(--mid); text-align:center; margin-top:0.5rem; font-style:italic; }
.article-content .wp-block-quote { margin:2rem 0; padding:1.5rem 2rem; border-top:3px solid var(--ink); border-bottom:3px solid var(--ink); text-align:center; }
.article-content .wp-block-quote p { font-family:'Playfair Display',serif; font-size:1.35rem; font-style:italic; line-height:1.4; }
.article-content .wp-block-quote cite { font-size:0.75rem; letter-spacing:0.15em; text-transform:uppercase; color:var(--mid); }
.article-content figure.wp-block-table { margin:2rem 0; }
.article-content .wp-block-table table { width:100%; border-collapse:collapse; font-size:0.9rem; }
.article-content .wp-block-table th { font-size:0.65rem; letter-spacing:0.15em; text-transform:uppercase; font-weight:600; color:var(--mid); padding:0.6rem 0.8rem; border-bottom:2px solid var(--ink); text-align:left; }
.article-content .wp-block-table td { padding:0.7rem 0.8rem; border-bottom:1px solid var(--rule); }

/* Newsletter form in footer/sidebar */
.newsletter-form { display:flex; flex-direction:column; gap:0.6rem; }
.newsletter-form input[type="email"] { background:#111; border:1px solid #333; border-radius:2px; color:var(--white); font-family:'Source Serif 4',serif; font-size:0.88rem; padding:0.6rem 0.8rem; outline:none; transition:border-color 0.2s; }
.newsletter-form input[type="email"]:focus { border-color:var(--accent); }
.newsletter-form input::placeholder { color:#555; }

/* mc4wp Mailchimp form compatibility */
.mc4wp-form input[type="email"] { background:#111; border:1px solid #333; color:#fff; font-family:'Source Serif 4',serif; font-size:0.88rem; padding:0.6rem 0.8rem; outline:none; width:100%; margin-bottom:0.5rem; }
.mc4wp-form input[type="submit"] { width:100%; padding:0.65rem 1.2rem; font-size:0.7rem; font-weight:700; letter-spacing:0.15em; text-transform:uppercase; background:var(--accent); color:#fff; border:none; cursor:pointer; }
.mc4wp-form input[type="submit"]:hover { background:#e55a00; }
