/**
 * Kurucu Duvarı · Mühür duvarı · Kurucu Vatandaşlık Belgesi (2026-09-12, W3)
 * ==========================================================================
 * "Ephemera" dilinin (DESIGN.md) üç yeni eşyası:
 *   - bilet (.bm-pass) içinde şehrin kendi saati         -> .bm-cw-clock
 *   - tiyatro koltuk planı: 10×10 kurucu koltuğu          -> .bm-cw-map / .bm-cw-seat
 *   - mühür sırası kartları + şehir duvarları dizini      -> .bm-sw-*
 *   - A4 belge (yazdırılabilir, @page A4 16mm)            -> .bm-cert*
 * Açık editoryal zemin; koyuluk yalnız eşyanın İÇİNDE (bilet). Hareket yok:
 * duvar ve belge durağan eşyalardır (DESIGN.md §8). Belirteçler style.css'ten.
 * subpages.css'ten SONRA yüklenir (aynı precedence, sıra korunur).
 */

/* =====================  Bilet: şehrin saati  ====================== */

.bm-cw-pass { --stub-w: 144px; }
.bm-cw-pass .bm-pass__main { gap: var(--bm-space-4); }
/* Koçan dar: "GRÜNDERPLÄTZE", "MÍST ZAKLADATELŮ" gibi uzun etiketler satıra
   bölünür, sayaç kesilmez (ölçüldü: de'de "37/100" kırpılıyordu). */
.bm-cw-pass .bm-pass__stub .bm-print-label {
  font-size: .56rem; letter-spacing: .08em;
  text-align: center;
  overflow-wrap: anywhere; hyphens: auto;
}

.bm-cw-clock { display: grid; gap: .45rem; }
.bm-cw-clock__time {
  font-family: var(--bm-font-print);
  font-weight: 700;
  font-size: clamp(2.8rem, 5.4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--bm-white);
}
.bm-cw-clock__date {
  font-family: var(--bm-font-print);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bm-text-on-dark-muted);
}
.bm-cw-pass__tz { white-space: nowrap; }
.bm-cw-pass__count {
  font-family: var(--bm-font-print);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1;
  color: var(--bm-gold);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.bm-cw-tznote {
  margin-top: var(--bm-space-3);
  font-size: .74rem;
  color: var(--bm-text-on-dark-muted);
}

/* =====================  Duvar bölümü  ============================== */

/* Duvar ve çevresi tek sütun; koltuk planı sayfa genişliğine yayılınca
   koltuklar gereksiz büyüyor, göz 100 kareyi bir bakışta tutamıyor. */
.bm-cw-wall > .bm-container { max-width: 820px; }

.bm-cw-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .5rem 2rem;
  margin-bottom: var(--bm-space-3);
}
.bm-cw-head .bm-sub-h2 { margin-bottom: 0; }
.bm-cw-count {
  font-family: var(--bm-font-print);
  font-weight: 700;
  font-size: clamp(1rem, .6vw + .9rem, 1.25rem);
  color: var(--bm-dark);
  font-variant-numeric: tabular-nums;
}
.bm-cw-note { margin-bottom: var(--bm-space-4); }
.bm-cw-zero {
  font-family: var(--bm-font-print);
  font-size: .9em;
  color: var(--bm-text-muted);
  white-space: nowrap;
}

/* Koltuk planı — beyaz bilet kartı, üstte kesik çizgili başlık şeridi. */
.bm-cw-map {
  margin: var(--bm-space-4) 0 0;
  background: var(--bm-white);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
  padding: clamp(.9rem, 3vw, 1.75rem);
}
.bm-cw-map__top {
  display: flex; justify-content: space-between; gap: var(--bm-space-3);
  padding-bottom: .7rem;
  margin-bottom: clamp(.8rem, 2vw, 1.1rem);
  border-bottom: 1px dashed var(--bm-border-strong);
}

.bm-cw-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: clamp(3px, 1vw, 8px);
}

/* Tiyatro koltuğu: sırt yuvarlak, oturak düz. */
.bm-cw-seat {
  aspect-ratio: 1;
  border-radius: 30% 30% 14% 14%;
  position: relative;
  display: grid; place-items: center;
  overflow: hidden;
  font-family: var(--bm-font-print);
  font-weight: 700;
  font-size: clamp(.55rem, 1.5vw, .78rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.bm-cw-seat--empty {
  background: var(--bm-bg-alt);
  border: 1px dashed var(--bm-border-strong);
  color: #BFC4CE;
}
.bm-cw-seat--empty svg { width: 64%; height: 64%; fill: currentColor; }
.bm-cw-seat--hidden { background: var(--bm-stamp-red); color: var(--bm-white); }
.bm-cw-seat--named {
  background: var(--bm-dark);
  color: var(--bm-white);
  box-shadow: inset 0 0 0 2px var(--bm-gold);
}
.bm-cw-seat--named img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.bm-cw-seat__initial { font-family: var(--bm-font-sans); font-size: 1.15em; }
.bm-cw-seat__no {
  position: absolute; inset-inline-end: 2px; bottom: 2px;
  font-size: .5rem; line-height: 1.35;
  padding-inline: 2px;
  border-radius: 3px;
  background: rgba(10, 14, 39, .78);
  color: var(--bm-white);
}

.bm-cw-legend {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .5rem 1.25rem;
  margin-top: clamp(.9rem, 2vw, 1.25rem);
  font-size: var(--bm-fs-small);
  color: var(--bm-text-muted);
}
.bm-cw-legend__item { display: inline-flex; align-items: center; gap: .45rem; }
.bm-cw-legend__read {
  margin-inline-start: auto;
  font-family: var(--bm-font-print);
  font-size: .72rem;
}
.bm-cw-swatch {
  display: inline-block; flex: none;
  width: 14px; height: 14px;
  border-radius: 5px 5px 3px 3px;
}
.bm-cw-swatch--named { background: var(--bm-dark); box-shadow: inset 0 0 0 2px var(--bm-gold); }
.bm-cw-swatch--hidden { background: var(--bm-stamp-red); }
.bm-cw-swatch--empty { background: var(--bm-bg-alt); border: 1px dashed var(--bm-border-strong); }

.bm-cw-error {
  margin-top: var(--bm-space-4);
  padding: var(--bm-space-5);
  background: var(--bm-white);
  border: 1px dashed var(--bm-border-strong);
  border-radius: var(--bm-radius-md);
  color: var(--bm-text-muted);
  text-align: center;
}

.bm-cw-named { margin-top: clamp(1.5rem, 3vw, 2rem); }
.bm-cw-named__title { font-size: 1.1rem; font-weight: 800; margin-bottom: var(--bm-space-3); }
.bm-cw-named__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.bm-cw-chip {
  display: inline-flex; align-items: baseline; gap: .5rem;
  padding: .38rem .85rem;
  background: var(--bm-white);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-full);
  color: var(--bm-dark);
  font-weight: 600; font-size: var(--bm-fs-small);
  text-decoration: none;
}
a.bm-cw-chip:hover { border-color: var(--bm-primary); color: var(--bm-primary-text); }
.bm-cw-chip__no { font-family: var(--bm-font-print); color: #C42B44; }

.bm-cw-privacy { margin-top: var(--bm-space-5); }

/* =====================  "Şehirde bugün" şeridi (T-W2)  ============= */
/* Manşet yuvası, hero'nun hemen altı. Gazete künyesi gibi bir bülten
   kartı: üstte çift çizgi (kalın + ince), solda mühür kırmızısı başlık
   etiketi, sağda şehrin yerel tarihi; altında yan yana 1-3 künye satırı,
   aralarında kesik çizgi. Hareket YOK (kayan yazı/ticker değil — durağan
   bir eşya, DESIGN.md §8). Şerit veri yoksa hiç çizilmez (CityToday.tsx). */

.bm-ct-today { padding-block: 0 clamp(2rem, 4vw, 3rem); position: relative; }
.bm-ct-bulletin {
  background: var(--bm-white);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-md);
  padding: clamp(.9rem, 2.2vw, 1.25rem) clamp(1rem, 3vw, 1.75rem) clamp(1rem, 2.4vw, 1.4rem);
}
.bm-ct-bulletin__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .25rem 1.5rem;
  /* Çift künye çizgisi: 3px mürekkep, 2px boşluk, 1px mürekkep. */
  background:
    linear-gradient(var(--bm-dark), var(--bm-dark)) 0 0 / 100% 3px no-repeat,
    linear-gradient(var(--bm-dark), var(--bm-dark)) 0 5px / 100% 1px no-repeat;
  padding-block: calc(6px + .6rem) .7rem;
  border-bottom: 1px dashed var(--bm-border-strong);
}
.bm-ct-bulletin__title {
  font-family: var(--bm-font-print);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--bm-stamp-red);
  line-height: 1.3;
}
.bm-ct-bulletin__date {
  font-family: var(--bm-font-print);
  font-size: .74rem;
  color: var(--bm-text-muted);
}
.bm-ct-bulletin__items {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.bm-ct-item {
  display: grid; align-content: start; gap: .3rem;
  padding: .9rem clamp(.9rem, 2vw, 1.4rem) .15rem;
  min-width: 0;
}
.bm-ct-item:first-child { padding-inline-start: 0; }
.bm-ct-item + .bm-ct-item { border-inline-start: 1px dashed var(--bm-border-strong); }
.bm-ct-item__label {
  font-family: var(--bm-font-print);
  font-size: .66rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--bm-text-muted);
}
.bm-ct-item--fest .bm-ct-item__label { color: var(--c, var(--bm-text-muted)); }
.bm-ct-item__num {
  font-family: var(--bm-font-print);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.05;
  color: var(--bm-dark);
  font-variant-numeric: tabular-nums;
}
.bm-ct-item__value {
  display: flex; align-items: center; gap: .5rem;
  font-weight: 800; font-size: 1.12rem; line-height: 1.3;
  color: var(--bm-dark);
  overflow-wrap: anywhere;
}
.bm-ct-item__icon { flex: none; display: inline-grid; width: 1.35rem; height: 1.35rem; color: var(--c, var(--bm-dark)); }
.bm-ct-item__icon svg { width: 100%; height: 100%; }
.bm-ct-item__meta { font-size: var(--bm-fs-small); color: var(--bm-text-muted); }
.bm-ct-item__link {
  justify-self: start;
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; font-size: 1.02rem; line-height: 1.35;
  color: var(--bm-primary-text);
  text-decoration: none;
}
.bm-ct-item__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.bm-ct-item__link:focus-visible { outline: 2px solid var(--bm-primary); outline-offset: 3px; border-radius: 3px; }
.bm-ct-arrow { width: 1em; height: 1em; flex: none; }
[dir="rtl"] .bm-ct-arrow { scale: -1 1; }

/* Telefon: künye satırları alt alta, ayraç yatay. */
@media (max-width: 599px) {
  .bm-ct-item { padding-inline: 0; }
  .bm-ct-item + .bm-ct-item {
    border-inline-start: 0;
    border-top: 1px dashed var(--bm-border-strong);
    margin-top: .75rem;
  }
}

/* =====================  Festival takvimi (T-W2)  ==================== */
/* Her festival bir giriş bileti: solda koçan (başlangıç günü, tema
   mürekkebiyle), kesik yırtma çizgisi, sağda tema ikonu + ad + tarih
   aralığı. Tema yalnız renk/ikon seçer. Kartlar durağan (hover yok —
   tıklanabilir değil). Sokak Dostu kutusuyla aynı "şehir hayatı" tint
   bandını paylaşır; ardından gelen tint bölüm üst boşluğunu tekrar etmez. */

.bm-ct-fest-lead { margin-bottom: var(--bm-space-5); }
.bm-ct-fest-sec + .bm-sub-section--tint { padding-top: 0; }

.bm-ct-fests {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: clamp(.75rem, 1.6vw, 1rem);
}
.bm-ct-fest {
  display: grid;
  grid-template-columns: 4.9rem minmax(0, 1fr);
  background: var(--bm-white);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-md);
  overflow: hidden;
}
.bm-ct-fest--live { border-color: var(--c, var(--bm-border-strong)); }
.bm-ct-fest__stub {
  display: grid; place-content: center; justify-items: center; gap: .3rem;
  padding: 1rem .4rem;
  border-inline-end: 2px dashed var(--bm-border-strong);
  color: var(--c, var(--bm-dark));
  text-align: center;
}
.bm-ct-fest__day {
  font-family: var(--bm-font-print);
  font-weight: 700;
  font-size: 2rem; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.bm-ct-fest__mon {
  font-family: var(--bm-font-print);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.bm-ct-fest__body { display: grid; align-content: start; gap: .35rem; padding: .95rem 1.1rem 1.05rem; min-width: 0; }
.bm-ct-fest__top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 1.5rem; }
.bm-ct-fest__icon { display: inline-grid; width: 1.4rem; height: 1.4rem; color: var(--c, var(--bm-dark)); }
.bm-ct-fest__icon svg { width: 100%; height: 100%; }
.bm-ct-fest__name {
  font-size: 1.12rem; font-weight: 800; line-height: 1.3;
  letter-spacing: -.005em;
  color: var(--bm-dark);
  overflow-wrap: anywhere;
}
.bm-ct-fest__when { font-size: var(--bm-fs-small); color: var(--bm-text-muted); }
.bm-ct-fest__when time { white-space: nowrap; }
.bm-ct-badge {
  font-family: var(--bm-font-print);
  font-size: .62rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .22rem .5rem;
  border-radius: var(--bm-radius-full);
  border: 1px solid var(--c, var(--bm-border-strong));
  color: var(--c, var(--bm-dark));
  white-space: nowrap;
}
.bm-ct-badge--live { background: var(--c, var(--bm-dark)); color: var(--bm-white); }
.bm-ct-fest-note { margin-top: var(--bm-space-4); }

/* Arapça/CJK'de mono yazı tipi yok; büyük harf ve harf aralığı Latin
   içindir (Sokak Dostu kutusundaki kuralla aynı). */
html[lang="ar"] :is(.bm-ct-bulletin__title, .bm-ct-item__label, .bm-ct-fest__mon, .bm-ct-badge),
html[lang="ja"] :is(.bm-ct-bulletin__title, .bm-ct-item__label, .bm-ct-fest__mon, .bm-ct-badge),
html[lang="ko"] :is(.bm-ct-bulletin__title, .bm-ct-item__label, .bm-ct-fest__mon, .bm-ct-badge),
html[lang="zh-tw"] :is(.bm-ct-bulletin__title, .bm-ct-item__label, .bm-ct-fest__mon, .bm-ct-badge) {
  letter-spacing: 0; text-transform: none;
}
html[lang="ar"] .bm-ct-item__label, html[lang="ar"] .bm-ct-fest__mon,
html[lang="ja"] .bm-ct-item__label, html[lang="ko"] .bm-ct-item__label,
html[lang="zh-tw"] .bm-ct-item__label { font-size: .76rem; }

/* =====================  Kurallar + mühür kartı  ==================== */

.bm-cw-rules {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}
@media (max-width: 860px) { .bm-cw-rules { grid-template-columns: 1fr; } }
.bm-cw-rules__list {
  margin: var(--bm-space-4) 0 0;
  padding-inline-start: 1.4rem;
  display: grid; gap: .65rem;
  color: var(--bm-text-muted);
  max-width: 58ch;
}
.bm-cw-rules__list li::marker {
  font-family: var(--bm-font-print);
  font-weight: 700;
  color: var(--bm-stamp-red);
}
.bm-cw-seal { min-height: 0; }

/* =====================  Mühür duvarı  ============================== */

.bm-sw-list {
  list-style: none; margin: var(--bm-space-4) 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: .75rem;
}
.bm-sw-seal {
  display: grid; gap: .3rem; align-content: start;
  padding: .9rem 1rem;
  background: var(--bm-white);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-md);
}
.bm-sw-seal--named { border-color: var(--bm-stamp-amber); }
.bm-sw-seal__no {
  font-family: var(--bm-font-print);
  font-weight: 700; font-size: .76rem; letter-spacing: .12em;
  color: var(--bm-stamp-amber);
  font-variant-numeric: tabular-nums;
}
.bm-sw-seal__name { font-weight: 700; color: var(--bm-dark); overflow-wrap: anywhere; }
.bm-sw-seal__name a { color: inherit; text-decoration: none; }
.bm-sw-seal__name a:hover { color: var(--bm-primary-text); text-decoration: underline; }
.bm-sw-seal:not(.bm-sw-seal--named) .bm-sw-seal__name { color: var(--bm-text-muted); font-weight: 600; }
.bm-sw-seal__city { font-size: var(--bm-fs-small); color: var(--bm-text-muted); text-decoration: none; }
.bm-sw-seal__city:hover { color: var(--bm-primary-text); text-decoration: underline; }
.bm-sw-more { margin-top: var(--bm-space-4); display: flex; flex-wrap: wrap; gap: .75rem; }
.bm-sw-more .bm-mono-chip { margin-top: 0; }

.bm-sw-cities {
  list-style: none; margin: var(--bm-space-5) 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .5rem;
}
.bm-sw-cities a {
  display: block;
  padding: .55rem .85rem;
  background: var(--bm-white);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-sm);
  color: var(--bm-dark);
  font-weight: 600;
  text-decoration: none;
}
.bm-sw-cities a:hover { border-color: var(--bm-primary); color: var(--bm-primary-text); }

/* =====================  Kurucu Vatandaşlık Belgesi  ================ */

.bm-cert-page { background: var(--bm-bg-alt); padding-block: clamp(2rem, 5vw, 4rem); }
.bm-cert-wrap { max-width: 860px; }
.bm-cert-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--bm-space-3);
  margin-bottom: var(--bm-space-4);
}
.bm-cert-pending { color: var(--bm-text-muted); font-size: var(--bm-fs-small); max-width: 60ch; }
.bm-cert-print {
  margin-inline-start: auto;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.25rem;
  font: inherit; font-weight: 700;
  color: var(--bm-white);
  background: var(--bm-primary-text);
  border: 0; border-radius: var(--bm-radius-full);
  cursor: pointer;
}
.bm-cert-print:hover { background: var(--bm-primary-text-hover); }

/* Çift çerçeve: e-postadaki belgeyle aynı iskelet (2px marka + 1px ince). */
.bm-cert {
  background: var(--bm-white);
  border: 2px solid var(--bm-primary);
  border-radius: 6px;
  padding: 8px;
  aspect-ratio: 210 / 297;
  box-shadow: var(--bm-shadow-lg);
}
.bm-cert__inner {
  height: 100%;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: clamp(1.1rem, 4%, 2.25rem) clamp(1.25rem, 6%, 3.5rem);
  border: 1px solid var(--bm-border);
  border-radius: 3px;
}
/* Üst şerit: marka + belge numarası (antet kartındaki "DOC. BMX-…" dili,
   DESIGN.md §4). Resmî arma/mühür taklidi YOK — yalnız BeMatrx. */
.bm-cert__top {
  width: 100%;
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--bm-space-3);
  padding-bottom: var(--bm-space-3);
  border-bottom: 1px dashed var(--bm-border-strong);
}
.bm-cert__brand { font-weight: 700; font-size: .9rem; letter-spacing: .22em; color: var(--bm-primary-text); }
.bm-cert__no { font-family: var(--bm-font-print); font-size: .66rem; letter-spacing: .16em; color: var(--bm-text-muted); }
/* Gövde dikeyde ortalanır; resmî-değil satırı hep en altta. */
.bm-cert__body { margin-block: auto; padding-block: var(--bm-space-5); display: flex; flex-direction: column; align-items: center; width: 100%; }
.bm-cert__title { margin-top: 0; font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 700; letter-spacing: .01em; text-wrap: balance; }
.bm-cert__name { margin-top: clamp(1.25rem, 4%, 2.25rem); font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; line-height: 1.12; overflow-wrap: anywhere; }
.bm-cert__lead { margin-top: var(--bm-space-3); max-width: 42ch; color: var(--bm-text-muted); text-wrap: pretty; }
.bm-cert__facts { margin: clamp(1.75rem, 5%, 3rem) 0 0; display: grid; gap: .6rem; width: min(540px, 100%); }
.bm-cert__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--bm-space-3); align-items: baseline; }
.bm-cert__row dt { text-align: end; color: var(--bm-text-muted); font-size: .9rem; }
.bm-cert__row dd { margin: 0; text-align: start; font-weight: 700; font-variant-numeric: tabular-nums; }
.bm-cert__disclaimer {
  padding-top: var(--bm-space-4);
  width: 100%;
  border-top: 1px solid var(--bm-border);
  font-size: .8rem;
  color: var(--bm-text-muted);
}
.bm-cert-missing { padding-block: clamp(3rem, 8vw, 6rem); text-align: center; }
.bm-cert-missing .bm-sub-lead { margin-inline: auto; }

/* Dar ekranda A4 oranı metni sıkıştırıyor; orada kart içeriği kadar uzar. */
@media (max-width: 640px) {
  .bm-cert { aspect-ratio: auto; }
  .bm-cert__inner { min-height: 70vh; }
}

/* Yazdırma: yalnız belge. Site başlığı, alt bilgi, çerez şeridi, düğme ve
   not basılmaz; belge A4 sayfanın 16 mm kenar boşluğu içini doldurur. */
@page { size: A4; margin: 16mm; }
@media print {
  .bm-header, .bm-header__mobile, .bm-mobile-backdrop, .bm-footer, .bm-consent,
  .bm-skip-link, .bm-page-transition, .bm-cert-bar { display: none !important; }
  /* Gövdenin sabit başlık payı (72px) kâğıtta boş şerit olur ve belgeyi
     ikinci sayfaya taşırdı (ölçüldü: 2 sayfa). */
  html, body { background: #fff !important; padding: 0 !important; margin: 0 !important; }
  .bm-cert-page { background: #fff; padding: 0; }
  .bm-cert-wrap { max-width: none; padding: 0; }
  .bm-cert {
    box-shadow: none;
    aspect-ratio: auto;
    height: calc(297mm - 32mm - 8mm);
    break-inside: avoid;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .bm-cert__inner { min-height: 0; }
}
