/*
Theme Name: Shadow Mirror Light
Template: generatepress
Author: Mosaic of Words
Version: 3.2.1 (Global Header Standardized)
*/

:root {
  --bg-cream: #f5f1e8;
  --bg-white: #ffffff;
  --text-navy: #1b1730;
  --text-grey: #6b6b80;
  --accent-gold: #d4af37;
  --accent-purple: #6f00ff;

  /* Global MoW form tokens */
  --mow-field-bg: rgba(245,241,232,.55);
  --mow-field-bg-focus: rgba(255,255,255,.88);
  --mow-field-border: rgba(27,23,48,.14);
  --mow-field-border-focus: rgba(212,175,55,.7);
  --mow-field-ring: rgba(212,175,55,.18);
  --mow-field-text: var(--text-navy);
  --mow-field-radius: 12px;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--bg-cream);
  color: var(--text-navy);
  font-family: "Lora", serif;
  margin: 0;
  padding-top: 70px; /* Aligned with standardized solid header height */
  line-height: 1.7;
  font-size: 19px;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Playfair Display", serif;
  color: var(--text-navy);
  font-weight: 400;
  margin-top: 0;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: var(--accent-purple);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- ALIVE ELEMENTS (The Missing Effects) --- */

/* 1. Background Orbs (Subtle moving light behind content) */

.orb-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: floatOrb 20s infinite alternate;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(233, 179, 251, 0.3);
  top: -10%;
  left: -10%;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(212, 175, 55, 0.1);
  bottom: 10%;
  right: -5%;
  animation-delay: -5s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0); }
  100% { transform: translate(30px, -30px); }
}

/* 2. Glass Cards (White with Soft Shadow) */

.glass-card,
.post-card {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid rgba(27, 23, 48, 0.05);
  box-shadow: 0 10px 30px rgba(27, 23, 48, 0.03);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.glass-card:hover,
.post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(111, 0, 255, 0.1);
  border-color: var(--accent-gold);
}

/* --- LAYOUTS --- */

.mow-section {
  padding: 100px 20px;
  position: relative;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- TYPOGRAPHY & BUTTONS --- */

.text-center {
  text-align: center;
}

.btn-gold {
  display: inline-block;
  padding: 15px 40px;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  transition: 0.3s;
  background: transparent;
}

.btn-gold:hover {
  background: var(--accent-gold);
  color: #fff;
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.btn-purple {
  display: inline-block;
  padding: 15px 40px;
  background: var(--accent-purple);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  transition: 0.3s;
  border: none;
}

.btn-purple:hover {
  background: #5a00d1;
  box-shadow: 0 5px 20px rgba(111, 0, 255, 0.3);
  color: #fff;
}

/* --- ANIMATIONS --- */

.section-fadeup {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.section-fadeup.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- STANDARDIZED GLOBAL HEADER --- */

header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #050509 !important; /* Solid Dark Anchor */
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  z-index: 999999;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
}

/* High contrast for Desktop links */
.desktop-nav a {
  color: #ffffff !important;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.desktop-nav a:hover {
  color: var(--accent-gold) !important;
}

/* MOBILE INTERACTION FIXES: Ensuring Visibility on Light Backgrounds */

/* 1. Mobile Hamburger Toggle Bars */
#mobile-btn div {
  background: var(--text-navy) !important; /* Force dark bars for light backgrounds */
}

/* 2. Mobile Drawer Background & Links */
#mobile-drawer {
  background: var(--bg-cream) !important; /* Ensuring the menu itself is light */
}

#mobile-drawer a {
  color: var(--text-navy) !important; /* High contrast dark text for menu links */
  font-weight: 500;
}

#mobile-drawer a:hover {
  color: var(--accent-purple) !important;
}

/* --- FOOTER --- */

footer {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid #eee;
}

.footer-links a {
  margin: 0 15px;
  color: var(--text-grey);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .mow-hero h1 { font-size: 3rem !important; }
}

/* =========================================
   NEW ADDITION: ARCHETYPE SPLIT & PRICING
========================================= */

.arch-split-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 50px auto 0;
  align-items: center;
  text-align: left;
}

.arch-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.arch-mini-card {
  background: #fff;
  border: 1px solid rgba(27, 23, 48, 0.08);
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.arch-mini-card:hover {
  transform: translateY(-5px);
  border-color: #d4af37;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.arch-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 8px;
}

.arch-name {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: #1b1730;
  font-size: 1.1rem;
  display: block;
}

.arch-tag {
  font-family: "Lora", serif;
  font-size: 0.8rem;
  color: #666;
}

.member-premium-box {
  background: #1b1730;
  color: #fff;
  padding: 45px;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 60px rgba(27, 23, 48, 0.4);
  position: relative;
  overflow: hidden;
}

.usp-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.usp-item {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  align-items: flex-start;
}

.usp-icon {
  color: #d4af37;
  font-size: 1.1rem;
  margin-top: 3px;
}

.usp-text {
  font-family: "Lora", serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.usp-text strong {
  color: #fff;
  font-weight: 600;
}

.price-tag {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: #d4af37;
  margin-top: 30px;
  margin-bottom: 5px;
}

.price-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 900px) {
  .arch-split-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .arch-mini-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================
   Poetry page (overrides)
========================== */

body.single-poetry .poetry-container,
body.page-template .poetry-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 8rem 3.75rem 7rem;
  border-left: 1px solid rgba(27, 23, 48, 0.08);
  border-right: 1px solid rgba(27, 23, 48, 0.08);
  background: linear-gradient(
    to bottom,
    transparent,
    #fffbf2 5%,
    #fffbf2 95%,
    transparent
  );
}

body.single-poetry .poem-title,
body.page-template .poem-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #1b1730;
  text-wrap: balance;
}

body.single-poetry .poem-body,
body.page-template .poem-body {
  font-family: "Lora", serif;
  font-size: clamp(1.06rem, 1rem + 0.45vw, 1.28rem);
  line-height: 2;
  color: #0b0b0b;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.single-poetry .poem-body > *,
body.page-template .poem-body > * {
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  body.single-poetry .poetry-container,
  body.page-template .poetry-container {
    padding: 3.75rem 1.15rem 4.25rem;
    border: none;
    background: transparent;
  }

  body.single-poetry .poem-body,
  body.page-template .poem-body {
    font-size: clamp(1.08rem, 1rem + 0.8vw, 1.28rem);
    line-height: 2.05;
    text-align: center;
  }

  body.single-poetry .poem-body > *,
  body.page-template .poem-body > * {
    max-width: 42ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .poetry-container,
  .mosaic-side-nav,
  .mosaic-side-tools {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================
   MoW Forms System (Global)
   (Comments, Login, generic forms)
========================== */

body:not(.wp-admin) :where(form) :where(
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="search"],
  input[type="tel"],
  input[type="url"],
  input[type="number"],
  input[type="date"],
  select,
  textarea
) {
  width: 100%;
  max-width: 100%;
  color: var(--mow-field-text);
  background: var(--mow-field-bg);
  border: 1px solid var(--mow-field-border);
  border-radius: var(--mow-field-radius);
  padding: 0.9rem 1rem;
  font-family: "Lora", serif;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}

body:not(.wp-admin) :where(form) textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.75;
}

body:not(.wp-admin) :where(form) ::placeholder {
  color: rgba(27, 23, 48, 0.45);
}

body:not(.wp-admin) :where(form) :where(
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="search"],
  input[type="tel"],
  input[type="url"],
  input[type="number"],
  input[type="date"],
  select,
  textarea
):focus {
  outline: none;
  background: var(--mow-field-bg-focus);
  border-color: var(--mow-field-border-focus);
  box-shadow: 0 0 0 4px var(--mow-field-ring);
}

body:not(.wp-admin) :where(form) :where(label) {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  color: rgba(27, 23, 48, 0.78);
}

/* Buttons (global) */

body:not(.wp-admin) :where(form) :where(
  button,
  input[type="submit"],
  .button,
  .wp-element-button
) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.95rem 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(27, 23, 48, 0.12);
  background: var(--text-navy);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

body:not(.wp-admin) :where(form) :where(
  button:hover,
  input[type="submit"]:hover,
  .button:hover,
  .wp-element-button:hover
) {
  background: var(--accent-gold);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(212, 175, 55, 0.22);
}

body:not(.wp-admin) :where(form) :where(
  button:focus-visible,
  input[type="submit"]:focus-visible,
  .button:focus-visible,
  .wp-element-button:focus-visible
) {
  outline: 2px solid rgba(212, 175, 55, 0.95);
  outline-offset: 3px;
}

/* Comment form wrapper */

#comments,
#respond {
  scroll-margin-top: 110px;
}

#respond {
  margin-top: 3.5rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(27, 23, 48, 0.07);
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(27, 23, 48, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: clamp(1.4rem, 1.1rem + 1.2vw, 2.4rem);
}

#reply-title {
  margin: 0 0 1rem;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.comment-notes,
.logged-in-as {
  color: rgba(27, 23, 48, 0.65);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 1.2rem;
}

.comment-form-cookies-consent {
  display: flex; gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: rgba(27, 23, 48, 0.7);
}

.comment-form-cookies-consent input {
  margin-top: 0.25rem;
}

/* WooCommerce generic spacing + notices */

body.woocommerce :where(.form-row) {
  margin-bottom: 1rem;
}

body.woocommerce :where(.woocommerce-error, .woocommerce-info, .woocommerce-message) {
  border-radius: 14px;
}

/* WP Login/Register */

body.login {
  background: var(--bg-cream);
}

body.login #login {
  width: min(420px, calc(100% - 32px));
}

body.login #loginform,
body.login #registerform,
body.login #lostpasswordform {
  border-radius: 16px;
  border: 1px solid rgba(27, 23, 48, 0.07);
  box-shadow: 0 18px 60px rgba(27, 23, 48, 0.06);
  background: rgba(255, 255, 255, 0.78);
  padding: 28px;
}

body.login .message,
body.login #login_error {
  border-radius: 12px;
}

/* =========================================================
   MoW Checkout — Beautified (Premium, Polished)
   Replace ONLY the checkout block at END of style.css
========================================================= */

:root {
  --mow-checkout-max: 1120px;
  --mow-checkout-gap: 28px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   0) Override parent container constraints
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

body.woocommerce-checkout .site-content,
body.woocommerce-checkout .content-area,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout article,
body.woocommerce-checkout .entry-content {
  max-width: none !important;
  width: 100% !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1) Page title
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

body.woocommerce-checkout .entry-title {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
  text-align: center;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   2) NOTICES & ALERTS (beautified)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

body.woocommerce-checkout .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-form-coupon-toggle {
  width: min(var(--mow-checkout-max), calc(100% - 32px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 2rem;
}

/* Success notice (green) */
.woocommerce .woocommerce-message {
  background: linear-gradient(135deg, rgba(6, 118, 71, 0.08), rgba(6, 118, 71, 0.04));
  border: 1px solid rgba(6, 118, 71, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-navy);
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(6, 118, 71, 0.08);
}

.woocommerce .woocommerce-message::before {
  content: "✓";
  color: #067647;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.woocommerce .woocommerce-message a {
  color: #067647;
  font-weight: 600;
  text-decoration: underline;
}

/* Info notice (blue) */
.woocommerce .woocommerce-info {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.04));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-navy);
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
}

.woocommerce .woocommerce-info::before {
  content: "ℹ";
  color: #3b82f6;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Error notice (red) */
.woocommerce .woocommerce-error {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(220, 38, 38, 0.04));
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-navy);
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.08);
}

.woocommerce .woocommerce-error::before {
  content: "⚠";
  color: #dc2626;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.woocommerce .woocommerce-error li {
  list-style: none;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   3) COUPON TOGGLE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 8px 0;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
  content: "🏷";
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a {
  color: var(--accent-gold);
  font-weight: 600;
}

.woocommerce-checkout form.checkout_coupon {
  width: min(var(--mow-checkout-max), calc(100% - 32px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(27, 23, 48, 0.1);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.woocommerce-checkout form.checkout_coupon input {
  flex: 1;
  min-width: 180px;
}

.woocommerce-checkout form.checkout_coupon button {
  background: var(--accent-gold);
  color: var(--text-navy);
  border-radius: 12px;
  padding: 0.7rem 1.4rem !important;
  font-weight: 600;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   4) MAIN CHECKOUT FORM
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

body.woocommerce-checkout form.checkout {
  width: min(var(--mow-checkout-max), calc(100% - 32px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

@media (min-width: 980px) {
  body.woocommerce-checkout form.checkout {
    grid-template-columns: minmax(640px, 1fr) minmax(360px, 420px);
    gap: var(--mow-checkout-gap);
  }

  body.woocommerce-checkout #customer_details {
    grid-column: 1 / 2;
  }

  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review {
    grid-column: 2 / 3;
  }

  body.woocommerce-checkout #order_review {
    position: sticky;
    top: 110px;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   5) CUSTOMER DETAILS CARDS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2,
body.woocommerce-checkout #order_review {
  width: 100% !important;
  min-width: 0 !important;
}

body.woocommerce-checkout #customer_details {
  display: block;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2,
body.woocommerce-checkout #order_review {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(27, 23, 48, 0.08);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(27, 23, 48, 0.07);
  padding: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
  margin-bottom: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   6) SECTION HEADINGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

body.woocommerce-checkout h3,
body.woocommerce-checkout #order_review_heading {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  color: var(--text-navy);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin: 0 0 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7) FORM FIELDS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.woocommerce form .form-row {
  width: 100%;
  margin: 0 0 1rem;
}

.woocommerce form .form-row label {
  display: inline-block;
  font-size: 0.9rem;
  color: rgba(27, 23, 48, 0.8);
  margin-bottom: 0.45rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.woocommerce form .form-row .required {
  color: var(--accent-gold);
  font-weight: 600;
  margin-left: 2px;
}

/* Inputs & selects */
.woocommerce form .input-text,
.woocommerce form select,
.woocommerce form textarea {
  width: 100%;
  color: var(--text-navy);
  background: #ffffff;
  border: 1px solid rgba(27, 23, 48, 0.12);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-family: "Lora", serif;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: all 0.2s ease;
  min-height: 44px;
}

.woocommerce form select {
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231b1730' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  appearance: none;
  -webkit-appearance: none;
}

.woocommerce form .input-text:focus,
.woocommerce form select:focus,
.woocommerce form textarea:focus {
  outline: none;
  background: #fafaf8;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.woocommerce form textarea {
  min-height: 110px;
  resize: vertical;
}

/* Validation errors */
.woocommerce form .form-row.woocommerce-invalid .input-text,
.woocommerce form .form-row.woocommerce-invalid select,
.woocommerce form .form-row.woocommerce-invalid textarea {
  border-color: #dc2626;
  background: rgba(220, 38, 38, 0.02);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   8) ORDER REVIEW TABLE (beautified)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

body.woocommerce-checkout table.shop_table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(27, 23, 48, 0.08);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

body.woocommerce-checkout table.shop_table th {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.04));
  border-bottom: 2px solid rgba(212, 175, 55, 0.25);
  padding: 13px 14px;
  text-align: left;
  font-weight: 600;
  color: var(--text-navy);
  letter-spacing: 0.3px;
  font-family: "Playfair Display", serif;
}

body.woocommerce-checkout table.shop_table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(27, 23, 48, 0.06);
  color: var(--text-navy);
}

body.woocommerce-checkout table.shop_table tr:last-child td {
  border-bottom: none;
}

/* Total row (darker) */
body.woocommerce-checkout table.shop_table tr.order-total td {
  background: rgba(212, 175, 55, 0.05);
  padding: 14px 14px;
  font-weight: 600;
  border-top: 2px solid rgba(212, 175, 55, 0.2);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   9) PAYMENT SECTION (Razorpay box)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

body.woocommerce-checkout #payment {
  background: transparent;
  border: 0;
  padding: 0;
}

body.woocommerce-checkout #payment .payment_methods {
  background: transparent;
  border: 0;
  padding: 0;
  list-style: none;
}

body.woocommerce-checkout #payment .payment_method {
  margin-bottom: 1.2rem;
}

body.woocommerce-checkout #payment .payment_method input[type="radio"] {
  margin-right: 8px;
}

body.woocommerce-checkout #payment .payment_method label {
  display: flex;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
}

body.woocommerce-checkout #payment div.payment_box {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  padding: 16px;
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 0.9rem;
  color: rgba(27, 23, 48, 0.85);
  line-height: 1.6;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   10) CHECKBOXES (custom)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.woocommerce-checkout input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(27, 23, 48, 0.3);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  background: #fff;
  transition: all 0.2s ease;
  margin-right: 8px;
  flex-shrink: 0;
  margin-top: 2px;
}

.woocommerce-checkout input[type="checkbox"]:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.woocommerce-checkout input[type="checkbox"]:checked {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

.woocommerce-checkout input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: -2px;
  left: 3px;
  color: var(--text-navy);
  font-weight: 700;
  font-size: 14px;
}

.woocommerce-checkout .form-row label {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.8rem;
  gap: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   11) PRIMARY BUTTON (Place Order)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

body.woocommerce-checkout #place_order {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-purple), #5a00d1);
  border: 0;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 14px 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(111, 0, 255, 0.25);
  justify-content: center;
}

body.woocommerce-checkout #place_order:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(111, 0, 255, 0.35);
}

body.woocommerce-checkout #place_order:active {
  transform: translateY(0);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   12) PRIVACY & DATA TEXT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

body.woocommerce-checkout .form-row.form-row-wide {
  font-size: 0.85rem;
  color: rgba(27, 23, 48, 0.7);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

body.woocommerce-checkout .form-row.form-row-wide a {
  color: var(--accent-gold);
  font-weight: 600;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   13) RESPONSIVE TWEAKS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media (max-width: 768px) {
  body.woocommerce-checkout .entry-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  body.woocommerce-checkout h3,
  body.woocommerce-checkout #order_review_heading {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .woocommerce form .input-text,
  .woocommerce form select,
  .woocommerce form textarea {
    padding: 0.75rem 0.9rem;
    font-size: 16px; /* prevents iOS zoom */
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  body.woocommerce-checkout * {
    transition: none !important;
  }
}

/* Reduce motion */

@media (prefers-reduced-motion: reduce) {
  body.woocommerce-checkout * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* ━━━ GeneratePress Override ━━━ */
body.single-post .site-content,
body.single-post .content-area,
body.single .site-content,
body.single .content-area {
  max-width: none !important;
  padding: 0 !important;
}

body.single #main {
  max-width: none !important;
}
/* =========================================================
   SINGLE POST REDESIGN V2.0 — Interactive Reading Experience
   ========================================================= */

/* ━━━ Layout Grid ━━━ */
.single-post-layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px 100px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 1024px) {
  .single-post-layout {
    grid-template-columns: minmax(720px, 1fr) 320px;
    gap: 60px;
  }
}

.single-post-container {
  width: 100%;
  min-width: 0;
}

.single-post-article {
  padding: clamp(2rem, 2rem + 1.5vw, 3.5rem);
  margin-bottom: 2rem;
  position: relative;
}

/* ━━━ Reading Progress Bar ━━━ */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-purple));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease-out;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

/* ━━━ Post Header ━━━ */
.post-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.post-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-navy);
  margin: 0 0 1.5rem;
  text-wrap: balance;
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-grey);
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  font-weight: 500;
}

.meta-item svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* ━━━ Typography Controls ━━━ */
.typography-controls {
  position: sticky;
  top: 120px;
  right: -60px;
  float: right;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: 20px;
  z-index: 100;
}

.typo-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(27, 23, 48, 0.1);
  box-shadow: 0 4px 12px rgba(27, 23, 48, 0.08);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-navy);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.typo-btn:hover {
  background: var(--accent-gold);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3);
}

@media (max-width: 1200px) {
  .typography-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    top: auto;
    float: none;
    flex-direction: row;
    margin: 0;
  }
}

/* ━━━ Post Content ━━━ */
.post-content {
  font-family: "Lora", serif;
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.2rem);
  line-height: 1.9;
  color: #0b0b0b;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.post-content > * {
  margin-bottom: 1.5rem;
}

.post-content h2,
.post-content h3 {
  font-family: "Playfair Display", serif;
  margin-top: 3rem;
  margin-bottom: 1.2rem;
  scroll-margin-top: 120px;
}

.post-content h2 {
  font-size: clamp(1.6rem, 1.4rem + 0.8vw, 2.2rem);
  color: var(--text-navy);
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
  padding-bottom: 0.5rem;
}

.post-content h3 {
  font-size: clamp(1.3rem, 1.2rem + 0.5vw, 1.7rem);
  color: var(--text-navy);
}

.post-content a {
  color: var(--accent-purple);
  text-decoration: underline;
  text-decoration-color: rgba(111, 0, 255, 0.3);
  text-underline-offset: 3px;
  transition: all 0.3s ease;
}

.post-content a:hover {
  color: var(--accent-gold);
  text-decoration-color: var(--accent-gold);
}

.post-content blockquote {
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(111, 0, 255, 0.02));
  border-left: 4px solid var(--accent-gold);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: rgba(27, 23, 48, 0.85);
}

/* Highlight to Share */
.post-content ::selection {
  background: rgba(212, 175, 55, 0.3);
  color: var(--text-navy);
}

/* ━━━ Pull Quote (Shortcode) ━━━ */
.pullquote {
  margin: 3rem 0;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  position: relative;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.12);
}

.pullquote-icon {
  position: absolute;
  top: -16px;
  left: 24px;
  color: var(--accent-gold);
  background: var(--bg-cream);
  padding: 4px;
}

.pullquote-text {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--text-navy);
  margin: 0;
}

.pullquote-author {
  display: block;
  margin-top: 1rem;
  font-family: "Lora", serif;
  font-size: 0.95rem;
  font-style: normal;
  color: var(--text-grey);
  text-align: right;
}

.pullquote-author::before {
  content: "— ";
}

/* ━━━ Inline CTA (Shortcode) ━━━ */
.inline-cta {
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(111, 0, 255, 0.08), rgba(111, 0, 255, 0.04));
  border: 2px solid rgba(111, 0, 255, 0.2);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(111, 0, 255, 0.12);
}

.inline-cta-content {
  font-family: "Lora", serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-navy);
  margin-bottom: 1.5rem;
}

.inline-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: var(--accent-purple);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.inline-cta-btn:hover {
  background: #5a00d1;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(111, 0, 255, 0.3);
  color: #fff;
}

/* ━━━ Post Footer & Social Share ━━━ */
.post-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(212, 175, 55, 0.2);
}

.post-share {
  text-align: center;
}

.share-label {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-grey);
  margin-bottom: 1.5rem;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(27, 23, 48, 0.1);
  border-radius: 50px;
  color: var(--text-navy);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(27, 23, 48, 0.06);
}

.share-btn:hover {
  background: var(--accent-gold);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}

.share-btn svg {
  flex-shrink: 0;
}

.share-btn.share-copy.copied {
  background: #067647;
  color: #fff;
}

/* ━━━ Comments Section ━━━ */
.comments-wrapper {
  margin-top: 2rem;
  padding: clamp(2rem, 2rem + 1vw, 3rem);
}

.comments-intro {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.comments-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 1.4rem + 0.8vw, 2.2rem);
  margin: 0 0 0.5rem;
  color: var(--text-navy);
}

.comments-subtitle {
  font-family: "Lora", serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--text-grey);
  margin: 0;
}

/* ━━━ SIDEBAR ━━━ */
.post-sidebar {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-self: start;
}

@media (max-width: 1023px) {
  .post-sidebar {
    position: static;
    top: auto;
  }
}

.sidebar-card {
  padding: 1.5rem;
  transition: all 0.4s ease;
}

.sidebar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(111, 0, 255, 0.12);
  border-color: rgba(212, 175, 55, 0.4);
}

.sidebar-title {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  margin: 0 0 1rem;
  color: var(--text-navy);
  border-bottom: 2px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 0.5rem;
}

/* Table of Contents */
.toc-nav {
  font-size: 0.9rem;
}

.toc-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-nav li {
  margin-bottom: 8px;
}

.toc-nav a {
  display: block;
  padding: 8px 12px;
  color: var(--text-grey);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.toc-nav a:hover,
.toc-nav a.active {
  color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.08);
  border-left-color: var(--accent-gold);
  padding-left: 16px;
}

.toc-nav .toc-h3 {
  padding-left: 24px;
  font-size: 0.85rem;
}

/* Sidebar Post List */
.sidebar-post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-post-item {
  margin-bottom: 12px;
}

.sidebar-post-link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.sidebar-post-link:hover {
  background: rgba(212, 175, 55, 0.08);
  border-left-color: var(--accent-gold);
  padding-left: 16px;
}

.sidebar-post-title {
  flex: 1;
  font-size: 0.95rem;
  color: var(--text-navy);
  line-height: 1.4;
}

.sidebar-post-date {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--text-grey);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ━━━ Mobile Adjustments ━━━ */
@media (max-width: 768px) {
  .post-meta {
    gap: 12px;
  }
  
  .meta-item {
    padding: 4px 10px;
    font-size: 0.85rem;
  }
  
  .pullquote,
  .inline-cta {
    padding: 1.5rem;
    margin: 2rem 0;
  }
  
  .share-buttons {
    gap: 8px;
  }
  
  .share-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  
  .share-btn span {
    display: none; /* Hide text on mobile, show icons only */
  }
  
  .toc-card {
    order: -1; /* Move ToC to top on mobile */
  }
}

/* ━━━ Reduced Motion ━━━ */
@media (prefers-reduced-motion: reduce) {
  .sidebar-card,
  .typo-btn,
  .share-btn,
  .inline-cta-btn {
    transition: none !important;
  }
  
  #reading-progress {
    transition: none !important;
  }
}
/* ━━━ Highlight to Share Tooltip ━━━ */
.highlight-share-tooltip {
  pointer-events: all;
}

.highlight-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--accent-purple);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(111, 0, 255, 0.3);
  transition: all 0.3s ease;
}

.highlight-share-btn:hover {
  background: #5a00d1;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(111, 0, 255, 0.4);
}

.highlight-share-btn svg {
  flex-shrink: 0;
}
/* =========================================================
   SINGLE POST VISUAL ENHANCEMENTS (CSS-Only)
   Add breathing room and glass-card styling to existing layout
   ========================================================= */

/* Wrap main content in glass card */
body.single-post .site-main article,
body.single .site-main article {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(27, 23, 48, 0.06);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(27, 23, 48, 0.08);
  padding: clamp(2rem, 3vw, 4rem);
  margin-bottom: 3rem;
}

/* Enhanced post title */
body.single .entry-title,
body.single-post .entry-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.2;
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(212, 175, 55, 0.25);
}

/* Post meta styling */
body.single .entry-meta,
body.single-post .entry-meta {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(27, 23, 48, 0.08);
  font-size: 0.9rem;
  color: var(--text-grey);
}

/* Enhanced content typography */
body.single .entry-content,
body.single-post .entry-content {
  font-size: clamp(1.08rem, 1.1vw, 1.2rem);
  line-height: 1.9;
  color: #0b0b0b;
}

body.single .entry-content h2,
body.single-post .entry-content h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  margin-top: 3rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

body.single .entry-content h3,
body.single-post .entry-content h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.3rem, 1.6vw, 1.7rem);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-navy);
}

/* Better blockquote */
body.single .entry-content blockquote,
body.single-post .entry-content blockquote {
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(111, 0, 255, 0.03));
  border-left: 4px solid var(--accent-gold);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.08);
}

/* Improve link styling */
body.single .entry-content a,
body.single-post .entry-content a {
  color: var(--accent-purple);
  text-decoration: underline;
  text-decoration-color: rgba(111, 0, 255, 0.3);
  text-underline-offset: 3px;
  transition: all 0.3s ease;
}

body.single .entry-content a:hover,
body.single-post .entry-content a:hover {
  color: var(--accent-gold);
  text-decoration-color: var(--accent-gold);
}

/* Sidebar improvements */
body.single .sidebar .widget,
body.single-post .sidebar .widget {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(27, 23, 48, 0.06);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 24px rgba(27, 23, 48, 0.06);
  transition: all 0.3s ease;
}

body.single .sidebar .widget:hover,
body.single-post .sidebar .widget:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(111, 0, 255, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
}

body.single .sidebar .widget-title,
body.single-post .sidebar .widget-title {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

body.single .sidebar .widget ul,
body.single-post .sidebar .widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

body.single .sidebar .widget ul li,
body.single-post .sidebar .widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(27, 23, 48, 0.05);
}

body.single .sidebar .widget ul li:last-child,
body.single-post .sidebar .widget ul li:last-child {
  border-bottom: none;
}

body.single .sidebar .widget ul li a,
body.single-post .sidebar .widget ul li a {
  color: var(--text-navy);
  transition: all 0.3s ease;
  display: block;
  padding-left: 8px;
  border-left: 3px solid transparent;
}

body.single .sidebar .widget ul li a:hover,
body.single-post .sidebar .widget ul li a:hover {
  color: var(--accent-gold);
  border-left-color: var(--accent-gold);
  padding-left: 16px;
}

/* Comments section enhancement */
#comments {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(27, 23, 48, 0.06);
  border-radius: 16px;
  padding: clamp(2rem, 3vw, 3rem);
  margin-top: 3rem;
  box-shadow: 0 12px 40px rgba(27, 23, 48, 0.08);
}

#comments .comments-title {
  font-family: "Playfair Display", serif;
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

/* Mobile refinements */
@media (max-width: 768px) {
  body.single .site-main article,
  body.single-post .site-main article {
    padding: 1.5rem;
    border-radius: 12px;
  }
  
  body.single .entry-content,
  body.single-post .entry-content {
    font-size: 1.08rem;
  }
}

/* Mobile-First Responsive Improvements */
@media (max-width: 768px) {
  nav, .navbar { flex-direction: column; width: 100%; }
  nav ul, nav li { width: 100%; display: block; margin: 0.5rem 0; }
  .hero, .hero-section { padding: 2rem 1.5rem; }
  .hero h1 { font-size: 1.75rem; }
  .grid, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .btn, button, .button { display: block; width: 100%; margin: 0.5rem 0; }
  section { padding: 2rem 1.5rem; }
  .container { max-width: 100%; padding: 0 1.5rem; }
  img { max-width: 100%; height: auto; }
}

@media (max-width: 480px) {
  section { padding: 1.5rem 1rem; }
  .container { padding: 0 1rem; }
  .hero h1 { font-size: 1.5rem; }
  h1 { font-size: 1.5rem; } h2 { font-size: 1.25rem; } h3 { font-size: 1.1rem; }
  body { font-size: 15px; line-height: 1.6; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  section { padding: 3rem 2rem; }
}