/* ==========================================================================
   Almureed shared components: page hero (text variant), cards, steps,
   waqf funds, products, FAQ, feature list.
   Builds on projects.css (buttons, hero, tokens) and the Almureed Sanctuary design.
   ========================================================================== */

/* Elementor measures widgets in its wrapping flex columns at fit-content width, which is
   zero for an inline-size container, and the height balloons. Give every Almureed widget full width. */
.elementor [class*="elementor-widget-alm-"] { width: 100%; }

.alm-c {
  --alm-green: #10551F;
  --alm-green-deep: #0D3E22;
  --alm-lime: #C7DC49;
  --alm-on-lime: #0C2F25;
  --alm-ink: #212621;
  --alm-body: #5E665F;
  --alm-bone: #F6F5EE;
  --alm-line: rgba(16, 85, 31, 0.16);
  --alm-arch: 50% 50% 18px 18px / 28% 28% 18px 18px;
  container: almc / inline-size;
  font-family: var(--body-font-family, "Manrope", sans-serif);
}
.alm-c :is(h3, summary) {
  font-family: var(--heading-font-family, "Gallery", serif);
  font-weight: 500;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0, "dlig" 0, "calt" 0, "swsh" 0;
  letter-spacing: 0;
}
.alm-c :is(ul, ol).alm-cards,
.alm-c ol.alm-steps,
.alm-c ul.alm-causes,
.alm-c ul.alm-products,
.alm-c ul.alm-flist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.alm-c :is(ul.alm-cards, ol.alm-steps, ul.alm-causes, ul.alm-products, ul.alm-flist) > li {
  margin: 0;
}
.alm-c .alm-btn--quiet { padding: 6px 18px; min-height: 42px; }
.alm-card__label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--alm-green);
}

/* Shared card frame: white on light sections, bone on green ones. */
.alm-c.alm-tone-light,
.alm-c:not(.alm-tone-dark) { --alm-card: #FFFFFF; --alm-card-border: var(--alm-line); }
.alm-c.alm-tone-dark { --alm-card: var(--alm-bone); --alm-card-border: transparent; }

:is(.alm-card, .alm-cause, .alm-prod) {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: start;
  gap: 12px;
  height: 100%;
  padding: 12px 12px 22px;
  background: var(--alm-card);
  border: 1px solid var(--alm-card-border);
  border-radius: 28px;
  color: var(--alm-ink);
}
:is(.alm-card, .alm-cause, .alm-prod) > :is(header, p, footer, .alm-cause__meter) { padding-inline: 12px; }
:is(.alm-card, .alm-cause, .alm-prod) h3 { margin: 0; font-size: 23px; line-height: 1.2; color: inherit; }
:is(.alm-card, .alm-cause, .alm-prod) h3 a { color: inherit; text-decoration: none; }
:is(.alm-card, .alm-cause) > p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--alm-body); }
:is(.alm-card, .alm-cause, .alm-prod) > footer { align-self: end; }

/* Stretched link: the whole card opens the title link; hover and focus style the card. */
:is(.alm-card, .alm-prod) a.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 28px; }
:is(.alm-card, .alm-prod) a.card-link:focus-visible { outline: none; }
:is(.alm-card, .alm-prod):has(a.card-link:focus-visible) { outline: 3px solid var(--alm-green); outline-offset: 4px; }
.alm-tone-dark :is(.alm-card, .alm-prod):has(a.card-link:focus-visible) { outline-color: var(--alm-lime); }
:is(.alm-card, .alm-cause, .alm-prod):has(a:hover) { box-shadow: 0 22px 44px rgba(16, 85, 31, 0.14); }
@media (prefers-reduced-motion: no-preference) {
  :is(.alm-card, .alm-cause, .alm-prod) { transition: translate 0.35s ease, box-shadow 0.35s ease; }
  :is(.alm-card, .alm-cause, .alm-prod) img { transition: scale 0.6s ease; }
  :is(.alm-card, .alm-cause, .alm-prod):has(a:hover) { translate: 0 -4px; }
  :is(.alm-card, .alm-cause, .alm-prod):has(a:hover) img { scale: 1.03; }
}

/* 1. Card grid ---------------------------------------------------------- */
.alm-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}
.alm-cards > li { display: flex; min-width: 0; margin: 0; }
.alm-cards > li > .alm-card { width: 100%; }
/* Standard and list cards run as a column so the link row sits at the bottom whatever the text length. Tiles keep their grid. */
.alm-cards:not(.alm-cards--tile) > li > .alm-card { display: flex; flex-direction: column; }
.alm-cards:not(.alm-cards--tile) > li > .alm-card > footer { align-self: stretch; margin-top: auto; }
.alm-cards--arch .alm-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--alm-arch);
}
.alm-card__go {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--alm-green);
}
.alm-card__go .alm-btn__icon { background: var(--alm-lime); color: var(--alm-on-lime); }
@media (prefers-reduced-motion: no-preference) {
  .alm-card__go .alm-btn__icon { transition: translate 0.3s ease; }
  .alm-card:has(a.card-link:hover) .alm-card__go .alm-btn__icon { translate: 4px 0; }
}

/* Compact tiles: thumbnail beside the text. */
.alm-cards--tile { grid-template-columns: repeat(auto-fit, minmax(min(100%, max(380px, calc(50% - 12px))), 1fr)); gap: 24px; }
.alm-cards--tile .alm-card {
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  column-gap: 18px;
  row-gap: 8px;
  padding: 16px;
  border-radius: 24px;
}
.alm-cards--tile .alm-card > img {
  grid-row: 1 / -1;
  width: 96px;
  height: auto;
  min-height: 116px;
  /* Fills the card's full height whatever the photo's shape: size containment drops the photo's own height from the row sizing, so the text sets the height and the image stretches to it. */
  contain: size;
  align-self: stretch;
  object-fit: cover;
  border-radius: 48px 48px 14px 14px / 40px 40px 14px 14px;
}
.alm-cards--tile .alm-card > :is(header, p, footer) { grid-column: 2; padding-inline: 0; }
.alm-cards--tile .alm-card h3 { font-size: 21px; }
.alm-cards--tile .alm-card > p { font-size: 14.5px; }
.alm-cards--tile .alm-card a.card-link::after { border-radius: 24px; }

/* 2. Steps ---------------------------------------------------------------- */
.alm-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}
@container almc (min-width: 560px) { .alm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container almc (min-width: 920px) { .alm-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.alm-step { display: grid; align-content: start; gap: 10px; }
.alm-step__media { position: relative; }
.alm-step__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--alm-arch);
}
.alm-step h3 { margin: 8px 0 0; font-size: 22px; line-height: 1.2; color: var(--alm-ink); }
.alm-step h3 a { color: inherit; text-decoration: none; }
.alm-step h3 a:hover { color: var(--alm-green); }
.alm-step p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--alm-body); }
/* A lime arrow between steps marks the order when they sit in one row. */
@container almc (min-width: 920px) {
  .alm-step:not(:last-child) .alm-step__media::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -14px;
    z-index: 1;
    width: 34px;
    height: 34px;
    translate: 50% -50%;
    border-radius: 50%;
    background: var(--alm-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='%230C2F25' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
    box-shadow: 0 0 0 5px #FFFFFF;
  }
}

/* 3. Waqf funds ------------------------------------------------------------ */
.alm-causes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}
/* Cards in a row stretch to one height (flex items); the summary takes the slack so the meter and button line up. */
.alm-causes > li { display: flex; min-width: 0; margin: 0; }
.alm-cause { grid-template-rows: auto auto 1fr auto auto; inline-size: 100%; }
.alm-cause > img {
  grid-row: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--alm-arch);
}
.alm-cause > header { grid-row: 2; }
.alm-cause > p { grid-row: 3; }
.alm-cause > .alm-cause__meter { grid-row: 4; }
.alm-cause > footer { grid-row: 5; }
.alm-cause h3 a:hover { color: var(--alm-green); }
.alm-cause__meter { display: grid; gap: 8px; padding-top: 4px; }
.alm-cause__figures {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  font-size: 14px;
  color: var(--alm-body);
}
.alm-cause__figures strong { font-size: 17px; color: var(--alm-ink); }
.alm-cause__pct { margin-left: auto; font-weight: 700; color: var(--alm-green); }
.alm-progress {
  --progress-bar-radius: 999px;
  appearance: none;
  display: block;
  width: 100%;
  height: 10px;
  border: 0 solid;
  overflow: clip;
  border-radius: var(--progress-bar-radius);
  background: var(--alm-bone);
  box-shadow: inset 0 0 0 1px var(--alm-line);
}
.alm-progress::-webkit-progress-bar { background: transparent; }
.alm-progress::-webkit-progress-value {
  background: linear-gradient(90deg, var(--alm-green) 0%, var(--alm-lime) 100%);
  border-radius: var(--progress-bar-radius);
}
.alm-progress::-moz-progress-bar {
  background: linear-gradient(90deg, var(--alm-green) 0%, var(--alm-lime) 100%);
  border-radius: var(--progress-bar-radius);
}
.alm-cause > footer { padding-top: 6px; }
.alm-cause .alm-btn { width: 100%; justify-content: space-between; }
.alm-cause .alm-btn__icon { background: var(--alm-green-deep); color: #FFFFFF; }

/* 4. Products -------------------------------------------------------------- */
.alm-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 22px;
}
.alm-products > li { display: flex; min-width: 0; margin: 0; }
.alm-prod { grid-template-rows: auto auto 1fr auto; inline-size: 100%; padding-bottom: 18px; }
.alm-prod__media {
  grid-row: 1;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 20px;
  background: var(--alm-bone);
}
.alm-prod > header { grid-row: 2; }
.alm-prod > .alm-prod__price { grid-row: 3; }
.alm-prod > footer { grid-row: 4; }
.alm-prod__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.alm-prod h3 { font-size: 20px; line-height: 1.25; }
.alm-prod__price { margin: 0; font-size: 16px; font-weight: 700; color: var(--alm-green); }
.alm-prod__price del { color: var(--alm-body); font-weight: 400; }
.alm-prod > footer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.alm-prod > footer :is(a.button, a.added_to_cart) { position: relative; z-index: 2; }
.alm-prod > footer a.added_to_cart { font-size: 14px; font-weight: 700; color: var(--alm-green); }
.alm-prod > footer a.button.loading { opacity: 0.7; }

/* 5. FAQ (details / summary) --------------------------------------------- */
.alm-faq { display: grid; }
.alm-faq__item { border-top: 1px solid var(--alm-line); }
.alm-faq__item:last-child { border-bottom: 1px solid var(--alm-line); }
.alm-faq__item > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 4px;
  font-size: 21px;
  line-height: 1.3;
  color: var(--alm-ink);
  cursor: pointer;
}
.alm-faq__item > summary::-webkit-details-marker { display: none; }
.alm-faq__item > summary::before {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--alm-bone) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2310551F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  rotate: -90deg;
}
.alm-faq__item > summary:dir(rtl)::before { rotate: 90deg; }
.alm-faq__item[open] > summary { color: var(--alm-green); }
.alm-faq__item[open] > summary::before { rotate: 0deg; background-color: var(--alm-lime); }
.alm-faq__item > summary:hover { color: var(--alm-green); }
.alm-faq__item > summary:focus-visible { outline: 3px solid var(--alm-green); outline-offset: 2px; border-radius: 10px; }
.alm-faq__answer { padding: 0 4px 22px 48px; font-size: 16px; line-height: 1.75; color: var(--alm-body); }
.alm-faq__answer > :last-child { margin-bottom: 0; }
.alm-faq__answer a { color: var(--alm-green); font-weight: 600; }
.alm-faq__item::details-content { interpolate-size: allow-keywords; overflow: clip; contain: layout; }
.alm-faq__item:not([open])::details-content { block-size: 0; }
@media (prefers-reduced-motion: no-preference) {
  .alm-faq__item > summary::before { transition: rotate 0.2s, background-color 0.2s; }
  .alm-faq__item::details-content {
    transition: block-size, content-visibility, display;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    transition-behavior: allow-discrete;
  }
}
.alm-faq__cta {
  margin: 26px 0 0;
  font-family: var(--heading-font-family, "Gallery", serif);
  font-size: 20px;
  color: var(--alm-ink);
}
.alm-faq__cta a { color: var(--alm-green); text-decoration: underline; text-underline-offset: 4px; }

/* 6. Feature list ---------------------------------------------------------- */
.alm-flist { display: grid; gap: 22px; }
.alm-flist li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 18px; align-items: start; }
.alm-flist__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--alm-lime);
}
.alm-flist__icon img { width: 30px; height: 30px; object-fit: contain; }
.alm-flist h3 { margin: 4px 0 6px; font-size: 22px; line-height: 1.25; color: var(--alm-ink); }
.alm-flist p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--alm-body); }

/* 7. Page hero (inner pages) -------------------------------------------- */
.alm-phero--page .alm-phero__label { margin-top: 26px; }
.alm-phero--page .alm-phero__label span { color: var(--alm-lime); }
.alm-phero--text { padding-bottom: 64px; overflow: hidden; }
.alm-phero--text .alm-phero__text { max-width: 820px; }
.alm-phero--text::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: clamp(-120px, -6cqi, -40px);
  bottom: -40%;
  width: clamp(260px, 36cqi, 460px);
  aspect-ratio: 3 / 4;
  border: 1.5px solid rgba(199, 220, 73, 0.45);
  border-radius: 50% 50% 0 0 / 34% 34% 0 0;
  box-shadow: 0 0 0 26px rgba(199, 220, 73, 0.06);
  pointer-events: none;
}
@container almhero (min-width: 900px) {
  .alm-phero--text { grid-template-columns: minmax(0, 1fr); padding-block: clamp(64px, 6cqi, 96px); }
}
/* Section links inside the page hero */
.alm-subnav { margin-top: 30px; }
.alm-subnav ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.alm-subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #FFFFFF;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.alm-subnav a:hover { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }
.alm-subnav a[aria-current="page"] { background: var(--alm-lime); border-color: var(--alm-lime); color: var(--alm-on-lime); }
.alm-subnav a:focus-visible { outline: 2px solid var(--alm-lime); outline-offset: 2px; }
/* Narrow heroes: one swipeable row of section links instead of a stack of pills. */
@container almhero (max-width: 719.98px) {
  .alm-subnav { margin-inline: -24px; }
  .alm-subnav ul {
    position: relative;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 4px 24px 8px;
    scroll-padding-inline: 24px;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
  }
  .alm-subnav ul::-webkit-scrollbar { display: none; }
  .alm-subnav li { flex: none; }
}

/* On tablets and phones the header has no space under it, so the hero keeps a small gap. */
@media (max-width: 1023.98px) { .alm-phero-wrap { margin-top: 12px; } }

/* The 404 page has no content under its hero, so the hero card keeps the gutter gap above the footer card. */
.error404 .alm-phero-wrap { margin-bottom: 20px; }
@media (max-width: 1023.98px) { .error404 .alm-phero-wrap { margin-bottom: 12px; } }

/* ==========================================================================
   8+. Section components and inner-page layout
   ========================================================================== */
.alm-c :is(h2.alm-shead__title, .alm-checklist__title, .alm-enquiry__title, .alm-support__title, .alm-facts__value) {
  font-family: var(--heading-font-family, "Gallery", serif);
  font-weight: 500;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0, "dlig" 0, "calt" 0, "swsh" 0;
  letter-spacing: 0;
}

/* Section heading */
.alm-shead { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; }
.alm-shead__text { max-width: 760px; }
.alm-shead--center { justify-content: center; text-align: center; }
.alm-shead--center .alm-shead__text { margin-inline: auto; }
/* Centred heads with a link: the button sits under the text, not off to one side. */
.alm-shead--center.alm-shead--link { flex-direction: column; align-items: center; }
.alm-shead__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--alm-green);
}
/* Eyebrow ornament: a dot, a hairline that thickens toward the label, and a green diamond set with a lime centre.
   Centred eyebrows carry it on both sides, mirrored. Drawn for Almureed; the colours are fixed in the SVG. */
:root {
  --alm-orn-start: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 14'%3E%3Cg%3E%3Ccircle cx='3' cy='7' r='1.8' fill='%2310551F'/%3E%3Cpath d='M8 6.75 48 5.8V8.2L8 7.25Z' fill='%2310551F'/%3E%3Cpath d='M48 7 55 1.5 62 7 55 12.5Z' fill='%2310551F'/%3E%3Cpath d='M55 4.6 58 7 55 9.4 52 7Z' fill='%23C7DC49'/%3E%3C/g%3E%3C/svg%3E");
  --alm-orn-end: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 14'%3E%3Cg transform='translate%2864 0%29 scale%28-1 1%29'%3E%3Ccircle cx='3' cy='7' r='1.8' fill='%2310551F'/%3E%3Cpath d='M8 6.75 48 5.8V8.2L8 7.25Z' fill='%2310551F'/%3E%3Cpath d='M48 7 55 1.5 62 7 55 12.5Z' fill='%2310551F'/%3E%3Cpath d='M55 4.6 58 7 55 9.4 52 7Z' fill='%23C7DC49'/%3E%3C/g%3E%3C/svg%3E");
}
.alm-shead__eyebrow::before,
.alm-shead--center .alm-shead__eyebrow::after {
  content: "";
  flex: none;
  width: 64px;
  height: 14px;
  background: var(--alm-orn-start) center / 64px 14px no-repeat;
}
.alm-shead--center .alm-shead__eyebrow::after { background-image: var(--alm-orn-end); }
.alm-shead--center .alm-shead__eyebrow { justify-content: center; }
.alm-c .alm-shead__title {
  margin: 0;
  font-size: clamp(30px, 4.4cqi, 46px);
  line-height: 1.1;
  color: var(--alm-ink);
  text-wrap: balance;
}
.alm-c h3.alm-shead__title { font-size: clamp(26px, 3.2cqi, 34px); }
.alm-shead__intro {
  margin: 16px 0 0;
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.75;
  color: var(--alm-body);
  text-wrap: pretty;
}
.alm-shead--center .alm-shead__intro { margin-inline: auto; }
.alm-btn--sm { min-height: 44px; font-size: 14px; }
.alm-btn--sm .alm-btn__icon { width: 34px; height: 34px; }

/* Prose */
.alm-prose { max-width: 68ch; font-size: 17px; line-height: 1.85; color: var(--alm-body); }
.alm-prose > * { margin: 0 0 18px; }
.alm-prose > :last-child { margin-bottom: 0; }
.alm-prose :is(strong, b) { color: var(--alm-ink); }
.alm-prose a { color: var(--alm-green); font-weight: 600; text-underline-offset: 3px; }
.alm-prose :is(ul, ol) { padding-left: 1.2em; }
.alm-prose--lead > p:first-child {
  font-size: clamp(19px, 2.6cqi, 22px);
  line-height: 1.7;
  color: var(--alm-ink);
  text-wrap: pretty;
}
.alm-prose--lead > p:first-child::first-letter {
  float: left;
  margin: 0.06em 0.14em 0 0;
  font-family: var(--heading-font-family, "Gallery", serif);
  font-size: 4.4em;
  line-height: 0.82;
  color: var(--alm-green);
}

/* Figure */
.alm-figure { margin: 0; }
.alm-figure__media { display: grid; gap: 18px; }
.alm-figure--pair .alm-figure__media { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.alm-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 28px; }
.alm-figure--pair img { aspect-ratio: 4 / 5; border-radius: var(--alm-arch); }
.alm-figure figcaption { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--alm-body); }

/* Checklist panel */
.alm-checklist { padding: clamp(26px, 5cqi, 48px); background: var(--alm-bone); border-radius: 28px; }
.alm-c .alm-checklist__title { margin: 0 0 12px; font-size: clamp(26px, 4cqi, 36px); line-height: 1.15; color: var(--alm-ink); text-wrap: balance; }
.alm-checklist__title::before { content: ""; display: block; width: 44px; height: 3px; margin-bottom: 18px; border-radius: 3px; background: var(--alm-lime); }
.alm-checklist__intro { margin: 0 0 14px; font-size: 16px; line-height: 1.7; color: var(--alm-body); }
.alm-c ul.alm-checks { list-style: none; margin: 0; padding: 0; }
.alm-c .alm-checks li {
  position: relative;
  margin: 0;
  padding: 14px 0 14px 44px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--alm-ink);
  border-top: 1px solid var(--alm-line);
  text-wrap: pretty;
}
.alm-c .alm-checks li:first-child { border-top: 0; }
.alm-c .alm-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--alm-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7' fill='none' stroke='%230C2F25' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* Cards, list style: ruled two-column points without a card frame. */
.alm-cards--list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); column-gap: 44px; row-gap: 0; }
.alm-cards--list .alm-card { gap: 6px; padding: 24px 0 28px; background: none; border: 0; border-top: 1px solid var(--alm-line); border-radius: 0; }
.alm-cards--list .alm-card > :is(header, p, footer) { padding-inline: 0; }
.alm-cards--list .alm-card h3 { font-size: 21px; line-height: 1.25; }
.alm-cards--list .alm-card .alm-card__label { margin-bottom: 6px; }
.alm-cards--list .alm-card:has(a:hover) { box-shadow: none; translate: none; }
/* A tile without a photo uses the full width for its text. */
.alm-cards--tile .alm-card:not(:has(> img)) { grid-template-columns: minmax(0, 1fr); padding: 22px 24px; }
.alm-cards--tile .alm-card:not(:has(> img)) > :is(header, p, footer) { grid-column: 1; }

/* Steps without photos: numbered by order, on bone tiles. */
.alm-steps--text .alm-step {
  position: relative;
  gap: 8px;
  padding: 24px 22px 26px;
  background: var(--alm-bone);
  border-radius: 24px;
}
.alm-steps--text .alm-step__media { display: none; }
.alm-steps--text .alm-step h3 { margin: 0; font-size: 21px; }
.alm-step__label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--alm-green);
}
.alm-steps--text .alm-step__label::before { content: ""; display: block; width: 28px; height: 3px; margin-bottom: 14px; border-radius: 3px; background: var(--alm-lime); }
@container almc (min-width: 920px) {
  .alm-steps--text .alm-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 28px;
    right: -14px;
    z-index: 1;
    width: 30px;
    height: 30px;
    translate: 50% 0;
    border-radius: 50%;
    background: var(--alm-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='%230C2F25' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
    box-shadow: 0 0 0 5px #FFFFFF;
  }
}
/* In a narrow main column, two steps per row read better than four. */
@container almc (min-width: 560px) and (max-width: 919.98px) {
  .alm-steps--text { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Facts */
.alm-facts { padding: 24px; background: var(--alm-bone); border-radius: 24px; }
.alm-facts__title {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--alm-body);
}
.alm-facts dl { display: grid; margin: 0; }
.alm-facts dl > div { display: grid; padding: 14px 0; border-top: 1px solid var(--alm-line); }
.alm-facts dl > div:first-child { border-top: 0; }
.alm-facts dt { font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--alm-ink); }
.alm-facts dd { margin: 0; }
.alm-c .alm-facts__value { order: -1; margin-bottom: 4px; font-size: 28px; line-height: 1.05; color: var(--alm-green); }
.alm-facts__note { margin-top: 2px; font-size: 13.5px; line-height: 1.55; color: var(--alm-body); }

/* Support card */
.alm-support {
  position: relative;
  overflow: hidden;
  padding: 34px 24px 24px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(23, 108, 59, 0.85) 0%, rgba(23, 108, 59, 0) 70%),
    var(--alm-green-deep);
  border-radius: 150px 150px 24px 24px / 70px 70px 24px 24px;
  color: #FFFFFF;
  text-align: center;
}
.alm-support__eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--alm-lime); }
.alm-c .alm-support__title { margin: 0 0 10px; font-size: 25px; line-height: 1.2; color: #FFFFFF; text-wrap: balance; }
.alm-support > p { margin: 0 0 20px; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.82); }
.alm-support .alm-btn { width: 100%; justify-content: space-between; text-align: start; }
.alm-support__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.alm-support__link:hover { color: var(--alm-lime); }
.alm-support__link:focus-visible { outline: 3px solid var(--alm-lime); outline-offset: 2px; border-radius: 6px; }
.alm-c .alm-support > p.alm-support__foot { margin: 12px 0 0; font-size: 12.5px; color: rgba(255, 255, 255, 0.66); }

/* Enquiry form */
.alm-enquiry {
  padding: clamp(26px, 5cqi, 48px);
  background: #FFFFFF;
  border: 1px solid var(--alm-line);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(16, 85, 31, 0.08);
  scroll-margin-top: 120px;
}
.alm-enquiry:focus { outline: none; }
.alm-enquiry__head { margin-bottom: 22px; }
.alm-c .alm-enquiry__title { margin: 0; font-size: clamp(26px, 4cqi, 36px); line-height: 1.15; color: var(--alm-ink); text-wrap: balance; }
.alm-enquiry__head > p:not(.alm-shead__eyebrow) { margin: 10px 0 0; font-size: 16px; line-height: 1.7; color: var(--alm-body); }
.alm-enquiry .wpcf7 label,
.alm-enquiry .wpcf7 .alm-cf-label {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--alm-ink);
}
.alm-enquiry .wpcf7 .row { --bs-gutter-y: 0; }
.alm-enquiry .wpcf7 form > p { margin: 0; }
.alm-enquiry .wpcf7 form br { display: none; }
.alm-enquiry .wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea) {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid rgba(16, 85, 31, 0.22);
  border-radius: 14px;
  background: var(--alm-bone);
  font: 500 16px/1.5 var(--body-font-family, "Manrope", sans-serif);
  color: var(--alm-ink);
  box-shadow: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.alm-enquiry .wpcf7 textarea { min-height: 150px; resize: vertical; }
.alm-enquiry .wpcf7 :is(input, select, textarea):focus-visible {
  outline: 3px solid rgba(199, 220, 73, 0.9);
  outline-offset: 1px;
  border-color: var(--alm-green);
  background: #FFFFFF;
}
.alm-enquiry .wpcf7 :is(input, textarea)[aria-invalid="true"] { border-color: #B3261E; }
.alm-enquiry .wpcf7 .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; font-weight: 600; color: #B3261E; }
.alm-enquiry .wpcf7 :is(input[type="submit"], button[type="submit"]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--alm-green);
  font: 700 15px/1.2 var(--body-font-family, "Manrope", sans-serif);
  color: #FFFFFF;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.alm-enquiry .wpcf7 :is(input[type="submit"], button[type="submit"]):hover { background: var(--alm-green-deep); }
.alm-enquiry .wpcf7 :is(input[type="submit"], button[type="submit"]):focus-visible { outline: 3px solid var(--alm-lime); outline-offset: 3px; }
.alm-enquiry .wpcf7-response-output { margin: 18px 0 0 !important; padding: 12px 16px !important; border-radius: 14px; font-size: 14px; }
.alm-enquiry__note { margin: 16px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--alm-body); }

/* Inner-page layout: a main column with a sticky aside, then full-width bands. */
.e-con.alm-layout { --alm-layout-gap: clamp(44px, 5vw, 88px); }
.e-con.alm-layout--aside > .e-con-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--alm-layout-gap); align-items: start; }
@media (min-width: 1100px) {
  .e-con.alm-layout--aside > .e-con-inner { grid-template-columns: minmax(0, 1fr) minmax(290px, 330px); }
  .e-con.alm-layout__aside { position: sticky; top: 120px; }
}
.e-con.alm-layout__main,
.e-con.alm-layout__aside { --gap: 0px; --row-gap: 0px; --column-gap: 0px; gap: 0; min-width: 0; padding: 0; }
.e-con.alm-layout__main > .elementor-element { margin-block-start: clamp(56px, 7vw, 88px); }
.e-con.alm-layout__main > .elementor-element:first-child { margin-block-start: 0; }
.e-con.alm-layout__main > .elementor-widget-alm-section-head + .elementor-element { margin-block-start: 28px; }
.e-con.alm-layout__main > :is(.elementor-widget-alm-prose, .elementor-widget-alm-figure) + :is(.elementor-widget-alm-prose, .elementor-widget-alm-figure) { margin-block-start: 32px; }
.e-con.alm-layout__aside > .elementor-element + .elementor-element { margin-block-start: 20px; }

/* Bands: full-width sections on bone or green. */
.e-con.alm-band { --width: auto; width: auto; margin-inline: 20px; border-radius: 30px; }
@media (max-width: 767.98px) { .e-con.alm-band { margin-inline: 12px; } }
.e-con.alm-band--bone { background: #F6F5EE; }
.e-con.alm-band > .e-con-inner > .elementor-widget-alm-section-head + .elementor-element { margin-block-start: 36px; }
.e-con.alm-stack > .e-con-inner { --gap: 0px; --row-gap: 0px; gap: 0; }
.e-con.alm-stack > .e-con-inner > .elementor-element + .elementor-element { margin-block-start: 36px; }
.e-con.alm-stack > .e-con-inner > .elementor-widget-alm-section-head + .elementor-element { margin-block-start: 36px; }

/* Two-column split inside a section: text beside a panel, or a heading beside answers. */
.e-con.alm-split { --gap: 0px; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: start; padding: 0; }
@media (min-width: 1000px) {
  .e-con.alm-split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
  .e-con.alm-split--faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .e-con.alm-split--faq > .alm-split__main { position: sticky; top: 120px; }
}
.e-con.alm-split__main,
.e-con.alm-split__side { --gap: 0px; gap: 0; min-width: 0; padding: 0; }
.alm-split__side .alm-checklist { padding: clamp(24px, 4cqi, 36px); }
/* Steps on a bone band sit on white tiles. */
.alm-band--bone .alm-steps--text .alm-step { background: #FFFFFF; }
.alm-band--bone .alm-steps--text .alm-step::after { box-shadow: 0 0 0 5px #F6F5EE; }

.alm-figure--arch img { aspect-ratio: 4 / 5; border-radius: var(--alm-arch); }

/* Call to action band */
.alm-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(40px, 7cqi, 88px) clamp(24px, 7cqi, 88px);
  border-radius: 30px;
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(23, 108, 59, 0.9) 0%, rgba(23, 108, 59, 0) 60%),
    linear-gradient(160deg, var(--alm-green) 0%, var(--alm-green-deep) 100%);
  color: #FFFFFF;
}
.alm-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: clamp(-120px, -6cqi, -40px);
  bottom: -45%;
  width: clamp(240px, 32cqi, 420px);
  aspect-ratio: 3 / 4;
  border: 1.5px solid rgba(199, 220, 73, 0.45);
  border-radius: 50% 50% 0 0 / 34% 34% 0 0;
  box-shadow: 0 0 0 26px rgba(199, 220, 73, 0.06);
  pointer-events: none;
}
.alm-cta__eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--alm-lime); }
.alm-c .alm-cta__title {
  margin: 0;
  max-width: 22ch;
  font-family: var(--heading-font-family, "Gallery", serif);
  font-weight: 500;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0, "dlig" 0, "calt" 0, "swsh" 0;
  font-size: clamp(30px, 5cqi, 52px);
  line-height: 1.08;
  color: #FFFFFF;
  text-wrap: balance;
}
.alm-cta__text { margin: 18px 0 0; max-width: 56ch; font-size: 17px; line-height: 1.7; color: #E3EDB0; text-wrap: pretty; }
.alm-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.e-con.alm-stack-inner > .elementor-element + .elementor-element { margin-block-start: 32px; }
/* Three name-and-role tiles sit in one row. */
.alm-cards--tile:not(:has(img)):has(> li:nth-child(3):last-child) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
/* Four ruled points share one row in a wide section, two per row in a narrow column. */
@container almc (min-width: 1000px) {
  .alm-cards--list:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Map on the contact page */
.e-con.alm-map .elementor-widget-google_maps .elementor-custom-embed { overflow: hidden; border-radius: 28px; }
.e-con.alm-map .elementor-widget-google_maps iframe { display: block; width: 100%; height: clamp(300px, 40vw, 440px); border: 0; }

/* GiveWP donation form (legacy template) inside an Almureed section */
.e-con.alm-stack .elementor-widget-givewp_donation_form { max-width: 780px; }
.e-con.alm-stack .give-form-wrap {
  padding: clamp(24px, 4vw, 44px);
  background: #FFFFFF;
  border: 1px solid rgba(16, 85, 31, 0.16);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(16, 85, 31, 0.08);
  font-family: var(--body-font-family, "Manrope", sans-serif);
  color: #212621;
}
.e-con.alm-stack .give-form-wrap form.give-form ul.give-donation-levels-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; padding: 0; list-style: none; }
.e-con.alm-stack .give-form-wrap form.give-form ul.give-donation-levels-wrap li { margin: 0; }
.e-con.alm-stack .give-form-wrap form.give-form .give-donation-level-btn {
  min-height: 44px;
  padding: 8px 18px;
  border: 1.5px solid rgba(16, 85, 31, 0.22);
  border-radius: 999px;
  background: #F6F5EE;
  font: 700 15px/1.2 var(--body-font-family, "Manrope", sans-serif);
  color: #212621;
  cursor: pointer;
}
.e-con.alm-stack .give-form-wrap form.give-form .give-donation-level-btn.give-default-level { background: #10551F; border-color: #10551F; color: #FFFFFF; }
.e-con.alm-stack .give-form-wrap form.give-form .give-donation-amount { display: flex; align-items: stretch; margin: 0; }
.e-con.alm-stack .give-form-wrap form.give-form .give-donation-amount .give-currency-symbol { display: grid; place-items: center; min-width: 52px; border: 1.5px solid rgba(16, 85, 31, 0.22); border-right: 0; border-radius: 14px 0 0 14px; background: #FFFFFF; font-size: 20px; }
.e-con.alm-stack .give-form-wrap form.give-form .give-donation-amount input.give-amount-top { min-height: 56px; width: 200px; padding: 8px 16px; border: 1.5px solid rgba(16, 85, 31, 0.22); border-radius: 0 14px 14px 0; background: #F6F5EE; font: 700 22px/1 var(--body-font-family, "Manrope", sans-serif); color: #212621; }
.e-con.alm-stack .give-form-wrap form.give-form fieldset { margin: 0 0 20px; padding: 0; border: 0; }
.e-con.alm-stack .give-form-wrap form.give-form legend { margin-bottom: 10px; font-size: 16px; font-weight: 700; color: #212621; }
.e-con.alm-stack .give-form-wrap form.give-form #give-gateway-radio-list { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.e-con.alm-stack .give-form-wrap form.give-form #give-gateway-radio-list li { margin: 0; }
.e-con.alm-stack .give-form-wrap form.give-form .give-final-total-amount { font-weight: 700; color: #10551F; }
.e-con.alm-stack .give-form-wrap form.give-form .give-submit {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 30px;
  border: 0;
  border-radius: 999px;
  background: #10551F;
  font: 700 15px/1.2 var(--body-font-family, "Manrope", sans-serif);
  color: #FFFFFF;
  cursor: pointer;
}
.e-con.alm-stack .give-form-wrap form.give-form .give-submit:hover { background: #0D3E22; }
.e-con.alm-stack .give-form-wrap form.give-form :is(button, input, a):focus-visible { outline: 3px solid #C7DC49; outline-offset: 2px; }

/* Tiles with an icon instead of a photo: the icon sits in a light lime disc beside the text. */
/* Icon tiles: .alm-card.alm-card--icon outranks the no-image tile rule (.alm-card:not(:has(> img))), which would otherwise stack the icon above the text. */
.alm-cards--tile .alm-card.alm-card--icon { grid-template-columns: 52px minmax(0, 1fr); column-gap: 20px; padding: 24px 26px; }
.alm-cards--tile .alm-card.alm-card--icon > :is(header, p, footer) { grid-column: 2; }
.alm-card__icon {
  grid-row: 1 / -1;
  align-self: start;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #EEF3D0;
  color: var(--alm-green);
}
.alm-card__icon svg { width: 22px; height: 22px; fill: currentColor; }
.alm-card__icon i { font-size: 22px; line-height: 1; }
.alm-tone-dark .alm-card__icon { background: rgba(199, 220, 73, 0.16); color: var(--alm-lime); }

/* Cards: list rows with an icon. The server adds .alm-card--icon, so no :has() is needed. */
.alm-c .alm-cards--list > li > .alm-card--icon {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 4px;
  align-content: start;
  padding: 20px 0 22px;
}
.alm-cards--list .alm-card--icon > .alm-card__icon { grid-row: 1 / span 2; width: 44px; height: 44px; }
.alm-cards--list .alm-card--icon > .alm-card__icon svg { width: 19px; height: 19px; }
.alm-cards--list .alm-card--icon > .alm-card__icon i { font-size: 19px; }
.alm-cards--list .alm-card--icon > :is(header, p, footer) { grid-column: 2; }
.alm-cards--list .alm-card--icon > header { padding-top: 9px; }

/* Buttons: one primary button, with an optional text link, on a light background. */
.alm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.alm-actions .alm-btn--lime:focus-visible { outline-color: var(--alm-green); }
.alm-actions__link { font-size: 15px; font-weight: 700; color: var(--alm-green); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.alm-actions__link:hover { color: var(--alm-green-deep); }
.alm-actions__link:focus-visible { outline: 3px solid var(--alm-green); outline-offset: 3px; border-radius: 4px; }

/* Intro split (About): the section heading spans the top; the lead, the three disciplines and the action share a column beside the artwork, top-aligned with it. */
@media (min-width: 1000px) {
  .e-con.alm-split--intro { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); column-gap: clamp(48px, 6vw, 96px); }
}
@media (max-width: 999.98px) {
  .e-con.alm-split--intro > .alm-split__side { max-inline-size: 460px; }
}
.alm-split--intro .alm-prose { max-width: none; }
.alm-split--intro .alm-prose > p:first-child { margin-top: -0.3em; font-size: clamp(18px, 3.2cqi, 20px); line-height: 1.7; color: var(--alm-ink); text-wrap: pretty; }
.alm-split--intro .alm-cards--list { grid-template-columns: minmax(0, 1fr); }
.alm-split--intro .alm-cards--list > li:last-child > .alm-card { border-bottom: 1px solid var(--alm-line); }

/* Timeline: a vertical rail by default, horizontal once the widget is 900px or wider. The rail runs green to lime and fades out past the latest event. */
.alm-c ol.alm-timeline { list-style: none; margin: 0; padding: 0; }
.alm-timeline {
  --alm-tl-date: clamp(30px, 8cqi, 36px);
  --alm-tl-dot-top: calc(var(--alm-tl-date) / 2 - 8px);
  --alm-tl-halo: #FFFFFF;
  --alm-tl-n: 4;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 36px;
}
.alm-timeline:has(> :nth-child(2):last-child) { --alm-tl-n: 2; }
.alm-timeline:has(> :nth-child(3):last-child) { --alm-tl-n: 3; }
.alm-timeline:has(> :nth-child(5):last-child) { --alm-tl-n: 5; }
.alm-timeline:has(> :nth-child(6):last-child) { --alm-tl-n: 6; }
.alm-timeline::before {
  content: "";
  position: absolute;
  top: calc(var(--alm-tl-date) / 2);
  bottom: 0;
  left: 7px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--alm-green), var(--alm-lime) 80%, rgba(199, 220, 73, 0));
  transform-origin: top;
}
.alm-c .alm-timeline > .alm-tl__item { position: relative; display: grid; align-content: start; margin: 0; padding-left: 40px; }
.alm-tl__item::before,
.alm-tl__item:last-child::after {
  content: "";
  position: absolute;
  top: var(--alm-tl-dot-top);
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}
.alm-tl__item::before { z-index: 1; background: var(--alm-green); box-shadow: 0 0 0 5px var(--alm-tl-halo); }
.alm-tl__item:last-child::before { background: var(--alm-lime); box-shadow: 0 0 0 4px var(--alm-tl-halo), 0 0 0 6px var(--alm-green); }
.alm-tl__item:last-child::after { background: rgba(199, 220, 73, 0.6); opacity: 0; pointer-events: none; }
.alm-tl__item:nth-child(2) { --alm-tl-i: 1; }
.alm-tl__item:nth-child(3) { --alm-tl-i: 2; }
.alm-tl__item:nth-child(4) { --alm-tl-i: 3; }
.alm-tl__item:nth-child(5) { --alm-tl-i: 4; }
.alm-tl__item:nth-child(n + 6) { --alm-tl-i: 5; }
.alm-tl__date {
  margin: 0;
  font-family: var(--heading-font-family, "Gallery", serif);
  font-size: var(--alm-tl-date);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0, "dlig" 0, "calt" 0, "swsh" 0;
  color: var(--alm-green);
}
.alm-tl__label { margin: 14px 0 0; font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; color: var(--alm-body); }
.alm-c h3.alm-tl__title { margin: 6px 0 0; font-size: 22px; line-height: 1.25; color: var(--alm-ink); text-wrap: balance; }
.alm-tl__text { margin: 8px 0 0; font-size: 15px; line-height: 1.65; color: var(--alm-body); text-wrap: pretty; }
.alm-band--bone .alm-timeline { --alm-tl-halo: #F6F5EE; }

@container almc (min-width: 900px) {
  .alm-timeline {
    --alm-tl-date: 44px;
    --alm-tl-rail: 48px;
    --alm-tl-dot-top: calc(var(--alm-tl-date) + var(--alm-tl-rail) / 2 - 8px);
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    column-gap: 32px;
    row-gap: 0;
  }
  .alm-timeline::before {
    top: calc(var(--alm-tl-date) + var(--alm-tl-rail) / 2 - 1px);
    bottom: auto;
    left: 8px;
    right: 0;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--alm-green), var(--alm-lime) 80%, rgba(199, 220, 73, 0));
    transform-origin: left;
  }
  .alm-c .alm-timeline > .alm-tl__item { padding-left: 0; }
  .alm-tl__date { margin-bottom: var(--alm-tl-rail); }
  .alm-tl__label { margin-top: 0; }
  /* Events land one after another, each as the drawing rail reaches its dot. */
  .alm-tl__item { --alm-tl-delay: calc(0.15s + 1.4s * var(--alm-tl-i, 0) / var(--alm-tl-n)); }
}

/* Reveal. timeline.js adds .alm-tl--armed and marks each event .is-in as it scrolls into view.
   Transitions sit on the revealed state only, so arming hides things instantly instead of fading them out.
   Without the script, in the editor or in print, the timeline shows complete.
   Reduced motion keeps the same sequence as plain fades, with no movement and no pulse. */
/* When to start: the event's slot in the wide sequence plus any stagger timeline.js adds for events that arrive together on narrow screens. */
.alm-tl__item { --alm-tl-at: calc(var(--alm-tl-delay, 0s) + var(--alm-tl-batch, 0s)); }
.alm-tl__item > :nth-child(2) { --alm-tl-k: 1; }
.alm-tl__item > :nth-child(3) { --alm-tl-k: 2; }
.alm-tl__item > :nth-child(4) { --alm-tl-k: 3; }
.alm-tl--armed::before,
.alm-tl--armed > .alm-tl__item::before,
.alm-tl--armed > .alm-tl__item > * { opacity: 0; }
.alm-tl--armed:has(> .is-in)::before { opacity: 1; transition: opacity 0.8s ease-out 0.1s; }
.alm-tl--armed > .alm-tl__item.is-in::before { opacity: 1; transition: opacity 0.4s ease-out var(--alm-tl-at, 0s); }
.alm-tl--armed > .alm-tl__item.is-in > * { opacity: 1; transition: opacity 0.6s ease-out calc(var(--alm-tl-at, 0s) + 0.15s + var(--alm-tl-k, 0) * 0.07s); }

@media (prefers-reduced-motion: no-preference) {
  @keyframes alm-tl-pulse { from { opacity: 0.9; scale: 1; } to { opacity: 0; scale: 3; } }
  .alm-tl--armed > .alm-tl__item::before { scale: 0.2; }
  .alm-tl--armed > .alm-tl__item > * { translate: 0 16px; }
  .alm-tl--armed > .alm-tl__item.is-in::before {
    scale: 1;
    transition: opacity 0.3s ease-out var(--alm-tl-at, 0s), scale 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) var(--alm-tl-at, 0s);
  }
  .alm-tl--armed > .alm-tl__item.is-in > * {
    translate: none;
    transition-property: opacity, translate;
    transition-duration: 0.6s, 0.7s;
    transition-timing-function: ease-out, cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  /* The latest event gives two soft pulses once it lands, then stops (well inside five seconds). */
  .alm-tl--armed > .alm-tl__item.is-in:last-child::after { animation: alm-tl-pulse 1.4s ease-out calc(var(--alm-tl-at, 0s) + 0.6s) 2; }

  /* Wide: the rail draws left to right in step with the events. */
  @container almc (min-width: 900px) {
    .alm-tl--armed::before { scale: 0 1; }
    .alm-tl--armed:has(> .is-in)::before { scale: 1 1; transition: opacity 0.2s ease-out 0.15s, scale 1.4s linear 0.15s; }
  }

  /* Narrow: the rail grows with the scroll while each event reveals as it arrives. Decorative, so browsers without scroll-driven animations show it complete. */
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes alm-tl-draw-y { from { scale: 1 0; } }
    .alm-timeline { view-timeline: --alm-tl block; }
    @container almc (max-width: 899.98px) {
      .alm-timeline::before {
        animation: alm-tl-draw-y linear both;
        animation-timeline: --alm-tl;
        animation-range: entry 10% cover 50%;
      }
    }
  }
}

@media print {
  .alm-tl--armed::before,
  .alm-tl--armed > .alm-tl__item::before,
  .alm-tl--armed > .alm-tl__item > * { opacity: 1 !important; translate: none !important; scale: none !important; }
}

/* ==========================================================================
   Donation funds (Donate page): step 1 picks a fund, step 2 is that fund's GiveWP form.
   ========================================================================== */
.alm-donate { display: grid; gap: 36px; align-items: start; }
@container almc (min-width: 920px) {
  .alm-donate { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
  .alm-donate__funds { position: sticky; top: 120px; }
}
.alm-donate__funds { margin: 0; }
.alm-donate fieldset.alm-donate__set { min-width: 0; margin: 0; padding: 0; border: 0; }
.alm-c .alm-donate__step {
  display: flex;
  align-items: center;
  gap: 12px;
  float: none;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  font-family: var(--heading-font-family, "Gallery", serif);
  font-size: clamp(22px, 3cqi, 26px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  font-variant-ligatures: none;
  color: var(--alm-ink);
}
.alm-donate__num { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--alm-green); font-family: var(--body-font-family, "Manrope", sans-serif); font-size: 14px; font-weight: 700; line-height: 1; color: #FFFFFF; }
.alm-donate__list { display: grid; gap: 12px; }

/* A fund: the whole card is the radio's label. The server marks the chosen card .is-checked and donate.js keeps it in step,
   so the selected state also shows where :has() is unsupported. */
.alm-fund {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 14px 18px 14px 14px;
  background: #FFFFFF;
  border: 1.5px solid var(--alm-line);
  border-radius: 20px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.alm-fund:hover { border-color: rgba(16, 85, 31, 0.42); }
.alm-fund:is(.is-checked, :has(.alm-fund__input:checked)) { background: #FBFCF3; border-color: var(--alm-green); box-shadow: 0 0 0 3px rgba(199, 220, 73, 0.5); }
.alm-fund:has(.alm-fund__input:focus-visible) { outline: 3px solid var(--alm-green); outline-offset: 3px; }
.alm-fund__input { position: absolute; top: 50%; left: 14px; width: 1px; height: 1px; margin: 0; opacity: 0; }
.alm-fund__img { display: block; width: 64px; height: 72px; object-fit: cover; border-radius: 32px 32px 12px 12px / 28px 28px 12px 12px; }
.alm-fund__body { display: grid; gap: 2px; min-width: 0; }
.alm-fund__label { font-size: 11px; font-weight: 700; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; color: var(--alm-green); }
.alm-fund__title { font-family: var(--heading-font-family, "Gallery", serif); font-size: 18px; line-height: 1.25; letter-spacing: 0; font-variant-ligatures: none; color: var(--alm-ink); text-wrap: balance; }
.alm-fund__desc { display: -webkit-box; overflow: hidden; margin-top: 2px; font-size: 13.5px; line-height: 1.5; color: var(--alm-body); -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.alm-fund__figures { margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--alm-body); }
.alm-fund__figures strong { color: var(--alm-ink); }
.alm-fund .alm-progress { height: 6px; margin-top: 6px; }
.alm-fund__check { width: 24px; height: 24px; border: 2px solid rgba(16, 85, 31, 0.3); border-radius: 50%; background: #FFFFFF center / 13px no-repeat; transition: background-color 0.2s ease, border-color 0.2s ease; }
.alm-fund:is(.is-checked, :has(.alm-fund__input:checked)) .alm-fund__check {
  border-color: var(--alm-green);
  background-color: var(--alm-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5 10 17l9-10' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.alm-donate__continue { margin-top: 18px; }
.alm-donate.is-enhanced .alm-donate__continue { display: none; }

/* Step 2: the chosen fund's form, on a white card. */
.alm-donate__give { scroll-margin-top: 120px; padding: clamp(22px, 4cqi, 40px); background: #FFFFFF; border: 1px solid var(--alm-line); border-radius: 28px; box-shadow: 0 24px 60px rgba(16, 85, 31, 0.08); }
.alm-donate__to { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: -4px 0 22px; padding-bottom: 18px; border-bottom: 1px solid var(--alm-line); font-size: 15px; line-height: 1.5; color: var(--alm-body); }
.alm-donate__to strong { color: var(--alm-ink); }
.alm-donate__to a { font-size: 14px; font-weight: 700; color: var(--alm-green); text-underline-offset: 3px; }
.alm-donate__to a:focus-visible { outline: 3px solid var(--alm-green); outline-offset: 3px; border-radius: 4px; }

/* GiveWP legacy form, restyled. Some GiveWP rules use IDs, so these repeat the ID to outrank them. */
.alm-c .alm-donate .give-form-wrap { max-width: none; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.alm-c .alm-donate .give-form-wrap .give_warning { margin: 0 0 20px; padding: 12px 16px 12px 52px; background: #FFF6DB; border: 0; border-radius: 12px; box-shadow: none; font-size: 14px; }
.alm-c .alm-donate .give-form-wrap :is(.give_warning, .give_error)::before { top: 50%; left: 14px; margin: 0; translate: 0 -50%; }
.alm-c .alm-donate .give-form-wrap .give_error:not(.give_warning) { margin: 0 0 18px; padding: 12px 16px 12px 52px; background: #FDECEA; border: 0; border-radius: 12px; box-shadow: none; font-size: 14px; }
.alm-c .alm-donate .give-form-wrap .give_error > p { color: var(--alm-ink); }
.alm-c .alm-donate .give-form-wrap form.give-form .give-total-wrap { margin: 0 0 14px; }
.alm-c .alm-donate .give-form-wrap form.give-form .give-donation-amount { display: flex; width: 100%; max-width: 340px; }
.alm-c .alm-donate .give-form-wrap form.give-form .give-donation-amount .give-currency-symbol { float: none; display: grid; place-items: center; height: auto; min-width: 58px; padding: 0 14px; line-height: 1; border: 1.5px solid rgba(16, 85, 31, 0.22); border-right: 0; border-radius: 16px 0 0 16px; background: #FFFFFF; font-size: 22px; font-weight: 700; color: var(--alm-green); }
.alm-c .alm-donate .give-form-wrap form.give-form .give-donation-amount input.give-amount-top { flex: 1; width: auto; min-width: 0; min-height: 62px; padding: 8px 18px; border: 1.5px solid rgba(16, 85, 31, 0.22); border-radius: 0 16px 16px 0; background: var(--alm-bone); font: 700 26px/1 var(--body-font-family, "Manrope", sans-serif); color: var(--alm-ink); }
.alm-c .alm-donate .give-form-wrap form.give-form ul.give-donation-levels-wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 0 0 30px; padding: 0; }
/* GiveWP's clearfix pseudo-elements would take the first and last grid cells. */
.alm-c .alm-donate .give-form-wrap form.give-form ul.give-donation-levels-wrap::before,
.alm-c .alm-donate .give-form-wrap form.give-form ul.give-donation-levels-wrap::after,
.alm-c .alm-donate .give-form-wrap form.give-form #give-donation-level-button-wrap::before,
.alm-c .alm-donate .give-form-wrap form.give-form #give-donation-level-button-wrap::after { content: none; }
.alm-c .alm-donate .give-form-wrap form.give-form .give-donation-level-btn { width: 100%; min-height: 50px; margin: 0; padding: 8px 12px; white-space: nowrap; }
.alm-c .alm-donate .give-form-wrap form.give-form .give-donation-level-btn:not(.give-default-level):hover { border-color: var(--alm-green); background: #FFFFFF; }
.alm-c .alm-donate .give-form-wrap form.give-form fieldset { min-width: 0; margin: 0 0 26px; padding: 0; border: 0; }
.alm-c .alm-donate .give-form-wrap form.give-form legend { float: none; width: 100%; margin: 0 0 12px; padding: 0; border: 0; background: none; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--alm-ink); }
.alm-c .alm-donate .give-form-wrap form.give-form #give-gateway-radio-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.alm-c .alm-donate .give-form-wrap form.give-form #give-gateway-radio-list > li { display: flex; align-items: center; gap: 10px; min-height: 48px; margin: 0; padding: 0 18px 0 14px; background: #FFFFFF; border: 1.5px solid rgba(16, 85, 31, 0.22); border-radius: 999px; }
.alm-c .alm-donate .give-form-wrap form.give-form #give-gateway-radio-list > li:has(input:checked) { background: #FBFCF3; border-color: var(--alm-green); box-shadow: 0 0 0 3px rgba(199, 220, 73, 0.45); }
.alm-c .alm-donate .give-form-wrap form.give-form #give-gateway-radio-list > li input[type="radio"] { width: 18px; height: 18px; margin: 0; accent-color: var(--alm-green); }
.alm-c .alm-donate .give-form-wrap form.give-form #give-gateway-radio-list > li label.give-gateway-option { display: block; margin: 0; padding: 12px 0; font-size: 15px; font-weight: 600; color: var(--alm-ink); }

/* Paystack's note ships with inline styles; turn it into a compact panel. */
.alm-c .alm-donate #give_purchase_form_wrap > div[style*="text-align"] { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px 16px; margin: 0 0 24px; padding: 16px 18px !important; text-align: left !important; background: var(--alm-bone); border-radius: 16px; }
.alm-c .alm-donate #give_purchase_form_wrap > div[style*="text-align"] > img { grid-row: 1 / span 2; width: 112px; max-width: 112px !important; height: auto; border-radius: 8px; }
.alm-c .alm-donate #give_purchase_form_wrap > div[style*="text-align"] > br { display: none; }
.alm-c .alm-donate #give_purchase_form_wrap > div[style*="text-align"] > p { margin: 0; font-size: 13.5px !important; line-height: 1.5; color: var(--alm-body); }
.alm-c .alm-donate #give_purchase_form_wrap > div[style*="text-align"] > p strong { color: var(--alm-ink); }
@container almc (max-width: 520px) {
  .alm-c .alm-donate #give_purchase_form_wrap > div[style*="text-align"] { grid-template-columns: minmax(0, 1fr); }
  .alm-c .alm-donate #give_purchase_form_wrap > div[style*="text-align"] > img { grid-row: auto; margin-bottom: 8px; }
}

/* Donor details */
.alm-c .alm-donate .give-form-wrap form.give-form #give_checkout_user_info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
.alm-c .alm-donate .give-form-wrap form.give-form #give_checkout_user_info > .form-row { float: none; width: auto; margin: 0 0 14px; padding: 0; }
.alm-c .alm-donate .give-form-wrap form.give-form #give_checkout_user_info > :is(.form-row-wide, #give-email-wrap) { grid-column: 1 / -1; }
@container almc (max-width: 520px) {
  .alm-c .alm-donate .give-form-wrap form.give-form #give_checkout_user_info { grid-template-columns: minmax(0, 1fr); }
}
.alm-c .alm-donate .give-form-wrap form.give-form label.give-label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--alm-ink); }
.alm-c .alm-donate .give-form-wrap form.give-form .give-required-indicator { color: #B3261E; }
.alm-c .alm-donate .give-form-wrap form.give-form :is(input.give-input, select.give-input, textarea.give-input) { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid rgba(16, 85, 31, 0.22); border-radius: 14px; background: #FFFFFF; box-shadow: none; font: 500 16px/1.4 var(--body-font-family, "Manrope", sans-serif); color: var(--alm-ink); }
.alm-c .alm-donate .give-form-wrap form.give-form :is(input.give-input, select.give-input, textarea.give-input):focus { border-color: var(--alm-green); }
.alm-c .alm-donate .give-form-wrap form.give-form input.give-input[readonly] { background: var(--alm-bone); }

/* Total and submit */
.alm-c .alm-donate .give-form-wrap form.give-form #give-final-total-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding: 16px 20px; background: var(--alm-bone); border-radius: 16px; }
.alm-c .alm-donate .give-form-wrap form.give-form #give-final-total-wrap::before,
.alm-c .alm-donate .give-form-wrap form.give-form #give-final-total-wrap::after { content: none; }
.alm-c .alm-donate .give-form-wrap form.give-form #give-final-total-wrap :is(.give-donation-total-label, .give-final-total-amount) { float: none; height: auto; margin: 0; padding: 0; border: 0; background: none; line-height: 1.2; }
.alm-c .alm-donate .give-form-wrap form.give-form #give-final-total-wrap .give-donation-total-label { font-size: 15px; font-weight: 600; color: var(--alm-body); }
.alm-c .alm-donate .give-form-wrap form.give-form #give-final-total-wrap .give-final-total-amount { font-family: var(--heading-font-family, "Gallery", serif); font-size: 28px; font-weight: 500; color: var(--alm-green); }
.alm-c .alm-donate .give-form-wrap form.give-form .give-submit-button-wrap { display: grid; justify-items: stretch; }
.alm-c .alm-donate .give-form-wrap form.give-form .give-submit { float: none; width: 100%; min-height: 58px; justify-content: center; border-radius: 999px; background: var(--alm-lime); font-size: 16px; color: var(--alm-on-lime); }
.alm-c .alm-donate .give-form-wrap form.give-form .give-submit:hover { background: #D5E578; color: var(--alm-on-lime); }
.alm-c .alm-donate .give-form-wrap form.give-form :is(button, input, select, textarea, a):focus-visible { outline: 3px solid var(--alm-green); outline-offset: 2px; }

/* ==========================================================================
   Page hero: section panel (sections whose top page sets alm_hero_panel)
   Narrow heroes: one swipeable row of links. Wide heroes: a panel beside the text.
   ========================================================================== */
.alm-phero--panel { overflow: hidden; }
.alm-phero--panel h1.alm-phero__h1 { font-size: clamp(40px, 5.4cqi, 64px); line-height: 1.05; }
.alm-phero--panel .alm-phero__deck {
  max-width: 46ch;
  font-family: var(--body-font-family, "Manrope", sans-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
}
.alm-phero__nav { min-width: 0; }
.alm-phero__navhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.alm-phero .alm-phero__navtitle { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--alm-lime); }
.alm-phero__navall {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 4px;
}
.alm-phero__navall:hover { color: var(--alm-lime); }
.alm-phero__navall:focus-visible { outline: 2px solid var(--alm-lime); outline-offset: 2px; border-radius: 4px; }

.alm-phero .alm-phero__navlist {
  display: flex;
  gap: 8px;
  margin: 0 -24px;
  padding: 4px 24px 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 24px;
  scrollbar-width: none;
  mask-image: linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
}
.alm-phero__navlist::-webkit-scrollbar { display: none; }
.alm-phero__navlist li { flex: none; }
.alm-phero__navlist a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #FFFFFF;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.alm-phero__navlist a:hover { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }
.alm-phero__navlist a:focus-visible { outline: 2px solid var(--alm-lime); outline-offset: 2px; }
.alm-phero__navlist a[aria-current="page"] { background: var(--alm-lime); border-color: var(--alm-lime); color: var(--alm-on-lime); }
/* The current page also gets a dot, so colour is not the only cue. */
.alm-phero__navlist a[aria-current="page"]::before { content: ""; flex: none; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: currentColor; }
.alm-phero__navnum, .alm-phero__navnote, .alm-phero__navgo { display: none; }
.alm-phero__navname { display: block; }

@container almhero (max-width: 899.98px) {
  .alm-phero--panel { padding-bottom: 40px; }
  .alm-phero--panel .alm-phero__nav { margin-top: -4px; }
}

@container almhero (min-width: 900px) {
  .alm-phero--panel { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }
  .alm-phero__nav {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.035) 100%);
    box-shadow: 0 30px 60px -32px rgba(4, 25, 12, 0.65);
  }
  .alm-phero__navhead { margin: 0; padding: 14px 16px 12px; }
  .alm-phero .alm-phero__navlist { display: grid; gap: 4px; margin: 0; padding: 0; overflow: visible; mask-image: none; }
  .alm-phero__navlist a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 0;
    padding: 16px 14px 16px 18px;
    border: 0;
    border-radius: 20px;
  }
  .alm-phero__navlist a:hover { background: rgba(255, 255, 255, 0.08); }
  .alm-phero__navlist a[aria-current="page"]::before { content: none; }
  /* The number sits in a lime ring. */
  .alm-phero__navnum {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(199, 220, 73, 0.6);
    border-radius: 50%;
    font-family: var(--heading-font-family, "Gallery", serif);
    font-size: 18px;
    line-height: 1;
    font-variant-ligatures: none;
    font-feature-settings: "liga" 0, "clig" 0, "dlig" 0, "calt" 0, "swsh" 0, "lnum" 1;
    color: var(--alm-lime);
  }
  .alm-phero__navname { font-size: 16px; font-weight: 700; line-height: 1.3; }
  .alm-phero__navnote { display: block; margin-top: 3px; font-size: 14px; font-weight: 400; line-height: 1.45; color: rgba(255, 255, 255, 0.72); }
  .alm-phero__navgo {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }
  .alm-phero__navlist a:hover .alm-phero__navgo { background: var(--alm-lime); border-color: var(--alm-lime); color: var(--alm-on-lime); }
  .alm-phero__navlist a[aria-current="page"] .alm-phero__navnum { border-color: var(--alm-on-lime); background: var(--alm-on-lime); color: var(--alm-lime); }
  .alm-phero__navlist a[aria-current="page"] .alm-phero__navnote { color: rgba(12, 47, 37, 0.78); }
  /* Current page: the arrow becomes a dot. */
  .alm-phero__navlist a[aria-current="page"] .alm-phero__navgo { border-color: rgba(12, 47, 37, 0.3); background: transparent; color: var(--alm-on-lime); }
  .alm-phero__navlist a[aria-current="page"] .alm-phero__navgo svg { display: none; }
  .alm-phero__navlist a[aria-current="page"] .alm-phero__navgo::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
}

/* ==========================================================================
   Service pages: overview beside a photo, key facts row, principles beside
   the waqf card, enquiry form beside "what happens next".
   ========================================================================== */

/* Sections reached from the hero buttons clear the sticky header. */
.e-con:is([id="process"], [id="services"]) { scroll-margin-top: 110px; }

/* Overview: heading and text beside one tall photo. */
.e-con.alm-split--overview > .alm-split__main > .elementor-element + .elementor-element { margin-block-start: 28px; }
.e-con.alm-split--overview > .alm-split__side { width: 100%; max-inline-size: 480px; }
/* These headings sit in a narrower column than full-width section heads; size them to the page, not the column. */
:is(.alm-split--overview, .alm-split--faq) .alm-c h2.alm-shead__title { font-size: clamp(30px, 3.4vw, 46px); }
@media (min-width: 1000px) {
  .e-con.alm-split--overview { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); column-gap: clamp(48px, 6vw, 96px); align-items: center; }
  .e-con.alm-split--overview > .alm-split__side { justify-self: end; }
}
@media (max-width: 999.98px) {
  .e-con.alm-split--overview > .alm-split__side { max-inline-size: 420px; }
}

/* Quotation inside the text (prayer requests). */
.alm-c .alm-prose blockquote { position: static; margin: 0; padding: 6px 0 6px 24px; border: 0; border-inline-start: 3px solid var(--alm-lime); border-radius: 0; background: none; box-shadow: none; }
/* The theme decorates blockquotes with a panel and a large quote mark; the rule above and this one remove them here. */
.alm-c .alm-prose blockquote::before,
.alm-c .alm-prose blockquote::after { content: none; display: none; }
.alm-c .alm-prose blockquote p {
  margin: 0;
  font-family: var(--heading-font-family, "Gallery", serif);
  font-size: clamp(21px, 3.2cqi, 26px);
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0, "dlig" 0, "calt" 0, "swsh" 0;
  line-height: 1.4;
  color: var(--alm-green);
  text-wrap: balance;
}
.alm-prose blockquote cite { display: block; margin-top: 10px; font-size: 12.5px; font-style: normal; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--alm-body); }

/* Key facts: one row of four under the overview, two by two on narrower screens. */
.e-con.alm-stack > .e-con-inner > .alm-facts-row { margin-block-start: clamp(48px, 6vw, 72px); }
.alm-facts-row .alm-facts { padding: clamp(22px, 3cqi, 30px) clamp(22px, 4cqi, 40px); }
.alm-facts-row .alm-facts__title { margin-bottom: 12px; }
.alm-facts-row .alm-facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.alm-facts-row .alm-facts dl > div:nth-child(2) { border-top: 0; }
.alm-facts-row .alm-c .alm-facts__value { order: 0; margin: 4px 0 2px; font-size: clamp(21px, 2.6cqi, 26px); }
.alm-facts-row .alm-facts dt { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--alm-body); }
@container almc (min-width: 860px) {
  .alm-facts-row .alm-facts dl { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; }
  .alm-facts-row .alm-facts dl > div { padding: 4px 24px; border-top: 0; border-inline-start: 1px solid var(--alm-line); }
  .alm-facts-row .alm-facts dl > div:first-child { padding-inline-start: 0; border-inline-start: 0; }
}
@container almc (max-width: 419.98px) {
  .alm-facts-row .alm-facts dl { grid-template-columns: minmax(0, 1fr); }
  .alm-facts-row .alm-facts dl > div:nth-child(2) { border-top: 1px solid var(--alm-line); }
}

/* Principles checklist beside the waqf card. */
.e-con.alm-split--panel > .alm-split__side { width: 100%; max-inline-size: 400px; justify-self: center; }
@media (min-width: 1000px) {
  .e-con.alm-split--panel { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); align-items: center; }
}

/* Enquiry form beside "what happens next". */
.alm-split--enquiry .alm-split__side .alm-checklist { padding: clamp(22px, 4cqi, 32px); }
.alm-split--enquiry .alm-split__side .alm-c .alm-checklist__title { font-size: clamp(22px, 5cqi, 26px); }
@media (min-width: 1000px) {
  .e-con.alm-split--enquiry { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
  .e-con.alm-split--enquiry > .alm-split__side { position: sticky; top: 120px; }
}

/* Large service cards: a compact photo beside the text. Two per row; three cards stack their photo on top. */
.alm-c ul.alm-features { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.alm-c ul.alm-features > li { display: flex; margin: 0; }
.alm-feature {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
  width: 100%;
  padding: 12px;
  background: #FFFFFF;
  border: 1px solid var(--alm-card-border);
  border-radius: 28px;
  color: var(--alm-ink);
}
/* The photo is at least square and fills the card's height; the compact text keeps that height close to square. */
.alm-feature__media { position: relative; overflow: hidden; align-self: stretch; width: 100%; aspect-ratio: 1 / 1; border-radius: 20px; background: var(--alm-bone); }
.alm-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.alm-feature__body { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 10px 12px 4px 24px; }
.alm-c .alm-feature .alm-card__label { margin: 0; }
.alm-c .alm-feature__title {
  margin: 0;
  font-family: var(--heading-font-family, "Gallery", serif);
  font-size: clamp(21px, 1.8vw, 25px);
  font-weight: 500;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0, "dlig" 0, "calt" 0, "swsh" 0;
  line-height: 1.18;
  color: var(--alm-ink);
  text-wrap: balance;
}
.alm-feature__title a { color: inherit; text-decoration: none; }
.alm-c .alm-feature__text { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--alm-body); text-wrap: pretty; }
.alm-feature footer { margin-top: auto; padding-top: 6px; }
/* The whole card opens the title link. */
.alm-feature a.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 28px; }
.alm-feature a.card-link:focus-visible { outline: none; }
.alm-feature:has(a.card-link:focus-visible) { outline: 3px solid var(--alm-green); outline-offset: 4px; }
.alm-feature:has(a.card-link:hover) { border-color: rgba(16, 85, 31, 0.32); box-shadow: 0 22px 44px rgba(16, 85, 31, 0.12); }
@media (prefers-reduced-motion: no-preference) {
  .alm-feature { transition: border-color 0.3s ease, box-shadow 0.3s ease; }
  .alm-feature__media img { transition: scale 0.6s ease; }
  .alm-feature:has(a.card-link:hover) .alm-feature__media img { scale: 1.04; }
  .alm-feature .alm-card__go .alm-btn__icon { transition: translate 0.3s ease; }
  .alm-feature:has(a.card-link:hover) .alm-card__go .alm-btn__icon { translate: 4px 0; }
}
@container almc (min-width: 880px) {
  .alm-c ul.alm-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  /* Three cards: one row of three, photo on top. */
  .alm-c ul.alm-features:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .alm-features:has(> li:nth-child(3):last-child) .alm-feature { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; min-height: 0; }
  .alm-features:has(> li:nth-child(3):last-child) .alm-feature__media { aspect-ratio: 5 / 2; }
  .alm-features:has(> li:nth-child(3):last-child) .alm-feature__body { padding: 22px 12px 8px; }
}
@container almc (max-width: 559.98px) {
  .alm-feature { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; min-height: 0; }
  .alm-feature__media { aspect-ratio: 2 / 1; }
  .alm-feature__body { padding: 22px 12px 8px; }
}

/* Centred intros wrap evenly instead of leaving a short last line. */
.alm-shead--center .alm-shead__intro { text-wrap: balance; }


/* ---------------------------------------------------------------------------
 * Cards: built-in line icons ("Built-in icon" in the Cards widget).
 * Stroke is set here, so one SVG works at every size and on light or dark sections.
 * ------------------------------------------------------------------------ */
.alm-card__icon--line svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Photo cards with an icon instead of a photo: the icon sits in an arched niche that echoes the photo arch. */
.alm-cards--arch .alm-card.alm-card--icon { gap: 12px; padding: 28px 16px 24px; }
.alm-cards--arch .alm-card--icon > .alm-card__icon {
  grid-row: auto;
  justify-self: start;
  width: 96px;
  height: 108px;
  margin: 0 0 8px 12px;
  border-radius: 48px 48px 18px 18px;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.alm-cards--arch .alm-card--icon > .alm-card__icon svg { width: 40px; height: 40px; }
.alm-cards--arch .alm-card--icon > .alm-card__icon--line svg { width: 64px; height: 64px; stroke-width: 2; }
.alm-cards--arch .alm-card--icon > .alm-card__icon i { font-size: 36px; }
.alm-cards--arch .alm-card--icon:has(a.card-link:is(:hover, :focus-visible)) > .alm-card__icon { background: var(--alm-lime); color: #0C2F25; }

/* ---------------------------------------------------------------------------
 * Practices (alm-practices): reference cards for a devotional practice.
 * They are records, not links, so there is no hover lift; the counts read as a list.
 * ------------------------------------------------------------------------ */
.alm-practices { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
/* The theme gives list items a bottom margin; these lists space themselves with gap. */
.alm-c ul.alm-practices > li, .alm-c ol.alm-practice__counts > li { margin: 0; }
@container almc (min-width: 900px) { .alm-practices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.alm-practice {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  padding: 26px 26px 24px;
  background: #FFFFFF;
  border: 1px solid var(--alm-line);
  border-radius: 28px;
  color: var(--alm-ink);
}
.alm-practice__head { display: flex; align-items: center; gap: 16px; }
.alm-practice__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 64px;
  height: 72px;
  border-radius: 32px 32px 14px 14px;
  background: #EEF3D0;
  color: var(--alm-green);
}
.alm-practice__icon svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.alm-practice__label { margin: 0 0 6px; font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; color: var(--alm-green); }
.alm-c .alm-practice__title {
  margin: 0;
  font-family: var(--heading-font-family, "Gallery", serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--alm-ink);
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0, "dlig" 0, "calt" 0, "swsh" 0;
  text-wrap: balance;
}
.alm-practice__facts { margin: 0; border-top: 1px solid var(--alm-line); }
.alm-practice__facts > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--alm-line); }
.alm-practice__facts dt { margin: 0; padding-top: 2px; font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase; color: var(--alm-body); }
.alm-practice__facts dd { grid-column: 2; margin: 0; font-size: 15px; line-height: 1.55; color: var(--alm-ink); }
.alm-practice__sub { margin: 0 0 10px; font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; color: var(--alm-green); }
.alm-practice__counts { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.alm-practice__counts > li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 8px 12px 8px 8px; background: var(--alm-bone); border-radius: 14px; }
.alm-practice__n {
  flex: none;
  min-width: 52px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--alm-lime);
  color: var(--alm-on-lime);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.alm-practice__words { font-size: 15px; line-height: 1.4; color: var(--alm-ink); }
.alm-practice__note { margin: 0; font-size: 14px; line-height: 1.6; color: var(--alm-body); }
/* One card per row on mid-width screens: details on the left, the recitation on the right. */
@container almc (min-width: 600px) and (max-width: 899.98px) {
  .alm-practice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-content: start; gap: 20px 32px; }
  .alm-practice__head { grid-column: 1 / -1; }
  .alm-practice__facts { grid-column: 1; grid-row: 2; align-self: start; }
  .alm-practice__recite { grid-column: 2; grid-row: 2 / span 2; }
  .alm-practice__note { grid-column: 1; grid-row: 3; margin: 0; }
}

/* Compact tiles with a built-in icon: a larger line icon in the disc. */
.alm-cards--tile .alm-card--icon > .alm-card__icon--line svg { width: 30px; height: 30px; stroke-width: 2.2; }

/* Reference cards: an optional description under the title. */
.alm-practice__text { margin: 0; font-size: 15px; line-height: 1.65; color: var(--alm-body); text-wrap: pretty; }
/* Ruled list rows with a built-in icon: the line icon needs more room than a font icon. */
.alm-cards--list .alm-card--icon > .alm-card__icon--line svg { width: 26px; height: 26px; stroke-width: 2.3; }

/* Checklist as a bibliography (List style: Books): a book in place of the tick, the title in the heading face, the author beside it. */
.alm-c .alm-checks--books li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 24px; padding: 17px 0 17px 56px; }
.alm-c .alm-checks--books li::before { top: 13px; width: 40px; height: 40px; background: #EEF3D0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%2310551F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5c6-2.2 12-1.4 18 3 6-4.4 12-5.2 18-3v25.5c-6-2.2-12-1.4-18 3-6-4.4-12-5.2-18-3z'/%3E%3Cpath d='M24 15.5V41'/%3E%3C/svg%3E") center / 24px no-repeat; }
.alm-checks__title {
  font-family: var(--heading-font-family, "Gallery", serif);
  font-size: 20px;
  line-height: 1.3;
  color: var(--alm-ink);
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0, "dlig" 0, "calt" 0, "swsh" 0;
}
.alm-checks__gloss { font-family: var(--body-font-family, "Manrope", sans-serif); font-size: 15px; color: var(--alm-body); }
.alm-checks__by { font-size: 14.5px; line-height: 1.5; color: var(--alm-body); }

/* A full-width section whose content reads better at a narrower measure (container class alm-stack--measure). */
.alm-stack--measure .alm-faq { width: 100%; max-width: 880px; margin-inline: auto; }
