/* Add to top of CSS file */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Nunito:wght@400;500;600&display=swap");

/* Update body */
body {
  background: var(--background) !important;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Add this for headings */
h1,
h2,
h3,
h4,
h5,
h6,
.hero-content h1,
.about-content h2,
.services-content h2,
.personal-text h2,
.cta-content h2,
.newsletter-box h3,
.post-title,
.archive-title {
  font-family: "Playfair Display", Georgia, serif;
}
/* ===================================
   PSYCHOTHERAPIST THEME - CUSTOM CSS
   =================================== */

:root {
  --primary: #2d4a3e;
  --primary-light: #3d5a4e;
  --secondary: #c9a962;
  --secondary-light: #d4b872;
  --background: #faf9f6;
  --surface: #f5f3ef;
  --text: #2d3a35;
  --text-muted: #5a6b62;
  --border: #e8e5df;
}

/* Override PaperMod defaults */
body {
  background: var(--background) !important;
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, sans-serif;
}

.main {
  max-width: 100% !important;
  padding: 0 !important;
}
.white-text {
  color: white !important;
}
/* ===================================
   GLOBAL TEXT LINK STYLES
   =================================== */

/* Targets links in paragraphs, lists, and your specific text sections */
p a:not(.btn),
li a:not(.btn),
.stanza-line a,
.handshake-text a {
  color: var(--primary); /* Your Brand Green */
  font-weight: 500; /* Bold */
  text-decoration: none;
  border-bottom: 2px solid var(--secondary); /* Gold Underline */
  transition: all 0.2s ease;
}

/* Hover Effect */
p a:not(.btn):hover,
li a:not(.btn):hover,
.stanza-line a:hover,
.handshake-text a:hover {
  background: var(--secondary); /* Gold Background */
  color: white; /* White Text */
  border-bottom-color: var(--secondary);
  border-radius: 2px; /* Slight rounding looks premium */
}

/* Target blank icon for external links */
a[target="_blank"]:after {
  content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
  margin: 0 3px 0 5px;
}

/* ===================================
   STANZA LAYOUT (Clean & Professional)
   =================================== */

.about-content p {
  max-width: 750px;
  margin: 0 auto;
}

.stanza-line {
  display: block;
  font-family: "Nunito", "Source Sans 3", sans-serif;
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.25rem;
}

/* Base style for the bold conclusion lines */
.stanza-conclusion {
  display: block; /* Forces new line */
  font-family: "Nunito", "Source Sans 3", sans-serif;
  font-size: 1.25rem;
  font-weight: 700; /* Bold */
  color: var(--primary); /* Green brand color */
  line-height: 1.4; /* Slightly tighter for these two lines */
}

/* Add the big gap ONLY to the start of the conclusion */
.stanza-conclusion.first {
  margin-top: 2rem;
}

/* Handling Italics */
.stanza-line i,
.stanza-conclusion i {
  font-style: italic;
  font-weight: 600;
}

/* Mobile Adjustment */
@media (max-width: 600px) {
  .stanza-line {
    font-size: 1.1rem;
  }
  .stanza-conclusion {
    font-size: 1.15rem;
  }
  .stanza-conclusion.first {
    margin-top: 1.5rem;
  }
}
/* ===================================
   HEADER
   =================================== */
.nav,
header.nav {
  display: none !important;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Logo image styling */
.logo-image {
  height: 50px;
  width: auto;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-menu a {
  color: var(--text-muted);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-menu a:hover,
.main-menu a:focus {
  color: var(--primary);
}

/* ===================================
   HEADER & STICKY NAVIGATION
   =================================== */

/* Base Header Style */
.site-header {
  background: var(--surface); /* Your warm background color */
  border-bottom: 1px solid transparent;
  padding: 1rem 2rem;
  transition: all 0.3s ease; /* Smooth transition for the sticky effect */

  /* Positioning rules for sticky behavior */
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 1000;
}

/* Flex Container */
.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Right Side Grouping (Menu + Button) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Menu Links */
.main-menu {
  display: flex;
  gap: 2rem;
}

.main-menu a {
  color: var(--text-muted);
  font-weight: 600;
  text-decoration: none;
  font-family: "Nunito", sans-serif;
  transition: color 0.2s ease;
}

.main-menu a:hover {
  color: var(--primary);
}

/* Header Button Specifics */
.header-btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  white-space: nowrap; /* Prevents text breaking */
}

/* ===================================
   THE STICKY STATE (Activated by JS)
   =================================== */
.site-header.sticky {
  position: fixed; /* Locks to top of screen */
  padding: 0.75rem 2rem; /* Shrinks slightly for neatness */

  /* Semi-transparent background */
  background: rgba(250, 249, 246, 0.85);

  /* Frosted Glass Effect */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* Shadow for depth */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Mobile header optimization - reduce padding and hide menu on tablets/mobile */
@media (max-width: 900px) {
  .main-menu {
    display: none;
  } /* Hide text links on mobile */
  .header-actions {
    gap: 0;
  }
  .site-header {
    padding: 0.75rem 1rem;
  }
  .header-nav {
    padding: 0 0.5rem;
  }
  .logo-image {
    height: 40px;
  }
  .header-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0.5rem 0.75rem;
  }
  .header-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
  .logo-image {
    height: 35px;
  }
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 5rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero-image-wrapper {
  position: relative;
  flex-shrink: 0;
}

.hero-image-wrapper::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: -8px;
  width: 100%;
  height: 100%;
  background: var(--secondary);
  border-radius: 0.5rem;
  z-index: -1;
}

.hero-image {
  width: 280px;
  height: 350px;
  object-fit: cover;
  border-radius: 0.5rem;
  display: block;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: white !important;
}

.btn-primary:hover {
  background: var(--primary-light);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--primary) !important;
}

.btn-secondary:hover {
  background: var(--secondary-light);
}
.hero-intro {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 500px;
}

.hero-promise {
  font-size: 1.0625rem;
  color: var(--text);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 500px;
}
.highlight {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.highlight::before,
.highlight::after {
  content: "";
  position: absolute;
  left: -0.15em;
  right: -0.15em;
  height: 0.4em;
  background: var(--secondary);
  z-index: -1;
  border-radius: 50% 40% 55% 45% / 40% 50% 50% 60%;
}

.highlight::before {
  bottom: 0.08em;
  transform: rotate(-1.5deg) scaleX(1.02);
  opacity: 0.4;
}

.highlight::after {
  bottom: 0.05em;
  transform: rotate(-0.8deg) scaleX(0.98);
  opacity: 0.6;
  border-radius: 45% 55% 50% 50% / 50% 45% 55% 50%;
}

/* Hero section responsive optimizations for tablets and mobile */
@media (max-width: 1024px) {
  .hero-section {
    gap: 2.5rem;
    padding: 4rem 1.5rem;
    max-width: 100%;
  }
  .hero-image {
    width: 240px;
    height: 300px;
  }
  .hero-content h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 3rem 1.5rem;
  }
  .hero-image {
    width: 200px;
    height: 260px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p,
  .hero-intro,
  .hero-promise {
    max-width: 100%;
    font-size: 1rem;
  }
  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 2rem 1rem;
  }
  .hero-image {
    width: 160px;
    height: 200px;
  }
  .hero-content h1 {
    font-size: 1.75rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}
/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
  background: var(--surface);
  padding: 4rem 2rem;
}

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

.about-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* About section responsive optimizations */
@media (max-width: 768px) {
  .about-section {
    padding: 3rem 1.5rem;
  }
  .about-content h2 {
    font-size: 1.5rem;
  }
  .about-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 2rem 1rem;
  }
  .about-content h2 {
    font-size: 1.35rem;
  }
  .about-content p {
    font-size: 0.95rem;
  }
}

/* ===================================
   SERVICES SECTION - Card Grid
   =================================== */
.services-section {
  padding: 5rem 2rem;
  background: var(--background);
}

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

.services-content h1 {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.services-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 3rem;
}

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

.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.2s ease;
}

.service-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.service-icon {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}
/* Update the service icon to be a big number */
.service-icon.number {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.5rem; /* Big and elegant */
  font-weight: 700;
  color: var(--secondary); /* Your Gold color */
  opacity: 0.6; /* Slight fade so it's not distracting */
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Services grid responsive optimization - 2 col tablet, 1 col mobile */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .service-icon.number {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 3rem 1.5rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .services-content h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  .service-card {
    padding: 1.5rem 1rem;
  }
  .service-icon.number {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .services-section {
    padding: 2rem 1rem;
  }
  .services-content h1 {
    font-size: 2rem;
  }
  .services-content h2 {
    font-size: 1.35rem;
  }
  .service-card h3 {
    font-size: 1rem;
  }
}

/* ===================================
   QUOTE SECTION
   =================================== */
.quote-section {
  background: var(--primary);
  padding: 4rem 2rem;
}

.quote-block {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.quote-block p {
  font-size: 1.5rem;
  font-style: italic;
  color: white;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.quote-block cite {
  font-size: 1rem;
  color: var(--secondary);
  font-style: normal;
}

/* Quote section responsive */
@media (max-width: 768px) {
  .quote-section {
    padding: 3rem 1.5rem;
  }
  .quote-block p {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .quote-section {
    padding: 2rem 1rem;
  }
  .quote-block p {
    font-size: 1.1rem;
  }
  .quote-block cite {
    font-size: 0.9rem;
  }
}

/* ===================================
   PERSONAL SECTION - Image Right
   =================================== */
.personal-section {
  padding: 5rem 2rem;
  background: var(--background);
}

.personal-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.personal-text {
  flex: 1;
}

.personal-text h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

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

.personal-image {
  flex-shrink: 0;
}

.personal-img {
  width: 200px;
  height: 250px;
  object-fit: cover;
  border-radius: 0.5rem;
  opacity: 0.9;
}

/* Fix the link inside the Personal Note */
.personal-text a {
  color: var(--primary); /* Green */
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--secondary); /* Gold underline */
  transition: all 0.2s ease;
}

.personal-text a:hover {
  background: var(--secondary); /* Gold background on hover */
  color: white;
}

/* Personal section responsive - stack on mobile */
@media (max-width: 1024px) {
  .personal-content {
    gap: 2rem;
  }
  .personal-img {
    width: 160px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .personal-section {
    padding: 3rem 1.5rem;
  }
  .personal-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .personal-text h2 {
    font-size: 1.5rem;
  }
  .personal-text p {
    font-size: 1rem;
  }
  .personal-img {
    width: 150px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .personal-section {
    padding: 2rem 1rem;
  }
  .personal-text h2 {
    font-size: 1.35rem;
  }
  .personal-text p {
    font-size: 0.95rem;
  }
  .personal-img {
    width: 120px;
    height: 150px;
  }
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
  background: var(--surface);
  padding: 4rem 2rem;
  text-align: center;
}

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

.cta-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.cta-content p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* CTA section responsive */
@media (max-width: 768px) {
  .cta-section {
    padding: 3rem 1.5rem;
  }
  .cta-content h2 {
    font-size: 1.5rem;
  }
  .cta-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .cta-section {
    padding: 2rem 1rem;
  }
  .cta-content h2 {
    font-size: 1.35rem;
  }
  .cta-content p {
    font-size: 0.95rem;
  }
}

/* ===================================
   NEWSLETTER SECTION
   =================================== */
.newsletter-section {
  padding: 4rem 2rem;
  background: var(--background);
}

.newsletter-box {
  max-width: 500px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2.5rem;
  text-align: center;
}

.newsletter-box h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.newsletter-box p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  background: var(--background);
  color: var(--text);
  min-height: 44px;
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--primary);
}

.newsletter-form button {
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  min-height: 44px;
}

.newsletter-form button:hover {
  background: var(--primary-light);
}

/* Newsletter responsive - stack on mobile */
@media (max-width: 768px) {
  .newsletter-section {
    padding: 3rem 1.5rem;
  }
  .newsletter-box {
    padding: 1.5rem;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .newsletter-section {
    padding: 2rem 1rem;
  }
  .newsletter-box {
    padding: 1.25rem;
  }
  .newsletter-form input[type="email"],
  .newsletter-form button {
    font-size: 16px;
    padding: 0.75rem;
  }
}

/* ===================================
   FOOTER OVERRIDE
   =================================== */
.footer {
  display: none !important;
}

.site-footer {
  background: var(--background);
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
}

.site-footer p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0;
}

/* ===================================
   NEWSLETTER & LIBRARY SECTION
   =================================== */
.library-section {
  padding: 5rem 2rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.library-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}

.library-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.library-content p {
  font-family: "Nunito", sans-serif;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.library-links-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 700;
}

.library-links {
  list-style: none;
  padding: 0;
}

.library-links li {
  margin-bottom: 0.75rem;
}

.library-form-box {
  background: white;
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.library-form-label {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* ConvertKit Form Overrides */
.formkit-form {
  width: 100%;
  box-sizing: border-box;
}

.formkit-input,
.library-input {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  transition: border 0.3s ease;
  box-sizing: border-box;
  min-height: 44px;
}

.formkit-input:focus {
  outline: none;
  border-color: var(--secondary);
}

/* Fix corrupted formkit-submit section and add rest of file */
.formkit-submit,
.library-btn {
  width: 100%;
  padding: 1rem;
  background: var(--primary) !important;
  color: white !important;
  border: none;
  border-radius: 4px;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
}

.formkit-submit:hover,
.library-btn:hover {
  background: var(--secondary) !important;
  color: var(--primary) !important;
}

.formkit-spinner {
  margin-right: 10px;
}

.formkit-spinner > div {
  background-color: white !important;
}

.formkit-alert-error {
  background: #fde8e2;
  border: 1px solid #f2643b;
  color: #ea4110;
  padding: 0.5rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  list-style: none;
  font-family: "Nunito", sans-serif;
}

/* Mobile Stack */
@media (max-width: 768px) {
  .library-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .library-form-box {
    padding: 2rem;
  }
}

/* FIX: Hide the error box when it is empty */
.formkit-alert:empty {
  display: none;
  padding: 0;
  border: none;
  margin: 0;
}

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

.compass-content h2 {
  font-family: "Nunito", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  margin-bottom: 2.5rem;
  font-weight: 700;
  opacity: 0.9;
}

.compass-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.compass-link {
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.compass-link .arrow {
  color: var(--secondary);
  transition: transform 0.3s ease;
  display: inline-block;
}

.compass-link:hover {
  color: var(--secondary);
  opacity: 1;
}

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

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

.compass-separator {
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 900px) {
  .compass-links {
    flex-direction: column;
    gap: 2rem;
  }
  .compass-separator {
    display: none;
  }
  .compass-link {
    font-size: 1.5rem;
  }
}

/* ===================================
   HARD TRUTHS SECTION
   =================================== */
.truths-section {
  padding: 6rem 2rem;
  background-color: var(--background);
  background-image: linear-gradient(to right, var(--background) 40%, rgba(255, 255, 255, 0.85) 100%),
    url("/images/rope.png");
  background-position: right center;
  background-repeat: no-repeat;
  background-size: contain;
}

.truths-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.truths-left h2 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  line-height: 1.1;
  color: var(--primary);
  margin-top: 0;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.truths-right-content {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(2px);
  padding: 2rem;
  border-radius: 8px;
}

.truths-item {
  border-left: 3px solid var(--secondary);
  padding-left: 2rem;
}

.truths-item h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.truths-item p {
  font-family: "Nunito", sans-serif;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.truths-bottom-wrapper {
  margin-top: 3rem;
  text-align: center;
  padding-top: 0.4rem;
  border-top: 0px solid rgba(0, 0, 0, 0.05);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  backdrop-filter: blur(5px);
  border-radius: 1rem;
  padding-bottom: 1rem;
}

.truths-final-line {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.highlight-text {
  font-size: 1.6rem;
  color: var(--primary);
  font-weight: 700;
  display: block;
  margin-top: 0.8rem;
}

@media (max-width: 900px) {
  .truths-section {
    background-image: linear-gradient(to right, var(--background) 70%, rgba(255, 255, 255, 0.9) 100%),
      url("/images/rope.png");
    background-position: center right -50px;
  }
  .truths-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .truths-left h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
  }
  .truths-right-content {
    padding: 1rem;
  }
  .truths-bottom-wrapper {
    background: transparent;
    backdrop-filter: none;
  }
}

/* ===================================
   FOOTER CONTACT SECTION
   =================================== */
.site-footer {
  background: var(--surface);
  padding: 6rem 2rem 4rem 2rem;
  color: var(--text);
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.site-footer h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.footer-sub {
  font-family: "Nunito", sans-serif;
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 4rem;
  padding-top: 0.5rem;
}

.contact-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
  margin-top: 1em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contact-card {
  flex-basis: 50%;
  display: flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  transition: all 0.3s ease;
  overflow: hidden;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  text-align: center;
}

.card-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.card-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.8rem;
  color: var(--primary);
  flex-shrink: 0;
}

.card-text {
  text-align: center;
  margin: 0;
}

.card-title {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
}

.card-desc {
  font-family: "Nunito", sans-serif;
  font-size: 0.95rem;
  color: var(--text-muted);
  display: block;
}

.card-arrow {
  font-size: 1.5rem;
  color: var(--secondary);
  position: absolute;
  top: calc(50% - 0.75rem);
  transition: transform 0.3s ease;
}

.contact-card.email-card {
  flex-direction: row;
  padding-left: 4.5rem;
  justify-content: center;
}

.email-card .card-content-wrapper {
  margin-right: auto;
  margin-left: 0;
}

.email-card .card-arrow {
  left: 1.5rem;
}

.email-card:hover .card-arrow {
  transform: translateX(-5px);
}

.contact-card.right-card {
  padding-right: 4.5rem;
  justify-content: center;
}

.right-card .card-content-wrapper {
  margin-left: auto;
  margin-right: 0;
}

.right-card .card-arrow {
  right: 1.5rem;
}

.right-card:hover .card-arrow {
  transform: translateX(5px);
}

.footer-bottom a {
  color: var(--text-muted);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  font-family: "Nunito", sans-serif;
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
}

.footer-bottom a:hover {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
}

@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
    gap: 1.5rem;
  }
  .contact-card {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .contact-card .card-arrow {
    right: 1.5rem;
    left: auto;
  }
  .contact-card.email-card {
    padding-left: 1.5rem;
  }
}

/* ===================================
   POST SINGLE & ARCHIVE STYLES
   =================================== */
.post-single {
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

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

.post-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
  margin-top: 2em;
  margin-bottom: 0.75rem;
}

.post-date {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 1em;
  font-style: italic;
}

.post-content {
  font-size: 1.0825rem;
  color: var(--text);
  line-height: 1.8;
}

.post-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.post-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.post-content p {
  margin-bottom: 1.25rem;
}

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

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

.post-content blockquote {
  border-left: 3px solid var(--secondary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-muted);
}

.post-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

.post-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.back-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

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

/* Image layouts for posts */
.img-center,
.post-content figure.img-center {
  display: block;
  margin: 2rem auto;
  text-align: center;
}

.img-center img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.img-left,
.post-content figure.img-left {
  float: left;
  margin: 0.5rem 2rem 1rem 0;
  max-width: 25%;
}

.img-left img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.img-right,
.post-content figure.img-right {
  float: right;
  margin: 0.5rem 0 1rem 2rem;
  max-width: 45%;
}

.img-right img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.img-full,
.post-content figure.img-full {
  margin: 2rem -2rem;
  text-align: center;
}

.img-full img {
  width: 100%;
  max-width: none;
  height: auto;
}

.img-small,
.post-content figure.img-small {
  display: block;
  margin: 2rem auto;
  text-align: center;
  max-width: 50%;
}

.img-small img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.post-content::after {
  content: "";
  display: table;
  clear: both;
}

.post-content figcaption {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-style: italic;
}

/* Mobile optimizations for post images */
@media (max-width: 768px) {
  .img-left,
  .img-right,
  .post-content figure.img-left,
  .post-content figure.img-right {
    float: none;
    max-width: 100%;
    margin: 2rem auto;
    text-align: center;
  }
}

/* Archive page styles */
.archive-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.archive-title {
  font-size: 2rem;
  font-weight: normal;
  color: var(--primary);
  text-align: center;
  margin-bottom: 3rem;
  margin-top: 2em;
}

.archive-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.archive-item {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.55rem 0;
  border-bottom: 0px solid var(--border);
}

.archive-item:last-child {
  border-bottom: none;
}

.archive-date {
  flex-shrink: 0;
  font-size: 0.875rem;
  color: #999;
  font-family: "SF Mono", "Monaco", monospace;
  min-width: 100px;
}

.archive-link {
  color: var(--text);
  text-decoration: none;
  font-size: 1.0625rem;
  transition: color 0.2s ease;
}

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

@media (max-width: 768px) {
  .archive-item {
    flex-direction: column;
    gap: 0.25rem;
  }
  .archive-date {
    min-width: auto;
  }
}

/* ===================================
   COMPARISON SECTION
   =================================== */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 4rem auto;
}

.compare-card {
  padding: 3rem;
  border-radius: 8px;
}

.traditional {
  background: #f0f0f0;
  color: var(--text-muted);
}

.modern {
  background: var(--primary);
  color: white;
}

.modern h3 {
  color: var(--secondary);
}

.compare-card ul {
  list-style: none;
  padding: 0;
}

.compare-card li {
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 0.5rem;
}

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

/* ===================================
   STEPS GRID
   =================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 4rem auto;
  text-align: center;
}

.step-number {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  color: var(--secondary);
  opacity: 0.5;
  margin-bottom: 1rem;
}

.step-item h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

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

/* ===================================
   RESPONSIVE - POST PAGES
   =================================== */
@media (max-width: 768px) {
  .post-single {
    padding: 2rem 1.5rem;
  }
  .post-title {
    font-size: 1.75rem;
  }
  .post-content {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .post-single {
    padding: 1.5rem 1rem;
  }
  .post-title {
    font-size: 1.5rem;
  }
}

/* ===================================
   PROBLEM / HERO SECTION
   =================================== */
.problem-section {
  padding: 4rem 2rem;
  background: var(--surface);
}

.problem-container {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.problem-content {
  flex: 1;
  min-width: 300px;
}

.problem-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.problem-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--secondary);
  font-weight: 700;
  line-height: 1;
  margin-top: -5px;
}

.step-row strong {
  display: block;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.step-row p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.problem-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cycle-img {
  width: 100%;
  height: auto;
  max-width: 500px;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.05));
}

@media (max-width: 900px) {
  .problem-container {
    flex-direction: column-reverse;
    gap: 3rem;
    text-align: left;
  }
  .problem-content h1 {
    font-size: 2rem;
    text-align: center;
  }
  .problem-image-wrapper {
    width: 100%;
  }
  .cycle-img {
    max-width: 350px;
  }
}

/* ===================================
   HOW THERAPY WORKS
   =================================== */
.works-section {
  padding: 3rem 2rem;
  background: var(--background);
}

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

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

.works-header h1 {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.works-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.works-image-wrapper {
  text-align: center;
  margin-bottom: 4rem;
  width: 100%;
}

.works-img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 0.9;
}

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

.step-minimal {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-huge {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  line-height: 0.8;
  font-weight: 700;
  color: var(--secondary);
  flex-shrink: 0;
}

.step-desc {
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .works-steps-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0 1rem;
  }
  .step-minimal {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ===================================
   SIGNPOST / FAQ SECTION
   =================================== */
.signpost-section {
  padding: 6rem 2rem;
  background: var(--surface);
}

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

.signpost-header {
  text-align: center;
  margin-bottom: 4rem;
}

.signpost-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.signpost-header p {
  font-family: "Nunito", sans-serif;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.signpost-list {
  display: flex;
  flex-direction: column;
}

.signpost-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.signpost-item:last-child {
  border-bottom: none;
}

.signpost-text {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 600;
  transition: color 0.3s ease;
  line-height: 1.3;
}

.signpost-arrow {
  font-size: 1.5rem;
  color: var(--secondary);
  transition: transform 0.3s ease, color 0.3s ease;
  margin-left: 1rem;
}

.signpost-item:hover .signpost-text {
  color: var(--secondary);
}

.signpost-item:hover .signpost-arrow {
  color: var(--primary);
  transform: translateX(10px);
}

@media (max-width: 600px) {
  .signpost-header h2 {
    font-size: 1.75rem;
  }
  .signpost-text {
    font-size: 1.2rem;
  }
  .signpost-item {
    padding: 1.25rem 0;
  }
}

.signpost-footer-link {
  text-align: center;
  margin-top: 3.5rem;
  font-family: "Nunito", sans-serif;
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* ===================================
   POST SHARE CTA
   =================================== */
.post-share-cta {
  background: var(--background);
  border: 0px solid var(--border);
  padding: 10px;
  margin: 0.5rem 0;
  border-radius: 8px;
  text-align: center;
}

.post-share-cta p {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 20px;
}

.share-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  background: var(--secondary);
  color: var(--primary) !important;
  border: none;
  font-family: "Nunito", sans-serif;
  font-size: 1.05rem;
  cursor: pointer;
}

.share-button:hover {
  background: var(--secondary-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
  .share-button {
    width: 100%;
    justify-content: center;
  }
  .post-share-cta p {
    font-size: 1.25rem;
  }
}

/* ===================================
   FOOTER - INTRO & BIO
   =================================== */
.site-footer p.footer-intro-text {
  font-family: "Nunito", sans-serif;
  font-size: 1.2rem !important;
  font-weight: 400 !important;
  color: var(--primary) !important;
  line-height: 1.4 !important;
  font-style: normal !important;
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.7 !important;
}

.footer-cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .footer-cta-buttons {
    width: 100%;
    padding: 0 1rem;
  }
  .footer-cta-buttons .btn {
    width: 100%;
    text-align: center;
  }
}

/* ===================================
   BIO CARD
   =================================== */
.footer-bio-card {
  display: flex;
  background: white;
  max-width: 680px;
  margin: 0 auto 4rem auto;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.bio-image-col {
  width: 220px;
  flex-shrink: 0;
  position: relative;
}

.bio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bio-content-col {
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.bio-content-col h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.bio-content-col p {
  font-family: "Nunito", sans-serif;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.bio-buttons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn-sm {
  padding: 0.6rem 1.2rem !important;
  font-size: 0.9rem !important;
  border-radius: 4px !important;
}

@media (max-width: 700px) {
  .footer-bio-card {
    flex-direction: column;
    max-width: 400px;
    text-align: center;
  }
  .bio-image-col {
    width: 100%;
    height: 250px;
  }
  .bio-content-col {
    padding: 2rem 1.5rem;
    text-align: center;
  }
  .bio-buttons {
    justify-content: center;
  }
}

/* ===================================
   TRAINING PAGE OVERRIDES
   =================================== */
.truths-section.training-variant {
  background-image: linear-gradient(to right, var(--background) 40%, rgba(255, 255, 255, 0.85) 100%),
    url("/images/training-back.jpeg");
}

@media (max-width: 900px) {
  .truths-section.training-variant {
    background-image: linear-gradient(to right, var(--background) 70%, rgba(255, 255, 255, 0.9) 100%),
      url("/images/training-back.jpeg");
  }
}

/* ===================================
   HOME PAGE OVERRIDES
   =================================== */
.truths-section.homep-variant {
  background-image: linear-gradient(to right, var(--background) 40%, rgba(255, 255, 255, 0.85) 100%),
    url("/images/home-back.jpg");
}

@media (max-width: 900px) {
  .truths-section.homep-variant {
    background-image: linear-gradient(to right, var(--background) 70%, rgba(255, 255, 255, 0.9) 100%),
      url("/images/home-back.jpg");
  }
}
