@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ===========================
   SKIP NAVIGATION (Accessibility)
=========================== */
.skip-nav {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  background: var(--primary-teal, #317270);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 8px 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.18s;
}

.skip-nav:focus {
  top: 0;
}

/* ===========================
   FOCUS RING (Keyboard Navigation)
=========================== */
:focus-visible {
  outline: 3px solid var(--primary-teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Remove focus ring from mouse users but keep for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}

/* ===========================
   CSS CUSTOM PROPERTIES
=========================== */
:root {
  --primary-teal: #317270;
  --dark-teal: #22514F;
  --light-teal-bg: #EAEFEC;
  --accent-coral: #DD6E55;
  --soft-gray: #F5F4F0;
  --body-text: #4A4A4A;
  --heading-text: #2B4543;
  --muted-text: #7A7A7A;
  --border-color: #E2E2E2;
  --bg: var(--soft-gray);
  --card-bg: white;
  --text: var(--body-text);
  --muted: var(--muted-text);
  --border: var(--border-color);
  --nav-height: 68px;
}

.dark {
  --primary-teal: #49A4A1;
  --accent-coral: #F78267;
  --bg: #1A1F1F;
  --card-bg: #222929;
  --text: #F1F5F9;
  --heading-text: #E5EBEA;
  --muted: #94A3B8;
  --border: #334155;
}

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

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-y: scroll;
}

h1,
h2,
h3,
h4,
.font-heading {
  font-family: 'Outfit', sans-serif;
  color: var(--heading-text);
  margin: 0 0 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}

small {
  font-size: 0.875rem;
  color: var(--muted);
}

ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
  color: var(--text);
}

li::marker {
  color: var(--primary-teal);
}

a {
  color: var(--primary-teal);
}

/* ===========================
   NAVIGATION
=========================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.dark nav {
  background: rgba(34, 41, 41, 0.97);
  border-bottom: 1px solid var(--border);
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav-brand h2 {
  margin: 0;
  font-size: 1.4rem;
  color: var(--primary-teal);
}

.nav-brand img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

/* Desktop nav list */
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

nav ul li {
  position: relative;
}

nav ul li a {
  display: inline-block;
  color: var(--heading-text);
  text-decoration: none;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
}

nav ul li a:hover {
  background: rgba(49, 114, 112, 0.1);
  color: var(--primary-teal);
}

nav a.active {
  background: var(--primary-teal);
  color: white !important;
  font-weight: 600;
  border-radius: 6px;
}

nav a.active:hover {
  background: var(--dark-teal);
  color: white !important;
}

/* Mobile hamburger — hidden on desktop */
#nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--heading-text);
  padding: 0.45rem 0.55rem;
  line-height: 1;
  transition: background 0.2s;
}

#nav-toggle:hover {
  background: rgba(49, 114, 112, 0.08);
}

#nav-toggle svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ===========================
   DROPDOWN SUBMENUS (desktop)
=========================== */
.nav-item-with-children {
  display: flex;
  align-items: center;
}

/* Desktop: toggle button is hidden — submenu opens on CSS :hover */
.submenu-toggle {
  display: none;
}

/* Static chevron indicator in the desktop link text */
.nav-chevron {
  display: inline-block;
  font-size: 0.7rem;
  margin-left: 3px;
  opacity: 0.5;
  vertical-align: middle;
  transition: opacity 0.18s, transform 0.22s;
  transform-origin: center 55%;
  line-height: 1;
}

.has-children:hover .nav-chevron {
  opacity: 1;
  color: var(--primary-teal);
  transform: rotate(180deg);
}

/* Desktop submenu dropdown — opens on hover */
.submenu {
  display: none;
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  padding: 0.6rem;
  min-width: 200px;
  flex-direction: column;
  gap: 0.15rem;
  z-index: 200;
  margin-top: 0;
}

/* Invisible bridge so mouse can reach the dropdown without it closing */
.submenu::before {
  content: '';
  position: absolute;
  top: -0.6rem;
  left: 0;
  width: 100%;
  height: 0.6rem;
}

/* Desktop — CSS hover opens submenu (no JS needed) */
.has-children:hover .submenu {
  display: flex;
}

/* Also open when JS sets .open (shared with mobile) */
.has-children.open .submenu {
  display: flex;
}

.submenu li {
  list-style: none;
  padding: 0;
  margin: 0;
  border: none !important;
}

.submenu li a {
  display: block;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

/* ===========================
   THEME TOGGLE
=========================== */
.theme-switch-item {
  margin-left: 0.5rem;
}

.theme-switch {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0.4rem;
  border-radius: 999px;
}

.switch-track {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  width: 58px;
  height: 28px;
  background: rgba(49, 114, 112, 0.12);
  border-radius: 999px;
  padding: 2px;
  gap: 0.25rem;
}

.switch-icon {
  font-size: 0.8rem;
  line-height: 1;
  text-align: center;
  width: 1rem;
  opacity: 0.7;
}

.switch-thumb {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  top: 2px;
  left: 2px;
  transition: transform 0.2s ease;
}

.theme-switch.active .switch-thumb {
  transform: translateX(30px);
}

/* ===========================
   LAYOUT
=========================== */
main {
  max-width: 1100px;
  margin: 0 auto;
  /* Top padding = nav height only; blocks provide their own inner spacing */
  padding: var(--nav-height) 2rem 3rem;
}

/* Reset article wrapper used in post pages — must not add spacing
   that would break the hero’s margin-top compensation */
main article {
  margin: 0;
  padding: 0;
}

/* ===========================
   HERO BLOCK
=========================== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  /* Break out of main's horizontal padding to go full-bleed */
  margin-left: -2rem;
  margin-right: -2rem;
  /* Push content top — compensates for main's padding-top = nav-height */
  margin-top: calc(-1 * var(--nav-height));
  padding: calc(var(--nav-height) + 3rem) 2rem 3rem;
  background: linear-gradient(135deg, var(--light-teal-bg) 0%, transparent 100%);
  border-radius: 0;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.dark .hero {
  background: linear-gradient(135deg, var(--card-bg) 0%, transparent 100%);
}

.hero h2 {
  max-width: 760px;
  margin: 0 0 1.25rem;
  text-align: left;
}

.hero p {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 0 2.5rem;
  text-align: left;
}

.hero img {
  max-width: 100%;
  height: auto;
  border-radius: 24px;
  margin-bottom: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Hero with background image */
.hero.has-bg {
  min-height: 520px;
  justify-content: flex-end;
  padding: calc(var(--nav-height) + 3rem) 4rem 4rem;
}

/* Ensure bg-layer always fills and scales correctly */
.hero.has-bg .bg-layer {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero.has-bg h2,
.hero.has-bg p {
  color: white;
}

/* ===========================
   BUTTONS
=========================== */
.cta-button,
.secondary-button,
.outline-button,
.teal-outline-button,
.white-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.cta-button {
  background: var(--accent-coral);
  color: white;
  border-color: var(--accent-coral);
}

.cta-button:hover {
  background: #C45F48;
  border-color: #C45F48;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(221, 110, 85, 0.4);
}

.secondary-button {
  background: var(--primary-teal);
  color: white;
  border-color: var(--primary-teal);
}

.secondary-button:hover {
  background: var(--dark-teal);
  border-color: var(--dark-teal);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(49, 114, 112, 0.3);
}

/* Orange outline button */
.outline-button {
  background: transparent;
  color: var(--accent-coral);
  border-color: var(--accent-coral);
}

.outline-button:hover {
  background: var(--accent-coral);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(221, 110, 85, 0.25);
}

/* Teal outline button */
.teal-outline-button {
  background: transparent;
  color: var(--primary-teal);
  border-color: var(--primary-teal);
}

.teal-outline-button:hover {
  background: var(--primary-teal);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(49, 114, 112, 0.25);
}

/* White button */
.white-button {
  background: white;
  color: var(--primary-teal);
  border-color: white;
}

.white-button:hover {
  background: var(--soft-gray);
  border-color: var(--soft-gray);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.ghost-button {
  background: transparent;
  color: var(--primary-teal);
  padding: 12px 24px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.ghost-button:hover {
  background: rgba(49, 114, 112, 0.1);
}

/* ===========================
   CARDS BLOCK
=========================== */
.cards {
  padding: 0 0 3rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2.25rem;
  text-align: left;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card:hover {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.09);
  transform: translateY(-4px);
}

.card.has-bg {
  color: white;
  border: none;
  background: black;
  /* Base layer color if image fails */
}

.card.has-bg .card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card.has-bg h4 {
  color: white;
}

.card.has-bg p {
  color: rgba(255, 255, 255, 0.88);
}

.card.has-bg a {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(4px);
}

.card.has-bg a:hover {
  background: white;
  color: var(--primary-teal);
}

.card h4 {
  font-size: 1.35rem;
  color: var(--heading-text);
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--muted);
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.card a {
  align-self: flex-start;
  padding: 9px 22px;
  background: var(--soft-gray);
  color: var(--primary-teal);
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.dark .card a {
  background: var(--bg);
}

.card a:hover {
  background: var(--primary-teal);
  color: white;
}

/* ===========================
   POST LIST BLOCK
=========================== */
.post-list {
  padding: 3rem 0;
}

.post-list article {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 0;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}

.post-list article:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.post-list .post-content {
  flex: 1;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-list .post-thumb-wrapper {
  width: 35%;
  min-width: 200px;
  position: relative;
  overflow: hidden;
}

.post-list .post-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-list article:hover .post-thumb {
  transform: scale(1.05);
}

.post-list h3 {
  color: var(--heading-text);
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  line-height: 1.3;
}

.post-list p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-list .read-more {
  color: var(--primary-teal);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.post-list .read-more:hover {
  text-decoration: none;
  color: var(--dark-teal);
}

.post-list .post-meta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-teal);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .post-list article {
    flex-direction: column-reverse;
  }

  .post-list .post-thumb-wrapper {
    width: 100%;
    height: 200px;
  }

  .post-list .post-content {
    padding: 1.75rem;
  }
}


/* ===========================
   CTA BLOCK
=========================== */
.cta {
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);
  border-radius: 24px;
  padding: 4rem 2rem;
  margin: 4rem 0;
  text-align: center;
  color: white;
  box-shadow: 0 20px 50px rgba(49, 114, 112, 0.22);
}

.cta.cta-coral {
  background: linear-gradient(135deg, var(--accent-coral) 0%, #C45F48 100%);
  box-shadow: 0 20px 50px rgba(221, 110, 85, 0.22);
}

.cta.cta-teal {
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);
}

.cta .block-title,
.cta p {
  color: white;
  text-align: center;
}

.cta .cta-button,
.cta .secondary-button,
.cta .outline-button,
.cta .teal-outline-button,
.cta .white-button {
  margin-top: 1.5rem;
}

/* ===========================
   FAQ BLOCK
=========================== */
.faq {
  padding: 2rem 0;
}

.faq>h3 {
  margin-bottom: 1.75rem;
}

.faq details {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 1.4rem 1.75rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.2s;
}

.faq details[open] {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.faq summary {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  color: var(--primary-teal);
  font-size: 1.5rem;
  font-weight: 400;
  flex-shrink: 0;
}

.faq details[open] summary::after {
  content: '−';
}

.faq p {
  margin-top: 1rem;
  margin-bottom: 0;
  color: var(--text);
}

/* ===========================
   TESTIMONIAL BLOCK
=========================== */
.testimonial {
  background: var(--light-teal-bg);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  margin: 3rem 0;
  text-align: center;
}

.dark .testimonial {
  background: var(--card-bg);
}

.testimonial blockquote {
  font-family: 'Georgia', serif;
  font-size: 1.45rem;
  color: var(--heading-text);
  margin: 0 0 1.75rem;
  font-style: italic;
  line-height: 1.5;
}

.testimonial cite {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--primary-teal);
  font-style: normal;
}

/* ===========================
   GALLERY BLOCK
=========================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 3rem 0;
}

.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.28s ease;
}

.gallery img:hover {
  transform: scale(1.02);
}

/* ===========================
   TWO COLUMN BLOCK
=========================== */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin: 3rem 0;
  align-items: stretch;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.two-column.image-right .col-text {
  order: 1;
}

.two-column.image-right .col-image {
  order: 2;
}

.two-column.image-left .col-image {
  order: 1;
}

.two-column.image-left .col-text {
  order: 2;
}

.two-column .col-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  min-height: 280px;
  position: relative;
}

.two-column .col-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 16px;
  transition: transform 1.2s cubic-bezier(0.2, 0, 0.2, 1);
}

.two-column:hover .col-image img {
  transform: scale(1.06);
}

/* ===========================
   TEXT BLOCK
=========================== */
.text {
  /* Full-width within main container */
  width: 100%;
  max-width: 100%;
  margin: 2rem auto;
  padding: 3rem 3.5rem;
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* Left accent bar on plain text blocks */
.text:not(.has-bg)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-teal), var(--accent-coral));
  border-radius: 3px 0 0 3px;
}

/* Background-image variant — keep card shape by default */
.text.has-bg {
  background-size: cover !important;
  background-position: center !important;
}

.text.has-bg::before {
  display: none;
}

/* Full Width override for text/section header blocks */
.text.full-width {
  max-width: none;
  width: auto;
  margin-left: -2rem;
  margin-right: -2rem;
  border-radius: 0;
  padding: 5rem 4rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
}

.text.full-width::before {
  display: none;
}

/* Default text color for has-bg (white overlay) */
.text.has-bg .block-title,
.text.has-bg .block-subtitle,
.text.has-bg .text-body,
.text.has-bg p,
.text.has-bg h2,
.text.has-bg h3 {
  color: white;
}

.text.has-bg .block-subtitle {
  color: rgba(255, 255, 255, 0.82);
}

/* ── Text color overrides for ALL block types ── */
/* Force dark (near-black) text regardless of theme */
.text-color-dark .block-title,
.text-color-dark .block-subtitle,
.text-color-dark .text-body,
.text-color-dark p,
.text-color-dark h2,
.text-color-dark h3,
.text-color-dark li {
  color: #1a1a1a !important;
}

/* Force light (white) text regardless of theme */
.text-color-light .block-title,
.text-color-light .block-subtitle,
.text-color-light .text-body,
.text-color-light p,
.text-color-light h2,
.text-color-light h3,
.text-color-light li {
  color: #ffffff !important;
}

.text-color-light .block-subtitle {
  color: rgba(255, 255, 255, 0.82) !important;
}

/* Unified Block Titles */
.block-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--heading-text);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.block-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
  line-height: 1.6;
}

.text-body {
  line-height: 1.75;
}

.dark .text {
  background: var(--card-bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.text h3 {
  color: var(--heading-text);
  margin: 2rem 0 1rem;
}

.text h3:first-child {
  margin-top: 0;
}

.text ul {
  padding-left: 1.25rem;
}

/* ===========================
   IMAGE BLOCK
=========================== */
.image {
  text-align: center;
  padding: 3rem 0;
}

.image img {
  max-width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.image figcaption {
  margin-top: 1.25rem;
  color: var(--muted);
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
}

/* ===========================
   FEATURE LIST BLOCK
=========================== */
.feature-list {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  margin: 2rem 0;
}

.feature-list .fl-section-header {
  margin-bottom: 2rem;
}



.feature-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Each feature-list item is a row with: number-column | text-column | optional-image */
.feature-list li {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: start;
  gap: 1.25rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.55;
  position: relative;
  padding-bottom: 1.25rem;
}

.feature-list li:last-child {
  padding-bottom: 0;
}

/* Vertical connector line between items */
.feature-list.list-numbered li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 44px;
  left: 20px;
  width: 2px;
  height: calc(100% - 44px);
  background: var(--primary-teal);
}

/* Encircled teal number */
.fl-num {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-teal);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(49, 114, 112, 0.3);
  margin-top: 2px;
}

/* Bulleted mode styling */
.feature-list.list-bulleted li {
  grid-template-columns: minmax(24px, 42px) 1fr auto;
  gap: 1.25rem;
}

.feature-list.list-bulleted li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 7px;
  width: 2px;
  height: calc(100% - 24px);
  background: var(--primary-teal);
}

.feature-list.list-bulleted .fl-num {
  width: 16px;
  height: 16px;
  margin-top: 8px;
  box-shadow: none;
}

/* Coral color variant */
.feature-list.color-coral .fl-num {
  background: #FF7F50;
  box-shadow: 0 4px 12px rgba(255, 127, 80, 0.3);
}

.feature-list.color-coral li:not(:last-child)::after {
  background: #FF7F50;
}

/* Text content column */
.fl-content {
  padding-top: 0.15rem;
}

.fl-bold {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--heading-text);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.fl-regular {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Optional image on the right */
.fl-image {
  width: 110px;
  height: 110px;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: none;
}

.feature-list.two-col ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}

@media (min-width: 769px) {
  .feature-list.two-col li:nth-child(odd) {
    border-right: 1px solid var(--border);
    padding-right: 1.5rem;
  }
}

/* ── Feature list with side image: SINGLE CARD ── */
.feature-list.has-side-image {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  margin: 2rem 0;
  display: block;
  /* The section itself is a standard block */
}

/* The two-column image/list row lives INSIDE the card, below the header */
.fl-side-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: stretch;
  margin-top: 1.5rem;
}

.feature-list.has-side-image .fl-side-text {
  /* Text column needs no card styling since the wrapper provides it */
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-list.has-side-image .fl-side-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  min-height: 0;
  position: relative;
  align-self: stretch;
}

.feature-list.has-side-image .fl-side-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
  transition: transform 1.2s cubic-bezier(0.2, 0, 0.2, 1);
}

.feature-list.has-side-image:hover .fl-side-img img {
  transform: scale(1.06);
}

/* Image position ordering */
.fl-side-row.fl-img-left .fl-side-img {
  order: 1;
}

.fl-side-row.fl-img-left .fl-side-text {
  order: 2;
}

.fl-side-row.fl-img-right .fl-side-text {
  order: 1;
}

.fl-side-row.fl-img-right .fl-side-img {
  order: 2;
}

/* No extra bullet columns when side-image is active */
.feature-list.has-side-image.two-col ul {
  display: flex;
  flex-direction: column;
}

/* Force section subtitle (section text) to always be left-aligned across all feature lists */
.feature-list .fl-section-header .block-subtitle {
  text-align: left !important;
}

/* When image is on the left, place the item image left of the text while keeping the bullet/number on the right. */
.feature-list.side-img-left li {
  grid-template-columns: auto 1fr 52px;
  text-align: left; /* Keep default alignment for list contents left */
}

.feature-list.side-img-left.list-bulleted li {
  grid-template-columns: auto 1fr minmax(24px, 42px);
}

.feature-list.side-img-left .fl-num {
  grid-column: 3;
  grid-row: 1;
  margin-left: auto;
}

.feature-list.side-img-left .fl-content {
  grid-column: 2;
  grid-row: 1;
}

.feature-list.side-img-left .fl-image {
  grid-column: 1;
  grid-row: 1;
}

/* Ensure list items are always left-aligned (bold and regular text) across all feature lists */
.feature-list .fl-content {
  text-align: left;
}

/* Fix vertical connector line for right-aligned numbers */
.feature-list.side-img-left.list-numbered li:not(:last-child)::after {
  left: auto;
  right: 20px;
}

.feature-list.side-img-left.list-bulleted li:not(:last-child)::after {
  left: auto;
  right: 7px;
}


/* ===========================
   HIGHLIGHT / CALLOUT BLOCK
=========================== */
.highlight {
  background: var(--light-teal-bg);
  border-left: 4px solid var(--primary-teal);
  border-radius: 0 14px 14px 0;
  padding: 1.75rem 2rem;
  margin: 2rem 0;
  font-size: 1.05rem;
  color: var(--body-text);
}

.dark .highlight {
  background: rgba(73, 164, 161, 0.12);
}

/* ===========================
   CONTACT FORM BLOCK
=========================== */
.contact-block {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  margin: 2rem 0;
  align-items: start;
  background: var(--card-bg);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Map link button */
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 10px 20px;
  background: var(--primary-teal);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.map-link:hover {
  background: var(--dark-teal);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(49, 114, 112, 0.3);
  color: white;
}

.contact-info h3 {
  margin-bottom: 1.25rem;
}

.contact-info .contact-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.contact-info .contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--light-teal-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.dark .contact-info .contact-icon {
  background: rgba(73, 164, 161, 0.12);
}

.contact-info .contact-detail strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--heading-text);
  margin-bottom: 0.15rem;
}

.contact-form {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
  margin-bottom: 1.5rem;
}

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

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

.form-group label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--heading-text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px rgba(49, 114, 112, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===========================
   SECTION HEADERS
=========================== */
/* When used as its own block, the section-header goes full-width */
section.section-header-block {
  width: 100%;
  margin-left: -2rem;
  margin-right: -2rem;
  padding: 4rem 3rem;
  background: var(--light-teal-bg);
  text-align: center;
  box-sizing: content-box;
}

.dark section.section-header-block {
  background: var(--card-bg);
}

/* Inline section headers used inside cards etc. */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header p {
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 1.5rem;
}

/* ===========================
   BLOCK BACKGROUNDS
=========================== */

/* Cards, PostList, FAQ, Gallery, TwoColumn get a subtle page-background fallback */
section.cards {
  background: var(--bg);
}

section.post-list {
  background: var(--bg);
}

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



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

/* ===========================
   FOOTER
=========================== */
footer {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  background: var(--card-bg);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-family: 'Outfit', sans-serif;
}

.footer-links a:hover {
  color: var(--primary-teal);
}

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

/* ===========================
   UTILITY
=========================== */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mt-2 {
  margin-top: 2rem;
}

/* ===========================
   MOBILE RESPONSIVE (≤768px)
=========================== */
@media (max-width: 768px) {

  /* ── Prevent horizontal scroll ── */
  html,
  body {
    overflow-x: hidden;
  }

  /* ── Show hamburger only on mobile ── */
  #nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  nav {
    padding: 0 1rem;
  }

  /* ── Mobile nav overlay ── */
  nav>ul {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    flex-direction: column;
    gap: 0;
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    display: none !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    z-index: 999;
    align-items: stretch;
  }

  nav.open>ul {
    display: flex !important;
  }

  nav ul li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  nav ul li a {
    display: block;
    padding: 1rem 1.25rem;
    border-radius: 0;
    text-align: left;
  }

  .theme-switch-item {
    margin-left: 0;
    display: flex;
    justify-content: center;
    padding: 0.75rem;
  }

  .nav-item-with-children {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
  }

  .nav-item-with-children a {
    flex: 1;
  }

  /* Mobile: show the toggle button as a full-height tap target */
  .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    font-size: 1rem;
    padding: 1rem 1.25rem;
    border-left: 1px solid var(--border);
    border-radius: 0;
    cursor: pointer;
    color: var(--muted);
    transition: color 0.18s, transform 0.22s;
    line-height: 1;
  }

  .submenu-toggle[aria-expanded="true"] {
    transform: rotate(180deg);
    color: var(--primary-teal);
  }

  /* Mobile: hide the static desktop chevron inside the link */
  .nav-chevron {
    display: none;
  }

  /* Mobile submenu — static, indented */
  .submenu {
    display: none !important;
    /* Overrides sticky :hover state on mobile tap */
    position: static !important;
    transform: none !important;
    background: var(--bg);
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    min-width: 0;
    flex-direction: column;
    gap: 0;
  }

  .has-children.open .submenu {
    display: flex !important;
  }

  .submenu li {
    border-top: 1px solid var(--border);
    border-bottom: none !important;
  }

  .submenu li a {
    padding-left: 2.5rem;
    font-size: 0.9rem;
  }

  /* ── Typography ── */
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  h4 {
    font-size: 1.1rem;
  }

  /* ── Main layout ── */
  main {
    padding: var(--nav-height) 1.25rem 3rem;
    /* Prevent any child from overflowing */
    overflow-x: hidden;
  }

  /* Reset article wrapper on mobile — same as desktop */
  main article {
    margin: 0;
    padding: 0;
  }

  /* ─────────────────────────────────────────
     HERO — flush under nav, full-bleed on mobile
  ───────────────────────────────────────── */
  .hero {
    /* re-align full-bleed margins for mobile padding (1.25rem) */
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    margin-top: calc(-1 * var(--nav-height));
    padding: calc(var(--nav-height) + 2.5rem) 1.5rem 2.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0;
  }

  .hero h2 {
    font-size: 1.65rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* Full-bleed hero with background image on mobile */
  .hero.has-bg {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    padding: calc(var(--nav-height) + 2rem) 1.75rem 3rem;
    border-radius: 0;
    min-height: 380px;
  }

  /* ─────────────────────────────────────────
     TEXT BLOCK
     Full-width, centered, responsive on mobile.
  ───────────────────────────────────────── */
  .text {
    width: 100%;
    max-width: 100%;
    padding: 2rem 1.5rem;
    margin: 1.25rem auto;
    border-radius: 14px;
    text-align: center;
    box-sizing: border-box;
  }

  /* Keep text left-aligned inside centered text block */
  .text .text-body {
    text-align: left;
  }

  .text ul,
  .text ol {
    text-align: left;
  }

  .text.has-bg {
    margin-left: 0;
    margin-right: 0;
    padding: 3.5rem 1.75rem;
    border-radius: 14px;
    text-align: center;
  }

  .text.has-bg .bg-layer {
    object-fit: contain !important;
    object-position: bottom center !important;
  }

  /* Section-header block full-bleed on mobile */
  section.section-header-block {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    padding: 3rem 1.75rem;
  }

  .text-title {
    font-size: 1.55rem;
  }

  .text-subtitle {
    font-size: 0.95rem;
  }

  /* ─────────────────────────────────────────
     CARDS
  ───────────────────────────────────────── */
  .cards {
    padding: 1.5rem 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .card {
    padding: 1.75rem;
  }

  /* ─────────────────────────────────────────
     CTA — stays in main container
  ───────────────────────────────────────── */
  .cta {
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    margin: 2rem 0;
  }

  /* ─────────────────────────────────────────
     FAQ
  ───────────────────────────────────────── */
  .faq details {
    padding: 1rem 1.25rem;
  }

  /* ─────────────────────────────────────────
     FEATURE LIST
  ───────────────────────────────────────── */
  .feature-list {
    padding: 1.75rem 1.25rem;
    border-radius: 14px;
    margin: 1rem 0;
  }

  .feature-list li {
    grid-template-columns: 44px 1fr;
    gap: 1rem;
    padding-bottom: 1.25rem;
  }

  /* Hide per-item image on mobile — not enough room */
  .fl-image {
    display: none;
  }

  .feature-list.two-col ul {
    grid-template-columns: 1fr;
  }

  /* Stack side-image vertically on mobile */
  .fl-side-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Show image first on mobile regardless of side */
  .fl-side-row .fl-side-img {
    order: 1 !important;
    min-height: 0;
  }

  .fl-side-row .fl-side-text {
    order: 2 !important;
  }

  /* ─────────────────────────────────────────
     TWO COLUMN
  ───────────────────────────────────────── */
  .two-column {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
  }

  /* Image always on top on mobile */
  .two-column .col-image {
    order: -1 !important;
    min-height: 220px;
  }

  .two-column .col-text {
    order: 1 !important;
  }

  /* ─────────────────────────────────────────
     TESTIMONIAL
  ───────────────────────────────────────── */
  .testimonial {
    padding: 2rem 1.25rem;
    border-radius: 16px;
  }

  .testimonial blockquote {
    font-size: 1.15rem;
  }

  /* ─────────────────────────────────────────
     CONTACT
  ───────────────────────────────────────── */
  .contact-block {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.5rem;
    border-radius: 16px;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* ─────────────────────────────────────────
     POST LIST
  ───────────────────────────────────────── */
  .post-list article {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }

  .post-list .post-thumb {
    width: 100%;
    height: 160px;
  }

  /* ─────────────────────────────────────────
     GALLERY
  ───────────────────────────────────────── */
  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1.5rem 0;
  }

  .gallery img {
    height: 140px;
  }

  /* ─────────────────────────────────────────
     FOOTER
  ───────────────────────────────────────── */
  footer {
    padding: 2rem 1.25rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  /* ─────────────────────────────────────────
     BUTTONS
  ───────────────────────────────────────── */
  .cta-button,
  .secondary-button,
  .outline-button {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

/* ===========================
   LIGHTBOX
=========================== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

#lightbox-caption {
  color: white;
  margin-top: 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  text-align: center;
}

#lightbox-counter {
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-family: monospace;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem;
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  z-index: 10000;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.lightbox-close {
  top: 2rem;
  right: 2rem;
}

.lightbox-prev {
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-trigger {
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.lightbox-trigger:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

@media (max-width: 768px) {

  .lightbox-prev,
  .lightbox-next {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
  }
}

/* ===========================
   LAYERED COMPONENTS (Zoom Effect)
=========================== */
.bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 1.2s cubic-bezier(0.2, 0, 0.2, 1);
  pointer-events: none;
}

.overlay-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Content z-index */
.hero-content,
.card-content,
.text-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Hover Zoom Effects */
.card:hover .bg-layer,
.hero.has-bg:hover .bg-layer,
.text.has-bg:hover .bg-layer,
.image-inner:hover img {
  transform: scale(1.1);
}

.image-inner {
  overflow: hidden;
  border-radius: 12px;
  line-height: 0;
  margin-bottom: 1.5rem;
}

.image-inner img {
  width: 100%;
  height: auto;
  transition: transform 1.2s cubic-bezier(0.2, 0, 0.2, 1);
}


/* Hero specific overlay */
.hero.has-bg .overlay-layer {
  background: linear-gradient(to right, rgba(34, 81, 79, 0.8), rgba(49, 114, 112, 0.3));
}

/* Card specific overlay */
.card.has-bg .overlay-layer {
  background: linear-gradient(to top, rgba(34, 81, 79, 0.95) 0%, rgba(49, 114, 112, 0.2) 100%);
}

/* ===========================
   LINK BLOCK
=========================== */
.link-block {
  margin: 1.5rem 0;
  display: flex;
  justify-content: flex-start;
}

/* Plain text links only — do NOT override buttons */
.link-block a:not(.cta-button):not(.secondary-button):not(.outline-button):not(.teal-outline-button):not(.white-button) {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

.link-block a:not(.cta-button):not(.secondary-button):not(.outline-button):not(.teal-outline-button):not(.white-button):hover {
  color: var(--dark-teal);
  text-decoration: underline;
}