/*
Theme Name: Holliday Marketing
Theme URI: https://hollidaymarketing.com
Author: Holliday Marketing
Author URI: https://hollidaymarketing.com
Description: Affiliate marketing theme for Holliday Marketing — featuring credit monitoring, budget software, identity theft protection, medical bill negotiation, legal documents, consumer protection, planners, organization software, note-taking apps, HIPAA health apps, tablets for seniors, and accessibility products. Connected to Covenant Care Ministries.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: holliday-marketing
Tags: affiliate, custom-menu, featured-images, full-width-template, translation-ready
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --navy:       #0d1b2a;
  --deep:       #152438;
  --gold:       #c9a84c;
  --gold-light: #e8c97a;
  --cream:      #f7f3ec;
  --warm-white: #fdfaf5;
  --sage:       #7a9e7e;
  --slate:      #4a6580;
  --text:       #1a1a2e;
  --muted:      #6b7280;
  --white:      #ffffff;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-accent:  'Cormorant Garamond', Georgia, serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-pill: 100px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-hover: 0 20px 48px rgba(0,0,0,0.12);

  --transition: 0.25s ease;
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { line-height: 1.72; }

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content p,
.entry-content ul,
.entry-content ol {
  margin-bottom: 1.2rem;
}

.entry-content ul { list-style: disc; padding-left: 1.4rem; }
.entry-content ol { list-style: decimal; padding-left: 1.4rem; }
.entry-content a { color: var(--gold); text-decoration: underline; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 60px 0; }

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  line-height: 1.12;
  margin-bottom: 14px;
}

.section-title.light { color: var(--white); }
.section-title.sage  { color: var(--sage); font-style: italic; }

.section-sub {
  font-family: var(--font-accent);
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.75;
}

.section-sub.light { color: rgba(255,255,255,0.6); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all var(--transition);
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-ghost {
  background: rgba(201,168,76,0.11);
  border: 1px solid rgba(201,168,76,0.24);
  color: var(--gold-light);
  font-size: 0.82rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  display: block;
  text-align: center;
  transition: all var(--transition);
}
.btn-ghost:hover { background: var(--gold); color: var(--navy); }

/* ============================================================
   SITE HEADER / NAV
   ============================================================ */
#masthead {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.18);
  height: 68px;
  display: flex;
  align-items: center;
}

#masthead .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-branding a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.site-branding a em {
  color: var(--white);
  font-style: italic;
}

.site-branding .site-tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Primary Navigation */
#primary-navigation ul {
  display: flex;
  gap: 28px;
  align-items: center;
}

#primary-navigation ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color var(--transition);
}

#primary-navigation ul li a:hover { color: var(--gold); }

#primary-navigation ul li.menu-item-cta a {
  background: var(--gold);
  color: var(--navy);
  padding: 7px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

#primary-navigation ul li.menu-item-cta a:hover {
  background: var(--gold-light);
  color: var(--navy);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 15% 80%, rgba(122,158,126,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid-layer {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 120px 40px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 0.73rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease both;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}

.hero-title {
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-title em { font-style: italic; color: var(--gold); }

.hero-description {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.78;
  margin-bottom: 36px;
  font-weight: 300;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}

/* Hero Stats Panel */
.hero-stats {
  animation: fadeUp 0.8s 0.4s ease both;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.77rem;
  color: rgba(255,255,255,0.46);
  line-height: 1.4;
}

.ministry-hero-badge {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(122,158,126,0.14), rgba(122,158,126,0.04));
  border: 1px solid rgba(122,158,126,0.28);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ministry-hero-badge .badge-icon { font-size: 1.7rem; flex-shrink: 0; }

.ministry-hero-badge strong {
  display: block;
  color: var(--sage);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.ministry-hero-badge p {
  color: rgba(255,255,255,0.54);
  font-size: 0.78rem;
  line-height: 1.45;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--deep);
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  padding: 20px 0;
}

.trust-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.52);
  font-size: 0.78rem;
}

.trust-item .icon { font-size: 1.1rem; }

/* ============================================================
   COVENANT CARE BANNER
   ============================================================ */
.covenant-section {
  background: linear-gradient(135deg, #152438 0%, #0d2a1e 100%);
  border-top: 1px solid rgba(122,158,126,0.18);
  border-bottom: 1px solid rgba(122,158,126,0.18);
}

.covenant-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}

.covenant-emblem {
  text-align: center;
}

.emblem-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid var(--sage);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  background: rgba(122,158,126,0.06);
}

.emblem-circle::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(122,158,126,0.26);
}

.emblem-circle .emblem-icon { font-size: 2.6rem; position: relative; z-index: 1; }

.emblem-circle .emblem-text {
  font-family: var(--font-display);
  font-size: 0.62rem;
  color: var(--sage);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 6px;
  position: relative;
  z-index: 1;
  text-align: center;
  line-height: 1.3;
}

.covenant-content h2 {
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}

.covenant-content p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  line-height: 1.82;
  margin-bottom: 16px;
  font-family: var(--font-accent);
}

.covenant-pillars {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.pillar-chip {
  background: rgba(122,158,126,0.1);
  border: 1px solid rgba(122,158,126,0.22);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 0.76rem;
  color: var(--sage);
  font-weight: 500;
}

/* ============================================================
   CATEGORIES SECTION
   ============================================================ */
.categories-section { background: var(--cream); }

.categories-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
  gap: 24px;
  flex-wrap: wrap;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Category Cards */
.cat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all var(--transition);
  display: block;
  text-decoration: none;
  color: inherit;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.cat-card:hover .cat-icon-wrap { transform: scale(1.05); }

.cat-icon-wrap {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  transition: transform var(--transition);
}

/* Icon bg colours per category */
.cat-finance    .cat-icon-wrap { background: linear-gradient(135deg,#0d1b2a,#152438); }
.cat-protection .cat-icon-wrap { background: linear-gradient(135deg,#1a0a0a,#3d1010); }
.cat-legal      .cat-icon-wrap { background: linear-gradient(135deg,#1a1200,#3a2800); }
.cat-health     .cat-icon-wrap { background: linear-gradient(135deg,#0a1a0a,#0d3a18); }
.cat-productivity .cat-icon-wrap { background: linear-gradient(135deg,#0a0d1a,#181040); }
.cat-tech       .cat-icon-wrap { background: linear-gradient(135deg,#0d0a1a,#280f40); }

.cat-body { padding: 22px; }

.cat-body h3 {
  font-family: var(--font-display);
  color: var(--navy);
  margin-bottom: 8px;
}

.cat-body p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.62;
  margin-bottom: 14px;
}

.cat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}

.cat-tag {
  background: var(--cream);
  color: var(--navy);
  font-size: 0.68rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  border: 1px solid rgba(0,0,0,0.07);
}

.cat-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--transition);
}

.cat-card:hover .cat-link { gap: 10px; }

/* ============================================================
   FEATURED PRODUCTS SECTION
   ============================================================ */
.featured-section { background: var(--navy); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.product-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 26px 20px;
  position: relative;
  transition: all var(--transition);
}

.product-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(201,168,76,0.28);
  transform: translateY(-4px);
}

.product-badge {
  position: absolute;
  top: -10px; right: 16px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.product-icon { font-size: 1.9rem; margin-bottom: 12px; display: block; }

.product-category {
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 5px;
}

.product-card h4 {
  color: var(--white);
  margin-bottom: 8px;
}

.product-card p {
  font-size: 0.81rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.62;
  margin-bottom: 16px;
}

.product-stars {
  color: var(--gold);
  font-size: 0.78rem;
  margin-bottom: 13px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section { background: var(--warm-white); }

.how-header { text-align: center; margin-bottom: 56px; }
.how-header .section-sub { margin: 0 auto; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 34px;
  left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.28;
}

.step { text-align: center; }

.step-number {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 auto 22px;
  position: relative;
  z-index: 1;
}

.step h4 { color: var(--navy); margin-bottom: 9px; }

.step p { font-size: 0.83rem; color: var(--muted); line-height: 1.65; }

/* ============================================================
   MINISTRY / MISSION SECTION
   ============================================================ */
.mission-section {
  background: linear-gradient(160deg, #0d2a1e 0%, #0d1b2a 60%, #152438 100%);
  position: relative;
  overflow: hidden;
}

.mission-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(122,158,126,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.mission-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.mission-quote {
  font-family: var(--font-accent);
  font-size: 1.42rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  font-style: italic;
  padding-left: 24px;
  border-left: 3px solid var(--sage);
  margin-bottom: 16px;
}

.mission-verse {
  font-size: 0.77rem;
  color: var(--sage);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.mission-body {
  color: rgba(255,255,255,0.56);
  font-family: var(--font-accent);
  font-size: 1.05rem;
  line-height: 1.8;
}

.mission-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mission-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(122,158,126,0.14);
  border-radius: var(--radius-md);
  padding: 20px 16px;
}

.mission-card-icon { font-size: 1.5rem; margin-bottom: 9px; }
.mission-card h5 { color: var(--white); margin-bottom: 6px; font-size: 0.92rem; }
.mission-card p  { font-size: 0.77rem; color: rgba(255,255,255,0.46); line-height: 1.55; }

/* ============================================================
   BLOG / ARCHIVE
   ============================================================ */
.blog-section { background: var(--warm-white); }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all var(--transition);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.post-thumbnail {
  height: 200px;
  overflow: hidden;
  background: var(--deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-thumbnail img { transform: scale(1.04); }

.post-thumbnail .no-thumb {
  font-size: 3rem;
  opacity: 0.3;
}

.post-body { padding: 24px; }

.post-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.post-cat {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.post-date { font-size: 0.75rem; color: var(--muted); }

.post-body h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.3;
}

.post-body h3 a { color: var(--navy); transition: color var(--transition); }
.post-body h3 a:hover { color: var(--gold); }

.post-excerpt { font-size: 0.83rem; color: var(--muted); line-height: 1.62; margin-bottom: 16px; }

.read-more {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--transition);
}

.post-card:hover .read-more { gap: 10px; }

/* Single post */
.single-post-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 48px 0 96px;
}

.post-header { margin-bottom: 32px; }
.post-header .post-meta { margin-bottom: 16px; }
.post-header h1 { font-size: clamp(2rem,4vw,3rem); color: var(--navy); margin-bottom: 16px; }
.post-featured-image { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; }
.post-featured-image img { width: 100%; }

/* Sidebar */
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid rgba(0,0,0,0.06);
}

.widget-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.sidebar-widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.85rem;
}

.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a { color: var(--navy); transition: color var(--transition); }
.sidebar-widget ul li a:hover { color: var(--gold); }

.covenant-sidebar-widget {
  background: linear-gradient(135deg, #152438, #0d2a1e);
  border-color: rgba(122,158,126,0.2);
}

.covenant-sidebar-widget .widget-title { color: var(--sage); border-color: var(--sage); }
.covenant-sidebar-widget p { color: rgba(255,255,255,0.6); font-size: 0.83rem; line-height: 1.65; margin-bottom: 14px; }
.covenant-sidebar-widget .btn-ghost { background: rgba(122,158,126,0.12); border-color: rgba(122,158,126,0.3); color: var(--sage); }
.covenant-sidebar-widget .btn-ghost:hover { background: var(--sage); color: var(--white); }

/* ============================================================
   PAGE TEMPLATES
   ============================================================ */

/* Full width page */
.page-full-width .site-main { max-width: 100%; padding: 0; }

/* Standard page */
.page-content-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 40px;
}

.page-hero {
  background: var(--navy);
  padding: 120px 40px 80px;
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p  { color: rgba(255,255,255,0.6); font-family: var(--font-accent); font-size: 1.15rem; max-width: 560px; margin: 0 auto; }

/* Category archive header */
.archive-header {
  background: var(--navy);
  padding: 120px 40px 60px;
  position: relative;
  overflow: hidden;
}

.archive-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 80% 50%, rgba(201,168,76,0.07) 0%, transparent 60%);
}

.archive-header .container { position: relative; z-index: 1; }
.archive-header h1 { color: var(--white); margin-bottom: 12px; }
.archive-header p  { color: rgba(255,255,255,0.6); font-family: var(--font-accent); font-size: 1.1rem; }

/* ============================================================
   AFFILIATE DISCLOSURE
   ============================================================ */
.affiliate-disclosure {
  background: var(--cream);
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 36px 0;
  text-align: center;
}

.affiliate-disclosure p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.77rem;
  color: var(--muted);
  line-height: 1.78;
}

.affiliate-disclosure a { color: var(--navy); font-weight: 600; text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
#colophon {
  background: #070f18;
  color: rgba(255,255,255,0.42);
  padding: 56px 0 36px;
}

.footer-widgets {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand-col .footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.footer-brand-col .footer-logo em { color: var(--white); font-style: italic; }

.footer-brand-col .footer-desc {
  font-size: 0.8rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-ministry-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  color: var(--sage);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul li { margin-bottom: 9px; }

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.73rem;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a {
  color: rgba(255,255,255,0.36);
  margin-right: 16px;
  transition: color var(--transition);
}

.footer-bottom a:hover { color: var(--gold); }

.footer-ministry-note { color: var(--sage); }

/* ============================================================
   WOOCOMMERCE / AFFILIATE PRODUCT CUSTOM POST TYPE
   ============================================================ */
.affiliate-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.aff-product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all var(--transition);
}

.aff-product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.aff-product-header {
  padding: 28px 24px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.aff-product-icon { font-size: 2.4rem; flex-shrink: 0; }

.aff-product-cat {
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.aff-product-header h3 { font-size: 1.1rem; color: var(--navy); line-height: 1.2; }

.aff-product-body { padding: 20px 24px; }

.aff-product-body p { font-size: 0.84rem; color: var(--muted); line-height: 1.62; margin-bottom: 16px; }

.aff-product-rating { color: var(--gold); font-size: 0.82rem; margin-bottom: 16px; }

.aff-product-footer {
  padding: 16px 24px 20px;
  display: flex;
  gap: 10px;
  flex-direction: column;
}

/* ============================================================
   UTILITY & HELPERS
   ============================================================ */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link { position: absolute; top: -40px; left: 0; background: var(--gold); color: var(--navy); padding: 8px 16px; z-index: 9999; font-weight: 700; transition: top 0.2s; }
.skip-link:focus { top: 0; }

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-sage { color: var(--sage); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.italic { font-style: italic; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .container { padding: 0 24px; }

  #primary-navigation { display: none; }
  #primary-navigation.is-open {
    display: block;
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    padding: 32px 24px;
    overflow-y: auto;
    z-index: 999;
  }
  #primary-navigation.is-open ul { flex-direction: column; gap: 0; }
  #primary-navigation.is-open ul li a { display: block; padding: 14px 0; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,0.06); }

  .menu-toggle { display: flex; }

  .hero-inner { grid-template-columns: 1fr; padding: 100px 24px 60px; gap: 44px; }
  .hero-stat-grid { grid-template-columns: 1fr 1fr; }

  .covenant-inner { grid-template-columns: 1fr; gap: 32px; }

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

  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }

  .mission-inner { grid-template-columns: 1fr; gap: 36px; }

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

  .single-post-wrapper { grid-template-columns: 1fr; }

  .trust-bar .container { flex-wrap: wrap; gap: 12px; }

  .section-pad { padding: 64px 0; }
}

@media (max-width: 600px) {
  .categories-grid,
  .posts-grid,
  .products-grid,
  .steps-grid,
  .affiliate-products-grid { grid-template-columns: 1fr; }

  .hero-stat-grid { grid-template-columns: 1fr 1fr; }
  .mission-cards { grid-template-columns: 1fr; }

  .footer-widgets { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}
