/*
Theme Name: Isreal Secret Oil
Theme URI: https://isrealsecretoils.com/
Author: Isreal Secret Oils
Author URI: https://isrealsecretoils.com/
Description: A sacred, luxury dark-gold WordPress theme for Isreal Secret Oils — spiritual candles, incense & anointing oils. Inspired by Ecclesiastes 9:8B.
Version: 2.0.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: isreal-secret-oil
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, dark, e-commerce, spiritual
*/

/* ================================================================
   DESIGN TOKENS
   ================================================================ */
:root {
  --gold:      #C8A84B;
  --gold-l:    #E8C96A;
  --gold-d:    #8B6914;
  --dark:      #0a0608;
  --dark-bg:   #0f0a10;
  --dark-mid:  #1a1020;
  --dark-surf: #1d1225;
  --dark-card: #241530;
  --txt:       #f5f0e8;
  --muted:     #c4b08a;
  --border:    rgba(200,168,75,0.28);
}

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

html {
  scroll-behavior: smooth;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* ================================================================
   BASE TYPOGRAPHY & BODY
   ================================================================ */
body {
  font-family: 'EB Garamond', Georgia, serif;
  background: var(--dark-bg);
  color: var(--txt);
  overflow-x: hidden;
  font-size: 18px;
  line-height: 1.7;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%,  rgba(107,33,168,.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(139,26,26,.15)  0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

img {
  border-style: none;
  height: auto;
  max-width: 100%;
}

a {
  background-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
  clear: both;
}

p {
  margin-bottom: 1.5em;
}

ul, ol {
  list-style: none;
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
}

button, input { overflow: visible; }
button, select { text-transform: none; }

textarea { overflow: auto; width: 100%; }

/* ================================================================
   SITE LAYOUT WRAPPER
   ================================================================ */
#page.site {
  position: relative;
  z-index: 1;
}

/* Skip link */
.skip-link.screen-reader-text {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link.screen-reader-text:focus {
  left: 6px;
  top: 7px;
  width: auto;
  height: auto;
  overflow: visible;
  background: var(--gold);
  color: var(--dark);
  padding: 8px 16px;
  z-index: 9999;
}

/* ================================================================
   NAVIGATION
   ================================================================ */
#masthead.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10,6,8,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* WP Admin Bar overrides */
.admin-bar #masthead.site-header {
  top: 32px;
}
.admin-bar .main-navigation.toggled ul {
  top: calc(76px + 32px);
}

@media screen and (max-width: 782px) {
  .admin-bar #masthead.site-header {
    top: 46px;
  }
  .admin-bar .main-navigation.toggled ul {
    top: calc(76px + 46px);
  }
}

@media screen and (max-width: 600px) {
  #wpadminbar {
    position: fixed !important;
  }
  html:root {
    margin-top: 46px !important;
  }
}


/* Logo / branding */
.site-branding {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-branding a {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.custom-logo-link img.custom-logo,
.site-branding .custom-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  object-fit: cover;
}

.site-title {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.3;
  margin: 0;
}

.site-title a {
  color: var(--gold);
  text-decoration: none;
}

.site-description {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  font-family: 'EB Garamond', serif;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
}

/* Primary navigation */
#site-navigation.main-navigation {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (min-width: 901px) {
  #site-navigation.main-navigation {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

.main-navigation ul {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul ul {
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
  background: rgba(10,6,8,.98);
  border: 1px solid var(--border);
  min-width: 200px;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}

.main-navigation ul ul a {
  width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all .3s;
  display: block;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation .current_page_item > a,
.main-navigation .current_page_ancestor > a {
  color: var(--gold);
  border-color: var(--border);
}

/* CTA Button in nav */
.nav-cta {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--gold);
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 2px;
  font-weight: 700;
  transition: all .3s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--gold-l);
  color: var(--dark);
}

/* Hamburger / mobile toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  font-size: 0;
  line-height: 0;
}

.menu-toggle::before,
.menu-toggle::after,
.menu-toggle-bar {
  content: '';
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--gold);
  transition: all .3s;
}

/* Toggled state */
.main-navigation.toggled ul {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: rgba(10,6,8,.98);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  gap: 6px;
  z-index: 999;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn-primary {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--dark);
  border: none;
  padding: 15px 34px;
  cursor: pointer;
  font-weight: 700;
  transition: all .3s;
  border-radius: 2px;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--gold-l);
  transform: translateY(-2px);
  color: var(--dark);
}

.btn-outline {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 15px 34px;
  cursor: pointer;
  font-weight: 600;
  transition: all .3s;
  border-radius: 2px;
  display: inline-block;
  text-decoration: none;
}

.btn-outline:hover {
  background: rgba(200,168,75,.1);
  color: var(--gold);
}

.btn-sm {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 9px 18px;
  cursor: pointer;
  font-weight: 600;
  transition: all .3s;
  border-radius: 2px;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}

.btn-sm:hover {
  border-color: var(--gold);
  background: rgba(200,168,75,.08);
  color: var(--gold);
}

/* ================================================================
   SECTION HELPERS
   ================================================================ */
section {
  padding: 80px 2rem;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
}

.sec-hdr {
  text-align: center;
  margin-bottom: 56px;
}

.sec-tag {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 12px;
}

.sec-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 16px;
  line-height: 1.3;
}

.sec-sub {
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem;
  color: var(--muted);
  font-style: italic;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}

.gold-rule {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 18px auto;
}

/* ================================================================
   HERO (Front Page)
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 2rem 80px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 40%, rgba(200,168,75,.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-logo-wrap {
  margin: 0 auto 32px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--gold), var(--gold-d), var(--gold));
  box-shadow: 0 0 60px rgba(200,168,75,.25), 0 0 120px rgba(200,168,75,.1);
  animation: iso-glow 4s ease-in-out infinite;
}

@keyframes iso-glow {
  0%,100% { box-shadow: 0 0 60px rgba(200,168,75,.25), 0 0 120px rgba(200,168,75,.1); }
  50%      { box-shadow: 0 0 90px rgba(200,168,75,.45), 0 0 180px rgba(200,168,75,.2); }
}

.hero-logo-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--gold-l);
  line-height: 1.15;
  letter-spacing: .04em;
  margin-bottom: 14px;
  text-shadow: 0 0 40px rgba(200,168,75,.3);
}

.hero h1 span {
  display: block;
  font-size: clamp(1.1rem, 2.5vw, 1.7rem);
  color: var(--txt);
  font-weight: 400;
  margin-top: 8px;
}

.hero-verse {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--muted);
  margin: 22px auto 38px;
  max-width: 500px;
  line-height: 1.75;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================================================
   CATEGORY STRIP
   ================================================================ */
.cat-strip {
  background: var(--dark-surf);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 2rem;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1060px;
  margin: 0 auto;
}

.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: all .4s;
  text-align: center;
  background: var(--dark-card);
  text-decoration: none;
}

.cat-item:hover {
  border-color: var(--gold);
  box-shadow: 0 14px 48px rgba(200,168,75,.15);
  transform: translateY(-4px);
}

.cat-img-wrap {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
}

.cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.cat-item:hover .cat-img-wrap img {
  transform: scale(1.06);
}

.cat-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,6,8,.1) 0%, rgba(10,6,8,.5) 100%);
}

.cat-name {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  padding: 22px 20px 10px;
}

.cat-desc {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.65;
  padding: 0 22px 16px;
}

.cat-arrow {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-d);
  padding: 12px 20px 22px;
  transition: color .3s;
}

.cat-item:hover .cat-arrow {
  color: var(--gold);
}

/* ================================================================
   FEATURED CARDS (Home)
   ================================================================ */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feat-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: all .4s;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.feat-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 18px 50px rgba(200,168,75,.14);
}

.feat-card > img,
.feat-card .feat-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.feat-body {
  padding: 22px;
}

.feat-cat {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.feat-title {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 10px;
  line-height: 1.4;
}

.feat-desc {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.feat-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.feat-price {
  font-family: 'Cinzel', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--gold);
}

.feat-badge {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-d);
  background: rgba(200,168,75,.14);
  border: 1px solid rgba(200,168,75,.28);
  padding: 5px 12px;
  border-radius: 2px;
}

/* ================================================================
   VERSE BANNER
   ================================================================ */
.verse-banner {
  background: linear-gradient(135deg, var(--dark-surf), var(--dark-card));
  border: 1px solid var(--border);
  text-align: center;
  padding: 64px 2rem;
  position: relative;
  overflow: hidden;
}

.verse-banner::before {
  content: '"';
  position: absolute;
  top: -30px;
  left: 24px;
  font-family: 'Cinzel Decorative', serif;
  font-size: 220px;
  color: rgba(200,168,75,.04);
  line-height: 1;
  pointer-events: none;
}

.verse-text {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.7rem);
  color: var(--gold-l);
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto 14px;
  position: relative;
}

.verse-ref {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ================================================================
   PAGE HERO (inner pages)
   ================================================================ */
.page-hero {
  padding: 130px 2rem 64px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--dark-surf);
}

.page-hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  color: var(--gold-l);
  margin-bottom: 14px;
  font-weight: 700;
}

.page-hero-sub {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  color: var(--muted);
  font-size: 1.2rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ================================================================
   PRODUCT CARDS (product pages)
   ================================================================ */
.products-section {
  padding: 56px 2rem 80px;
}

.pcard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.pcard {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: all .35s;
  display: flex;
  flex-direction: column;
}

.pcard:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 48px rgba(200,168,75,.13);
  transform: translateY(-3px);
}

.pcard-img {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: var(--dark-surf);
}

.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}

.pcard:hover .pcard-img img {
  transform: scale(1.04);
}

.pcard-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pcard-cat {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--border);
  background: rgba(200,168,75,.07);
}

.pcard-title {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 12px;
  line-height: 1.45;
}

.pcard-desc {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.pcard-details {
  list-style: none;
  margin-bottom: 20px;
}

.pcard-details li {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  color: var(--muted);
  padding: 5px 0;
  border-bottom: 1px solid rgba(200,168,75,.1);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.pcard-details li::before {
  content: "✦";
  color: var(--gold);
  font-size: .75rem;
  margin-top: 5px;
  flex-shrink: 0;
}

.pcard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.pcard-price {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-wrap {
  padding: 130px 2rem 80px;
  max-width: 860px;
  margin: 0 auto;
}

.contact-hdr {
  text-align: center;
  margin-bottom: 56px;
}

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

.contact-info-title {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.contact-info p {
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

.contact-info em {
  color: var(--gold-l);
}

.form-label {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 7px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--dark-card);
  border: 1px solid var(--border);
  color: var(--txt);
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  padding: 13px 15px;
  border-radius: 2px;
  outline: none;
  transition: border-color .3s;
}

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

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.form-group {
  margin-bottom: 18px;
}

.form-submit {
  width: 100%;
  padding: 17px;
  font-size: 14px;
}

/* Contact form success */
.form-success-msg {
  display: none;
  text-align: center;
  padding: 48px 20px;
}

.form-success-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
  color: var(--gold);
}

.form-success-title {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 16px;
  letter-spacing: .1em;
  margin-bottom: 10px;
}

.form-success-sub {
  font-family: 'EB Garamond', serif;
  color: var(--muted);
  font-style: italic;
  font-size: 1.1rem;
}

/* ================================================================
   DEFAULT PAGE / BLOG CONTENT
   ================================================================ */
.site-main {
  position: relative;
  z-index: 1;
  padding-top: 76px; /* offset fixed nav */
}

.entry-header {
  padding: 130px 2rem 64px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--dark-surf);
}

.entry-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  color: var(--gold-l);
  margin-bottom: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.entry-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 2rem;
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  margin-bottom: 16px;
  margin-top: 32px;
  letter-spacing: .05em;
}

.entry-content p {
  margin-bottom: 1.5em;
}

.entry-content a {
  color: var(--gold);
  transition: color .3s;
}

.entry-content a:hover {
  color: var(--gold-l);
}

.entry-content ul,
.entry-content ol {
  margin-left: 1.5em;
  margin-bottom: 1.5em;
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

/* 404 */
.error-404 .page-header {
  padding: 130px 2rem 64px;
  text-align: center;
  background: var(--dark-surf);
  border-bottom: 1px solid var(--border);
}

.error-404 .page-content {
  max-width: 640px;
  margin: 0 auto;
  padding: 60px 2rem;
  text-align: center;
}

.error-404 .page-content p {
  font-family: 'EB Garamond', serif;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Archives */
.archive-header {
  padding: 130px 2rem 64px;
  text-align: center;
  background: var(--dark-surf);
  border-bottom: 1px solid var(--border);
}

.archive-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  color: var(--gold-l);
  font-weight: 700;
}

/* Posts loop */
.posts-loop {
  max-width: 1120px;
  margin: 0 auto;
  padding: 60px 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.post-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: all .35s;
}

.post-card:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 48px rgba(200,168,75,.13);
  transform: translateY(-3px);
}

.post-card .post-thumbnail img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.post-card-body {
  padding: 24px;
}

.post-card-title {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 10px;
  line-height: 1.45;
}

.post-card-title a {
  color: var(--txt);
  text-decoration: none;
  transition: color .3s;
}

.post-card-title a:hover {
  color: var(--gold);
}

.post-card-excerpt {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.post-card-meta {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-d);
}

/* Navigation */
.posts-navigation,
.post-navigation {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem 60px;
}

.nav-links {
  display: flex;
  justify-content: space-between;
}

.nav-previous a,
.nav-next a {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 2px;
  transition: all .3s;
  display: inline-block;
}

.nav-previous a:hover,
.nav-next a:hover {
  border-color: var(--gold);
  background: rgba(200,168,75,.08);
}

/* Search results */
.search-results-header {
  padding: 130px 2rem 64px;
  text-align: center;
  background: var(--dark-surf);
  border-bottom: 1px solid var(--border);
}

/* Sidebar */
.widget-area {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem 60px;
}

.widget {
  margin-bottom: 40px;
  padding: 28px;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.widget-title {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.widget a {
  color: var(--muted);
  text-decoration: none;
  transition: color .3s;
  font-family: 'EB Garamond', serif;
}

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

/* Comments */
.comments-area {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 2rem;
}

.comments-title {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.comment-body {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 20px;
}

.comment-meta {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.comment-content p {
  font-family: 'EB Garamond', serif;
  color: var(--muted);
  line-height: 1.7;
}

.comment-reply-link {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 2px;
  transition: all .3s;
}

.comment-reply-link:hover {
  border-color: var(--gold);
  background: rgba(200,168,75,.08);
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  background: var(--dark-card);
  border: 1px solid var(--border);
  color: var(--txt);
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  padding: 13px 15px;
  border-radius: 2px;
  outline: none;
  transition: border-color .3s;
  margin-bottom: 16px;
}

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

.comment-form label {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 7px;
}

.comment-form input[type="submit"] {
  background: var(--gold);
  color: var(--dark);
  font-family: 'Cinzel', serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  padding: 15px 34px;
  border: none;
  width: auto;
  margin: 0;
  transition: background .3s;
}

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

/* ================================================================
   FOOTER
   ================================================================ */
#colophon.site-footer {
  background: var(--dark-surf);
  border-top: 1px solid var(--border);
  padding: 52px 2rem 28px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr;
  gap: 44px;
  margin-bottom: 36px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-wrap img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--gold);
}

.footer-brand-name {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-tagline {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.footer-nav-title {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-nav ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .3s;
}

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

.footer-verse-text {
  font-family: 'Cinzel Decorative', serif;
  font-size: .95rem;
  color: var(--gold);
  line-height: 1.7;
  margin-bottom: 6px;
  text-align: right;
}

.footer-verse-ref {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--muted);
  text-transform: uppercase;
  text-align: right;
}

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  color: var(--muted);
  margin: 0;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  animation: iso-fadeUp .75s ease forwards;
}

@keyframes iso-fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.d1 { animation-delay: .1s; }
.d2 { animation-delay: .2s; }
.d3 { animation-delay: .3s; }
.d4 { animation-delay: .4s; }

/* ================================================================
   ACCESSIBILITY
   ================================================================ */
.screen-reader-text {
  border: 0;
  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;
}

.screen-reader-text:focus {
  background-color: var(--dark-card);
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: var(--gold);
  display: block;
  font-size: .875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ================================================================
   ALIGNMENTS
   ================================================================ */
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }

/* ================================================================
   RESPONSIVE — TABLET & MOBILE
   ================================================================ */
@media (max-width: 900px) {
  #masthead.site-header {
    padding: 0 1.5rem;
  }

  #masthead .nav-cta {
    display: none;
  }

  .main-navigation ul:not(.toggled ul) {
    display: none;
  }

  .main-navigation.toggled ul {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

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

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

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

  .footer-verse-text,
  .footer-verse-ref {
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

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

@media (max-width: 600px) {
  .feat-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .posts-loop {
    grid-template-columns: 1fr;
  }
}
