/* Shared style for every monthly Buletin Al Qomroh Peduli edition (static/laporan-kegiatan/YYYY-MM.html).
   Change the design here; each edition file only holds its content. */

/* Fonts are served from this site (OFL 1.1, from Fontsource), so the page works under a strict font-src 'self' */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/laporan-kegiatan/fonts/plus-jakarta-sans-latin-wght-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-display: swap;
  font-weight: 200 800;
  src: url(/laporan-kegiatan/fonts/plus-jakarta-sans-latin-wght-italic.woff2) format('woff2');
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url(/laporan-kegiatan/fonts/cinzel-latin-wght-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Merriweather';
  font-style: italic;
  font-display: swap;
  font-weight: 300 900;
  src: url(/laporan-kegiatan/fonts/merriweather-latin-wght-italic.woff2) format('woff2');
}

:root {
  --teal: #084E69;
  --teal-dark: #042836;
  --teal-mid: #0B6487;
  --gold: #D4B87B;
  --gold-light: #F7EAC8;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --water: #0891b2;
  --bazar: #b45309;
  --santunan: #be185d;
  --ambulans: #dc2626;
  --toren: #1d4ed8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #0b1e28;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  padding: 24px 12px 48px;
  -webkit-font-smoothing: antialiased;
}

.flyer {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  background: #f4f8fa;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

/* Header: masthead with a soft geometric pattern and a wave into the body */
.header {
  position: relative;
  overflow: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 4 34 22 52 28 34 34 28 52 22 34 4 28 22 22Z' fill='none' stroke='%23F7EAC8' stroke-opacity='0.1' stroke-width='1.4'/%3E%3C/svg%3E"),
                    radial-gradient(circle at 50% 0%, rgba(212, 184, 123, 0.32), transparent 55%),
                    linear-gradient(160deg, var(--teal-dark) 0%, var(--teal) 55%, var(--teal-mid) 100%);
  background-repeat: repeat, no-repeat, no-repeat;
  background-size: 56px 56px, 100% 100%, 100% 100%;
  color: #fff;
  padding: 0 48px 92px;
  text-align: center;
}
.header > * { position: relative; }
.masthead-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 14px;
  border-bottom: 1px solid rgba(212, 184, 123, 0.45);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.masthead-bar span:last-child { color: #a5d8e8; }
.logo-ring {
  width: 108px;
  height: 108px;
  margin: 26px auto 0;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(212, 184, 123, 0.18), 0 10px 26px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-ring img { width: 76px; height: auto; display: block; }
.title-kicker {
  margin-top: 22px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.6em;
  padding-left: 0.6em;
  color: var(--gold);
}
.title {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 62px;
  line-height: 1.02;
  margin-top: 4px;
  letter-spacing: 0.03em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 18px auto 0;
  max-width: 420px;
}
.ornament i { flex: 1; height: 2px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament i:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament b { width: 12px; height: 12px; background: var(--gold); transform: rotate(45deg); }
.period {
  display: inline-block;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  color: var(--teal-dark);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 26px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.subtitle {
  margin-top: 14px;
  font-size: 15px;
  color: #cfe8f2;
}
/* A soft arc into the body; border-radius renders the same in the browser and in html2canvas */
.header::after {
  content: '';
  position: absolute;
  left: -15%;
  right: -15%;
  bottom: -1px;
  height: 64px;
  background: #f4f8fa;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* Content: soft panels with uneven corners, numbered section heads, tilted polaroid photos */
main {
  padding: 10px 36px 6px;
  display: grid;
  gap: 26px;
  background-image:
    radial-gradient(circle at 0% 6%, rgba(8, 145, 178, 0.10), transparent 30%),
    radial-gradient(circle at 100% 30%, rgba(29, 78, 216, 0.08), transparent 28%),
    radial-gradient(circle at 0% 60%, rgba(190, 24, 93, 0.07), transparent 30%),
    radial-gradient(circle at 100% 86%, rgba(220, 38, 38, 0.07), transparent 28%);
}

.air { --c: #0891b2; --c-deep: #0e7490; --c-soft: #cffafe; }
.toren { --c: #1d4ed8; --c-deep: #1e40af; --c-soft: #dbeafe; }
.bazar { --c: #b45309; --c-deep: #92400e; --c-soft: #fef3c7; }
.santunan { --c: #be185d; --c-deep: #9d174d; --c-soft: #fce7f3; }
.ambulans { --c: #fecaca; --c-deep: #fff; --c-soft: rgba(255, 255, 255, 0.14); }

.panel {
  position: relative;
  background: linear-gradient(135deg, var(--c-soft) 0%, #ffffff 62%);
  border-radius: 34px 34px 34px 10px;
  padding: 22px 26px 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}
.panel.flip { border-radius: 34px 34px 10px 34px; background: linear-gradient(225deg, var(--c-soft) 0%, #ffffff 62%); }

.sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sec-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 5px var(--c-soft);
}
.sec-kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c); }
.sec-title { font-size: 24px; font-weight: 800; line-height: 1.1; color: var(--ink); }
.sec-line { flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--c), transparent); opacity: 0.35; }
.sec-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: #fff;
  color: var(--c);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}
.sec-icon svg { width: 22px; height: 22px; }

.polaroid {
  background: #fff;
  padding: 9px 9px 0;
  border-radius: 6px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
  width: 240px;
  flex-shrink: 0;
}
/* Photos are pre-cropped to the frame ratio: html2canvas ignores object-fit, so a mismatched photo would be squashed in the PNG */
.polaroid img { width: 222px; height: 168px; object-fit: cover; display: block; border-radius: 3px; }
.polaroid figcaption {
  font-family: 'Merriweather', serif;
  font-style: italic;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  padding: 8px 4px 11px;
  line-height: 1.35;
}
.tilt-l { transform: rotate(-2.5deg); }
.tilt-r { transform: rotate(2.5deg); }

.split { display: flex; gap: 28px; align-items: center; }
.grow { flex: 1; }

.hero-num { font-size: 44px; font-weight: 800; color: var(--c-deep); line-height: 1; letter-spacing: -0.01em; }
.hero-num small { font-size: 18px; font-weight: 800; margin-left: 4px; }
.hero-cap { font-size: 14px; font-weight: 700; color: var(--muted); margin-top: 4px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  background: #fff;
  border: 1px solid var(--c-soft);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 13px;
  color: var(--muted);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}
.chip b { color: var(--c-deep); font-size: 15px; margin-right: 3px; }

/* flex + fit-content, not inline-flex: html2canvas drops the children of an inline-flex box placed after block siblings */
.money {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  background: var(--teal-dark);
  color: #cfe8f2;
  border-radius: 999px;
  padding: 8px 8px 8px 18px;
  font-size: 13px;
}
.money b {
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  color: var(--teal-dark);
  font-size: 18px;
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 14px;
}

.bubble {
  margin-top: 14px;
  background: #fff;
  border-radius: 18px 18px 18px 4px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #155e75;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.bubble strong { color: var(--c-deep); }

.stamp {
  display: inline-block;
  border: 2px dashed var(--c);
  color: var(--c-deep);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-4deg);
  background: rgba(255, 255, 255, 0.7);
}
.partner {
  display: inline-block;
  margin-top: 12px;
  background: var(--c);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  border-radius: 999px;
  padding: 7px 15px;
}
.note { font-size: 14px; color: var(--muted); line-height: 1.5; }
.mt { margin-top: 10px; }


/* Bazar */
.badge-circle {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--c);
  color: var(--c-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(10deg);
  box-shadow: 0 6px 14px rgba(180, 83, 9, 0.2);
}
.badge-circle b { font-size: 21px; font-weight: 800; line-height: 1; }
.badge-circle small { font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 3px; }
.bazar .sec-head { padding-right: 96px; }
.bazar .hero-num { font-size: 36px; margin-top: 4px; }
.track { margin-top: 14px; height: 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.12); overflow: hidden; }
.track i { display: block; height: 100%; width: 100%; border-radius: 999px; background: linear-gradient(90deg, #fbbf24, var(--c)); }
.track-label { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 6px; }
.bazar .partner { background: #0891b2; }
.bazar-body { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; padding-right: 104px; }
.bazar .track { margin-top: 0; }

/* Santunan */
.people { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 6px 0 14px; }
.person { text-align: center; }
.person b {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f472b6, var(--c));
  color: #fff;
  font-size: 40px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  box-shadow: 0 0 0 6px #fff, 0 8px 18px rgba(190, 24, 93, 0.25);
}
.person small { font-size: 13px; font-weight: 800; color: var(--c-deep); }
.amp { font-family: 'Cinzel', serif; font-size: 30px; font-weight: 900; color: var(--c); opacity: 0.5; margin-bottom: 22px; }
.center { text-align: center; }
.amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  background: #fff;
  border-radius: 16px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}
.amount b { font-size: 18px; color: var(--c-deep); }
.amount + .amount { margin-top: 8px; }
.amount.total { background: var(--c); color: #fde7f3; }
.amount.total b { color: #fff; font-size: 20px; }
/* The collage is 730x830, so the frame keeps that ratio (html2canvas ignores object-fit) */
.santunan .polaroid { width: 318px; }
.santunan .polaroid img { width: 300px; height: 341px; }

/* Ambulans */
.ambulans.panel {
  background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.16), transparent 40%),
              linear-gradient(120deg, #7f1d1d 0%, #b91c1c 55%, #dc2626 100%);
  color: #fff;
  box-shadow: 0 14px 32px rgba(127, 29, 29, 0.3);
}
.ambulans .sec-title { color: #fff; }
.ambulans .sec-num { background: #fff; color: #b91c1c; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.2); }
.ambulans .sec-line { background: linear-gradient(90deg, #fff, transparent); }
.ambulans .sec-icon { background: rgba(255, 255, 255, 0.16); color: #fff; box-shadow: none; }
.ambulans .polaroid { width: 170px; }
.ambulans .polaroid img { width: 152px; height: 190px; }
.ambulans .note { color: #fee2e2; font-size: 16px; }
.services { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.services span {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 5px 12px;
}
/* block + fit-content for the same html2canvas reason as .money */
.cta {
  display: block;
  width: fit-content;
  margin-top: 16px;
  background: #fff;
  color: #b91c1c;
  border-radius: 16px;
  padding: 8px 16px;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}
.cta small { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #7f1d1d; }
.cta b { font-size: 18px; font-weight: 800; }

/* Penutup */
.dalil {
  text-align: center;
  padding: 18px 40px 6px;
  font-family: 'Merriweather', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--teal);
  line-height: 1.6;
}
.dalil .arab {
  display: block;
  font-family: 'Geeza Pro', 'Noto Naskh Arabic', 'Amiri', 'Traditional Arabic', serif;
  font-style: normal;
  font-size: 30px;
  line-height: 1.6;
  color: var(--teal-dark);
  margin-bottom: 4px;
}
.dalil small { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 4px; }

.footer {
  margin-top: 22px;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: #fff;
  padding: 26px 40px 28px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}
.rek small { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); }
.rek-number { font-size: 34px; font-weight: 800; letter-spacing: 0.04em; color: var(--gold); margin: 2px 0; }
.rek p { font-size: 14px; color: #cfe8f2; }
/* All unique codes on one full-width row: four columns, read left to right */
.codes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.codes span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 5px 10px;
  font-size: 13px;
}
.codes b { color: var(--gold); font-family: ui-monospace, monospace; }
.contact { text-align: right; font-size: 14px; line-height: 1.7; color: #cfe8f2; }
.contact b { color: #fff; font-size: 18px; }
.contact .org { margin-top: 8px; font-size: 12px; color: #a5d8e8; }

/* Janaiz */
.janaiz { --c: #0f766e; --c-deep: #115e59; --c-soft: #ccfbf1; }
.janaiz-body { display: flex; align-items: center; gap: 20px; }
.janaiz-count { text-align: center; flex-shrink: 0; }
.janaiz-count b { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #14b8a6, var(--c)); color: #fff; font-size: 30px; font-weight: 800; box-shadow: 0 0 0 4px #fff, 0 6px 12px rgba(15, 118, 110, 0.25); margin: 0 auto 4px; }
.janaiz-count small { font-size: 12px; font-weight: 800; color: var(--c-deep); }
.janaiz-steps span { background: #fff; color: var(--c-deep); border-color: #99f6e4; }
.doa { margin-top: 10px; font-family: 'Merriweather', serif; font-style: italic; font-size: 13px; color: var(--c-deep); }

/* Compact layout: shorter header and tighter panels */
.header { padding: 0 40px 50px; }
.masthead-bar { padding: 12px 0 10px; }
.masthead-main { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 18px; }
.logo-ring { width: 84px; height: 84px; margin: 0; flex-shrink: 0; }
.logo-ring img { width: 58px; }
.title-kicker { margin-top: 0; font-size: 16px; text-align: left; padding-left: 0; }
.title { font-size: 48px; margin-top: 2px; text-align: left; }
.ornament { margin: 10px 0 0; max-width: none; gap: 10px; }
.ornament b { width: 8px; height: 8px; }
.period { margin-top: 0; font-size: 14px; padding: 5px 16px; box-shadow: none; }
.header::after { height: 34px; }
main { gap: 16px; padding-top: 4px; }
.panel { padding: 16px 22px 18px; }
.sec-head { margin-bottom: 8px; }
.sec-num { width: 36px; height: 36px; font-size: 14px; }
.sec-title { font-size: 21px; }
.sec-icon { width: 34px; height: 34px; }
.polaroid { width: 196px; padding: 7px 7px 0; }
.polaroid img { width: 182px; height: 138px; }
.polaroid figcaption { padding: 6px 4px 8px; font-size: 11px; }
.hero-num { font-size: 36px; }
.chips, .money, .bubble { margin-top: 8px; }
.split { gap: 22px; }
.santunan .polaroid { width: 244px; }
.santunan .polaroid img { width: 230px; height: 261px; }
.people { margin: 0 0 8px; }
.person b { width: 58px; height: 58px; font-size: 28px; margin-bottom: 4px; box-shadow: 0 0 0 4px #fff, 0 6px 12px rgba(190, 24, 93, 0.22); }
.amp { font-size: 22px; margin-bottom: 18px; }
.amount { padding: 7px 12px; margin-top: 8px; }
.amount + .amount { margin-top: 6px; }
.ambulans .polaroid { width: 132px; }
.ambulans .polaroid img { width: 118px; height: 148px; }
.cta { margin-top: 10px; }
.badge-circle { width: 76px; height: 76px; top: 14px; }
.badge-circle b { font-size: 18px; }
.dalil { padding: 10px 40px 0; }
.dalil .arab { font-size: 24px; line-height: 1.4; margin-bottom: 0; }
.footer { margin-top: 14px; padding: 18px 40px 20px; }
.rek-number { font-size: 28px; }
.contact { line-height: 1.5; }

/* Pairs: two panels side by side on wide screens */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.pair .split { gap: 14px; }
.pair .polaroid { width: 150px; padding: 6px 6px 0; }
.pair .polaroid img { width: 138px; height: 104px; }
.pair .hero-num { font-size: 30px; }
.pair .sec-title { font-size: 18px; }
.pair .sec-line { display: none; }
.pair .bazar-body { grid-template-columns: 1fr; gap: 10px; padding-right: 0; }
.pair .bazar .sec-head { padding-right: 80px; }
.pair .badge-circle { width: 68px; height: 68px; }
.pair .badge-circle b { font-size: 15px; }
.pair .janaiz-count { display: none; }
.pair .ambulans .polaroid { width: 110px; }
.pair .ambulans .polaroid img { width: 98px; height: 123px; }
.pair .ambulans .note { font-size: 14px; }
.santunan .polaroid { width: 204px; }
.santunan .polaroid img { width: 190px; height: 216px; }

/* Tighter layout: keeps every text and photo, trims height */
.header { padding: 0 36px 36px; }
.masthead-bar { padding: 10px 0 8px; font-size: 11px; }
.masthead-main { margin-top: 12px; gap: 18px; }
.logo-ring { width: 68px; height: 68px; border-width: 3px; box-shadow: 0 0 0 6px rgba(212, 184, 123, 0.18), 0 8px 20px rgba(0, 0, 0, 0.3); }
.logo-ring img { width: 48px; }
.title-kicker { font-size: 14px; }
.title { font-size: 40px; }
.ornament { margin-top: 8px; }
.period { font-size: 13px; padding: 4px 14px; }
.header::after { height: 26px; }
main { gap: 12px; padding: 2px 30px 4px; }
.panel { padding: 13px 20px 15px; }
.sec-head { margin-bottom: 6px; gap: 10px; }
.sec-num { width: 32px; height: 32px; font-size: 13px; box-shadow: 0 0 0 4px var(--c-soft); }
.sec-kicker { font-size: 10px; }
.sec-title { font-size: 19px; }
.sec-icon { width: 30px; height: 30px; border-radius: 10px; }
.sec-icon svg { width: 18px; height: 18px; }
.polaroid { width: 166px; padding: 6px 6px 0; }
.polaroid img { width: 154px; height: 117px; }
.polaroid figcaption { padding: 5px 3px 6px; font-size: 10px; }
.hero-num { font-size: 32px; }
.hero-num small { font-size: 15px; }
.hero-cap { font-size: 13px; margin-top: 2px; }
.chips { margin-top: 6px; gap: 6px; }
.chip { padding: 4px 11px; font-size: 12px; }
.money { margin-top: 8px; padding: 5px 5px 5px 14px; font-size: 12px; }
.money b { font-size: 16px; padding: 4px 12px; }
.bubble { margin-top: 8px; padding: 7px 12px; font-size: 12px; }
.split { gap: 18px; }
.note { font-size: 13px; line-height: 1.45; }
.mt { margin-top: 6px; }
.partner { margin-top: 8px; font-size: 12px; padding: 5px 13px; }
.stamp { padding: 3px 11px; font-size: 10px; }
.pair { gap: 12px; }
.pair .polaroid { width: 132px; padding: 5px 5px 0; }
.pair .polaroid img { width: 122px; height: 92px; }
.pair .hero-num { font-size: 26px; }
.pair .sec-title { font-size: 17px; }
.pair .badge-circle { width: 60px; height: 60px; top: 10px; right: 12px; }
.pair .badge-circle b { font-size: 13px; }
.pair .badge-circle small { font-size: 8px; }
.pair .bazar .sec-head { padding-right: 66px; }
.track { height: 11px; }
.services { margin-top: 6px; gap: 5px; }
.services span { padding: 3px 10px; font-size: 11px; }
.doa { margin-top: 6px; font-size: 12px; }
.pair .ambulans .polaroid { width: 96px; }
.pair .ambulans .polaroid img { width: 86px; height: 108px; }
.pair .ambulans .note { font-size: 13px; }
.cta { margin-top: 8px; padding: 6px 12px; border-radius: 12px; }
.cta small { font-size: 10px; }
.cta b { font-size: 15px; }
.santunan-row { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin-top: 8px; }
.santunan-row .people { margin: 0; gap: 8px; }
.person b { width: 52px; height: 52px; font-size: 25px; }
.person small { font-size: 11px; }
.amp { font-size: 18px; margin-bottom: 16px; }
.amount { padding: 5px 12px; margin-top: 0; font-size: 12px; }
.amount + .amount { margin-top: 5px; }
.amount b { font-size: 15px; }
.amount.total b { font-size: 17px; }
.santunan .polaroid { width: 148px; }
.santunan .polaroid img { width: 136px; height: 155px; }
.dalil { padding: 8px 40px 0; font-size: 14px; }
.dalil small { font-size: 11px; margin-top: 2px; }
.footer { margin-top: 10px; padding: 14px 36px 16px; row-gap: 10px; }
.rek small { font-size: 11px; }
.rek-number { font-size: 24px; margin: 0; }
.rek p { font-size: 12px; }
.contact { font-size: 12px; line-height: 1.45; }
.contact b { font-size: 16px; }
.contact .org { margin-top: 4px; font-size: 11px; }
.codes { grid-template-columns: repeat(8, 1fr); gap: 6px; }
.codes span { padding: 4px 6px; font-size: 11.5px; text-align: center; white-space: nowrap; border-radius: 8px; }

/* Karpet masjid */
.karpet { --c: #4338ca; --c-deep: #3730a3; --c-soft: #e0e7ff; }
.karpet-body { display: grid; grid-template-columns: auto 0.75fr 1.35fr 1fr; gap: 16px; align-items: center; }
.karpet .amount span { padding-right: 8px; }
.karpet .amount b, .karpet .track-label span { white-space: nowrap; }
.karpet .amount + .amount { margin-top: 5px; }
.karpet .track { margin-top: 8px; }
.karpet .track i { background: linear-gradient(90deg, #818cf8, var(--c)); }
.karpet-thanks { background: #fff; border-radius: 16px 16px 16px 4px; padding: 10px 13px; font-size: 12.5px; line-height: 1.45; color: var(--c-deep); box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06); }
.karpet-thanks strong { color: var(--c); }
.karpet-thanks p { margin-top: 6px; color: var(--muted); }

@media (max-width: 760px) {
  .header { padding: 0 18px 42px; }
  .masthead-main { gap: 12px; }
  .logo-ring { width: 60px; height: 60px; }
  .logo-ring img { width: 42px; }
  .title { font-size: 26px; }
  .title-kicker { font-size: 12px; }
  .period { font-size: 12px; padding: 4px 12px; }
  .masthead-bar { font-size: 10px; letter-spacing: 0.12em; }
  main { padding: 6px 14px 4px; gap: 18px; }
  .panel { padding: 18px 16px 20px; }
  .split { flex-direction: column; align-items: stretch; gap: 18px; }
  .toren .split { flex-direction: column-reverse; }
  .polaroid { margin: 0 auto; }
  .footer, .bazar-body { grid-template-columns: 1fr; }
  .bazar-body { gap: 14px; padding-right: 0; }
  .santunan .polaroid { width: 100%; max-width: 318px; }
  .santunan .polaroid img { width: 100%; height: auto; }
  .sec-title { font-size: 20px; }
  .sec-line { display: none; }
  .hero-num { font-size: 34px; }
  .bazar .hero-num { font-size: 30px; }
  .badge-circle { width: 72px; height: 72px; top: 14px; right: 14px; }
  .badge-circle b { font-size: 17px; }
  .bazar .sec-head { padding-right: 78px; }
  .bazar .sec-line { display: none; }
  .pair { grid-template-columns: 1fr; }
  .janaiz-body { flex-direction: column; }
  .money { flex-wrap: wrap; border-radius: 18px; }
  .footer { padding: 22px 20px; }
  .contact { text-align: left; }
  .codes { grid-template-columns: repeat(2, 1fr); }
  .dalil { padding: 14px 18px 4px; }
  .santunan-row { grid-template-columns: 1fr; gap: 10px; }
  .santunan-row .people { justify-content: center; }
  .codes { grid-template-columns: repeat(2, 1fr); }
  .codes span { text-align: left; }
  .title { font-size: 26px; }
  .logo-ring { width: 56px; height: 56px; }
  .logo-ring img { width: 40px; }
  .karpet-body { grid-template-columns: 1fr; gap: 12px; }
}
