/* ProParcel Haberler (/haberler/) — plan docs/haberler-ortak-plan.md §5. Mantar sahnesi ortak bileşenden (pp_mushroom.css/js).
   Renk: lacivert yalnız hero / başlık bandı / veri kapakları; zemin beyaz; tek mavi vurgu #1d4ed8; amber birincil düğme ve hero rakamı.
   Köşe hiyerarşisi: hero 22 px, öne çıkan kart ve veri kapağı 14 px, kart 14 px, satır bağlantıları köşesiz. */

.hb {
  --hb-navy: #0f172a; --hb-blue: #1e3a8a; --hb-amber: #f59e0b; --hb-amber-ink: #b45309;
  --hb-ink: #0f172a; --hb-muted: #475569; --hb-line: #e2e8f0; --hb-soft: #f8fafc; --hb-link: #1d4ed8; --hb-green: #16a34a;
  color: var(--hb-ink); background: #fff; line-height: 1.6;
}
.content-wrapper.hb-wrap { padding-top: 42px; background: #fff; }
.hb *, .hb *::before, .hb *::after { box-sizing: border-box; }
.hb a { color: var(--hb-link); }
.hb a:focus-visible, .hb button:focus-visible { outline: 3px solid var(--hb-link); outline-offset: 2px; border-radius: 4px; }
.hb h1, .hb h2, .hb h3 { font-weight: 800; letter-spacing: -.01em; }

/* Tür etiketi: küçük, cümle düzeninde, renkli metin */
.hb-tur { font-weight: 700; font-size: .875rem; }
.hb-tur--rapor { color: var(--hb-amber-ink); }
.hb-tur--ne_ekilir { color: #0f766e; }
.hb-tur--milli_emlak { color: var(--hb-blue); }
.hb-tur--emlakci, .hb-tur--duyuru { color: var(--hb-muted); }
.hb-meta { margin: 0; font-size: .875rem; color: var(--hb-muted); }
.hb-meta time { font-variant-numeric: tabular-nums; }
.hb-taslak-rozet { display: inline-block; margin-left: .4rem; padding: 0 .45rem; border-radius: 6px; background: #fef3c7; color: #92400e; font-size: .75rem; font-weight: 700; }

.hb-btn { display: inline-flex; align-items: center; min-height: 48px; padding: .7rem 1.3rem; border-radius: 12px;
  background: var(--hb-amber); color: var(--hb-navy) !important; font-weight: 800; text-decoration: none; }
.hb-btn:hover { background: #fbbf24; }

/* ------------------------------------------------------------------ ana sayfa */
.hb-ana { padding: 1rem 1rem 3rem; }
.hb-ana-in { max-width: 72rem; margin: 0 auto; }

/* Hero */
.hb-hero { position: relative; overflow: hidden; border-radius: 22px; color: #fff;
  background: radial-gradient(70% 90% at 100% 0%, rgba(37, 99, 235, .35) 0%, rgba(37, 99, 235, 0) 60%), linear-gradient(135deg, var(--hb-navy) 0%, var(--hb-blue) 100%); }
.hb-hero .hb-hero-sahne { position: absolute; top: 0; right: 0; bottom: 0; width: 44%; border-radius: inherit; pointer-events: none; }
.hb-hero-in { position: relative; z-index: 1; padding: 1.75rem 1.5rem 1.5rem; max-width: 60%; min-height: 23rem; display: flex; flex-direction: column; }
.hb-hero-h1 { margin: 0 0 1.25rem; font-size: 1rem; font-weight: 700; color: #bfdbfe; letter-spacing: 0; }
.hb-hero-h1 a { color: inherit; text-decoration: none; }
.hb-slaytlar { flex: 1; }
.hb-slayt + .hb-slayt { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.hb-js .hb-slayt + .hb-slayt { margin-top: 0; padding-top: 0; border-top: 0; }
.hb-js .hb-slaytlar { display: grid; }
.hb-js .hb-slayt { grid-area: 1 / 1; }
.hb-js .hb-slayt.hb-pasif { visibility: hidden; }
.hb-slayt-ust { margin: 0 0 .5rem; font-size: .875rem; font-weight: 700; color: #fde68a; }
.hb-slayt-baslik { margin: 0; font-size: 2.25rem; line-height: 1.15; color: #fff; max-width: 22ch; text-wrap: balance; }
.hb-slayt-baslik a { color: #fff; text-decoration: none; }
.hb-slayt-baslik a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hb-slayt-deger { margin: .6rem 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .75rem; }
.hb-slayt-deger strong { font-size: 2.25rem; line-height: 1.1; font-weight: 800; color: var(--hb-amber); font-variant-numeric: tabular-nums; }
.hb-slayt-deger span { font-size: .875rem; color: #cbd5e1; }
.hb-slayt-ozet { margin: .9rem 0 1.25rem; max-width: 46ch; color: #dbeafe; font-size: 1rem; }
.hb-kontrol { display: flex; align-items: center; gap: .5rem; margin-top: 1.25rem; }
.hb-kontrol[hidden] { display: none; }
.hb-ok { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(15, 23, 42, .35); color: #fff; cursor: pointer; padding: 0; }
.hb-ok:hover { background: rgba(255, 255, 255, .14); }
.hb-ok svg { width: 18px; height: 18px; }
.hb-noktalar { display: flex; align-items: center; gap: .1rem; }
.hb-nokta { width: 28px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.hb-nokta::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; opacity: .7; }
.hb-nokta[aria-current="true"]::before { background: var(--hb-amber); border-color: var(--hb-amber); opacity: 1; width: 22px; border-radius: 6px; }
.hb-dur { margin-left: .35rem; }
.hb-hero .hb-btn:focus-visible, .hb-hero .hb-ok:focus-visible, .hb-hero .hb-nokta:focus-visible, .hb-hero a:focus-visible { outline-color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .hb-js .hb-slayt.hb-giris { animation: hbGiris .45s ease-out both; }
}
@keyframes hbGiris { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

/* Bölüm başlıkları */
.hb-bolum { margin-top: 2.75rem; }
.hb-bolum-bas { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 0 0 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--hb-ink); }
.hb-bolum-bas h2 { margin: 0; font-size: 1.5rem; line-height: 1.25; }
.hb-bolum-bas a { font-size: .875rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hb-bolum-bas a:hover { text-decoration: underline; }
.hb-bos { margin: 0; max-width: 60ch; color: var(--hb-muted); }

/* Son haberler: öne çıkan (geniş) + yan kartlar */
.hb-son-grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
.hb-yan { display: grid; gap: 1.25rem; }
.hb-one { position: relative; border: 1px solid var(--hb-line); border-radius: 14px; background: #fff; padding: .75rem .75rem 1.25rem;
  box-shadow: 0 14px 32px -18px rgba(15, 23, 42, .45); }
.hb-one .hb-icerik { padding: .9rem .6rem 0; }
.hb-one h3 { margin: .3rem 0 .45rem; font-size: 1.5rem; line-height: 1.25; }
.hb-one p.hb-ozet { margin: 0; color: var(--hb-muted); max-width: 62ch; }
.hb-kapak { border-radius: 14px; background: linear-gradient(135deg, var(--hb-navy), var(--hb-blue)); color: #fff; padding: 1.5rem 1.25rem; min-height: 9.5rem; display: flex; flex-direction: column; justify-content: flex-end; }
.hb-kapak strong { font-size: 2.25rem; line-height: 1.1; font-weight: 800; color: var(--hb-amber); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.hb-kapak span { margin-top: .3rem; font-size: .875rem; color: #cbd5e1; }
.hb-kapak--resim { padding: 0; overflow: hidden; background: var(--hb-soft); }
.hb-kapak--resim img { display: block; width: 100%; height: auto; }
.hb-kapak--bos { min-height: 6rem; }
.hb-kapak--bos span { font-size: 1rem; color: #fde68a; font-weight: 700; margin: 0; }

.hb-kart { position: relative; border: 1px solid var(--hb-line); border-radius: 14px; background: #fff; padding: 1rem 1.1rem 1.1rem; }
.hb-kart h3 { margin: .25rem 0 .35rem; font-size: 1.2rem; line-height: 1.3; }
.hb-kart p.hb-ozet { margin: 0; color: var(--hb-muted); font-size: .9375rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hb-kart:hover, .hb-one:hover { border-color: #cbd5e1; }
.hb-kart h3 a, .hb-one h3 a { color: var(--hb-ink); text-decoration: none; }
.hb-kart h3 a::after, .hb-one h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.hb-kart h3 a:hover, .hb-one h3 a:hover { color: var(--hb-link); }
.hb-kart h3 a:focus-visible, .hb-one h3 a:focus-visible { outline: none; }
.hb-kart:focus-within, .hb-one:focus-within { outline: 3px solid var(--hb-link); outline-offset: 2px; }

.hb-uc { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Raporlar: yatay liste, tarih solda */
.hb-liste { list-style: none; margin: 0; padding: 0; }
.hb-liste li { position: relative; display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--hb-line); }
.hb-liste time { color: var(--hb-muted); font-size: .875rem; font-variant-numeric: tabular-nums; padding-top: .15rem; }
.hb-liste a { font-weight: 800; color: var(--hb-ink); text-decoration: none; font-size: 1.05rem; }
.hb-liste a::after { content: ""; position: absolute; inset: 0; }
.hb-liste a:hover { color: var(--hb-link); text-decoration: underline; }
.hb-liste p { margin: .15rem 0 0; color: var(--hb-muted); font-size: .9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Sayfalarımız: ikonlu satır bağlantılar (kart değil) */
.hb-sayfalar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
.hb-sayfalar li { border-bottom: 1px solid var(--hb-line); }
.hb-sayfalar a { display: flex; align-items: center; gap: .85rem; min-height: 64px; padding: .6rem .25rem; text-decoration: none; color: var(--hb-ink); }
.hb-sayfalar a:hover .hb-s-ad { color: var(--hb-link); text-decoration: underline; }
.hb-s-ikon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--hb-soft); border: 1px solid var(--hb-line); display: inline-flex; align-items: center; justify-content: center; color: var(--hb-blue); }
.hb-s-ikon svg { width: 20px; height: 20px; }
.hb-s-yazi { display: flex; flex-direction: column; min-width: 0; }
.hb-s-ad { font-weight: 800; }
.hb-s-metin { font-size: .875rem; color: var(--hb-muted); }
.hb-rss { margin: 1.5rem 0 0; font-size: .875rem; color: var(--hb-muted); }

/* ------------------------------------------------------------------ haber sayfası (_haber_base.html) */
.hb-taslak { background: #fffbeb; border-bottom: 1px solid #fde68a; color: #92400e; padding: .6rem 1rem; text-align: center; font-weight: 700; font-size: .9rem; }
.hb-bant { background: linear-gradient(135deg, var(--hb-navy), var(--hb-blue)); color: #fff; border-radius: 0 0 22px 22px; }
.hb-bant-in { max-width: 60rem; margin: 0 auto; padding: 1.25rem 1rem 1.75rem; padding-right: min(34%, 13rem); }
.hb-crumbs { font-size: .875rem; margin: 0 0 .6rem; }
.hb-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; margin: 0; padding: 0; }
.hb-crumbs li { min-width: 0; }
.hb-crumbs li + li::before { content: "›"; margin-right: .25rem; opacity: .7; }
.hb-crumbs a { color: #fff; text-decoration: none; }
.hb-crumbs a:hover { text-decoration: underline; }
.hb-crumbs [aria-current] { color: #cbd5e1; }
.hb-bant .hb-meta { color: #cbd5e1; }
.hb-bant .hb-tur { color: #fde68a; }
.hb-bant h1 { font-size: clamp(1.5rem, 4vw, 2.25rem); line-height: 1.2; margin: .35rem 0 .6rem; color: #fff; max-width: 30ch; text-wrap: balance; }
.hb-cevap { margin: 0; color: #dbeafe; max-width: 60ch; font-size: 1rem; }
.hb-cevap strong { color: #fde68a; }

.hb-kabuk { max-width: 60rem; margin: 0 auto; padding: 1.75rem 1rem 3rem; }
.hb-main { min-width: 0; max-width: 60rem; }
.hb-main h2 { font-size: 1.5rem; line-height: 1.25; margin: 2.25rem 0 .75rem; }
.hb-main h3 { font-size: 1.2rem; margin: 1.5rem 0 .5rem; }
.hb-main p, .hb-main li { max-width: 72ch; }
.hb-main > :first-child { margin-top: 0; }

.hb .pf-table-wrap { overflow-x: auto; border: 1px solid var(--hb-line); border-radius: 12px; }
.hb table.pf-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.hb .pf-table th, .hb .pf-table td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--hb-line); white-space: nowrap; }
.hb .pf-table td.num, .hb .pf-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.hb .pf-table th { background: var(--hb-soft); font-weight: 700; color: var(--hb-muted); }
.hb .pf-table th button { all: unset; cursor: pointer; }
.hb .pf-table th button::after { content: " ↕"; opacity: .45; font-size: .8em; }
.hb .pf-table th button:focus-visible { outline: 2px solid var(--hb-link); }
.hb .pf-table tr:last-child td { border-bottom: 0; }
.hb .pf-table a { color: var(--hb-blue); font-weight: 700; text-decoration: none; }
.hb .pf-table a:hover { text-decoration: underline; }

.hb-kutu { margin: 2.5rem 0 0; padding: 1rem 1.15rem; border: 1px solid var(--hb-line); border-left: 4px solid var(--hb-amber); border-radius: 12px; background: var(--hb-soft); }
.hb-kutu h2 { margin: 0 0 .35rem !important; font-size: 1.2rem !important; }
.hb-kutu p { margin: .35rem 0 0; }
.hb-alinti { display: block; margin-top: .5rem; padding: .55rem .75rem; border-radius: 8px; background: #fff; border: 1px solid var(--hb-line); font-size: .875rem; color: var(--hb-ink); overflow-wrap: anywhere; user-select: all; }

.hb-ilgili { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hb-ilgili a { display: inline-flex; align-items: center; min-height: 40px; border: 1px solid var(--hb-line); border-radius: 999px; padding: .3rem .9rem; text-decoration: none; color: var(--hb-link); font-size: .9375rem; }
.hb-ilgili a:hover { border-color: var(--hb-link); }
.hb-not { margin: 2rem 0 0; color: var(--hb-muted); font-size: .875rem; }

.hb-diger { margin-top: 2.5rem; border-top: 2px solid var(--hb-ink); padding-top: .75rem; }
.hb-diger h2 { margin: 0 0 .5rem; font-size: 1.2rem; }
.hb-diger ul { list-style: none; margin: 0; padding: 0; }
.hb-diger li { position: relative; padding: .7rem 0; border-bottom: 1px solid var(--hb-line); }
.hb-diger li a { display: block; margin-top: .15rem; font-weight: 700; color: var(--hb-ink); text-decoration: none; line-height: 1.35; }
.hb-diger li a::after { content: ""; position: absolute; inset: 0; }
.hb-diger li a:hover { color: var(--hb-link); text-decoration: underline; }
.hb-diger .hb-tumu { display: inline-block; margin-top: .75rem; font-weight: 700; font-size: .875rem; }

@media (min-width: 1100px) {
  .hb-bant-in { max-width: 80.5rem; padding-right: 19rem; }
  .hb-kabuk { max-width: 80.5rem; display: grid; grid-template-columns: minmax(0, 60rem) 16rem; gap: 2.5rem; justify-content: center; }
  .hb-diger { margin-top: 0; align-self: start; }
}
@media (min-width: 1100px) and (min-height: 820px) { .hb-diger { position: sticky; top: 60px; } }

/* ------------------------------------------------------------------ telefon */
@media (max-width: 900px) {
  .hb-son-grid { grid-template-columns: minmax(0, 1fr); }
  .hb-uc { grid-template-columns: minmax(0, 1fr); }
  .hb-sayfalar { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .hb-ana { padding: .75rem 1rem 2.5rem; }
  /* Telefonda sahne bütün hero (mantarlar alt köşelerde, küçük); metin tam genişlik, altta mantarlara yer */
  .hb-hero .hb-hero-sahne { top: 0; left: 0; width: auto; }
  .hb-hero-in { max-width: none; min-height: 0; padding: 1.35rem 1.1rem 6.75rem; }
  .hb-slayt-baslik { font-size: 1.6rem; }
  .hb-slayt-deger strong { font-size: 1.75rem; }
  .hb-kontrol { position: relative; z-index: 2; }
  .hb-liste li { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .hb-liste p { white-space: normal; }
  .hb-kapak strong { font-size: 1.75rem; }
  .hb-bant-in { padding-right: 1rem; padding-top: 1rem; padding-bottom: 4.25rem; }
}
@media (prefers-reduced-motion: reduce) { .hb * { animation: none !important; transition: none !important; } }
