/*
Theme Name: FoRB PRESS
Theme URI: https://forb.press
Author: FoRB PRESS Team
Author URI: https://forb.press
Description: A premium publishing house theme for Freedom of Religion or Belief publications. Features a stunning 3D word tunnel hero, book catalogue, blog, contact forms, and manuscript submission system.
Version: 1.0.2
License: GPL v2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: forb-press
Requires at least: 6.0
Requires PHP: 8.0
*/

/* === CSS RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: 'Inter', sans-serif; color: #1A1A1A; background: #FFFFFF; line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Bodoni Moda', serif; font-weight: 400; line-height: 1.15; }
a { text-decoration: none; color: inherit; transition: color 0.25s ease; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
::selection { background: #F2B705; color: #002B5B; }

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;0,6..96,700;1,6..96,400&family=Inter:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* === DESIGN TOKENS === */
:root {
  --navy: #002B5B;
  --navy-80: rgba(0, 43, 91, 0.8);
  --border-dark: #334866;
  --golden-yellow: #F2B705;
  --light-yellow: #FFF8E1;
  --white: #FFFFFF;
  --text-primary: #1A1A1A;
  --text-secondary: #666666;
  --border-light: #E5E5E5;
  --max-width: 1280px;
  --gutter: clamp(20px, 4vw, 64px);
  --section-lg: clamp(80px, 10vw, 140px);
  --section-md: clamp(48px, 6vw, 80px);
}

/* === UTILITY CLASSES === */
.content-max { max-width: var(--max-width); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.page-gutter { padding-left: var(--gutter); padding-right: var(--gutter); }
.section-padding { padding-top: var(--section-lg); padding-bottom: var(--section-lg); }
.section-padding-sm { padding-top: var(--section-md); padding-bottom: var(--section-md); }

.label-style {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-style {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-number {
  font-family: 'Space Mono', monospace;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.02em;
}

.font-display { font-family: 'Bodoni Moda', serif; font-weight: 400; }
.font-body { font-family: 'Inter', sans-serif; }
.font-mono { font-family: 'Space Mono', monospace; }

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--navy);
  box-shadow: 0 2px 18px rgba(0,0,0,0.12);
}
.site-header.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 18px rgba(0,0,0,0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 4px 0;
}
.site-logo img { height: 44px; width: auto; filter: brightness(0) invert(1); }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  color: rgba(255,255,255,0.86);
  position: relative;
}
.main-nav a:hover { color: var(--golden-yellow); }
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--golden-yellow);
  transition: width 0.3s ease;
}
.main-nav a:hover::after { width: 100%; }
.main-nav .nav-cta {
  background: var(--golden-yellow);
  color: var(--navy) !important;
  padding: 10px 20px;
  font-weight: 600;
}
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { background: var(--white); }

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 40;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu-overlay.active { display: flex; }
.mobile-menu-overlay a {
  font-family: 'Bodoni Moda', serif;
  font-size: 36px;
  color: white;
}
.mobile-menu-overlay a:hover { color: var(--golden-yellow); }

/* === HERO SECTION === */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#tunnel-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
  max-width: 800px;
}
.hero-label {
  color: var(--golden-yellow);
  margin-bottom: 32px;
  letter-spacing: 0.15em;
}
.hero-title {
  color: white;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 1.0;
  margin-bottom: 24px;
}
.hero-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  max-width: 500px;
  margin: 0 auto 40px;
}
.btn-primary {
  display: inline-block;
  background: var(--golden-yellow);
  color: var(--navy);
  padding: 16px 40px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primary:hover { background: white; }

.btn-outline {
  display: inline-block;
  border: 1px solid white;
  color: white;
  padding: 16px 40px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-outline:hover { background: white; color: var(--navy); }

/* === MISSION SECTION === */
.mission-section { background: white; }
.mission-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.mission-stats { display: flex; flex-direction: column; gap: 32px; }
.stat-item { display: flex; align-items: start; gap: 16px; }
.stat-icon {
  width: 48px; height: 48px;
  background: var(--light-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-icon svg { width: 24px; height: 24px; color: var(--golden-yellow); }
.stat-number-sm { font-size: 48px; color: var(--golden-yellow); font-family: 'Space Mono', monospace; }
.stat-label { color: var(--text-secondary); font-size: 14px; }

.partners-row {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 24px;
  opacity: 0.4;
}
.partner-name {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
}

/* === BOOK GRID === */
.book-grid-section { background: var(--light-yellow); }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}
.section-title { color: var(--navy); font-size: clamp(28px, 3vw, 42px); }
.section-desc { color: var(--text-secondary); margin-top: 8px; max-width: 600px; }
.view-all-link {
  color: var(--golden-yellow);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.view-all-link:hover { gap: 12px; }

.book-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 32px;
}
.book-card { transition: transform 0.3s ease; }
.book-card:hover { transform: translateY(-4px); }
.book-cover-wrap {
  position: relative;
  overflow: hidden;
  padding-bottom: 125%;
  margin-bottom: 16px;
}
.book-cover-wrap img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.book-card:hover .book-cover-wrap img { transform: scale(1.03); }
.book-category {
  color: var(--golden-yellow);
  margin-bottom: 4px;
}
.book-title {
  font-family: 'Bodoni Moda', serif;
  font-size: 18px;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.book-card:hover .book-title { color: var(--golden-yellow); }
.book-author {
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 4px;
}
.book-price {
  color: rgba(0,43,91,0.8);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* === CTA SECTION === */
.cta-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.03) 10px, rgba(255,255,255,0.03) 20px);
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-title {
  color: white;
  font-size: clamp(36px, 5vw, 72px);
  margin-bottom: 24px;
}
.cta-desc {
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* === BLOG SECTION === */
.blog-section { background: white; }
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.blog-card {
  background: white;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 8px 28px rgba(0,43,91,0.04);
}
.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(242,183,5,0.55);
  box-shadow: 0 18px 50px rgba(0,43,91,0.12);
}
.blog-thumb-link { display: block; }
.blog-thumb {
  position: relative;
  padding-bottom: 62.5%;
  overflow: hidden;
  background: var(--navy);
}
.blog-thumb img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-thumb img { transform: scale(1.035); }
.blog-thumb-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), #0b3d78);
}
.blog-thumb-placeholder span {
  color: var(--golden-yellow);
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
}
.blog-card-body { padding: 26px; }
.blog-card-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 12px;
  margin-bottom: 14px;
}
.blog-category-tag {
  display: inline-block;
  background: var(--light-yellow);
  color: var(--navy);
  border: 1px solid rgba(242,183,5,0.35);
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.blog-card-title {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(22px, 2vw, 28px);
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card:hover .blog-card-title { color: #9b7300; }
.blog-excerpt {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 20px;
}
.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}
.read-more-link { color: var(--golden-yellow); font-weight: 600; white-space: nowrap; }
.read-more-link:hover { color: var(--navy); }
.blog-archive-section { background: #fbfbfb; }
.blog-card-featured { grid-column: 1 / -1; }
.blog-card-featured .blog-card-title { font-size: clamp(30px, 4vw, 52px); }
.blog-card-featured .blog-excerpt { font-size: 17px; -webkit-line-clamp: 4; }

/* === RESOURCES SECTION === */
.resources-section { background: var(--light-yellow); }
.resources-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.resource-group { margin-bottom: 32px; }
.resource-group-title {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
}
.resource-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  color: var(--navy);
  font-size: 15px;
  cursor: pointer;
}
.resource-link:hover { color: var(--golden-yellow); }
.resource-link svg { width: 14px; height: 14px; opacity: 0.5; }

.partner-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  transition: background 0.2s ease;
}
.partner-card:hover { background: white; }
.partner-initial {
  width: 40px; height: 40px;
  background: rgba(0,43,91,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}
.partner-card span { color: rgba(0,43,91,0.6); font-size: 14px; }

/* === FILTER TABS === */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.filter-tab {
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: white;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.25s ease;
}
.filter-tab:hover { border-color: var(--golden-yellow); color: var(--golden-yellow); }
.filter-tab.active {
  background: var(--golden-yellow);
  color: var(--navy);
  border-color: var(--golden-yellow);
}

/* === PAGINATION === */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.page-number, .page-arrow {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  border: 1px solid var(--border-light);
  background: white;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s ease;
}
.page-number:hover, .page-arrow:hover { border-color: var(--golden-yellow); color: var(--golden-yellow); }
.page-number.active { background: var(--golden-yellow); color: var(--navy); border-color: var(--golden-yellow); }

/* === LOAD MORE === */
.load-more-wrap { text-align: center; margin-top: 48px; }

/* === ABOUT PAGE === */
.about-hero {
  background: var(--navy);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.scroll-indicator {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: var(--golden-yellow);
  margin: 0 auto 8px;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.about-mission-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.about-card {
  background: white;
  padding: 32px;
}
.about-card-icon {
  width: 48px; height: 48px;
  background: rgba(242,183,5,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.about-card-icon svg { width: 24px; height: 24px; color: var(--golden-yellow); }
.about-card-title { font-size: 20px; color: var(--navy); margin-bottom: 12px; }
.about-card-desc { color: var(--text-secondary); line-height: 1.6; }

.values-grid { display: grid; grid-template-columns: 1fr; gap: 48px; text-align: center; }
.value-number { font-size: 48px; color: var(--golden-yellow); margin-bottom: 16px; font-family: 'Space Mono', monospace; }
.value-title { font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.value-desc { color: var(--text-secondary); }

/* === FORMS === */
.form-section { background: white; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.form-group { margin-bottom: 24px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text-primary);
  background: white;
  transition: border-color 0.2s ease;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--golden-yellow);
}
.form-textarea { resize: vertical; min-height: 120px; }

.drop-zone {
  border: 2px dashed rgba(242,183,5,0.4);
  background: white;
  padding: 48px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.drop-zone:hover { border-color: var(--golden-yellow); }
.drop-zone svg { width: 32px; height: 32px; color: var(--golden-yellow); margin: 0 auto 16px; }

.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
}
.contact-item a:hover { color: var(--golden-yellow); }
.contact-item svg { width: 16px; height: 16px; }

/* === FOOTER === */
.site-footer {
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.03) 10px, rgba(255,255,255,0.03) 20px);
  pointer-events: none;
}
.footer-inner {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.footer-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
}
.footer-tagline {
  color: var(--golden-yellow);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.footer-desc { color: rgba(255,255,255,0.6); font-size: 14px; }

.footer-col-title {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
}
.footer-links a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  padding: 6px 0;
}
.footer-links a:hover { color: var(--golden-yellow); }

.footer-social { display: flex; gap: 16px; margin-top: 16px; }
.footer-social a { color: rgba(255,255,255,0.6); }
.footer-social a:hover { color: var(--golden-yellow); }
.footer-social svg { width: 20px; height: 20px; }

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.footer-bottom p,
.footer-bottom a {
  color: rgba(255,255,255,0.4);
  font-size: 12px;
}

/* === MESSAGES === */
.message-success {
  background: rgba(242,183,5,0.1);
  border: 1px solid var(--golden-yellow);
  padding: 24px;
  text-align: center;
}
.message-success h3 { color: var(--navy); font-size: 24px; margin-bottom: 8px; }
.message-success p { color: var(--text-secondary); }

/* === SCROLL REVEAL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-left.visible, .reveal-right.visible { transform: translateX(0); }


/* === SHARED PAGE HEROES === */
.page-hero {
  background: var(--navy);
  min-height: 42vh;
  display: flex;
  align-items: center;
  padding-top: 112px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(242,183,5,0.18), transparent 32%),
              linear-gradient(135deg, rgba(255,255,255,0.06), transparent 45%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 64px; }
.page-hero-title { color: white; font-size: clamp(42px, 6vw, 84px); margin-bottom: 16px; }
.page-hero-desc { color: rgba(255,255,255,0.75); font-size: clamp(17px, 2vw, 20px); max-width: 720px; line-height: 1.65; }

/* === CATALOGUE === */
.catalogue-section { background: #fbfbfb; }
.catalogue-note {
  color: var(--text-secondary);
  background: white;
  border-left: 4px solid var(--golden-yellow);
  padding: 14px 18px;
  margin-bottom: 32px;
  box-shadow: 0 8px 24px rgba(0,43,91,0.04);
}
.catalogue-grid { align-items: stretch; }
.catalogue-card {
  background: white;
  border: 1px solid var(--border-light);
  padding: 18px;
  box-shadow: 0 8px 28px rgba(0,43,91,0.05);
}
.catalogue-card:hover { box-shadow: 0 18px 42px rgba(0,43,91,0.12); }
.book-cover-link { display: block; }
.book-cover-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--navy), #0b3d78);
  display: flex;
  align-items: center;
  justify-content: center;
}
.book-cover-placeholder span {
  color: var(--golden-yellow);
  font-family: 'Bodoni Moda', serif;
  font-size: 28px;
}
.catalogue-link { margin-top: 14px; display: inline-flex; }
.catalogue-cta { background: var(--navy); padding: 82px 0; }
.catalogue-cta h2 { color: white; font-size: clamp(30px, 4vw, 48px); margin-bottom: 30px; }
.catalogue-cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  background: white;
  border: 1px solid var(--border-light);
  padding: 64px 28px;
  color: var(--text-secondary);
}
.empty-state h2 { color: var(--navy); font-size: 34px; margin-bottom: 12px; }
.empty-state p { max-width: 620px; margin: 0 auto 24px; }


/* === WOOCOMMERCE COMPATIBILITY === */
.woocommerce-page-wrap { padding-top: 132px; background: #fbfbfb; }
.woocommerce-content-wrap {
  background: white;
  border: 1px solid var(--border-light);
  padding-top: 48px;
  padding-bottom: 48px;
  box-shadow: 0 10px 35px rgba(0,43,91,0.06);
}
.woocommerce div.product .product_title { color: var(--navy); font-family: 'Bodoni Moda', serif; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: #9b7300; }
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--golden-yellow);
  color: var(--navy);
  border-radius: 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover { background: var(--navy); color: white; }

/* === SINGLE ARTICLE === */
.single-article-hero {
  background: var(--navy);
  padding-top: 132px;
  padding-bottom: 64px;
  position: relative;
  overflow: hidden;
}
.single-article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(242,183,5,0.16), transparent 30%);
  pointer-events: none;
}
.single-article-hero-inner { position: relative; z-index: 1; max-width: 1040px; }
.single-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: var(--golden-yellow);
  margin-bottom: 24px;
}
.single-article-title {
  color: white;
  font-size: clamp(40px, 6vw, 82px);
  max-width: 1050px;
  margin-bottom: 22px;
}
.single-article-excerpt {
  color: rgba(255,255,255,0.78);
  font-size: clamp(18px, 2vw, 22px);
  max-width: 780px;
  line-height: 1.6;
}
.single-featured-wrap { margin-top: -36px; position: relative; z-index: 2; }
.single-featured-image {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  box-shadow: 0 18px 55px rgba(0,43,91,0.18);
}
.single-article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 90px;
}
.single-article-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-self: start; }
.sidebar-card {
  border-top: 3px solid var(--golden-yellow);
  background: var(--light-yellow);
  padding: 20px;
}
.sidebar-card p { color: var(--text-secondary); margin-bottom: 6px; }
.sidebar-card strong { color: var(--navy); font-size: 15px; }
.back-to-blog { color: var(--navy); font-weight: 600; align-self: center; }
.back-to-blog:hover { color: var(--golden-yellow); }
.single-article-content {
  max-width: 780px;
  color: var(--text-primary);
  font-size: 18px;
  line-height: 1.85;
}
.single-article-content > * + * { margin-top: 1.15em; }
.single-article-content h2,
.single-article-content h3,
.single-article-content h4 { color: var(--navy); margin-top: 1.8em; }
.single-article-content h2 { font-size: clamp(28px, 3vw, 40px); }
.single-article-content h3 { font-size: 26px; }
.single-article-content a { color: #9b7300; text-decoration: underline; text-underline-offset: 3px; }
.single-article-content blockquote {
  border-left: 4px solid var(--golden-yellow);
  padding: 12px 0 12px 24px;
  color: var(--navy);
  font-size: 22px;
  font-family: 'Bodoni Moda', serif;
  line-height: 1.5;
}
.single-article-content ul,
.single-article-content ol { list-style: revert; padding-left: 1.4em; }
.single-article-content img { margin: 24px 0; }

/* === RESPONSIVE === */
@media (min-width: 640px) {
  .book-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .about-mission-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 3fr 2fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 768px) {
  .mobile-menu-toggle { display: flex; }
  .main-nav { display: none; }
}

@media (min-width: 1024px) {
  .mobile-menu-toggle { display: none; }
  .main-nav { display: flex; }
  .mission-grid { grid-template-columns: 7fr 5fr; }
  .book-grid { grid-template-columns: repeat(4, 1fr); }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .resources-grid { grid-template-columns: 7fr 5fr; }
  .footer-grid { grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr; }
  .values-grid { grid-template-columns: repeat(3, 1fr); text-align: left; }
}


@media (min-width: 900px) {
  .blog-card-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
  .blog-card-featured .blog-thumb { height: 100%; padding-bottom: 0; min-height: 360px; }
  .single-article-layout { grid-template-columns: 220px minmax(0, 780px); justify-content: center; }
  .single-article-sidebar { grid-template-columns: 1fr; position: sticky; top: 112px; }
}

@media (max-width: 767px) {
  .page-hero { padding-top: 96px; min-height: 36vh; }
  .single-article-hero { padding-top: 112px; }
  .single-article-sidebar { grid-template-columns: 1fr; }
  .blog-card-body { padding: 22px; }
}

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