/* ==========================================================================
   LIFE Malaysia — brand layer for Elementor.
   Colours & fonts come from Elementor Site Settings (Global Colors / Fonts).
   This file only adds decorative behaviour that Elementor Free has no control for:
   hover lifts, polaroid tilt, eyebrow dash, sticky header, and the 3 showpieces.
   Content is never stored here — edit everything in Elementor.
   ========================================================================== */
:root {
  --lm-purple: var(--e-global-color-primary, #5B2A86);
  --lm-aub: var(--e-global-color-secondary, #24112F);
  --lm-gold: var(--e-global-color-accent, #F2A93B);
  --lm-lav: var(--e-global-color-lmlav, #CDB8E6);
  --lm-lav100: var(--e-global-color-lmlav100, #EDE4F7);
  --lm-cream: var(--e-global-color-lmcream, #FFFBF5);
  --lm-ink: var(--e-global-color-lmink, #1E1428);
  --lm-ease: cubic-bezier(.22, 1, .36, 1);
  --lm-shadow-lg: 0 30px 60px -20px rgba(36, 17, 47, .35);
}
html { scroll-behavior: smooth; }
body { overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.elementor-heading-title { text-wrap: balance; }

:focus-visible { outline: 3px solid var(--lm-gold); outline-offset: 3px; }
[id] { scroll-margin-top: 96px; }

/* ---------- Header (template "Site Header") ---------- */
.life-site-header-wrap { position: sticky; top: 0; z-index: 999; }
.admin-bar .life-site-header-wrap { top: 32px; }
@media (max-width: 782px) { .admin-bar .life-site-header-wrap { top: 46px; } }
.life-header { box-shadow: 0 10px 30px -14px rgba(0,0,0,.45); }
.header-bar, .header-bar > .e-con-inner { flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; }
.header-brand { flex: 0 0 auto !important; width: auto !important; flex-direction: row !important; flex-wrap: nowrap !important; }
.header-brand .header-logo { width: 40px !important; flex: 0 0 40px; }
.header-actions { flex: 1 1 auto !important; width: auto !important; flex-direction: row !important; flex-wrap: nowrap !important; justify-content: flex-end !important; }
.header-actions .life-menu { width: auto !important; flex: 1 1 auto; }
.logo-name a, .logo-name .elementor-heading-title a { color: inherit !important; text-decoration: none; }
.life-menu .eael-simple-menu-toggle { width: 44px !important; height: 44px !important; padding: 0 !important; display: inline-flex !important; align-items: center; justify-content: center; }
.life-menu .eael-simple-menu-toggle svg { width: 18px !important; height: 18px !important; }
.life-menu .eael-simple-menu-toggle-text { display: none !important; }
@media (max-width: 420px) { .header-donate .elementor-button { padding: 10px 14px !important; } }
.header-logo img { width: 40px !important; height: auto; }
.logo-name .elementor-heading-title { letter-spacing: .22em; line-height: 1.1; }
.logo-tag .elementor-heading-title { letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; }
.header-brand a { text-decoration: none; }
.life-menu .eael-simple-menu-container, .life-menu .eael-simple-menu-container .eael-simple-menu { background: transparent !important; }
.life-menu .eael-simple-menu > li > a { color: rgba(255,255,255,.88) !important; font-weight: 600 !important; font-size: 14px !important; padding: 10px 14px !important; border-radius: 999px; }
.life-menu .eael-simple-menu > li > a:hover { color: #fff !important; background: rgba(255,255,255,.1) !important; }
.life-menu .eael-simple-menu > li.current-menu-item > a, .life-menu .eael-simple-menu > li.current-menu-ancestor > a { color: var(--lm-gold) !important; background: transparent !important; }
.life-menu .eael-simple-menu li a { transition: color .2s, background .2s; }
.logo-tag .elementor-heading-title { white-space: nowrap; }
.life-menu .eael-simple-menu-toggle { background: transparent !important; border: 1px solid rgba(255,255,255,.35) !important; border-radius: 50%; width: 46px; height: 46px; }
.life-menu .eael-simple-menu-toggle .eicon-menu-bar, .life-menu .eael-simple-menu-toggle svg { color: #fff !important; fill: #fff !important; }
@media (max-width: 1024px) {
  .life-menu .eael-simple-menu-container.eael-simple-menu-hamburger .eael-nav-menu-wrapper { top: calc(100% + 12px); z-index: 1000; }
  .life-menu .eael-simple-menu-container.eael-simple-menu-hamburger .eael-simple-menu { background: var(--lm-aub) !important; padding: 12px 0;
    position: relative !important; left: auto !important; top: auto !important; transform: none !important; width: 100% !important;
    max-height: calc(100vh - var(--lm-header-h, 68px) - 12px); overflow-y: auto; box-shadow: 0 30px 40px -20px rgba(0,0,0,.5); border-top: 1px solid rgba(255,255,255,.12); }
  .life-menu .eael-simple-menu-container.eael-simple-menu-hamburger .eael-simple-menu > li > a { border-radius: 0; font-family: "Montserrat", sans-serif; font-size: 17px !important; font-weight: 600 !important; padding: 14px 24px !important; }
  .logo-tag { display: none; }
}

/* ---------- Typography helpers ---------- */
.eyebrow .elementor-heading-title { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow .elementor-heading-title::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; flex: none; }
.is-center .eyebrow .elementor-heading-title, .eyebrow[class*="align-center"] .elementor-heading-title { justify-content: center; }
.section-head { max-width: 780px; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.breadcrumb p { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 0; }
.breadcrumb a { color: var(--lm-lav); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.page-hero .page-title .elementor-heading-title { max-width: 16ch; }
.lead p:last-child, .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.tag-label .elementor-heading-title { font-size: 11px !important; }
.tag-gold .elementor-heading-title, .badge .elementor-heading-title {
  display: inline-block; background: var(--lm-gold); padding: 8px 14px; border-radius: 999px; line-height: 1.2; }
.badge .elementor-heading-title { padding: 14px 20px; border-radius: 16px; box-shadow: 0 12px 32px -8px rgba(36,17,47,.3); }
.media-stack { position: relative; }
.badge--float { position: absolute !important; right: -8px; top: 28px; width: auto !important; z-index: 2; }
@media (max-width: 767px) { .badge--float { right: 10px; top: 12px; } }
.hide-mobile { }
@media (max-width: 767px) { .hide-mobile { display: none !important; } }

/* ---------- Buttons ---------- */
.elementor-button { transition: transform .16s var(--lm-ease), box-shadow .28s, background-color .28s, color .28s, border-color .28s !important; }
.elementor-button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(36,17,47,.4); }
.elementor-button .elementor-button-icon svg { transition: transform .28s var(--lm-ease); }
.elementor-button:hover .elementor-button-icon svg { transform: translateX(3px); }

/* ---------- Cards ---------- */
.card-hover { transition: transform .3s var(--lm-ease), box-shadow .3s, border-color .3s; }
.card-hover:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -14px rgba(36,17,47,.28) !important; }
.card-dark:hover { background-color: rgba(255,255,255,.08) !important; }
.cause-card .cause-card__img img { transition: transform .9s var(--lm-ease); }
.cause-card:hover .cause-card__img img { transform: scale(1.06); }
.cause-card .cause-card__img { overflow: hidden; }
.cause-card h3 a { color: inherit; }
.value-box { position: relative; overflow: hidden; }
.value-letter { position: absolute !important; right: 14px; top: -22px; width: auto !important; z-index: 0; pointer-events: none; }
.value-letter .elementor-heading-title { font-family: "Montserrat", sans-serif; font-size: 6rem; font-weight: 800; line-height: 1; color: #F7F2FC !important; transition: color .6s; }
.value-box:hover .value-letter .elementor-heading-title { color: var(--lm-lav100) !important; }
.value-box > .elementor-widget-icon-box { position: relative; z-index: 1; }
.feature-campaign__media .badge, .feature-campaign .badge { width: auto; }
.cause-aside { position: sticky; top: 110px; }
@media (max-width: 1024px) { .cause-aside { position: static; } }
.update-item:last-child { padding-bottom: 0 !important; }
.life-accordion .elementor-accordion-item { background: #fff; border: 1px solid rgba(36,17,47,.1) !important; border-radius: 16px; margin-bottom: 12px; overflow: hidden; }
.life-accordion .elementor-tab-title { padding: 20px 24px !important; font-weight: 700; }
.life-accordion .elementor-tab-title a { color: inherit; }
.life-accordion .elementor-tab-content { border: 0 !important; padding: 0 24px 22px !important; }
.life-gallery .gallery-item img { border-radius: 10px; transition: transform .8s var(--lm-ease); }
.life-gallery .gallery-item:hover img { transform: scale(1.04); }
.life-gallery .gallery-icon { overflow: hidden; border-radius: 10px; }
.testimonial-card .elementor-testimonial-wrapper { text-align: left; }
.testimonial-card .elementor-testimonial-content { margin-bottom: 18px; }
.stat .elementor-counter { align-items: flex-start; flex-direction: column; }
.stat .elementor-counter-number-wrapper { justify-content: flex-start; }
.stat .elementor-counter-title { text-align: left; justify-content: flex-start; }
.programme-num .elementor-heading-title { line-height: 1; }
.life-map iframe { border-radius: 28px; }
.reg-badge .elementor-heading-title { display: inline-flex; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.footer-logo img { width: 72px !important; }

/* ---------- Polaroids ---------- */
.polaroid { --tilt: -2deg; background: #fff; padding: 10px 10px 14px !important; border-radius: 4px; box-shadow: 0 10px 30px -10px rgba(36,17,47,.35);
  transform: rotate(var(--tilt)); transition: transform .6s var(--lm-ease), box-shadow .6s; }
.polaroid:nth-child(3n+2) { --tilt: 2.4deg; } .polaroid:nth-child(3n) { --tilt: -1deg; } .polaroid:nth-child(4n) { --tilt: 3deg; }
.polaroid:hover { transform: rotate(0) translateY(-8px) scale(1.04); box-shadow: var(--lm-shadow-lg); z-index: 2; }
.polaroid img { border-radius: 2px; }
.polaroid .widget-image-caption, .polaroid figcaption { font-family: "Inter", sans-serif; font-weight: 600; font-size: 12.5px; color: var(--lm-purple); text-align: center; margin-top: 10px !important; line-height: 1.35; }

/* ---------- Forms (Contact Form 7 via Essential Addons) ---------- */
.life-form .wpcf7 label { display: block; font-weight: 700; color: var(--lm-ink); font-size: 15px; margin-bottom: 4px; }
.life-form .wpcf7 input:not([type=submit]):not([type=checkbox]), .life-form .wpcf7 select, .life-form .wpcf7 textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; margin-top: 8px; font: inherit; color: var(--lm-ink); background: #fff;
  border: 1.5px solid rgba(36,17,47,.2) !important; border-radius: 8px !important; }
.life-form .wpcf7 textarea { min-height: 140px; }
.life-form .wpcf7 input:focus, .life-form .wpcf7 select:focus, .life-form .wpcf7 textarea:focus { outline: none; border-color: var(--lm-purple) !important; box-shadow: 0 0 0 4px rgba(91,42,134,.15); }
.life-form .wpcf7 input[type=submit] { background: var(--lm-purple) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 15px 30px !important; font-weight: 700; cursor: pointer; transition: background .28s, transform .16s; }
.life-form .wpcf7 input[type=submit]:hover { background: var(--lm-aub) !important; transform: translateY(-2px); }
.life-form .wpcf7 p { margin-bottom: 16px; }

/* ---------- GiveWP campaign goal ---------- */
.givewp-campaign-goal__container { display: flex !important; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; }
.givewp-campaign-goal__container-item { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.givewp-campaign-goal__container-item:last-child { text-align: right; align-items: flex-end; }
.givewp-campaign-goal__container-item span { font-size: 11px !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6E6378; }
.givewp-campaign-goal__container-item strong { font-family: "Montserrat", sans-serif; font-size: 17px !important; font-weight: 700; color: var(--lm-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cause-card .givewp-campaign-goal__container-item strong { font-size: 15px !important; }
.givewp-campaign-goal__progress-bar-container { border-radius: 99px !important; overflow: hidden; }
.give-goal--dark .givewp-campaign-goal__container-item span { color: rgba(255,255,255,.6); }
.give-goal--dark .givewp-campaign-goal__container-item strong { color: #fff; }
.give-goal--dark .givewp-campaign-goal__progress-bar-container { background: rgba(255,255,255,.14) !important; }

/* ---------- Reveal (added by life.js) ---------- */
.lm-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--lm-ease), transform .8s var(--lm-ease); }
.lm-reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   SHOWPIECE 1 — LIFE hero: four expanding tiles that auto-cycle.
   The active tile widens and reveals its text, the matching letter of the
   headline's LIFE lights up, and the photo cross-fades. (life.js → initLifeHero)
   ========================================================================== */
.life-hero { position: relative; overflow: hidden; isolation: isolate; }
.life-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 85% 30%, rgba(91,42,134,.55), transparent 70%), radial-gradient(40% 50% at 10% 100%, rgba(163,25,91,.18), transparent 70%); }
.life-hero .hero-headline h1 { font-family: "Montserrat", sans-serif; font-weight: 700; color: #fff; font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.4rem); line-height: 1.12; letter-spacing: -.02em; margin: 0; max-width: 18ch; }
.life-hero .hero-headline em { font-style: normal; color: var(--lm-gold); display: inline-flex; gap: .02em; }
.life-glyph { display: inline-block; position: relative; transition: color .5s, transform .5s var(--lm-ease); color: rgba(242,169,59,.55); }
.life-glyph::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -.08em; height: .08em; border-radius: 2px; background: var(--lm-gold); transform: scaleX(0); transition: transform .5s var(--lm-ease); }
.life-glyph.is-lit { color: var(--lm-gold); transform: translateY(-.04em); }
.life-glyph.is-lit::after { transform: scaleX(1); }
.life-hero .hero-sub p { max-width: 50ch; color: rgba(255,255,255,.78); }

/* tiles */
.life-steps { position: relative; margin-top: 10px; min-height: 172px; }
.life-step { position: relative; flex: 1 1 0 !important; min-width: 0; width: auto !important; cursor: pointer; overflow: hidden;
  padding: 18px 18px 22px !important; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  transition: flex-grow .7s var(--lm-ease), background .5s, border-color .5s; }
.life-step:hover { background: rgba(255,255,255,.07); }
.life-step.is-active { flex-grow: 3.2 !important; background: rgba(255,255,255,.09); border-color: rgba(242,169,59,.45); }
.life-letter .elementor-heading-title { font-family: "Montserrat", sans-serif; font-size: 34px; font-weight: 800; line-height: 1; color: rgba(205,184,230,.55); transition: color .5s; }
.life-step.is-active .life-letter .elementor-heading-title { color: var(--lm-gold); }
.life-word .elementor-heading-title { font-family: "Montserrat", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); white-space: nowrap; }
.life-step.is-active .life-word .elementor-heading-title { color: #fff; }
.life-text { opacity: 0; max-height: 0; overflow: hidden; transform: translateY(6px); transition: opacity .45s .2s, transform .45s .2s var(--lm-ease), max-height .6s var(--lm-ease); }
.life-text p { font-size: 14px !important; line-height: 1.55 !important; color: rgba(255,255,255,.78) !important; margin: 4px 0 0; min-width: 220px; }
.life-step.is-active .life-text { opacity: 1; max-height: 120px; transform: none; }
.life-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: transparent; overflow: hidden; }
.life-bar span { display: block; height: 100%; width: 100%; background: var(--lm-gold); transform: scaleX(0); transform-origin: left; }
.life-step.is-active .life-bar span { animation: lifeBar var(--life-dur, 5s) linear forwards; }
.life-hero.is-paused .life-step.is-active .life-bar span { animation-play-state: paused; }
@keyframes lifeBar { to { transform: scaleX(1); } }
.life-toggle { position: absolute; right: 0; top: -40px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: rgba(255,255,255,.8); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.life-toggle:hover { border-color: var(--lm-gold); color: var(--lm-gold); }
.life-toggle svg { width: 12px; height: 12px; fill: currentColor; }

/* photo */
.life-media-frame { position: relative; aspect-ratio: 4 / 5; max-height: 580px; width: 100%; border-radius: 240px 240px 24px 24px !important; overflow: hidden !important; box-shadow: 0 40px 80px -30px rgba(0,0,0,.65); background: #351B45; }
.life-media-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; }
.life-media-frame .life-media { position: absolute !important; inset: 0; width: 100% !important; height: 100%; margin: 0 !important; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--lm-ease), transform 6s linear; }
.life-media-frame .life-media.is-active { opacity: 1; transform: scale(1); }
.life-media figure, .life-media .elementor-widget-container, .life-media a { height: 100%; margin: 0; }
.life-media img { width: 100% !important; height: 100% !important; object-fit: cover; }
.life-media figcaption, .life-media .widget-image-caption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 !important; padding: 64px 24px 20px; text-align: left;
  background: linear-gradient(0deg, rgba(36,17,47,.88), transparent); font-size: 13px; font-weight: 600; color: rgba(255,255,255,.92); }

@media (max-width: 1024px) {
  .life-steps { flex-direction: column !important; min-height: 0; }
  .life-step { flex: 0 0 auto !important; display: grid !important; grid-template-columns: 44px 1fr; align-items: center; column-gap: 12px; padding: 14px 16px 16px !important; }
  .life-step .life-text { grid-column: 2; }
  .life-step.is-active { flex-grow: 0 !important; }
  .life-letter .elementor-heading-title { font-size: 28px; }
  .life-text p { min-width: 0; }
  .life-toggle { top: -42px; }
  .life-media-frame { aspect-ratio: 16 / 11; border-radius: 160px 160px 18px 18px !important; max-height: none; }
}
.elementor-editor-active .life-text { opacity: 1; max-height: none; transform: none; }
.elementor-editor-active .life-media-frame { aspect-ratio: auto; border-radius: 24px; display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; }
.elementor-editor-active .life-media-frame .life-media { position: relative !important; opacity: 1; transform: none; width: calc(50% - 4px) !important; height: 200px; }

/* ==========================================================================
   SHOWPIECE 2 — Impact calculator
   ========================================================================== */
.impact-amount-wrap { display: flex; align-items: baseline; gap: 10px; }
.impact-currency { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--lm-gold); }
.impact-amount { font-family: "Montserrat", sans-serif; font-size: clamp(3rem, 2rem + 3.5vw, 4.75rem); line-height: 1; color: #fff; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.impact-range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; --fill: 5%; margin-top: 8px; }
.impact-range::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--lm-gold) var(--fill), rgba(255,255,255,.15) var(--fill)); }
.impact-range::-moz-range-track { height: 8px; border-radius: 99px; background: rgba(255,255,255,.15); }
.impact-range::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--lm-gold); }
.impact-range::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -12px; border-radius: 50%; background: #fff; border: 6px solid var(--lm-gold); box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.impact-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 6px solid var(--lm-gold); }
.impact-preset.is-selected .elementor-button { background: var(--lm-gold) !important; border-color: var(--lm-gold) !important; color: var(--lm-aub) !important; }
.impact-goal__track { position: relative; height: 12px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; display: flex; margin: 6px 0; }
.impact-goal__raised { height: 100%; background: var(--lm-lav); transition: width .6s var(--lm-ease); }
.impact-goal__yours { height: 100%; background: var(--lm-gold); transition: width .4s var(--lm-ease); box-shadow: 0 0 16px rgba(242,169,59,.8); }
.impact-goal__share { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.75); }
.impact-goal__share strong { color: var(--lm-gold); }
.impact-canvas-wrap { position: relative; background: radial-gradient(120% 90% at 50% 100%, rgba(91,42,134,.55), rgba(36,17,47,0) 70%), rgba(255,255,255,.03); flex: 1; }
.impact-canvas-wrap > .elementor-widget-html, .impact-canvas-wrap .impact-canvas { position: absolute !important; inset: 0; width: 100% !important; height: 100%; }
.impact-canvas-label { position: absolute !important; left: 20px; top: 16px; width: auto !important; z-index: 1; }
.impact-canvas-label .elementor-heading-title { letter-spacing: .14em; text-transform: uppercase; }
.impact-item { padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid transparent; opacity: .45; transition: opacity .28s, background .28s, border-color .28s, transform .28s var(--lm-ease); }
.impact-item.is-unlocked { opacity: 1; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); }
.impact-item.is-pulse { transform: translateX(6px); }
.impact-item .elementor-icon-box-wrapper { align-items: center !important; }
.impact-item .elementor-icon-box-content { flex: 1; }
.impact-item.is-unlocked .elementor-icon { background-color: var(--lm-gold) !important; fill: var(--lm-aub) !important; color: var(--lm-aub) !important; }
.impact-item.is-unlocked .elementor-icon svg { fill: var(--lm-aub) !important; }
.impact-item .elementor-icon-box-description { font-size: 13px; }
.impact-count { flex: none; font-family: "Montserrat", sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--lm-gold); min-width: 3ch; text-align: right; font-variant-numeric: tabular-nums; margin-left: 12px; }
.impact-item .elementor-icon-box-wrapper { display: flex !important; }

/* ==========================================================================
   SHOWPIECE 3 — Growing-tree timeline
   ========================================================================== */
.tree-timeline__wrap { position: relative; }
.tree-svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.tree-svg .tree-trunk-bg { stroke: var(--lm-lav100); }
.tree-svg .tree-trunk, .tree-svg .tree-branch { stroke: var(--lm-purple); }
.tree-svg .tree-leaf { fill: var(--lm-purple); } .tree-svg .tree-leaf--alt { fill: var(--lm-lav); } .tree-svg .tree-leaf--gold { fill: var(--lm-gold); }
.tree-milestones { position: relative; z-index: 1; }
.tree-milestone { width: 100%; }
.tree-milestone:nth-child(odd) { justify-content: flex-start !important; }
.tree-milestone:nth-child(even) { justify-content: flex-end !important; }
.tree-card { width: calc(50% - 64px) !important; opacity: .25; transform: translateY(24px) scale(.98); transition: opacity .7s var(--lm-ease), transform .7s var(--lm-ease); }
.tree-milestone.is-grown .tree-card, .tree-timeline.is-static .tree-card, .elementor-editor-active .tree-card { opacity: 1; transform: none; }
.tree-year .elementor-heading-title { letter-spacing: -.03em; line-height: 1; }
.tree-seed { width: auto !important; }
.tree-seed img { width: 104px !important; height: 104px !important; max-width: none; object-fit: contain; padding: 20px; border-radius: 50% !important; background: var(--lm-gold); box-shadow: 0 0 0 12px rgba(242,169,59,.18); }
@media (max-width: 860px) {
  .tree-milestone, .tree-milestone:nth-child(even) { justify-content: flex-end !important; }
  .tree-card { width: calc(100% - 56px) !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .lm-reveal { opacity: 1; transform: none; }
}

/* ---------- v2 corporate refinements ---------- */
@media (min-width: 1025px) { .life-menu .eael-simple-menu-toggle { display: none !important; } }
.cause-card { height: 100%; }
.cause-card__body { flex-grow: 1; }
.cause-card .card-actions { margin-top: auto; padding-top: 6px; }
.btn-link .elementor-button { padding-left: 0 !important; padding-right: 0 !important; box-shadow: none !important; }
.btn-link .elementor-button:hover { transform: none; }
.card-hover .elementor-icon-box-title { line-height: 1.3; }
.elementor-widget-icon-box .elementor-icon-box-description { font-size: 15px; line-height: 1.6; }
.testimonial-card .elementor-testimonial-name { font-family: "Montserrat", sans-serif; font-size: 15px; }
.tree-year .elementor-heading-title { font-family: "Montserrat", sans-serif; }
.section-head { max-width: 720px; }
.feature-campaign .badge .elementor-heading-title { font-size: 13px; }
.cause-card__body { flex-grow: 1 !important; }
.cause-card .card-actions { margin-top: auto !important; flex-wrap: nowrap !important; }
.cause-card .givewp-campaign-goal__container { flex-wrap: nowrap !important; gap: 8px; }
.cause-card .givewp-campaign-goal__container-item span { font-size: 10px !important; letter-spacing: .1em; }
.cause-card .givewp-campaign-goal__container-item strong { font-size: 14px !important; }
.testimonial-card .elementor-testimonial-image { display: none !important; }
.testimonial-card .elementor-testimonial-details { padding-left: 0 !important; }
.life-gallery .gallery-item img { width: 100% !important; aspect-ratio: 4 / 3; height: auto !important; object-fit: cover; }
.life-gallery .gallery-item { vertical-align: top; }
@media (max-width: 767px) {
  .trust-bar { padding: 20px !important; gap: 18px 12px !important; }
  .trust-bar .elementor-widget-icon-box { flex: 1 1 calc(50% - 12px) !important; width: calc(50% - 12px) !important; }
  .trust-bar .elementor-icon-box-wrapper { flex-direction: column !important; align-items: flex-start !important; gap: 8px; }
  .trust-bar .elementor-icon-box-description { font-size: 13px; }
}
/* ---------- LIFE Campaign Goal widget (server-rendered GiveWP totals) ---------- */
.life-goal { display: flex; flex-direction: column; gap: 8px; }
.life-goal__row { display: flex; justify-content: space-between; gap: 12px; }
.life-goal__row > div { display: flex; flex-direction: column; min-width: 0; }
.life-goal__end { text-align: right; align-items: flex-end; }
.life-goal span { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6E6378; }
.life-goal strong { font-family: "Montserrat", sans-serif; font-size: 17px; font-weight: 700; color: var(--lm-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cause-card .life-goal strong { font-size: 15px; }
.life-goal__bar { height: 8px; border-radius: 99px; background: var(--lm-lav100); overflow: hidden; }
.life-goal__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--lm-purple), var(--lm-gold)); min-width: 6px; }
.life-goal__pct { font-size: 12px; font-weight: 600; color: #6E6378; }
.life-goal--dark span, .life-goal--dark .life-goal__pct { color: rgba(255,255,255,.62); }
.life-goal--dark strong { color: #fff; }
.life-goal--dark .life-goal__bar { background: rgba(255,255,255,.14); }
.life-goal--dark .life-goal__bar span { background: linear-gradient(90deg, var(--lm-gold), #FFD58A); }
/* First hero photo is visible from the first paint (fast LCP); later photos fade in over it. */
.life-media-frame .life-media:first-child { opacity: 1; transform: none; }

/* ---------- Bank transfer: bank card, receipt upload, donor list ---------- */
.life-bank, .life-receipt, .life-donors { display: flex; flex-direction: column; gap: 12px; }
.life-bank__title, .life-receipt__title, .life-donors__title { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 17px; color: var(--lm-ink); margin: 0; }
.life-bank__list { margin: 0; display: flex; flex-direction: column; border: 1px solid rgba(36,17,47,.1); border-radius: 12px; overflow: hidden; }
.life-bank__list > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; background: var(--lm-lav50, #F7F2FC); }
.life-bank__list > div + div { border-top: 1px solid rgba(36,17,47,.08); }
.life-bank dt { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6E6378; white-space: nowrap; flex: none; }
.life-bank dd { margin: 0; font-weight: 700; color: var(--lm-ink); text-align: right; }
.life-bank__acc { display: flex; align-items: center; gap: 10px; }
.life-bank__num { font-family: "Montserrat", sans-serif; font-size: 18px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.life-copy { min-height: 32px; padding: 4px 12px; border-radius: 999px; border: 1.5px solid var(--lm-purple); background: #fff; color: var(--lm-purple); font: 600 12px "Montserrat", sans-serif; cursor: pointer; }
.life-copy:hover { background: var(--lm-purple); color: #fff; }
.life-bank__note, .life-receipt__intro { margin: 0; font-size: 14px; color: #4B3F57; }
.life-receipt__form { display: flex; flex-direction: column; gap: 14px; }
.life-field { display: flex; flex-direction: column; gap: 6px; }
.life-field-row { display: flex; gap: 12px; flex-wrap: wrap; }
.life-field-row > .life-field { flex: 1 1 140px; justify-content: flex-end; }
.life-field label { font-size: 14px; font-weight: 600; color: var(--lm-ink); }
.life-field label span { color: var(--lm-magenta, #A3195B); }
.life-field input { width: 100%; min-height: 46px; padding: 10px 14px; font: inherit; font-size: 16px; color: var(--lm-ink); background: #fff; border: 1.5px solid rgba(36,17,47,.2); border-radius: 8px; }
.life-field input[type=file] { padding: 9px 10px; font-size: 14px; }
.life-field input:focus { outline: none; border-color: var(--lm-purple); box-shadow: 0 0 0 4px rgba(91,42,134,.15); }
.life-field small { font-size: 12px; color: #6E6378; }
.life-field.has-error input { border-color: #B3261E; }
.life-check { display: flex; gap: 10px; align-items: center; font-size: 14px; cursor: pointer; }
.life-check input { width: 18px; height: 18px; accent-color: var(--lm-purple); }
.life-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.life-receipt__error { margin: 0; padding: 10px 14px; border-radius: 8px; background: #FDECEA; color: #8C1D18; font-size: 14px; font-weight: 600; }
.life-receipt__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 26px; border: 0; border-radius: 999px; background: var(--lm-gold); color: var(--lm-aub); font: 700 15px "Montserrat", sans-serif; cursor: pointer; transition: transform .16s, box-shadow .28s; }
.life-receipt__btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(36,17,47,.4); }
.life-receipt__btn:disabled { opacity: .7; cursor: progress; }
.life-receipt__btn.is-loading::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: lifeSpin .7s linear infinite; }
@keyframes lifeSpin { to { transform: rotate(360deg); } }
.life-receipt__done { padding: 18px; border-radius: 12px; background: #EAF7EE; border: 1px solid #B9E2C5; }
.life-receipt__done strong { color: #1E5E33; font-size: 16px; }
.life-receipt__done p { margin: 6px 0 0; font-size: 14px; color: #2F4F3A; }
.life-goal.is-updated .life-goal__bar span { box-shadow: 0 0 0 3px rgba(242,169,59,.35); }
.life-goal__bar span { transition: width .9s var(--lm-ease); }
.life-donors__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; max-height: 380px; overflow-y: auto; }
.life-donors__list li { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid rgba(36,17,47,.08); }
.life-donors__list li:last-child { border-bottom: 0; }
.life-donors__list li.is-new { animation: lifeIn .6s var(--lm-ease); background: rgba(242,169,59,.08); }
@keyframes lifeIn { from { opacity: 0; transform: translateY(-6px); } }
.life-donors__avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--lm-lav100); color: var(--lm-purple); font: 700 14px "Montserrat", sans-serif; }
.life-donors__name { flex: 1; min-width: 0; display: flex; flex-direction: column; font-weight: 600; font-size: 14px; color: var(--lm-ink); overflow-wrap: anywhere; }
.life-donors__name small { font-weight: 400; font-size: 12px; color: #6E6378; }
.life-donors__amt { flex: none; font: 700 14px "Montserrat", sans-serif; color: var(--lm-purple); font-variant-numeric: tabular-nums; }
.life-donors__empty { margin: 0; font-size: 14px; color: #6E6378; }

/* Total raised (all causes) */
.life-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 4px; }
.life-stats > div { flex: 1 1 120px; padding: 14px 16px; border-radius: 16px; background: var(--lm-lav50, #F7F2FC); border: 1px solid rgba(36,17,47,.08); }
.life-stats > .life-stats__main { flex: 2 1 220px; background: var(--lm-ink, #24112F); border-color: transparent; }
.life-stats dt { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6E6378; margin: 0 0 4px; }
.life-stats dd { margin: 0; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 22px; color: var(--lm-ink, #24112F); font-variant-numeric: tabular-nums; }
.life-stats__main dt { color: rgba(255,255,255,.72); }
.life-stats__main dd { color: #F2A93B; font-size: 28px; }
.life-stats--dark > div:not(.life-stats__main) { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.life-stats--dark dt { color: rgba(255,255,255,.7); }
.life-stats--dark dd { color: #fff; }

/* ================================================================
   Our journey page: then/now, stats, scroll-driven journey line, growth steps
   ================================================================ */
.journey-then-now__card { background: #fff; border: 1px solid rgba(36,17,47,.10); border-radius: 24px; padding: 14px 14px 24px !important; box-shadow: 0 2px 10px rgba(36,17,47,.06); }
.journey-then-now__card > .elementor-element:not(.journey-then-now__img) { padding: 0 10px; }
.journey-then-now__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.journey-then-now__card.is-then .journey-then-now__img img { filter: grayscale(.85) sepia(.15) contrast(1.05); }
.journey-then-now__year .elementor-heading-title { font: 800 44px/1 "Montserrat", sans-serif; letter-spacing: -.03em; color: var(--lm-lav); }
.journey-then-now__card.is-now .journey-then-now__year .elementor-heading-title { color: var(--lm-gold); }
.journey-then-now__card h3.elementor-heading-title { font-size: 20px; line-height: 1.3; }
.journey-then-now__arrow .elementor-heading-title { writing-mode: vertical-rl; font: 700 12px "Montserrat", sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--lm-purple); white-space: nowrap; }
.journey-then-now__arrow .elementor-heading-title::after { content: ""; display: inline-block; width: 2px; height: 56px; margin-top: 10px; background: linear-gradient(var(--lm-lav), var(--lm-gold)); vertical-align: middle; }
@media (max-width: 1024px) { .journey-then-now__arrow .elementor-heading-title { writing-mode: horizontal-tb; } .journey-then-now__arrow .elementor-heading-title::after { width: 56px; height: 2px; margin: 0 0 0 10px; } }

.journey-stats { background: var(--lm-aub); border-radius: 24px; padding: 28px !important; }
.journey-stat { flex: 1 1 180px !important; padding: 4px 8px !important; }
.journey-stat + .journey-stat { border-left: 1px solid rgba(255,255,255,.12); }
.journey-stat__num .elementor-heading-title { font: 800 40px/1 "Montserrat", sans-serif; color: var(--lm-gold); font-variant-numeric: tabular-nums; }
.journey-stat__label p { color: rgba(255,255,255,.78); font-size: 14px; margin: 0; }
@media (max-width: 767px) { .journey-stat { flex-basis: calc(50% - 16px) !important; } .journey-stat + .journey-stat { border-left: 0; } }

.journey-nav { margin-bottom: 48px; }
.journey-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; }
.journey-chips a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid rgba(91,42,134,.25); background: #fff; color: var(--lm-ink); font-weight: 600; font-size: 14px; text-decoration: none; transition: border-color .2s, background .2s; }
.journey-chips a:hover, .journey-chips a:focus-visible { border-color: var(--lm-purple); background: var(--lm-lav100); }
.journey-chips a span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lm-purple); color: #fff; font: 700 13px "Montserrat", sans-serif; }

/* the track: a rail with a gold fill that grows as you scroll */
.journey__track { position: relative; --rail-x: 196px; }
.journey-rail, .journey-rail-fill { position: absolute; left: calc(var(--rail-x) - 1.5px); top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--lm-lav100); z-index: 1; pointer-events: none; }
.journey-rail-fill { background: linear-gradient(var(--lm-purple), var(--lm-gold)); bottom: auto; height: 0; }
.journey-dot { position: absolute; left: calc(var(--rail-x) - 7.5px); top: 22px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--lm-lav); box-sizing: border-box; z-index: 3; pointer-events: none; transition: border-color .4s, background .4s, transform .4s var(--lm-ease); }
.journey-dot.is-chapter { left: calc(var(--rail-x) - 10.5px); top: 4px; width: 21px; height: 21px; background: var(--lm-cream); border-color: var(--lm-purple); }
.journey-year.is-reached > .journey-dot { border-color: var(--lm-gold); background: var(--lm-gold); transform: scale(1.15); }
.journey-chapter, .journey-year { position: relative; z-index: 2; }
.journey-chapter { padding-left: var(--body-x, 204px) !important; scroll-margin-top: 110px; }
.journey-chapter h2.elementor-heading-title { max-width: 26ch; }
.journey-year { scroll-margin-top: 110px; }
.journey-year__aside { --width: 164px; width: 164px !important; flex: none; position: sticky !important; top: 120px; align-self: flex-start; text-align: right; }
.journey-year__num .elementor-heading-title { font: 800 56px/1 "Montserrat", sans-serif; letter-spacing: -.04em; color: var(--lm-lav); transition: color .5s; }
.journey-year.is-reached .journey-year__num .elementor-heading-title { color: var(--lm-purple); }
.journey-year__theme p { font-size: 14px; line-height: 1.5; color: #5F5469; margin: 0; }
.journey-year__body { flex: 1 1 auto; min-width: 0; padding-left: 4px !important; }
.journey-moment { background: #fff; border: 1px solid rgba(36,17,47,.09); border-radius: 18px; padding: 18px 20px !important; box-shadow: 0 1px 6px rgba(36,17,47,.05); }
.journey-moment.is-milestone { border-color: rgba(242,169,59,.6); background: linear-gradient(135deg, #FFF8EC, #fff 60%); }
.journey-moment.is-milestone .journey-moment__date .elementor-heading-title::after { content: "Milestone"; margin-left: 10px; padding: 2px 8px; border-radius: 999px; background: var(--lm-gold); color: var(--lm-aub); font-size: 10px; letter-spacing: .1em; vertical-align: 2px; }
.journey-moment__date .elementor-heading-title { font: 700 12px "Montserrat", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--lm-purple); }
.journey-moment__text p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--lm-ink); }
.journey-photo img { width: 100%; height: auto; max-height: 440px; object-fit: contain; border-radius: 18px; }
.journey-photo figcaption, .journey-photo .widget-image-caption { margin-top: 8px; font-size: 13px; color: #5F5469; text-align: left; }
@media (min-width: 768px) {
  .journey.is-animated .journey-year .journey-moment, .journey.is-animated .journey-year .journey-photo { opacity: .35; transform: translateY(16px); transition: opacity .6s var(--lm-ease), transform .6s var(--lm-ease); }
  .journey.is-animated .journey-year.is-reached .journey-moment, .journey.is-animated .journey-year.is-reached .journey-photo { opacity: 1; transform: none; }
}
@media (max-width: 767px) {
  .journey__track { --rail-x: 10px; }
  .journey-chapter { padding-left: 40px !important; }
  .journey-year { padding-left: 40px !important; gap: 12px !important; }
  .journey-year__aside { width: auto !important; position: relative !important; top: 0; text-align: left; }
  .journey-year__num .elementor-heading-title { font-size: 40px; }
  .journey-dot { top: 12px; }
}

/* floating year counter while inside the journey (desktop) */
.journey-counter { position: fixed; right: 24px; bottom: 24px; z-index: 50; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--lm-aub); color: #fff; box-shadow: 0 12px 30px -12px rgba(36,17,47,.6); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--lm-ease); }
.journey-counter.is-visible { opacity: 1; transform: none; }
.journey-counter__ring { --p: 0; width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(var(--lm-gold) calc(var(--p) * 1%), rgba(255,255,255,.15) 0); display: grid; place-items: center; }
.journey-counter__ring::after { content: ""; width: 34px; height: 34px; border-radius: 50%; background: var(--lm-aub); grid-area: 1 / 1; }
.journey-counter__year { font: 800 22px/1 "Montserrat", sans-serif; font-variant-numeric: tabular-nums; }
.journey-counter__label { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: 2px; }
@media (max-width: 767px) { .journey-counter { display: none; } }

/* growth staircase */
.journey-steps { align-items: flex-end !important; }
.journey-step { flex: 1 1 0 !important; justify-content: flex-start; border-radius: 18px 18px 6px 6px; background: #fff; border: 1px solid rgba(91,42,134,.14); padding: 18px 16px !important; }
.journey-step:nth-child(1) { min-height: 180px; } .journey-step:nth-child(2) { min-height: 225px; } .journey-step:nth-child(3) { min-height: 270px; } .journey-step:nth-child(4) { min-height: 315px; }
.journey-step:nth-child(5) { min-height: 360px; background: var(--lm-aub); border-color: transparent; }
.journey-step__num .elementor-heading-title { font: 800 40px/1 "Montserrat", sans-serif; color: var(--lm-purple); font-variant-numeric: tabular-nums; }
.journey-step:nth-child(5) .journey-step__num .elementor-heading-title { color: var(--lm-gold); }
.journey-step__label p { margin: 0; font-size: 14px; line-height: 1.5; color: #4B3F57; }
.journey-step:nth-child(5) .journey-step__label p { color: rgba(255,255,255,.82); }
.journey-step__year { margin-top: auto !important; }
.journey-step__year .elementor-heading-title { font: 700 13px "Montserrat", sans-serif; letter-spacing: .12em; color: #6E6378; }
.journey-step:nth-child(5) .journey-step__year .elementor-heading-title { color: rgba(255,255,255,.65); }
@media (max-width: 767px) {
  .journey-step { flex: 1 1 100% !important; min-height: 0 !important; border-radius: 16px; }
  .journey-step__year { margin-top: 4px !important; }
}
.journey-thread .elementor-icon-box-wrapper { background: #fff; border: 1px solid rgba(36,17,47,.09); border-radius: 20px; padding: 24px; height: 100%; }
.journey-thread .elementor-icon { font-size: 26px; color: var(--lm-purple); }
.journey-thread .elementor-icon-box-title { font-size: 18px; margin: 12px 0 6px; }
.journey-thread .elementor-icon-box-description { font-size: 15px; color: #4B3F57; }

/* Breadcrumbs on dark hero banners: Elementor's global link colour (dark purple) was overriding ours */
.page-hero .breadcrumb a, .elementor-widget-text-editor.breadcrumb a { color: #EADFF7 !important; text-decoration: underline; text-decoration-color: rgba(234,223,247,.35); text-underline-offset: 3px; }
.page-hero .breadcrumb a:hover, .page-hero .breadcrumb a:focus-visible { color: #fff !important; text-decoration-color: currentColor; }
.page-hero .breadcrumb span { color: #fff; }

/* Phones: hero content shows immediately (its entrance animation is switched off on mobile), instead of waiting for scripts */
@media (max-width: 767px) {
  [data-elementor-type="wp-page"] > .e-con:first-child .elementor-invisible,
  [data-elementor-type="wp-page"] > .e-con:first-child.elementor-invisible { visibility: visible !important; }
}

/* Our journey: upcoming entry */
.journey-moment.is-upcoming { border-style: dashed; border-color: rgba(91,42,134,.45); background: linear-gradient(135deg, #F7F2FC, #fff 60%); }
.journey-moment.is-upcoming .journey-moment__date .elementor-heading-title::after { content: "Upcoming"; margin-left: 10px; padding: 2px 8px; border-radius: 999px; background: var(--lm-purple); color: #fff; font-size: 10px; letter-spacing: .1em; vertical-align: 2px; }
.journey-moment__text a { color: var(--lm-purple); font-weight: 600; }

/* LiFE Anbu Deepam page */
.anbu-poster img { width: 100%; max-width: 440px; height: auto !important; max-height: none !important; aspect-ratio: auto !important; object-fit: contain !important; border-radius: 18px; box-shadow: 0 18px 40px -20px rgba(36,17,47,.45); }
.anbu-poster { text-align: center; }
.anbu-quote { margin-top: 18px; padding: 16px 20px; border-left: 4px solid var(--lm-gold); background: #FFF8EC; border-radius: 0 14px 14px 0; font: 600 18px/1.5 "Montserrat", sans-serif; color: var(--lm-aub); }
.anbu-steps ol { margin: 18px 0 0; padding-left: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; }
.anbu-steps li { counter-increment: step; position: relative; padding-left: 48px; line-height: 1.6; }
.anbu-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--lm-purple); color: #fff; display: grid; place-items: center; font: 700 15px "Montserrat", sans-serif; }

/* About timeline photos: natural shape (no cropping); very tall photos are capped and centred */
.tree-image img { width: 100%; height: auto; max-height: 440px; object-fit: contain; }
@media (max-width: 767px) { .tree-image img { max-height: 380px; } }

/* Main menu dropdown (About > About us / Our journey): readable, on-brand colours instead of the menu plugin defaults */
.life-menu .eael-simple-menu:not(.eael-simple-menu-responsive) li ul.sub-menu { background: #fff !important; border-radius: 14px; padding: 6px !important; min-width: 210px; box-shadow: 0 18px 40px -16px rgba(36,17,47,.5); border: 0 !important; }
.life-menu .eael-simple-menu:not(.eael-simple-menu-responsive) li ul.sub-menu li a { color: var(--lm-ink) !important; background: transparent !important; border: 0 !important; border-radius: 10px; padding: 11px 14px !important; font-weight: 600; }
.life-menu .eael-simple-menu:not(.eael-simple-menu-responsive) li ul.sub-menu li a:hover, .life-menu .eael-simple-menu:not(.eael-simple-menu-responsive) li ul.sub-menu li a:focus-visible, .life-menu .eael-simple-menu:not(.eael-simple-menu-responsive) li ul.sub-menu li.current-menu-item > a { background: var(--lm-lav100) !important; color: var(--lm-purple) !important; }
/* phone/tablet menu */
.life-menu .eael-simple-menu.eael-simple-menu-responsive li.menu-item-has-children > a { background: transparent !important; }
.life-menu .eael-simple-menu.eael-simple-menu-responsive li ul.sub-menu { background: rgba(255,255,255,.06) !important; border-radius: 12px; margin: 0 16px 8px !important; width: auto !important; }
.life-menu .eael-simple-menu.eael-simple-menu-responsive li ul.sub-menu li a { background: transparent !important; color: rgba(255,255,255,.9) !important; border: 0 !important; padding-left: 20px !important; }
.life-menu .eael-simple-menu.eael-simple-menu-responsive li ul.sub-menu li a:hover, .life-menu .eael-simple-menu.eael-simple-menu-responsive li ul.sub-menu li.current-menu-item > a { color: var(--lm-gold) !important; }
.life-menu .eael-simple-menu li span.eael-simple-menu-indicator { background: transparent !important; border: 1px solid rgba(255,255,255,.35) !important; border-radius: 8px; color: #fff !important; }
.life-menu .eael-simple-menu li span.eael-simple-menu-indicator svg, .life-menu .eael-simple-menu li span.eael-simple-menu-indicator i { fill: #fff !important; color: #fff !important; }
.life-menu .eael-simple-menu li span.eael-simple-menu-indicator.eael-simple-menu-indicator-open, .life-menu .eael-simple-menu li span.eael-simple-menu-indicator:hover { background: rgba(255,255,255,.12) !important; border-color: rgba(255,255,255,.5) !important; color: #fff !important; }
/* invisible hover bridge across the gap between a menu item and its dropdown, so it stays open while the mouse moves down */
.life-menu .eael-simple-menu:not(.eael-simple-menu-responsive) li.menu-item-has-children > ul.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }

/* Completed campaign note (replaces the live goal bar on finished campaigns) */
.campaign-done .elementor-heading-title { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: rgba(242,169,59,.16); border: 1px solid rgba(242,169,59,.55); color: var(--lm-aub); font: 700 15px/1.3 "Montserrat", sans-serif; }
.campaign-done .elementor-heading-title::before { content: "\2713"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--lm-gold); color: var(--lm-aub); font-size: 13px; }
.on-dark .campaign-done .elementor-heading-title, .page-hero .campaign-done .elementor-heading-title, .feature-campaign .campaign-done .elementor-heading-title { color: #fff; }

/* Anbu Deepam: handover notice */
.anbu-handover .elementor-icon-box-wrapper { background: linear-gradient(135deg, #FFF8EC, #fff 70%); border: 1px solid rgba(242,169,59,.55); border-radius: 18px; padding: 18px 20px; align-items: center !important; }
.anbu-handover .elementor-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--lm-gold); color: var(--lm-aub) !important; display: grid !important; place-items: center; font-size: 20px; }
.anbu-handover .elementor-icon svg { fill: var(--lm-aub) !important; width: 20px; height: 20px; }
.anbu-handover .elementor-icon-box-title { margin: 0 0 4px !important; font-size: 18px; color: var(--lm-aub); }
.anbu-handover .elementor-icon-box-description { margin: 0; font-size: 15px; color: #4B3F57; }
