/* Hayat Toolkit — site design (hx-). Generated from the approved mockup (~/Desktop/hayat-home):
   every class prefixed hx-, every rule scoped to .hx (the widget root), tokens --hx-*. Site-level rules at the end. */
.hx, .hx-band, .hx-mnav {
  --hx-forest: #013b31;
  --hx-pine: #034b40;
  --hx-green: #04684d;
  --hx-green-dk: #03553f;
  --hx-leaf: #88c97c;
  --hx-leaf-lt: #cfe8c7;
  --hx-mint: #eef6eb;
  --hx-white: #ffffff;
  --hx-ink: #10221c;
  --hx-muted: #546760;
  --hx-line: #dbe6dc;
  --hx-urgent: #b8432f;
  --hx-serif: "Literata", Georgia, serif;
  --hx-sans: "Figtree", system-ui, sans-serif;
  --hx-ruqaa: "Aref Ruqaa", "Noto Kufi Arabic", serif;
  --hx-kufi: "Noto Kufi Arabic", sans-serif;
  --hx-r: 14px;
  --hx-wrap: 1240px;
  --hx-arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 130' preserveAspectRatio='none'%3E%3Cpath d='M0 130V30C0 18 22 9 42 2.4Q50 0 58 2.4C78 9 100 18 100 30v100Z'/%3E%3C/svg%3E");
}

.hx, .hx *, .hx::before, .hx *::before, .hx::after, .hx *::after { box-sizing: border-box; }

.hx { margin: 0; overflow-x: clip; background: var(--hx-white); color: var(--hx-ink); font: 400 17px/1.6 var(--hx-sans); -webkit-font-smoothing: antialiased; }
.hx img { display: block; max-width: 100%; }
.hx a { color: inherit; }
.hx h1, .hx h2, .hx h3, .hx h4 { margin: 0; font-family: var(--hx-serif); font-weight: 600; line-height: 1.12; letter-spacing: -.012em; }
.hx p { margin: 0; }
.hx button, .hx input, .hx select { font: inherit; color: inherit; }
.hx :focus-visible { outline: 3px solid var(--hx-leaf); outline-offset: 3px; }
.hx .hx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hx .hx-skip { position: absolute; left: 12px; top: -60px; background: var(--hx-leaf); padding: 10px 16px; z-index: 100; border-radius: 8px; }
.hx .hx-skip:focus { top: 12px; }
.hx .hx-wrap { width: 100%; max-width: var(--hx-wrap); margin: 0 auto; padding: 0 32px; }
.hx fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

/* Buttons */
.hx .hx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s; }
.hx .hx-btn--primary { background: var(--hx-green); color: #fff; }
.hx .hx-btn--primary:hover { background: var(--hx-forest); }
.hx .hx-field-notes .hx-btn--primary, .hx .hx-fundraise .hx-btn--primary { background: var(--hx-leaf); color: var(--hx-forest); }
.hx .hx-field-notes .hx-btn--primary:hover, .hx .hx-fundraise .hx-btn--primary:hover { background: #fff; }
.hx .hx-link { color: var(--hx-green); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.hx .hx-link-light { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* Top bar */
.hx .hx-topbar { background: var(--hx-forest); color: #d6e9d9; font-size: 14px; }
.hx .hx-topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 40px; }
.hx .hx-topbar__policy { display: flex; align-items: center; gap: 8px; }
.hx .hx-topbar__policy svg { width: 18px; height: 18px; fill: none; stroke: var(--hx-leaf); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.hx .hx-topbar__links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.hx .hx-topbar__links a { text-decoration: none; }
.hx .hx-topbar__links a:hover { color: #fff; text-decoration: underline; }

/* Header */
.hx .hx-hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--hx-line); transition: transform .25s; }
.hx .hx-hdr.hx-is-hidden { transform: translateY(-100%); }
.hx .hx-hdr__in { display: flex; align-items: center; gap: 32px; height: 84px; }
.hx .hx-hdr__logo img { height: 56px; width: auto; }
.hx .hx-hdr__nav { display: flex; gap: 28px; margin-left: auto; font-weight: 600; font-size: 16px; }
.hx .hx-hdr__nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.hx .hx-hdr__nav a:hover { border-color: var(--hx-leaf); }
.hx .hx-hdr__tools { display: flex; align-items: center; gap: 6px; }
.hx .hx-hdr__icon { position: relative; display: grid; place-items: center; width: 42px; height: 42px; color: var(--hx-forest); }
.hx .hx-hdr__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.hx .hx-hdr__basket span { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--hx-leaf); color: var(--hx-forest); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.hx .hx-hdr__donate { margin-left: 8px; }
.hx .hx-hdr__menu { display: none; width: 42px; height: 42px; background: none; border: 0; padding: 0; cursor: pointer; }
.hx .hx-hdr__menu span { display: block; width: 22px; height: 2px; background: var(--hx-forest); margin: 6px auto; border-radius: 2px; }

/* Home hero: field photo + roll-up banner donation desk */
.hx .hx-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 440px; min-height: calc(100vh - 124px); max-height: 860px; overflow: hidden; }
.hx .hx-hero__photo { position: static; }
.hx .hx-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.hx .hx-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,59,49,0) 45%, rgba(1,59,49,.85) 100%), linear-gradient(90deg, rgba(1,59,49,0) 55%, rgba(1,59,49,.35) 100%); }
.hx .hx-hero > .hx-banner { z-index: 2; }
@media (min-width: 1021px) {
  .hx .hx-hero { --hx-edge: max(28px, calc((100vw - var(--hx-wrap)) / 2 + 32px)); padding-right: calc(var(--hx-edge) - 28px); }
  .hx .hx-hero .hx-hero__copy { padding-left: var(--hx-edge); max-width: calc(var(--hx-edge) + 760px); }
  .hx .hx-hero .hx-hero__caption { left: var(--hx-edge); }
}
.hx .hx-hero__copy { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 0 56px 52px; color: #fff; max-width: 820px; }
.hx .hx-hero h1 { font-size: clamp(40px, 4.2vw, 64px); line-height: 1.06; font-weight: 600; letter-spacing: -.015em; }
.hx .hx-hero h1 span { display: block; }
.hx .hx-hero__copy p { margin-top: 18px; max-width: 560px; font-size: 19px; color: #e1efe3; }
.hx .hx-hero__caption { position: absolute; z-index: 1; top: 24px; left: 24px; padding: 6px 12px; border-radius: 999px; background: rgba(1,59,49,.72); color: #fff; font-size: 13px; }

.hx .hx-banner { position: relative; align-self: center; display: flex; flex-direction: column; margin: 28px; background: #fff; border-radius: 22px; box-shadow: 0 12px 28px -14px rgba(1,59,49,.35); overflow: hidden; }
.hx .hx-banner__body { padding: 18px 22px 20px; display: grid; gap: 12px; }
.hx .hx-banner__fine { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 12.5px; color: var(--hx-muted); text-align: center; margin-top: -2px; }
.hx .hx-banner__fine svg { width: 14px; height: 14px; fill: none; stroke: var(--hx-green); stroke-width: 2; }
.hx .hx-banner .hx-seg { display: grid; grid-template-columns: 1fr 1fr; }
.hx .hx-banner .hx-seg span { text-align: center; }
.hx .hx-banner .hx-kind { display: grid; grid-template-columns: repeat(3, 1fr); background: none; padding: 0; gap: 8px; }
.hx .hx-banner .hx-kind span { text-align: center; border: 1.5px solid var(--hx-line); border-radius: 10px; padding: 8px 4px; font-size: 14px; }
.hx .hx-banner .hx-kind input:checked + span { border-color: var(--hx-green); background: var(--hx-mint); color: var(--hx-forest); }
.hx .hx-banner .hx-amounts { display: grid; grid-template-columns: repeat(4, 1fr); }
.hx .hx-banner .hx-amounts label:not(.hx-other) span { min-width: 0; padding: 0; height: 44px; }
.hx .hx-banner .hx-amounts .hx-other { grid-column: span 4; width: auto; height: 44px; }
.hx .hx-banner .hx-impact { padding: 9px 12px; background: var(--hx-mint); border-radius: 10px; font-size: 14px; color: var(--hx-forest); }
.hx .hx-btn--block { width: 100%; min-height: 54px; font-size: 18px; }

/* Where we're working now */
.hx .hx-places { padding: 96px 0 24px; position: relative; }
.hx .hx-sec-head--centre { grid-template-columns: 1fr; text-align: center; margin-bottom: 8px; }
.hx .hx-sec-head--centre p { grid-column: auto; }

/* About intro: calligraphy */
.hx .hx-intro { position: relative; padding: 64px 0 72px; background:
  radial-gradient(ellipse 70% 55% at 50% 0%, var(--hx-mint) 0%, rgba(238,246,235,0) 70%),
  var(--hx-white); }
.hx .hx-intro::before { content: ""; position: absolute; inset: 0 0 auto; height: 560px; pointer-events: none; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%2388c97c' stroke-width='1' opacity='.55'%3E%3Cpath d='M36 14l6.4 15.6L58 36l-15.6 6.4L36 58l-6.4-15.6L14 36l15.6-6.4Z'/%3E%3Cpath d='M20.4 20.4h31.2v31.2H20.4Z' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E") repeat;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000 0%, transparent 75%); }
.hx .hx-intro__head { position: relative; text-align: center; }
.hx .hx-intro__ar { font-family: var(--hx-ruqaa); font-weight: 700; font-size: clamp(92px, 10vw, 150px); line-height: 1.1; color: var(--hx-green); margin: 0 0 .32em; }
.hx .hx-intro h1 { font-size: clamp(38px, 4.4vw, 62px); font-weight: 600; color: var(--hx-forest); letter-spacing: -.02em; }
.hx .hx-intro__lede { margin: 18px auto 0; max-width: 620px; font-size: 19px; color: var(--hx-muted); }

/* Where we're working now: featured appeal + four rows */
.hx .hx-now { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; }
.hx .hx-now__lead { position: relative; min-height: 620px; border-radius: 22px; overflow: hidden; display: flex; align-items: flex-end; color: #fff; background: var(--hx-forest); }
.hx .hx-now__lead > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hx .hx-now__lead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,59,49,0) 25%, rgba(1,59,49,.72) 55%, rgba(1,59,49,.96) 100%); }
.hx .hx-now__body { position: relative; z-index: 1; width: 100%; padding: 36px 36px 32px; }
.hx .hx-now__tag { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--hx-leaf-lt); }
.hx .hx-now__live { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 4px 10px; border-radius: 999px; background: var(--hx-urgent); color: #fff; font-size: 13px; font-weight: 700; }
.hx .hx-now__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: now-pulse 1.8s ease-in-out infinite; }
@keyframes now-pulse { 50% { opacity: .35; } }
.hx .hx-now__title { margin-top: 12px; font-size: clamp(30px, 3vw, 42px); color: #fff; }
.hx .hx-now__text { margin-top: 10px; max-width: 520px; font-size: 17px; color: #d5e8dc; }
.hx .hx-now__progress { margin-top: 22px; max-width: 520px; }
.hx .hx-now__bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.18); overflow: hidden; }
.hx .hx-now__bar span { display: block; height: 100%; border-radius: inherit; background: var(--hx-leaf); }
.hx .hx-now__progress p { margin-top: 8px; font-size: 14.5px; color: #b9d6c2; }
.hx .hx-now__progress strong { color: #fff; font-size: 16px; }
.hx .hx-now__give { display: flex; gap: 8px; margin-top: 20px; max-width: 520px; }
.hx .hx-now__give button { flex: 1 1 0; height: 50px; min-width: 0; border: 1.5px solid rgba(255,255,255,.3); border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font-weight: 700; font-size: 16px; cursor: pointer; transition: background .15s, border-color .15s; }
.hx .hx-now__give button:hover { border-color: var(--hx-leaf); }
.hx .hx-now__give button.hx-is-on { border-color: var(--hx-leaf); background: var(--hx-leaf); color: var(--hx-forest); }
.hx .hx-now__give .hx-btn { flex: 1.6 1 0; min-height: 50px; background: #fff; color: var(--hx-forest); }
.hx .hx-now__give .hx-btn:hover { background: var(--hx-leaf); }
.hx .hx-now__side { display: grid; grid-template-rows: repeat(4, 1fr); gap: 14px; }
.hx .hx-now__row { display: grid; grid-template-columns: 38% minmax(0, 1fr); border: 1px solid var(--hx-line); border-radius: 18px; overflow: hidden; background: var(--hx-mint); text-decoration: none; transition: border-color .2s, transform .2s; }
.hx .hx-now__row:hover { border-color: var(--hx-leaf); transform: translateY(-2px); }
.hx .hx-now__row img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hx .hx-now__row:hover img { transform: scale(1.04); }
.hx .hx-now__rowbody { display: flex; flex-direction: column; justify-content: center; padding: 14px 20px; }
.hx .hx-now__place { font-size: 13.5px; font-weight: 600; color: var(--hx-green); }
.hx .hx-now__rowtitle { margin-top: 3px; font-size: 21px; color: var(--hx-forest); }
.hx .hx-now__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 700; font-size: 14.5px; color: var(--hx-green); }
.hx .hx-now__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.hx .hx-now__row:hover .hx-now__go svg { transform: translateX(4px); }
@media (max-width: 1020px) {
  .hx .hx-now { grid-template-columns: minmax(0, 1fr); }
  .hx .hx-now__lead { min-height: 540px; }
  .hx .hx-now__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .hx .hx-now__row { min-height: 130px; }
}
@media (max-width: 640px) {
  .hx .hx-now { gap: 12px; }
  .hx .hx-now__lead { min-height: 0; display: block; padding-top: 280px; border-radius: 18px; }
  .hx .hx-now__lead > img { height: 380px; }
  .hx .hx-now__lead::after { background: linear-gradient(180deg, rgba(1,59,49,0) 0, rgba(1,59,49,0) 160px, rgba(1,59,49,.9) 330px, var(--hx-forest) 400px); }
  .hx .hx-now__body { padding: 0 18px 20px; }
  .hx .hx-now__title { font-size: 28px; }
  .hx .hx-now__text { font-size: 15.5px; }
  .hx .hx-now__give { flex-wrap: wrap; }
  .hx .hx-now__give .hx-btn { flex: 0 0 100%; }
  .hx .hx-now__side { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hx .hx-now__row { grid-template-columns: 110px minmax(0, 1fr); min-height: 104px; border-radius: 16px; }
  .hx .hx-now__rowbody { padding: 12px 14px; }
  .hx .hx-now__rowtitle { font-size: 18px; }
}

/* From the field: one link banner to the updates page */
.hx .hx-field-ban { padding: 24px 0 96px; }
.hx .hx-fban { position: relative; display: flex; align-items: center; min-height: 440px; border-radius: 24px; overflow: hidden; background: var(--hx-forest); color: #fff; text-decoration: none; }
.hx .hx-fban > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform .8s ease; }
.hx .hx-fban::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,59,49,.97) 0%, rgba(1,59,49,.88) 38%, rgba(1,59,49,.2) 75%, rgba(1,59,49,0) 100%); }
.hx .hx-fban:hover > img { transform: scale(1.03); }
.hx .hx-fban__body { position: relative; z-index: 1; max-width: 560px; padding: 56px; }
.hx .hx-fban__eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hx-leaf); }
.hx .hx-fban__title { margin-top: 14px; font-size: clamp(32px, 3.4vw, 48px); color: #fff; }
.hx .hx-fban__text { margin-top: 14px; font-size: 18px; color: #d5e8dc; }
.hx .hx-fban__btn { gap: 10px; margin-top: 28px; background: var(--hx-leaf); color: var(--hx-forest); }
.hx .hx-fban:hover .hx-fban__btn { background: #fff; }
.hx .hx-fban__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.hx .hx-fban:hover .hx-fban__btn svg { transform: translateX(4px); }
@media (max-width: 640px) {
  .hx .hx-field-ban { padding: 8px 0 64px; }
  .hx .hx-fban { display: block; min-height: 0; border-radius: 18px; }
  .hx .hx-fban > img { position: relative; height: 240px; }
  .hx .hx-fban::after { background: linear-gradient(180deg, rgba(1,59,49,0) 0, rgba(1,59,49,0) 140px, var(--hx-forest) 240px); }
  .hx .hx-fban__body { margin-top: -40px; padding: 0 20px 24px; }
  .hx .hx-fban__title { font-size: 28px; }
  .hx .hx-fban__text { font-size: 16px; }
  .hx .hx-fban__btn { width: 100%; margin-top: 20px; }
}
.hx .hx-win__arch { position: relative; width: 100%; aspect-ratio: 100 / 108; padding: 6px; background: var(--hx-leaf); -webkit-mask: var(--hx-arch) center / 100% 100% no-repeat; mask: var(--hx-arch) center / 100% 100% no-repeat; }
.hx .hx-win__arch img { width: 100%; height: 100%; object-fit: cover; -webkit-mask: var(--hx-arch) center / 100% 100% no-repeat; mask: var(--hx-arch) center / 100% 100% no-repeat; }
/* Give row: joined amount picker + full-width donate button */
.hx .hx-appeal__give { display: flex; flex-wrap: wrap; }
.hx .hx-appeal__give button { flex: 1 1 0; position: relative; height: 42px; min-width: 0; padding: 0; border: 1.5px solid var(--hx-line); border-radius: 0; margin-left: -1.5px; background: #fff; font-weight: 700; font-size: 15px; color: var(--hx-muted); cursor: pointer; }
.hx .hx-appeal__give button:first-child { margin-left: 0; border-radius: 12px 0 0 12px; }
.hx .hx-appeal__give button:nth-last-child(2) { border-radius: 0 12px 12px 0; }
.hx .hx-appeal__give button:hover { color: var(--hx-forest); z-index: 1; border-color: var(--hx-leaf); }
.hx .hx-appeal__give button.hx-is-on { z-index: 2; border-color: var(--hx-green); background: var(--hx-mint); color: var(--hx-forest); }
.hx .hx-appeal__give .hx-btn { flex: 0 0 100%; margin-top: 10px; min-height: 48px; width: 100%; }

/* Form controls */
.hx .hx-seg, .hx .hx-kind { display: flex; gap: 3px; padding: 4px; background: var(--hx-mint); border-radius: 999px; }
.hx .hx-seg label, .hx .hx-kind label, .hx .hx-amounts label { position: relative; cursor: pointer; }
.hx .hx-seg input, .hx .hx-kind input, .hx .hx-amounts input[type="radio"] { position: absolute; opacity: 0; }
.hx .hx-seg span, .hx .hx-kind span { display: block; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--hx-muted); }
.hx .hx-seg input:checked + span, .hx .hx-kind input:checked + span { background: var(--hx-forest); color: #fff; }
.hx .hx-seg input:focus-visible + span, .hx .hx-kind input:focus-visible + span, .hx .hx-amounts input:focus-visible + span { outline: 3px solid var(--hx-leaf); outline-offset: 2px; }
.hx .hx-field select { width: 100%; height: 48px; padding: 0 40px 0 14px; border: 1.5px solid var(--hx-line); border-radius: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304684d' stroke-width='2.2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; appearance: none; font-weight: 600; cursor: pointer; }
.hx .hx-amounts { display: flex; gap: 6px; }
.hx .hx-amounts label:not(.hx-other) span { display: grid; place-items: center; height: 46px; min-width: 58px; padding: 0 10px; border: 1.5px solid var(--hx-line); border-radius: 12px; font-weight: 700; font-size: 16px; }
.hx .hx-amounts input:checked + span { background: var(--hx-forest); border-color: var(--hx-forest); color: #fff; }
.hx .hx-amounts .hx-other { display: flex; align-items: center; width: 92px; height: 46px; border: 1.5px solid var(--hx-line); border-radius: 12px; padding-left: 10px; font-weight: 700; }
.hx .hx-amounts .hx-other input { border: 0; outline: 0; height: 100%; width: 100%; padding: 0 8px 0 3px; background: none; font-weight: 600; min-width: 0; }
.hx .hx-amounts .hx-other:focus-within { border-color: var(--hx-green); }
.hx .hx-impact { display: flex; gap: 10px; align-items: center; font-size: 14.5px; line-height: 1.4; color: var(--hx-green); }
.hx .hx-impact::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--hx-leaf); }

/* Trust strip */
.hx .hx-trust { background: var(--hx-mint); margin-top: 72px; }
.hx .hx-trust__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.hx .hx-trust__item { padding: 36px 28px 36px 0; display: flex; flex-direction: column; gap: 4px; }
.hx .hx-trust__item + .hx-trust__item { padding-left: 28px; border-left: 1px solid var(--hx-leaf-lt); }
.hx .hx-trust__item strong { font-family: var(--hx-serif); font-size: 32px; font-weight: 600; color: var(--hx-green); white-space: nowrap; }
.hx .hx-trust__item p { font-size: 15px; line-height: 1.45; color: var(--hx-muted); }

/* Section heads */
.hx .hx-sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px 24px; margin-bottom: 36px; }
.hx .hx-sec-head h2 { font-size: clamp(32px, 3.3vw, 46px); color: var(--hx-forest); }
.hx .hx-sec-head p { grid-column: 1; font-size: 18px; color: var(--hx-muted); }
.hx .hx-sec-head .hx-rail-nav { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 8px; }
.hx .hx-sec-head--light h2 { color: #fff; }
.hx .hx-sec-head--light p { color: #b9d6c2; }

/* Appeals rail */
.hx .hx-appeals { padding: 96px 0 104px; }
.hx .hx-rail-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--hx-forest); background: none; display: grid; place-items: center; cursor: pointer; }
.hx .hx-rail-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--hx-forest); stroke-width: 2; }
.hx .hx-rail-btn:hover { background: var(--hx-forest); }
.hx .hx-rail-btn:hover svg { stroke: #fff; }
.hx .hx-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 360px; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(32px, calc((100vw - var(--hx-wrap)) / 2 + 32px)) 12px; scroll-padding: 0 max(32px, calc((100vw - var(--hx-wrap)) / 2 + 32px)); scrollbar-width: none; overscroll-behavior-x: contain; }
.hx .hx-rail::-webkit-scrollbar { display: none; }
.hx .hx-appeal { scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border-radius: var(--hx-r); overflow: hidden; border: 1px solid var(--hx-line); }
/* 2.6.1: photos show uncropped at their own aspect ratio (was a 4:3 cover crop) */
.hx .hx-appeal__img { position: relative; display: block; overflow: hidden; background: var(--hx-mint); }
.hx .hx-appeal__img img { display: block; width: 100%; height: auto; object-fit: contain; }
.hx .hx-tag { position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.hx .hx-tag--urgent { background: var(--hx-urgent); color: #fff; }
.hx .hx-appeal__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.hx .hx-appeal__place { font-size: 14px; font-weight: 600; color: var(--hx-green); }
.hx .hx-appeal h3 { font-size: 24px; color: var(--hx-forest); }
.hx .hx-appeal__body > p:not(.hx-appeal__place) { font-size: 16px; color: var(--hx-muted); line-height: 1.5; }
.hx .hx-appeal__give { margin-top: auto; padding-top: 12px; }

/* From the field */
.hx .hx-field-notes { background: var(--hx-forest); color: #fff; padding: 104px 0; }
.hx .hx-dispatch { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hx .hx-dispatch__media { position: relative; aspect-ratio: 5 / 4.4; }
.hx .hx-dispatch__a { position: absolute; left: 0; top: 0; width: 82%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--hx-r); }
.hx .hx-dispatch__b { position: absolute; right: 0; bottom: 0; width: 64%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--hx-r); border: 8px solid var(--hx-forest); }
.hx .hx-dispatch__date { font-size: 16px; color: var(--hx-leaf); font-weight: 600; margin-bottom: 12px; }
.hx .hx-dispatch__text h3 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 18px; }
.hx .hx-dispatch__text > p:not(.hx-dispatch__date) { color: #cfe2d4; font-size: 18px; max-width: 54ch; }
.hx .hx-dispatch__facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0; border-top: 1px solid rgba(255,255,255,.18); }
.hx .hx-dispatch__facts div { padding: 16px 16px 0 0; }
.hx .hx-dispatch__facts div + div { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.18); }
.hx .hx-dispatch__facts dt { font-family: var(--hx-serif); font-size: 26px; font-weight: 600; color: var(--hx-leaf); }
.hx .hx-dispatch__facts dd { margin: 2px 0 0; font-size: 14px; color: #b9d6c2; line-height: 1.35; }
.hx .hx-dispatch__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

.hx .hx-timeline { list-style: none; margin: 88px 0 0; padding: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.hx .hx-timeline::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--hx-leaf), rgba(136,201,124,.15)); }
.hx .hx-timeline li { position: relative; }
.hx .hx-timeline li::before { content: ""; position: absolute; top: -43px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--hx-forest); border: 3px solid var(--hx-leaf); }
.hx .hx-timeline img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; border-radius: 10px; margin-bottom: 16px; }
.hx .hx-timeline__date { font-size: 14px; color: var(--hx-leaf); font-weight: 600; }
.hx .hx-timeline h4 { font-size: 20px; margin: 4px 0 6px; }
.hx .hx-timeline li > p:last-child { font-size: 15px; color: #b9d6c2; line-height: 1.5; }

/* Types / Zakat */
.hx .hx-types { padding: 104px 0; background: var(--hx-mint); }
.hx .hx-tabs { display: flex; gap: 6px; padding: 6px; background: #fff; border: 1px solid var(--hx-line); border-radius: 999px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; margin-bottom: 28px; }
.hx .hx-tabs button { flex: none; border: 0; background: none; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; cursor: pointer; color: var(--hx-muted); }
.hx .hx-tabs button[aria-selected="true"] { background: var(--hx-forest); color: #fff; }
.hx .hx-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; background: #fff; border: 1px solid var(--hx-line); border-radius: 22px; padding: 48px; }
.hx .hx-panel[hidden] { display: none; }
.hx .hx-panel__text h3 { font-size: 34px; color: var(--hx-forest); margin-bottom: 16px; }
.hx .hx-panel__text > p { color: var(--hx-muted); margin-bottom: 22px; max-width: 48ch; }
.hx .hx-panel__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--hx-r); }
.hx .hx-mini { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hx-line); }
.hx .hx-mini li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--hx-line); }
.hx .hx-mini a { font-weight: 600; color: var(--hx-forest); text-decoration: none; }
.hx .hx-mini a:hover { text-decoration: underline; }
.hx .hx-mini span { color: var(--hx-muted); font-weight: 600; }

.hx .hx-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 28px; background: var(--hx-mint); border-radius: 18px; }
.hx .hx-calc label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--hx-muted); }
.hx .hx-calc input { height: 50px; border: 1.5px solid var(--hx-line); border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ctext x='4' y='15' font-family='sans-serif' font-size='15' font-weight='700' fill='%2304684d'%3E£%3C/text%3E%3C/svg%3E") no-repeat 8px center / 20px; padding: 0 12px 0 32px; font-weight: 600; font-size: 17px; color: var(--hx-ink); }
.hx .hx-calc input:focus { border-color: var(--hx-green); outline: 0; }
.hx .hx-calc__minus span::before { content: "minus "; }
.hx .hx-calc__result { grid-column: span 2; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 16px; margin-top: 8px; padding-top: 18px; border-top: 1.5px dashed var(--hx-leaf-lt); }
.hx .hx-calc__result p { font-size: 14px; font-weight: 600; color: var(--hx-muted); }
.hx .hx-calc__result output { grid-row: 2; font-family: var(--hx-serif); font-size: 40px; font-weight: 600; color: var(--hx-forest); line-height: 1.1; }
.hx .hx-calc__result .hx-btn { grid-row: 1 / span 2; grid-column: 2; }

/* Regular giving */
.hx .hx-regular { padding: 104px 0; }
.hx .hx-regular__in { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 24px; align-items: stretch; }
.hx .hx-regular__intro { padding-right: 16px; align-self: center; }
.hx .hx-regular__intro h2 { font-size: 34px; color: var(--hx-forest); margin-bottom: 16px; }
.hx .hx-regular__intro p { color: var(--hx-muted); }
.hx .hx-reg { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--hx-line); border-radius: var(--hx-r); overflow: hidden; transition: border-color .15s; }
.hx .hx-reg:hover { border-color: var(--hx-green); }
.hx .hx-reg img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hx .hx-reg div { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hx .hx-reg h3 { font-size: 22px; color: var(--hx-forest); }
.hx .hx-reg p { color: var(--hx-muted); font-size: 15px; line-height: 1.5; }
.hx .hx-reg__go { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--hx-green); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* Fundraise */
.hx .hx-fundraise { background: var(--hx-green); color: #fff; padding: 88px 0; }
.hx .hx-fundraise__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.hx .hx-fundraise h2 { font-size: clamp(34px, 3.3vw, 46px); margin-bottom: 16px; }
.hx .hx-fundraise__text p { color: #d5ebda; font-size: 18px; margin-bottom: 28px; max-width: 46ch; }
.hx .hx-events { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hx .hx-events li { display: flex; gap: 16px; align-items: center; padding: 20px; background: rgba(1,59,49,.45); border-radius: var(--hx-r); }
.hx .hx-events__ic { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--hx-leaf); display: grid; place-items: center; }
.hx .hx-events__ic svg { width: 26px; height: 26px; fill: none; stroke: var(--hx-forest); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.hx .hx-events h3 { font-family: var(--hx-sans); font-weight: 700; font-size: 18px; }
.hx .hx-events p { font-size: 14px; color: #c5e2cc; }

/* About */
.hx .hx-about { padding: 104px 0; }
.hx .hx-about__in { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.hx .hx-about__quote { margin: 0; padding: 44px; background: var(--hx-mint); border-radius: 22px; }
.hx .hx-about__quote blockquote { margin: 0; }
.hx .hx-about__quote p { font-family: var(--hx-serif); font-size: clamp(24px, 2.2vw, 31px); line-height: 1.3; font-weight: 500; font-style: italic; color: var(--hx-forest); }
.hx .hx-about__quote figcaption { margin-top: 22px; color: var(--hx-muted); }
.hx .hx-about__quote figcaption strong { color: var(--hx-forest); }
.hx .hx-about__text h2 { font-size: clamp(32px, 3vw, 42px); color: var(--hx-forest); margin-bottom: 18px; }
.hx .hx-about__text p { color: var(--hx-muted); margin-bottom: 16px; max-width: 56ch; }

/* Newsletter */
.hx .hx-news { padding: 0 0 96px; }
.hx .hx-news__in { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 36px 40px; border: 1px solid var(--hx-line); border-radius: 22px; }
.hx .hx-news__in > div { flex: 1; }
.hx .hx-news h2 { font-size: 28px; color: var(--hx-forest); }
.hx .hx-news p { color: var(--hx-muted); }
.hx .hx-news__form { display: flex; gap: 8px; flex: 1; max-width: 520px; padding: 6px; background: #fff; border: 1.5px solid var(--hx-line); border-radius: 999px; }
.hx .hx-news__form input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 18px; background: none; font-size: 16px; }

/* Footer */
.hx .hx-ftr { background: var(--hx-forest); color: #c9dfcf; padding: 80px 0 28px; overflow: hidden; }
.hx .hx-ftr__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 40px; }
.hx .hx-ftr__brand img { height: 92px; width: auto; margin-bottom: 18px; }
.hx .hx-ftr__brand p { max-width: 30ch; font-size: 15px; }
.hx .hx-ftr__social { display: flex; gap: 8px; list-style: none; padding: 0; margin: 22px 0 0; }
.hx .hx-ftr__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); }
.hx .hx-ftr__social a:hover { background: var(--hx-green); }
.hx .hx-ftr__social svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.hx .hx-ftr__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.hx .hx-ftr__col h3 { font-family: var(--hx-sans); font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 6px; }
.hx .hx-ftr__col a { text-decoration: none; }
.hx .hx-ftr__col a:hover { color: #fff; text-decoration: underline; }
.hx .hx-ftr__contact a { color: #fff; font-weight: 600; }
.hx .hx-ftr__contact p { font-size: 14px; margin-top: 6px; }
.hx .hx-ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; }
.hx .hx-ftr__bottom nav { display: flex; gap: 20px; }
.hx .hx-ftr__bottom a { text-decoration: none; }
.hx .hx-ftr__bottom a:hover { color: #fff; text-decoration: underline; }
.hx .hx-ftr__bottom .hx-credit { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px 7px 12px; border: 1px solid rgba(136,201,124,.45); border-radius: 999px; background: rgba(136,201,124,.1); color: #e3f1df; transition: background .2s, border-color .2s, color .2s; }
.hx .hx-ftr__bottom .hx-credit strong { color: var(--hx-leaf); font-weight: 700; transition: color .2s; }
.hx .hx-credit__mark { width: auto; height: 17px; color: var(--hx-leaf); transition: transform .3s; }
.hx .hx-ftr__bottom .hx-credit:hover { text-decoration: none; background: var(--hx-leaf); border-color: var(--hx-leaf); color: var(--hx-forest); }
.hx .hx-ftr__bottom .hx-credit:hover strong, .hx .hx-ftr__bottom .hx-credit:hover .hx-credit__mark { color: var(--hx-forest); }
.hx .hx-ftr__bottom .hx-credit:hover .hx-credit__mark { transform: rotate(-8deg) scale(1.08); }

/* About page */
.hx .hx-story { padding: 24px 0 104px; }
.hx .hx-story__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: center; }
.hx .hx-story__text h2 { font-size: clamp(32px, 3vw, 42px); color: var(--hx-forest); margin-bottom: 20px; }
.hx .hx-story__text p { color: var(--hx-muted); margin-bottom: 16px; max-width: 60ch; }
.hx .hx-story__media .hx-win__arch { aspect-ratio: 100 / 118; background: var(--hx-leaf); }
.hx .hx-pillars { padding: 96px 0; background: var(--hx-mint); }
.hx .hx-pillars__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hx .hx-pillars__list img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--hx-r); margin-bottom: 16px; }
.hx .hx-pillars__list h3 { font-size: 22px; color: var(--hx-forest); margin-bottom: 6px; }
.hx .hx-pillars__list p { color: var(--hx-muted); font-size: 15.5px; line-height: 1.5; }
.hx .hx-trustees { padding: 104px 0; }
.hx .hx-trustees__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hx .hx-person { padding: 32px; border: 1px solid var(--hx-line); border-radius: 18px; }
.hx .hx-person__initials { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--hx-mint); color: var(--hx-green); font-family: var(--hx-serif); font-weight: 600; font-size: 22px; margin-bottom: 20px; }
.hx .hx-person h3 { font-size: 23px; color: var(--hx-forest); }
.hx .hx-person__role { color: var(--hx-green); font-weight: 600; margin: 2px 0 14px; }
.hx .hx-person p:last-child { color: var(--hx-muted); font-size: 15.5px; line-height: 1.55; }
.hx .hx-about-cta { background: var(--hx-forest); color: #fff; padding: 88px 0; text-align: center; }
.hx .hx-about-cta__in { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hx .hx-about-cta h2 { font-size: clamp(30px, 3vw, 42px); max-width: 22ch; }
.hx .hx-about-cta p { color: #cfe2d4; font-size: 18px; margin-bottom: 10px; }
.hx .hx-about-cta .hx-btn--primary { background: var(--hx-leaf); color: var(--hx-forest); }
.hx .hx-about-cta .hx-btn--primary:hover { background: #fff; }

/* Laptop */
@media (max-width: 1180px) {
  .hx .hx-hdr__nav { gap: 20px; font-size: 15px; }
  .hx .hx-hero { grid-template-columns: minmax(0, 1fr) 400px; }
  .hx .hx-regular__in { grid-template-columns: 1fr 1fr 1fr; }
  .hx .hx-regular__intro { grid-column: 1 / -1; max-width: 640px; }
  .hx .hx-ftr__top { grid-template-columns: 1fr 1fr 1fr; }
  .hx .hx-ftr__brand { grid-column: 1 / -1; }
}

/* Tablet */
@media (max-width: 1020px) {
  .hx .hx-hdr__nav, .hx .hx-hdr__icon:not(.hx-hdr__basket) { display: none; }
  .hx .hx-hdr__menu { display: block; }
  .hx .hx-hdr__tools { margin-left: auto; }
  .hx .hx-topbar__links li:not(:first-child) { display: none; }
  .hx .hx-hero { grid-template-columns: minmax(0, 1fr); max-height: none; min-height: 0; overflow: visible; }
  .hx .hx-hero__photo { position: relative; overflow: hidden; aspect-ratio: 4 / 3; max-height: 72vh; width: 100%; }
  .hx .hx-hero__photo::after { background: linear-gradient(180deg, rgba(1,59,49,0) 40%, rgba(1,59,49,.9) 100%); }
  .hx .hx-banner { margin: -40px auto 0; width: calc(100% - 48px); max-width: 520px; z-index: 2; }
  .hx .hx-trust__in { grid-template-columns: 1fr 1fr; }
  .hx .hx-trust__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .hx .hx-trust__item:nth-child(n+3) { border-top: 1px solid var(--hx-leaf-lt); }
  .hx .hx-dispatch, .hx .hx-fundraise__in, .hx .hx-about__in, .hx .hx-panel, .hx .hx-story__in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hx .hx-story__media { max-width: 420px; }
  .hx .hx-pillars__list { grid-template-columns: 1fr 1fr; }
  .hx .hx-trustees__list { grid-template-columns: minmax(0, 1fr); }
  .hx .hx-timeline { grid-template-columns: 1fr 1fr; row-gap: 48px; padding-top: 0; margin-top: 64px; }
  .hx .hx-timeline::before, .hx .hx-timeline li::before { display: none; }
}

/* Phone */
@media (max-width: 640px) {
  .hx { font-size: 16px; }
  .hx .hx-wrap { padding: 0 16px; }
  .hx .hx-topbar { font-size: 13px; }
  .hx .hx-topbar__links { display: none; }
  .hx .hx-hdr__in { height: 64px; gap: 12px; }
  .hx .hx-hdr__logo img { height: 42px; }
  .hx .hx-hdr__donate { min-height: 40px; padding: 0 16px; font-size: 15px; margin-left: 4px; }
  .hx .hx-hero__photo { aspect-ratio: 4 / 5; max-height: none; }
  .hx .hx-hero__copy { padding: 0 20px 60px; }
  .hx .hx-hero h1 { font-size: 33px; }
  .hx .hx-hero__copy p { font-size: 16px; margin-top: 12px; }
  .hx .hx-hero__caption { top: 14px; left: 14px; font-size: 12px; }
  .hx .hx-banner { width: calc(100% - 24px); margin-top: -36px; }
  .hx .hx-banner::before { left: -6px; right: -6px; }
  .hx .hx-banner__body { padding: 16px 16px 18px; }
  .hx .hx-banner__foot { margin: 0 -8px; height: 18px; }
  .hx .hx-places { padding-top: 64px; }
  .hx .hx-story { padding-bottom: 64px; }
  .hx .hx-pillars, .hx .hx-trustees { padding: 64px 0; }
  .hx .hx-pillars__list { grid-template-columns: minmax(0, 1fr); }
  .hx .hx-person { padding: 24px 20px; }
  .hx .hx-about-cta { padding: 64px 0; }
  .hx .hx-intro { padding: 36px 0 48px; }
  .hx .hx-intro__ar { font-size: 92px; }
  .hx .hx-intro h1 { font-size: 34px; }
  .hx .hx-intro__lede { font-size: 16px; margin-top: 12px; }
  .hx .hx-topbar__more { display: none; }
  .hx .hx-trust__in { grid-template-columns: 1fr 1fr; }
  .hx .hx-trust__item, .hx .hx-trust__item + .hx-trust__item { padding: 18px 12px 18px 0; }
  .hx .hx-trust__item:nth-child(even) { padding-left: 14px; }
  .hx .hx-trust__item strong { font-size: 24px; }
  .hx .hx-trust__item p { font-size: 13.5px; }
  .hx .hx-sec-head { grid-template-columns: 1fr; margin-bottom: 24px; }
  .hx .hx-sec-head .hx-rail-nav { display: none; }
  .hx .hx-appeals, .hx .hx-types, .hx .hx-about, .hx .hx-regular { padding: 64px 0; }
  .hx .hx-rail { grid-auto-columns: 84%; gap: 14px; padding: 0 16px 8px; scroll-padding: 0 16px; }
  .hx .hx-field-notes { padding: 64px 0; }
  .hx .hx-dispatch__facts dt { font-size: 21px; }
  .hx .hx-dispatch__facts div { padding-right: 10px; }
  .hx .hx-dispatch__facts div + div { padding-left: 10px; }
  .hx .hx-timeline { grid-template-columns: 1fr; gap: 32px; }
  .hx .hx-tabs { width: auto; border-radius: 14px; }
  .hx .hx-tabs button { padding: 10px 16px; font-size: 15px; }
  .hx .hx-panel { padding: 22px 16px; border-radius: 16px; }
  .hx .hx-panel__text h3 { font-size: 26px; }
  .hx .hx-calc { grid-template-columns: 1fr; padding: 18px; }
  .hx .hx-calc__result { grid-column: auto; }
  .hx .hx-calc__result output { font-size: 32px; }
  .hx .hx-regular__in { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hx .hx-regular__intro h2 { font-size: 28px; }
  .hx .hx-fundraise { padding: 64px 0; }
  .hx .hx-events { grid-template-columns: 1fr; }
  .hx .hx-about__quote { padding: 28px 22px; }
  .hx .hx-news { padding-bottom: 64px; }
  .hx .hx-news__in { flex-direction: column; align-items: stretch; padding: 24px 18px; }
  .hx .hx-news__form .hx-btn { padding: 0 18px; }
  .hx .hx-ftr { padding-top: 56px; }
  .hx .hx-ftr__top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .hx .hx-ftr__contact { grid-column: 1 / -1; }
  .hx .hx-ftr__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .hx { scroll-behavior: auto; }
  .hx, .hx *, .hx::before, .hx *::before, .hx::after, .hx *::after { transition: none !important; }
}

/* ===== Site level (outside the mockup) ===== */

/* Header location: the Elementor header area sticks with the top bar scrolled off (top set by hx.js). */
body.hx-site .elementor-location-header.hx-band { position: sticky; top: 0; z-index: 60; transition: transform .25s; }
body.hx-site .elementor-location-header.hx-band.hx-is-hidden { transform: translateY(-100%); }
body.hx-site .hx-band .hx .hx-hdr { position: relative; transform: none; }
body.admin-bar.hx-site .elementor-location-header.hx-band { margin-top: 0; }
html.hx-menu-open { overflow: hidden; }

/* Elementor wrappers around the sections: no gaps, the sections carry their own spacing. */
body.hx-site .elementor-widget[class*="elementor-widget-hx-"] > .elementor-widget-container { margin: 0; padding: 0; }

/* Basket count from the WooCommerce fragment */
.hx .hx-hdr__basket .hx-cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--hx-leaf); color: var(--hx-forest); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.hx .hx-hdr__basket .hx-cart-count[data-n="0"] { opacity: .85; }

/* Phone menu panel (the mockup's menu button had no panel) */
.hx .hx-mnav { position: fixed; inset: var(--hx-mnav-top, 72px) 0 0; z-index: 59; overflow-y: auto; background: #fff; padding: 12px 24px 32px; border-top: 1px solid var(--hx-line); }
.hx .hx-mnav[hidden] { display: none; }
.hx .hx-mnav > a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--hx-line); font-family: var(--hx-serif); font-size: 22px; font-weight: 600; color: var(--hx-forest); text-decoration: none; }
.hx .hx-mnav > a::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--hx-leaf); border-top: 2px solid var(--hx-leaf); transform: rotate(45deg); }
.hx .hx-mnav__foot { display: grid; gap: 12px; margin-top: 24px; }
.hx .hx-mnav__foot .hx-btn { width: 100%; }
.hx .hx-mnav__meta { margin-top: 20px; font-size: 15px; color: var(--hx-muted); }
.hx .hx-mnav__meta a { color: var(--hx-green); font-weight: 600; }
.hx .hx-hdr__menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.hx .hx-hdr__menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.hx .hx-hdr__menu span { transition: transform .2s; }
@media (min-width: 1021px) { .hx .hx-mnav { display: none !important; } }

/* Hello's reset styles bare buttons/inputs; keep ours as designed. */
.hx button, .hx [type="button"], .hx [type="submit"] { text-transform: none; letter-spacing: normal; }
.hx a:hover, .hx a:active { color: inherit; }
.hx .hx-btn--primary:hover, .hx .hx-btn--primary:focus { color: #fff; }

/* Page head for inner pages (title band) */
.hx .hx-pagehead { position: relative; padding: 72px 0 56px; background: var(--hx-mint); overflow: hidden; }
.hx .hx-pagehead__in { position: relative; max-width: 760px; }
.hx .hx-pagehead__crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--hx-muted); margin-bottom: 16px; }
.hx .hx-pagehead__crumbs a { color: var(--hx-green); font-weight: 600; text-decoration: none; }
.hx .hx-pagehead h1 { font-size: clamp(36px, 4.4vw, 60px); color: var(--hx-forest); letter-spacing: -.02em; }
.hx .hx-pagehead p { margin-top: 14px; font-size: 19px; color: var(--hx-muted); max-width: 620px; }
.hx .hx-pagehead--photo { color: #fff; background: var(--hx-forest); padding: 120px 0 64px; }
.hx .hx-pagehead--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hx .hx-pagehead--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,59,49,.94) 0%, rgba(1,59,49,.72) 50%, rgba(1,59,49,.2) 100%); }
.hx .hx-pagehead--photo .hx-pagehead__in { z-index: 1; }
.hx .hx-pagehead--photo h1 { color: #fff; }
.hx .hx-pagehead--photo p, .hx .hx-pagehead--photo .hx-pagehead__crumbs { color: #d5e8dc; }
.hx .hx-pagehead--photo .hx-pagehead__crumbs a { color: var(--hx-leaf); }
@media (max-width: 640px) {
  .hx .hx-pagehead { padding: 44px 0 36px; }
  .hx .hx-pagehead--photo { padding: 88px 0 40px; }
  .hx .hx-pagehead p { font-size: 16px; }
}

/* Base type for content outside the hx- widgets (donation products, older pages) */
body.hx-site { margin: 0; background: #fff; color: #10221c; font-family: "Figtree", system-ui, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* SkyDonate forms and buttons: they expect buttons to lay their contents out in a row
   (the old theme did that for every button). Our own rules, scoped to SkyDonate markup. */
body.hx-site :where(.donation-form, [class*="elementor-widget-skyweb"], [class*="skydonate"], [class*="sky-donation"], .sky-modal) :is(button, [type="button"], [type="submit"], .button) {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 5px;
	vertical-align: middle; line-height: 1.2; cursor: pointer; text-decoration: none; font-weight: 600; font-size: 13px;
}
body.hx-site :where(.donation-form, [class*="elementor-widget-skyweb"]) :is(button, [type="button"]) > span { display: block; }

/* Batch fixes: leaf buttons whose hover background is white need dark text */
.hx .hx-fundraise .hx-btn--primary:hover, .hx .hx-about-cta .hx-btn--primary:hover,
.hx .hx-fundraise .hx-btn--primary:focus, .hx .hx-about-cta .hx-btn--primary:focus { color: var(--hx-forest); }
.hx .hx-person__photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; }
.hx .hx-news__fine { margin-top: 8px; font-size: 13px; color: var(--hx-muted); }

/* Appeals grid (hub pages: appeals, projects, Ramadan, Qurbani) */
.hx .hx-grid { padding: 72px 0 96px; }
.hx .hx-grid__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.hx .hx-grid__list > li { display: flex; }
.hx .hx-grid__card { width: 100%; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s, box-shadow .2s; }
.hx .hx-grid__card:hover { border-color: var(--hx-leaf); transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(1,59,49,.4); color: inherit; }
.hx .hx-grid__card h3 { font-size: 22px; }
.hx .hx-grid__line { font-size: 15.5px; color: var(--hx-muted); line-height: 1.5; }
.hx .hx-grid__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 15.5px; color: var(--hx-green); }
.hx .hx-grid__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.hx .hx-grid__card:hover .hx-grid__go svg { transform: translateX(4px); }
.hx .hx-grid__noimg { display: block; width: 100%; height: 100%; background: var(--hx-mint); }
.hx .hx-grid__none { color: var(--hx-muted); }
@media (max-width: 1020px) { .hx .hx-grid__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .hx .hx-grid { padding: 48px 0 64px; }
  .hx .hx-grid__list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* Header: slimmer once the page has scrolled (it slides back in compact when scrolling up) */
.hx .hx-hdr__in, .hx .hx-hdr__logo img, .hx .hx-hdr__donate { transition: height .25s ease, min-height .25s ease, padding .25s ease; }
body.hx-site .hx-band.hx-is-compact .hx-hdr__in { height: 64px; }
body.hx-site .hx-band.hx-is-compact .hx-hdr__logo img { height: 42px; }
body.hx-site .hx-band.hx-is-compact .hx-hdr__donate { min-height: 40px; padding: 0 18px; font-size: 15px; }
body.hx-site .hx-band.hx-is-compact .hx-hdr { box-shadow: 0 6px 18px -12px rgba(1,59,49,.35); }
@media (max-width: 640px) {
  body.hx-site .hx-band.hx-is-compact .hx-hdr__in { height: 54px; }
  body.hx-site .hx-band.hx-is-compact .hx-hdr__logo img { height: 34px; }
  body.hx-site .hx-band.hx-is-compact .hx-hdr__donate { min-height: 36px; padding: 0 14px; font-size: 14px; }
}

/* 2.7.0: appeals grid country list */
.hx .hx-grid__countries { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.hx .hx-grid__countries button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--hx-line); border-radius: 999px; background: #fff; color: var(--hx-forest); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.hx .hx-grid__countries button span { min-width: 24px; padding: 2px 7px; border-radius: 999px; background: var(--hx-mint); color: var(--hx-green); font-size: 12.5px; font-weight: 700; text-align: center; }
.hx .hx-grid__countries button:hover { border-color: var(--hx-leaf); }
.hx .hx-grid__countries button.hx-is-on { border-color: var(--hx-forest); background: var(--hx-forest); color: #fff; }
.hx .hx-grid__countries button.hx-is-on span { background: rgba(255,255,255,.18); color: #fff; }
.hx .hx-grid__countries button:focus-visible { outline: 3px solid var(--hx-leaf); outline-offset: 2px; }
.hx .hx-grid__story { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -8px 0 24px; padding: 16px 20px; border-radius: var(--hx-r); background: var(--hx-mint); color: var(--hx-forest); font-weight: 700; text-decoration: none; }
.hx .hx-grid__story[hidden], .hx .hx-grid__list > li[hidden] { display: none; }
.hx .hx-grid__story svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hx .hx-grid__story:hover { background: var(--hx-forest); color: #fff; }
@media (max-width: 767px) {
	.hx .hx-grid__countries { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 22px; padding: 0 16px 4px; scrollbar-width: none; }
	.hx .hx-grid__countries::-webkit-scrollbar { display: none; }
	.hx .hx-grid__countries button { flex: none; }
}

/* 2.8.0: header dropdowns */
.hx .hx-hdr__item { position: relative; display: flex; align-items: center; gap: 2px; }
.hx .hx-hdr__caret { display: grid; place-items: center; width: 22px; height: 28px; padding: 0; border: 0; background: none; color: var(--hx-forest); cursor: pointer; border-radius: 6px; }
.hx .hx-hdr__caret svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.hx .hx-hdr__caret:focus-visible { outline: 2px solid var(--hx-leaf); }
.hx .hx-hdr__drop { position: absolute; top: 100%; left: -18px; z-index: 60; min-width: 250px; padding-top: 14px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility 0s linear .18s; }
.hx .hx-hdr__drop ul { margin: 0; padding: 10px; list-style: none; background: #fff; border: 1px solid var(--hx-line); border-radius: 16px; box-shadow: 0 22px 44px -22px rgba(1,59,49,.45); }
.hx .hx-hdr__drop--two ul { display: grid; grid-template-columns: repeat(2, minmax(190px, 1fr)); column-gap: 6px; }
.hx .hx-hdr__drop a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 0; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--hx-forest); white-space: nowrap; text-decoration: none; }
.hx .hx-hdr__drop a:hover, .hx .hx-hdr__drop a:focus-visible { background: var(--hx-mint); color: var(--hx-forest); border: 0; }
.hx .hx-hdr__drop a span { min-width: 24px; padding: 2px 7px; border-radius: 999px; background: var(--hx-mint); color: var(--hx-green); font-size: 12px; font-weight: 700; text-align: center; }
.hx .hx-hdr__drop a:hover span { background: #fff; }
.hx .hx-hdr__item:hover .hx-hdr__drop, .hx .hx-hdr__item:focus-within .hx-hdr__drop, .hx .hx-hdr__item.hx-is-open .hx-hdr__drop { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.hx .hx-hdr__item:hover .hx-hdr__caret svg, .hx .hx-hdr__item.hx-is-open .hx-hdr__caret svg { transform: rotate(180deg); }
.hx .hx-hdr__item:last-child .hx-hdr__drop { left: auto; right: -18px; }
/* phone menu: dropdown links listed under their item */
.hx .hx-mnav__sub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; padding: 10px 0 14px; border-bottom: 1px solid var(--hx-line); }
.hx .hx-mnav__sub a { padding: 7px 0; font-size: 15.5px; font-weight: 600; color: var(--hx-green); text-decoration: none; }
.hx .hx-mnav > a:has(+ .hx-mnav__sub) { border-bottom: 0; }

/* 2.8.0: Where we work (countries) */
.hx .hx-ctry { padding: 88px 0; }
.hx .hx-ctry__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.hx .hx-ctry .hx-eyebrow { margin: 0 0 10px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hx-green); }
.hx .hx-ctry h2 { margin: 0; }
.hx .hx-ctry__intro { margin: 12px 0 0; max-width: 560px; color: var(--hx-muted); font-size: 17px; }
.hx .hx-ctry__all { display: inline-flex; align-items: center; gap: 8px; flex: none; font-weight: 700; color: var(--hx-green); text-decoration: none; }
.hx .hx-ctry__all svg, .hx .hx-ctry__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hx .hx-ctry__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 16px; margin: 0; padding: 0; list-style: none; }
.hx .hx-ctry__big { grid-column: span 2; grid-row: span 2; }
.hx .hx-ctry__list a { position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--hx-r); background: var(--hx-forest); color: #fff; text-decoration: none; isolation: isolate; }
.hx .hx-ctry__list img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hx .hx-ctry__list a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1,59,49,0) 35%, rgba(1,40,33,.88) 100%); }
.hx .hx-ctry__list a:hover img { transform: scale(1.05); }
.hx .hx-ctry__txt { position: absolute; left: 20px; right: 64px; bottom: 18px; display: grid; gap: 2px; }
.hx .hx-ctry__txt strong { font-family: var(--hx-serif); font-size: 24px; font-weight: 600; line-height: 1.15; }
.hx .hx-ctry__big .hx-ctry__txt strong { font-size: 36px; }
.hx .hx-ctry__txt span { font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,.85); }
.hx .hx-ctry__go { position: absolute; right: 16px; bottom: 18px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.16); backdrop-filter: blur(4px); transition: background .2s; }
.hx .hx-ctry__list a:hover .hx-ctry__go { background: var(--hx-leaf); color: var(--hx-forest); }
.hx .hx-ctry__list a:focus-visible { outline: 3px solid var(--hx-leaf); outline-offset: 3px; }
@media (max-width: 1020px) {
	.hx .hx-ctry__list { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 190px; }
}
@media (max-width: 767px) {
	.hx .hx-ctry { padding: 56px 0; }
	.hx .hx-ctry__head { flex-direction: column; align-items: flex-start; margin-bottom: 22px; }
	.hx .hx-ctry__list { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 10px; }
	.hx .hx-ctry__big { grid-column: span 2; grid-row: span 1; }
	.hx .hx-ctry__big .hx-ctry__txt strong { font-size: 28px; }
	.hx .hx-ctry__txt { left: 14px; right: 14px; bottom: 12px; }
	.hx .hx-ctry__txt strong { font-size: 19px; }
	.hx .hx-ctry__txt span { font-size: 13px; }
	.hx .hx-ctry__go { display: none; }
}
.hx .hx-hdr__drop li.hx-hdr__drop-all { grid-column: 1 / -1; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--hx-line); }
.hx .hx-hdr__drop li.hx-hdr__drop-all a { justify-content: flex-start; color: var(--hx-green); }
.hx .hx-hdr__drop li.hx-hdr__drop-all a::after { content: "→"; font-weight: 700; }
.hx-band.hx-is-hidden .hx .hx-hdr__drop, .hx-band.hx-is-hidden .hx-hdr__drop { opacity: 0 !important; visibility: hidden !important; }
/* 2.9.1: last country tile fills the row */
.hx .hx-ctry__list > li.hx-ctry__last { grid-column: span var(--hx-span-d, 1); }
@media (max-width: 1020px) { .hx .hx-ctry__list > li.hx-ctry__last { grid-column: span var(--hx-span-t, 1); } }
@media (max-width: 767px) { .hx .hx-ctry__list > li.hx-ctry__last { grid-column: span var(--hx-span-m, 1); } }
