/*
 * Anima Modern
 *
 * The replica stylesheet remains the compatibility layer for migrated page
 * IDs and article layouts. Everything below is the independent modern visual
 * direction, restored from the anima-modern-v1 concept and extended to the
 * pages added during migration.
 */
@import url("/themes/anima/theme.css");

:root {
  --anima-content-width: 1180px;
  --anima-wide-width: 1360px;
  --anima-header-height: 88px;
  --anima-modern-radius: 22px;
  --anima-modern-dark: #123f5c;
  --anima-modern-dark-muted: #c5deec;
  --anima-modern-shadow: 0 24px 70px rgb(23 107 158 / 12%);
  --anima-modern-shadow-soft: 0 12px 36px rgb(23 107 158 / 10%);
}

html {
  scroll-padding-top: var(--anima-header-height);
}

body.theme-anima-modern {
  color: var(--color-text);
  background:
    radial-gradient(circle at 8% 8%, rgb(92 188 255 / 12%), transparent 30rem),
    var(--color-bg);
  font-family: var(--font-body), var(--font-fallback);
  letter-spacing: 0;
}

body.anima-menu-open {
  overflow: hidden;
}

.theme-anima-modern h1,
.theme-anima-modern h2,
.theme-anima-modern h3,
.theme-anima-modern h4 {
  font-family: var(--font-heading), var(--font-fallback);
  letter-spacing: -0.025em;
}

.anima-skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--color-text);
  border-radius: 8px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

.anima-skip-link:focus {
  transform: translateY(0);
}

/* Modern site header */
.theme-anima-modern .anima-header {
  position: sticky;
  z-index: 50;
  top: 0;
  width: 100%;
  background: rgb(248 252 255 / 92%);
  border-bottom: 1px solid rgb(207 232 247 / 85%);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

.theme-anima-modern .anima-header__inner {
  width: min(calc(100% - 3rem), var(--anima-content-width));
  min-height: var(--anima-header-height);
  margin-inline: auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.theme-anima-modern .anima-brand {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  gap: 0.8rem;
  color: var(--color-text);
  line-height: 1;
  text-decoration: none;
}

.theme-anima-modern .anima-brand__logo {
  width: 54px;
  height: 54px;
  max-width: none;
  object-fit: contain;
  border-radius: 50%;
}

.anima-brand__copy {
  display: grid;
  gap: 0.34rem;
}

.theme-anima-modern .anima-brand__name {
  display: block;
  font-family: var(--font-heading), var(--font-fallback);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.055em;
}

.theme-anima-modern .anima-brand__tagline {
  display: block;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.theme-anima-modern .anima-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.9rem, 1.5vw, 1.55rem);
  margin-left: auto;
}

.theme-anima-modern .anima-desktop-nav > a,
.theme-anima-modern .anima-nav-dropdown__trigger > a {
  position: relative;
  padding-block: 0.55rem;
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.theme-anima-modern .anima-desktop-nav > a::after,
.theme-anima-modern .anima-nav-dropdown__trigger > a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 10px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.theme-anima-modern .anima-desktop-nav a:hover::after,
.theme-anima-modern .anima-desktop-nav a:focus-visible::after,
.theme-anima-modern .anima-desktop-nav a[data-active="1"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.theme-anima-modern .anima-nav-dropdown {
  position: relative;
}

.theme-anima-modern .anima-nav-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.theme-anima-modern .anima-nav-dropdown__trigger button {
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  color: var(--color-muted);
}

.theme-anima-modern .anima-nav-dropdown__trigger svg {
  width: 0.75rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.theme-anima-modern .anima-nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: -1.1rem;
  display: none;
  width: max-content;
  min-width: 230px;
  padding: 0.65rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: var(--anima-modern-shadow-soft);
}

.theme-anima-modern .anima-nav-dropdown__menu:not(.hidden) {
  display: grid;
}

.theme-anima-modern .anima-nav-dropdown__menu a {
  padding: 0.68rem 0.8rem;
  color: var(--color-text);
  border-radius: 9px;
  font-size: 0.82rem;
  text-decoration: none;
}

.theme-anima-modern .anima-nav-dropdown__menu a:hover,
.theme-anima-modern .anima-nav-dropdown__menu a:focus-visible {
  color: var(--color-accent-dark);
  background: var(--color-bg-surface);
}

.theme-anima-modern .anima-nav-dropdown__divider {
  margin-block: 0.35rem;
  border-top: 1px solid var(--color-border);
}

.theme-anima-modern .anima-header__cta,
.theme-anima-modern .anima-mobile-nav__cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.15rem;
  color: #fff;
  background: var(--color-accent-dark);
  border: 1px solid var(--color-accent-dark);
  border-radius: var(--radius-button);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.theme-anima-modern .anima-header__cta:hover,
.theme-anima-modern .anima-header__cta:focus-visible,
.theme-anima-modern .anima-mobile-nav__cta:hover,
.theme-anima-modern .anima-mobile-nav__cta:focus-visible {
  color: #fff;
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  text-decoration: none;
  transform: translateY(-1px);
}

.theme-anima-modern .anima-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 10px;
}

.theme-anima-modern .anima-menu-toggle svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.75;
}

.theme-anima-modern .anima-mobile-nav {
  position: absolute;
  z-index: 100;
  top: 100%;
  right: 0;
  left: 0;
  height: calc(100vh - var(--anima-header-height));
  height: calc(100dvh - var(--anima-header-height));
  padding: 1.25rem 1.5rem calc(2rem + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--color-bg);
}

.theme-anima-modern .anima-mobile-nav[hidden] {
  display: none;
}

.theme-anima-modern .anima-mobile-nav > a:not(.anima-mobile-nav__cta) {
  display: block;
  padding: 0.9rem 0;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-heading), var(--font-fallback);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.theme-anima-modern .anima-mobile-nav__children {
  display: grid;
  padding: 0.35rem 0 0.6rem 1rem;
  border-left: 2px solid var(--color-border);
}

.theme-anima-modern .anima-mobile-nav__children a {
  padding: 0.45rem 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.theme-anima-modern .anima-mobile-nav__cta {
  width: 100%;
  margin-top: 1.5rem;
}

/* Modern homepage, using the same editable Folio blocks. */
.theme-anima-modern main > div:has(> div > #anima-home-banner) {
  width: min(calc(100% - 3rem), var(--anima-wide-width));
  margin: 1.5rem auto 0;
}

.theme-anima-modern main > div:has(> div > #anima-home-banner) > div {
  border-radius: clamp(18px, 3vw, 34px) !important;
  box-shadow: var(--anima-modern-shadow);
}

.theme-anima-modern #anima-home-banner {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: clamp(18px, 3vw, 34px);
  object-fit: cover;
}

.theme-anima-modern #anima-intro {
  position: relative;
  z-index: 2;
  margin-top: clamp(1.25rem, 2vw, 2rem);
  padding: 0 1.5rem clamp(4rem, 7vw, 6rem) !important;
  background: transparent !important;
}

.theme-anima-modern #anima-services {
  max-width: 1080px;
  align-items: stretch;
  gap: clamp(0.9rem, 2vw, 1.25rem);
}

.theme-anima-modern #anima-services > div > div {
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: rgb(255 255 255 / 94%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--anima-modern-shadow-soft);
  backdrop-filter: blur(10px);
}

.theme-anima-modern #anima-services img {
  transition: transform 220ms ease;
}

.theme-anima-modern #anima-services > div:hover img {
  transform: translateY(-4px);
}

.theme-anima-modern #anima-services h3 {
  color: var(--color-text);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.25;
}

.theme-anima-modern #anima-facebook-note {
  max-width: 720px;
  margin-inline: auto;
}

.theme-anima-modern #anima-facebook-note a {
  color: var(--color-accent-dark);
  font-weight: 600;
  text-decoration: none;
}

.theme-anima-modern #anima-facebook-note a:hover,
.theme-anima-modern #anima-facebook-note a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.theme-anima-modern #anima-about,
.theme-anima-modern #anima-events,
.theme-anima-modern #anima-counselling {
  width: min(calc(100% - 3rem), var(--anima-content-width));
  min-height: 0;
  margin: 0 auto clamp(2rem, 5vw, 4.5rem);
  padding: 0 !important;
  overflow: hidden;
  background: #fff !important;
  color: var(--color-text) !important;
  border: 1px solid var(--color-border);
  border-radius: clamp(20px, 3vw, 32px);
  box-shadow: var(--anima-modern-shadow);
}

.theme-anima-modern #anima-about-inner,
.theme-anima-modern #anima-events-inner,
.theme-anima-modern #anima-counselling-inner {
  max-width: none;
  min-height: 520px;
  padding: 0;
}

.theme-anima-modern #anima-about-inner > div,
.theme-anima-modern #anima-events-inner > div,
.theme-anima-modern #anima-counselling-inner > div {
  gap: 0;
}

.theme-anima-modern #anima-about-inner > div > div:has(#anima-about-image),
.theme-anima-modern #anima-events-inner > div > div:has(#anima-events-image),
.theme-anima-modern #anima-counselling-inner > div > div:has(#anima-counselling-image) {
  width: 52% !important;
  align-self: stretch;
}

.theme-anima-modern #anima-about-image,
.theme-anima-modern #anima-events-image,
.theme-anima-modern #anima-counselling-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.theme-anima-modern #anima-about:hover #anima-about-image,
.theme-anima-modern #anima-events:hover #anima-events-image,
.theme-anima-modern #anima-counselling:hover #anima-counselling-image {
  transform: scale(1.018);
}

.theme-anima-modern #anima-about-content,
.theme-anima-modern #anima-events-content,
.theme-anima-modern #anima-counselling-content {
  padding: clamp(2rem, 5vw, 4.75rem);
}

.theme-anima-modern #anima-about-content h2,
.theme-anima-modern #anima-events-content h2,
.theme-anima-modern #anima-counselling-content h2 {
  position: relative;
  color: var(--color-text);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
}

.theme-anima-modern #anima-about-content h2::before,
.theme-anima-modern #anima-events-content h2::before,
.theme-anima-modern #anima-counselling-content h2::before {
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-bottom: 1rem;
  background: var(--color-accent);
  border-radius: 999px;
  content: "";
}

.theme-anima-modern #anima-about-content p,
.theme-anima-modern #anima-events-content p,
.theme-anima-modern #anima-counselling-content p {
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.theme-anima-modern #anima-about-content a,
.theme-anima-modern #anima-events-content a,
.theme-anima-modern #anima-counselling-content a {
  display: inline-flex;
  padding: 0.85rem 1.25rem;
  color: #fff !important;
  background: var(--color-accent-dark) !important;
  border: 0 !important;
  border-radius: var(--radius-button);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.theme-anima-modern #anima-about-content a:hover,
.theme-anima-modern #anima-about-content a:focus-visible,
.theme-anima-modern #anima-events-content a:hover,
.theme-anima-modern #anima-events-content a:focus-visible,
.theme-anima-modern #anima-counselling-content a:hover,
.theme-anima-modern #anima-counselling-content a:focus-visible {
  background: var(--color-accent-hover) !important;
  transform: translateY(-2px);
}

.theme-anima-modern #anima-programs {
  padding-block: clamp(4rem, 8vw, 7rem) !important;
  background: var(--color-bg-surface) !important;
}

.theme-anima-modern #anima-programs-inner {
  max-width: var(--anima-content-width);
}

.theme-anima-modern #anima-programs-inner > div {
  gap: clamp(1rem, 3vw, 2rem);
}

.theme-anima-modern #anima-programs-inner > div > div {
  position: relative;
  width: 50% !important;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--anima-modern-shadow-soft);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.theme-anima-modern #anima-programs-inner > div > div:hover {
  box-shadow: var(--anima-modern-shadow);
  transform: translateY(-5px);
}

.theme-anima-modern #anima-programs img {
  width: 100%;
  transition: transform 350ms ease;
}

.theme-anima-modern #anima-programs-inner > div > div:hover img {
  transform: scale(1.018);
}

.theme-anima-modern #anima-quote {
  position: relative;
  min-height: 480px;
  padding: clamp(5rem, 10vw, 9rem) 1.5rem !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0, rgb(255 255 255 / 8%), transparent 28rem),
    var(--anima-modern-dark) !important;
  color: #fff !important;
}

.theme-anima-modern #anima-quote::before {
  position: absolute;
  top: clamp(1rem, 3vw, 2.5rem);
  left: 50%;
  color: rgb(255 255 255 / 8%);
  content: "“";
  font-family: Georgia, serif;
  font-size: clamp(8rem, 20vw, 15rem);
  line-height: 1;
  transform: translateX(-50%);
}

.theme-anima-modern #anima-quote > div {
  position: relative;
  z-index: 1;
}

.theme-anima-modern #anima-quote-photo {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border: 5px solid rgb(255 255 255 / 15%);
  border-radius: 50% !important;
}

.theme-anima-modern #anima-quote-text {
  max-width: 800px;
  color: #fff;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.9 !important;
}

.theme-anima-modern #anima-quote-credit {
  color: rgb(255 255 255 / 70%);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Modern About page. All selectors target the existing editable Folio blocks. */
.theme-anima-modern #anima-about-page-title {
  width: min(calc(100% - 3rem), var(--anima-content-width));
  min-height: clamp(240px, 28vw, 340px);
  margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.theme-anima-modern #anima-about-page-heading {
  color: var(--color-text);
  font-size: clamp(3rem, 7vw, 5.75rem) !important;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.95 !important;
}

.theme-anima-modern #anima-about-overview {
  min-height: 0;
  padding: 0 1.5rem clamp(5rem, 9vw, 8rem) !important;
  background: transparent !important;
}

.theme-anima-modern #anima-about-overview-inner {
  max-width: var(--anima-content-width);
  min-height: 560px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: clamp(20px, 3vw, 32px);
  box-shadow: var(--anima-modern-shadow);
}

.theme-anima-modern #anima-about-overview-inner > div {
  gap: 0;
}

.theme-anima-modern #anima-about-overview-inner > div > div:has(#anima-about-mission-image) {
  width: 48% !important;
  overflow: hidden;
}

.theme-anima-modern #anima-about-mission-image {
  transition: transform 500ms ease;
}

.theme-anima-modern #anima-about-overview-inner:hover #anima-about-mission-image {
  transform: scale(1.018);
}

.theme-anima-modern #anima-about-overview-copy {
  width: 52% !important;
  padding: clamp(2.5rem, 5vw, 4.75rem);
  color: var(--color-muted) !important;
  font-size: 1rem;
  line-height: 1.8;
}

.theme-anima-modern #anima-about-overview-copy strong {
  color: var(--color-text);
  font-family: var(--font-heading), var(--font-fallback);
  font-size: 1.08em;
}

.theme-anima-modern #anima-about-goals {
  min-height: 0;
  padding: clamp(5rem, 9vw, 8rem) 1.5rem !important;
  background:
    radial-gradient(circle at 10% 10%, rgb(255 255 255 / 7%), transparent 30rem),
    var(--anima-modern-dark) !important;
}

.theme-anima-modern #anima-about-goals-inner {
  max-width: var(--anima-content-width);
  min-height: 0;
  padding: 0;
}

.theme-anima-modern #anima-about-goals-inner > div {
  gap: clamp(2.5rem, 7vw, 6rem);
}

.theme-anima-modern #anima-about-goals-copy {
  width: 54% !important;
}

.theme-anima-modern #anima-about-goals-text {
  color: #eaf7ff !important;
  font-size: 0.98rem;
  line-height: 1.78;
}

.theme-anima-modern #anima-about-goals-text p,
.theme-anima-modern #anima-about-goals-text li {
  color: #eaf7ff !important;
}

.theme-anima-modern #anima-about-goals-text ul {
  margin: 1.5rem 0 2rem;
  padding-left: 1.25rem;
}

.theme-anima-modern #anima-about-goals-text li {
  margin-bottom: 0.7rem;
  padding-left: 0.35rem;
}

.theme-anima-modern #anima-about-goals-text li::marker {
  color: var(--color-accent);
}

.theme-anima-modern #anima-about-goals-inner > div > div:has(#anima-about-goals-image) {
  width: 46% !important;
  align-self: center;
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: 0 28px 65px rgb(0 0 0 / 25%);
}

.theme-anima-modern #anima-about-goals-image {
  min-height: 540px;
  transition: transform 500ms ease;
}

.theme-anima-modern #anima-about-goals-inner:hover #anima-about-goals-image {
  transform: scale(1.018);
}

.theme-anima-modern #anima-about-contact-button {
  padding: 0.9rem 1.35rem;
  color: #fff !important;
  background: var(--color-accent-dark) !important;
  border: 1px solid rgb(255 255 255 / 18%) !important;
  border-radius: var(--radius-button);
  font-size: 0.82rem;
  font-weight: 700;
  transition: background-color 160ms ease, transform 160ms ease;
}

.theme-anima-modern #anima-about-contact-button:hover,
.theme-anima-modern #anima-about-contact-button:focus-visible {
  color: var(--color-text) !important;
  background: var(--color-accent) !important;
  transform: translateY(-2px);
}

.theme-anima-modern #anima-team-title {
  min-height: 0;
  padding: clamp(5rem, 9vw, 8rem) 1.5rem clamp(2.5rem, 5vw, 4rem);
  background: var(--color-bg-surface);
}

.theme-anima-modern #anima-team-heading {
  color: var(--color-text);
  font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1 !important;
}

.theme-anima-modern #anima-team-section {
  padding: 0 1.5rem clamp(5rem, 10vw, 9rem) !important;
  background: var(--color-bg-surface) !important;
}

.theme-anima-modern #anima-team-grid {
  max-width: var(--anima-content-width);
  padding: 0;
}

.theme-anima-modern #anima-team-grid > div {
  gap: clamp(1.25rem, 3vw, 2rem);
}

.theme-anima-modern #anima-team-grid > div > div {
  width: calc(33.333% - 1.35rem) !important;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--anima-modern-shadow-soft);
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.theme-anima-modern #anima-team-grid > div > div:hover {
  box-shadow: var(--anima-modern-shadow);
  transform: translateY(-5px);
}

.theme-anima-modern #anima-team-grid > div > div > div {
  padding-bottom: 1.6rem;
  gap: 0.55rem;
}

.theme-anima-modern #anima-team-grid img {
  width: 100%;
  height: clamp(280px, 27vw, 350px);
  margin: 0 0 1rem;
  object-fit: cover;
  transition: transform 350ms ease;
}

.theme-anima-modern #anima-team-grid > div > div:hover img {
  transform: scale(1.025);
}

.theme-anima-modern #anima-team-grid h3,
.theme-anima-modern #anima-team-grid h3 + p,
.theme-anima-modern #anima-team-grid h3 + p + p,
.theme-anima-modern #anima-team-grid [id$="-socials"] {
  width: 100%;
  max-width: none;
  padding-inline: 1.25rem;
}

.theme-anima-modern #anima-team-grid h3 {
  color: var(--color-text);
  font-size: clamp(1.05rem, 2vw, 1.25rem) !important;
  line-height: 1.3 !important;
}

.theme-anima-modern #anima-team-grid h3 + p,
.theme-anima-modern #anima-team-grid h3 + p + p {
  color: var(--color-muted);
  font-size: 0.82rem !important;
  line-height: 1.5 !important;
}

.theme-anima-modern .anima-team-socials a {
  color: var(--color-accent-dark) !important;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
}

.theme-anima-modern .anima-team-socials a:hover,
.theme-anima-modern .anima-team-socials a:focus-visible {
  color: #fff !important;
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

.theme-anima-modern #anima-about-final-quote {
  position: relative;
  min-height: 480px;
  padding: clamp(5rem, 9vw, 8rem) 1.5rem !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0, rgb(255 255 255 / 8%), transparent 28rem),
    var(--anima-modern-dark) !important;
}

.theme-anima-modern #anima-about-final-quote::before {
  position: absolute;
  top: 1rem;
  left: 50%;
  color: rgb(255 255 255 / 7%);
  content: "“";
  font-family: Georgia, serif;
  font-size: clamp(9rem, 20vw, 15rem);
  line-height: 1;
  transform: translateX(-50%);
}

.theme-anima-modern #anima-about-final-quote > div {
  position: relative;
  z-index: 1;
}

.theme-anima-modern #anima-about-final-quote-photo {
  width: 132px;
  height: 132px;
  border: 5px solid rgb(255 255 255 / 15%);
}

.theme-anima-modern #anima-about-final-quote-text {
  color: #fff;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem) !important;
  line-height: 1.6 !important;
}

.theme-anima-modern #anima-about-final-quote-credit {
  color: rgb(255 255 255 / 68%);
  font-size: 0.75rem !important;
  font-weight: 700;
  letter-spacing: 0.11em;
}

/* Events collection and article detail pages. */
.theme-anima-modern .anima-events-heading,
.theme-anima-modern .anima-contact-title {
  padding: clamp(5rem, 10vw, 9rem) 1.5rem;
  background: var(--color-bg-surface);
}

.theme-anima-modern .anima-events-heading > div {
  width: min(100%, var(--anima-content-width));
  max-width: none;
  padding: 0;
}

.theme-anima-modern .anima-events-heading h1,
.theme-anima-modern .anima-contact-title h1 {
  color: var(--color-text);
  font-size: clamp(2.7rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.theme-anima-modern .anima-events-list {
  padding: clamp(4rem, 8vw, 7rem) 1.5rem;
}

.theme-anima-modern .anima-event-row,
.theme-anima-modern .anima-event-row--muted {
  padding: 0;
  background: transparent;
}

.theme-anima-modern .anima-event-row + .anima-event-row {
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.theme-anima-modern .anima-event-row-inner {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, var(--anima-content-width));
  gap: clamp(1.25rem, 3vw, 2.25rem);
}

.theme-anima-modern .anima-event-card {
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--anima-modern-shadow-soft);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.theme-anima-modern .anima-event-card:hover {
  border-color: color-mix(in srgb, var(--color-accent) 55%, var(--color-border));
  box-shadow: var(--anima-modern-shadow);
  transform: translateY(-5px);
}

.theme-anima-modern .anima-event-card-image {
  background: var(--color-bg-surface);
}

.theme-anima-modern .anima-event-card-image img {
  aspect-ratio: 16 / 9;
  transition: transform 400ms ease;
}

.theme-anima-modern .anima-event-card:hover .anima-event-card-image img {
  transform: scale(1.025);
}

.theme-anima-modern .anima-event-card-copy {
  min-height: 250px;
  align-items: flex-start;
  padding: clamp(1.35rem, 3vw, 2.2rem);
  text-align: left;
}

.theme-anima-modern .anima-event-card h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.theme-anima-modern .anima-event-card h2 a:hover,
.theme-anima-modern .anima-event-card h2 a:focus-visible {
  color: var(--color-accent-dark);
  text-decoration: none;
}

.theme-anima-modern .anima-event-card p {
  margin-bottom: 1.5rem;
  font-size: 0.94rem;
  line-height: 1.7;
}

.theme-anima-modern .anima-event-more,
.theme-anima-modern .anima-blog-more {
  padding: 0.72rem 1.15rem;
  color: #fff;
  background: var(--color-accent-dark);
  border-radius: var(--radius-button);
  transition: background-color 160ms ease, transform 160ms ease;
}

.theme-anima-modern .anima-event-more:hover,
.theme-anima-modern .anima-event-more:focus-visible {
  color: #fff;
  background: var(--color-cta-hover);
  text-decoration: none;
  transform: translateY(-2px);
}

.theme-anima-modern .anima-events-quote {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: var(--anima-modern-dark);
}

.theme-anima-modern .anima-events-quote::before {
  position: absolute;
  top: 0;
  left: 50%;
  color: rgb(255 255 255 / 7%);
  content: "“";
  font-family: Georgia, serif;
  font-size: clamp(10rem, 22vw, 17rem);
  line-height: 1;
  transform: translateX(-50%);
}

.theme-anima-modern .anima-events-quote > * {
  position: relative;
  z-index: 1;
}

.theme-anima-modern .anima-events-quote img {
  width: 112px;
  height: 112px;
  border: 5px solid rgb(255 255 255 / 15%);
}

.theme-anima-modern .anima-events-quote blockquote {
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  letter-spacing: -0.025em;
}

.theme-anima-modern .anima-events-quote p {
  color: var(--anima-modern-dark-muted);
}

.theme-anima-modern .anima-article-page {
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(5rem, 10vw, 9rem);
}

.theme-anima-modern .anima-article-header,
.theme-anima-modern .anima-article-body,
.theme-anima-modern .anima-article-back,
.theme-anima-modern .anima-event-article,
.theme-anima-modern .anima-blog-article,
.theme-anima-modern .anima-education-article {
  width: min(100%, 860px);
  max-width: none;
  padding-inline: 1.5rem;
}

.theme-anima-modern .anima-article-header {
  padding-top: 0;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.theme-anima-modern .anima-article-header nav {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.theme-anima-modern .anima-article-header nav a:hover,
.theme-anima-modern .anima-article-header nav a:focus-visible {
  color: var(--color-accent-dark) !important;
}

.theme-anima-modern .anima-article-header h1 {
  max-width: 800px;
  margin-bottom: 1.25rem;
  color: var(--color-text) !important;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.theme-anima-modern .anima-article-header > span {
  padding: 0.35rem 0.7rem !important;
  border-radius: 999px !important;
}

.theme-anima-modern .anima-article-header > div:last-child {
  padding-bottom: 1.25rem;
}

.theme-anima-modern .anima-event-article,
.theme-anima-modern .anima-blog-article,
.theme-anima-modern .anima-education-article,
.theme-anima-modern .anima-article-body {
  color: var(--color-text);
}

.theme-anima-modern .anima-event-article .prose,
.theme-anima-modern .anima-blog-article .prose,
.theme-anima-modern .anima-education-article .prose,
.theme-anima-modern .anima-article-body .prose {
  color: var(--color-text);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.85;
}

.theme-anima-modern .anima-event-article .prose p,
.theme-anima-modern .anima-blog-article .prose p,
.theme-anima-modern .anima-education-article .prose p,
.theme-anima-modern .anima-article-body .prose p {
  margin-bottom: 1.55rem;
}

.theme-anima-modern .anima-event-article img,
.theme-anima-modern .anima-blog-article img,
.theme-anima-modern .anima-education-article img,
.theme-anima-modern .anima-article-body img {
  border-radius: var(--radius-card) !important;
  box-shadow: var(--anima-modern-shadow-soft);
}

.theme-anima-modern .anima-article-back {
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: 1.5rem;
  border-color: var(--color-border);
}

.theme-anima-modern .anima-article-back a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0.65rem 1rem;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-button);
  text-decoration: none;
}

.theme-anima-modern .anima-article-back a:hover,
.theme-anima-modern .anima-article-back a:focus-visible {
  color: #fff !important;
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

.theme-anima-modern .anima-blog-heading {
  padding: clamp(5rem, 10vw, 9rem) 1.5rem;
  background: var(--color-bg-surface);
}

.theme-anima-modern .anima-blog-heading > div {
  width: min(100%, var(--anima-content-width));
  margin-inline: auto;
}

.theme-anima-modern .anima-blog-heading h1 {
  color: var(--color-text);
  font-size: clamp(2.7rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.theme-anima-modern .anima-blog-heading p {
  max-width: 620px;
  margin-top: 1.5rem;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.7;
}

.theme-anima-modern .anima-blog {
  padding: 0 1.5rem clamp(5rem, 10vw, 9rem);
  background: transparent;
}

.theme-anima-modern .anima-blog-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, var(--anima-content-width));
  max-width: none;
  padding-block: clamp(4rem, 8vw, 7rem);
  gap: clamp(1.25rem, 3vw, 2rem);
}

.theme-anima-modern .anima-blog-entry {
  display: flex;
  min-width: 0;
  min-height: 390px;
  flex-direction: column;
  margin: 0;
  padding: clamp(1.6rem, 4vw, 3rem);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--anima-modern-shadow-soft);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.theme-anima-modern .anima-blog-entry:first-child {
  grid-column: 1 / -1;
  min-height: 360px;
  padding-right: clamp(2rem, 12vw, 10rem);
  background:
    radial-gradient(circle at 100% 0, rgb(92 188 255 / 20%), transparent 24rem),
    #fff;
}

.theme-anima-modern .anima-blog-entry:hover {
  border-color: color-mix(in srgb, var(--color-accent) 55%, var(--color-border));
  box-shadow: var(--anima-modern-shadow);
  transform: translateY(-5px);
}

.theme-anima-modern .anima-blog-entry h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.theme-anima-modern .anima-blog-entry:first-child h2 {
  max-width: 900px;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.theme-anima-modern .anima-blog-entry h2 a:hover,
.theme-anima-modern .anima-blog-entry h2 a:focus-visible {
  color: var(--color-accent-dark);
  text-decoration: none;
}

.theme-anima-modern .anima-blog-meta {
  margin-bottom: 1.35rem;
  color: var(--color-accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.theme-anima-modern .anima-blog-excerpt {
  display: -webkit-box;
  margin-bottom: 1.75rem;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 0.96rem;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.theme-anima-modern .anima-blog-entry:first-child .anima-blog-excerpt {
  max-width: 900px;
  -webkit-line-clamp: 4;
}

.theme-anima-modern .anima-blog-more {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.8rem;
  text-decoration: none;
}

.theme-anima-modern .anima-blog-more:hover,
.theme-anima-modern .anima-blog-more:focus-visible {
  color: #fff;
  background: var(--color-cta-hover);
  text-decoration: none;
  transform: translateY(-2px);
}

.theme-anima-modern .anima-blog-pagination {
  grid-column: 1 / -1;
  justify-content: center;
  margin-top: clamp(1.5rem, 4vw, 3rem);
  gap: 0.5rem;
}

.theme-anima-modern .anima-blog-pagination a,
.theme-anima-modern .anima-blog-pagination span {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.75rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-button);
}

.theme-anima-modern .anima-blog-pagination span[aria-current="page"] {
  color: #fff;
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

.theme-anima-modern .anima-blog-pagination a:hover,
.theme-anima-modern .anima-blog-pagination a:focus-visible {
  color: #fff;
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  text-decoration: none;
}

.theme-anima-modern .anima-blog-pagination__direction {
  padding-inline: 1rem !important;
}

/* Counselling page. These selectors enhance the existing builder blocks, so
   every image and copy region remains independently editable in the admin. */
.theme-anima-modern #anima-counselling-page-title {
  width: min(100%, var(--anima-content-width));
  min-height: 0;
  padding: clamp(5rem, 10vw, 9rem) 1.5rem;
}

.theme-anima-modern #anima-counselling-page-heading {
  color: var(--color-text);
  font-size: clamp(2.7rem, 7vw, 5.5rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.055em;
  line-height: 0.95 !important;
}

.theme-anima-modern #anima-counselling-intro {
  min-height: 0;
  padding: clamp(4rem, 8vw, 7rem) 1.5rem !important;
  background: transparent !important;
}

.theme-anima-modern #anima-counselling-intro-inner {
  max-width: var(--anima-content-width);
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--anima-modern-shadow);
}

.theme-anima-modern #anima-counselling-intro-inner > div {
  align-items: stretch;
  gap: 0;
}

.theme-anima-modern #anima-counselling-intro-inner > div > div:has(#anima-counselling-mental-health-image) {
  display: flex;
  width: 58% !important;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  background:
    radial-gradient(circle at 30% 30%, rgb(92 188 255 / 24%), transparent 19rem),
    var(--color-bg-surface);
}

.theme-anima-modern #anima-counselling-mental-health-image {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
}

.theme-anima-modern #anima-counselling-intro-copy {
  width: 42% !important;
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--color-text);
  font-size: clamp(1rem, 1.45vw, 1.08rem);
  line-height: 1.8;
}

.theme-anima-modern #anima-counselling-intro-copy p:first-child {
  margin-bottom: 1.5rem;
  color: var(--color-accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.theme-anima-modern #anima-counselling-content {
  padding: clamp(4rem, 8vw, 7rem) 1.5rem !important;
  background: var(--color-bg-surface) !important;
}

.theme-anima-modern #anima-counselling-content-inner {
  max-width: var(--anima-content-width);
  padding: 0;
}

.theme-anima-modern #anima-counselling-content-inner > div {
  gap: clamp(1.5rem, 4vw, 3rem);
}

.theme-anima-modern #anima-counselling-support-row {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--anima-modern-shadow-soft);
}

.theme-anima-modern #anima-counselling-support-row > div {
  align-items: stretch;
  gap: 0;
}

.theme-anima-modern #anima-counselling-support-copy,
.theme-anima-modern #anima-counselling-support-row > div > div:has(#anima-counselling-hope-image) {
  width: 50% !important;
}

.theme-anima-modern #anima-counselling-support-copy {
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--color-text);
  font-size: clamp(1rem, 1.45vw, 1.08rem);
  line-height: 1.8;
}

.theme-anima-modern #anima-counselling-support-copy p:first-child {
  margin-bottom: 1.5rem;
  color: var(--color-text);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.theme-anima-modern #anima-counselling-support-row > div > div:has(#anima-counselling-hope-image) {
  min-height: 420px;
  overflow: hidden;
  background: var(--color-accent-dark);
}

.theme-anima-modern #anima-counselling-hope-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.theme-anima-modern #anima-counselling-support-row:hover #anima-counselling-hope-image {
  transform: scale(1.025);
}

.theme-anima-modern #anima-counselling-details {
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(2rem, 6vw, 5rem);
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--anima-modern-shadow-soft);
  font-size: clamp(1rem, 1.45vw, 1.08rem);
  line-height: 1.85;
}

.theme-anima-modern #anima-counselling-details p {
  margin-bottom: 1.55rem;
}

.theme-anima-modern #anima-counselling-details p > strong:first-child {
  color: var(--color-text);
  font-weight: 700;
}

.theme-anima-modern #anima-counselling-details ul {
  margin: 0 0 2rem;
  padding: 1.5rem 1.5rem 1.5rem 3rem;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  list-style: disc;
}

.theme-anima-modern #anima-counselling-details li {
  margin-bottom: 0.65rem;
  padding-left: 0.25rem;
}

.theme-anima-modern #anima-counselling-details li::marker {
  color: var(--color-accent-dark);
}

.theme-anima-modern #anima-counselling-final-quote {
  position: relative;
  min-height: 480px;
  padding: clamp(5rem, 9vw, 8rem) 1.5rem !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0, rgb(255 255 255 / 8%), transparent 28rem),
    var(--anima-modern-dark) !important;
}

.theme-anima-modern #anima-counselling-final-quote::before {
  position: absolute;
  top: 1rem;
  left: 50%;
  color: rgb(255 255 255 / 7%);
  content: "“";
  font-family: Georgia, serif;
  font-size: clamp(9rem, 20vw, 15rem);
  line-height: 1;
  transform: translateX(-50%);
}

.theme-anima-modern #anima-counselling-final-quote > div {
  position: relative;
  z-index: 1;
}

.theme-anima-modern #anima-counselling-final-quote-photo {
  width: 132px;
  height: 132px;
  border: 5px solid rgb(255 255 255 / 15%);
}

.theme-anima-modern #anima-counselling-final-quote-text {
  max-width: 900px;
  color: #fff;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem) !important;
  line-height: 1.6 !important;
}

.theme-anima-modern #anima-counselling-final-quote-credit {
  color: rgb(255 255 255 / 68%);
  font-size: 0.75rem !important;
  font-weight: 700;
  letter-spacing: 0.11em;
}

/* Gestalt Therapy page. The visual rhythm is applied to the existing editable
   rich-text, image, and container blocks rather than hard-coded page markup. */
.theme-anima-modern #anima-gestalt-page-title {
  width: min(100%, var(--anima-content-width));
  min-height: 0;
  padding: clamp(5rem, 10vw, 9rem) 1.5rem;
}

.theme-anima-modern #anima-gestalt-page-heading {
  max-width: 1050px;
  color: var(--color-text);
  font-size: clamp(2.7rem, 6.4vw, 5rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.055em;
  line-height: 1.02 !important;
}

.theme-anima-modern #anima-gestalt-content {
  padding: clamp(4rem, 8vw, 7rem) 1.5rem !important;
  background: var(--color-bg-surface) !important;
}

.theme-anima-modern #anima-gestalt-content-inner {
  max-width: var(--anima-content-width);
  padding: 0;
}

.theme-anima-modern #anima-gestalt-content-inner > div {
  gap: clamp(1.5rem, 4vw, 3rem);
}

.theme-anima-modern #anima-gestalt-intro,
.theme-anima-modern #anima-gestalt-theory,
.theme-anima-modern #anima-gestalt-therapy,
.theme-anima-modern #anima-gestalt-prayer {
  width: min(100%, 920px);
  margin-inline: auto;
  padding: clamp(2rem, 6vw, 5rem);
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--anima-modern-shadow-soft);
  font-size: clamp(1rem, 1.45vw, 1.08rem);
  line-height: 1.85;
}

.theme-anima-modern #anima-gestalt-content-inner p {
  margin-bottom: 1.55rem;
}

.theme-anima-modern #anima-gestalt-content-inner ul,
.theme-anima-modern #anima-gestalt-content-inner ol {
  margin: 0 0 2rem;
  padding: 1.5rem 1.5rem 1.5rem 3rem;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
}

.theme-anima-modern #anima-gestalt-content-inner ul {
  list-style: disc;
}

.theme-anima-modern #anima-gestalt-content-inner ol {
  list-style: decimal;
}

.theme-anima-modern #anima-gestalt-content-inner li {
  margin-bottom: 0.65rem;
  padding-left: 0.25rem;
}

.theme-anima-modern #anima-gestalt-content-inner li::marker {
  color: var(--color-accent-dark);
  font-weight: 700;
}

.theme-anima-modern #anima-gestalt-content-inner > div > div:has(#anima-gestalt-freedom-image),
.theme-anima-modern #anima-gestalt-content-inner > div > div:has(#anima-gestalt-tree-image) {
  width: min(100%, 920px) !important;
  margin-inline: auto !important;
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: var(--anima-modern-shadow);
}

.theme-anima-modern #anima-gestalt-freedom-image,
.theme-anima-modern #anima-gestalt-tree-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 400ms ease;
}

.theme-anima-modern #anima-gestalt-content-inner > div > div:has(#anima-gestalt-freedom-image):hover img,
.theme-anima-modern #anima-gestalt-content-inner > div > div:has(#anima-gestalt-tree-image):hover img {
  transform: scale(1.02);
}

.theme-anima-modern #anima-gestalt-concepts-row,
.theme-anima-modern #anima-gestalt-philosophy-row {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--anima-modern-shadow-soft);
}

.theme-anima-modern #anima-gestalt-concepts-row > div,
.theme-anima-modern #anima-gestalt-philosophy-row > div {
  align-items: stretch;
  gap: 0;
}

.theme-anima-modern #anima-gestalt-concepts,
.theme-anima-modern #anima-gestalt-philosophy {
  width: 62% !important;
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--color-text);
  font-size: clamp(1rem, 1.45vw, 1.08rem);
  line-height: 1.85;
}

.theme-anima-modern #anima-gestalt-concepts-row > div > div:has(#anima-gestalt-head-image),
.theme-anima-modern #anima-gestalt-philosophy-row > div > div:has(#anima-gestalt-accept-image) {
  display: flex;
  width: 38% !important;
  min-height: 420px;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.5rem);
  background:
    radial-gradient(circle at 50% 35%, rgb(92 188 255 / 30%), transparent 16rem),
    var(--color-bg-surface);
}

.theme-anima-modern #anima-gestalt-head-image,
.theme-anima-modern #anima-gestalt-accept-image {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
}

.theme-anima-modern #anima-gestalt-prayer {
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgb(92 188 255 / 24%), transparent 22rem),
    var(--anima-modern-dark);
  border-color: transparent;
  text-align: center;
}

.theme-anima-modern #anima-gestalt-prayer strong {
  color: #fff;
}

.theme-anima-modern #anima-gestalt-final-quote {
  position: relative;
  min-height: 480px;
  padding: clamp(5rem, 9vw, 8rem) 1.5rem !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0, rgb(255 255 255 / 8%), transparent 28rem),
    var(--anima-modern-dark) !important;
}

.theme-anima-modern #anima-gestalt-final-quote::before {
  position: absolute;
  top: 1rem;
  left: 50%;
  color: rgb(255 255 255 / 7%);
  content: "“";
  font-family: Georgia, serif;
  font-size: clamp(9rem, 20vw, 15rem);
  line-height: 1;
  transform: translateX(-50%);
}

.theme-anima-modern #anima-gestalt-final-quote > div {
  position: relative;
  z-index: 1;
}

.theme-anima-modern #anima-gestalt-final-quote-photo {
  width: 132px;
  height: 132px;
  border: 5px solid rgb(255 255 255 / 15%);
}

.theme-anima-modern #anima-gestalt-final-quote-text {
  max-width: 900px;
  color: #fff;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem) !important;
  line-height: 1.6 !important;
}

.theme-anima-modern #anima-gestalt-final-quote-credit {
  color: rgb(255 255 255 / 68%);
  font-size: 0.75rem !important;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.theme-anima-modern .anima-contact-methods,
.theme-anima-modern .anima-contact-form-section {
  background: transparent;
}

.theme-anima-modern .anima-contact-methods {
  min-height: 0;
  padding: clamp(4rem, 8vw, 7rem) 1.5rem;
}

.theme-anima-modern .anima-contact-methods-grid {
  gap: clamp(1.25rem, 3vw, 2rem);
}

.theme-anima-modern .anima-contact-method {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--anima-modern-shadow-soft);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.theme-anima-modern .anima-contact-method:hover {
  border-color: color-mix(in srgb, var(--color-accent) 55%, var(--color-border));
  box-shadow: var(--anima-modern-shadow);
  transform: translateY(-5px);
}

.theme-anima-modern .anima-contact-method img {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
}

.theme-anima-modern .anima-contact-method h2 {
  margin-bottom: 1.25rem;
  font-size: 1.15rem;
}

.theme-anima-modern .anima-contact-location {
  padding: clamp(4rem, 8vw, 7rem) 1.5rem;
  color: #fff;
  background:
    radial-gradient(circle at 0 0, rgb(92 188 255 / 20%), transparent 34rem),
    var(--anima-modern-dark);
}

.theme-anima-modern .anima-contact-location-grid {
  gap: clamp(2rem, 6vw, 5rem);
}

.theme-anima-modern .anima-contact-location-copy p {
  color: var(--anima-modern-dark-muted);
}

.theme-anima-modern .anima-contact-location-copy strong {
  color: #fff;
}

.theme-anima-modern .anima-contact-location-copy h2 {
  color: #fff;
  font-size: clamp(2.3rem, 4.5vw, 3.7rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.theme-anima-modern .anima-contact-location-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: visible;
  gap: 0.75rem;
}

.theme-anima-modern .anima-contact-map {
  position: relative;
  grid-column: 1 / -1;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--color-bg-surface);
  border-radius: var(--radius-card);
  box-shadow: 0 22px 60px rgb(3 26 41 / 28%);
}

.theme-anima-modern .anima-contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.theme-anima-modern .anima-contact-map a {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0.65rem 1rem;
  color: #fff;
  background: var(--color-accent-dark);
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: var(--radius-button);
  box-shadow: 0 8px 24px rgb(3 26 41 / 24%);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.theme-anima-modern .anima-contact-map a:hover,
.theme-anima-modern .anima-contact-map a:focus-visible {
  color: #fff;
  background: var(--color-cta-hover);
  text-decoration: none;
}

.theme-anima-modern .anima-contact-location-images img,
.theme-anima-modern .anima-contact-form-wrap {
  border-radius: var(--radius-card);
}

.theme-anima-modern .anima-contact-location-images img {
  height: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  box-shadow: 0 22px 60px rgb(3 26 41 / 28%);
}

.theme-anima-modern .anima-contact-form-section {
  padding: clamp(4rem, 8vw, 7rem) 1.5rem clamp(5rem, 10vw, 9rem);
}

.theme-anima-modern .anima-contact-form-wrap {
  padding: clamp(2rem, 6vw, 4.5rem);
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--anima-modern-shadow-soft);
}

.theme-anima-modern .anima-contact-form-wrap > h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.theme-anima-modern .anima-contact-form input,
.theme-anima-modern .anima-contact-form textarea {
  background: var(--color-bg-surface);
  border-radius: var(--radius-input);
}

.theme-anima-modern .anima-contact-form button {
  border-radius: var(--radius-button);
}

.theme-anima-modern .anima-unsubscribe-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding: clamp(4rem, 10vw, 8rem) 1rem;
  background: var(--color-bg-surface);
}

.theme-anima-modern .anima-unsubscribe-card {
  width: min(100%, 520px);
  padding: clamp(2rem, 6vw, 4rem);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--anima-modern-shadow-soft);
}

.theme-anima-modern .anima-unsubscribe-card input {
  background: var(--color-bg-surface) !important;
}

/* Modern footer */
.theme-anima-modern .anima-footer {
  margin-top: auto;
  color: #eaf7ff;
  background: #0f334a;
}

.theme-anima-modern .anima-footer__inner {
  width: min(calc(100% - 3rem), var(--anima-content-width));
  margin-inline: auto;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  display: grid;
  grid-template-columns: minmax(230px, 1.4fr) 2fr auto;
  align-items: start;
  gap: 3rem;
}

.theme-anima-modern .anima-footer__brand {
  color: #fff;
  font-family: var(--font-heading), var(--font-fallback);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.theme-anima-modern .anima-footer__identity p {
  max-width: 340px;
  margin-top: 0.8rem;
  color: var(--anima-modern-dark-muted);
  font-size: 0.85rem;
}

.theme-anima-modern .anima-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 2rem;
}

.theme-anima-modern .anima-footer__nav a {
  color: #eaf7ff;
  font-size: 0.84rem;
  text-decoration: none;
}

.theme-anima-modern .anima-footer__nav a:hover,
.theme-anima-modern .anima-footer__nav a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.theme-anima-modern .anima-footer__social {
  display: flex;
  gap: 0.65rem;
}

.theme-anima-modern .anima-footer__social a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #eaf7ff;
  border: 1px solid #4f7890;
  border-radius: 50%;
  text-decoration: none;
}

.theme-anima-modern .anima-footer__social a:hover,
.theme-anima-modern .anima-footer__social a:focus-visible {
  color: #fff;
  border-color: #fff;
}

.theme-anima-modern .anima-footer__legal {
  padding: 1.25rem 1.5rem;
  color: #a9cadc;
  border-top: 1px solid #315a72;
  font-size: 0.72rem;
  text-align: center;
}

@media (max-width: 1120px) {
  .theme-anima-modern .anima-desktop-nav {
    gap: 0.7rem;
  }

  .theme-anima-modern .anima-desktop-nav > a,
  .theme-anima-modern .anima-nav-dropdown__trigger > a {
    font-size: 0.72rem;
  }

  .theme-anima-modern .anima-brand__tagline {
    display: none;
  }
}

@media (max-width: 1050px) {
  :root {
    --anima-header-height: 74px;
  }

  .theme-anima-modern .anima-header__inner {
    width: min(calc(100% - 2rem), var(--anima-content-width));
    min-height: var(--anima-header-height);
  }

  .theme-anima-modern .anima-desktop-nav,
  .theme-anima-modern .anima-header__cta {
    display: none;
  }

  .theme-anima-modern .anima-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .theme-anima-modern .anima-brand__logo {
    width: 46px;
    height: 46px;
  }

  .theme-anima-modern .anima-brand__tagline {
    display: block;
  }

  .theme-anima-modern #anima-about-inner,
  .theme-anima-modern #anima-events-inner,
  .theme-anima-modern #anima-counselling-inner {
    min-height: 440px;
  }

  .theme-anima-modern .anima-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .theme-anima-modern .anima-footer__social {
    grid-column: 1 / -1;
  }

  .theme-anima-modern #anima-team-grid > div > div {
    width: calc(50% - 0.75rem) !important;
  }

  .theme-anima-modern #anima-team-grid img {
    height: clamp(300px, 48vw, 430px);
  }
}

@media (max-width: 767px) {
  .theme-anima-modern main > div:has(> div > #anima-home-banner) {
    width: calc(100% - 1.5rem);
    margin-top: 0.75rem;
  }

  .theme-anima-modern main > div:has(> div > #anima-home-banner) > div,
  .theme-anima-modern #anima-home-banner {
    border-radius: 16px;
  }

  .theme-anima-modern #anima-services > div {
    flex-direction: column;
    gap: 0.85rem;
  }

  .theme-anima-modern #anima-intro {
    margin-top: 1.25rem;
    padding: 0 1rem 3.75rem !important;
  }

  .theme-anima-modern #anima-services > div > div {
    padding: 1.4rem 1.25rem;
  }

  .theme-anima-modern #anima-facebook-note {
    margin-top: 0.75rem;
    font-size: 0.86rem;
  }

  .theme-anima-modern #anima-about,
  .theme-anima-modern #anima-events,
  .theme-anima-modern #anima-counselling {
    width: calc(100% - 1.5rem);
    border-radius: 18px;
  }

  .theme-anima-modern #anima-about-inner > div,
  .theme-anima-modern #anima-events-inner > div,
  .theme-anima-modern #anima-counselling-inner > div {
    flex-direction: column !important;
  }

  .theme-anima-modern #anima-about-inner > div > div,
  .theme-anima-modern #anima-events-inner > div > div,
  .theme-anima-modern #anima-counselling-inner > div > div,
  .theme-anima-modern #anima-about-inner > div > div:has(#anima-about-image),
  .theme-anima-modern #anima-events-inner > div > div:has(#anima-events-image),
  .theme-anima-modern #anima-counselling-inner > div > div:has(#anima-counselling-image) {
    width: 100% !important;
  }

  .theme-anima-modern #anima-events-inner > div > div:has(#anima-events-image) {
    order: -1;
  }

  .theme-anima-modern #anima-about-image,
  .theme-anima-modern #anima-events-image,
  .theme-anima-modern #anima-counselling-image {
    height: clamp(250px, 78vw, 330px);
  }

  .theme-anima-modern #anima-about-content,
  .theme-anima-modern #anima-events-content,
  .theme-anima-modern #anima-counselling-content {
    padding: 2rem 1.5rem 2.25rem;
  }

  .theme-anima-modern #anima-about-content h2,
  .theme-anima-modern #anima-events-content h2,
  .theme-anima-modern #anima-counselling-content h2 {
    font-size: clamp(1.8rem, 9vw, 2.35rem);
  }

  .theme-anima-modern #anima-programs {
    padding: 3.75rem 0.75rem !important;
  }

  .theme-anima-modern #anima-programs-inner > div {
    flex-direction: column;
    gap: 1rem;
  }

  .theme-anima-modern #anima-programs-inner > div > div {
    width: 100% !important;
  }

  .theme-anima-modern #anima-quote {
    min-height: 0;
    padding: 4.5rem 1.25rem !important;
  }

  .theme-anima-modern #anima-quote-photo {
    width: 108px;
    height: 108px;
  }

  .theme-anima-modern #anima-about-page-title {
    width: calc(100% - 2rem);
    min-height: 0;
    padding: 4.5rem 0 3.5rem;
  }

  .theme-anima-modern #anima-about-page-heading {
    font-size: clamp(2.8rem, 15vw, 4rem) !important;
  }

  .theme-anima-modern #anima-about-overview {
    padding: 0 0.75rem 4rem !important;
  }

  .theme-anima-modern #anima-about-overview-inner {
    min-height: 0;
    border-radius: 18px;
  }

  .theme-anima-modern #anima-about-overview-inner > div,
  .theme-anima-modern #anima-about-goals-inner > div {
    flex-direction: column;
  }

  .theme-anima-modern #anima-about-overview-inner > div > div:has(#anima-about-mission-image),
  .theme-anima-modern #anima-about-overview-copy,
  .theme-anima-modern #anima-about-goals-copy,
  .theme-anima-modern #anima-about-goals-inner > div > div:has(#anima-about-goals-image) {
    width: 100% !important;
  }

  .theme-anima-modern #anima-about-overview-copy {
    padding: 2rem 1.5rem 2.25rem;
    font-size: 0.94rem;
  }

  .theme-anima-modern #anima-about-goals {
    padding: 4.5rem 1rem !important;
  }

  .theme-anima-modern #anima-about-goals-inner > div {
    gap: 2.5rem;
  }

  .theme-anima-modern #anima-about-goals-text {
    font-size: 0.94rem;
  }

  .theme-anima-modern #anima-about-goals-image {
    min-height: 0;
    height: auto;
  }

  .theme-anima-modern #anima-team-title {
    padding: 4.5rem 1rem 2.5rem;
  }

  .theme-anima-modern #anima-team-heading {
    font-size: clamp(2.5rem, 13vw, 3.5rem) !important;
  }

  .theme-anima-modern #anima-team-section {
    padding: 0 0.75rem 5rem !important;
  }

  .theme-anima-modern #anima-team-grid > div {
    gap: 1rem;
  }

  .theme-anima-modern #anima-team-grid > div > div {
    width: 100% !important;
    border-radius: 18px;
  }

  .theme-anima-modern #anima-team-grid img {
    height: auto;
    aspect-ratio: 480 / 546;
  }

  .theme-anima-modern #anima-about-final-quote {
    min-height: 0;
    padding: 4.5rem 1.25rem !important;
  }

  .theme-anima-modern #anima-about-final-quote-photo {
    width: 108px;
    height: 108px;
  }

  .theme-anima-modern .anima-events-heading {
    min-height: 0;
    padding: 4.5rem 1rem 3.5rem;
  }

  .theme-anima-modern .anima-events-heading h1 {
    font-size: clamp(2.8rem, 15vw, 4rem);
  }

  .theme-anima-modern .anima-events-list {
    padding: 3.5rem 0.75rem 4.5rem;
  }

  .theme-anima-modern .anima-event-row-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .theme-anima-modern .anima-event-row + .anima-event-row {
    margin-top: 1rem;
  }

  .theme-anima-modern .anima-event-card {
    border-radius: 18px;
  }

  .theme-anima-modern .anima-event-card-copy {
    min-height: 0;
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .theme-anima-modern .anima-events-quote {
    min-height: 0;
    padding: 4.5rem 1.25rem;
  }

  .theme-anima-modern .anima-events-quote img {
    width: 96px;
    height: 96px;
  }

  .theme-anima-modern .anima-article-page {
    padding: 2.5rem 0 5rem;
  }

  .theme-anima-modern .anima-article-header,
  .theme-anima-modern .anima-article-body,
  .theme-anima-modern .anima-article-back,
  .theme-anima-modern .anima-event-article,
  .theme-anima-modern .anima-blog-article,
  .theme-anima-modern .anima-education-article {
    padding-inline: 1rem;
  }

  .theme-anima-modern .anima-article-header nav {
    margin-bottom: 2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .theme-anima-modern .anima-article-header h1 {
    font-size: clamp(2.15rem, 11vw, 3.2rem);
  }

  .theme-anima-modern .anima-event-article .prose,
  .theme-anima-modern .anima-blog-article .prose,
  .theme-anima-modern .anima-education-article .prose,
  .theme-anima-modern .anima-article-body .prose {
    font-size: 1rem;
    line-height: 1.78;
  }

  .theme-anima-modern .anima-blog-heading {
    padding: 4.5rem 1rem 3.5rem;
  }

  .theme-anima-modern .anima-blog-heading h1 {
    font-size: clamp(2.8rem, 15vw, 4rem);
  }

  .theme-anima-modern .anima-blog-heading p {
    margin-top: 1rem;
  }

  .theme-anima-modern .anima-blog {
    padding: 0 0.75rem 4.5rem;
  }

  .theme-anima-modern .anima-blog-inner {
    grid-template-columns: 1fr;
    padding-block: 3.5rem;
    gap: 1rem;
  }

  .theme-anima-modern .anima-blog-entry,
  .theme-anima-modern .anima-blog-entry:first-child {
    grid-column: auto;
    min-height: 0;
    padding: 1.5rem 1.25rem 1.75rem;
    border-radius: 18px;
  }

  .theme-anima-modern .anima-blog-entry h2,
  .theme-anima-modern .anima-blog-entry:first-child h2 {
    font-size: clamp(1.55rem, 8vw, 2.1rem);
  }

  .theme-anima-modern .anima-blog-pagination {
    flex-wrap: wrap;
    margin-top: 1.5rem;
  }

  .theme-anima-modern #anima-counselling-page-title {
    padding: 4.5rem 1rem 3.5rem;
  }

  .theme-anima-modern #anima-counselling-page-heading {
    overflow-wrap: anywhere;
    font-size: clamp(1.85rem, 8.8vw, 2.35rem) !important;
    letter-spacing: -0.045em;
  }

  .theme-anima-modern #anima-counselling-intro,
  .theme-anima-modern #anima-counselling-content {
    padding: 3.5rem 0.75rem 4.5rem !important;
  }

  .theme-anima-modern #anima-counselling-intro-inner,
  .theme-anima-modern #anima-counselling-support-row,
  .theme-anima-modern #anima-counselling-details {
    border-radius: 18px;
  }

  .theme-anima-modern #anima-counselling-intro-inner > div,
  .theme-anima-modern #anima-counselling-support-row > div {
    flex-direction: column;
  }

  .theme-anima-modern #anima-counselling-intro-inner > div > div:has(#anima-counselling-mental-health-image),
  .theme-anima-modern #anima-counselling-intro-copy,
  .theme-anima-modern #anima-counselling-support-copy,
  .theme-anima-modern #anima-counselling-support-row > div > div:has(#anima-counselling-hope-image) {
    width: 100% !important;
  }

  .theme-anima-modern #anima-counselling-intro-inner > div > div:has(#anima-counselling-mental-health-image) {
    padding: 2rem 1.25rem;
  }

  .theme-anima-modern #anima-counselling-intro-copy,
  .theme-anima-modern #anima-counselling-support-copy,
  .theme-anima-modern #anima-counselling-details {
    padding: 2rem 1.25rem 2.25rem;
    font-size: 1rem;
    line-height: 1.78;
  }

  .theme-anima-modern #anima-counselling-support-row > div > div:has(#anima-counselling-hope-image) {
    min-height: 0;
    order: -1;
    aspect-ratio: 16 / 10;
  }

  .theme-anima-modern #anima-counselling-hope-image {
    height: 100%;
    aspect-ratio: auto;
  }

  .theme-anima-modern #anima-counselling-details ul {
    padding: 1.25rem 1rem 1.25rem 2.35rem;
  }

  .theme-anima-modern #anima-counselling-final-quote {
    min-height: 0;
    padding: 4.5rem 1.25rem !important;
  }

  .theme-anima-modern #anima-counselling-final-quote-photo {
    width: 108px;
    height: 108px;
  }

  .theme-anima-modern #anima-gestalt-page-title {
    padding: 4.5rem 1rem 3.5rem;
  }

  .theme-anima-modern #anima-gestalt-page-heading {
    font-size: clamp(2.15rem, 10.5vw, 3.15rem) !important;
  }

  .theme-anima-modern #anima-gestalt-content {
    padding: 3.5rem 0.75rem 4.5rem !important;
  }

  .theme-anima-modern #anima-gestalt-intro,
  .theme-anima-modern #anima-gestalt-theory,
  .theme-anima-modern #anima-gestalt-therapy,
  .theme-anima-modern #anima-gestalt-prayer,
  .theme-anima-modern #anima-gestalt-concepts,
  .theme-anima-modern #anima-gestalt-philosophy {
    padding: 2rem 1.25rem 2.25rem;
    font-size: 1rem;
    line-height: 1.78;
  }

  .theme-anima-modern #anima-gestalt-intro,
  .theme-anima-modern #anima-gestalt-theory,
  .theme-anima-modern #anima-gestalt-therapy,
  .theme-anima-modern #anima-gestalt-prayer,
  .theme-anima-modern #anima-gestalt-concepts-row,
  .theme-anima-modern #anima-gestalt-philosophy-row,
  .theme-anima-modern #anima-gestalt-content-inner > div > div:has(#anima-gestalt-freedom-image),
  .theme-anima-modern #anima-gestalt-content-inner > div > div:has(#anima-gestalt-tree-image) {
    border-radius: 18px;
  }

  .theme-anima-modern #anima-gestalt-content-inner ul,
  .theme-anima-modern #anima-gestalt-content-inner ol {
    padding: 1.25rem 1rem 1.25rem 2.35rem;
  }

  .theme-anima-modern #anima-gestalt-concepts-row > div,
  .theme-anima-modern #anima-gestalt-philosophy-row > div {
    flex-direction: column;
  }

  .theme-anima-modern #anima-gestalt-concepts,
  .theme-anima-modern #anima-gestalt-philosophy,
  .theme-anima-modern #anima-gestalt-concepts-row > div > div:has(#anima-gestalt-head-image),
  .theme-anima-modern #anima-gestalt-philosophy-row > div > div:has(#anima-gestalt-accept-image) {
    width: 100% !important;
  }

  .theme-anima-modern #anima-gestalt-concepts-row > div > div:has(#anima-gestalt-head-image),
  .theme-anima-modern #anima-gestalt-philosophy-row > div > div:has(#anima-gestalt-accept-image) {
    min-height: 0;
    padding: 2rem 1.25rem;
    order: -1;
  }

  .theme-anima-modern #anima-gestalt-head-image,
  .theme-anima-modern #anima-gestalt-accept-image {
    max-height: 300px;
  }

  .theme-anima-modern #anima-gestalt-final-quote {
    min-height: 0;
    padding: 4.5rem 1.25rem !important;
  }

  .theme-anima-modern #anima-gestalt-final-quote-photo {
    width: 108px;
    height: 108px;
  }

  .theme-anima-modern .anima-contact-title {
    min-height: 0;
    padding: 4.5rem 1rem 3.5rem;
  }

  .theme-anima-modern .anima-contact-title h1 {
    font-size: clamp(2.8rem, 15vw, 4rem);
  }

  .theme-anima-modern .anima-contact-methods {
    padding: 3.5rem 0.75rem 4.5rem;
  }

  .theme-anima-modern .anima-contact-methods-grid {
    padding-inline: 0;
    gap: 1rem;
  }

  .theme-anima-modern .anima-contact-method {
    min-height: 230px;
    padding: 1.75rem 1.25rem;
    border-radius: 18px;
  }

  .theme-anima-modern .anima-contact-location {
    padding: 4.5rem 0.75rem;
  }

  .theme-anima-modern .anima-contact-location-grid {
    padding-inline: 0;
    gap: 2.5rem;
  }

  .theme-anima-modern .anima-contact-location-images {
    grid-template-columns: 1fr;
  }

  .theme-anima-modern .anima-contact-map {
    grid-column: auto;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
  }

  .theme-anima-modern .anima-contact-location-images img {
    border-radius: 18px;
  }

  .theme-anima-modern .anima-contact-form-section {
    padding: 4.5rem 0.75rem 5rem;
  }

  .theme-anima-modern .anima-contact-form-wrap {
    padding: 2rem 1.25rem 2.25rem;
    border-radius: 18px;
  }
}

@media (min-width: 1680px) {
  :root {
    --anima-content-width: 1280px;
    --anima-wide-width: 1480px;
  }

  .theme-anima-modern main > div:has(> div > #anima-home-banner) {
    width: min(calc(100% - 8rem), var(--anima-wide-width));
  }

  .theme-anima-modern #anima-intro {
    margin-top: 2rem;
  }
}

@media (max-width: 640px) {
  .theme-anima-modern .anima-brand__tagline {
    display: none;
  }

  .theme-anima-modern .anima-footer__inner {
    width: min(calc(100% - 2rem), var(--anima-content-width));
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .theme-anima-modern .anima-footer__nav {
    grid-template-columns: 1fr;
  }

  .theme-anima-modern .anima-footer__social {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-anima-modern *,
  .theme-anima-modern *::before,
  .theme-anima-modern *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
