/*
Theme Name: Wellthopia
Theme URI: https://wellthopia.com
Author: Wellthopia Team
Author URI: https://wellthopia.com
Description: Where Ancient Wisdom Meets Modern Science - Evidence-based wellness insights
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wellthopia
Template: kadence
*/

/* ========================================
   WELLNESS NEXUS - CUSTOM STYLES
   Professional Grade Wellness Website
   ======================================== */

/* ===== COLOR VARIABLES ===== */
:root {
  --color-primary: #0D7377;      /* Deep Teal - Nature, healing */
  --color-secondary: #D4A373;    /* Amber Gold - Energy, vitality */
  --color-accent: #E6E6FA;       /* Soft Lavender - Calm */
  --color-background: #FFFBF5;   /* Warm Cream - Readability */
  --color-text: #2C3E50;         /* Deep Charcoal */
  --color-white: #FFFFFF;
  --color-overlay: rgba(13, 115, 119, 0.3);
}

/* ===== NAVIGATION HEADER STYLES ===== */

/* Homepage - remove content-area gap */
.home .content-area,
.page-template-front-page .content-area {
  margin-top: 0;
  margin-bottom: 0;
}

.home .site-main,
.page-template-front-page .site-main {
  margin: 0;
  padding: 0;
}

/* Site Header Layout */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid rgba(13, 115, 119, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 140px;
}

/* Site Branding */
.site-branding {
  flex-shrink: 0;
}

/* Logo sizing - balanced for header */
.site-branding .custom-logo {
  max-width: 260px;
  height: auto;
  width: auto;
  display: block;
}

.site-branding .site-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.site-title {
  margin: 0;
  font-size: 1.5rem;
}

.site-title a {
  color: var(--color-primary);
  text-decoration: none;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
}

/* Main Navigation Container */
.main-navigation {
  display: flex;
  align-items: center;
}

/* Navigation Menu - Horizontal Layout */
.nav-menu {
  display: flex;
  flex-direction: row;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}

/* Ensure nested ul elements don't show bullets */
.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

.nav-menu li {
  margin: 0;
  padding: 0;
  position: relative;
}

.nav-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: var(--color-primary);
  background: rgba(13, 115, 119, 0.08);
}

/* Current/Active Page */
.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
  color: var(--color-primary);
  background: rgba(13, 115, 119, 0.1);
  font-weight: 600;
}

/* Hamburger Menu Button - Hidden on Desktop */
.menu-toggle {
  display: none;
  padding: 0.75rem 1rem;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: #0a5c5f;
}

.menu-toggle .menu-icon {
  display: block;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
  /* Show hamburger on mobile */
  .menu-toggle {
    display: block;
  }
  
  /* Stack header on mobile */
  .header-inner {
    flex-wrap: wrap;
  }
  
  /* Mobile menu - vertical stacked */
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(13, 115, 119, 0.1);
  }
  
  /* Show menu when toggled */
  .nav-menu.is-open,
  .main-navigation.toggled .nav-menu {
    display: flex;
  }
  
  /* Mobile nav items */
  .nav-menu li {
    width: 100%;
  }
  
  .nav-menu a {
    padding: 1rem 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(13, 115, 119, 0.05);
  }
}

/* ===== GLOBAL STYLES ===== */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.7;
  font-size: 18px;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
  margin-bottom: 1.5em;
  color: var(--color-text);
}

/* ===== HERO SECTION - SPLIT SCREEN ===== */
.hero-split {
  display: flex;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-visual {
  flex: 1;
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, #14919b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 6rem;
  background: var(--color-background);
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-headline span {
  color: var(--color-secondary);
  font-style: italic;
}

.hero-subheadline {
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  max-width: 500px;
}

.hero-cta {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(13, 115, 119, 0.3);
}

.hero-cta:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 163, 115, 0.4);
}

/* ===== NEURAL NETWORK DIAGRAM ===== */
.neural-network {
  padding: 6rem 2rem;
  background: var(--color-white);
  text-align: center;
}

.neural-network h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.neural-network-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 4rem;
}

.network-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Central Node */
.node-central {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 4rem;
  box-shadow: 0 10px 40px rgba(13, 115, 119, 0.3);
  position: relative;
  z-index: 10;
}

/* Satellite Nodes */
.nodes-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.node {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: white;
  border: 3px solid var(--color-primary);
  transition: all 0.4s ease;
  cursor: pointer;
}

.node:hover {
  transform: scale(1.1);
  background: var(--color-primary);
  color: white;
  box-shadow: 0 8px 30px rgba(13, 115, 119, 0.4);
}

.node-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.node-label {
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
}

/* Connection Lines */
.connection-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0.3;
}

/* ===== ARTICLE STYLES ===== */
.article-header {
  background: linear-gradient(135deg, var(--color-primary), #14919b);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
}

.article-header h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.article-meta {
  opacity: 0.9;
  font-size: 1rem;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.article-content p:first-of-type::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  float: left;
  line-height: 1;
  padding-right: 1rem;
  color: var(--color-primary);
}

/* Prevent drop cap from affecting article cards */
.article-card .article-content p:first-of-type::first-letter,
.article-card .article-excerpt::first-letter {
  font-size: inherit !important;
  float: none !important;
  line-height: inherit !important;
  padding: 0 !important;
  color: inherit !important;
}

/* Pull Quotes */
.pull-quote {
  border-left: 4px solid var(--color-secondary);
  padding-left: 2rem;
  margin: 3rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--color-primary);
}

/* ===== FEATURED CARDS ===== */
.featured-section {
  padding: 6rem 2rem;
  background: var(--color-accent);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.featured-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.featured-card-image {
  height: 250px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  position: relative;
  overflow: hidden;
}

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

.featured-card-content {
  padding: 2rem;
}

.featured-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.featured-card p {
  color: #666;
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
  padding: 5rem 2rem;
  background: var(--color-primary);
  color: white;
  text-align: center;
}

.newsletter-section h2 {
  color: white;
  margin-bottom: 1rem;
}

.newsletter-form {
  max-width: 500px;
  margin: 2rem auto 0;
  display: flex;
  gap: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
}

.newsletter-form button {
  padding: 1rem 2.5rem;
  background: var(--color-secondary);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: #c4936e;
  transform: scale(1.05);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .hero-split {
    flex-direction: column;
  }
  
  .hero-content {
    padding: 3rem 2rem;
  }
  
  .hero-headline {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .nodes-row {
    flex-direction: column;
    align-items: center;
  }
  
  .node {
    width: 140px;
    height: 140px;
  }
  
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.node-central {
  animation: float 6s ease-in-out infinite;
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.p-2 { padding: 2rem; }

/* ===== MAGAZINE-QUALITY HERO SECTION ===== */

/* Hero Split Screen - Magazine Layout */
.hero-split-screen {
  display: grid;
  grid-template-columns: 50% 50%;
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
}

.hero-left {
  padding: 3rem;
  background: var(--color-background);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  min-height: 100vh;
  overflow: visible;
  box-sizing: border-box;
  width: 100%;
}

.hero-content {
  max-width: 100%;
  width: 100%;
  padding-left: 2rem;
  margin: 0;
  box-sizing: border-box;
}

.hero-content > * {
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
}

.hero-right {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  transform: translateY(0);
  will-change: transform;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.05) contrast(1.02);
}

/* Gradient Overlay - Full Bleed Effect */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    var(--color-background) 0%,
    rgba(255, 251, 245, 0.95) 3%,
    rgba(255, 251, 245, 0.5) 10%,
    transparent 20%
  );
  z-index: 1;
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 115, 119, 0.02) 0%,
    rgba(13, 115, 119, 0.05) 50%,
    rgba(13, 115, 119, 0.02) 100%
  );
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
}

/* Magazine Typography */
.hero-label {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 30px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  position: relative;
  width: fit-content;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: rgba(44, 62, 80, 0.85);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 480px;
  font-weight: 400;
}

/* CTA Button - Hover Lift Effect */
.btn-hero {
  display: inline-block;
  padding: 1.3rem 3.5rem;
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 20px rgba(13, 115, 119, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.btn-hero:hover {
  background: #0a5c5f;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(13, 115, 119, 0.4);
}

.btn-hero:hover::before {
  left: 100%;
}

.btn-hero:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(13, 115, 119, 0.3);
}

/* Accent Line - Disabled */
.hero-accent-line {
  display: none;
}

/* Text Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Animation Classes - Fixed */
.animate-reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
  .animate-reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
  
  .hero-parallax-bg {
    transform: none !important;
  }
}

/* Neural Network Section */
.neural-network-section {
  padding: 4rem 2rem 6rem;
  background: linear-gradient(180deg, #faf9f7 0%, #ffffff 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  font-family: 'Playfair Display', Georgia, serif;
}

.section-subtitle {
  font-size: 1.15rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* New Wellness Ecosystem Desktop Layout */
.wellness-ecosystem-desktop {
  display: none;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

@media (min-width: 769px) {
  .wellness-ecosystem-desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .pillar-cards-mobile {
    display: none;
  }
}

/* Center circle */
.ecosystem-center {
  position: relative;
  z-index: 10;
}

.center-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, #14919b 50%, var(--color-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(13, 115, 119, 0.3);
  animation: centerPulse 4s ease-in-out infinite;
  margin: 0 auto;
}

@keyframes centerPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 40px rgba(13, 115, 119, 0.3); }
  50% { transform: scale(1.03); box-shadow: 0 15px 50px rgba(13, 115, 119, 0.4); }
}

.center-inner {
  text-align: center;
  color: white;
}

.center-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.25rem;
}

.center-text {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

/* Pillars - horizontal card layout */
.ecosystem-pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 800px;
}

.pillar-branch {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 220px;
  padding: 1.5rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.pillar-branch:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: var(--color-secondary);
}

.pillar-branch.pillar-1,
.pillar-branch.pillar-2,
.pillar-branch.pillar-3 {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  transform: none;
}

.pillar-branch.pillar-1:hover,
.pillar-branch.pillar-2:hover,
.pillar-branch.pillar-3:hover {
  transform: translateY(-5px);
}

.branch-line {
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  border-radius: 2px;
  margin-bottom: 1rem;
}

.pillar-node {
  background: white;
  border: 3px solid var(--pillar-color, var(--color-primary));
  border-radius: 20px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  min-width: 140px;
}

.pillar-node:hover {
  background: var(--pillar-color, var(--color-primary));
  color: white;
}

.pillar-node:hover .pillar-name {
  color: white;
}

.pillar-node .pillar-icon {
  font-size: 1.5rem;
}

.pillar-node .pillar-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  font-family: 'Inter', sans-serif;
  transition: color 0.3s ease;
}

.pillar-desc {
  max-width: 100%;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .pillar-desc {
    display: none;
  }
}

.pillar-desc {
  max-width: 180px;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin-top: 0.75rem;
}

/* Mobile Pillar Cards */
.pillar-cards-mobile {
  display: grid;
  gap: 1.5rem;
  padding: 0 1rem;
}

@media (min-width: 769px) {
  .pillar-cards-mobile {
    display: none;
  }
}

.pillar-card-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.pillar-card-mobile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: var(--color-secondary);
}

.pillar-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.pillar-emoji {
  font-size: 2rem;
}

.pillar-card-mobile .pillar-card-title {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', Georgia, serif;
}

.pillar-card-mobile .pillar-card-description {
  font-size: 0.95rem;
  color: #666;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.pillar-card-mobile .pillar-link {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 0.95rem;
}

.pillar-card-mobile .pillar-link .arrow {
  transition: transform 0.3s ease;
  display: inline-block;
}

.pillar-card-mobile:hover .pillar-link .arrow {
  transform: translateX(4px);
}

/* Hide old neural network styles */
.neural-network-container {
  display: none;
}

.neural-network-svg {
  display: none;
}
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.btn-pillar {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: transparent;
  color: var(--color-primary);
  text-decoration: none;
  border: 2px solid var(--color-primary);
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-pillar:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Featured Articles */
.featured-articles {
  padding: 6rem 2rem;
  background: var(--color-accent);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.article-card {
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.article-image {
  height: 220px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.article-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-category {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.article-card .article-title {
  font-size: 1.3rem !important;
  margin-bottom: 0.8rem;
  line-height: 1.3;
  font-weight: 600;
}

.article-excerpt {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.article-category {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.article-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.article-title a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-title a:hover {
  color: var(--color-secondary);
}

.article-excerpt {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Remove any drop cap from article excerpts */
.article-excerpt::first-letter,
.article-card .article-excerpt::first-letter {
  font-size: inherit !important;
  float: none !important;
  line-height: inherit !important;
  padding: 0 !important;
  color: inherit !important;
}

.article-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.article-link .arrow {
  transition: transform 0.3s ease;
}

.article-link:hover .arrow {
  transform: translateX(5px);
}

/* Newsletter CTA */
.newsletter-cta {
  padding: 5rem 2rem;
  background: var(--color-primary);
  color: var(--color-white);
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
}

.newsletter-form .form-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.newsletter-form .form-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
}

.btn-primary {
  padding: 1rem 2.5rem;
  background: #1a3a3a;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #c4936e;
  transform: scale(1.05);
}

.form-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== PRINT STYLES ===== */
@media print {
  .hero-split-screen,
  .neural-network-section,
  .newsletter-cta {
    display: none;
  }
  
  .article-content {
    max-width: 100%;
  }
}

/* ===== MAGAZINE-QUALITY RESPONSIVE ===== */
@media (max-width: 1200px) {
  .hero-split-screen {
    grid-template-columns: 50% 50%;
  }
  
  .hero-left {
    padding: 4rem 3rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 1024px) {
  .hero-split-screen {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .hero-left {
    padding: 5rem 3rem;
    order: 2;
  }
  
  .hero-right {
    order: 1;
    min-height: 60vh;
    max-height: 70vh;
  }
  
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(255, 251, 245, 0.3) 0%,
      rgba(255, 251, 245, 0.7) 50%,
      rgba(255, 251, 245, 0.95) 100%
    );
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    max-width: 100%;
  }
  
  .pillar-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-left {
    padding: 3rem 1.5rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
  }
  
.hero-label {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--color-primary);
  border-radius: 50px;
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
}
  
  .btn-hero {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .pillar-cards {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form .form-group {
    flex-direction: column;
  }
  
  .cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-right {
    min-height: 45vh;
  }
  
  .btn-hero {
    width: 100%;
    text-align: center;
  }
}

/* ========================================
   NEURAL NETWORK ANIMATIONS & STYLES
   Professional SVG Visualization
   ======================================== */

/* Core node animations */
@keyframes corePulse {
  0%, 100% {
    filter: url(#pulseGlow);
    transform: scale(1);
  }
  50% {
    filter: url(#pulseGlow) brightness(1.1);
    transform: scale(1.02);
  }
}

@keyframes coreBreathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

/* Satellite node breathing */
@keyframes nodeBreathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* Scroll-triggered animations */
[data-animate] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

[data-animate].is-animated,
[data-animate="fade-up"].is-animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-in"].is-animated {
  opacity: 1;
  transform: none;
}

[data-animate="scale-in"].is-animated {
  opacity: 1;
  transform: scale(1);
}

[data-animate="scale-in"] {
  transform: scale(0.9);
}

/* Neural Network SVG Styles */
.neural-network-svg {
  width: 100%;
  height: auto;
  min-height: 450px;
  max-height: 550px;
  display: block;
  overflow: visible;
}

.connection-line {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 3;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.connection-line.active {
  opacity: 1;
  stroke-width: 4;
}

/* Connection lines */
.connection-line {
  fill: none;
  stroke: #0D7377;
  stroke-width: 3;
  stroke-opacity: 0.7;
  transition: all 0.3s ease;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}

.connection-line:hover {
  stroke-width: 4;
  stroke-opacity: 1;
}

/* Core node styles */
.core-node {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.core-node:hover {
  transform: scale(1.05);
}

.core-bg {
  animation: coreBreathe 4s ease-in-out infinite;
  transform-origin: center;
}

.core-ring {
  animation: pulse 3s ease-in-out infinite;
  transform-origin: center;
}

.core-label {
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.core-sublabel {
  pointer-events: none;
}

/* Satellite nodes */
.satellite-node {
  cursor: pointer;
  transition: transform 0.3s ease;
  transform-origin: center;
}

.satellite-node:hover {
  transform: scale(1.08);
}

.satellite-node .node-bg {
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.satellite-node:hover .node-bg {
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.satellite-node .node-fill {
  transition: opacity 0.3s ease;
}

.satellite-node .node-label {
  transition: fill 0.3s ease;
}

/* Tooltip styles */
.neural-tooltip {
  position: fixed;
  background: var(--color-white);
  padding: 1.25rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(13, 115, 119, 0.2);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -100%) translateY(10px);
  transition: all 0.3s ease;
  min-width: 220px;
  max-width: 280px;
  border: 1px solid rgba(13, 115, 119, 0.1);
  pointer-events: none;
}

.neural-tooltip.visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -100%) translateY(0);
}

.neural-tooltip::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--color-white);
}

.tooltip-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.tooltip-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  flex-shrink: 0;
}

.tooltip-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  color: var(--color-primary);
  margin: 0;
  font-weight: 600;
}

.tooltip-description {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin: 0 0 0.75rem 0;
}

.tooltip-cta {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* Neural ripple effect */
.neural-ripple {
  border-radius: 50%;
  pointer-events: none;
}

/* Energy particles */
.energy-particles-group circle {
  filter: url(#glow);
}

/* Mobile pillar cards (fallback) */
.pillar-cards-mobile {
  display: none;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.pillar-card-mobile {
  background: var(--color-background);
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.pillar-card-mobile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(13, 115, 119, 0.1);
}

.pillar-card-mobile .pillar-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--color-white);
  font-size: 1.25rem;
}

.pillar-card-mobile .pillar-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.pillar-card-mobile .pillar-card-description {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.pillar-card-mobile .btn-pillar {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: transparent;
  color: var(--color-primary);
  text-decoration: none;
  border: 2px solid var(--color-primary);
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.pillar-card-mobile .btn-pillar:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* SVG specific animations - DISABLED for visibility */
/* .satellite-node { animation: nodeBreathe 4s ease-in-out infinite; }
.satellite-node:nth-child(1) { animation-delay: 0s; }
.satellite-node:nth-child(2) { animation-delay: 0.5s; }
.satellite-node:nth-child(3) { animation-delay: 1s; }
.satellite-node:nth-child(4) { animation-delay: 1.5s; }
.satellite-node:nth-child(5) { animation-delay: 2s; } */

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .core-bg,
  .core-ring,
  .satellite-node {
    animation: none !important;
  }
  
  .neural-tooltip {
    transition: none;
  }
  
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }
  
  .connection-line {
    transition: none;
  }
}

/* Mobile responsive for neural network */
@media (max-width: 768px) {
  .neural-network-svg {
    display: none;
  }
  
  .pillar-cards-mobile {
    display: grid;
  }
  
  .neural-tooltip {
    display: none;
  }
}

@media (max-width: 480px) {
  .neural-network-section {
    padding: 4rem 1rem;
  }
  
  .pillar-card-mobile {
    padding: 1.25rem;
  }
}

/* ========================================
   MAGAZINE-QUALITY ARTICLE STYLES
   single.php - Professional Article Layout
   ======================================== */

/* Reading Progress Bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(212, 163, 115, 0.2);
  z-index: 9999;
  pointer-events: none;
}

.reading-progress-bar {
  height: 100%;
  background: #D4A373;
  width: 0%;
  transition: width 0.1s ease-out;
  box-shadow: 0 2px 10px rgba(212, 163, 115, 0.5);
}

/* Hero Section */
.article-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.article-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background: linear-gradient(
    to top,
    rgba(13, 115, 119, 0.35) 0%,
    rgba(13, 115, 119, 0.25) 30%,
    rgba(13, 115, 119, 0.12) 60%,
    transparent 100%
  );
  z-index: 2;
}

.article-hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  text-align: center;
  color: white;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.category-badge a {
  display: inline-block;
  background: rgba(212, 163, 115, 0.9);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.category-badge a:hover {
  background: #D4A373;
  transform: translateY(-2px);
}

.meta-divider {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.reading-time,
.publish-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

.reading-time svg {
  opacity: 0.8;
}

.article-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-excerpt {
  font-size: 1.25rem;
  line-height: 1.7;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 2rem;
  font-weight: 300;
}

.hero-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.author-label {
  font-size: 0.85rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.author-name {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeInUp 1s ease 1s both;
}

.scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-dot {
  width: 100%;
  height: 15px;
  background: white;
  position: absolute;
  top: 0;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(35px);
    opacity: 0.3;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Floating Social Share (Desktop) */
.floating-social-share {
  position: fixed;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: white;
  padding: 1.25rem 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(13, 115, 119, 0.1);
}

.social-btn {
  width: 52px;
  height: 52px;
  border: 2px solid rgba(13, 115, 119, 0.2);
  background: white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #0D7377;
}

.social-btn:hover {
  background: var(--color-primary);
  color: white;
  transform: scale(1.15);
  border-color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(13, 115, 119, 0.3);
}

.social-btn.twitter:hover {
  background: #1DA1F2;
  border-color: #1DA1F2;
}

.social-btn.facebook:hover {
  background: #4267B2;
  border-color: #4267B2;
}

.social-btn.pinterest:hover {
  background: #E60023;
  border-color: #E60023;
}

.social-btn.copy-link:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
}

.social-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Mobile Social Bar */
.mobile-social-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 1rem;
  justify-content: center;
  gap: 2rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.mobile-social-btn {
  width: 50px;
  height: 50px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: all 0.3s ease;
}

.mobile-social-btn:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* Article Container */
.article-container {
  display: grid;
  grid-template-columns: 250px 1fr 250px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  gap: 3rem;
  position: relative;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
}

/* Table of Contents */
.article-toc {
  position: sticky;
  top: 100px;
  height: fit-content;
  align-self: flex-start;
}

.toc-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-secondary);
}

.article-toc:has(.toc-nav:empty) {
  display: none;
}

.toc-nav {
  display: flex;
  flex-direction: column;
}

.toc-nav:empty {
  display: none;
}

.toc-nav a {
  display: block;
  padding: 0.5rem 0;
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.4;
  border-left: 2px solid transparent;
  padding-left: 1rem;
  margin-left: -1rem;
  transition: all 0.2s ease;
}

.toc-nav a:hover,
.toc-nav a.active {
  color: var(--color-primary);
  border-left-color: var(--color-secondary);
  background: rgba(212, 163, 115, 0.05);
}

.toc-nav a.h2 {
  font-weight: 500;
}

.toc-nav a.h3 {
  font-size: 0.85rem;
  padding-left: 1.5rem;
  color: #888;
}

/* Main Article Content */
.article-content {
  max-width: 800px;
  margin: 0;
}

.content-body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text);
}

.content-body p {
  margin-bottom: 1.75rem;
}

/* Drop Cap */
.content-body > p:first-of-type::first-letter {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 5.5rem;
  float: left;
  line-height: 0.8;
  padding-right: 0.75rem;
  padding-top: 0.1em;
  color: var(--color-primary);
  font-weight: 700;
}

/* No drop cap in newsletter or other divs */
.inline-newsletter p::first-letter,
.inline-newsletter p:first-of-type::first-letter {
  font-size: inherit;
  float: none;
  line-height: inherit;
  padding: 0;
  color: inherit;
  font-weight: inherit;
  font-family: inherit;
}

/* Headings */
.content-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  color: var(--color-primary);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  position: relative;
}

.content-body h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--color-secondary);
}

.content-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.content-body h4 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.content-body h5 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.content-body h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Lists */
.content-body ul,
.content-body ol {
  margin-bottom: 1.75rem;
  padding-left: 1.5rem;
}

.content-body li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.content-body ul li {
  position: relative;
  padding-left: 0.5rem;
}

.content-body ul li::marker {
  color: var(--color-secondary);
  font-size: 1.2em;
}

/* Strong and Emphasis */
.content-body strong {
  color: var(--color-primary);
  font-weight: 600;
}

.content-body em {
  color: var(--color-secondary);
  font-style: italic;
}

/* Pull Quotes */
.content-body blockquote {
  margin: 3rem -2rem;
  padding: 2rem 2.5rem;
  border-left: 4px solid var(--color-secondary);
  background: linear-gradient(135deg, rgba(212, 163, 115, 0.05), rgba(13, 115, 119, 0.05));
  position: relative;
}

.content-body blockquote::before {
  content: '"';
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 6rem;
  color: var(--color-secondary);
  opacity: 0.3;
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  line-height: 1;
}

.content-body blockquote p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--color-primary);
  font-style: italic;
  margin-bottom: 0;
}

.content-body blockquote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #666;
  font-style: normal;
}

/* Horizontal Rules */
.content-body hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
  margin: 3rem 0;
  opacity: 0.5;
}

/* Links */
.content-body a {
  color: var(--color-secondary);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.3s ease;
}

.content-body a:hover {
  text-decoration-color: var(--color-secondary);
}

/* Tables */
.content-body .table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.content-body .markdown-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: white;
}

.content-body .markdown-table thead {
  background: linear-gradient(135deg, var(--color-primary), #14919b);
}

.content-body .markdown-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.content-body .markdown-table th:first-child {
  border-top-left-radius: 12px;
}

.content-body .markdown-table th:last-child {
  border-top-right-radius: 12px;
}

.content-body .markdown-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(13, 115, 119, 0.1);
  color: var(--color-text);
  line-height: 1.6;
}

.content-body .markdown-table tbody tr:hover {
  background: rgba(212, 163, 115, 0.05);
}

.content-body .markdown-table tbody tr:last-child td {
  border-bottom: none;
}

.content-body .markdown-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

.content-body .markdown-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

.content-body .markdown-table td strong {
  color: var(--color-primary);
}

/* Responsive tables */
@media (max-width: 768px) {
  .content-body .table-wrapper {
    margin: 1.5rem -0.5rem;
    border-radius: 8px;
  }
  
  .content-body .markdown-table th,
  .content-body .markdown-table td {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
}

/* Inline Newsletter CTA */
.inline-newsletter {
  margin: 3rem -1rem;
  padding: 3rem;
  background: linear-gradient(135deg, var(--color-primary), #14919b);
  border-radius: 16px;
  color: white;
  position: relative;
  overflow: hidden;
}

.inline-newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 163, 115, 0.2) 0%, transparent 70%);
  animation: newsletterGlow 6s ease-in-out infinite;
}

@keyframes newsletterGlow {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
}

.newsletter-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.newsletter-icon {
  margin-bottom: 1rem;
}

.newsletter-icon svg {
  stroke: var(--color-secondary);
}

.inline-newsletter h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: white !important;
}

.inline-newsletter p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 450px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 250px;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  outline: none;
  background: rgba(255, 255, 255, 0.95);
}

.newsletter-form input::placeholder {
  color: #999;
}

.btn-subscribe {
  padding: 1rem 2rem;
  background: var(--color-secondary);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-subscribe:hover {
  background: #c4936e;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-promise {
  display: block;
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Article Footer */
.article-footer {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(13, 115, 119, 0.1);
}

/* Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.tags-label {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.9rem;
}

.tag-link {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(13, 115, 119, 0.1);
  color: var(--color-primary);
  border-radius: 50px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag-link:hover {
  background: var(--color-primary);
  color: white;
}

/* Article Navigation */
.article-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.nav-link {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: white;
  border: 1px solid rgba(13, 115, 119, 0.1);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-link:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-link.nav-next {
  text-align: right;
  align-items: flex-end;
}

.nav-direction {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.nav-title {
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
}

.nav-link:hover .nav-title {
  color: var(--color-primary);
}

.nav-link.disabled {
  visibility: hidden;
}

/* Author Bio Box */
.author-bio-box {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, #faf9f7, #f5f4f2);
  border-radius: 16px;
  margin-bottom: 3rem;
}

.author-bio-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.author-bio-content {
  flex: 1;
}

.author-bio-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-verified {
  color: var(--color-secondary);
  display: flex;
  align-items: center;
}

.author-bio-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 1rem;
}

.author-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.3s ease;
}

.author-more-link:hover {
  gap: 0.75rem;
}

.author-more-link svg {
  transition: transform 0.3s ease;
}

.author-more-link:hover svg {
  transform: translateX(4px);
}

/* Related Articles */
.related-articles {
  margin-top: 3rem;
}

.related-header {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.related-header svg {
  stroke: var(--color-secondary);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.related-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.related-card-image {
  display: block;
  height: 160px;
  position: relative;
  overflow: hidden;
}

.related-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.related-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.related-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.related-card:hover .related-card-overlay {
  opacity: 1;
}

.read-article {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border: 2px solid white;
  border-radius: 50px;
}

.related-card-content {
  padding: 1.25rem;
}

.related-category {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.related-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

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

.related-title a:hover {
  color: var(--color-primary);
}

.related-meta {
  font-size: 0.85rem;
  color: #999;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .article-container {
    grid-template-columns: 200px 1fr;
  }
  
  .floating-social-share {
    display: none;
  }
}

@media (max-width: 992px) {
  .article-container {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }
  
  .article-toc {
    display: none;
  }
  
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .article-hero {
    min-height: 50vh;
  }
  
  .article-hero-content {
    padding: 2rem 1.5rem;
  }
  
  .article-title {
    font-size: 2rem;
  }
  
  .hero-excerpt {
    font-size: 1.1rem;
  }
  
  .hero-meta {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .meta-divider {
    display: none;
  }
  
  .scroll-indicator {
    display: none;
  }
  
  .content-body {
    font-size: 1.05rem;
  }
  
  .content-body > p:first-of-type::first-letter {
    font-size: 4rem;
  }
  
  .content-body h2 {
    font-size: 1.75rem;
  }
  
  .content-body h3 {
    font-size: 1.35rem;
  }
  
  .content-body blockquote {
    margin: 2rem -1rem;
    padding: 1.5rem;
  }
  
  .content-body blockquote p {
    font-size: 1.25rem;
  }
  
  .inline-newsletter {
    margin: 2rem -1rem;
    padding: 2rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    width: 100%;
    min-width: auto;
  }
  
  .article-navigation {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .nav-link.nav-next {
    text-align: left;
    align-items: flex-start;
  }
  
  .author-bio-box {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .author-bio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .mobile-social-bar {
    display: flex;
  }
  
  /* Add padding to body for mobile social bar */
  body.single {
    padding-bottom: 80px;
  }
}

@media (max-width: 480px) {
  .article-hero-content {
    padding: 1.5rem;
  }
  
  .hero-author {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .author-info {
    text-align: center;
  }
  
  .content-body > p:first-of-type::first-letter {
    font-size: 3rem;
  }
}

/* ===== FOOTER STYLES ===== */
.site-footer {
  background: linear-gradient(135deg, #1a3a3a 0%, #0d2b2b 100%);
  color: var(--color-white);
  padding: 4rem 2rem 2rem;
  margin-top: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-widget h3 {
  color: var(--color-secondary);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-widget ul li {
  margin-bottom: 0.75rem;
}

.footer-widget ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-widget ul li a:hover {
  color: var(--color-secondary);
}

.footer-widget p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.footer-newsletter input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

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

.footer-newsletter input[type="email"]:focus {
  outline: none;
  border-color: var(--color-secondary);
  background: rgba(255, 255, 255, 0.25);
}

.footer-newsletter button {
  padding: 0.75rem 1.5rem;
  background: #ffffff;
  color: #1a3a3a;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-newsletter button:hover {
  background: #e6e6e6;
  transform: translateY(-2px);
}

.site-info {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.site-info p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Newsletter section improvements */
.newsletter-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0a5f63 100%);
  position: relative;
  overflow: hidden;
}

.newsletter-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"%3E<circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/%3E</svg>') repeat;
  opacity: 0.3;
  pointer-events: none;
}
