/*
Theme Name: Kadence Aramaic Child
Theme URI: https://aramaicjesus.org
Description: Custom child theme for Aramaic Jesus — golden weaving thread, sacred geometry, scroll animations, and interfaith design system.
Author: Aramaic Jesus
Author URI: https://aramaicjesus.org
Template: kadence
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kadence-aramaic-child
*/

/* ===== CSS VARIABLES ===== */
:root {
  --aj-white: #FFFFFF;
  --aj-charcoal: #2A2A2A;
  --aj-charcoal-light: #555555;
  --aj-gold: #B89D6A;
  --aj-gold-dark: #9A7F4E;
  --aj-gold-light: #D4BE8A;
  --aj-gold-faint: #EDE6D6;
  --aj-lotus: #9B6FA8;
  --aj-lotus-light: #C49BD0;
  --aj-lotus-dark: #7A4F88;
  --aj-lotus-glow: rgba(155,111,168,0.15);
  --aj-lotus-faint: #F5EEF7;
  --aj-text: #2A2A2A;
  --aj-text-mid: #555555;
  --aj-text-light: #888888;
  --aj-radius: 18px;
  --aj-radius-lg: 28px;
  --aj-font-h: 'Cormorant Garamond', Georgia, serif;
  --aj-font-b: 'Inter', -apple-system, sans-serif;
}

/* ===== GLOBAL TYPOGRAPHY ===== */
body {
  font-family: var(--aj-font-b) !important;
  color: var(--aj-text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title {
  font-family: var(--aj-font-h) !important;
}

a {
  color: var(--aj-lotus);
  text-decoration: none;
  transition: all 0.3s;
}
a:hover {
  color: var(--aj-lotus-dark);
}

/* ===== KADENCE HEADER OVERRIDES ===== */
.site-header {
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--aj-gold-faint) !important;
}

.header-navigation .menu > li > a {
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--aj-charcoal-light) !important;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}
.header-navigation .menu > li > a:hover {
  color: var(--aj-lotus) !important;
}
.header-navigation .menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--aj-lotus);
  transition: width 0.3s;
}
.header-navigation .menu > li > a:hover::after {
  width: 100%;
}

/* Center the navigation */
.site-header .site-header-inner-wrap {
  justify-content: center !important;
}
.site-header .site-header-row {
  justify-content: center !important;
}

/* ===== WEAVE CONNECTOR (Golden Thread) ===== */
.aj-weave-connector {
  display: block;
  width: 100%;
  max-width: 1100px;
  margin: -20px auto;
  position: relative;
  z-index: 5;
  pointer-events: none;
  overflow: visible;
  height: 120px;
  opacity: 0;
  transform: scaleY(0.5);
  transition: opacity 1s ease, transform 1s ease;
  transform-origin: top center;
}
.aj-weave-connector svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.aj-weave-connector.tall {
  height: 160px;
}
.aj-weave-connector.visible {
  opacity: 1;
  transform: scaleY(1);
}

/* ===== HERO SECTION ===== */
.aj-hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 40px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 40% at 30% 0%, rgba(155,111,168,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 80% 35% at 70% 5%, rgba(122,79,136,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 100% 50% at 50% 0%, rgba(196,155,208,0.07) 0%, transparent 50%),
    radial-gradient(ellipse 60% 25% at 15% 8%, rgba(155,111,168,0.06) 0%, transparent 55%),
    linear-gradient(180deg, rgba(155,111,168,0.10) 0%, rgba(196,155,208,0.04) 30%, rgba(255,255,255,0) 60%);
}

.aj-hero-sacred-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  pointer-events: none;
  z-index: 0;
}
.aj-hero-sacred-bg svg {
  width: 100%;
  height: 100%;
}

.aj-hero-lotus-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 500px;
  height: 500px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.aj-hero-logo {
  width: 224px;
  height: 224px;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.08));
  animation: aj-float 6s ease-in-out infinite;
}
@keyframes aj-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.aj-hero h1 {
  font-family: var(--aj-font-h) !important;
  font-size: 72px;
  font-weight: 300;
  color: var(--aj-charcoal);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}
.aj-hero h1 span {
  display: block;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--aj-gold);
  margin-bottom: 8px;
}

.aj-hero .aj-tagline {
  font-family: var(--aj-font-h);
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: var(--aj-text-mid);
  max-width: 520px;
  margin: 16px auto 40px;
  position: relative;
  z-index: 2;
}

.aj-scroll-hint {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  opacity: 0.4;
  animation: aj-pulse 2s ease-in-out infinite;
}
.aj-scroll-hint span {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--aj-gold);
}
.aj-scroll-hint .aj-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--aj-gold);
  border-bottom: 2px solid var(--aj-gold);
  transform: rotate(45deg);
}
@keyframes aj-pulse {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 0.7; transform: translateY(6px); }
}

/* ===== ARAMAIC DECORATIVE BAND ===== */
.aj-aramaic-deco {
  font-family: var(--aj-font-h);
  font-size: 48px;
  font-weight: 300;
  color: var(--aj-gold-faint);
  text-align: center;
  letter-spacing: 0.2em;
  user-select: none;
  pointer-events: none;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0; /* tightened: was 20px */
}

/* ===== SECTION STYLES ===== */
.aj-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
  position: relative;
}
.aj-section-wide {
  max-width: 1300px;
}

.aj-section-header {
  text-align: center;
  margin-bottom: 56px;
}
.aj-section-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
}
.aj-section-title {
  font-family: var(--aj-font-h) !important;
  font-size: 44px;
  font-weight: 400;
  color: var(--aj-charcoal);
  margin-bottom: 12px;
}
.aj-section-sub {
  font-size: 16px;
  color: var(--aj-text-mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== TAN PARCHMENT TREATMENT ===== */
.aj-parchment {
  max-width: 100%;
  padding: 100px 40px;
  background: linear-gradient(135deg, #FDFBF7 0%, #F8F4ED 50%, #FAF6F0 100%);
  position: relative;
  overflow: hidden;
}

/* ===== INTRO SECTION ===== */
.aj-intro-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}
.aj-intro-text {
  font-size: 17px;
  line-height: 1.9;
  color: var(--aj-text-mid);
}
.aj-intro-text p {
  margin-bottom: 24px;
}
.aj-intro-text a {
  font-weight: 500;
  border-bottom: 1px solid var(--aj-lotus-light);
}
.aj-intro-text a:hover {
  border-color: var(--aj-lotus);
}

.aj-intro-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aj-intro-lotus {
  width: 360px;
  height: 360px;
  opacity: 0.15;
  animation: aj-spin-slow 60s linear infinite;
}
@keyframes aj-spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.aj-intro-aramaic {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--aj-font-h);
  font-size: 80px;
  font-weight: 300;
  color: var(--aj-gold);
  opacity: 0.25;
}

/* ===== EXPLORE CARDS ===== */
.aj-explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.aj-explore-card {
  background: var(--aj-white);
  border: 2px solid var(--aj-gold-faint);
  border-radius: var(--aj-radius-lg);
  padding: 44px 32px 36px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}
.aj-explore-card:nth-child(2) {
  transform: translateY(-20px);
}
.aj-explore-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--aj-gold-light), var(--aj-gold), var(--aj-gold-light));
  opacity: 0;
  transition: opacity 0.3s;
}
.aj-explore-card:hover {
  border-color: var(--aj-gold-light);
  box-shadow: 0 12px 40px rgba(184,157,106,0.12);
  transform: translateY(-8px);
}
.aj-explore-card:nth-child(2):hover {
  transform: translateY(-28px);
}
.aj-explore-card:hover::before {
  opacity: 1;
}
.aj-explore-card .aj-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
}
.aj-explore-card h3 {
  font-family: var(--aj-font-h) !important;
  font-size: 24px;
  font-weight: 600;
  color: var(--aj-charcoal);
  margin-bottom: 12px;
}
.aj-explore-card p {
  font-size: 14px;
  color: var(--aj-text-mid);
  line-height: 1.7;
  margin-bottom: 24px;
}

.aj-card-cta {
  display: inline-block;
  padding: 10px 28px;
  border: 2px solid var(--aj-lotus);
  color: var(--aj-lotus);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.3s;
}
.aj-card-cta:hover {
  background: var(--aj-lotus);
  color: white !important;
  box-shadow: 0 4px 16px var(--aj-lotus-glow);
}

/* ===== PULL QUOTE ===== */
.aj-quote-section {
  background: linear-gradient(135deg, #FDFBF7 0%, #F8F4ED 50%, #FAF6F0 100%);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}
.aj-quote-section .aj-deco-left,
.aj-quote-section .aj-deco-right {
  position: absolute;
  top: 50%;
  width: 200px;
  height: 200px;
  opacity: 0.06;
  transform: translateY(-50%);
}
.aj-quote-section .aj-deco-left { left: 5%; }
.aj-quote-section .aj-deco-right { right: 5%; transform: translateY(-50%) scaleX(-1); }

.aj-quote-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.aj-quote-mark {
  font-family: var(--aj-font-h);
  font-size: 160px;
  line-height: 0.6;
  color: var(--aj-gold);
  opacity: 0.3;
  display: block;
  margin-bottom: -20px;
}
.aj-quote-inner blockquote {
  font-family: var(--aj-font-h) !important;
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
  color: var(--aj-charcoal);
  line-height: 1.65;
  margin-bottom: 24px;
  border: none !important;
  padding: 0 !important;
}
.aj-quote-inner cite {
  font-family: var(--aj-font-b);
  font-size: 14px;
  font-style: normal;
  color: var(--aj-text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== WHAT YOU'LL FIND ===== */
.aj-find-list {
  max-width: 760px;
  margin: 0 auto;
}
.aj-find-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--aj-gold-faint);
  transition: all 0.3s;
}
.aj-find-item:hover {
  padding-left: 8px;
}
.aj-find-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aj-gold-light), var(--aj-gold));
  flex-shrink: 0;
  margin-top: 8px;
  box-shadow: 0 0 8px rgba(184,157,106,0.3);
}
.aj-find-item:nth-child(even) .aj-find-dot {
  background: linear-gradient(135deg, var(--aj-lotus-light), var(--aj-lotus));
  box-shadow: 0 0 8px var(--aj-lotus-glow);
}
.aj-find-text {
  font-size: 16px;
  color: var(--aj-text-mid);
  line-height: 1.7;
}

/* ===== INTERPRETERS ===== */
.aj-interp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  max-width: 900px;
  margin: 0 auto;
}
.aj-interp-card {
  background: var(--aj-white);
  border: 2px solid var(--aj-gold-faint);
  border-radius: var(--aj-radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
}
.aj-interp-card:nth-child(2) { transform: translateY(30px); }
.aj-interp-card:nth-child(3) { transform: translateY(-15px); }
.aj-interp-card:hover {
  border-color: var(--aj-lotus-light);
  box-shadow: 0 12px 40px var(--aj-lotus-glow);
}
.aj-interp-photo-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  border: 3px solid var(--aj-gold-light);
  box-shadow: 0 4px 16px rgba(184,157,106,0.15);
  transition: all 0.4s;
}
.aj-interp-card:hover .aj-interp-photo-wrap {
  border-color: var(--aj-lotus-light);
  box-shadow: 0 4px 24px var(--aj-lotus-glow);
}
.aj-interp-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aj-interp-card h3 {
  font-family: var(--aj-font-h) !important;
  font-size: 24px;
  font-weight: 600;
  color: var(--aj-charcoal);
  margin-bottom: 8px;
}
.aj-interp-role {
  font-size: 12px;
  color: var(--aj-lotus);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.aj-interp-card p {
  font-size: 14px;
  color: var(--aj-text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ===== GALLERY CARDS ===== */
.aj-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.aj-gallery-card {
  background: var(--aj-white);
  border: 2px solid var(--aj-gold-faint);
  border-radius: var(--aj-radius-lg);
  padding: 48px 28px 36px;
  text-align: center;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.aj-gallery-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--aj-lotus-light), var(--aj-lotus), var(--aj-lotus-light));
  opacity: 0;
  transition: opacity 0.3s;
}
.aj-gallery-card:hover {
  border-color: var(--aj-lotus-light);
  box-shadow: 0 12px 40px var(--aj-lotus-glow);
  transform: translateY(-6px);
}
.aj-gallery-card:hover::after { opacity: 1; }
.aj-gallery-card .aj-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}
.aj-gallery-card h3 {
  font-family: var(--aj-font-h) !important;
  font-size: 22px;
  font-weight: 600;
  color: var(--aj-charcoal);
  margin-bottom: 10px;
}
.aj-gallery-card p {
  font-size: 14px;
  color: var(--aj-text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ===== FAQ ===== */
.aj-faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.aj-faq-item {
  border: 2px solid var(--aj-gold-faint);
  border-radius: var(--aj-radius);
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--aj-white);
  transition: all 0.3s;
}
.aj-faq-item:hover {
  border-color: var(--aj-gold-light);
}
.aj-faq-q {
  padding: 22px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.aj-faq-q:hover {
  background: var(--aj-lotus-faint);
}
.aj-faq-q-text {
  font-family: var(--aj-font-h) !important;
  font-size: 20px;
  font-weight: 500;
  color: var(--aj-charcoal);
}
.aj-faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--aj-lotus-faint);
  color: var(--aj-lotus);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  flex-shrink: 0;
  transition: all 0.3s;
}
.aj-faq-item.open .aj-faq-toggle {
  background: var(--aj-lotus);
  color: white;
  transform: rotate(45deg);
}
.aj-faq-a {
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--aj-text-mid);
  line-height: 1.8;
  display: none;
}
.aj-faq-item.open .aj-faq-a {
  display: block;
}

/* ===== SIGN-OFF ===== */
.aj-signoff {
  text-align: center;
  padding: 80px 40px 60px;
  max-width: 700px;
  margin: 0 auto;
}
.aj-signoff-text {
  font-family: var(--aj-font-h);
  font-size: 22px;
  font-style: italic;
  color: var(--aj-charcoal-light);
  line-height: 1.75;
  margin-bottom: 40px;
}
.aj-signoff-peace {
  font-family: var(--aj-font-h);
  font-size: 28px;
  font-weight: 400;
  color: var(--aj-gold-dark);
  margin-bottom: 6px;
}
.aj-signoff-peace-meaning {
  font-size: 14px;
  color: var(--aj-text-light);
  font-style: italic;
  margin-bottom: 24px;
}
.aj-signoff-author {
  font-size: 14px;
  color: var(--aj-text-light);
  letter-spacing: 0.05em;
}

/* ===== DECORATIVE ELEMENTS ===== */
.aj-deco-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 0;
  max-width: 600px;
  margin: 0 auto;
}
.aj-deco-line .aj-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--aj-gold-light), transparent);
}
.aj-deco-line .aj-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aj-gold);
}

/* ===== FOOTER OVERRIDES ===== */
.site-footer {
  text-align: center;
  border-top: 2px solid var(--aj-gold-faint) !important;
}

/* ===== SCROLL ANIMATIONS ===== */
.aj-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.aj-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.aj-reveal-delay-1 { transition-delay: 0.1s; }
.aj-reveal-delay-2 { transition-delay: 0.2s; }
.aj-reveal-delay-3 { transition-delay: 0.3s; }
.aj-reveal-delay-4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .aj-explore-grid,
  .aj-gallery-grid {
    grid-template-columns: 1fr;
  }
  .aj-explore-card:nth-child(2) { transform: none; }
  .aj-interp-grid { grid-template-columns: 1fr; }
  .aj-interp-card:nth-child(2),
  .aj-interp-card:nth-child(3) { transform: none; }
  .aj-intro-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .aj-intro-visual { display: none; }
  .aj-hero h1 { font-size: 48px; }
  .aj-quote-section .aj-deco-left,
  .aj-quote-section .aj-deco-right { display: none; }
  .aj-weave-connector { height: 80px; max-width: 100%; }
  .aj-weave-connector.tall { height: 100px; }
}

@media (max-width: 600px) {
  /* === HERO MOBILE FIXES === */
  /* Fix 1: Lotus watermark aspect ratio — remove fixed dimensions, let it scale naturally */
  .aj-hero-lotus-watermark {
    width: 110vw !important;
    height: auto !important;
    max-width: none !important;
    aspect-ratio: 1 / 1;
  }

  /* Fix 2: Purple gradient edge-to-edge — remove side padding and overflow constraints */
  .aj-hero {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Fix 3: Scale up hero content ~20% for mobile */
  .aj-hero-logo { width: 200px !important; height: 200px !important; }
  .aj-hero h1 { font-size: 44px !important; }
  .aj-hero h1 span { font-size: 17px !important; }
  .aj-hero .aj-hero-subtitle {
    font-size: 1rem !important;
    padding: 0 24px;
  }
  .aj-hero .aj-tagline {
    font-size: 24px !important;
    padding: 0 24px;
  }

  /* Sacred geometry background — scale up to match */
  .aj-hero-sacred-bg {
    width: 110vw !important;
    height: 110vw !important;
  }

  /* Reduce top padding on mobile since screen is smaller */
  section.aj-hero,
  .aj-hero {
    padding-top: 140px !important;
    padding-bottom: 24px !important;
  }

  /* === FIX: List items layout on mobile === */
  /* Switch from flex to block+padding so inline links don't become squeezed flex children */
  .aj-page-content ul li {
    display: block !important;
    padding-left: 28px !important;
    position: relative;
  }
  .aj-page-content ul li::before {
    position: absolute !important;
    left: 0 !important;
    top: 22px !important;
    margin-top: 0 !important;
  }

  /* Also fix the homepage find-items which use the same flex pattern */
  .aj-find-item {
    display: block !important;
    padding-left: 28px !important;
    position: relative;
  }
  .aj-find-item .aj-find-dot {
    position: absolute !important;
    left: 0 !important;
    top: 30px !important;
  }

  /* === FONT SIZE INCREASE ~20% for older audience === */
  /* Body text: 17px -> 20px */
  body {
    font-size: 20px !important;
    line-height: 1.8 !important;
  }
  /* Page content paragraphs: 17px -> 20px */
  .aj-page-content p {
    font-size: 20px !important;
    line-height: 1.9 !important;
  }
  /* List items: 16px -> 19px */
  .aj-page-content ul li {
    font-size: 19px !important;
    line-height: 1.8 !important;
  }
  /* Section descriptions: 16px -> 19px */
  .aj-section-sub {
    font-size: 19px !important;
  }
  /* Intro text: 17px -> 20px */
  .aj-intro-text {
    font-size: 20px !important;
  }
  /* Find items text: 16px -> 19px */
  .aj-find-text {
    font-size: 19px !important;
  }
  /* Card text: 14px -> 17px */
  .aj-explore-card p,
  .aj-interp-card p,
  .aj-gallery-card p {
    font-size: 17px !important;
  }
  /* FAQ question text: 20px -> 22px */
  .aj-faq-q-text {
    font-size: 22px !important;
  }
  /* FAQ answer text: 15px -> 18px */
  .aj-faq-a {
    font-size: 18px !important;
  }
  /* Quote text: 26px -> 28px */
  .aj-quote-inner blockquote {
    font-size: 24px !important;
  }
  /* Signoff text */
  .aj-signoff-text {
    font-size: 24px !important;
  }
  /* Contact section */
  .aj-contact-section p {
    font-size: 20px !important;
  }
  /* Bio intro */
  .aj-bio-intro {
    font-size: 22px !important;
  }
  /* Works list items */
  .aj-works-list li {
    font-size: 19px !important;
  }

  /* === OTHER MOBILE ADJUSTMENTS === */
  .aj-section { padding: 60px 24px; }
  .aj-section-title { font-size: 32px; }
  .aj-weave-connector { height: 60px; }
  .aj-weave-connector.tall { height: 80px; }
}

/* ===== KADENCE BLOCK EDITOR OVERRIDES ===== */
/* Remove default Kadence spacing that conflicts with our design */
.entry-content-wrap {
  padding: 0 !important;
  max-width: 100% !important;
}
.content-wrap {
  padding: 0 !important;
}
.site-container .site-inner-wrap {
  max-width: 100% !important;
}

/* Make sure the homepage has no default Kadence padding */
.home .entry-content-wrap,
.page-template-default .entry-content-wrap {
  padding: 0 !important;
}
.home .content-wrap,
.page-template-default .content-wrap {
  max-width: 100% !important;
  padding: 0 !important;
}

/* ===== HIDE KADENCE DEFAULT TITLE ON INTERIOR PAGES ===== */
body:not(.home) .entry-header {
  display: none !important;
}
/* Hide the entire Kadence entry-hero section (causes white band above mini-hero) */
body:not(.home) .entry-hero {
  display: none !important;
}
/* Hide the stray P tag WordPress creates from SVG gradient defs at top of entry-content */
body:not(.home) .entry-content > p:first-child {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
}
/* White background on interior pages (body default is tan/parchment) */
body:not(.home) {
  background-color: #ffffff !important;
}

/* ===== INTERIOR PAGE MINI HERO ===== */
.aj-mini-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 40px 20px; /* tightened: was 80/40/60 */
  position: relative;
  overflow: visible; /* let lotus flow below into deco band area */
  background:
    radial-gradient(ellipse 120% 40% at 30% 0%, rgba(155,111,168,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 80% 35% at 70% 5%, rgba(122,79,136,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 100% 50% at 50% 0%, rgba(196,155,208,0.05) 0%, transparent 50%),
    linear-gradient(180deg, rgba(155,111,168,0.08) 0%, rgba(196,155,208,0.03) 30%, rgba(255,255,255,0) 60%);
}

/* Lotus watermark behind logo on interior mini-heroes */
/* Positioned so logo sits at center of lotus; top clips against hero edge, bottom flows free */
.aj-mini-hero::before {
  content: '';
  position: absolute;
  /* Center on the logo: logo top-padding is 50px, logo is 100px tall, so logo center is at ~100px */
  top: 100px;
  left: 50%;
  transform: translate(-50%, -50%); /* center the 300px lotus on that point */
  width: 300px;
  height: 300px;
  background: url('https://aramaicjesus.org/wp-content/uploads/2026/03/icon_lotus_bold.png') center center / contain no-repeat;
  opacity: 0.07;
  z-index: 0;
  pointer-events: none;
}

.aj-mini-hero .aj-mini-logo {
  width: 100px !important;
  height: 100px !important;
  max-width: 100px !important;
  max-height: 100px !important;
  margin-bottom: 10px; /* tightened: was 24px */
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.08));
  animation: aj-float 6s ease-in-out infinite;
}

.aj-mini-hero .aj-page-title {
  font-family: var(--aj-font-h) !important;
  font-size: 48px;
  font-weight: 400;
  color: var(--aj-charcoal);
  line-height: 1.2;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

/* ===== INTERIOR PAGE CONTENT SECTIONS ===== */
.aj-page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px;
}

.aj-page-content h2 {
  font-family: var(--aj-font-h) !important;
  font-size: 36px;
  font-weight: 400;
  color: var(--aj-charcoal);
  margin-bottom: 24px;
  text-align: center;
}

.aj-page-content h3 {
  font-family: var(--aj-font-h) !important;
  font-size: 28px;
  font-weight: 500;
  color: var(--aj-charcoal);
  margin-top: 48px;
  margin-bottom: 16px;
}

.aj-page-content p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--aj-text-mid);
  margin-bottom: 24px;
}

.aj-page-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.aj-page-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--aj-gold-faint);
  font-size: 16px;
  line-height: 1.7;
  color: var(--aj-text-mid);
}

.aj-page-content ul li::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aj-gold-light), var(--aj-gold));
  flex-shrink: 0;
  margin-top: 8px;
  box-shadow: 0 0 8px rgba(184,157,106,0.3);
}

.aj-page-content ul li:nth-child(even)::before {
  background: linear-gradient(135deg, var(--aj-lotus-light), var(--aj-lotus));
  box-shadow: 0 0 8px var(--aj-lotus-glow);
}

.aj-page-content a {
  color: var(--aj-lotus);
  font-weight: 500;
  border-bottom: 1px solid var(--aj-lotus-light);
}
.aj-page-content a:hover {
  color: var(--aj-lotus-dark);
  border-color: var(--aj-lotus);
}

/* ===== INTERPRETER BIO PAGE ===== */
.aj-bio-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 40px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.aj-bio-photo-wrap {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 24px;
  border: 4px solid var(--aj-gold-light);
  box-shadow: 0 8px 32px rgba(184,157,106,0.2);
}

.aj-bio-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aj-bio-role {
  font-size: 14px;
  color: var(--aj-lotus);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.aj-bio-intro {
  font-family: var(--aj-font-h);
  font-size: 20px;
  font-style: italic;
  color: var(--aj-text-mid);
  line-height: 1.7;
  max-width: 600px;
}

/* ===== WORKS LIST ===== */
.aj-works-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 40px 60px;
}

.aj-works-category {
  margin-bottom: 40px;
}

.aj-works-category h4 {
  font-family: var(--aj-font-h) !important;
  font-size: 22px;
  font-weight: 500;
  color: var(--aj-gold-dark);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--aj-gold-faint);
}

.aj-works-list {
  list-style: none;
  padding: 0;
}

.aj-works-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(237,230,214,0.5);
  font-size: 16px;
  color: var(--aj-text-mid);
  line-height: 1.7;
}

.aj-works-list li strong {
  color: var(--aj-charcoal);
}

/* ===== CONTACT PAGE ===== */
.aj-contact-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 40px;
  text-align: center;
}

.aj-contact-section p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--aj-text-mid);
  margin-bottom: 32px;
}

.aj-contact-section .wpforms-container {
  text-align: left;
}

.aj-contact-section .wpforms-field input,
.aj-contact-section .wpforms-field textarea {
  border: 2px solid var(--aj-gold-faint) !important;
  border-radius: var(--aj-radius) !important;
  padding: 14px 20px !important;
  font-family: var(--aj-font-b) !important;
  font-size: 15px !important;
  transition: border-color 0.3s !important;
}

.aj-contact-section .wpforms-field input:focus,
.aj-contact-section .wpforms-field textarea:focus {
  border-color: var(--aj-lotus-light) !important;
  outline: none !important;
  box-shadow: 0 0 12px var(--aj-lotus-glow) !important;
}

.aj-contact-section .wpforms-submit {
  background: linear-gradient(135deg, var(--aj-lotus), var(--aj-lotus-dark)) !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 14px 40px !important;
  font-family: var(--aj-font-b) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: white !important;
  cursor: pointer !important;
  transition: all 0.3s !important;
  box-shadow: 0 4px 16px var(--aj-lotus-glow) !important;
}

.aj-contact-section .wpforms-submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px var(--aj-lotus-glow) !important;
}

/* ===== RESPONSIVE INTERIOR ===== */
@media (max-width: 900px) {
  .aj-mini-hero .aj-page-title { font-size: 36px; }
  .aj-page-content { padding: 40px 24px; }
  .aj-bio-header { padding: 0 24px 32px; }
  .aj-works-section { padding: 32px 24px 48px; }
}

@media (max-width: 600px) {
  /* Compact mini-hero on mobile: keep logo position, tighten everything below it */
  .aj-mini-hero {
    padding: 40px 24px 6px !important; /* tight: 40px top, 6px bottom */
  }
  .aj-mini-hero .aj-mini-logo {
    width: 72px !important;
    height: 72px !important;
    margin-bottom: 4px !important; /* 40% closer: was 8px, now 4px */
  }
  .aj-mini-hero .aj-page-title {
    font-size: 34px !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }
  /* Lotus watermark scaled for mobile mini-hero */
  .aj-mini-hero::before {
    top: 76px !important; /* center on mobile logo: 40px padding + 36px half of 72px logo */
    width: 200px !important;
    height: 200px !important;
    transform: translate(-50%, -50%) !important; /* center on logo */
  }
  /* Compact the deco band after mini-hero */
  .aj-mini-hero + .aj-aramaic-deco,
  .aj-aramaic-deco {
    padding: 4px 0 !important; /* 20% tighter: was 8px, now 4px */
    font-size: 32px !important;
  }
  /* Compact the first weave connector after mini-hero */
  .aj-aramaic-deco + .aj-weave-connector {
    height: 30px !important; /* 20% tighter: was 40px, now 30px */
    margin: -8px auto !important;
  }
  .aj-bio-photo-wrap { width: 140px; height: 140px; }
}
