/* =====================================================
   LAIPO MAGAZINE — Main Stylesheet v7.0
   The Ibadan Book and Arts Festival Magazine
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* =====================================================
   1. DESIGN TOKENS
   ===================================================== */
:root {
  /* Palette */
  --ink:          #111010;
  --ink-soft:     #2c2929;
  --red:          #E51C2B;
  --red-deep:     #b81523;
  --white:        #ffffff;
  --paper:        #faf8f5;
  --rule:         #ddd9d3;
  --rule-light:   #ebe7e2;
  --stone:        #6b6460;
  --stone-light:  #9c9590;

  /* Type */
  --serif:   'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --sans:    'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --gap:    32px;
  --gutter: 48px;
  --max:    1200px;
  --max-text: 700px;

  /* Transitions */
  --t: 0.22s ease;
}

/* =====================================================
   2. RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
input, textarea { font-family: inherit; }
ul { list-style: none; }

/* =====================================================
   3. TOPBAR
   ===================================================== */
.laipo-topbar {
  background: var(--ink);
  color: rgba(255,255,255,0.45);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.topbar-left { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-right a {
  color: rgba(255,255,255,0.45);
  transition: color var(--t);
  white-space: nowrap;
}

.topbar-right a:hover { color: var(--white); }

/* =====================================================
   4. SITE HEADER
   ===================================================== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 200;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 74px;
}

/* Logo */
.site-logo { flex-shrink: 0; display: flex; align-items: center; }
.site-logo img { height: 44px; width: auto; }
.site-logo a { display: block; line-height: 0; }

/* Nav */
.site-nav { flex: 1; overflow: hidden; }

.primary-menu {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}

.primary-menu > li > a {
  display: block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 8px 11px;
  border-bottom: 2px solid transparent;
  transition: color var(--t), border-color var(--t);
  white-space: nowrap;
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-page-ancestor > a {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--ink);
}

/* Search */
.header-search-btn {
  background: none;
  border: none;
  padding: 8px;
  color: var(--stone);
  display: flex;
  align-items: center;
  transition: color var(--t);
  flex-shrink: 0;
}

.header-search-btn:hover { color: var(--red); }

/* Search Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17,16,16,0.95);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.search-overlay.is-open { display: flex; }

.search-overlay-inner {
  width: 100%;
  max-width: 640px;
}

.search-overlay .search-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

.search-overlay form {
  display: flex;
  border-bottom: 2px solid rgba(255,255,255,0.15);
}

.search-overlay input[type="search"] {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--white);
  padding: 12px 0;
}

.search-overlay input[type="search"]::placeholder { color: rgba(255,255,255,0.2); }

.search-overlay button[type="submit"] {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  padding: 12px 0 12px 16px;
  transition: color var(--t);
}

.search-overlay button[type="submit"]:hover { color: var(--red); }

.search-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 1.5rem;
  transition: color var(--t);
}

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

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: var(--ink);
  padding: 24px 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.mobile-menu.is-open { display: block; }

.mobile-menu ul { display: flex; flex-direction: column; gap: 2px; }

.mobile-menu ul li a {
  display: block;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color var(--t);
}

.mobile-menu ul li a:hover { color: var(--white); }

/* =====================================================
   5. HERO
   ===================================================== */
.site-hero {
  background: var(--ink);
  color: var(--white);
  padding: 88px 40px 72px;
  text-align: center;
  border-bottom: 3px solid var(--red);
  position: relative;
  overflow: hidden;
}

.site-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 48px,
    rgba(255,255,255,0.008) 48px,
    rgba(255,255,255,0.008) 49px
  );
  pointer-events: none;
}

.hero-tagline {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.hero-tagline strong {
  color: var(--red);
  font-weight: 700;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 18px;
}

.hero-sub {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  max-width: 400px;
  margin: 0 auto;
}

/* =====================================================
   6. SECTION LABELS
   ===================================================== */
.section-label {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--stone);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 40px;
}

.section-label.red-rule {
  border-bottom-color: var(--red);
  color: var(--red);
}

/* =====================================================
   7. FEATURED ARTICLE
   ===================================================== */
.featured-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--rule);
  margin-bottom: 80px;
  overflow: hidden;
}

.featured-image {
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  background: var(--ink-soft);
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-block:hover .featured-image img { transform: scale(1.03); }

.featured-body {
  padding: 52px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.feat-cat {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.feat-title {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 16px;
  transition: color var(--t);
}

.feat-title a { color: inherit; }
.feat-title a:hover { color: var(--red); }

.feat-dek {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--stone);
  line-height: 1.72;
  margin-bottom: 24px;
  flex: 1;
}

.feat-meta {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--stone);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.feat-meta .author { font-weight: 600; color: var(--ink-soft); }
.feat-meta .sep { color: var(--rule); }

/* =====================================================
   8. ARTICLE GRID
   ===================================================== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
  margin-bottom: 72px;
}

.article-card { display: flex; flex-direction: column; }

.card-image {
  overflow: hidden;
  aspect-ratio: 3/2;
  margin-bottom: 16px;
  position: relative;
  background: var(--ink-soft);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .card-image img { transform: scale(1.04); }

.card-no-image {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #2a2525 0%, #1a1414 100%);
}

.card-cat {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.card-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
  transition: color var(--t);
}

.card-title a { color: inherit; }
.article-card:hover .card-title { color: var(--red); }

.card-excerpt {
  font-family: var(--sans);
  font-size: 0.87rem;
  color: var(--stone);
  line-height: 1.65;
  margin-bottom: 14px;
  flex: 1;
}

.card-meta {
  font-family: var(--sans);
  font-size: 0.7rem;
  color: var(--stone-light);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}

.card-meta .sep { color: var(--rule-light); }

/* Article List (2-col) */
.article-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
  margin-bottom: 72px;
}

/* =====================================================
   9. HOMEPAGE MEDIA SECTION (Podcast + YouTube)
   ===================================================== */
.media-section {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 72px 0;
  margin-bottom: 80px;
}

.media-section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.media-col h3 {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}

.media-embed-placeholder {
  background: var(--ink);
  height: 352px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(255,255,255,0.06);
}

.media-embed-placeholder svg { color: rgba(255,255,255,0.25); }

.media-embed-placeholder p {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  padding: 0 24px;
  line-height: 1.5;
}

.media-embed-placeholder .embed-note {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.2);
  font-style: italic;
}

.media-iframe-wrap {
  position: relative;
  width: 100%;
  height: 352px;   /* fixed height — both cards identical */
  overflow: hidden;
}

.media-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* =====================================================
   10. MAIN LAYOUT WRAPPER
   ===================================================== */
.laipo-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 40px;
}

/* =====================================================
   11. ARCHIVE / CATEGORY PAGE
   ===================================================== */
.archive-header {
  background: var(--ink);
  color: var(--white);
  padding: 72px 40px;
  text-align: center;
  border-bottom: 3px solid var(--red);
}

.archive-eyebrow {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.archive-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 14px;
}

.archive-description {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.45);
  max-width: 500px;
  margin: 0 auto;
  font-weight: 300;
}

/* =====================================================
   12. SINGLE ARTICLE
   ===================================================== */
.single-breadcrumb {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 40px 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--stone-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.single-breadcrumb a { color: var(--stone); transition: color var(--t); }
.single-breadcrumb a:hover { color: var(--red); }

.article-header {
  max-width: var(--max-text);
  margin: 0 auto;
  padding: 48px 40px 36px;
  text-align: center;
}

.article-cat-link {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  transition: opacity var(--t);
}

.article-cat-link:hover { opacity: 0.7; }

.article-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin-bottom: 18px;
}

.article-deck {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--stone);
  line-height: 1.55;
  margin-bottom: 28px;
}

.article-meta {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.article-meta .author { font-weight: 600; color: var(--ink-soft); }
.article-meta .sep { color: var(--rule); }

.article-hero-img {
  max-width: 900px;
  margin: 0 auto 52px;
  padding: 0 40px;
}

.article-hero-img img { width: 100%; }

.article-hero-img figcaption {
  font-family: var(--sans);
  font-size: 0.77rem;
  color: var(--stone-light);
  text-align: center;
  padding: 10px 0 0;
  font-style: italic;
}

/* Article Body */
.article-body {
  max-width: var(--max-text);
  margin: 0 auto;
  padding: 0 40px 64px;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.88;
  color: var(--ink-soft);
}

.article-body p { margin-bottom: 1.5em; }

.article-body h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin-top: 2.2em;
  margin-bottom: 0.8em;
  letter-spacing: -0.015em;
}

.article-body h3 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 2em;
  margin-bottom: 0.8em;
}

.article-body blockquote {
  border-left: 3px solid var(--red);
  margin: 2em 0;
  padding: 2px 0 2px 28px;
  font-style: italic;
  font-size: 1.18rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.article-body ul, .article-body ol {
  padding-left: 1.4em;
  margin-bottom: 1.5em;
  list-style: revert;
}

.article-body li { margin-bottom: 0.5em; }

.article-body a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-body a:hover { text-decoration: none; }

.article-body img {
  width: 100%;
  margin: 2em 0;
}

/* Share Bar */
.share-bar {
  max-width: var(--max-text);
  margin: 0 auto 48px;
  padding: 22px 40px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.share-label {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-right: 4px;
}

.share-btn {
  padding: 7px 14px;
  border: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: none;
  cursor: pointer;
  transition: all var(--t);
}

.share-btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.share-btn-icon svg {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity var(--t);
}

.share-btn-icon:hover svg { opacity: 1; }

.share-btn:hover { background: var(--red); color: var(--white); border-color: var(--red); }

/* Author Box */
.author-box {
  max-width: var(--max-text);
  margin: 0 auto 56px;
  padding: 36px 40px;
  background: var(--paper);
  border: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  align-items: start;
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(145deg, #2c2828 0%, #1a1515 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255,255,255,0.2);
  border: 2px solid var(--rule);
  flex-shrink: 0;
}

.author-avatar img { width: 100%; height: 100%; object-fit: cover; }

.author-box-label {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}

.author-box-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.author-box-bio {
  font-family: var(--sans);
  font-size: 0.87rem;
  color: var(--stone);
  line-height: 1.65;
  margin-bottom: 10px;
}

.author-socials {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.author-social-link {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--stone);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--t);
}

.author-social-link:hover { color: var(--red); }

/* Comments Section */
.comments-section {
  max-width: var(--max-text);
  margin: 0 auto 64px;
  padding: 0 40px;
}

.comments-section .section-label { margin-bottom: 32px; }

.comment-list { margin-bottom: 48px; }

.comment-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule-light);
}

.comment-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--rule);
  flex-shrink: 0;
}

.comment-author-name {
  font-family: var(--sans);
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--ink);
}

.comment-date {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--stone-light);
  margin-left: auto;
}

.comment-text {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.65;
  padding-left: 52px;
}

/* WordPress comment form */
.comment-respond {
  margin-top: 8px;
}

.comment-reply-title {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 32px;
  display: block;
}

.comment-form label {
  display: block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--rule);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--t);
  margin-bottom: 20px;
  resize: vertical;
}

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

.comment-form .form-submit input[type="submit"] {
  background: var(--ink);
  color: var(--white);
  border: 2px solid var(--ink);
  padding: 12px 32px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--t);
}

.comment-form .form-submit input[type="submit"]:hover {
  background: var(--red);
  border-color: var(--red);
}

.logged-in-as {
  font-family: var(--sans);
  font-size: 0.87rem;
  color: var(--stone);
  margin-bottom: 20px;
}

.comment-form-comment { margin-bottom: 20px; }
.comment-notes, .comment-form-cookies-consent { display: none; }

/* =====================================================
   13. PAGE TEMPLATES
   ===================================================== */
/* Page Header (About, Submissions, etc.) */
.page-header {
  background: var(--ink);
  color: var(--white);
  padding: 80px 40px 64px;
  text-align: center;
  border-bottom: 3px solid var(--red);
}

.page-eyebrow {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.page-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 14px;
}

.page-subtitle {
  font-family: var(--sans);
  font-size: 1rem;
  color: rgba(255,255,255,0.45);
  max-width: 520px;
  margin: 0 auto;
  font-weight: 300;
}

.page-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 40px;
}

.page-body p {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 1.4em;
}

.page-body h2 {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  margin-top: 56px;
  margin-bottom: 24px;
}

.page-body h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 28px;
  margin-bottom: 10px;
}

.page-body ul {
  margin-bottom: 1.5em;
  padding-left: 1.2em;
}

.page-body ul li {
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 10px;
  list-style: disc;
}

.page-body a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* What We Publish Grid */
.publish-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  margin-top: 32px;
}

.publish-item {
  padding: 28px 32px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.publish-item:nth-child(even) { border-right: none; }
.publish-item:nth-last-child(-n+2) { border-bottom: none; }

.publish-item h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  margin-top: 0;
}

.publish-item p {
  font-family: var(--sans);
  font-size: 0.87rem;
  color: var(--stone);
  line-height: 1.65;
  margin-bottom: 8px;
}

.publish-item .word-count {
  font-family: var(--sans);
  font-size: 0.7rem;
  color: var(--stone-light);
  font-style: italic;
}

/* Editorial Collective Grid */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  margin-top: 32px;
}

.editorial-person {
  padding: 24px 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.editorial-person:nth-child(3n) { border-right: none; }

.person-name {
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.person-role {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--stone);
  letter-spacing: 0.03em;
}

/* =====================================================
   14. BUTTONS
   ===================================================== */
.btn {
  display: inline-block;
  padding: 13px 30px;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--white);
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: all var(--t);
}

.btn:hover { background: var(--red); border-color: var(--red); }

.btn-red { background: var(--red); border-color: var(--red); }
.btn-red:hover { background: var(--red-deep); border-color: var(--red-deep); }

.btn-outline {
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover { background: var(--ink); color: var(--white); }

.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

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

/* =====================================================
   15. PAGINATION
   ===================================================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 20px 0 0;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  transition: all var(--t);
}

.page-numbers:hover,
.page-numbers.current { background: var(--red); border-color: var(--red); color: var(--white); }

.page-numbers.dots { border: none; cursor: default; }

/* =====================================================
   16. 404 PAGE
   ===================================================== */
.error-page {
  text-align: center;
  padding: 100px 40px;
  max-width: 600px;
  margin: 0 auto;
}

.error-code {
  font-family: var(--serif);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 700;
  color: var(--rule-light);
  line-height: 1;
  margin-bottom: 24px;
}

.error-page h1 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.error-page p {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--stone);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.error-search {
  display: flex;
  max-width: 400px;
  margin: 0 auto 32px;
  border: 1px solid var(--rule);
}

.error-search input {
  flex: 1;
  padding: 12px 16px;
  background: none;
  border: none;
  outline: none;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink);
}

.error-search button {
  padding: 12px 22px;
  background: var(--ink);
  color: var(--white);
  border: none;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background var(--t);
}

.error-search button:hover { background: var(--red); }

.error-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-links a {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--stone);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color var(--t), border-color var(--t);
}

.error-links a:hover { color: var(--red); border-color: var(--red); }

/* =====================================================
   17. SEARCH RESULTS
   ===================================================== */
.search-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 48px 40px;
  text-align: center;
}

.search-header h1 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.search-header p {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--stone);
}

/* =====================================================
   18. FOOTER
   ===================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.55);
  font-family: var(--sans);
}

/* Newsletter Strip */
.footer-newsletter {
  background: #1c1b1b;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 52px 40px;
}

.footer-newsletter-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.nl-copy h4 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.nl-copy p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.55;
  max-width: 360px;
}

.nl-form {
  display: flex;
  gap: 0;
  flex: 1;
  max-width: 420px;
  min-width: 260px;
}

.nl-form input[type="email"] {
  flex: 1;
  padding: 13px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-right: none;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--t);
}

.nl-form input[type="email"]::placeholder { color: rgba(255,255,255,0.2); }
.nl-form input[type="email"]:focus { border-color: rgba(255,255,255,0.25); }

.nl-form button {
  padding: 13px 24px;
  background: var(--red);
  color: var(--white);
  border: 1px solid var(--red);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background var(--t);
}

.nl-form button:hover { background: var(--red-deep); }

/* Footer Grid */
.footer-top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 40px;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .footer-logo {
  margin-bottom: 18px;
}

.footer-brand .footer-logo img {
  height: 52px;
  width: auto;
  opacity: 1;
  filter: none;
}

.footer-brand > p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.75;
  margin-bottom: 12px;
  max-width: 260px;
}

.footer-issn {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 20px;
}

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

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.32);
  transition: all var(--t);
}

.social-icon:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.48);
  transition: color var(--t);
}

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

.footer-col ul li.footer-location,
.footer-location {
  font-family: var(--sans);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.7;
  margin-top: 0;
}

/* Connect column — icon + text rows */
.footer-connect-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer-connect-list li svg {
  color: rgba(255,255,255,0.55);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
}

.footer-legal {
  display: flex;
  gap: 16px;
}

.footer-legal li a {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.2);
  transition: color var(--t);
}

.footer-legal li a:hover { color: rgba(255,255,255,0.5); }

/* =====================================================
   19. HORIZONTAL RULE / DIVIDER
   ===================================================== */
.laipo-rule { border: none; border-top: 1px solid var(--rule); margin: 64px 0; }

/* =====================================================
   20. UTILITIES
   ===================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.text-red { color: var(--red); }
.text-center { text-align: center; }

/* =====================================================
   21. WORDPRESS CORE CLASSES
   ===================================================== */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 24px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8rem; color: var(--stone); text-align: center; margin-top: 6px; font-style: italic; }

/* =====================================================
   22. RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .laipo-topbar { padding: 7px 24px; }
  .header-inner { padding: 0 24px; }
  .laipo-main { padding: 56px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-top .footer-brand { grid-column: 1 / -1; }
  .featured-block { grid-template-columns: 1fr; }
  .featured-image { aspect-ratio: 16/9; }
  .featured-body { padding: 36px 40px; }
}

@media (max-width: 768px) {
  .laipo-topbar { display: none; }

  .site-nav { display: none; }
  .menu-toggle { display: flex; align-items: center; margin-left: auto; }

  .header-inner { height: 64px; padding: 0 20px; gap: 16px; }
  .site-logo img { height: 36px; }

  .site-hero { padding: 64px 24px 52px; }

  .laipo-main { padding: 48px 20px; }

  .article-grid { grid-template-columns: 1fr; gap: 36px; }
  .article-list { grid-template-columns: 1fr; }

  .featured-body { padding: 28px 24px 32px; }

  .archive-header { padding: 52px 24px; }

  .article-header { padding: 36px 20px 24px; }
  .article-body { padding: 0 20px 48px; font-size: 1.04rem; }
  .article-hero-img { padding: 0 20px; margin-bottom: 36px; }

  .share-bar { padding: 18px 20px; }
  .author-box { padding: 24px 20px; grid-template-columns: 60px 1fr; gap: 18px; }
  .author-avatar { width: 60px; height: 60px; font-size: 1.5rem; }

  .comments-section { padding: 0 20px; }

  .page-header { padding: 56px 24px 48px; }
  .page-body { padding: 40px 20px; }

  .publish-grid { grid-template-columns: 1fr; }
  .publish-item { border-right: none; }
  .publish-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .publish-item:last-child { border-bottom: none; }

  .editorial-grid { grid-template-columns: 1fr 1fr; }
  .editorial-person:nth-child(2n) { border-right: none; }
  .editorial-person:nth-child(3n) { border-right: 1px solid var(--rule); }
  .editorial-person:nth-child(2n):nth-child(odd) { border-right: 1px solid var(--rule); }

  .media-grid { grid-template-columns: 1fr; }

  .footer-newsletter { padding: 40px 20px; }
  .footer-newsletter-inner { flex-direction: column; align-items: flex-start; }
  .nl-form { min-width: unset; width: 100%; }

  .footer-top { grid-template-columns: 1fr; gap: 36px; padding: 48px 20px; }
  .footer-top .footer-brand { grid-column: auto; }
  .footer-brand > p { max-width: 100%; }

  .footer-bottom { padding: 20px; flex-direction: column; align-items: flex-start; }

  .error-page { padding: 64px 20px; }
}

@media (max-width: 480px) {
  .article-grid { gap: 28px; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-person:nth-child(3n) { border-right: none; }

  .hero-headline { font-size: 2.4rem; }
}

/* =====================================================
   23. REDUCED MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* =====================================================
   v7.1 FIXES
   ===================================================== */

/* Footer logo — transparent PNG, no filter needed */
.footer-logo-img,
.footer-logo img {
  height: 72px;
  width: auto;
  max-width: 220px;
  filter: none;
  opacity: 1;
}

/* ISSN — all red (no muted base colour) */
.footer-issn {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--red);
}
.footer-issn span { color: var(--red); font-weight: 700; }

/* Footer location — same muted colour as other footer links */
.footer-col ul li.footer-location,
.footer-location {
  font-family: var(--sans);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.7;
  margin-top: 0;
}

/* Footer connect links — brighter */
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.52);
  transition: color var(--t);
}
.footer-col ul li a:hover { color: var(--white); }

/* Social icons — all platforms */
.footer-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.4);
  transition: all var(--t);
  flex-shrink: 0;
}

.social-icon:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.social-icon svg { display: block; }

/* Page hero — text always white and visible */
.page-header .page-eyebrow { color: var(--red); }
.page-header .page-title   { color: var(--white); }
.page-header .page-subtitle { color: rgba(255,255,255,0.55); }

/* Archive hero */
.archive-header .archive-eyebrow   { color: var(--red); }
.archive-header .archive-title      { color: var(--white); }
.archive-header .archive-description { color: rgba(255,255,255,0.55); }

/* Hero */
.site-hero .hero-tagline { color: rgba(255,255,255,0.38); }
.site-hero .hero-headline { color: var(--white); }
.site-hero .hero-sub { color: rgba(255,255,255,0.5); }

/* Media section dark bg — white text */
.media-placeholder p { color: rgba(255,255,255,0.35); }

/* word-count class */
.word-count { font-family: var(--sans); font-size: 0.72rem; color: var(--stone-light); font-style: italic; margin-top: 4px; }

/* Category coming-soon placeholder (homepage empty categories) */
.cat-coming-soon {
  padding: 40px 0 20px;
  border-top: 1px solid var(--rule);
}
.cat-coming-soon p {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--stone);
}
