/* Toplum Vakfı — inner pages (pages.html), on top of css/styles.css.
   Everything here is prefixed .pg-. Layout follows the Claude Design file "Toplum Vakfi Pages";
   breakpoints as in styles.css (phone < 820px, desktop >= 820px, wide >= 1240px) plus 1000px for two-column pages. */

:root {
  --pg-body: #34496d;
  --pg-card-shadow: 0 10px 28px rgba(11, 42, 91, .08);
  --pg-card-shadow-2: 0 10px 28px rgba(11, 42, 91, .10);
  --pg-dark: linear-gradient(160deg, #06163A, #0B2A5B);
  --pg-danger: #D14B4B;
}

/* the section above the footer is the page background, not white as on the home page */
body[data-page="pages"] .wave--footer { background: var(--bg); }
body[data-page="pages"] main:focus { outline: none; }

.pg-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* current page in the navigation */
.nav__item.is-current > .nav__link { color: var(--blue); }
.nav__item.is-current > .nav__link::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 6px; height: 2px; border-radius: 2px; background: var(--grad);
}
.nav__item > .nav__link { position: relative; }
.nav__kid[aria-current="page"] { background: var(--tint-2); color: var(--blue-strong); }
.mmenu__link[aria-current="page"], .mmenu__kid[aria-current="page"] { color: var(--glow); }
.quick a[aria-current="page"] { color: #fff; }
.mnav a.is-current { color: var(--blue); }

/* ---------- banner ---------- */
.pg-banner { position: relative; overflow: hidden; color: #fff; background: linear-gradient(120deg, #06163A 0%, #0B2A5B 100%); }
.pg-banner__ring {
  position: absolute; top: -120px; inset-inline-start: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 1.5px solid rgba(30, 155, 255, .45); box-shadow: 0 0 40px rgba(30, 155, 255, .25); pointer-events: none;
}
.pg-banner__dot {
  position: absolute; top: 14px; inset-inline-start: 282px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--glow); animation: tvPulse 2.6s ease-in-out infinite; pointer-events: none;
}
.pg-banner__glow {
  position: absolute; bottom: -160px; inset-inline-end: -80px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 155, 255, .35), rgba(30, 155, 255, 0) 70%); pointer-events: none;
}
.pg-banner__in {
  position: relative; max-width: 1360px; margin: 0 auto; padding: 54px var(--gutter) 10px;
  display: flex; flex-direction: column; gap: 10px;
}
.pg-banner__wave { display: block; width: 100%; height: clamp(34px, 5vw, 80px); margin-top: -1px; }
.pg-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; font-weight: 600; color: #9fc3ee; }
.pg-crumbs li { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.pg-crumbs li + li::before { content: '‹'; opacity: .6; }
html[dir="ltr"] .pg-crumbs li + li::before { content: '›'; }
.pg-crumbs a { color: #9fc3ee; }
.pg-crumbs a:hover { color: #fff; }
.pg-crumbs [aria-current] { color: #fff; max-width: min(100%, 60ch); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-title { margin: 4px 0 0; font-size: clamp(30px, 4vw, 56px); font-weight: 900; line-height: 1.25; max-width: 900px; text-wrap: pretty; }
html[dir="ltr"] .pg-title[dir="rtl"] { text-align: left; }
.pg-title:focus { outline: none; }
.pg-title:focus-visible { outline: 2px solid var(--glow); outline-offset: 4px; border-radius: 6px; }
.pg-kicker { margin: 0; max-width: 640px; font-size: 16px; line-height: 1.8; color: #cfe0f7; text-wrap: pretty; }

/* ---------- page body ---------- */
.pg-view { max-width: 1360px; min-height: 40vh; margin: 0 auto; padding: 10px var(--gutter) 60px; }
.pg-stack { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.pg-card { background: #fff; border-radius: 24px; box-shadow: var(--pg-card-shadow); }
.pg-pad { padding: clamp(20px, 3vw, 34px); }
.pg-h2 { margin: 0; font-size: clamp(20px, 2vw, 24px); font-weight: 900; line-height: 1.45; color: var(--text); }
.pg-h2--blue { color: var(--blue-strong); }
.pg-sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.pg-sec-head p { margin: 4px 0 0; color: var(--text-2); font-size: 14.5px; line-height: 1.7; }
.pg-note { margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--text-4); }
.pg-muted { color: var(--text-3); }
.pg-script { font-family: var(--font-script); line-height: 1.3; }
[dir="ltr"] .pg-rtl-inline, .pg-ar { unicode-bidi: isolate; }

/* buttons */
.pg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px;
  padding: 12px 26px; font-size: 15px; font-weight: 900; color: #fff; background: var(--grad); white-space: nowrap; text-align: center;
  box-shadow: 0 10px 24px rgba(30, 155, 255, .35);
}
.pg-btn:hover { color: #fff; filter: brightness(1.08); }
.pg-btn:disabled { opacity: .6; cursor: progress; filter: none; }
.pg-btn--lg { padding: 14px 40px; font-size: 17px; }
.pg-btn--glow { box-shadow: 0 0 24px rgba(0, 180, 255, .55); }
.pg-btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(160, 210, 255, .6); box-shadow: none; }
.pg-btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.pg-btn--line { background: #fff; color: var(--text); border: 1px solid var(--line-2); box-shadow: none; font-weight: 800; }
.pg-btn--line:hover { color: var(--blue-strong); border-color: var(--blue); filter: none; }
.pg-btn--wa { background: #25D366; box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.pg-btn--sm { padding: 9px 18px; font-size: 13.5px; font-weight: 800; }
.pg-btn .ic { flex: none; }
.pg-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pg-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; color: var(--blue); }
.pg-link:hover { color: var(--blue-dark); }

/* empty / notice boxes */
.pg-empty { padding: 40px 24px; text-align: center; color: var(--text-2); font-weight: 700; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pg-empty .pg-script { font-size: 30px; color: var(--blue); font-weight: 400; }
.pg-callout {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 16px; border-radius: 16px;
  background: var(--tint-2); border: 1px solid #CFE3FA; color: var(--text); font-size: 14px; font-weight: 700; line-height: 1.7;
}
.pg-callout .ic { stroke: var(--blue); }
.pg-callout__text { flex: 1 1 220px; min-width: 0; }

/* ---------- side navigation (about, legal) ---------- */
.pg-split { display: flex; flex-direction: column; gap: 20px; }
.pg-side { background: #fff; border-radius: 20px; box-shadow: var(--pg-card-shadow); padding: 8px; }
.pg-side__list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0; padding: 0; list-style: none; }
.pg-side__list::-webkit-scrollbar { display: none; }
.pg-side__link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 12px;
  font-weight: 700; font-size: 14.5px; color: var(--text); white-space: nowrap;
}
.pg-side__link:hover { background: var(--tint); color: var(--text); }
.pg-side__link[aria-current="page"] { background: var(--grad); color: #fff; }
.pg-side__chev { display: none; }
.pg-split__main { min-width: 0; display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 820px) {
  .pg-split { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); align-items: start; gap: 28px; }
  .pg-side { position: sticky; top: 110px; padding: 10px; }
  .pg-side__list { flex-direction: column; overflow: visible; gap: 2px; }
  .pg-side__link { padding: 12px 14px; font-size: 15px; white-space: normal; }
  .pg-side__chev { display: block; }
}

/* ---------- about ---------- */
.pg-intro { display: flex; flex-wrap: wrap; overflow: hidden; }
.pg-intro__media { position: relative; flex: 1 1 300px; min-height: 280px; background: #EAF1FB; }
.pg-intro__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 27% 50%; display: block; }
.pg-intro__body { flex: 1.2 1 320px; min-width: 0; padding: clamp(20px, 3vw, 34px); display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.pg-intro__kicker { font-weight: 800; color: var(--blue); }
.pg-intro__title { margin: 0; font-size: clamp(19px, 1.9vw, 25px); font-weight: 900; line-height: 1.65; text-wrap: pretty; }
.pg-intro__text { margin: 0; color: var(--text-2); line-height: 1.95; font-size: 15px; text-wrap: pretty; }
.pg-intro .pill { align-self: flex-start; }

.pg-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.pg-pillar { display: flex; flex-direction: column; gap: 10px; padding: 24px; color: var(--text); border-radius: 20px; transition: transform .25s; }
.pg-pillar:hover { color: var(--text); transform: translateY(-3px); }
.pg-pillar__ic { width: 52px; height: 52px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; color: var(--blue); }
.pg-pillar__t { margin: 0; font-size: 19px; font-weight: 900; color: var(--blue-strong); }
.pg-pillar__x { margin: 0; font-size: 14px; line-height: 1.85; color: var(--text-2); }

.pg-values__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.pg-values__list li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: var(--tint-2); border: 1px solid #D6E7FB; font-weight: 800; font-size: 14.5px; color: var(--text);
}
html[dir="rtl"] .pg-values__list li { padding: 8px 12px 8px 16px; }
.pg-values__list .ic { stroke: var(--blue); }

.pg-targets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 14px; margin-top: 14px; }
.pg-target { padding: 18px; border-radius: 18px; background: #F5F9FF; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.pg-target__n { font-size: 16.5px; font-weight: 900; color: var(--text); }
.pg-target__d { font-size: 13.5px; line-height: 1.7; color: var(--text-2); }

.pg-help {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px;
  border-radius: 24px; padding: clamp(20px, 3vw, 34px); color: #fff; background: linear-gradient(120deg, #06163A, #0B2A5B);
}
.pg-help__item { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(120, 180, 255, .28); }
.pg-help__t { margin: 0; font-size: 19px; font-weight: 900; }
.pg-help__q { font-family: var(--font-script); font-size: 24px; color: var(--glow); line-height: 1.35; }
.pg-help__x { margin: 0; font-size: 14px; line-height: 1.85; color: #cfe0f7; }
.pg-help__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--glow); font-weight: 800; font-size: 14px; }
.pg-help__cta:hover { color: #fff; }

.pg-story { padding: clamp(20px, 3.4vw, 44px); }
.pg-story__script { font-size: 36px; color: var(--blue); margin-bottom: 10px; }
.pg-story__sec { padding: 18px 0; border-top: 1px solid #EEF3FB; }
.pg-story__h { margin: 0 0 8px; font-size: 21px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.pg-story__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px rgba(30, 155, 255, .7); }
.pg-story__p { margin: 0; font-size: 16px; line-height: 2.05; color: var(--pg-body); text-wrap: pretty; }
html[dir="ltr"] .pg-story__p { line-height: 1.85; }

.pg-quote { position: relative; overflow: hidden; padding: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; gap: 16px; }
.pg-quote__mark { font-size: 96px; line-height: .6; height: 48px; color: var(--blue); font-weight: 900; font-family: Georgia, serif; }
.pg-quote__lead { margin: 0; font-size: clamp(19px, 2vw, 26px); font-weight: 800; line-height: 1.9; color: var(--text); text-wrap: pretty; }
html[dir="ltr"] .pg-quote__lead { line-height: 1.6; }
.pg-quote__rule { width: 64px; height: 4px; border-radius: 4px; background: var(--grad); }
.pg-quote__p { margin: 0; font-size: clamp(15px, 1.3vw, 17px); line-height: 2.1; color: var(--text-2); text-wrap: pretty; }
html[dir="ltr"] .pg-quote__p { line-height: 1.85; }
.pg-quote__sign { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line-3); }
.pg-quote__sign .pg-script { font-size: 28px; color: var(--blue); }
.pg-quote__sign span:last-child { font-size: 14px; font-weight: 700; color: var(--text-2); }

.pg-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.pg-person { overflow: hidden; text-align: center; border-radius: 22px; }
.pg-person__media { position: relative; aspect-ratio: 4 / 4.4; background: #EAF1FB; }
.pg-person__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-person__media .card-wave { height: 30px; }
.pg-person__body { padding: 6px 16px 20px; }
.pg-person__name { margin: 0; font-size: 18px; font-weight: 900; }
.pg-person__role { margin: 2px 0 0; font-size: 14px; font-weight: 700; color: var(--blue-strong); }

/* ---------- causes ---------- */
.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.pg-chip {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 9px 18px; font-weight: 800; font-size: 14px;
  color: var(--text); background: #fff; border: 1px solid var(--line-2);
}
.pg-chip:hover { border-color: var(--blue); color: var(--blue-strong); }
.pg-chip[aria-current="page"] { color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 6px 16px rgba(30, 155, 255, .35); }
@media (max-width: 819.98px) {
  .pg-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-block: 4px 10px; }
  .pg-chips::-webkit-scrollbar { display: none; }
  .pg-chip { white-space: nowrap; }
}

.pg-feature { display: flex; flex-wrap: wrap; overflow: hidden; }
.pg-feature__media { position: relative; flex: 1 1 320px; min-height: 240px; background: #EAF1FB; }
.pg-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-feature__body { flex: 1.3 1 340px; min-width: 0; padding: clamp(20px, 3vw, 34px); display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.pg-kick { font-size: 12.5px; font-weight: 800; letter-spacing: .02em; color: var(--blue); }
.pg-feature__title { margin: 0; font-size: clamp(22px, 2.4vw, 32px); font-weight: 900; line-height: 1.35; }
.pg-feature__tag { margin: 0; font-family: var(--font-script); font-size: clamp(20px, 2vw, 26px); color: var(--blue-strong); line-height: 1.45; }
.pg-feature__text { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.85; text-wrap: pretty; }
.pg-feature__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-meta-chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: var(--tint); padding: 5px 12px; font-size: 13px; font-weight: 800; color: var(--blue-strong); }
.pg-meta-chip .ic { stroke: var(--blue); }

.pg-tracks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.pg-track { display: flex; flex-direction: column; overflow: hidden; color: var(--text); border-radius: 22px; box-shadow: var(--pg-card-shadow-2); background: #fff; transition: transform .25s; }
.pg-track:hover { color: var(--text); transform: translateY(-3px); }
.pg-track__media { position: relative; height: 170px; background: #EAF1FB; }
.pg-track__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-track__media .card-wave { height: 30px; }
.pg-track__ic { position: relative; width: 50px; height: 50px; margin: -34px auto 0; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(30, 155, 255, .3); display: grid; place-items: center; }
.pg-track__body { flex: 1; padding: 8px 18px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pg-track__title { margin: 0; font-size: 17px; font-weight: 900; line-height: 1.5; }
.pg-track__line { margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--text-3); }
.pg-track__foot { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; font-size: 13px; font-weight: 800; }
.pg-track__count { color: var(--text-3); }
.pg-track__go { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); }

.pg-programs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.pg-program { padding: 20px; border-radius: 20px; display: flex; flex-direction: column; gap: 8px; }
.pg-program__name { margin: 0; font-size: 17px; font-weight: 900; line-height: 1.5; }
.pg-program__about { margin: 0; font-size: 14px; line-height: 1.8; color: var(--text-2); }
.pg-figures { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.pg-figure { display: inline-flex; align-items: center; border-radius: 12px; padding: 6px 12px; background: var(--tint); color: var(--blue-strong); font-weight: 900; font-size: 14px; line-height: 1.5; }

.pg-trackhead { display: flex; flex-wrap: wrap; overflow: hidden; }
.pg-trackhead__media { position: relative; flex: 1 1 300px; min-height: 230px; background: #EAF1FB; }
.pg-trackhead__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-trackhead__body { flex: 1.4 1 340px; min-width: 0; padding: clamp(20px, 3vw, 34px); display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.pg-trackhead__line { margin: 0; font-size: clamp(16px, 1.5vw, 19px); font-weight: 800; line-height: 1.8; color: var(--text); text-wrap: pretty; }

/* ---------- cause detail ---------- */
.pg-detail { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "don" "body" "links"; }
.pg-detail__media { grid-area: media; min-width: 0; }
.pg-detail__aside { display: contents; }
.pg-detail__aside > .pg-donbox { grid-area: don; }
.pg-detail__aside > .pg-links { grid-area: links; }
.pg-detail__body { grid-area: body; min-width: 0; }
@media (min-width: 1000px) {
  .pg-detail { grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); grid-template-rows: auto 1fr; grid-template-areas: "media side" "body side"; align-items: start; gap: 22px 28px; }
  .pg-detail__aside { display: flex; flex-direction: column; gap: 18px; grid-area: side; position: sticky; top: 110px; }
}
.pg-hero-img { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #EAF1FB; box-shadow: 0 12px 34px rgba(11, 42, 91, .12); }
.pg-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-hero-img .proj__badge { top: 16px; inset-inline-start: 16px; font-size: 13px; padding: 5px 14px; }

.pg-article { padding: clamp(20px, 3vw, 34px); display: flex; flex-direction: column; gap: 16px; }
.pg-article__p { margin: 0; font-size: 15.5px; line-height: 2; color: var(--pg-body); text-wrap: pretty; }
html[dir="ltr"] .pg-article__p { line-height: 1.8; }
.pg-article__h { margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 22px; font-weight: 900; color: var(--blue-strong); }
.pg-lang-tag { border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 800; color: var(--text-3); background: #EEF3FA; }
.pg-checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.pg-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.9; color: var(--pg-body); }
.pg-checks__ic { flex: none; margin-top: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; }
.pg-facts { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pg-facts li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 12px 14px; border-radius: 14px; background: #F5F9FF; border: 1px solid var(--line); font-size: 14.5px; line-height: 1.75; color: var(--text-2); }
.pg-facts b { color: var(--text); }
.pg-facts a { font-weight: 800; }

.pg-donbox { position: relative; overflow: hidden; color: #fff; border-radius: 24px; padding: 24px; background: var(--pg-dark); box-shadow: 0 16px 40px rgba(6, 22, 58, .25); display: flex; flex-direction: column; gap: 14px; }
.pg-donbox__ring { position: absolute; top: -90px; inset-inline-end: -90px; width: 220px; height: 220px; border-radius: 50%; border: 1.5px solid rgba(30, 155, 255, .5); pointer-events: none; }
.pg-donbox > :not(.pg-donbox__ring) { position: relative; }
.pg-donbox__t { margin: 0; font-size: 20px; font-weight: 900; line-height: 1.5; }
.pg-donbox__bar { height: 10px; border-radius: 9px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.pg-donbox__bar > div { height: 100%; border-radius: 9px; background: var(--grad); box-shadow: 0 0 12px rgba(0, 180, 255, .8); }
.pg-donbox__nums { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; margin-top: -6px; font-size: 13px; font-weight: 700; color: #bcd3f0; }
.pg-donbox__nums b { color: #fff; }
.pg-donbox__direct { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: #cfe0f7; }
.pg-donbox__lbl { font-size: 13px; font-weight: 800; color: #9fc3ee; margin-bottom: -6px; }
.pg-tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pg-tier { text-align: start; border-radius: 14px; padding: 10px 12px; color: #fff; border: 1px solid rgba(160, 210, 255, .3); background: rgba(255, 255, 255, .06); display: flex; flex-direction: column; gap: 2px; }
.pg-tier:hover { border-color: rgba(160, 210, 255, .7); }
.pg-tier[aria-pressed="true"] { background: var(--grad); border-color: #3fb6ff; }
.pg-tier b { font-weight: 900; font-size: 15px; unicode-bidi: isolate; }
html[dir="ltr"] .pg-tier span[lang="ar"] { text-align: left; }
.pg-tier span { font-size: 11.5px; line-height: 1.45; color: #dbe8fa; }
.pg-stepper { display: flex; align-items: center; justify-content: center; gap: 12px; direction: ltr; }
.pg-stepper > button {
  flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(160, 210, 255, .5);
  background: rgba(255, 255, 255, .08); color: #fff; font-size: 22px; line-height: 1;
}
.pg-stepper > button:hover { background: rgba(255, 255, 255, .16); }
.pg-amt { display: flex; align-items: center; justify-content: center; gap: 2px; min-width: 0; flex: 0 1 170px; border-bottom: 2px solid rgba(160, 210, 255, .35); }
.pg-amt:focus-within { border-bottom-color: var(--glow); }
.pg-amt span { font-size: 30px; font-weight: 900; color: var(--glow); }
.pg-amt input {
  width: 100%; min-width: 0; border: 0; background: transparent; color: #fff; text-align: center;
  font-size: 36px; font-weight: 900; padding: 2px 0; outline: none; -moz-appearance: textfield; appearance: textfield;
}
.pg-amt input::-webkit-outer-spin-button, .pg-amt input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pg-donbox__err { margin: 0; font-size: 13px; font-weight: 800; color: #ffb4b4; text-align: center; }
.pg-donbox__actions { display: flex; flex-direction: column; gap: 10px; }
.pg-donbox__actions .pg-btn { width: 100%; }
.pg-donbox__cart { align-self: center; color: var(--glow); font-weight: 800; font-size: 14px; }
.pg-donbox__cart:hover { color: #fff; }
.pg-donbox__paused { margin: 0; border-radius: 12px; padding: 10px 12px; background: rgba(255, 255, 255, .08); font-weight: 800; font-size: 14px; text-align: center; }

.pg-links { padding: 18px; border-radius: 20px; }
.pg-links__t { margin: 0 0 8px; font-size: 17px; font-weight: 900; }
.pg-links ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.pg-links a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--text); font-weight: 700; font-size: 14px; }
.pg-links a:hover { background: var(--tint); color: var(--blue-strong); }
.pg-links a[aria-current="page"] { background: var(--tint); color: var(--blue-strong); }
.pg-links .ic { stroke: var(--blue); }

/* project cards (render.js) on the inner pages */
.pg-view .projects__grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }

/* ---------- impact ---------- */
.pg-mapcard { position: relative; overflow: hidden; border-radius: 24px; padding: 20px clamp(16px, 3vw, 32px); background: radial-gradient(ellipse at 50% 50%, rgba(30, 120, 255, .3), rgba(10, 35, 80, 0) 60%), #0A2350; }
.pg-mapframe { position: relative; width: 100%; aspect-ratio: 1.9 / 1; }
.pg-mapframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; color-scheme: normal; }
.pg-mapcard__q { margin-top: 8px; text-align: center; color: #fff; font-size: 28px; }
@media (max-width: 819.98px) { .pg-mapframe { aspect-ratio: 1.3 / 1; } .pg-mapcard__q { font-size: 22px; } }

.pg-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 14px; }
.pg-stat { padding: 20px 16px; border-radius: 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pg-stat__ic { width: 52px; height: 52px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; }
.pg-stat__num { font-size: clamp(22px, 2.2vw, 30px); font-weight: 900; color: var(--text); direction: ltr; line-height: 1.2; font-variant-numeric: tabular-nums; }
.pg-stat__lbl { font-size: 13.5px; font-weight: 700; line-height: 1.6; color: var(--text-3); }

.pg-regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.pg-region { padding: 20px; border-radius: 20px; display: flex; flex-direction: column; gap: 12px; }
.pg-region__head { display: flex; align-items: center; gap: 10px; }
.pg-region__n { flex: none; min-width: 36px; height: 36px; padding: 0 8px; border-radius: 18px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 15px; direction: ltr; }
.pg-region__t { margin: 0; font-size: 17px; font-weight: 900; }
.pg-places { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pg-places li { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 4px 11px; background: #F5F9FF; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--text); }
.pg-places .ic { stroke: var(--blue); }

.pg-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.pg-photos .field-card { flex: none; width: auto; }

/* ---------- news ---------- */
.pg-note-bar { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 13.5px; font-weight: 700; color: var(--text-3); }
.pg-note-bar .ic { stroke: var(--blue); }
.pg-news { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.pg-newscard { overflow: hidden; display: flex; flex-direction: column; border-radius: 22px; }
.pg-newscard__media { position: relative; display: block; aspect-ratio: 16 / 10; background: #EAF1FB; }
.pg-newscard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-date { display: inline-block; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 800; unicode-bidi: isolate; }
.pg-newscard__media .pg-date { position: absolute; bottom: 12px; inset-inline-start: 12px; background: var(--blue); color: #fff; }
.pg-newscard__body { flex: 1; padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.pg-newscard__title { margin: 0; font-size: 17px; font-weight: 900; line-height: 1.55; text-wrap: pretty; }
.pg-newscard__title a { color: var(--text); }
.pg-newscard__title a:hover { color: var(--blue-strong); }
.pg-newscard__sub { margin: 0; font-size: 14px; line-height: 1.8; color: var(--text-2); }
.pg-newscard__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 800; font-size: 14px; }

.pg-postwrap { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .pg-postwrap { grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); align-items: start; } }
.pg-post { overflow: hidden; }
.pg-post__media { aspect-ratio: 16 / 8; background: #EAF1FB; }
.pg-post__media img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
.pg-post__body { padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; }
.pg-post__body .pg-date { align-self: flex-start; background: var(--tint); color: var(--blue-strong); font-size: 13px; padding: 4px 14px; }
.pg-post__sub { margin: 0; font-size: 19px; font-weight: 800; color: var(--blue-strong); line-height: 1.7; }
.pg-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; font-weight: 800; font-size: 14px; }
.pg-share a { width: 38px; height: 38px; border-radius: 50%; background: var(--tint); color: var(--blue-strong); display: grid; place-items: center; font-weight: 900; font-size: 13px; }
.pg-share a:hover { background: var(--blue); color: #fff; }
.pg-related { display: flex; flex-direction: column; gap: 12px; }
.pg-related__t { margin: 0; font-size: 18px; font-weight: 900; }
.pg-rel { display: flex; gap: 12px; padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(11, 42, 91, .06); color: var(--text); }
.pg-rel:hover { color: var(--blue-strong); }
.pg-rel__img { flex: none; width: 86px; height: 70px; border-radius: 12px; overflow: hidden; background: #EAF1FB; }
.pg-rel__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-rel__date { font-size: 12px; color: var(--text-4); unicode-bidi: isolate; }
.pg-rel__t { font-size: 14px; font-weight: 800; line-height: 1.5; }

/* ---------- stories ---------- */
.pg-vid { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding: clamp(14px, 2vw, 22px); }
.pg-vid__media { position: relative; flex: 1.5 1 420px; min-width: 0; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #06163A; }
.pg-vid__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pg-vid__text { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pg-vid__script { font-size: 32px; color: var(--blue); }
.pg-vid__text p { margin: 0; color: var(--text-2); line-height: 1.9; font-size: 15px; }
.pg-vid__text .pill { align-self: flex-start; }
@media (max-width: 819.98px) { .pg-vid__media { flex-basis: 100%; } }

.pg-storycards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.pg-storycard { overflow: hidden; display: flex; flex-direction: column; border-radius: 22px; }
.pg-storycard__media { position: relative; aspect-ratio: 16 / 10; background: #EAF1FB; }
.pg-storycard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-storycard__body { flex: 1; padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.pg-storycard__t { margin: 0; font-size: 17px; font-weight: 900; line-height: 1.55; }
.pg-storycard__q { margin: 0; font-size: 14.5px; line-height: 1.9; color: var(--text-2); }
.pg-storycard .pill { align-self: flex-start; margin-top: auto; }
@media (min-width: 820px) {
  .pg-storycards--one { grid-template-columns: minmax(0, 1fr); }
  .pg-storycards--one .pg-storycard { flex-direction: row; }
  .pg-storycards--one .pg-storycard__media { flex: 1 1 45%; aspect-ratio: auto; min-height: 280px; }
  .pg-storycards--one .pg-storycard__body { flex: 1 1 55%; justify-content: center; padding: clamp(20px, 3vw, 34px); }
  .pg-storycards--one .pg-storycard__t { font-size: 21px; }
  .pg-storycards--one .pg-storycard__q { font-size: 16px; }
  .pg-storycards--one .pill { margin-top: 6px; }
}
.pg-voice { padding: 22px; border-radius: 22px; display: flex; flex-direction: column; gap: 12px; }
.pg-voice__q { margin: 0; font-size: 15.5px; line-height: 1.9; color: var(--pg-body); }
.pg-voice__who { display: flex; align-items: center; gap: 10px; }

/* ---------- transparency ---------- */
.pg-reg { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding: clamp(20px, 3vw, 34px); background: linear-gradient(160deg, #fff 40%, #E6F1FF); }
.pg-reg__shield { flex: none; filter: drop-shadow(0 8px 16px rgba(30, 155, 255, .4)); }
.pg-reg__main { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pg-reg__p { margin: 0; font-size: 16px; line-height: 1.9; color: var(--pg-body); }
.pg-facts-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pg-fact { background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 10px 16px; min-width: 0; }
.pg-fact__k { font-size: 12px; font-weight: 700; color: var(--text-4); }
.pg-fact__v { font-weight: 900; color: var(--text); }
.pg-badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pg-badge { padding: 22px; border-radius: 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-weight: 900; font-size: 15px; }
.pg-badge__ic { width: 64px; height: 64px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; }
.pg-aff { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.pg-aff__card { padding: clamp(20px, 2.6vw, 28px); border-radius: 22px; display: flex; flex-direction: column; gap: 12px; }
.pg-aff__t { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 900; }
.pg-aff__t .ic { stroke: var(--blue); }
.pg-aff ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pg-aff li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 700; line-height: 1.7; }
.pg-aff li::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--blue); }
.pg-sdgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
.pg-sdg { display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.pg-sdg__n { display: flex; align-items: baseline; gap: 6px; padding: 12px 14px; color: #fff; font-weight: 900; font-size: 13px; }
.pg-sdg__n b { font-size: 30px; line-height: 1; }
.pg-sdg__t { padding: 10px 14px 14px; font-size: 13.5px; font-weight: 800; line-height: 1.55; color: var(--text); }
.pg-docs { display: flex; flex-direction: column; gap: 14px; }
.pg-docs .policies { border-top: 0; padding-top: 0; }

/* ---------- forms (contact, checkout) ---------- */
.pg-form { padding: clamp(20px, 3vw, 34px); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.pg-fs { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pg-fs > legend { padding: 0; margin: 0 0 12px; font-size: 20px; font-weight: 900; color: var(--text); }
.pg-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.pg-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pg-field--full { grid-column: 1 / -1; }
.pg-field > label, .pg-lbl { font-weight: 700; font-size: 14px; color: var(--text); }
.pg-req { color: var(--pg-danger); }
.pg-input, .pg-select, .pg-textarea {
  width: 100%; min-width: 0; border: 1px solid var(--line-2); background: var(--field); border-radius: 14px; padding: 12px 14px;
  font: inherit; font-size: 15px; color: var(--text); outline: none;
}
.pg-input:focus, .pg-select:focus, .pg-textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 155, 255, .15); }
.pg-textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
.pg-select { appearance: none; -webkit-appearance: none; padding-inline-end: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230B2A5B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
html[dir="rtl"] .pg-select { background-position: left 16px center; }
.pg-input[dir="ltr"] { text-align: left; }
html[dir="rtl"] .pg-input[dir="ltr"] { text-align: right; }
.pg-input[aria-invalid="true"], .pg-textarea[aria-invalid="true"], .pg-select[aria-invalid="true"] { border-color: var(--pg-danger); box-shadow: 0 0 0 3px rgba(209, 75, 75, .12); }
.pg-err { margin: 0; font-size: 13px; font-weight: 700; color: var(--pg-danger); }
.pg-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.75; color: var(--pg-body); cursor: pointer; }
.pg-check input { flex: none; width: 18px; height: 18px; margin-top: 4px; accent-color: var(--blue-strong); cursor: pointer; }
.pg-check a { font-weight: 800; }
.pg-hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.pg-form__foot { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.pg-status-msg { margin: 0; font-size: 14px; font-weight: 700; color: var(--text-3); }
.pg-status-msg:empty { display: none; }

/* ---------- contact ---------- */
.pg-contact { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .pg-contact { grid-template-columns: minmax(0, 1.3fr) minmax(300px, 1fr); align-items: stretch; } }
.pg-contact__script { font-size: 30px; color: var(--blue); }
.pg-contact__title { margin: -8px 0 0; font-size: 22px; font-weight: 900; }
.pg-sent { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; background: var(--tint); border-radius: 16px; padding: 22px; font-weight: 800; color: var(--blue-strong); line-height: 1.8; }
.pg-infos { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pg-info { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 8px 22px rgba(11, 42, 91, .06); color: var(--text); min-width: 0; }
a.pg-info:hover { color: var(--blue-strong); }
.pg-info__ic { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; }
.pg-info__ic .ic { stroke: var(--blue); }
.pg-info--wa .pg-info__ic { background: #E6F9EE; }
.pg-info--wa .pg-info__ic .ic { stroke: #1FA855; }
.pg-info__k { font-size: 12.5px; font-weight: 700; color: var(--text-4); }
.pg-info__v { font-weight: 800; overflow-wrap: anywhere; }
.pg-map { flex: 1; min-height: 240px; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 22px rgba(11, 42, 91, .08); background: #fff; display: flex; flex-direction: column; }
.pg-map iframe { flex: 1; width: 100%; min-height: 240px; border: 0; display: block; }
.pg-map__ph { flex: 1; min-height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; background: linear-gradient(160deg, #F5F9FF, #E6F1FF); }
.pg-map__ph .ic { stroke: var(--blue); }
.pg-map__ph p { margin: 0; font-size: 13px; color: var(--text-3); }

/* ---------- cart ---------- */
.pg-cart { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .pg-cart { grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); align-items: start; } }
.pg-items { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; min-width: 0; }
.pg-items:focus { outline: none; }
.pg-item { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; background: #fff; border-radius: 18px; padding: 12px; box-shadow: 0 8px 22px rgba(11, 42, 91, .06); }
.pg-item__img { position: relative; flex: none; width: 96px; height: 72px; border-radius: 12px; overflow: hidden; background: #EAF1FB; display: grid; place-items: center; }
.pg-item__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pg-item__img--icon { background: linear-gradient(135deg, #06163A, #0B2A5B); }
.pg-item__img--icon .ic { stroke: #fff; }
.pg-item__main { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pg-item__kind { font-size: 11.5px; font-weight: 800; color: var(--blue); }
.pg-item__title { font-weight: 800; color: var(--text); line-height: 1.5; }
a.pg-item__title:hover { color: var(--blue-strong); }
.pg-item__meta { font-size: 12.5px; color: var(--text-3); line-height: 1.6; overflow-wrap: anywhere; }
.pg-item__ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.pg-item .amount-field { width: 140px; }
.pg-item .amount-field input { padding: 9px 6px; font-weight: 800; }
.pg-item .amount-field[data-invalid] { border-color: var(--pg-danger); }
.pg-item__total { font-weight: 900; unicode-bidi: isolate; min-width: 64px; text-align: end; }
.pg-remove { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #F3D3D3; background: #fff; color: var(--pg-danger); display: grid; place-items: center; }
.pg-remove:hover { background: #FDECEC; }
@media (max-width: 559.98px) {
  .pg-item__ctl { flex-basis: 100%; justify-content: space-between; }
}

.pg-summary { color: #fff; border-radius: 24px; padding: 24px; background: var(--pg-dark); display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 1000px) { .pg-summary { position: sticky; top: 110px; } }
.pg-summary__t { margin: 0; font-size: 20px; font-weight: 900; }
.pg-summary__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: #cfe0f7; }
.pg-summary__row b { flex: none; color: #fff; unicode-bidi: isolate; }
.pg-summary__lines { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pg-summary__lines li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; line-height: 1.6; color: #cfe0f7; }
.pg-summary__lines li b { flex: none; color: #fff; unicode-bidi: isolate; }
.pg-summary__freq { display: inline-block; margin-inline-start: 6px; border-radius: 999px; padding: 1px 8px; background: rgba(127, 214, 255, .16); color: var(--glow); font-size: 11.5px; font-weight: 800; }
.pg-summary__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 20px; font-weight: 900; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 12px; }
.pg-summary__total output { unicode-bidi: isolate; }
.pg-summary .pg-btn { width: 100%; }
.pg-summary__link { text-align: center; color: #9fcfff; font-weight: 700; font-size: 14px; }
.pg-summary__link:hover { color: #fff; }
.pg-summary__secure { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #9fc3ee; }
a.pg-btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ---------- checkout ---------- */
.pg-amounts { display: flex; flex-wrap: wrap; gap: 8px; direction: ltr; }
html[dir="rtl"] .pg-amounts { justify-content: flex-end; }
.pg-amount-chip { border-radius: 999px; padding: 9px 20px; font-weight: 900; font-size: 15px; color: var(--blue-strong); border: 1.5px solid var(--blue); background: #fff; }
.pg-amount-chip:hover { background: var(--tint-2); }
.pg-amount-chip[aria-pressed="true"] { color: #fff; background: var(--grad); border-color: transparent; }
.pg-amount-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.pg-amount-row .amount-field { flex: 0 1 220px; }
.pg-seg { align-self: flex-start; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--field); border: 1px solid var(--line-2); }
.pg-seg label { position: relative; cursor: pointer; }
.pg-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pg-seg span { display: block; border-radius: 999px; padding: 7px 18px; font-weight: 800; font-size: 14px; color: var(--text); }
.pg-seg input:checked + span { background: var(--grad); color: #fff; }
.pg-seg input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.pg-chosen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 14px 16px; border-radius: 16px; background: var(--tint-2); border: 1px solid #CFE3FA; }
.pg-chosen__t { flex: 1 1 200px; min-width: 0; font-weight: 900; font-size: 16px; line-height: 1.6; }
.pg-chosen__amt { font-size: 18px; font-weight: 900; unicode-bidi: isolate; }
.pg-badge-freq { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 12px; background: var(--tint); color: var(--blue-strong); font-weight: 800; font-size: 13px; align-self: flex-start; }
.pg-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.pg-method { position: relative; cursor: pointer; }
.pg-method input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pg-method__box { display: flex; align-items: center; gap: 12px; height: 100%; border-radius: 16px; padding: 14px 16px; border: 2px solid var(--line-2); background: #fff; color: var(--text); }
.pg-method__dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; }
.pg-method__dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: transparent; }
.pg-method__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pg-method__txt b { font-size: 15px; }
.pg-method__txt small { font-size: 12px; color: var(--text-4); }
.pg-method__box > .ic { stroke: var(--text-3); }
.pg-method input:checked + .pg-method__box { border-color: var(--blue); background: #F2F8FF; }
.pg-method input:checked + .pg-method__box .pg-method__dot { border-color: var(--blue); }
.pg-method input:checked + .pg-method__box .pg-method__dot::after { background: var(--blue); }
.pg-method input:checked + .pg-method__box > .ic { stroke: var(--blue); }
.pg-method input:focus-visible + .pg-method__box { outline: 2px solid var(--blue); outline-offset: 2px; }
.pg-panel { border: 1px solid var(--line-2); border-radius: 18px; padding: 16px; background: var(--field); display: flex; flex-direction: column; gap: 12px; }
.pg-panel__row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.8; color: var(--pg-body); }
.pg-panel__row .ic { flex: none; margin-top: 4px; stroke: var(--blue); }
.pg-alert { display: flex; flex-direction: column; gap: 10px; border-radius: 16px; padding: 16px; background: #FFF6E5; border: 1px solid #F5D9A6; color: #6B4A00; font-size: 14px; line-height: 1.8; }
.pg-alert b { font-size: 15px; color: #5A3E00; }
.pg-alert--err { background: #FDECEC; border-color: #F3C8C8; color: #8A2E2E; }
.pg-bank { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.pg-bank__acct { background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.pg-bank__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; font-size: 14px; }
.pg-bank__row > span:first-child { color: var(--text-4); font-weight: 700; }
.pg-bank__val { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; overflow-wrap: anywhere; }
.pg-copy { border: 1px solid var(--blue); background: #fff; color: var(--blue-strong); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 800; }
.pg-copy:hover { background: var(--tint); }
.pg-donform .pg-btn--lg { align-self: flex-start; }
@media (max-width: 559.98px) { .pg-donform .pg-btn--lg { align-self: stretch; } }

/* ---------- status pages (thanks, failed, 404, search) ---------- */
.pg-status { max-width: 680px; margin: 0 auto; padding: clamp(28px, 5vw, 60px); display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.pg-status__ic { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-diag); box-shadow: 0 0 30px rgba(0, 180, 255, .5); }
.pg-status__ic--warn { background: #FDECEC; box-shadow: none; color: var(--pg-danger); font-size: 36px; font-weight: 900; }
.pg-status__ic--wait { background: var(--tint); box-shadow: none; }
.pg-status__title { margin: 0; font-size: 26px; font-weight: 900; }
.pg-status__text { margin: 0; font-size: 15.5px; line-height: 1.9; color: var(--text-2); text-wrap: pretty; }
.pg-status__chip { border-radius: 999px; padding: 6px 18px; background: var(--tint); color: var(--blue-strong); font-weight: 900; unicode-bidi: isolate; }
.pg-status .pg-actions { justify-content: center; }
.pg-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(30, 155, 255, .25); border-top-color: var(--blue); animation: tvSpin 1s linear infinite; }
.pg-nf__code { font-size: clamp(64px, 10vw, 110px); font-weight: 900; line-height: 1; direction: ltr; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pg-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pg-pills a { display: inline-block; border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 18px; font-weight: 800; font-size: 14px; color: var(--text); background: #fff; }
.pg-pills a:hover { border-color: var(--blue); color: var(--blue-strong); }

.pg-search { display: flex; flex-direction: column; gap: 18px; max-width: 900px; }
.pg-searchbar { display: flex; background: #fff; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 5px; box-shadow: var(--pg-card-shadow); }
.pg-searchbar:focus-within { border-color: var(--blue); }
.pg-searchbar input { flex: 1; min-width: 0; border: 0; outline: none; background: none; padding: 12px 18px; font: inherit; font-size: 16px; color: var(--text); }
.pg-searchbar input::-webkit-search-cancel-button { cursor: pointer; }
.pg-searchbar button { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--grad-diag); color: #fff; }
.pg-search__count { margin: 0; font-size: 14px; color: var(--text-3); font-weight: 700; }
.pg-results { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.pg-result { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 20px; background: #fff; box-shadow: var(--pg-card-shadow); color: var(--text); }
.pg-result:hover { color: var(--blue-strong); }
.pg-result__type { flex: none; border-radius: 999px; padding: 3px 12px; font-size: 12px; font-weight: 800; background: var(--tint); color: var(--blue-strong); }
.pg-result__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pg-result__main b { font-size: 15.5px; line-height: 1.6; }
.pg-result__main span { font-size: 13px; color: var(--text-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- events ---------- */
.pg-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.pg-event { overflow: hidden; display: flex; flex-direction: column; color: var(--text); border-radius: 24px; }
.pg-event:hover { color: var(--text); box-shadow: 0 16px 36px rgba(11, 42, 91, .14); }
.pg-event__media { position: relative; aspect-ratio: 555 / 330; background: linear-gradient(120deg, #0B2A5B, #1E7BFF); }
.pg-event__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-event__day { position: absolute; top: 14px; inset-inline-start: 14px; background: #fff; border-radius: 14px; padding: 6px 12px; text-align: center; line-height: 1.2; }
.pg-event__day b { display: block; font-size: 22px; color: var(--blue-strong); }
.pg-event__day span { font-size: 12px; font-weight: 800; }
.pg-event__body { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.pg-event__t { font-size: 17px; font-weight: 900; line-height: 1.6; }
.pg-event__meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; font-weight: 700; color: var(--text-3); }
.pg-event__past { align-self: flex-start; border-radius: 999px; padding: 2px 10px; font-size: 11.5px; font-weight: 800; background: #EEF1F5; color: var(--text-3); }

/* ---------- inline pieces rendered as spans ---------- */
.pg-rel__txt { min-width: 0; }
.pg-rel__date, .pg-rel__t, .pg-info__k, .pg-info__v { display: block; }
.pg-voice { margin: 0; }
.pg-voice .story__name, .pg-voice .story__role { display: block; }
.pg-sdg__t small { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 800; color: var(--text-3); }
.pg-sent:focus, .pg-status:focus { outline: none; }

/* ---------- legal ---------- */
.pg-legal { padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.pg-legal__p { margin: 0; font-size: 15px; line-height: 1.95; color: var(--pg-body); text-align: start; white-space: pre-line; }

/* ---------- responsive ---------- */
@media (max-width: 819.98px) {
  .pg-banner__in { padding: 26px 16px 6px; }
  .pg-banner__ring { width: 300px; height: 300px; top: -110px; inset-inline-start: -130px; }
  .pg-banner__dot { display: none; }
  .pg-view { padding-top: 6px; }
  .pg-intro__media { min-height: 220px; }
  .pg-story__script { font-size: 30px; }
  .pg-quote__mark { font-size: 76px; height: 38px; }
  .pg-status__title { font-size: 22px; }
  .pg-feature__media, .pg-trackhead__media { min-height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-banner__dot { box-shadow: 0 0 10px 3px rgba(0, 180, 255, .7); }
  .pg-spin { animation: none; border-top-color: rgba(30, 155, 255, .25); }
}
