@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

:root{
  --primary: #0f766e;
  --primary-light: #14b8a6;
  --secondary: #f0fdfa;
  --accent: #ccfbf1;
  --text: #1e293b;
  --muted: #64748b;
  --bg: #ffffff;
  --surface: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-hover: 0 20px 40px -10px rgba(0,0,0,0.15);
  --radius: 12px;
  --max-width: 1300px;
  --container-padding: 3rem;
  --heading-font: 'Playfair Display', serif;
  --heading-serif: 'Playfair Display', serif;
  --body-font: 'Plus Jakarta Sans', sans-serif;
  
  /* Pastel Card Colors */
  --card-mint: #ecfdf5;
  --card-peach: #fff7ed;
  --card-sky: #e6fffa;
  --card-rose: #fff1f2;
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.blog-article.reveal.active {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

*{box-sizing: border-box; margin: 0; padding: 0;}
html, body { height: 100%; font-family: var(--body-font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.container { max-width: var(--max-width); margin: 0 auto; padding: var(--container-padding); }

.site-header { 
  position: sticky; 
  top: 0; 
  z-index: 1000; 
  background: rgba(255,255,255,0.9); 
  backdrop-filter: blur(12px); 
  border-bottom: 1px solid rgba(0,0,0,0.05); 
  padding: 0.5rem 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0; }
.logo { 
  font-family: var(--heading-serif); 
  font-weight: 700; 
  font-size: 1.5rem; 
  color: var(--text); 
  text-decoration: none; 
  letter-spacing: -0.02em;
}
.logo-accent { color: var(--primary); }

.header-logo {
  height: 60px;
  width: auto;
  margin-right: 10px;
  vertical-align: middle;
}

.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 1.5rem;
}
.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav a { 
  text-decoration: none; 
  color: var(--muted); 
  font-weight: 500; 
  padding: 0.5rem 1rem; 
  border-radius: 50px; 
  transition: all 0.2s ease; 
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--primary); background-color: var(--card-mint); }
.cta { 
  background: var(--text); 
  color: white !important; 
  padding: 0.75rem 1.5rem !important; 
  border-radius: 50px; 
  text-decoration: none; 
  font-weight: 600; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
  transition: transform 0.2s ease, box-shadow 0.2s ease; 
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(0,0,0,0.15); background: var(--primary) !important; }
.nav-toggle { 
  display: none; 
  background: none; 
  border: none; 
  cursor: pointer; 
  padding: 10px;
  z-index: 1001;
  position: relative;
}

.hamburger-box {
  display: block;
  width: 24px;
  height: 24px;
  position: relative;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  width: 24px;
  height: 2px;
  background-color: var(--text);
  border-radius: 4px;
  position: absolute;
  transition: transform 0.15s ease;
}

.hamburger-inner {
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0s 0.13s linear;
}

.hamburger-inner::before, .hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -8px;
  transition: top 0.1s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger-inner::after {
  bottom: -8px;
  top: auto;
  transition: top 0.1s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.nav-toggle.active .hamburger-inner {
  transition-delay: 0.22s;
  background-color: transparent !important;
}

.nav-toggle.active .hamburger-inner::before {
  top: 0;
  transition: top 0.1s 0.15s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
  transform: rotate(45deg);
}

.nav-toggle.active .hamburger-inner::after {
  top: 0;
  transition: top 0.1s 0.15s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
  transform: rotate(-45deg);
}

.hero { 
  padding: 2rem var(--container-padding); 
  background: none;
}
.hero::before { display: none; }
.hero .container { 
  display: block; 
  min-height: auto;
  padding: 0;
  max-width: 100%;
}
.hero-card {
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
  border-radius: 3rem;
  padding: 6rem 6rem;
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 650px;
  box-shadow: var(--shadow-hover);
}
.hero-content { 
  flex: 1; 
  text-align: left; 
  max-width: 650px; 
  z-index: 2;
}
.hero h1 { 
  font-family: var(--heading-serif); 
  font-size: clamp(2rem, 5vw, 4rem); 
  font-weight: 700; 
  margin-bottom: 2rem; 
  color: #ffffff; 
  line-height: 1.05;
}
.hero p { 
  font-size: clamp(1rem, 2.2vw, 1.3rem); 
  color: rgba(255, 255, 255, 0.95); 
  margin-bottom: 2.25rem; 
  max-width: min(60ch, 520px);
  line-height: 1.6;
}
.hero-actions { 
  display: flex; 
  gap: 1.5rem; 
  justify-content: flex-start; 
}

/* Hero specific button overrides for dark background */
.hero .btn-secondary {
  color: white;
  border-color: white;
}

.hero .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}
.hero-image-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  background-image: url('assets/Community.png');
  background-size: cover;
  background-position: center;
  mask-image: linear-gradient(to right, transparent, black 20%);
  -webkit-mask-image: linear-gradient(to right, transparent, black 20%);
  z-index: 1;
  opacity: 0.8;
}

/* Medium screens (tablets) - improve hero stacking and scale */
@media (max-width: 1024px) {
  .hero-card { padding: 4rem 3rem; min-height: 520px; }
  .hero h1 { font-size: clamp(2.2rem, 6.5vw, 3.25rem); }
  .hero p { font-size: clamp(1rem, 2.6vw, 1.2rem); max-width: 48ch; }
  .hero-image-bg { width: 45%; opacity: 0.85; }
}

.btn-primary { 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface); 
  color: var(--text); 
  padding: 1rem 2rem; 
  border-radius: 50px; 
  text-decoration: none; 
  font-weight: 600; 
  box-shadow: var(--shadow); 
  transition: transform 0.2s ease, box-shadow 0.2s ease; 
  border: none;
  cursor: pointer;
  line-height: 1.2;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); background: var(--secondary); color: #0f766e;}
.btn-secondary { 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent; 
  color:#0f766e; 
  padding: 1rem 2rem; 
  border-radius: 50px; 
  text-decoration: none; 
  font-weight: 600; 
  border: 2px solid #0f766e; 
  transition: background-color 0.2s ease, color 0.2s ease; 
  cursor: pointer;
  line-height: 1.2;
}
.btn-secondary:hover { background-color: rgba(255,255,255,0.1);  transform: translateY(-2px); transition: transform 0.2s ease,}

.btn-outline-primary { 
  background: transparent; 
  color: var(--primary); 
  padding: 1rem 2rem; 
  border-radius: 50px; 
  text-decoration: none; 
  font-weight: 600; 
  border: 2px solid var(--primary); 
  transition: all 0.2s ease; 
}
.btn-outline-primary:hover { 
  background: var(--primary); 
  color: white; 
}

.services { padding: 4rem 0; }
.services-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 4rem;
  flex-wrap: wrap;
}
.services h2 { 
  text-align: left; 
  font-family: var(--heading-serif); 
  font-size: 3.5rem; 
  font-weight: 700; 
  margin-bottom: 1rem; 
  color: var(--text); 
  line-height: 1.1;
  max-width: 400px;
}
.services-intro p { 
  text-align: left; 
  color: var(--muted); 
  margin-bottom: 0; 
  max-width: 500px;
  font-size: 1.15rem;
  line-height: 1.8;
}
.services .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 3rem; }

.card { 
  background: #E4F2EC; 
  border-radius: 2rem; 
  padding: 3rem 2.5rem 1rem 2.5rem; 
  box-shadow: none; 
  text-align: left; 
  transition: transform 0.3s ease; 
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.card:hover { transform: translateY(-8px); }

.card-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.6);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  color: var(--text);
}

.card h3 { 
  font-family: var(--heading-serif); 
  font-size: 2rem; 
  font-weight: 700; 
  margin-bottom: 1rem; 
  color: var(--text); 
  line-height: 1.2;
}
.card p { 
  color: var(--muted); 
  margin-bottom: 2rem; 
  font-size: 1rem;
  line-height: 1.6;
}

.card-image-wrapper {
  margin-top: auto;
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  height: 260px;
  width: 100%;
}
.card img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  border-radius: 0; 
  margin-bottom: 0; 
  transition: transform 0.5s ease;
}
.card:hover img { transform: scale(1.05); }

.card-overlay-btn {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: var(--text);
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 20px);
  z-index: 10;
}
.card:hover .card-overlay-btn {
  opacity: 1;
  transform: translate(-50%, 0);
}

.about-preview { padding: 8rem 0; background: white; }
.about-preview .container { 
  display: flex; 
  align-items: center; 
  gap: 5rem; 
  background: #FFF1F2;
  padding: 5rem;
  border-radius: 3rem;
}
.about-content { flex: 1; }
.about-content h2 { font-family: var(--heading-serif); font-size: 3.5rem; font-weight: 700; margin-bottom: 2rem; color: var(--text); line-height: 1.1; }
.about-content p { color: var(--text); margin-bottom: 3rem; font-size: 1.15rem; line-height: 1.8; }
.about-video { 
  flex: 1.2; 
  position: relative; 
  padding-bottom: 40%; 
  height: 0; 
  overflow: hidden; 
  border-radius: 2rem; 
  box-shadow: var(--shadow-hover); 
  background: black;
}
.about-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 2rem; }

.books-section { padding: 8rem 0; background: var(--surface); }
.books-section h2 { text-align: center; font-family: var(--heading-serif); font-size: 3.5rem; font-weight: 700; margin-bottom: 5rem; color: var(--text); }
.books-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(480px, 1fr)); gap: 4rem; }
.book-card { 
  display: grid; 
  grid-template-columns: 220px 1fr; 
  gap: 3rem; 
  padding: 3.5rem; 
  background: #E4F2EC;
  border-radius: 2.5rem; 
  transition: transform 0.3s ease; 
  align-items: start; 
}
.book-card:nth-child(2) { background: var(--card-rose); }
.book-card:hover { transform: translateY(-5px); }
.book-image img { 
  width: 100%; 
  border-radius: 1rem; 
  box-shadow: 0 8px 24px rgba(0,0,0,0.15); 
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}
.book-card:hover .book-image img { transform: rotate(0) scale(1.05); }
.book-info h3 { font-family: var(--heading-serif); font-size: 2rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--text); line-height: 1.2; }
.book-info h4 { font-size: 1.1rem; font-weight: 600; color: var(--muted); margin-bottom: 1.5rem; font-family: var(--body-font); letter-spacing: 0.02em; text-transform: uppercase; font-size: 0.85rem; }
.book-info p { color: var(--text); margin-bottom: 2.5rem; line-height: 1.7; font-size: 1.1rem; }

.latest-posts { padding: 6rem 0; }
.latest-posts h2 { text-align: center; font-family: var(--heading-serif); font-size: 3rem; font-weight: 700; margin-bottom: 4rem; color: var(--text); }
.latest-posts .posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-bottom: 3rem; }
.post-card { background: var(--surface); border-radius: 2rem; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease; text-decoration: none; display: block; border: 1px solid var(--border); }
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--primary-light); }
.post-card img { width: 100%; height: 260px; object-fit: cover; }
.post-card .content { padding: 2.5rem; }
.post-card h3 { font-family: var(--heading-serif); font-size: 1.75rem; font-weight: 700; margin-bottom: 1rem; color: var(--text); line-height: 1.3; }
.post-card p { color: var(--muted); margin-bottom: 2rem; line-height: 1.7; font-size: 1.05rem; }
.post-card a { color: var(--primary); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1.1rem; }
.post-card a::after { content: '→'; transition: transform 0.2s ease; }
.post-card:hover a::after { transform: translateX(4px); }

.contact-section { padding: 8rem 0; background: var(--secondary); }
.contact-section h2 { text-align: center; font-family: var(--heading-serif); font-size: 3.5rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--text); }
.section-intro { text-align: center; max-width: 700px; margin: 0 auto 5rem; color: var(--muted); font-size: 1.25rem; line-height: 1.7; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; margin-top: 2rem; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 2rem; background: white; padding: 4rem; border-radius: 2.5rem; box-shadow: var(--shadow); width: 100%; margin: 0px; }
.contact-form label { display: flex; flex-direction: column; font-weight: 600; color: var(--text); }
.contact-form label span { margin-bottom: 0.75rem; font-size: 1rem; color: var(--muted); }
.contact-form input, .contact-form textarea, .contact-form select { padding: 1.25rem 1.5rem; border-radius: 16px; border: 1px solid var(--border); font-size: 1.05rem; font-family: inherit; transition: all 0.2s; background: var(--secondary); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--primary); background: white; box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1); }
.contact-form select { cursor: pointer; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.form-message {
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  display: none;
  font-weight: 500;
}
.form-message.success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.form-message.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.contact-info { padding: 4rem; background: var(--card-mint); border-radius: 2.5rem; box-shadow: none; }
.contact-info h3 { font-size: 2.2rem; margin-bottom: 2rem; color: var(--text); font-family: var(--heading-serif); font-weight: 700; }
.contact-info p { margin-bottom: 1.5rem; color: var(--text); font-size: 1.15rem; line-height: 1.7; }
.contact-details { margin: 2rem 0; padding: 1.5rem; background: var(--secondary); border-radius: 8px; }
.contact-details p { margin-bottom: 1rem; }
.contact-details strong { color: var(--text); }
.contact-details a { color: var(--primary); text-decoration: none; font-weight: 500; }
.contact-details a:hover { text-decoration: underline; }
.info-note { margin-top: 2rem; padding: 1.5rem; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 8px; color: #fff; }
.info-note h4 { color: #fff; margin-bottom: 0.5rem; font-size: 1.1rem; }
.info-note p { color: rgba(255,255,255,0.95); margin: 0; font-size: 0.95rem; }

.page-hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); padding: 4rem 0; text-align: center; color: #fff; }
.page-hero h1 { font-size: 2.8rem; margin-bottom: 1rem; color: #fff; font-family: var(--heading-font); font-weight: 700; }
.hero-subtitle { font-size: 1.2rem; color: rgba(255,255,255,0.95); max-width: 700px; margin: 0 auto; }

.booking-services-section { padding: 4rem 0; }
.booking-intro { text-align: center; max-width: 800px; margin: 0 auto 3rem; }
.booking-intro h2 { font-family: var(--heading-font); font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; color: var(--text); }
.booking-intro p { color: var(--muted); font-size: 1.1rem; line-height: 1.6; }

.services-list { max-width: 900px; margin: 0 auto 4rem; }
.service-item { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--border); transition: background-color 0.2s ease; }
.service-item:hover { background-color: var(--secondary); padding-left: 1.5rem; padding-right: 1.5rem; margin-left: -1.5rem; margin-right: -1.5rem; border-radius: var(--radius); }
.service-item:last-child { border-bottom: none; }
.service-info { flex: 1; }
.service-info h3 { font-family: var(--heading-font); font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text); }
.service-info p { color: var(--muted); line-height: 1.6; margin: 0; }
.service-action { flex-shrink: 0; }

.booking-help-section { max-width: 800px; margin: 0 auto; padding: 3rem; background: var(--secondary); border-radius: var(--radius); text-align: center; }
.help-content h3 { font-family: var(--heading-font); font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; color: var(--text); }
.help-content > p { color: var(--muted); margin-bottom: 2rem; line-height: 1.6; }
.help-actions { display: flex; gap: 1rem; justify-content: center; margin-bottom: 1.5rem; flex-wrap: wrap; }
.help-note { font-size: 0.9rem; color: var(--muted); margin: 0; font-style: italic; }

.modal-header { padding: 1.5rem; border-bottom: 1px solid var(--border); text-align: center; }
.modal-header h2 { font-family: var(--heading-font); font-size: 1.8rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text); }
.modal-header p { color: var(--muted); margin: 0; }

.site-footer { 
  background: white; 
  padding: 4rem 0; 
  text-align: center; 
  color: var(--muted); 
  border-top: 1px solid var(--border); 
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.site-footer p { margin: 0; font-size: 0.95rem; }
.footer-nav {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}
.site-footer a { 
  color: var(--text); 
  text-decoration: none; 
  font-weight: 500;
  transition: color 0.2s ease;
}
.site-footer a:hover { color: var(--primary); }

.booking-grid { display: grid; grid-template-columns: 1fr 450px; gap: 3rem; align-items: start; padding: 4rem 0; }
.booking-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.booking-widget { background: var(--surface); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.booking-widget h2 { font-family: var(--heading-font); font-size: 1.75rem; font-weight: 700; margin-bottom: 1rem; color: var(--text); }
.booking-widget h3 { font-family: var(--heading-font); font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; color: var(--text); }
.slots-list { display: flex; flex-direction: column; gap: 1rem; }
.day-card { background: var(--secondary); border: 1px solid var(--border); padding: 1.5rem; border-radius: var(--radius); }
.day-card .day-label { font-weight: 600; color: var(--text); margin-bottom: 1rem; }
.time-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.time-chip { padding: 0.5rem 1rem; border-radius: 50px; border: 1px solid var(--border); background: white; cursor: pointer; font-size: 0.9rem; transition: all 0.2s ease; }
.time-chip:hover { background: var(--accent); border-color: var(--primary); }
.time-chip.active { background: var(--primary); color: white; border-color: var(--primary); }
.selected-chip { display: inline-block; padding: 0.5rem 1rem; border-radius: 50px; background: var(--accent); border: 1px solid var(--primary); color: var(--primary); margin-top: 1rem; }
.btn-primary { background: var(--primary); color: white; padding: 0.75rem 1.5rem; border-radius: 50px; text-decoration: none; font-weight: 600; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn.disabled { opacity: 0.5; pointer-events: none; }

.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: none; align-items: center; justify-content: center; padding: 1rem; z-index: 9999; }
.modal[aria-hidden="false"] { display: flex; }
.modal-inner { background: var(--surface); border-radius: var(--radius); max-width: 1200px; width: 100%; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; }
.modal-close { background: transparent; border: 0; font-size: 1.5rem; padding: 0.5rem; position: absolute; right: 1rem; top: 1rem; cursor: pointer; color: var(--muted); }
.modal-controls { padding: 1.5rem; border-bottom: 1px solid var(--border); display: flex; gap: 1rem; align-items: center; }
.modal-controls label { flex: 0 0 150px; font-weight: 500; }
.modal-controls input { flex: 1; padding: 0.75rem; border: 1px solid var(--border); border-radius: 8px; }
.modal-actions { display: flex; gap: 0.5rem; }
.calendly-frame-wrap { padding: 0; }
.calendly-frame-wrap iframe { width: 100%; height: 600px; border: 0; }

@media (max-width: 768px) {
  body.modal-open .site-header {
    pointer-events: none;
  }
  /* Mobile Navigation */
  .nav-toggle { 
    display: block; 
    z-index: 1100; /* Ensure above drawer */
  }
  
  .header-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .main-nav {
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    
    background: white;
    padding: 6rem 2rem 2rem;
    gap: 0;
    
    z-index: 1050;
    
    opacity: 1;
    visibility: visible;
    backdrop-filter: none;
  }

  .main-nav.open { 
    display: flex;
    /* Drawer shadow + Backdrop dimming hack */
    box-shadow: -5px 0 15px rgba(0,0,0,0.05), 0 0 0 100vmax rgba(0,0,0,0.5);
  }

  .main-nav a { 
    font-family: var(--body-font);
    font-size: 1.1rem; 
    color: var(--text); 
    font-weight: 500;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    text-align: left;
    background: transparent !important;
    border-radius: 0; /* Reset pill shape */
    border-top: none;
    border-left: none;
    border-right: none;
  }
  
  .main-nav a:first-of-type {
    border-top: 1px solid var(--border);
  }
  
  .main-nav a:hover {
    color: var(--primary);
    padding-left: 0.5rem; /* Subtle movement */
    background: transparent !important;
  }

  .main-nav .cta { 
    margin-top: 2rem; 
    font-family: var(--body-font);
    font-size: 1rem;
    background: var(--primary) !important;
    color: white !important;
    padding: 1rem !important;
    text-align: center;
    width: 100%;
    display: block;
    border-radius: 12px;
  }
  
  /* Prevent scrolling when menu is open */
  body.menu-open {
    overflow: hidden;
  }

  /* Layout & Spacing */
  :root { --container-padding: 1.5rem; }
  
  .hero { padding: 1rem; }
  .hero-card { 
    flex-direction: column; 
    padding: 3rem 1.5rem; 
    text-align: center; 
    min-height: auto;
    border-radius: 2rem;
    gap: 2rem;
  }
  .hero-content { max-width: 100%; margin-bottom: 0; }
  .hero h1 { font-size: 2rem; margin-bottom: 1rem; }
  .hero p { font-size: 1rem; margin-left: auto; margin-right: auto; margin-bottom: 1.5rem; }
  .hero-actions { justify-content: center; flex-direction: column; gap: 1rem; }
  .hero-actions .btn-primary, .hero-actions .btn-secondary { 
    width: 100%; 
    text-align: center; 
    display: flex; /* Ensure flex behavior on mobile */
  }
  
  .hero-image-bg { 
    position: relative; 
    width: 100%; 
    height: 200px; 
    mask-image: linear-gradient(to bottom, transparent, black 10%);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%);
    margin-top: 0;
    opacity: 0.8;
    border-radius: 1rem;
  }
  
  .services { padding: 3rem 0; }
  .services-intro { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
  .services h2 { font-size: 2rem; max-width: 100%; line-height: 1.2; }
  .services-intro p { max-width: 100%; font-size: 1rem; }

  .services .cards, .latest-posts .posts-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .card { padding: 1.5rem; border-radius: 1.5rem; min-height: auto; }
  
  .about-preview { padding: 3rem 0; }
  .about-preview .container { flex-direction: column; padding: 1.5rem; gap: 2rem; border-radius: 1.5rem; align-items: center; }
  .about-content h2 { font-size: 2rem; }
  .about-content { text-align: center; }
  .about-content p { text-align: center; }
  .about-content .btn-primary { display: inline-flex; margin: 0 auto; }
  .about-video { width: 100%; position: relative; height: 0; padding-bottom: 60%; border-radius: 1.5rem; overflow: visible; }\n  .about-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 1.5rem; }
  
  .books-section { padding: 3rem 0; }
  .books-section h2 { font-size: 2rem; margin-bottom: 2rem; line-height: 1.2; }
  .books-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .book-card { grid-template-columns: 1fr; text-align: center; padding: 1.5rem; gap: 1.5rem; border-radius: 1.5rem; }
  .book-image img { max-width: 150px; margin: 0 auto; }\n\n  .card-image-wrapper { height: 180px; }\n  .post-card img { height: 180px; }
  
  .latest-posts { padding: 3rem 0; }
  .latest-posts h2 { font-size: 2rem; margin-bottom: 2rem; }
  
  .contact-section { padding: 2rem 0; }
  .contact-section h2 { font-size: 1.75rem; margin-bottom: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; margin-top: 1rem; }
  
  .contact-form { 
    padding: 1.5rem; 
    border-radius: 1.5rem; 
    gap: 1.5rem;
  }
  .contact-form .form-row { grid-template-columns: 1fr; gap: 1rem; }
  .contact-form label span { font-size: 0.9rem; margin-bottom: 0.5rem; }
  .contact-form input, .contact-form select, .contact-form textarea { 
    width: 100%; 
    font-size: 1rem; 
    padding: 0.875rem 1rem; 
    border-radius: 12px;
  }
  .contact-form .btn-primary {
    width: 100%;
    display: flex;
    margin-top: 0.5rem;
  }
  .section-intro {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .contact-info { 
    padding: 1.5rem; 
    border-radius: 1.5rem; 
    margin-top: 0;
  }
  .contact-info h3 { font-size: 1.5rem; margin-bottom: 1rem; }
  .contact-info p { font-size: 1rem; margin-bottom: 1rem; }
  .contact-details { padding: 1rem; margin: 1.5rem 0; }
  .info-note { padding: 1rem; margin-top: 1.5rem; }
  
  .page-header-card { 
    padding: 3rem 1.5rem; 
    margin-bottom: 3rem; 
    border-radius: 1.5rem; 
    text-align: center;
  }
  .page-header-card h1 { font-size: 2rem; margin-bottom: 1rem; }
  
  .about-main { margin-bottom: 3rem; }
  .about-intro p { font-size: 1.05rem; margin-bottom: 1.5rem; }

  .about-values { margin-bottom: 3rem; }
  .about-values h2 { font-size: 2rem; margin-bottom: 2rem; }
  .values-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .value-item { padding: 2rem; border-radius: 1.5rem; }
  .value-item h3 { font-size: 1.5rem; }
  
  .about-bio-section { 
    flex-direction: column; 
    align-items: center;
    padding: 2rem 1.25rem; 
    gap: 1.75rem; 
    border-radius: 1.75rem; 
    text-align: center;
  }
  .bio-image-container { 
    width: 100%; 
    max-width: 350px; 
    margin: 0 auto; 
    flex-shrink: 1;
    overflow: hidden;
    border-radius: 1.5rem;
  }
  .bio-image-container img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    border-radius: inherit;
  }
  .bio-content h2 { font-size: 1.9rem; margin-bottom: 1rem; }
  .bio-content p { text-align: left; font-size: 1rem; margin-bottom: 1.5rem; }
  .bio-content .btn-primary { width: 100%; display: flex; justify-content: center; }
  
  .forums-simple-list { gap: 2rem; }
  .forum-link-item { flex-direction: column; align-items: flex-start; padding: 2rem; gap: 2rem; border-radius: 2rem; }
  .forum-link-image { width: 100%; height: 200px; }
  
  .services-list { margin-bottom: 4rem; gap: 2rem; }
  .service-item { padding: 2rem; border-radius: 2rem; }
  .booking-help-section { padding: 2rem; border-radius: 2rem; }
  
  .blog-page { padding: 4rem 0; }
  .blog-header { margin-bottom: 4rem; }
  .blog-header h1 { font-size: 2.5rem; }
  .blog-list { gap: 3rem; margin-bottom: 4rem; }
  .blog-article { flex-direction: column; padding: 2rem; gap: 2rem; border-radius: 2rem; }
  .blog-article-image { width: 100%; height: 220px; }
  .blog-cta { padding: 2.5rem; }
  
  .site-footer { padding: 2rem 1rem; text-align: center; }
  .site-footer .container > div:first-child { grid-template-columns: 1fr !important; text-align: center; gap: 1.5rem; justify-items: center; }
  .site-footer h3, .site-footer h4 { text-align: center; font-size: 1.3rem; }
  .site-footer form { flex-direction: column; width: 100%; align-items: center; }
  .site-footer input[type="email"] { width: 100%; max-width: 300px; margin-bottom: 1rem; flex: none !important; padding: 0.8rem; }
  .site-footer button { width: 100%; max-width: 300px; padding: 0.8rem; }
  .site-footer .container > div:last-child { flex-direction: column; align-items: center; gap: 1rem; text-align: center; padding-top: 1.5rem; }
  .site-footer .container > div:last-child > div { justify-content: center; flex-wrap: wrap; gap: 0.8rem; }
  .footer-logo { height: 60px !important; }
  .site-footer p { font-size: 0.9rem; }
  
  /* Page Specific Mobile Fixes */
  
  /* Booking Page - Service Items */
  .service-item { flex-direction: column; align-items: flex-start; gap: 1.5rem; text-align: left; }
  .service-action { width: 100%; margin-top: 0.5rem; }
  .service-action button { width: 100%; }
  
  /* About Page - Bio Section */
  .about-bio-section { flex-direction: column; text-align: center; }
  .bio-content { text-align: left; } /* Keep text left aligned for readability, or center if preferred */
  .bio-content h2 { text-align: center; }
  
  /* Footer Inline Style Overrides */
  footer.site-footer[style] { padding: 3rem 0 !important; }
  footer.site-footer .container > div:first-child[style] { gap: 2rem !important; margin-bottom: 2rem !important; }
  
  /* Ensure images don't overflow */
  img { max-width: 100%; height: auto; }
  
  /* Modal adjustments */
  .modal { padding: 0; }
  .modal-inner { height: 100vh; width: 100vw; max-width: 100%; border-radius: 0; display: flex; flex-direction: column; }
  .modal-header { padding: 0.5rem; flex-shrink: 0; background: var(--surface); position: sticky; top: 0; z-index: 10; }
  .modal-header h2 { font-size: 1.4rem; }
  .modal-close { top: 0.25rem; right: 0.25rem; font-size: 1.8rem; }
  .calendly-frame-wrap { flex: 1 1 auto; overflow: hidden; }
  .calendly-frame-wrap iframe { width: 100%; height: 100%; border: 0; }
}

a:focus { outline: 2px solid var(--primary); outline-offset: 2px; }
img { max-width: 100%; display: block; }
small.muted { color: var(--muted); font-size: 0.9rem; }

/* Page Header Card */
.page-header-card {
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
  border-radius: 3rem;
  padding: 6rem 2rem;
  text-align: center;
  margin-bottom: 6rem;
  position: relative;
  overflow: hidden;
}
.page-header-card h1 {
  font-family: var(--heading-serif);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}
.page-header-card p {
  font-size: 1.25rem;
  color: white;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* About Page */
.about-page { padding: 2rem var(--container-padding); }
.about-main { max-width: 900px; margin: 0 auto 6rem; }
.about-intro p { font-size: 1.2rem; color: var(--text); line-height: 1.9; margin-bottom: 2rem; }

.about-values { max-width: 1200px; margin: 0 auto 8rem; }
.about-values h2 { text-align: center; font-family: var(--heading-serif); font-size: 3rem; font-weight: 700; margin-bottom: 4rem; color: var(--text); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 3rem; }
.value-item { 
  padding: 3.5rem; 
  background: #E4F2EC;
  border-radius: 2.5rem; 
  transition: transform 0.3s ease;
}
.value-item:nth-child(2) { background: #E4F2EC}
.value-item:nth-child(3) { background:#E4F2EC;}
.value-item:hover { transform: translateY(-5px); }
.value-item h3 { font-family: var(--heading-serif); font-size: 1.8rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--text); }
.value-item p { color: var(--muted); line-height: 1.8; margin: 0; font-size: 1.1rem; }

.about-bio-section { 
  display: flex; 
  gap: 4rem; 
  align-items: center; 
  flex-wrap: wrap;
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 5rem; 
  background: var(--surface); 
  border-radius: 3rem; 
  box-shadow: var(--shadow); 
  border: 1px solid var(--border);
}
.bio-image-container { 
  flex: 1 1 340px; 
  max-width: 420px; 
  width: 100%; 
}
.bio-image-container img { width: 100%; border-radius: 2rem; box-shadow: var(--shadow-hover); }
.bio-content { flex: 1 1 360px; }
.bio-content h2 { font-family: var(--heading-serif); font-size: 3rem; font-weight: 700; margin-bottom: 2rem; color: var(--text); }
.bio-content p { font-size: 1.15rem; color: var(--muted); line-height: 1.9; margin-bottom: 2rem; }

@media (max-width: 1024px) {
  .about-bio-section {
    padding: 3rem 2rem;
    gap: 2.5rem;
    flex-direction: column;
    align-items: center;
  }

  .bio-image-container {
    max-width: 480px;
  }

  .bio-content {
    width: 100%;
    text-align: center;
  }

  .bio-content p {
    text-align: left;
  }
}

/* Mobile override for bio section (placed after desktop styles for cascade) */
@media (max-width: 768px) {
  .about-bio-section {
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    text-align: center;
    gap: 2rem;
  }

  .about-bio-section .bio-image-container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    flex-shrink: 1;
    overflow: hidden;
    border-radius: 1.5rem;
  }

  .about-bio-section .bio-image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: inherit;
  }

  .about-bio-section .bio-content {
    width: 100%;
  }

  .about-bio-section .bio-content h2 {
    font-size: 1.8rem;
  }

  .about-bio-section .bio-content p {
    font-size: 1rem;
    text-align: left;
  }
}

/* Forums Page */
.forums-page { padding: 2rem var(--container-padding); }
.forums-simple-list { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 3rem; }
.forum-link-item { 
  display: flex; 
  align-items: center; 
  gap: 3.5rem; 
  padding: 3.5rem; 
  background: var(--surface); 
  border-radius: 2.5rem; 
  text-decoration: none; 
  transition: all 0.3s ease; 
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.forum-link-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--primary-light); }
.forum-link-image { flex-shrink: 0; width: 220px; height: 180px; border-radius: 1.5rem; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.forum-link-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.forum-link-item:hover .forum-link-image img { transform: scale(1.1); }
.forum-link-content { flex: 1; }
.forum-link-content h3 { font-family: var(--heading-serif); font-size: 2rem; font-weight: 700; margin-bottom: 1rem; color: var(--text); }
.forum-link-content p { color: var(--muted); line-height: 1.7; margin: 0; font-size: 1.1rem; }
.forum-link-action { flex-shrink: 0; }
.join-arrow { 
  background: var(--primary); 
  color: white; 
  padding: 1rem 2rem; 
  border-radius: 50px; 
  font-weight: 600; 
  font-size: 1rem; 
  display: inline-flex; 
  align-items: center; 
  gap: 0.75rem;
  transition: all 0.2s ease;
}
.forum-link-item:hover .join-arrow { background: var(--primary-light); transform: translateX(5px); }

/* Booking Page */
.booking-services-section { padding: 2rem var(--container-padding); }
.services-list { max-width: 1100px; margin: 0 auto 6rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.service-item { 
  display: flex; 
  flex-direction: column; 
  gap: 2rem; 
  padding: 3.5rem; 
  background: var(--card-rose); 
  border-radius: 2.5rem; 
  border: none; 
  transition: transform 0.3s ease; 
  height: 100%;
  align-items: flex-start;
  margin: 0;
}
.service-item:nth-child(2) { background: var(--card-mint); }
.service-item:nth-child(3) { background: var(--card-sky); }
.service-item:nth-child(4) { background: var(--card-peach); }

.service-item:hover { transform: translateY(-5px); background-color: inherit; padding: 3.5rem; margin: 0; box-shadow: var(--shadow-hover); }
.service-info { flex: 1; }
.service-info h3 { font-family: var(--heading-serif); font-size: 2rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--text); }
.service-info p { color: var(--text); line-height: 1.7; margin: 0; font-size: 1.1rem; opacity: 0.8; }
.service-action { width: 100%; margin-top: auto; }
.service-action button { width: 100%; background: rgba(255,255,255,0.6); color: var(--text); border: none; padding: 1rem; font-size: 1rem; }
.service-action button:hover { background: white; color: var(--primary); }

/* Blog Page Updates */
.blog-header h1 { font-family: var(--heading-serif); font-size: 3.5rem; }
.blog-article { background: white; border-radius: 2.5rem; border: 1px solid var(--border); padding: 3.5rem; }
.blog-article-content h2 { font-family: var(--heading-serif); font-size: 2.2rem; }
.article-category { background: var(--primary); color: white; }

/* Blog Page */
.blog-page { padding: 6rem 0; }
.blog-header { text-align: center; max-width: 800px; margin: 0 auto 6rem; }
.blog-header h1 { font-family: var(--heading-font); font-size: 3.5rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--text); }
.blog-header p { color: var(--muted); font-size: 1.25rem; line-height: 1.8; }

.blog-list { max-width: 1100px; margin: 0 auto 6rem; display: flex; flex-direction: column; gap: 4rem; }
.blog-article { 
  display: flex; 
  gap: 3.5rem; 
  padding: 3.5rem; 
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.blog-article:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: var(--primary-light);
}
.blog-article-image { 
  flex-shrink: 0; 
  width: 420px; 
  height: 280px; 
  border-radius: 2rem; 
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.blog-article-image img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: transform 0.4s ease;
}
.blog-article:hover .blog-article-image img { transform: scale(1.08); }
.blog-article-content { flex: 1; display: flex; flex-direction: column; padding: 0.5rem 0; }
.blog-article-meta { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; align-items: center; flex-wrap: wrap; }
.article-date { 
  font-size: 1rem; 
  color: var(--muted); 
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.article-date::before {
  /* content: '📅'; Removed emoji */
  font-size: 1rem;
}
.article-category { 
  font-size: 0.9rem; 
  color: white; 
  font-weight: 600; 
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 0.5rem 1.25rem; 
  border-radius: 25px;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.2);
}
.blog-article-content h2 { 
  font-family: var(--heading-font); 
  font-size: 2.2rem; 
  font-weight: 700; 
  margin-bottom: 1.25rem; 
  color: var(--text); 
  line-height: 1.3;
  transition: color 0.3s ease;
}
.blog-article:hover h2 { color: var(--primary); }
.blog-article-content p { 
  color: var(--muted); 
  font-size: 1.15rem;
  line-height: 1.8; 
  margin-bottom: 2rem;
  flex-grow: 1;
}
.article-link { 
  color: var(--primary); 
  font-weight: 600; 
  font-size: 1.1rem;
  text-decoration: none; 
  display: inline-flex; 
  align-items: center; 
  gap: 0.5rem; 
  transition: all 0.2s ease; 
  margin-top: auto;
  padding: 0.5rem 0;
}
.article-link:hover { 
  gap: 1rem;
  color: var(--primary-light);
}

.blog-cta { max-width: 800px; margin: 0 auto; padding: 4rem; background: var(--secondary); border-radius: 2.5rem; text-align: center; }
.blog-cta h3 { font-family: var(--heading-font); font-size: 2.2rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--text); }
.blog-cta p { color: var(--muted); margin-bottom: 2.5rem; line-height: 1.7; font-size: 1.1rem; }

/* Blog listing mobile overrides (placed after base styles so they take precedence) */
@media (max-width: 768px) {
  .blog-page { padding: 3rem 0; }
  .blog-header { margin-bottom: 3rem; }
  .blog-header h1 { font-size: 2.4rem; }
  .blog-list { gap: 2rem; margin-bottom: 3rem; }
  .blog-article { 
    flex-direction: column; 
    gap: 1.5rem; 
    padding: 2rem; 
    border-radius: 1.75rem; 
  }
  .blog-article-image { 
    width: 100%; 
    max-width: none; 
    height: 220px; 
  }
  .blog-article-content { padding: 0; }
  .blog-cta { padding: 2.5rem; }
}

/* Single Blog Post Design */
.single-post {
  padding-bottom: 6rem;
}

.post-header {
  padding: 6rem 0 4rem;
  text-align: center;
  background: linear-gradient(to bottom, var(--secondary) 0%, white 100%);
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.post-category {
  background: var(--accent);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.post-title {
  font-family: var(--heading-serif);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.post-intro {
  font-size: 1.35rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 750px;
  margin: 0 auto 2.5rem;
}

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

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.author-name {
  font-size: 1rem;
  color: var(--text);
}

.post-featured-image {
  margin-bottom: 4rem;
}

.post-featured-image img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  border-radius: 2rem;
  box-shadow: var(--shadow);
}

.post-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 4rem;
  align-items: start;
}

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

.post-body p {
  margin-bottom: 2rem;
}

.lead-paragraph {
  font-size: 1.35rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.6;
}

.post-body h2 {
  font-family: var(--heading-serif);
  font-size: 2.2rem;
  font-weight: 700;
  margin: 3rem 0 1.5rem;
  color: var(--text);
}

.post-quote {
  border-left: 4px solid var(--primary);
  padding: 2rem 2.5rem;
  background: var(--secondary);
  border-radius: 0 1rem 1rem 0;
  margin: 3rem 0;
  font-family: var(--heading-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--primary);
}

.post-callout {
  background: var(--card-mint);
  padding: 2.5rem;
  border-radius: 1.5rem;
  margin: 3rem 0;
  border: 1px solid rgba(15, 118, 110, 0.1);
}

.post-callout h3 {
  font-family: var(--heading-serif);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.post-references {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--muted);
}

.post-references h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.post-references ol {
  padding-left: 1.5rem;
}

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

/* Sidebar */
.post-sidebar {
  position: sticky;
  top: 8rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background: var(--surface);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.sidebar-widget h3 {
  font-family: var(--heading-serif);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.author-widget .widget-content {
  text-align: center;
}

.author-widget img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
}

.author-widget h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.author-widget p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.widget-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.widget-links a {
  display: block;
  padding: 0.75rem 1rem;
  background: var(--secondary);
  border-radius: 0.75rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: all 0.2s ease;
}

.widget-links a:hover {
  background: var(--primary);
  color: white;
  transform: translateX(5px);
}

.cta-widget {
  background: var(--primary);
  color: white;
  text-align: center;
}

.cta-widget h3 {
  color: white;
  border-color: rgba(255,255,255,0.2);
}

.cta-widget p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.cta-widget .btn-primary {
  background: white;
  color: var(--primary);
  width: 100%;
  display: block;
}

.cta-widget .btn-primary:hover {
  background: var(--accent);
}

/* Comments */
.post-comments-section {
  background: var(--secondary);
  padding: 5rem 3rem;
  margin-top: 5rem;
}

.comments-list {
  max-width: 800px;
  margin: 0 auto 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.comment-item {
  display: flex;
  gap: 1.5rem;
  background: white;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.comment-item.reply {
  margin-left: 4rem;
  background: var(--card-sky);
}

.comment-avatar {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.comment-avatar.author {
  background: var(--primary);
}

.comment-body {
  flex: 1;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.comment-date {
  font-size: 0.85rem;
  color: var(--muted);
}

.comment-badge {
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  text-transform: uppercase;
  font-weight: 600;
}

.comment-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 2rem;
  box-shadow: var(--shadow);
}

.comment-form-wrapper h3 {
  font-family: var(--heading-serif);
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.comment-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.comment-text {
  color: var(--text);
  line-height: 1.7;
  margin: 0;
}

.comment-author {
  color: var(--text);
  font-size: 1rem;
}

.no-comments {
  text-align: center;
  color: var(--muted);
  padding: 2rem;
  font-style: italic;
}

.error-message {
  text-align: center;
  color: #dc2626;
  padding: 1.5rem 2rem;
}

.comment-message {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.comment-message.success {
  background: #dcfce7;
  color: #166534;
}

.comment-message.error {
  background: #fee2e2;
  color: #991b1b;
}

@media (max-width: 768px) {
  .comment-form .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .comment-item {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .comment-avatar {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .comment-form-wrapper {
    padding: 1.5rem;
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.post-navigation {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

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

@media (max-width: 900px) {
  .post-content-wrapper {
    grid-template-columns: 1fr;
  }
  
  .post-sidebar {
    position: static;
    margin-top: 3rem;
  }
  
  .post-title {
    font-size: 2.5rem;
  }
  
  .comment-item.reply {
    margin-left: 2rem;
  }
}

@media (max-width: 600px) {
  .post-header {
    padding: 4rem 0 2rem;
  }
  
  .post-title {
    font-size: 2rem;
  }
  
  .post-intro {
    font-size: 1.1rem;
  }
  
  .comment-item {
    flex-direction: column;
    gap: 1rem;
  }
  
  .comment-avatar {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* Cascade-safe mobile overrides for bio, blog author, and contact */
@media (max-width: 768px) {
  /* Enforce safe image scaling everywhere */
  .about-bio-section .bio-image-container,
  .bio-image-container,
  .blog-article-image,
  .post-featured-image,
  .author-widget img,
  .card-image-wrapper,
  .book-image img,
  .forum-link-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    object-fit: cover !important;
  }

  /* Ensure bio image container doesn't have fixed width & centers correctly */
  .about-bio-section .bio-image-container {
    max-width: 420px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
  }

  /* Author widget: size & centering */
  .author-widget img {
    width: 120px !important;
    height: 120px !important;
    max-width: 120px !important;
    border-radius: 50% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    object-fit: cover !important;
  }

  /* Blog article image full-width stack */
  .blog-article-image {
    width: 100% !important;
    max-width: 100% !important;
    height: 220px !important;
  }

  /* Contact: ensure form and info stack nicely and buttons fill */
  .contact-grid { grid-template-columns: 1fr !important; gap: 1.25rem !important; }
  .contact-form { padding: 1.25rem !important; border-radius: 12px !important; }
  .contact-info { padding: 1.25rem !important; border-radius: 12px !important; }
  .contact-form .btn-primary, .contact-form .btn-primary:link, .contact-form .btn-primary:visited {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  /* Remove potential inline footer sizing conflicts on narrow screens */
  footer.site-footer[style] { padding: 3rem 1rem !important; }
  footer.site-footer[style] .container { padding: 0 !important; }

  /* Booking Page Mobile Improvements */
  
  .service-item { padding: 2rem !important; border-radius: 1.5rem !important; }
  .service-info h3 { font-size: 1.5rem !important; }
.services-list { grid-template-columns: repeat(1, 1fr) !important; gap: 2rem !important; }
}

/* Small phones further tuning */
@media (max-width: 420px) {
  .about-bio-section .bio-content p, .about-bio-section .bio-content { text-align: left !important; }
  .author-widget img { width: 100px !important; height: 100px !important; max-width: 100px !important; }
}

