/*
Theme Name: Kadence Child — Edin Fine Art
Template:   kadence
Version:    4.0.0
Author:     Edin Chavez Fine Art
Description: Peter Lik-inspired luxury fine art photography — dark, dramatic, gallery-caliber.
*/

/* ============================================================
   GOOGLE FONTS — EB Garamond + Montserrat
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=Montserrat:wght@300;400;500;600&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Colors */
  --black:          #0a0a0a;
  --bg:             #0f0f0f;
  --card:           #161616;
  --card-hover:     #1c1c1c;
  --white:          #ffffff;
  --text:           #e0e0e0;
  --muted:          #888888;
  --gold:           #b8922a;
  --gold-light:     #d4a843;
  --border:         rgba(255,255,255,0.06);
  --border-gold:    rgba(184,146,42,0.3);

  /* Legacy aliases (keep PHP templates working) */
  --ef-black:       #0a0a0a;
  --ef-bg:          #0f0f0f;
  --ef-card:        #161616;
  --ef-card-bg:     #161616;
  --ef-card-bg2:    #1c1c1c;
  --ef-white:       #ffffff;
  --ef-text:        #e0e0e0;
  --ef-muted:       #888888;
  --ef-accent:      #b8922a;
  --ef-gold:        #b8922a;
  --ef-gold-light:  #d4a843;
  --ef-gold-dark:   #9a7520;
  --ef-border:      rgba(255,255,255,0.06);
  --ef-border-sub:  rgba(255,255,255,0.04);

  /* Fonts */
  --font-display:   'EB Garamond', Georgia, serif;
  --font-ui:        'Montserrat', sans-serif;
  --font-body:      'Montserrat', sans-serif;

  /* Layout */
  --container-max:  1440px;
  --container-pad:  clamp(1.5rem, 5vw, 5rem);
  --header-h:       72px;
  --radius:         0px;

  /* Easing */
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:        cubic-bezier(0.7, 0, 0.84, 0);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--black);
}

body,
.dark-mode-body,
.ef-dark-theme,
[data-theme="dark"],
.ef-site,
.ef-page-home {
  background-color: var(--black) !important;
  color: var(--text) !important;
  font-family: var(--font-ui) !important;
  font-size: 1rem;
  line-height: 1.75;
  min-height: 100vh;
}

/* Force dark everywhere — override Kadence defaults */
#page,
#content,
.site,
.site-content,
.entry-content,
.wp-site-blocks,
main,
.ef-main {
  background-color: var(--black) !important;
  color: var(--text) !important;
}

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

/* ============================================================
   CONTAINER
   ============================================================ */
.container,
.ef-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* ============================================================
   TYPOGRAPHY — Global
   ============================================================ */

/* Display — EB Garamond for editorial headlines */
h1, .ef-h1 {
  font-family: var(--font-display) !important;
  font-style: normal;
  font-size: clamp(2.6rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--white) !important;
}

h2, .ef-h2 {
  font-family: var(--font-display) !important;
  font-style: normal;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--white) !important;
}

h3, .ef-h3 {
  font-family: var(--font-display) !important;
  font-style: normal;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--white) !important;
}

h4, h5, h6 {
  font-family: var(--font-ui) !important;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white) !important;
}

p, li, td, th {
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 300;
}

/* Kadence overrides */
.wp-site-blocks,
.kb-block-section-wrap,
.kt-inside-inner-col,
.kadence-column,
.kadence-section {
  background-color: transparent !important;
  color: var(--text) !important;
}

/* ============================================================
   EYEBROW / LABEL — Montserrat UI style
   ============================================================ */
.ef-label,
.ef-eyebrow {
  font-family: var(--font-ui) !important;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold) !important;
  display: block;
  margin-bottom: 1rem;
  font-style: normal;
}

/* ============================================================
   SITE HEADER — Peter Lik style
   ============================================================ */
.ef-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition: background 0.4s var(--ease-out), border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.ef-site-header.scrolled {
  background: rgba(10,10,10,0.96) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(184,146,42,0.2);
}

.ef-nav-inner {
  padding: 0 2.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* ---- Logo Mark ---- */
.ef-site-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
  gap: 0.75rem;
  line-height: 1;
}

/* EC monogram box */
.ef-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  flex-shrink: 0;
}

.ef-logo-mark-letters {
  font-family: var(--font-ui) !important;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold) !important;
  font-style: normal;
  line-height: 1;
}

/* Logo text group */
.ef-logo-text-group {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1;
}

.ef-site-logo-text {
  font-family: var(--font-ui) !important;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white) !important;
  white-space: nowrap;
  font-style: normal;
  line-height: 1;
}

.ef-site-logo-sub {
  font-family: var(--font-ui) !important;
  font-size: 0.55rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #888 !important;
  font-style: normal;
  line-height: 1;
  white-space: nowrap;
}

/* Hide old SVG monogram */
.ef-site-logo > svg {
  display: none !important;
}

/* ---- Nav Links ---- */
.ef-nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.ef-nav-links a {
  font-family: var(--font-ui) !important;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ccc !important;
  padding: 0.5rem 0.9rem;
  transition: color 0.22s ease;
  position: relative;
  font-style: normal;
  display: inline-block;
}

.ef-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.9rem;
  right: 0.9rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.ef-nav-links a:hover {
  color: var(--white) !important;
}

.ef-nav-links a:hover::after,
.ef-nav-links a.active::after {
  transform: scaleX(1);
}

.ef-nav-links a.active {
  color: var(--white) !important;
}

/* Cart icon */
.ef-nav-cart {
  display: flex !important;
  align-items: center;
  gap: 0.4rem;
  color: #ccc !important;
  padding: 0.5rem 0.75rem !important;
  position: relative;
}

.ef-nav-cart span {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--gold);
  color: var(--black) !important;
  font-family: var(--font-ui) !important;
  font-size: 0.55rem;
  font-weight: 600;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

.ef-nav-cart:hover {
  color: var(--white) !important;
}

/* ---- Hamburger ---- */
.ef-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  flex-shrink: 0;
}

.ef-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.ef-hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.ef-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.ef-hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---- Mobile Nav ---- */
.ef-mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(10,10,10,0.98);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 2rem var(--container-pad);
  gap: 0;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  border-bottom: 1px solid var(--border-gold);
}

.ef-mobile-nav.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.ef-mobile-nav a {
  font-family: var(--font-ui) !important;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ccc !important;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
  font-style: normal;
}

.ef-mobile-nav a:last-child {
  border-bottom: none;
}

.ef-mobile-nav a:hover,
.ef-mobile-nav a.active {
  color: var(--white) !important;
}

/* ============================================================
   HERO — Full viewport, photo-first
   ============================================================ */
.ef-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: var(--black);
  opacity: 0;
  transition: opacity 0.8s ease;
}

.ef-hero.loaded {
  opacity: 1;
}

.ef-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ef-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}

/* Subtle bottom gradient only */
.ef-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.75) 0%,
    rgba(10,10,10,0.25) 30%,
    transparent 60%
  );
  pointer-events: none;
}

/* Bottom-left credit — minimal Peter Lik style */
.ef-hero-credit {
  position: absolute;
  bottom: 3.5rem;
  left: var(--container-pad);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ef-hero-credit-line {
  width: 24px;
  height: 1px;
  background: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.ef-hero-credit-tagline {
  font-family: var(--font-display) !important;
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--white) !important;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.ef-hero-credit-byline {
  font-family: var(--font-ui) !important;
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65) !important;
  font-style: normal;
}

/* Hero scroll indicator */
.ef-hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: var(--container-pad);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
}

.ef-hero-scroll-line {
  width: 1px;
  height: 40px;
  background: var(--white);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(1.2); }
}

/* ============================================================
   PHOTO MOSAIC — Peter Lik asymmetric layout
   ============================================================ */
.ef-mosaic {
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
  background: var(--black);
  margin: 0;
  padding: 0;
}

/* Row 1: Wide left (2/3) + Tall right (1/3) */
.ef-mosaic-item {
  position: relative;
  overflow: hidden;
  display: block;
  background: #111;
}

.ef-mosaic-item--wide {
  grid-column: 1;
  grid-row: 1;
  aspect-ratio: 16/9;
}

.ef-mosaic-item--tall {
  grid-column: 2;
  grid-row: 1 / 3;
}

/* Row 2: Three equal */
.ef-mosaic-row2 {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.ef-mosaic-row2 .ef-mosaic-item {
  aspect-ratio: 4/3;
}

.ef-mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-out);
}

.ef-mosaic-item:hover img {
  transform: scale(1.04);
}

/* Mosaic overlay */
.ef-mosaic-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.35s ease, background 0.35s ease;
}

.ef-mosaic-item:hover .ef-mosaic-item-overlay {
  opacity: 1;
  background: rgba(10,10,10,0.5);
}

.ef-mosaic-item-title {
  font-family: var(--font-display) !important;
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white) !important;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.ef-mosaic-item-cta {
  font-family: var(--font-ui) !important;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold) !important;
  font-style: normal;
}

/* ============================================================
   CREDENTIALS BAR
   ============================================================ */
.ef-credentials-bar {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem var(--container-pad);
  text-align: center;
}

.ef-credentials-bar p {
  font-family: var(--font-ui) !important;
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #666 !important;
  margin: 0;
  font-style: normal;
}

/* ============================================================
   FEATURED PRINTS — SELECTED WORKS section
   ============================================================ */
.ef-selected-works {
  background: var(--black);
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.ef-selected-works-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.ef-selected-works-heading {
  font-family: var(--font-ui) !important;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white) !important;
  font-style: normal;
  display: block;
}

.ef-prints-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* ============================================================
   PRODUCT CARD — Peter Lik style
   Photo bleeds edge-to-edge, text BELOW on dark bg
   ============================================================ */
.ef-print-card {
  background: var(--card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background 0.3s ease;
}

.ef-print-card:hover {
  background: var(--card-hover);
}

.ef-print-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
  background: #111;
  flex-shrink: 0;
}

.ef-print-card-img img,
.ef-print-card-img a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease-out);
}

.ef-print-card:hover .ef-print-card-img img {
  transform: scale(1.04);
}

.ef-print-card-body {
  padding: 1.5rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ef-print-card-title {
  font-family: var(--font-display) !important;
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--white) !important;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  letter-spacing: 0;
}

.ef-print-card-edition,
.ef-print-card-meta {
  font-family: var(--font-ui) !important;
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--muted) !important;
  font-style: normal;
  margin-bottom: 1rem;
}

.ef-print-card-price {
  font-family: var(--font-ui) !important;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold) !important;
  letter-spacing: 0.05em;
  font-style: normal;
  margin-bottom: 1.25rem;
}

/* WooCommerce price in cards */
.ef-print-card .price,
.ef-print-card .woocommerce-Price-amount,
.ef-print-card .amount {
  font-family: var(--font-ui) !important;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold) !important;
  font-style: normal;
}

.ef-print-card-btn {
  display: inline-block;
  font-family: var(--font-ui) !important;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white) !important;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.7rem 1.4rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  font-style: normal;
  align-self: flex-start;
  margin-top: auto;
  cursor: pointer;
}

.ef-print-card-btn:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
}

/* ============================================================
   BUTTONS — Global
   ============================================================ */

/* Ghost button */
.ef-btn,
.ef-btn-ghost {
  display: inline-block;
  font-family: var(--font-ui) !important;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white) !important;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 0.85rem 2rem;
  transition: border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
  font-style: normal;
  cursor: pointer;
  text-align: center;
}

.ef-btn:hover,
.ef-btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
}

/* CTA button — filled */
.ef-btn-cta {
  display: inline-block;
  font-family: var(--font-ui) !important;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black) !important;
  background: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.85rem 2.25rem;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  font-style: normal;
  cursor: pointer;
  text-align: center;
}

.ef-btn-cta:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--black) !important;
}

/* ============================================================
   CTA BANNER — Bottom of pages
   ============================================================ */
.ef-cta-banner {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(4rem, 8vw, 7rem) var(--container-pad);
  text-align: center;
}

.ef-cta-banner-inner {
  max-width: 680px;
  margin: 0 auto;
}

.ef-cta-banner .ef-eyebrow {
  margin-bottom: 1.25rem;
}

.ef-cta-banner h2 {
  font-family: var(--font-display) !important;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white) !important;
  margin-bottom: 1.25rem;
  font-weight: 400;
  font-style: italic;
}

.ef-cta-banner p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text) !important;
  margin-bottom: 2.5rem;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.ef-stats-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.ef-stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.ef-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.5rem 3rem;
  text-align: center;
}

.ef-stat-number {
  font-family: var(--font-display) !important;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--white) !important;
  line-height: 1;
  letter-spacing: 0.02em;
}

.ef-stat-label {
  font-family: var(--font-ui) !important;
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted) !important;
  font-style: normal;
}

.ef-stat-divider {
  display: block;
  width: 1px;
  height: 50px;
  background: var(--border);
}

/* ============================================================
   TRUSTED BY SECTION
   ============================================================ */
.ef-trusted-section {
  background: var(--black);
  padding: clamp(3rem, 5vw, 4rem) 0;
}

.ef-trusted-header {
  font-family: var(--font-ui) !important;
  font-size: 0.58rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted) !important;
  text-align: center;
  margin-bottom: 2rem;
  font-style: normal;
}

.ef-trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.ef-trusted-logo {
  font-family: var(--font-ui) !important;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3) !important;
  padding: 0.75rem 2rem;
  border-right: 1px solid var(--border);
  font-style: normal;
  transition: color 0.2s;
}

.ef-trusted-logo:last-child {
  border-right: none;
}

.ef-trusted-logo:hover {
  color: var(--white) !important;
}

/* ============================================================
   GALLERY GRID — Homepage (old structure kept for compat)
   ============================================================ */
.ef-gallery-section {
  background: var(--black);
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.ef-gallery-header {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 4rem);
  padding: 0 var(--container-pad);
}

.ef-gallery-header h2 {
  font-family: var(--font-display) !important;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 400;
  font-style: italic;
}

.ef-gallery-grid-featured {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto auto;
  gap: 2px;
  width: 100%;
}

.ef-gallery-item {
  position: relative;
  overflow: hidden;
  display: block;
  background: #111;
}

.ef-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-out);
}

.ef-gallery-item:hover img {
  transform: scale(1.04);
}

.ef-gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.ef-gallery-item:hover .ef-gallery-item-overlay {
  opacity: 1;
  background: rgba(10,10,10,0.5);
}

.ef-gallery-item-title {
  font-family: var(--font-display) !important;
  font-style: italic;
  font-size: 1rem;
  font-weight: 400;
  color: var(--white) !important;
  margin-bottom: 0.3rem;
}

.ef-gallery-item-location {
  font-family: var(--font-ui) !important;
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted) !important;
  font-style: normal;
}

/* Grid positions */
.ef-gallery-item.featured-1 {
  grid-column: 1 / 6;
  grid-row: 1 / 3;
  aspect-ratio: 3/4;
}
.ef-gallery-item.featured-2 {
  grid-column: 6 / 10;
  grid-row: 1;
  aspect-ratio: 4/3;
}
.ef-gallery-item.featured-3 {
  grid-column: 10 / 13;
  grid-row: 1;
  aspect-ratio: 4/3;
}
.ef-gallery-item.regular-1 {
  grid-column: 6 / 9;
  grid-row: 2;
  aspect-ratio: 4/3;
}
.ef-gallery-item.regular-2 {
  grid-column: 9 / 11;
  grid-row: 2;
  aspect-ratio: 4/3;
}
.ef-gallery-item.regular-3 {
  grid-column: 11 / 13;
  grid-row: 2;
  aspect-ratio: 4/3;
}
.ef-gallery-item.regular-4 {
  grid-column: 1 / 4;
  grid-row: 3;
  aspect-ratio: 4/3;
}
.ef-gallery-item.regular-5 {
  grid-column: 4 / 7;
  grid-row: 3;
  aspect-ratio: 4/3;
}
.ef-gallery-item.regular-6 {
  grid-column: 7 / 10;
  grid-row: 3;
  aspect-ratio: 4/3;
}
.ef-gallery-item.regular-7 {
  grid-column: 10 / 12;
  grid-row: 3;
  aspect-ratio: 4/3;
}
.ef-gallery-item.regular-8 {
  grid-column: 12 / 13;
  grid-row: 3;
  aspect-ratio: 4/3;
}
.ef-gallery-item.regular-9 {
  grid-column: 1 / 13;
  grid-row: 4;
  height: 45vh;
  min-height: 300px;
}

/* ============================================================
   BLOG ARCHIVE — Peter Lik journal style
   Text BELOW image, 3-column
   ============================================================ */
.ef-blog-main {
  background: var(--black);
  min-height: 100vh;
}

/* Journal heading — minimal, EB Garamond, no background image */
.ef-blog-hero {
  background: var(--black);
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.ef-blog-hero-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  text-align: center;
}

.ef-blog-hero-title {
  font-family: var(--font-display) !important;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 400;
  font-style: normal;
  color: var(--white) !important;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* Post section */
.ef-post-section {
  padding: 4rem 0 6rem;
  background: var(--black);
}

/* 3-column grid */
.ef-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* Post card — text BELOW image */
.ef-post-card {
  background: var(--card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.25s ease;
}

.ef-post-card:hover {
  background: var(--card-hover);
}

/* Link wrapping the whole card */
.ef-post-card-img-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}

/* Image — aspect 4:3 */
.ef-post-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #111;
  flex-shrink: 0;
}

.ef-post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease-out);
}

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

/* No gradient overlay — text goes below */
.ef-post-card-overlay {
  display: none;
}

/* Text below the image */
.ef-post-card-body {
  padding: 1.4rem 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  position: static;
  background: none;
  inset: auto;
}

.ef-post-card-cat {
  font-family: var(--font-ui) !important;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold) !important;
  display: block;
  margin-bottom: 0.6rem;
  font-style: normal;
}

.ef-post-card-title {
  font-family: var(--font-display) !important;
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--white) !important;
  line-height: 1.3;
  margin-bottom: 0.6rem;
  letter-spacing: 0;
}

.ef-post-card-excerpt {
  font-family: var(--font-ui) !important;
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--muted) !important;
  line-height: 1.7;
  margin-bottom: 1rem;
  flex: 1;
  font-style: normal;
}

.ef-post-card-link {
  font-family: var(--font-ui) !important;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold) !important;
  font-style: normal;
  display: inline-block;
  margin-top: auto;
  transition: letter-spacing 0.2s ease;
}

.ef-post-card:hover .ef-post-card-link {
  letter-spacing: 0.22em;
}

/* ============================================================
   BLOG PAGINATION
   ============================================================ */
.ef-pagination {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}

.ef-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ef-pagination .page-numbers {
  font-family: var(--font-ui) !important;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted) !important;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
  font-style: normal;
}

.ef-pagination .page-numbers:hover,
.ef-pagination .page-numbers.current {
  border-color: var(--gold);
  color: var(--gold) !important;
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.ef-single-main {
  background: var(--black);
  min-height: 100vh;
}

/* Slim header: no hero image */
.ef-single-hero {
  background: var(--black);
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}

/* If there IS a featured image, show it full-bleed */
.ef-single-hero.has-thumbnail {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
}

.ef-single-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.ef-single-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ef-single-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.3) 60%, transparent 100%);
}

.ef-single-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--container-pad) 3.5rem;
}

.ef-single-hero.has-thumbnail .ef-single-hero-content {
  padding-top: calc(var(--header-h) + 2rem);
}

.ef-single-hero-cat {
  font-family: var(--font-ui) !important;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold) !important;
  display: inline-block;
  margin-bottom: 1rem;
  font-style: normal;
  text-decoration: none;
}

.ef-single-hero-title {
  font-family: var(--font-display) !important;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 400;
  font-style: normal;
  color: var(--white) !important;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.ef-single-hero-meta {
  font-family: var(--font-ui) !important;
  font-size: 0.68rem;
  font-weight: 300;
  color: var(--muted) !important;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-style: normal;
}

.ef-single-hero-meta-sep {
  color: var(--muted);
}

/* Gold rule below hero */
.ef-single-hero-rule {
  height: 1px;
  background: var(--border-gold);
  width: 100%;
}

/* Content section */
.ef-single-content-section {
  background: var(--black);
  padding: 4rem 0 6rem;
}

.ef-single-content-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* Meta bar */
.ef-single-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.ef-single-cats {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ef-single-cat-badge {
  font-family: var(--font-ui) !important;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold) !important;
  border: 1px solid var(--border-gold);
  padding: 0.3rem 0.75rem;
  transition: border-color 0.2s, color 0.2s;
  font-style: normal;
  text-decoration: none;
}

.ef-single-cat-badge:hover {
  border-color: var(--gold);
  color: var(--gold-light) !important;
}

.ef-single-date {
  font-family: var(--font-ui) !important;
  font-size: 0.65rem;
  font-weight: 300;
  color: var(--muted) !important;
  letter-spacing: 0.08em;
  font-style: normal;
}

/* Post body content */
.ef-single-content {
  font-family: var(--font-display) !important;
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text) !important;
}

.ef-single-content p {
  font-family: var(--font-display) !important;
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text) !important;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.ef-single-content h2 {
  font-family: var(--font-display) !important;
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--white) !important;
  margin: 2.5rem 0 1rem;
  font-style: normal;
  letter-spacing: 0;
}

.ef-single-content h3 {
  font-family: var(--font-display) !important;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--white) !important;
  margin: 2rem 0 0.75rem;
  font-style: normal;
  letter-spacing: 0;
}

.ef-single-content a {
  color: var(--gold) !important;
  border-bottom: 1px solid var(--border-gold);
  transition: border-color 0.2s, color 0.2s;
}

.ef-single-content a:hover {
  color: var(--gold-light) !important;
  border-color: var(--gold-light);
}

.ef-single-content blockquote {
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text);
}

.ef-single-content img {
  width: 100%;
  height: auto;
  margin: 2rem 0;
}

.ef-single-content ul,
.ef-single-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  list-style: disc;
}

.ef-single-content li {
  font-family: var(--font-display) !important;
  font-size: 1.1rem;
  color: var(--text) !important;
  margin-bottom: 0.4rem;
  font-weight: 400;
}

/* Tags */
.ef-single-tags {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ef-single-tags-label {
  font-family: var(--font-ui) !important;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted) !important;
  font-style: normal;
}

.ef-single-tag {
  font-family: var(--font-ui) !important;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted) !important;
  border: 1px solid var(--border);
  padding: 0.3rem 0.7rem;
  transition: border-color 0.2s, color 0.2s;
  font-style: normal;
  text-decoration: none;
}

.ef-single-tag:hover {
  border-color: var(--border-gold);
  color: var(--gold) !important;
}

/* Share bar */
.ef-single-share {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.ef-single-share-label {
  font-family: var(--font-ui) !important;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted) !important;
  font-style: normal;
}

.ef-single-share-link {
  font-family: var(--font-ui) !important;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--muted) !important;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
  font-style: normal;
  text-decoration: none;
}

.ef-single-share-link:hover {
  color: var(--white) !important;
}

/* CTA bar */
.ef-single-cta-bar {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem var(--container-pad);
  text-align: center;
}

/* Section header */
.ef-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Related posts */
.ef-related-posts-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.ef-related-posts-title {
  font-family: var(--font-display) !important;
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 400;
  color: var(--white) !important;
  font-style: italic;
}

.ef-related-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* ============================================================
   FOOTER — 3-col dark with gold top border
   ============================================================ */
.ef-footer-full {
  background: var(--black);
  border-top: 1px solid var(--gold);
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.ef-footer-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad) clamp(3rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
}

/* Brand column */
.ef-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ef-footer-logo-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.ef-footer-logo-svg {
  width: 32px;
  height: 32px;
  color: var(--gold);
  flex-shrink: 0;
}

.ef-footer-logo-name {
  font-family: var(--font-ui) !important;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white) !important;
  font-style: normal;
  white-space: nowrap;
}

.ef-footer-tagline {
  font-family: var(--font-display) !important;
  font-style: italic;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text) !important;
  margin: 0;
  line-height: 1.4;
}

.ef-footer-brand-desc {
  font-family: var(--font-ui) !important;
  font-size: 0.72rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted) !important;
  font-style: normal;
  margin: 0;
}

.ef-footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.ef-footer-social-link {
  color: var(--muted) !important;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.ef-footer-social-link:hover {
  color: var(--white) !important;
}

/* Footer columns */
.ef-footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ef-footer-col-title {
  font-family: var(--font-ui) !important;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white) !important;
  font-style: normal;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  display: block;
}

.ef-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ef-footer-nav a {
  font-family: var(--font-ui) !important;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--muted) !important;
  padding: 0.45rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s;
  font-style: normal;
  text-decoration: none;
}

.ef-footer-nav a:hover {
  color: var(--white) !important;
}

/* Contact column */
.ef-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ef-footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ef-footer-contact-label {
  font-family: var(--font-ui) !important;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted) !important;
  font-style: normal;
}

.ef-footer-contact-value {
  font-family: var(--font-ui) !important;
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text) !important;
  font-style: normal;
  text-decoration: none;
  transition: color 0.2s;
}

a.ef-footer-contact-value:hover {
  color: var(--gold) !important;
}

/* Newsletter / CTA */
.ef-footer-newsletter {
  margin-top: 0.5rem;
}

.ef-footer-newsletter-text {
  font-family: var(--font-ui) !important;
  font-size: 0.65rem;
  font-weight: 300;
  color: var(--muted) !important;
  margin-bottom: 0.75rem;
  font-style: normal;
}

.ef-footer-newsletter-btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  font-size: 0.6rem;
}

/* Footer bottom bar */
.ef-footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.ef-footer-copy {
  font-family: var(--font-ui) !important;
  font-size: 0.62rem;
  font-weight: 300;
  color: #555 !important;
  font-style: normal;
  margin: 0;
}

.ef-footer-credits {
  font-family: var(--font-ui) !important;
  font-size: 0.62rem;
  font-weight: 300;
  color: #444 !important;
  letter-spacing: 0.1em;
  font-style: normal;
  margin: 0;
}

.ef-footer-legal {
  display: flex;
  gap: 1.5rem;
}

.ef-footer-legal a {
  font-family: var(--font-ui) !important;
  font-size: 0.6rem;
  font-weight: 300;
  color: #444 !important;
  transition: color 0.2s;
  font-style: normal;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.ef-footer-legal a:hover {
  color: var(--muted) !important;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.ef-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5,5,5,0.97);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ef-lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.ef-lightbox img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
}

.ef-lightbox-caption {
  font-family: var(--font-ui) !important;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--muted) !important;
  margin-top: 1.25rem;
  font-style: normal;
}

.ef-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: 1px solid var(--border);
  color: var(--white);
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.ef-lightbox-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================================
   NO POSTS FALLBACK
   ============================================================ */
.ef-no-posts {
  text-align: center;
  padding: 6rem var(--container-pad);
  grid-column: 1 / -1;
}

.ef-no-posts p {
  font-family: var(--font-ui) !important;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--muted) !important;
  margin-bottom: 2rem;
  font-style: normal;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   WOOCOMMERCE — Complete Override
   ============================================================ */

/* Force dark on all WC elements */
.woocommerce,
.woocommerce-page,
.woocommerce-account,
.woocommerce-cart,
.woocommerce-checkout {
  background: var(--black) !important;
  color: var(--text) !important;
}

/* Remove WC default white backgrounds */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: var(--card) !important;
  color: var(--text) !important;
}

/* Product loop — photo top, text below */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce ul.products li.product {
  background: var(--card) !important;
  border: none !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  transition: background 0.25s ease !important;
}

.woocommerce ul.products li.product:hover {
  background: var(--card-hover) !important;
}

/* Product image */
.woocommerce ul.products li.product .woocommerce-loop-product__link {
  display: block !important;
}

.woocommerce ul.products li.product img {
  width: 100% !important;
  aspect-ratio: 3/2 !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  transition: transform 0.65s var(--ease-out) !important;
}

.woocommerce ul.products li.product:hover img {
  transform: scale(1.04) !important;
}

/* Product body */
.woocommerce ul.products li.product .woocommerce-loop-product__link + *,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0 !important;
  margin: 0 !important;
}

/* Product title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display) !important;
  font-style: italic !important;
  font-size: 1.2rem !important;
  font-weight: 400 !important;
  color: var(--white) !important;
  padding: 1.5rem 1.5rem 0.4rem !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
}

/* Product price */
.woocommerce ul.products li.product .price {
  font-family: var(--font-ui) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  color: var(--gold) !important;
  font-style: normal !important;
  padding: 0 1.5rem 0.75rem !important;
  display: block !important;
}

.woocommerce ul.products li.product .price .woocommerce-Price-amount,
.woocommerce ul.products li.product .price .amount {
  color: var(--gold) !important;
  font-family: var(--font-ui) !important;
  font-weight: 500 !important;
  font-style: normal !important;
}

/* WC buttons in product loop */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
  font-family: var(--font-ui) !important;
  font-size: 0.62rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: var(--white) !important;
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  padding: 0.65rem 1.25rem !important;
  margin: 0.5rem 1.5rem 1.5rem !important;
  display: inline-block !important;
  transition: border-color 0.2s, color 0.2s !important;
  font-style: normal !important;
  border-radius: 0 !important;
}

.woocommerce ul.products li.product .button:hover {
  background: transparent !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

/* Single product page */
.woocommerce div.product {
  background: var(--black) !important;
  color: var(--text) !important;
}

.woocommerce div.product .product_title {
  font-family: var(--font-display) !important;
  font-size: clamp(1.8rem, 3vw, 3rem) !important;
  font-weight: 400 !important;
  color: var(--white) !important;
  font-style: normal !important;
  letter-spacing: 0.01em !important;
}

.woocommerce div.product .price,
.woocommerce div.product p.price {
  font-family: var(--font-ui) !important;
  font-size: 1.5rem !important;
  font-weight: 500 !important;
  color: var(--gold) !important;
  font-style: normal !important;
}

.woocommerce div.product .price .amount,
.woocommerce div.product .price .woocommerce-Price-amount {
  color: var(--gold) !important;
}

.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .woocommerce-product-details__short-description p {
  font-family: var(--font-display) !important;
  font-size: 1rem !important;
  color: var(--text) !important;
  line-height: 1.8 !important;
}

/* Add to cart button */
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce a.button.single_add_to_cart_button {
  font-family: var(--font-ui) !important;
  font-size: 0.7rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  background: var(--gold) !important;
  color: var(--black) !important;
  border: 1px solid var(--gold) !important;
  padding: 1rem 2.5rem !important;
  transition: background 0.22s, border-color 0.22s !important;
  border-radius: 0 !important;
  font-style: normal !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
  background: var(--gold-light) !important;
  border-color: var(--gold-light) !important;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  border-bottom-color: var(--border) !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border-color: var(--border) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--font-ui) !important;
  font-size: 0.7rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--muted) !important;
  font-style: normal !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--white) !important;
  background: transparent !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
  background: transparent !important;
  border-color: var(--border) !important;
  padding: 2rem 0 !important;
}

/* Cart & checkout */
.woocommerce table.shop_table {
  background: transparent !important;
  border-color: var(--border) !important;
}

.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
  background: transparent !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
  font-family: var(--font-ui) !important;
  font-weight: 300 !important;
}

/* Notices */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
  background: var(--card) !important;
  border-color: var(--gold) !important;
  color: var(--text) !important;
  font-family: var(--font-ui) !important;
  font-weight: 300 !important;
}

.woocommerce .woocommerce-error {
  background: var(--card) !important;
  border-color: #c0392b !important;
  color: var(--text) !important;
  font-family: var(--font-ui) !important;
}

/* Star ratings */
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before {
  color: var(--gold) !important;
}

/* Form fields */
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="password"],
.woocommerce textarea,
.woocommerce select {
  background: var(--card) !important;
  border-color: var(--border) !important;
  color: var(--white) !important;
  font-family: var(--font-ui) !important;
  font-weight: 300 !important;
  border-radius: 0 !important;
}

.woocommerce input[type="text"]:focus,
.woocommerce input[type="email"]:focus,
.woocommerce input[type="tel"]:focus,
.woocommerce input[type="password"]:focus,
.woocommerce textarea:focus {
  border-color: var(--border-gold) !important;
  outline: none !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .ef-nav-links a {
    padding: 0.5rem 0.7rem;
    font-size: 0.68rem;
  }
  .ef-prints-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .ef-related-posts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .ef-hamburger { display: flex; }
  .ef-nav-links { display: none; }

  .ef-mosaic {
    grid-template-columns: 1fr;
  }
  .ef-mosaic-item--wide {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 16/9;
  }
  .ef-mosaic-item--tall {
    grid-column: 1;
    grid-row: 2;
    aspect-ratio: 4/3;
  }
  .ef-mosaic-row2 {
    grid-column: 1;
    grid-row: 3;
  }

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

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

  .ef-footer-brand {
    grid-column: 1 / -1;
  }

  .ef-gallery-grid-featured {
    grid-template-columns: repeat(6, 1fr);
  }

  .ef-gallery-item.featured-1 { grid-column: 1 / 4; grid-row: 1 / 3; }
  .ef-gallery-item.featured-2 { grid-column: 4 / 7; grid-row: 1; }
  .ef-gallery-item.featured-3 { grid-column: 4 / 7; grid-row: 2; }
  .ef-gallery-item.regular-1,
  .ef-gallery-item.regular-2,
  .ef-gallery-item.regular-3 { grid-column: span 2; grid-row: 3; }
  .ef-gallery-item.regular-4,
  .ef-gallery-item.regular-5,
  .ef-gallery-item.regular-6 { grid-column: span 2; grid-row: 4; }
  .ef-gallery-item.regular-7,
  .ef-gallery-item.regular-8 { grid-column: span 3; grid-row: 5; }
  .ef-gallery-item.regular-9 { grid-column: 1 / -1; grid-row: 6; }
}

@media (max-width: 680px) {
  .ef-post-grid {
    grid-template-columns: 1fr;
  }

  .ef-mosaic-row2 {
    grid-template-columns: 1fr;
  }

  .ef-mosaic-row2 .ef-mosaic-item {
    aspect-ratio: 16/9;
  }

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

  .ef-prints-grid {
    grid-template-columns: 1fr;
  }

  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }

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

  .ef-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .ef-footer-legal {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .ef-stat-item {
    padding: 1rem 1.5rem;
  }

  .ef-stat-divider {
    display: none;
  }

  .ef-hero-credit-tagline {
    font-size: 1rem;
  }

  .ef-single-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* ============================================================
   KADENCE KILL — override all Kadence-injected chrome
   ============================================================ */

/* Hide any Kadence header/footer wrappers entirely */
#masthead,
.site-header,
#colophon,
.site-footer,
.wp-block-template-part[class*="header"],
.wp-block-template-part[class*="footer"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Kill Kadence wrappers */
#page,
#content {
  background-color: var(--black) !important;
}

.kadence-inner-column-inner,
.wp-block-kadence-column .kadence-column-inner,
.kb-row-layout-inner {
  background-color: transparent !important;
}

/* Remove Kadence default link colors */
.kadence-dynamic-html a,
.kb-block-section-wrap a {
  color: var(--text) !important;
}

/* Remove WP Admin Bar overlap */
@media screen and (min-width: 782px) {
  .admin-bar .ef-site-header {
    top: 32px;
  }
  .admin-bar .ef-mobile-nav {
    top: calc(var(--header-h) + 32px);
  }
}

@media screen and (max-width: 782px) {
  .admin-bar .ef-site-header {
    top: 46px;
  }
  .admin-bar .ef-mobile-nav {
    top: calc(var(--header-h) + 46px);
  }
}

/* ============================================================
   UTILITY — Hide elements
   ============================================================ */
.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 !important;
  width: 1px;
  word-wrap: normal !important;
}

/* ============================================================
   SECTION HELPERS
   ============================================================ */
.ef-section-pad {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.ef-text-center {
  text-align: center;
}

/* About page */
.ef-about-hero {
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: 3rem;
  background: var(--black);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.ef-about-content {
  max-width: 840px;
  margin: 0 auto;
  padding: 4rem var(--container-pad) 6rem;
}

.ef-about-content p {
  font-family: var(--font-display) !important;
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text) !important;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

/* Galleries page */
.ef-galleries-hero {
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: 3rem;
  background: var(--black);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

/* Contact page */
.ef-contact-hero {
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: 3rem;
  background: var(--black);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.ef-contact-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem var(--container-pad) 6rem;
}

/* Form fields global */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  color: var(--white) !important;
  font-family: var(--font-ui) !important;
  font-size: 0.85rem !important;
  font-weight: 300 !important;
  padding: 0.85rem 1rem !important;
  width: 100% !important;
  border-radius: 0 !important;
  transition: border-color 0.2s !important;
  outline: none !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
textarea:focus {
  border-color: var(--border-gold) !important;
}

/* ============================================================
   PRINTS TEMPLATE PAGE
   ============================================================ */
.ef-prints-hero {
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: 3rem;
  background: var(--black);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   PAGE TEMPLATE (generic page.php)
   ============================================================ */
.ef-page-content {
  padding-top: calc(var(--header-h) + 3rem);
  min-height: 60vh;
}

.ef-page-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem var(--container-pad) 6rem;
}

.ef-page-inner h1 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  margin-bottom: 1.5rem;
}

.ef-page-inner p {
  font-family: var(--font-display) !important;
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text) !important;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.ef-page-inner a {
  color: var(--gold) !important;
}

/* ============================================================
   HOMEPAGE SPECIFIC ADDITIONS
   ============================================================ */

/* About teaser section */
.ef-about-strip {
  background: var(--black);
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.ef-about-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
}

.ef-about-strip-text h2 {
  font-family: var(--font-display) !important;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.ef-about-strip-text p {
  font-family: var(--font-ui) !important;
  font-weight: 300;
  line-height: 1.85;
  font-size: 0.9rem;
  color: var(--text) !important;
  margin-bottom: 1.25rem;
  font-style: normal;
}

.ef-about-strip-img {
  position: relative;
}

.ef-about-strip-img img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.ef-about-strip-img::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: -16px;
  width: 50%;
  height: 50%;
  border: 1px solid var(--border);
  z-index: -1;
}

@media (max-width: 768px) {
  .ef-about-strip-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ============================================================
   WooCommerce product card info area — force dark, kill white
   ============================================================ */
.woocommerce ul.products li.product .woocommerce-loop-product__link,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: #161616 !important;
}

.woocommerce ul.products li.product .ef-print-info,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product span.price,
.woocommerce ul.products li.product .amount,
.woocommerce ul.products li.product p {
  color: #e0e0e0 !important;
  background: transparent !important;
}

/* The white rectangle is the default WC product card bottom */
.woocommerce ul.products li.product > a,
.woocommerce ul.products li.product .woocommerce-loop-product__link {
  display: block !important;
  background: #161616 !important;
}

/* Titles in EB Garamond italic */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'EB Garamond', Georgia, serif !important;
  font-style: italic !important;
  font-size: 1.05rem !important;
  font-weight: 400 !important;
  padding: 1rem 1.25rem 0.25rem !important;
  background: #161616 !important;
  color: #e0e0e0 !important;
}

/* Price in gold */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product span.price,
.woocommerce ul.products li.product .woocommerce-Price-amount {
  color: #b8922a !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  padding: 0 1.25rem 0.5rem !important;
  background: #161616 !important;
  display: block !important;
}

/* Add to Cart button */
.woocommerce ul.products li.product .button {
  margin: 0 1.25rem 1.25rem !important;
  background: transparent !important;
  border: 1px solid rgba(184,146,42,0.4) !important;
  color: #b8922a !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.65rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: 0 !important;
  transition: all 0.25s ease !important;
  width: calc(100% - 2.5rem) !important;
}
.woocommerce ul.products li.product .button:hover {
  background: #b8922a !important;
  color: #000 !important;
}

/* Kill absolutely any white background remaining */
.woocommerce ul.products,
.woocommerce-page ul.products,
#page, .site, .site-content, .wp-site-blocks,
.woocommerce, .woocommerce-page {
  background: #0a0a0a !important;
}

/* ── BLOG POST READING AREA — light background for readability ── */
.ef-single-content--light {
  background: #f7f5f2 !important;
  padding: 4rem 0 !important;
}

.ef-single-content--light .ef-content-inner {
  background: #ffffff;
  max-width: 780px;
  margin: 0 auto;
  padding: 3.5rem 4rem;
  box-shadow: 0 2px 40px rgba(0,0,0,0.06);
}

@media (max-width: 768px) {
  .ef-single-content--light .ef-content-inner {
    padding: 2rem 1.5rem;
  }
}

/* Content typography on light background */
.ef-single-content--light p,
.ef-single-content--light li,
.ef-single-content--light td {
  color: #2a2a2a !important;
  font-family: var(--font-body, 'Inter', sans-serif) !important;
  font-size: 1.05rem !important;
  line-height: 1.85 !important;
}

.ef-single-content--light h2,
.ef-single-content--light h3,
.ef-single-content--light h4 {
  color: #1a1a1a !important;
  font-family: var(--font-display, 'EB Garamond', serif) !important;
  margin-top: 2rem !important;
  margin-bottom: 0.75rem !important;
}

.ef-single-content--light a {
  color: #b8922a !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(184,146,42,0.3) !important;
  transition: border-color 0.2s !important;
}
.ef-single-content--light a:hover {
  border-color: #b8922a !important;
}

.ef-single-content--light img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 2rem auto !important;
}

.ef-single-content--light blockquote {
  border-left: 3px solid #b8922a !important;
  background: #f0ede8 !important;
  padding: 1.25rem 1.5rem !important;
  margin: 2rem 0 !important;
  color: #444 !important;
  font-style: italic !important;
}

/* Meta strip above content — keep dark */
.ef-single-meta {
  background: #0a0a0a;
  padding: 1.25rem 0;
}

/* CTA at bottom — dark again */
.ef-single-cta-bar {
  background: #0a0a0a !important;
  padding: 4rem 2rem !important;
  text-align: center !important;
}

/* ── JOURNAL ARCHIVE — light background ── */
.ef-blog-main--light {
  background: #f7f5f2 !important;
}
.ef-blog-main--light .ef-blog-hero {
  background: #1a1a1a !important;
}
.ef-blog-main--light .ef-post-grid {
  background: #f7f5f2 !important;
  padding: 3rem 2rem !important;
  max-width: 1400px;
  margin: 0 auto;
}
.ef-blog-main--light .ef-post-card {
  background: #ffffff !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07) !important;
  border: none !important;
}
.ef-blog-main--light .ef-post-card-body {
  background: #ffffff !important;
  padding: 1.5rem !important;
}
.ef-blog-main--light .ef-post-card-title,
.ef-blog-main--light .ef-post-card-title a {
  color: #1a1a1a !important;
}
.ef-blog-main--light .ef-post-card-title a:hover {
  color: #b8922a !important;
}
.ef-blog-main--light .ef-post-card-excerpt,
.ef-blog-main--light .ef-post-card-excerpt p {
  color: #555 !important;
}
.ef-blog-main--light .ef-post-card-link {
  color: #b8922a !important;
}
.ef-blog-main--light .ef-post-card-cat {
  color: #b8922a !important;
}
.ef-blog-main--light .ef-post-card-date {
  color: #999 !important;
}
/* Pagination */
.ef-blog-main--light .ef-pagination a,
.ef-blog-main--light .ef-pagination span {
  color: #1a1a1a !important;
  border-color: rgba(0,0,0,0.15) !important;
}
.ef-blog-main--light .ef-pagination a:hover,
.ef-blog-main--light .ef-pagination .current {
  background: #b8922a !important;
  color: #fff !important;
  border-color: #b8922a !important;
}

/* ── JOURNAL GRID — matches galleries page aesthetic ── */
.ef-journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (max-width: 1024px) { .ef-journal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .ef-journal-grid { grid-template-columns: 1fr; } }

.ef-journal-card {
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ef-journal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.ef-journal-card-img-wrap {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.ef-journal-card-img-wrap--empty {
  background: #e8e4df;
}
.ef-journal-card-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #e8e4df 0%, #d4cfc9 100%);
}
.ef-journal-card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.5s ease;
}
.ef-journal-card:hover .ef-journal-card-img { transform: scale(1.04); }

.ef-journal-card-body {
  padding: 1.5rem;
}
.ef-journal-card-cat {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b8922a;
  display: block;
  margin-bottom: 0.5rem;
}
.ef-journal-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
.ef-journal-card-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s;
}
.ef-journal-card-title a:hover { color: #b8922a; }

.ef-journal-card-excerpt {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  color: #666;
  line-height: 1.65;
  margin: 0 0 1.25rem;
}
.ef-journal-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0,0,0,0.07);
  padding-top: 1rem;
}
.ef-journal-card-date {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: #aaa;
  font-weight: 400;
}
.ef-journal-card-read {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b8922a;
  text-decoration: none;
  transition: color 0.2s;
}
.ef-journal-card-read:hover { color: #1a1a1a; }

/* Pagination */
.ef-journal-pagination {
  text-align: center;
  padding: 2rem 0 1rem;
}
.ef-journal-pagination .page-numbers {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #1a1a1a;
  border: 1px solid rgba(0,0,0,0.15);
  padding: 0.5rem 0.9rem;
  margin: 0 0.2rem;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}
.ef-journal-pagination .page-numbers:hover,
.ef-journal-pagination .page-numbers.current {
  background: #b8922a;
  color: #fff;
  border-color: #b8922a;
}

/* ── JOURNAL CARDS — square images ── */
.ef-journal-card-img-wrap {
  aspect-ratio: 1/1 !important;
}

/* ── SINGLE POST — full white background ── */
body.single {
  background: #ffffff !important;
}
.ef-single-hero {
  /* keep the dark hero with featured image */
}
.ef-single-content,
.ef-single-content--light {
  background: #ffffff !important;
  padding: 0 !important;
}
.ef-single-content--light .ef-content-inner,
.ef-content-inner {
  background: #ffffff !important;
  max-width: 780px;
  margin: 0 auto;
  padding: 3.5rem 4rem;
  box-shadow: none !important;
}
@media (max-width: 768px) {
  .ef-content-inner { padding: 2rem 1.5rem !important; }
}
.ef-single-content p,
.ef-single-content li,
.ef-single-content--light p,
.ef-single-content--light li {
  color: #2a2a2a !important;
}
.ef-single-content h2,
.ef-single-content h3,
.ef-single-content--light h2,
.ef-single-content--light h3 {
  color: #1a1a1a !important;
}

/* ── SINGLE POST — entire page white ── */
body.single,
body.single #ef-main,
body.single .ef-single-wrap,
body.single .ef-post-body,
body.single .ef-single-content,
body.single .ef-single-content--light {
  background: #ffffff !important;
}
/* Kill any dark sections between hero and content */
body.single .ef-single-meta {
  background: #f7f5f2 !important;
  border-top: 1px solid rgba(0,0,0,0.08) !important;
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
}
body.single .ef-single-meta * {
  color: #555 !important;
}
body.single .ef-single-hero-rule {
  background: #b8922a !important;
}
/* Pagination and CTA at bottom — white */
body.single .ef-related-posts,
body.single .ef-single-cta-bar {
  background: #f7f5f2 !important;
}
body.single .ef-single-cta-bar h2,
body.single .ef-single-cta-bar p {
  color: #1a1a1a !important;
}

/* ── SINGLE POST — kill ALL dark backgrounds precisely ── */
.ef-single-main,
.ef-single-content-section,
.ef-single-content-wrap,
.ef-single-meta-bar,
.ef-single-hero-rule,
.ef-single-tags,
.ef-single-share,
.ef-related-posts-section,
.ef-single-cta-section {
  background: #ffffff !important;
}
.ef-single-hero-rule {
  background: rgba(184,146,42,0.3) !important;
  height: 1px !important;
}
.ef-single-meta-bar {
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
  padding: 1rem 2rem !important;
}
.ef-single-cat-badge {
  color: #b8922a !important;
  border-color: rgba(184,146,42,0.3) !important;
  background: transparent !important;
}
.ef-single-date { color: #888 !important; }

/* ══════════════════════════════════════════════════════
   SINGLE POST — Force correct fonts & kill all white text
   ══════════════════════════════════════════════════════ */
body.single,
body.single-post {
  font-family: 'Inter', sans-serif !important;
  color: #2a2a2a !important;
}

/* Kill any inherited white text on single posts */
body.single *:not(.site-header):not(.site-header *):not(.ef-single-hero):not(.ef-single-hero *) {
  color: inherit;
}

.ef-post-content,
.ef-post-content p,
.ef-post-content li,
.ef-post-content td,
.ef-post-content span,
.entry-content,
.entry-content p,
.entry-content li {
  font-family: 'Inter', sans-serif !important;
  font-weight: 300 !important;
  font-size: 1.05rem !important;
  line-height: 1.85 !important;
  color: #2a2a2a !important;
}

.ef-post-content h2,
.ef-post-content h3,
.ef-post-content h4,
.entry-content h2,
.entry-content h3 {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: clamp(1.4rem, 2.5vw, 2rem) !important;
  letter-spacing: 0.04em !important;
  color: #1a1a1a !important;
  font-weight: 400 !important;
  margin: 2.5rem 0 0.75rem !important;
}

.ef-post-content a,
.entry-content a {
  color: #b8922a !important;
  text-decoration: underline !important;
}

.ef-post-content img,
.entry-content img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 2rem auto !important;
}

/* ══════════════════════════════════════════════════════
   COMMENTS — Full redesign to match site
   ══════════════════════════════════════════════════════ */
#comments {
  background: #f7f5f2 !important;
  padding: 3rem 0 !important;
  border-top: 1px solid rgba(0,0,0,0.08) !important;
  font-family: 'Inter', sans-serif !important;
}

#comments h2.comments-title,
#comments .wp-block-heading {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 2rem !important;
  letter-spacing: 0.05em !important;
  color: #1a1a1a !important;
  margin-bottom: 2rem !important;
  font-weight: 400 !important;
}

.comment-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 3rem !important;
}

.comment-list li.comment {
  background: #fff !important;
  border: 1px solid rgba(0,0,0,0.07) !important;
  padding: 1.5rem !important;
  margin-bottom: 1rem !important;
  list-style: none !important;
}

.comment-author .fn {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  color: #1a1a1a !important;
}

.comment-meta,
.comment-metadata {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.72rem !important;
  color: #aaa !important;
  margin-bottom: 0.75rem !important;
}

.comment-meta a,
.comment-metadata a {
  color: #aaa !important;
  text-decoration: none !important;
}

.comment-content p {
  font-family: 'Inter', sans-serif !important;
  font-weight: 300 !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
  color: #444 !important;
  margin: 0 !important;
}

.reply a {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #b8922a !important;
  text-decoration: none !important;
}

/* Comment form */
#respond {
  background: #fff !important;
  padding: 2rem !important;
  border: 1px solid rgba(0,0,0,0.07) !important;
}

#respond h3#reply-title {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 1.5rem !important;
  letter-spacing: 0.05em !important;
  color: #1a1a1a !important;
  font-weight: 400 !important;
  margin-bottom: 1.5rem !important;
}

#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"],
#respond textarea {
  width: 100% !important;
  background: #f7f5f2 !important;
  border: 1px solid rgba(0,0,0,0.12) !important;
  padding: 0.75rem 1rem !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.9rem !important;
  color: #2a2a2a !important;
  margin-bottom: 1rem !important;
  box-sizing: border-box !important;
}

#respond input[type="submit"] {
  background: #b8922a !important;
  color: #000 !important;
  border: none !important;
  padding: 0.8rem 2rem !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
}

#respond input[type="submit"]:hover {
  background: #d4a843 !important;
}

.comment-form label {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #888 !important;
  display: block !important;
  margin-bottom: 0.3rem !important;
}

/* ══════════════════════════════════════════════════════
   KILL KADENCE DARK MODE on blog posts — force white bg + dark text
   ══════════════════════════════════════════════════════ */
body.single.dark-mode-body,
body.single.ef-dark-theme,
body.single-post.dark-mode-body {
  background: #ffffff !important;
  color: #2a2a2a !important;
}

/* Kill Kadence's global dark mode text color on singles */
body.single .entry-content,
body.single .entry-content *:not(a):not(.ef-single-hero):not(.ef-single-hero *):not(code):not(pre) {
  color: #2a2a2a !important;
}

body.single a:not(.site-header a):not(nav a) {
  color: #b8922a !important;
}

/* Force Inter font on post body — not Garamond */
body.single .entry-content p,
body.single .ef-post-content p,
body.single article p {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-weight: 300 !important;
  font-size: 1.05rem !important;
  line-height: 1.85 !important;
  color: #2a2a2a !important;
}

/* ── Single post hero title — force Bebas Neue ── */
body.single .ef-single-hero h1,
body.single h1.ef-single-hero-title,
body.single .entry-title,
body.single h1.entry-title {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: clamp(1.8rem, 3.5vw, 3rem) !important;
  letter-spacing: 0.03em !important;
  font-weight: 400 !important;
  font-style: normal !important;
  color: #ffffff !important;
}

/* ── NUCLEAR BEBAS NEUE on single post H1 ── */
body.single h1,
body.single-post h1 {
  font-family: 'Bebas Neue', sans-serif !important;
  font-style: normal !important;
  letter-spacing: 0.03em !important;
}

/* ── CTA section at post bottom — dark, readable ── */
body.single .ef-single-cta-section,
body.single-post .ef-single-cta-section {
  background: #1a1a1a !important;
  border-top: 3px solid #b8922a !important;
}

body.single .ef-single-cta-section h2,
body.single-post .ef-single-cta-section h2 {
  color: #ffffff !important;
  font-style: normal !important;
}

body.single .ef-single-cta-section p {
  color: rgba(255,255,255,0.65) !important;
}

/* ── Button text always black on gold ── */
a[style*="background:#b8922a"],
.btn-gold {
  color: #000000 !important;
}

/* ── JOURNAL PAGINATION — fully visible ── */
.ef-journal-page .page-numbers,
.ef-journal-page .nav-links a,
.ef-journal-page .nav-links span,
body.blog .page-numbers,
body.home .page-numbers {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  color: #1a1a1a !important;
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.18) !important;
  padding: 0.55rem 1rem !important;
  margin: 0 0.2rem !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: all 0.2s ease !important;
}

.ef-journal-page .page-numbers:hover,
.ef-journal-page .nav-links a:hover,
body.blog .page-numbers:hover {
  background: #b8922a !important;
  color: #ffffff !important;
  border-color: #b8922a !important;
}

.ef-journal-page .page-numbers.current,
body.blog .page-numbers.current {
  background: #b8922a !important;
  color: #ffffff !important;
  border-color: #b8922a !important;
}

.ef-journal-page .page-numbers.dots {
  border: none !important;
  background: transparent !important;
  color: #888 !important;
}
