/*
Theme Name: BuyHerBagNotHerBody
Theme URI: https://www.buyherbagnotherbody.com
Author: BuyHerBagNotHerBody
Author URI: https://www.buyherbagnotherbody.com
Description: A modern, editorial lifestyle and wellness journal theme. Clean white editorial base with warm champagne accents and elegant Cormorant Garamond typography.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: buyherbagnotherbody
Tags: blog, fashion, lifestyle, beauty, wellness, editorial
*/

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  --color-bg:         #FEFEFE;
  --color-bg-alt:     #F8F5F1;
  --color-bg-dark:    #0F0F0F;
  --color-text:       #1A1A1A;
  --color-text-muted: #7A7269;
  --color-accent:     #B8956A;
  --color-accent-lt:  #E8D5BE;
  --color-accent-dk:  #8B6840;
  --color-border:     #E8E3DC;
  --color-white:      #FFFFFF;

  --font-heading:     'Cormorant Garamond', Georgia, serif;
  --font-body:        'DM Sans', -apple-system, sans-serif;
  --font-label:       'Montserrat', sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  --transition: 0.3s ease;
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.14);

  --max-width: 1280px;
  --container-pad: clamp(20px, 5vw, 80px);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover {
  color: var(--color-accent);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

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

.container--narrow {
  max-width: 860px;
}

.section {
  padding-top: clamp(60px, 8vw, 120px);
  padding-bottom: clamp(60px, 8vw, 120px);
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section--dark {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.label {
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-header .label {
  display: block;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  font-style: italic;
}

.section-header p {
  margin-top: 16px;
  color: var(--color-text-muted);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  cursor: pointer;
  border-radius: 0;
}

.btn--primary {
  background-color: var(--color-text);
  color: var(--color-white);
  border: 2px solid var(--color-text);
}

.btn--primary:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-text);
}

.btn--outline:hover {
  background-color: var(--color-text);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn--outline-light {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn--outline-light:hover {
  background-color: var(--color-white);
  color: var(--color-text);
  border-color: var(--color-white);
}

.btn--accent {
  background-color: var(--color-accent);
  color: var(--color-white);
  border: 2px solid var(--color-accent);
}

.btn--accent:hover {
  background-color: var(--color-accent-dk);
  border-color: var(--color-accent-dk);
  color: var(--color-white);
  transform: translateY(-1px);
}

/* =============================================
   SITE HEADER & NAVIGATION
   ============================================= */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(254, 254, 254, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

#site-header.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.site-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo .logo-main {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  font-style: italic;
  color: var(--color-text);
  line-height: 1;
  letter-spacing: -0.02em;
}

.site-logo .logo-sub {
  font-family: var(--font-label);
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
  position: relative;
  padding-bottom: 3px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: width var(--transition);
}

.main-nav a:hover,
.main-nav a.current-menu-item {
  color: var(--color-accent);
}

.main-nav a:hover::after,
.main-nav a.current-menu-item::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-text);
  cursor: pointer;
  transition: color var(--transition);
}

.header-search-btn:hover { color: var(--color-accent); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-white);
  z-index: 999;
  padding: 40px var(--container-pad);
  overflow-y: auto;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.mobile-menu ul li a {
  display: block;
  padding: 18px 0;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu ul li a:hover {
  color: var(--color-accent);
  padding-left: 12px;
  transition: padding-left var(--transition), color var(--transition);
}

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

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
}

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

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    135deg,
    rgba(15,15,15,0.72) 0%,
    rgba(15,15,15,0.45) 60%,
    rgba(15,15,15,0.18) 100%
  );
}

.hero-no-image {
  background: linear-gradient(135deg, #1A1614 0%, #2D2420 40%, #3A2E28 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 80px;
  max-width: 780px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-eyebrow .label {
  color: var(--color-accent-lt);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background-color: var(--color-accent);
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--color-white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: normal;
  font-weight: 700;
  color: var(--color-accent-lt);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

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

/* =============================================
   FEATURED POST STRIP
   ============================================= */
.featured-strip {
  background-color: var(--color-text);
  padding: 20px 0;
  overflow: hidden;
}

.featured-strip-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.featured-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.featured-strip-item::before {
  content: '✦';
  color: var(--color-accent);
  font-size: 0.5rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================
   LATEST POSTS GRID
   ============================================= */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.post-card {
  display: flex;
  flex-direction: column;
}

.post-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--color-bg-alt);
  margin-bottom: 24px;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.post-card:hover .post-card-image img {
  transform: scale(1.05);
}

.post-card-image .post-category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
}

.post-category-badge {
  display: inline-block;
  padding: 5px 12px;
  background-color: var(--color-text);
  color: var(--color-white);
  font-family: var(--font-label);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color var(--transition);
}

.post-category-badge:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

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

.post-card-date {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.post-card-meta-divider {
  width: 1px;
  height: 10px;
  background-color: var(--color-border);
}

.post-card h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 12px;
  transition: color var(--transition);
  min-width: 0;
  overflow-wrap: break-word;
}

.post-card:hover h3 {
  color: var(--color-accent);
}

.post-card-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 20px;
  min-width: 0;
}

.post-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-top: auto;
}

.post-card-link::after {
  content: '→';
  transition: transform var(--transition);
}

.post-card-link:hover {
  color: var(--color-accent);
}

.post-card-link:hover::after {
  transform: translateX(4px);
}

/* Hero-style large post card */
.post-card--featured {
  grid-column: 1 / 3;
  flex-direction: row;
  gap: 40px;
  align-items: stretch;
}

.post-card--featured .post-card-image {
  width: 55%;
  flex-shrink: 0;
  aspect-ratio: auto;
  margin-bottom: 0;
  min-height: 380px;
}

.post-card--featured .post-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0;
  min-width: 0;
  overflow: hidden;
}

.post-card--featured h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  min-width: 0;
  overflow-wrap: break-word;
}

.post-card--featured .post-card-excerpt {
  -webkit-line-clamp: 4;
  min-width: 0;
  overflow: hidden;
  max-width: 100%;
}

/* =============================================
   CATEGORY GRID
   ============================================= */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
}

.category-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: block;
  background-color: var(--color-text);
}

.category-card-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.category-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, opacity var(--transition);
  opacity: 0.55;
}

.category-card:hover .category-card-bg img {
  transform: scale(1.08);
  opacity: 0.45;
}

.category-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
}

.category-card-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(255,255,255,0.15);
  line-height: 1;
  margin-bottom: 4px;
}

.category-card-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  font-style: italic;
  color: var(--color-white);
  display: block;
  margin-bottom: 6px;
  transition: color var(--transition);
}

.category-card:hover .category-card-name {
  color: var(--color-accent-lt);
}

.category-card-explore {
  font-family: var(--font-label);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition), gap var(--transition);
}

.category-card:hover .category-card-explore {
  color: var(--color-accent-lt);
  gap: 10px;
}

.category-card-no-image {
  background-color: var(--color-bg-alt);
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.about-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--color-accent);
  z-index: -1;
}

.about-visual-tag {
  position: absolute;
  top: 24px;
  right: -20px;
  background-color: var(--color-text);
  color: var(--color-white);
  padding: 12px 20px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-style: italic;
}

.about-text .label {
  display: block;
  margin-bottom: 16px;
}

.about-text h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  margin-bottom: 28px;
}

.about-text h2 strong {
  font-weight: 700;
  display: block;
}

.about-text p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-text .about-signature {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--color-accent);
  margin-top: 8px;
  margin-bottom: 32px;
}

.about-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  margin-top: 32px;
}

.about-stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 4px;
}

.about-stat-label {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* =============================================
   QUOTE BANNER
   ============================================= */
.quote-banner {
  background-color: var(--color-accent);
  padding: clamp(40px, 6vw, 80px) 0;
  text-align: center;
}

.quote-banner blockquote {
  max-width: 800px;
  margin: 0 auto;
}

.quote-banner blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 20px;
}

.quote-banner blockquote cite {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-style: normal;
}

/* =============================================
   NEWSLETTER / CONTACT STRIP
   ============================================= */
.newsletter-section {
  background-color: var(--color-bg-dark);
  padding: clamp(60px, 8vw, 100px) 0;
  text-align: center;
}

.newsletter-inner {
  max-width: 580px;
  margin: 0 auto;
}

.newsletter-inner .label {
  color: var(--color-accent);
  display: block;
  margin-bottom: 16px;
}

.newsletter-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--color-white);
  margin-bottom: 16px;
}

.newsletter-inner p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  margin-bottom: 36px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto 16px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  background-color: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--color-white);
  font-size: 0.9rem;
  transition: border-color var(--transition), background-color var(--transition);
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.4);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--color-accent);
  background-color: rgba(255,255,255,0.12);
}

.newsletter-form button {
  padding: 14px 28px;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--transition);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background-color: var(--color-accent-dk);
}

.newsletter-privacy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

/* =============================================
   SITE FOOTER
   ============================================= */
#site-footer {
  background-color: var(--color-text);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

.footer-brand .site-logo .logo-main,
.footer-brand .site-logo .logo-sub {
  color: rgba(255,255,255,0.8);
}

.footer-brand .site-logo .logo-sub {
  color: rgba(255,255,255,0.4);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  transition: border-color var(--transition), color var(--transition), background-color var(--transition);
  font-size: 0.75rem;
}

.footer-social a:hover {
  border-color: var(--color-accent);
  color: var(--color-white);
  background-color: var(--color-accent);
}

.footer-col-title {
  font-family: var(--font-label);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-accent);
}

.footer-contact-item span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}

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

/* =============================================
   SINGLE POST PAGE
   ============================================= */
.post-hero {
  padding-top: 120px;
  padding-bottom: 60px;
  background-color: var(--color-bg-alt);
  text-align: center;
}

.post-hero .post-category-badge {
  margin-bottom: 20px;
}

.post-hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  font-style: italic;
  max-width: 860px;
  margin: 0 auto 24px;
}

.post-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.post-hero-meta span {
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-featured-image {
  max-height: 600px;
  overflow: hidden;
}

.post-featured-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.post-body-wrap {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 64px;
  padding-bottom: 80px;
}

.post-content {
  min-width: 0;
  overflow: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.post-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #2A2A2A;
  margin-bottom: 1.5em;
}

.post-content h2 {
  font-size: 1.8rem;
  margin-top: 2em;
  margin-bottom: 0.6em;
}

.post-content h3 {
  font-size: 1.4rem;
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}

.post-content img {
  max-width: 100%;
  height: auto;
  margin: 2em 0;
}

.post-content blockquote {
  border-left: 3px solid var(--color-accent);
  padding: 20px 28px;
  margin: 2em 0;
  background-color: var(--color-bg-alt);
}

.post-content blockquote p {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--color-text);
  margin: 0;
}

.post-content a {
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent-lt);
}

.post-content a:hover {
  color: var(--color-accent-dk);
  border-bottom-color: var(--color-accent-dk);
}

.post-content ul, .post-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}

.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }

.post-content li { margin-bottom: 0.5em; }

/* Post Sidebar */
.post-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
}

.sidebar-widget:last-child {
  border-bottom: none;
}

.sidebar-widget-title {
  font-family: var(--font-label);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.sidebar-recent-post {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.sidebar-recent-post-thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  overflow: hidden;
  background-color: var(--color-bg-alt);
}

.sidebar-recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-recent-post-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.3;
  min-width: 0;
  overflow-wrap: break-word;
}

.sidebar-recent-post-title:hover {
  color: var(--color-accent);
}

.sidebar-recent-post-date {
  font-family: var(--font-label);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: block;
  margin-top: 4px;
}

.sidebar-categories a {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition), padding-left var(--transition);
}

.sidebar-categories a:hover {
  color: var(--color-accent);
  padding-left: 6px;
}

.sidebar-categories a span {
  font-family: var(--font-label);
  font-size: 0.6rem;
  background-color: var(--color-bg-alt);
  padding: 2px 8px;
}

/* Post footer / tags */
.post-tags {
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
  margin-top: 48px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.post-tags .label {
  color: var(--color-text);
}

.post-tag {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--color-border);
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: border-color var(--transition), color var(--transition), background-color var(--transition);
}

.post-tag:hover {
  border-color: var(--color-accent);
  color: var(--color-white);
  background-color: var(--color-accent);
}

/* =============================================
   ARCHIVE PAGE
   ============================================= */
.archive-header {
  padding-top: 130px;
  padding-bottom: 60px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.archive-header h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 12px;
}

.archive-header p {
  color: var(--color-text-muted);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding: 64px 0;
}

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 40px 0;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid var(--color-border);
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.pagination a:hover,
.pagination .current {
  background-color: var(--color-text);
  color: var(--color-white);
  border-color: var(--color-text);
}

/* =============================================
   404 PAGE
   ============================================= */
.page-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
}

.page-404-number {
  font-family: var(--font-heading);
  font-size: clamp(8rem, 20vw, 16rem);
  font-weight: 700;
  font-style: italic;
  color: var(--color-accent-lt);
  line-height: 1;
  margin-bottom: 8px;
}

.page-404 h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-style: italic;
  margin-bottom: 16px;
}

.page-404 p {
  color: var(--color-text-muted);
  margin-bottom: 36px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   SEARCH OVERLAY
   ============================================= */
.search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15,15,15,0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.search-overlay.open {
  display: flex;
}

.search-overlay-inner {
  width: 100%;
  max-width: 680px;
  padding: 0 24px;
  text-align: center;
}

.search-overlay-label {
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
}

.search-overlay form {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 4px;
}

.search-overlay input[type="search"] {
  flex: 1;
  background: none;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-style: italic;
  padding: 12px 0;
}

.search-overlay input[type="search"]::placeholder {
  color: rgba(255,255,255,0.25);
}

.search-overlay button[type="submit"] {
  color: var(--color-accent);
  cursor: pointer;
  padding: 12px 16px;
}

.search-close {
  position: absolute;
  top: 28px;
  right: 28px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-size: 1.5rem;
  transition: color var(--transition);
}

.search-close:hover { color: var(--color-white); }

/* =============================================
   COMMENTS
   ============================================= */
.comments-area {
  padding-top: 48px;
  padding-bottom: 48px;
  border-top: 1px solid var(--color-border);
  margin-top: 48px;
}

.comments-title {
  font-size: 1.6rem;
  font-style: italic;
  margin-bottom: 32px;
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}

.comment-author cite {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
}

.comment-meta {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.comment-content p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.comment-respond {
  margin-top: 40px;
}

.comment-reply-title {
  font-size: 1.4rem;
  font-style: italic;
  margin-bottom: 24px;
}

#commentform label {
  display: block;
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  margin-top: 20px;
}

#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg);
  font-size: 0.9rem;
  color: var(--color-text);
  transition: border-color var(--transition);
  border-radius: var(--radius-sm);
}

#commentform input:focus,
#commentform textarea:focus {
  border-color: var(--color-accent);
  outline: none;
}

#commentform textarea {
  min-height: 140px;
  resize: vertical;
}

#commentform .submit {
  margin-top: 24px;
}

#commentform input[type="submit"] {
  padding: 14px 36px;
  background-color: var(--color-text);
  color: var(--color-white);
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}

#commentform input[type="submit"]:hover {
  background-color: var(--color-accent);
  transform: translateY(-1px);
}

/* =============================================
   RESPONSIVE BREAKPOINTS
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
  .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card--featured { grid-column: 1 / -1; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-grid { gap: 40px; }
  .post-body-wrap { grid-template-columns: minmax(0, 1fr) !important; max-width: 800px !important; }
  .post-sidebar { position: static; }
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }

  .posts-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .post-card--featured { flex-direction: column; }
  .post-card--featured .post-card-image { width: 100%; min-height: 240px; aspect-ratio: 16/9; }

  .category-grid { grid-template-columns: minmax(0, 1fr); }
  .category-card { aspect-ratio: 16/9; }

  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-visual { max-width: 500px; }
  .about-visual-accent { display: none; }
  .about-visual-tag { right: 0; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .newsletter-form { flex-direction: column; }
  .newsletter-form input[type="email"] { width: 100%; }
  .newsletter-form button { width: 100%; }

  .about-stats { flex-wrap: wrap; gap: 24px; }

  .archive-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .post-hero h1 { font-size: 1.8rem; }
}

/* =============================================
   WORDPRESS CORE CLASSES
   ============================================= */
.wp-block-image img,
.wp-block-cover img {
  max-width: 100%;
  height: auto;
}

.alignleft { float: left; margin-right: 20px; margin-bottom: 10px; }
.alignright { float: right; margin-left: 20px; margin-bottom: 10px; }
.aligncenter { text-align: center; margin: 0 auto; display: block; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(-50vw + 50%); }

.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8rem; color: var(--color-text-muted); text-align: center; margin-top: 8px; }

.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;
}

.sticky { border-left: 3px solid var(--color-accent); padding-left: 20px; }
