/* ==========================================================================
   Kitabisa Blog — sliced from Figma "CF Improvements (Copy)", section 912:28830
   Desktop design at 1440px (1248px content). Tokens mirror Figma 1:1.
   ========================================================================== */

:root {
  /* Brand */
  --c-primary: #10a8e5;
  --c-primary-dark: #0e97ce;
  --c-primary-deep: #0b75a0;
  --c-primary-light: #3fb9ea;
  --c-primary-50: #e6f5fb;
  --c-sky: #d3edfa;
  --c-cta-bg: #e0f2fe;
  --c-navy: #123a66;
  --c-blue-ink: #1775d1;
  --c-blue-50: #ecf5fc;
  --c-purple: #8c65cb;
  --c-pink: #c42d60;
  --c-success: #269966;

  /* Text */
  --c-ink: #172438;
  --c-text: #3a3a3a;
  --c-text-body: #4a4a4a;
  --c-text-2: #616b7a;
  --c-text-3: #9aa3af;
  --c-text-4: #6a6a6a;
  --c-text-5: #989898;
  --c-text-num: #737880;
  --c-text-muted: #6b7280;
  --c-text-dark: #3c3c3c;
  --c-footer-link: #cfe3f3;

  /* Surfaces & lines */
  --c-white: #fff;
  --c-bg-soft: #f8f8f8;
  --c-bg-cool: #f8fafc;
  --c-bg-tile: #fafafc;
  --c-bg-gray: #f7f7fa;
  --c-bg-coal: #f2f3f4;
  --c-primary-25: #eaf7fd;
  --c-bg-media: #e0e3e8;
  --c-warn-bg: #fff8e8;
  --c-border: #e7e9ec;
  --c-border-2: #e6eaef;
  --c-border-3: #e5e5eb;
  --c-border-4: #e8e8e8;
  --c-border-select: #d8d8d8;
  --c-badge-gray: #d1d6de;

  /* Effects */
  --shadow-search: 0 6px 20px rgba(15, 20, 31, .08);
  --grad-video: linear-gradient(180deg, #1d2d43 0%, #10609c 100%);
  --grad-article: linear-gradient(180deg, #4492ec 0%, #10a8e5 100%);

  --font: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1248px;
  --container-narrow: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--c-text); background: var(--c-white); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.container--narrow { width: min(var(--container-narrow), 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 8px; font-size: 14px; line-height: normal; font-weight: 700; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--c-primary); color: var(--c-white); padding: 10px 22px; }
.btn--primary:hover { background: var(--c-primary-dark); }
.btn--lg { padding: 14px 22px; font-size: 16px; line-height: 22px; font-weight: 600; }
.btn--md { padding: 14px 16px; line-height: 20px; }
.btn--outline { background: var(--c-white); color: var(--c-primary); border: 1px solid var(--c-border-3); padding: 13px 16px; line-height: 20px; }
.btn--outline:hover { border-color: var(--c-primary); }
.btn--sq { border-radius: 4px; }

.link { color: var(--c-primary); font-size: 14px; font-weight: 700; line-height: normal; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Figma note: blog-page cards include strokes in layout (CSS border); Trust-page cards do not (inset outline). */

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--c-white); border-bottom: 1px solid var(--c-border); }
.site-header__row { height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 8px; flex: none; }
.brand img { width: 112px; height: 24px; }
.brand span { font-size: 22px; font-weight: 600; color: var(--c-text); line-height: normal; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 14.5px; color: var(--c-text); line-height: normal; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--c-primary); }
.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header-search { display: flex; align-items: center; gap: 6px; font-size: 14.5px; line-height: normal; }
.header-search img { width: 18px; height: 18px; }
.header-search:hover { color: var(--c-primary); }
.menu-toggle { display: none; width: 40px; height: 40px; border-radius: 8px; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: var(--c-text); border-radius: 2px; position: relative; content: ""; }
.menu-toggle span::before { position: absolute; top: -6px; } .menu-toggle span::after { position: absolute; top: 6px; }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; padding: 7px 15px; border-radius: 999px;
  background: var(--c-primary); color: var(--c-white);
  font-size: 12px; font-weight: 600; letter-spacing: .06em; line-height: normal; text-transform: uppercase;
}
.eyebrow--warn { background: var(--c-warn-bg); color: var(--c-text); }
.eyebrow--navy { background: var(--c-navy); padding: 6px 14px; }
.tag {
  display: inline-flex; align-self: flex-start; padding: 4px 11px; border-radius: 999px;
  background: var(--c-primary-50); color: var(--c-primary);
  font-size: 11px; font-weight: 600; letter-spacing: .05em; line-height: normal;
}
.pill {
  display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px;
  background: var(--c-primary-50); color: var(--c-text);
  font-size: 13px; font-weight: 600; line-height: normal;
}
.pill:hover { background: var(--c-sky); }
.pill--sm { padding: 6px 14px; font-size: 12.5px; }
.pill--outline { background: var(--c-white); border: 1px solid var(--c-border); padding: 10px 18px; font-size: 14px; }
.pill--outline:hover { border-color: var(--c-primary); background: var(--c-white); color: var(--c-primary); }
.pill--chip { background: var(--c-white); padding: 6px 13px; font-size: 12.5px; }
.label-caps { font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--c-text-2); line-height: normal; }

.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.h-section { font-size: 32px; font-weight: 700; letter-spacing: -.02em; line-height: normal; color: var(--c-text); }
.h-sub { font-size: 22px; font-weight: 700; line-height: 26px; }

/* Article card (grid of 4) */
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.post-card__img { aspect-ratio: 297 / 210; width: 100%; border-radius: 16px; object-fit: cover; background: var(--c-primary-50); transition: transform .3s; }
.post-card__media { border-radius: 16px; overflow: hidden; }
.post-card:hover .post-card__img { transform: scale(1.03); }
.post-card__title { font-size: 16px; line-height: 21.6px; font-weight: 600; color: var(--c-text); }
.post-card:hover .post-card__title { color: var(--c-primary); }

/* ---------- Contact CTA (shared) ---------- */
.contact { padding: 40px 0; }
.contact__box {
  display: grid; grid-template-columns: 200px 1fr 200px; align-items: center; gap: 40px;
  padding: 32px 48px; border-radius: 32px;
  background: var(--c-cta-bg); box-shadow: inset 0 -6px 0 var(--c-primary-light);
}
.contact__box > img { width: 200px; height: 200px; }
.contact__body { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.contact__title { font-size: 36px; font-weight: 700; letter-spacing: -.02em; line-height: normal; }
.contact__text { margin-top: 12px; font-size: 15px; line-height: 22px; color: var(--c-text-4); max-width: 480px; margin-inline: auto; }
.contact__text a { color: var(--c-primary); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-primary-dark); color: var(--c-white); }
.site-footer__top { display: grid; grid-template-columns: 280px repeat(3, minmax(0, 1fr)); gap: 40px; padding: 52px 0 28px; }
.site-footer__brand img { width: 120px; height: 26px; }
.site-footer__brand p { margin-top: 14px; max-width: 230px; font-size: 13px; line-height: 20.8px; color: var(--c-footer-link); }
.site-footer h3 { font-size: 12px; line-height: 17px; font-weight: 600; }
.site-footer ul { margin-top: 12px; display: flex; flex-direction: column; gap: 12px; }
.site-footer li { line-height: 16px; }
.site-footer li a { font-size: 13.5px; line-height: 16px; color: var(--c-footer-link); }
.site-footer li a:hover { color: var(--c-white); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); }
.site-footer__bottom p { padding: 18px 0; font-size: 12px; line-height: normal; }

/* ==========================================================================
   Landing
   ========================================================================== */
.hero { padding: 48px 0; }
.hero__row { display: grid; grid-template-columns: 760fr 460fr; gap: 28px; }
.hero__row--single { grid-template-columns: minmax(0, 1fr); }
.feature-card {
  position: relative; min-height: 460px; border-radius: 24px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 36px;
  color: var(--c-white); isolation: isolate;
}
.feature-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.feature-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 53.7%; z-index: -1; background: linear-gradient(180deg, rgba(58,58,58,0) 0%, #3a3a3a 100%); }
.feature-card:hover .feature-card__img { transform: scale(1.02); }
.feature-card__content { max-width: 500px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.feature-card__title { font-size: 32px; line-height: 40.96px; font-weight: 700; }
.topics { display: flex; flex-direction: column; gap: 14px; }
.topic {
  flex: 1; display: flex; align-items: center; gap: 14px; padding: 18px;
  border: 1px solid var(--c-border); border-radius: 8px; background: var(--c-white);
  transition: border-color .15s;
}
.topic:hover { border-color: var(--c-primary-light); }
.topic__icon { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--c-primary-50); display: grid; place-items: center; }
.topic__icon img { width: 20px; height: 20px; }
.topic__kicker { font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--c-primary); line-height: normal; }
.topic__title { margin-top: 4px; font-size: 15px; font-weight: 600; line-height: normal; }
.topics .btn { flex: none; }

.populer { padding-top: 56px; }
.populer .card-grid, .others .card-grid { margin-top: 22px; }
.guides { padding-top: 64px; }
.guides__grid { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.guide {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 26px;
  border: 1px solid var(--c-border); border-radius: 18px; background: var(--c-white);
  transition: border-color .15s;
}
.guide:hover { border-color: var(--c-primary-light); }
.guide__icon { width: 44px; height: 44px; border-radius: 999px; background: var(--c-primary-50); display: grid; place-items: center; }
.guide__icon img { width: 20px; height: 20px; }
.guide__title { font-size: 17px; font-weight: 700; line-height: normal; }
.guide__text { max-width: 228px; font-size: 13.5px; line-height: 20.25px; color: var(--c-text-2); }

.main-guide { padding-top: 64px; }
.banner {
  position: relative; min-height: 320px; border-radius: 24px; overflow: hidden; isolation: isolate;
  background: var(--c-sky); display: flex; align-items: center; padding: 0 48px;
}
.banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--c-primary-50) 0%, rgba(230,245,251,0) 100%); }
.banner__content { max-width: 460px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.banner__title { max-width: 440px; font-size: 29px; line-height: 38.28px; font-weight: 700; }

.others { padding-top: 64px; }
.themes { padding: 64px 0 72px; }
.themes__card {
  margin-top: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 32px;
  border: 1px solid var(--c-border); border-radius: 20px;
}
.themes__col h3 { margin-bottom: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; max-width: 260px; }

/* ==========================================================================
   Article detail
   ========================================================================== */
.article-hero { padding-top: 40px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; line-height: normal; color: var(--c-text-2); }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb .sep { color: var(--c-text-3); }
.breadcrumb [aria-current] { color: var(--c-text); font-weight: 600; }
.article-hero .eyebrow { margin-top: 22px; }
.article-title { margin-top: 22px; font-size: 40px; line-height: 48.8px; font-weight: 700; }
.meta-row { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.author { display: flex; align-items: center; gap: 12px; }
.author__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--c-sky); flex: none; }
.author__name { font-size: 14px; font-weight: 600; line-height: normal; }
.author__meta { margin-top: 2px; display: flex; gap: 8px; font-size: 13px; line-height: normal; color: var(--c-text-2); }
.author__meta .dot { color: var(--c-text-3); }
.share { display: flex; gap: 10px; }
.share a { width: 38px; height: 38px; border-radius: 999px; background: var(--c-primary-50); display: grid; place-items: center; }
.share a:hover { background: var(--c-sky); }
.share img { width: 16px; height: 16px; }
.article-cover { margin-top: 22px; position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 1248 / 520; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-cover::after { content: ""; position: absolute; left: 0; bottom: 0; width: 60.9%; height: 47.5%; background: linear-gradient(180deg, rgba(58,58,58,0) 0%, #3a3a3a 100%); pointer-events: none; }

.article-layout { padding-top: 48px; display: grid; grid-template-columns: minmax(0, 832fr) 360fr; gap: 56px; align-items: start; }
/* Block flow (not flex) so Classic-editor floats (alignleft/alignright) work; 22px rhythm from Figma */
.prose { display: flow-root; font-size: 16px; line-height: 28px; }
.prose > * + * { margin-top: 22px; }
.prose h2 { font-size: 24px; line-height: 31.2px; font-weight: 700; scroll-margin-top: 100px; }
.prose > ul { display: flex; flex-direction: column; gap: 10px; }
.prose > ul > li { position: relative; min-height: 26px; padding-left: 16px; line-height: 25.6px; }
.prose > ul > li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary); }
.prose blockquote { padding: 26px 28px; border-radius: 16px; background: var(--c-primary-50); font-size: 18px; line-height: 26.1px; font-weight: 600; }
.article-tags { display: flex; align-items: center; gap: 10px; }
.article-tags > span { font-size: 12px; font-weight: 600; color: var(--c-text-2); line-height: normal; }
.article-tags ul { display: flex; flex-wrap: wrap; gap: 8px; }
.article-divider { height: 1px; background: var(--c-border); border: 0; margin: 0; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav a {
  display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 98px; padding: 20px 22px;
  border: 1px solid var(--c-border); border-radius: 16px; transition: border-color .15s;
}
.post-nav a:hover { border-color: var(--c-primary-light); }
.post-nav small { font-size: 12px; font-weight: 600; color: var(--c-primary); line-height: normal; }
.post-nav strong { max-width: 280px; font-size: 15px; font-weight: 600; line-height: normal; }
.post-nav a:last-child { align-items: flex-end; text-align: right; }

.sidebar { position: sticky; top: 101px; display: flex; flex-direction: column; gap: 20px; }
.widget { display: flex; flex-direction: column; gap: 14px; padding: 22px; border: 1px solid var(--c-border); border-radius: 18px; }
.toc { display: flex; flex-direction: column; gap: 14px; }
.toc a { font-size: 14px; line-height: 20.3px; font-weight: 600; color: var(--c-primary); }
.toc a:hover { text-decoration: underline; }
.cat-list { display: flex; flex-direction: column; gap: 14px; }
.cat-list a { display: flex; justify-content: space-between; align-items: center; font-size: 14px; line-height: normal; }
.cat-list a:hover { color: var(--c-primary); }
.cat-list span { font-size: 13px; font-weight: 600; color: var(--c-text-3); }

.related { padding: 72px 0 64px; }
.related .card-grid { margin-top: 22px; }
.h-related { font-size: 27px; font-weight: 700; line-height: normal; }

.comments { padding: 64px 0 72px; }
.comments__title { font-size: 24px; font-weight: 700; line-height: normal; }
.comment-list { margin-top: 28px; display: flex; flex-direction: column; gap: 22px; max-width: 730px; }
.comment { display: flex; gap: 14px; }
.comment--reply { padding-left: 48px; }
.comment__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--c-sky); flex: none; }
.comment__meta { display: flex; align-items: center; gap: 8px; }
.comment__meta { height: 17px; }
.comment__meta b { font-size: 14px; font-weight: 600; line-height: 17px; }
.comment__meta time { font-size: 12.5px; color: var(--c-text-3); line-height: normal; }
.comment__text { margin-top: 4px; font-size: 14.5px; line-height: 22px; }
.comment__reply { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--c-primary); line-height: 15px; }
.comment-form { margin-top: 28px; padding: 28px; border-radius: 18px; background: var(--c-primary-50); display: flex; flex-direction: column; gap: 16px; }
.comment-form h3 { font-size: 18px; font-weight: 700; line-height: 21px; }
.comment-form label { display: block; }
.comment-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field {
  width: 100%; padding: 12px 16px; border: 1px solid var(--c-border); border-radius: 10px; background: var(--c-white);
  font-size: 14px; line-height: normal; color: var(--c-text);
}
.field::placeholder { color: var(--c-text-3); }
.field:focus { outline: none; border-color: var(--c-primary); }
textarea.field { display: block; min-height: 71px; resize: vertical; padding-bottom: 12px; }
.comment-form .btn { align-self: flex-start; padding: 12px 26px; }

/* ==========================================================================
   Search
   ========================================================================== */
.search-hero { background: var(--c-primary-50); padding: 56px 0 48px; text-align: center; }
.search-hero h1 { font-size: 32px; font-weight: 700; line-height: normal; }
.search-bar {
  margin-top: 22px; display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 22px;
  background: var(--c-white); border-radius: 16px; box-shadow: var(--shadow-search); text-align: left;
}
.search-bar img { width: 20px; height: 20px; flex: none; }
.search-bar input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; line-height: normal; color: var(--c-text); }
.search-bar input::placeholder { color: var(--c-text-3); }
.search-bar .btn { border-radius: 10px; padding: 12px 22px; }
.popular-searches { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.popular-searches > span { font-size: 13.5px; color: var(--c-text-2); line-height: normal; }

.results { padding: 40px 0 64px; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; }
.filters { display: flex; flex-direction: column; gap: 20px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: normal; cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box { width: 18px; height: 18px; flex: none; border-radius: 5px; border: 1.4px solid var(--c-border); background: var(--c-white); display: grid; place-items: center; }
.check__box img { width: 11px; height: 11px; opacity: 0; }
.check input:checked + .check__box { background: var(--c-primary); border-color: var(--c-primary); }
.check input:checked + .check__box img { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.check__label { flex: 1; }
.check__count { font-size: 12.5px; font-weight: 600; color: var(--c-text-3); }
.select { position: relative; }
.select select {
  appearance: none; width: 100%; padding: 10px 36px 10px 14px; border: 1px solid var(--c-border-select); border-radius: 10px;
  background: var(--c-white); font-size: 13.5px; font-weight: 600; line-height: normal; cursor: pointer;
}
.select img { position: absolute; right: 14px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); pointer-events: none; }
.results__title { font-size: 20px; font-weight: 700; line-height: normal; }
.result-list { margin-top: 24px; display: flex; flex-direction: column; gap: 24px; }
.result {
  display: flex; gap: 20px; padding: 18px; border: 1px solid var(--c-border); border-radius: 16px; transition: border-color .15s;
}
.result:hover { border-color: var(--c-primary-light); }
.result__thumb { width: 140px; height: 100px; flex: none; border-radius: 12px; background: var(--c-primary-50); object-fit: cover; }
.result__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.result__title { font-size: 17px; line-height: 23px; font-weight: 700; }
.result:hover .result__title { color: var(--c-primary); }
.result__excerpt { font-size: 14px; line-height: 22px; color: var(--c-text-2); }
.result__meta { display: flex; gap: 8px; font-size: 12.5px; color: var(--c-text-3); line-height: normal; }
.pagination { margin-top: 24px; display: flex; gap: 8px; }
.pagination a, .pagination span {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px;
  border: 1px solid var(--c-border); font-size: 13.5px; font-weight: 600; line-height: normal;
}
.pagination [aria-current] { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-white); }
.pagination a:hover { border-color: var(--c-primary); color: var(--c-primary); }

.browse { padding-top: 48px; }
.browse .pills-row { margin-top: 18px; }
.pills-row { display: flex; flex-wrap: wrap; gap: 12px; }
.latest { padding: 40px 0 64px; }
.latest .card-grid { margin-top: 22px; }

.empty { padding: 64px 0 48px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.empty__icon { width: 72px; height: 72px; border-radius: 999px; background: var(--c-primary-50); display: grid; place-items: center; }
.empty__icon img { width: 32px; height: 32px; }
.empty h1 { font-size: 24px; font-weight: 700; line-height: normal; }
.empty p { max-width: 440px; font-size: 15px; line-height: normal; color: var(--c-text-2); }
.empty .pills-row { justify-content: center; }
.fallback { padding: 24px 0 64px; }
.fallback .card-grid { margin-top: 22px; }

/* ==========================================================================
   Menjaga Amanah Donatur (Trust & Transparency)
   ========================================================================== */
.t-section { padding: 96px 0; }
.t-h1 { font-size: 48px; font-weight: 700; letter-spacing: -.02em; line-height: normal; }
.t-lead { margin-top: 16px; max-width: 760px; font-size: 16px; line-height: 22px; color: var(--c-text-2); }
.t-lead--wide { max-width: none; }

.t-hero { padding: 100px 0; background: linear-gradient(180deg, var(--c-white) 0%, var(--c-primary-50) 100%); }
.t-hero__row { display: grid; grid-template-columns: 640fr 480fr; gap: 80px; align-items: center; }
.t-kicker { display: inline-flex; padding: 6px 12px; border-radius: 14px; background: var(--c-white); color: var(--c-primary); font-size: 12px; line-height: 17px; font-weight: 600; }
.t-hero h1 { margin-top: 20px; font-size: 48px; font-weight: 700; letter-spacing: -.02em; line-height: normal; }
.t-hero p { margin-top: 20px; font-size: 16px; line-height: 22px; color: var(--c-text-2); }
.t-hero__actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 16px; }
.t-hero__art img { display: block; width: 100%; height: auto; }

/* Ethics */
.t-ethics { background: var(--c-primary-50); }
.ethics { margin-top: 40px; display: grid; grid-template-columns: 420fr 756fr; gap: 24px; align-items: start; }
.ethics__nav { padding: 24px; outline: 1px solid var(--c-border-2); outline-offset: -1px; border-radius: 20px; background: var(--c-white); display: flex; flex-direction: column; gap: 12px; }
.ethics__item { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 12px; border-radius: 12px; text-align: left; font-size: 14px; line-height: 19px; font-weight: 500; color: var(--c-ink); transition: background-color .15s; }
.ethics__item:hover { background: var(--c-primary-50); }
.ethics__num { width: 26px; height: 26px; flex: none; border-radius: 999px; background: var(--c-primary-50); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--c-primary); }
.ethics__item[aria-selected="true"] { background: var(--c-primary); color: var(--c-white); font-weight: 600; padding: 14px; }
.ethics__panel { padding: 40px; outline: 1px solid var(--c-border-2); outline-offset: -1px; border-radius: 20px; background: var(--c-white); display: flex; flex-direction: column; gap: 16px; }
.ethics__panel[hidden] { display: none; }
.ethics__panel h3 { font-size: 28px; line-height: 35px; font-weight: 700; color: var(--c-ink); }
.ethics__panel > p { font-size: 15px; line-height: 23px; color: var(--c-text-2); }
.callout { padding: 28px; border-radius: 16px; background: var(--c-primary-50); display: flex; flex-direction: column; gap: 16px; }
.callout h4 { font-size: 16px; font-weight: 700; color: var(--c-primary); line-height: normal; }
.dot-list { display: flex; flex-direction: column; gap: 16px; }
.dot-list li { position: relative; padding-left: 19px; font-size: 14px; line-height: 22px; color: var(--c-text-body); }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--c-primary); }
.notice { margin-top: 40px; padding: 30px; border-radius: 20px; background: var(--c-warn-bg); display: flex; gap: 14px; font-size: 16px; line-height: 22px; }
.notice img { width: 32px; height: 32px; flex: none; }

/* Verification tabs */
.t-verify { padding: 90px 0; }
.t-verify .t-lead { margin-top: 10px; max-width: none; }
.stepper { margin-top: 32px; display: grid; grid-template-columns: 320px minmax(0, 1fr); outline: 1px solid var(--c-border-3); outline-offset: -1px; border-radius: 16px; overflow: hidden; }
.stepper__list { padding: 16px; background: var(--c-bg-tile); border-right: 1px solid var(--c-border-3); display: flex; flex-direction: column; gap: 4px; }
.stepper__tab { flex: 1; min-height: 92px; display: flex; align-items: center; gap: 12px; padding: 24px; border-radius: 10px; text-align: left; transition: background-color .15s; }
.stepper__tab:hover { background: rgba(16,168,229,.06); }
.stepper__num { width: 24px; height: 24px; flex: none; border-radius: 12px; background: var(--c-badge-gray); color: var(--c-text-num); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.stepper__tab b { display: block; font-size: 13px; line-height: 17px; font-weight: 600; color: var(--c-ink); }
.stepper__label { flex: 1; min-width: 0; }
.stepper__icon { width: 24px; height: 24px; flex: none; }
.stepper__tab small { display: block; margin-top: 2px; font-size: 10.5px; line-height: 14px; color: var(--c-text-2); }
.stepper__tab[aria-selected="true"] { background: var(--c-primary-50); }
.stepper__tab[aria-selected="true"] .stepper__num { background: var(--c-primary); color: var(--c-white); }
.stepper__tab[aria-selected="true"] b { color: var(--c-primary); }
.stepper__tab[aria-selected="true"] small { display: none; }
.stepper__panel { padding: 40px 48px; display: flex; flex-direction: column; gap: 16px; }
.stepper__panel[hidden] { display: none; }
.stepper__panel h3 { font-size: 32px; font-weight: 700; letter-spacing: -.02em; line-height: normal; color: var(--c-ink); }
.stepper__illus { align-self: flex-start; width: auto; height: 180px; }
.stepper__panel > p { font-size: 14px; line-height: 20px; color: var(--c-text-2); }
.checks { padding: 16px; border-radius: 12px; background: var(--c-bg-gray); display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 500; color: var(--c-ink); line-height: 20px; }
.checks li::before { content: "✓"; width: 18px; height: 18px; flex: none; border-radius: 9px; background: var(--c-success); color: var(--c-white); display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.checks--info li::before { content: "i"; background: var(--c-primary); font-size: 11px; }

/* Video blocks */
.video-block { margin-top: 32px; padding: 48px; outline: 1px solid var(--c-border-2); outline-offset: -1px; border-radius: 20px; background: var(--c-white); display: grid; grid-template-columns: 460fr 596fr; gap: 48px; align-items: center; }
.video-block--stack { grid-template-columns: 1fr; gap: 20px; padding: 40px; text-align: center; justify-items: center; }
.video-kicker { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--c-primary-50); color: var(--c-primary); font-size: 11px; font-weight: 600; line-height: normal; }
.video-block h3 { margin-top: 16px; font-size: 28px; line-height: 34.16px; font-weight: 700; }
.video-block p { margin-top: 16px; font-size: 15px; line-height: 24px; color: var(--c-text-2); }
.video-block--stack h3 { margin-top: 0; font-size: 26px; line-height: 32.24px; }
.video-block--stack p { margin-top: 0; max-width: 560px; line-height: 22.5px; }
.video { position: relative; width: 100%; aspect-ratio: 596 / 340; border-radius: 14px; background: var(--grad-video); overflow: hidden; }
.video-block--stack .video { aspect-ratio: 1120 / 420; }
.video__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(24px) brightness(.55); transform: scale(1.15); }
.video__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.video.is-playing .video__play, .video.is-playing .video__label, .video.is-playing .video__dur { display: none; }
.video__play { position: absolute; inset: 0; z-index: 1; margin: auto; width: 60px; height: 60px; border-radius: 999px; background: var(--c-white); display: grid; place-items: center; transition: transform .2s; }
.video-block--stack .video__play { width: 64px; height: 64px; }
.video__play:hover { transform: scale(1.06); }
.video__play img { width: 20px; height: 20px; margin-left: 2px; }
.video__label { z-index: 1; position: absolute; left: 16px; top: 16px; display: flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 6px; background: rgba(255,255,255,.15); color: var(--c-white); font-size: 10.5px; font-weight: 600; line-height: normal; }
.video__label img { width: 12px; height: 12px; }
.video__dur { z-index: 1; position: absolute; left: 16px; bottom: 16px; padding: 5px 10px; border-radius: 6px; background: rgba(0,0,0,.55); color: var(--c-white); font-size: 12px; font-weight: 600; line-height: normal; }

/* Related articles block (trust) */
.rel-block { margin-top: 32px; padding: 36px; border-radius: 24px; background: var(--c-primary-50); }
.rel-block--white { background: var(--c-white); }
.rel-block h3 { font-size: 24px; font-weight: 700; letter-spacing: -.01em; line-height: normal; }
.rel-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rel-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rel-card { display: flex; flex-direction: column; gap: 14px; padding-bottom: 20px; outline: 1px solid var(--c-border-2); outline-offset: -1px; border-radius: 16px; background: var(--c-white); overflow: hidden; transition: border-color .15s; }
.rel-card:hover { outline-color: var(--c-primary-light); }
.rel-card__img { height: 120px; background: var(--grad-article); }
.rel-card__body { flex: 1; min-height: 144px; padding: 0 18px; display: flex; flex-direction: column; gap: 8px; }
.rel-card h4 { font-size: 15px; line-height: 19.5px; font-weight: 700; color: var(--c-text); }
.rel-block--tall .rel-card__body { min-height: 166px; }
.rel-card p { max-width: 200px; font-size: 12.5px; line-height: 18.5px; color: var(--c-text-2); }
/* Figma shrinks type on this card so its long title fits */
.rel-card--dense h4 { font-size: 13.5px; line-height: 17.55px; }
.rel-card--dense p { font-size: 10px; line-height: 14.8px; }
.rel-card__more { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--c-primary); line-height: normal; }
.rel-card__more img { width: 14px; height: 14px; }

/* Journey (Sebelum / Setelah berdonasi) */
.t-journey { background: linear-gradient(180deg, var(--c-white) 0%, var(--c-primary-50) 100%); }
.seg { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 8px; outline: 1px solid var(--c-border-2); outline-offset: -1px; border-radius: 14px; background: var(--c-white); }
.seg__btn { padding: 12px 22px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--c-text-2); line-height: normal; transition: background-color .15s, color .15s; }
.seg__btn[aria-selected="true"] { background: var(--c-primary); color: var(--c-white); font-weight: 700; }
.journey { margin-top: 40px; }
.journey[hidden] { display: none; }
.journey-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.jstep { min-height: 240px; padding: 26px 22px; outline: 1px solid var(--c-border-2); outline-offset: -1px; border-radius: 18px; background: var(--c-white); display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.jstep img { width: 28px; height: 28px; }
.jstep h3 { font-size: 15px; line-height: 19.8px; font-weight: 700; color: var(--c-ink); }
.jstep p { font-size: 13px; line-height: 19.76px; color: var(--c-text-2); }
.journey-after { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.astep { padding: 32px 28px; outline: 1px solid var(--c-border-2); outline-offset: -1px; border-radius: 20px; background: var(--c-white); display: flex; flex-direction: column; gap: 20px; overflow: hidden; }
.astep__icon { width: 24px; height: 24px; }
.astep h3 { margin-top: 16px; font-size: 18px; font-weight: 700; color: var(--c-ink); line-height: normal; }
.astep__intro > p { margin-top: 8px; font-size: 13px; line-height: 20px; color: var(--c-text-2); }
.mock { padding: 16px; outline: 1px solid var(--c-border-2); outline-offset: -1px; border-radius: 12px; background: var(--c-bg-gray); display: flex; flex-direction: column; gap: 12px; }
/* Fills the card's remaining height and crops the feed, so the taller card never sets the row height. */
.mock--clip { flex: 1 1 0; min-height: 0; overflow: hidden; contain: size; }
.mock__head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; color: var(--c-text); line-height: normal; }
.mock__head img { width: 16px; height: 16px; }
.mock__card { flex-shrink: 0; padding: 12px; outline: 1px solid var(--c-border-2); outline-offset: -1px; border-radius: 8px; background: var(--c-white); display: flex; flex-direction: column; gap: 10px; }
.mock__who { display: flex; align-items: center; gap: 8px; }
.mock__who > img { width: 28px; height: 28px; border-radius: 14px; object-fit: cover; }
.mock__who b { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--c-text); line-height: normal; }
.mock__who b img { width: 12px; height: 12px; }
.mock__who small { display: block; margin-top: 2px; font-size: 9px; color: var(--c-text-5); line-height: normal; }
.mock__title { font-size: 12px; font-weight: 700; color: var(--c-text); line-height: normal; }
.mock__text { font-size: 11px; line-height: 16px; color: var(--c-text-2); }
.mock__img { width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; object-fit: cover; }
.mock--photo { padding: 0; gap: 0; overflow: hidden; }
.mock--photo .mock__shot { width: 100%; height: auto; display: block; }
.fund { padding: 15px 15px 12px; border: 1px solid var(--c-primary-light); border-bottom-width: 4px; border-radius: 8px; background: var(--c-white); box-shadow: 0 4px 12px rgba(0, 0, 0, .04); display: flex; flex-direction: column; gap: 12px; }
.fund__title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; line-height: 20px; color: var(--c-text-body); }
.fund__title img, .fund__report span img { width: 16px; height: 16px; }
.fund__stat { padding: 10px; border-radius: 10px; background: var(--c-primary-25); display: flex; flex-direction: column; gap: 12px; }
.fund__stat span { font-size: 12px; font-weight: 600; line-height: 17px; color: var(--c-primary); }
.fund__stat b { font-size: 18px; font-weight: 700; line-height: 24px; color: var(--c-text-body); }
.fund__report { padding: 12px; border-radius: 10px; background: var(--c-primary-50); display: flex; flex-direction: column; gap: 12px; }
.fund__report span { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; line-height: 17px; color: var(--c-primary); }
.fund__report p { font-size: 12px; line-height: 17px; color: var(--c-text-body); }
.payout { padding: 11px; border: 1px solid var(--c-border-4); border-radius: 8px; background: var(--c-white); display: flex; flex-direction: column; gap: 16px; }
.payout__who { display: flex; align-items: center; gap: 8px; }
.payout__avatar { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--c-bg-coal); display: grid; place-items: center; font-size: 14px; font-weight: 700; line-height: 20px; color: var(--c-text-5); }
.payout__who small { display: block; font-size: 10px; line-height: 14px; color: var(--c-text-muted); }
.payout__who b { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; line-height: 17px; color: var(--c-text-dark); }
.payout__detail { display: flex; flex-direction: column; gap: 8px; }
.payout__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid var(--c-border-4); }
.payout__head b { font-size: 14px; font-weight: 600; line-height: 20px; color: var(--c-primary); }
.payout__head span { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 17px; color: var(--c-text-muted); }
.payout__head img { width: 14px; height: 14px; }
.payout__rows { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.payout__rows div { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.payout__rows dt { width: 140px; font-size: 12px; line-height: 17px; color: var(--c-text-muted); }
.payout__rows dd { margin: 0; font-size: 14px; font-weight: 600; line-height: 20px; color: var(--c-text-body); text-align: right; }
.payout__plan { padding: 10px; border-radius: 10px; background: var(--c-bg-coal); display: flex; flex-direction: column; gap: 12px; }
.payout__plan span { font-size: 12px; font-weight: 600; line-height: 17px; color: var(--c-primary); }
.payout__plan p { font-size: 12px; line-height: 17px; color: var(--c-text-body); }

/* Report */
.report { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 420fr) minmax(0, 748fr); gap: 32px; min-height: 400px; }
.report__card { padding: 40px 32px; border-radius: 20px; background: var(--c-primary-dark); color: var(--c-white); display: flex; flex-direction: column; gap: 20px; }
.report__icon { width: 56px; height: 56px; border-radius: 999px; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.report__icon img { width: 26px; height: 26px; }
.report__card h3 { font-size: 22px; line-height: 28.6px; font-weight: 700; }
.report__card p { font-size: 15px; line-height: 24px; opacity: .8; }
.report__right { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.report-steps { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rstep { padding: 24px; outline: 1px solid var(--c-border-2); outline-offset: -1px; border-radius: 16px; background: var(--c-bg-cool); display: flex; flex-direction: column; justify-content: space-between; gap: 6px; }
.rstep__num { width: 30px; height: 30px; border-radius: 999px; background: var(--c-blue-50); color: var(--c-blue-ink); display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.rstep h3 { font-size: 15px; line-height: 19px; font-weight: 700; color: var(--c-ink); }
.rstep p { font-size: 13px; line-height: 19.5px; color: var(--c-text-2); }
.review { min-width: 0; padding: 22px 28px; outline: 1px solid var(--c-border-2); outline-offset: -1px; border-radius: 16px; display: flex; align-items: center; justify-content: space-between; }
.review__item { width: 220px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-size: 13px; line-height: 16.9px; font-weight: 600; color: var(--c-ink); }
.review__icon { width: 38px; height: 38px; border-radius: 999px; background: var(--c-blue-50); display: grid; place-items: center; }
.review__icon img { width: 24px; height: 24px; }
.review > img { width: 16px; height: 16px; flex: none; }
.t-report .video-block { margin-top: 48px; }
.t-report .rel-block { margin-top: 48px; }
.t-journey .rel-block { margin-top: 40px; }

/* Risk */
.t-risk { background: var(--c-bg-soft); }
.principle-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.pcard { min-height: 250px; padding: 28px 22px; outline: 1px solid var(--c-border-2); outline-offset: -1px; border-radius: 18px; background: var(--c-white); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.pcard__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--c-primary-50); display: grid; place-items: center; }
.pcard__icon img { max-width: 40px; max-height: 32px; width: auto; height: auto; }
.pcard h3 { font-size: 16px; line-height: 22px; font-weight: 600; color: var(--c-text-body); }
.pcard p { font-size: 14px; line-height: 20px; color: var(--c-text-4); }
.audience { margin-top: 48px; padding: 32px; outline: 1px solid var(--c-border-2); outline-offset: -1px; border-radius: 18px; background: var(--c-primary-50); display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.audience img { width: 48px; height: 48px; }
.audience p { margin-top: 16px; font-size: 15px; line-height: 21px; font-weight: 500; color: var(--c-ink); }
.audience ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.audience li { padding: 8px 14px; border-radius: 999px; background: var(--c-bg-cool); color: var(--c-primary); font-size: 12px; font-weight: 600; line-height: normal; }

/* Compliance */
.t-compliance .t-h1 { max-width: 900px; }
.cert-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cert { min-height: 180px; padding: 24px 20px; outline: 1px solid var(--c-border-2); outline-offset: -1px; border-radius: 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.cert__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--c-primary-50); display: grid; place-items: center; }
.cert__icon img { width: 32px; height: 32px; }
.cert h3 { font-size: 15px; line-height: 19.5px; font-weight: 700; color: var(--c-ink); }
.cert p { font-size: 12px; line-height: 17.76px; color: var(--c-text-2); }
.split { margin-top: 48px; display: grid; grid-template-columns: 796fr 380fr; gap: 24px; }
.security { padding: 32px; border-radius: 20px; background: var(--c-bg-cool); display: flex; flex-direction: column; gap: 16px; }
.security h3 { font-size: 20px; line-height: 26px; font-weight: 700; color: var(--c-text-body); }
.security h3 + p { margin-top: 28px; font-size: 14px; line-height: 21.7px; color: var(--c-text-4); }
.security ul { margin-top: 12px; display: flex; flex-direction: column; gap: 16px; }
.security li { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 18.85px; font-weight: 500; color: var(--c-text-body); }
.security li img { width: 16px; height: 16px; }
.alert-card { padding: 32px; border-radius: 20px; background: var(--c-pink); color: var(--c-white); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.alert-card__icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.alert-card__icon img { width: 32px; height: 32px; }
.alert-card h3 { font-size: 17px; line-height: 22.1px; font-weight: 700; }
.alert-card p { font-size: 13px; line-height: 20.15px; opacity: .75; }
.alert-card a { padding: 10px 16px; border-radius: 10px; background: rgba(255,255,255,.1); font-size: 13px; font-weight: 600; line-height: normal; }
.alert-card a:hover { background: rgba(255,255,255,.2); }
.t-compliance .rel-block { margin-top: 48px; }

/* Team */
.t-team { background: var(--c-bg-soft); }
.team-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.team-card { min-height: 300px; padding: 32px 28px; outline: 1px solid var(--c-border-2); outline-offset: -1px; border-radius: 18px; background: var(--c-white); display: flex; flex-direction: column; justify-content: flex-start; gap: 20px; }
.team-card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--c-primary-50); display: grid; place-items: center; }
.team-card__icon img { width: 24px; height: 24px; }
.team-card .tag { align-self: flex-start; font-weight: 700; letter-spacing: .04em; }
.team-card h3 { font-size: 19px; line-height: 24.7px; font-weight: 700; color: var(--c-ink); }
.team-card p { font-size: 14px; line-height: 21.7px; color: var(--c-text-2); }

/* Blue CTA */
.t-cta { padding: 80px 0; background: linear-gradient(0deg, var(--c-primary) 0%, var(--c-primary-deep) 100%); color: var(--c-white); }
.t-cta__row { display: flex; align-items: center; gap: 36px; }
.t-cta__row > img { width: 265px; height: 250px; flex: none; }
.t-cta h2 { font-size: 40px; font-weight: 700; letter-spacing: -.02em; line-height: normal; }
.t-cta p { margin-top: 24px; font-size: 18px; line-height: 24px; opacity: .85; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .nav { gap: 20px; }
  .nav a { font-size: 13.5px; }
  .principle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 77px; display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--c-white); border-bottom: 1px solid var(--c-border); padding: 8px var(--gutter) 16px;
  }
  .nav a { padding: 12px 0; font-size: 15px; }
  .site-header.is-open .nav { display: flex; }
  .hero__row, .article-layout, .results, .t-hero__row, .ethics, .report, .split, .journey-after { grid-template-columns: 1fr; }
  .mock--clip { flex: none; height: 560px; }
  .card-grid, .rel-grid, .journey-steps, .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .themes__card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guides__grid { grid-template-columns: 1fr 1fr; }
  .sidebar { position: static; }
  .contact__box { grid-template-columns: 1fr; padding: 32px 24px; }
  .contact__box > img { display: none; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .stepper { grid-template-columns: 1fr; }
  .stepper__list { border-right: 0; border-bottom: 1px solid var(--c-border-3); flex-direction: row; overflow-x: auto; }
  .stepper__tab { min-height: 0; min-width: 200px; }
  .video-block { grid-template-columns: 1fr; padding: 32px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .t-cta__row > img { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .header-search span, .header-actions .btn { display: none; }
  .brand img { width: 96px; height: auto; }
  .brand span { font-size: 19px; }
  .feature-card { min-height: 380px; padding: 24px; }
  .feature-card__title, .h-section, .search-hero h1, .contact__title { font-size: 24px; line-height: 1.3; }
  .card-grid, .rel-grid, .rel-grid--3, .guides__grid, .themes__card, .journey-steps, .cert-grid, .team-grid, .principle-grid, .report-steps, .post-nav, .comment-form__row { grid-template-columns: 1fr; }
  .banner { padding: 32px 24px; }
  .banner__title { font-size: 22px; line-height: 1.35; }
  .article-title { font-size: 28px; line-height: 1.25; }
  .meta-row { flex-direction: column; align-items: flex-start; }
  .result { flex-direction: column; }
  .result__thumb { width: 100%; height: 140px; }
  .search-bar { padding-left: 16px; }
  .site-footer__top { grid-template-columns: 1fr; }
  .t-section, .t-verify { padding: 64px 0; }
  .t-hero { padding: 64px 0; }
  .t-h1, .t-hero h1, .t-cta h2 { font-size: 32px; }
  .stepper__panel { padding: 24px; }
  .stepper__panel h3 { font-size: 24px; }
  .review { flex-direction: column; gap: 16px; }
  .review > img { transform: rotate(90deg); }
  .rel-block { padding: 24px; }
  .comment--reply { padding-left: 24px; }
  .t-hero__art { max-width: 480px; }
  .ethics__panel { padding: 24px; }
  .ethics__panel h3 { font-size: 22px; line-height: 28px; }
  .callout { padding: 20px; }
  .notice { padding: 20px; }
  .video-block { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* ==========================================================================
   WordPress output (comments, block content, admin bar)
   ========================================================================== */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.feature-card { background: var(--c-navy); }
img.author__avatar, img.comment__avatar { object-fit: cover; }

/* Comments: WordPress nests replies inside the parent <li> */
.comment { flex-wrap: wrap; }
.comment > div { flex: 1; min-width: 0; }
.comment .children { flex-basis: 100%; margin-top: 22px; display: flex; flex-direction: column; gap: 22px; }
.comment-list .comment--reply { padding-left: 48px; }
.comment__text p + p { margin-top: 8px; }
.comment__reply a { color: inherit; }
.comment-respond { margin-top: 28px; padding: 28px; border-radius: 18px; background: var(--c-primary-50); }
.comment-respond .comment-reply-title { font-size: 18px; font-weight: 700; line-height: 21px; }
.comment-respond .comment-reply-title small { margin-left: 8px; font-size: 13px; font-weight: 600; }
.comment-respond .comment-reply-title small a { color: var(--c-primary); }
.comment-respond .comment-form { margin-top: 16px; padding: 0; background: none; border-radius: 0; }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--c-text-2); }
.comment-form .comment-form-cookies-consent label { display: inline; }
.comment-form input[type="submit"] { align-self: flex-start; padding: 12px 26px; border: 0; cursor: pointer; }
.comments-pagination, .comment-navigation { margin-top: 16px; }

/* Block editor content inside articles */
.prose > p a, .prose li a, .prose td a, .prose figcaption a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.prose h3 { font-size: 20px; line-height: 28px; font-weight: 700; }
.prose ol { padding-left: 20px; list-style: decimal; display: flex; flex-direction: column; gap: 10px; }
.prose img { height: auto; border-radius: 16px; }
.prose figure figcaption { margin-top: 8px; font-size: 13px; line-height: 20px; color: var(--c-text-2); text-align: center; }
.prose .wp-block-image, .prose .wp-block-embed { margin: 8px 0; }
.prose blockquote p { margin: 0; }
.prose blockquote cite { display: block; margin-top: 8px; font-size: 14px; font-style: normal; font-weight: 400; color: var(--c-text-2); }
.prose .wp-block-quote { border: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--c-border); text-align: left; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, .screen-reader-text { font-size: 13px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sticky, .bypostauthor { }
.pagination .dots { border: 0; }

/* WordPress prints width/height attributes on images; let CSS own the box */
.post-card__img, .rel-card img, .prose img { height: auto; }
.feature-card__img, .banner__img, .article-cover img { height: 100%; }
img.rel-card__img { width: 100%; height: 120px; object-fit: cover; }
.result__thumb { height: 100px; }
@media (max-width: 640px) { .result__thumb { height: 140px; } }

/* Avatars without a Gravatar render as the light-blue circle from Figma */
img.author__avatar, img.comment__avatar { background: var(--c-sky); border-radius: 50%; }

/* Real-world content: long words/URLs, code, tables and embeds never widen the page */
.prose, .comment__text, .post-card__title, .result__title, .feature-card__title, .article-title, .breadcrumb, .topic__title, .toc a { overflow-wrap: break-word; word-break: break-word; }
.prose pre { max-width: 100%; overflow-x: auto; padding: 16px; border-radius: 12px; background: var(--c-bg-cool); font-size: 14px; line-height: 22px; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
.prose .wp-block-table { max-width: 100%; overflow-x: auto; }
.prose iframe, .prose video, .prose embed, .prose object { max-width: 100%; }
.prose .wp-block-embed__wrapper { position: relative; }
.prose .is-type-video iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 16px; }
@media (max-width: 1024px) {
  .article-layout, .results { grid-template-columns: minmax(0, 1fr); }
}
/* Tables and code keep whole words/lines and scroll inside their own box instead */
.prose table, .prose pre, .prose code { overflow-wrap: normal; word-break: normal; }
.prose pre { white-space: pre; }
.prose th, .prose td { min-width: 96px; }

/* Classic-editor content (most existing posts): captions, aligned images, galleries, embeds */
.prose p:empty { display: none; }
.prose img.aligncenter, .prose .wp-caption.aligncenter, .prose figure.aligncenter { display: block; margin-inline: auto; }
.prose img.alignnone, .prose img.size-full, .prose img.size-large { display: block; }
.prose .alignleft { float: left; margin: 6px 24px 16px 0; max-width: 50%; }
.prose .alignright { float: right; margin: 6px 0 16px 24px; max-width: 50%; }
.prose .wp-caption { max-width: 100% !important; }
.prose .wp-caption img { display: block; width: 100%; height: auto; }
.prose .wp-caption-text, .prose .wp-element-caption { margin-top: 8px; font-size: 13px; line-height: 20px; color: var(--c-text-2); text-align: center; }
.prose .wp-block-gallery { gap: 12px; }
.prose .wp-block-gallery img { border-radius: 12px; }
.prose hr, .prose .wp-block-separator { border: 0; height: 1px; background: var(--c-border); }
.prose .wp-block-separator.is-style-dots { height: auto; background: none; text-align: center; }
.prose iframe { display: block; margin-inline: auto; border: 0; border-radius: 12px; }
.prose .wp-block-embed-instagram iframe, .prose .is-type-rich iframe { border-radius: 0; }
.prose .wp-block-spacer { margin-top: 0; }
.prose h4 { font-size: 18px; line-height: 26px; font-weight: 700; }
@media (max-width: 640px) {
  .prose .alignleft, .prose .alignright { float: none; margin: 0 0 16px; max-width: 100%; }
}

/* Avatars: initials in the Figma circle; a real Gravatar covers them when it exists */
.avatar-initials { position: relative; flex: none; display: inline-grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--c-sky); color: var(--c-primary-dark); font-weight: 600; line-height: 1; letter-spacing: .02em; }
.avatar-initials .avatar-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; border-radius: 50%; background: none; object-fit: cover; }

/* List thumbnails without any image: Kitabisa logo on light blue instead of an empty box */
.thumb-placeholder { display: grid !important; place-items: center; background: var(--c-primary-50); }
.thumb-placeholder img { width: 44%; max-width: 112px; height: auto; opacity: .55; }
.result__thumb.thumb-placeholder img { width: 56%; }
