/* directory modülü: ana sayfa, liste, arama, tedavi sayfaları.
   Çekirdek değişkenleri (style.css :root) kullanır. */

/* ---------- Ana sayfa ---------- */
.home-spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.home-spec { display: flex; flex-direction: column; gap: 4px; padding: 16px; color: var(--c-text); transition: border-color .15s, transform .15s; }
.home-spec + .home-spec { margin-top: 0; }
.home-spec:hover { border-color: var(--c-primary); text-decoration: none; transform: translateY(-1px); }
.home-spec-name { font-weight: 700; }
.home-city + .home-city { margin-top: 0; }
.home-city h3 a { color: var(--c-text); }
.home-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: none; }
.home-steps .card + .card { margin-top: 0; }
.home-step-no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c-primary); color: #fff; font-weight: 800; margin-bottom: 10px; }
@media (max-width: 720px) { .home-steps { grid-template-columns: 1fr; } }

/* ---------- Liste sayfası ---------- */
.dir-wrap { padding-top: 16px; }
.dir-head { margin: 8px 0 20px; max-width: 860px; }
.dir-intro { font-size: 1.05rem; color: var(--c-text); }
.dir-answer { margin: 28px 0 0; max-width: 860px; padding: 12px 16px; border-left: 4px solid var(--c-primary); background: #fff; border-radius: 0 12px 12px 0; font-size: .98rem; line-height: 1.6; color: var(--c-text); }
@media (max-width: 640px) { .dir-answer { font-size: .86rem; line-height: 1.5; padding: 10px 12px; } }
.dir-search-inline { display: grid; grid-template-columns: 1fr 200px auto; gap: 10px; margin-top: 12px; }
@media (max-width: 600px) { .dir-search-inline { grid-template-columns: 1fr; } }
.dir-quicklinks { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }

.dir-stats { margin-bottom: 20px; border-left: 4px solid var(--c-primary); }
.dir-stats-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); margin-bottom: 10px; }
.dir-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 20px; margin: 0 0 12px; }
.dir-stats-grid dt { font-size: .82rem; color: var(--c-muted); }
.dir-stats-grid dd { margin: 2px 0 0; font-size: 1.25rem; font-weight: 800; color: var(--c-text); }
.dir-stats-sentence { margin: 0; color: var(--c-text); }
.dir-treatment { margin-bottom: 20px; }
.dir-info-bottom { margin-top: 28px; }
.dir-info-bottom > :last-child { margin-bottom: 0; }
.dir-treatment h2 { font-size: 1.1rem; }

.dir-layout { display: grid; grid-template-columns: 270px 1fr; gap: 24px; align-items: start; }
.dir-layout.no-filters { grid-template-columns: 1fr; }
@media (max-width: 900px) { .dir-layout { grid-template-columns: 1fr; } }

.dir-filters { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 900px) { .dir-filters { position: static; } }
.dir-filters .card + .card { margin-top: 0; }
.dir-filters-box { padding: 0; }
.dir-filters-box > summary, .dir-ranking > summary { cursor: pointer; font-weight: 700; padding: 14px 18px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.dir-filters-box > summary::-webkit-details-marker, .dir-ranking > summary::-webkit-details-marker { display: none; }
.dir-filters-box > summary::after, .dir-ranking > summary::after { content: '+'; color: var(--c-muted); font-weight: 400; font-size: 1.2rem; }
.dir-filters-box[open] > summary::after, .dir-ranking[open] > summary::after { content: '–'; }
.dir-filter-form { padding: 0 18px 16px; }
.dir-filter-form fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.dir-filter-form legend { font-weight: 700; font-size: .85rem; margin-bottom: 6px; color: var(--c-text); }
.dir-filter-form .checkbox { margin: 0 0 4px; cursor: pointer; }
.dir-filter-form .checkbox input { margin-top: 3px; accent-color: var(--c-primary); }
.dir-filter-actions { display: flex; gap: 8px; }
.dir-ranking { padding: 0; }
.dir-ranking > summary { font-size: .9rem; color: var(--c-primary-dark); }
.dir-ranking > :not(summary) { margin-left: 18px; margin-right: 18px; }
.dir-ranking ul { padding-left: 18px; }
.dir-ranking li { margin-bottom: 4px; }
.dir-ranking > p:last-child { margin-bottom: 14px; }

.dir-count { margin: 0 0 10px; }

/* ---------- Doktor kartı ---------- */
.doc-card { display: grid; grid-template-columns: 1fr 260px; gap: 16px; transition: border-color .15s; }
.doc-card.card { padding: 16px 18px; }
.doc-card:hover { border-color: #cdd5df; }
.doc-card-main { display: flex; gap: 16px; min-width: 0; }
.doc-card-main .avatar:hover { text-decoration: none; }
.doc-card-body { min-width: 0; }
.doc-card-name { font-size: 1.12rem; margin: 0 0 4px; }
.doc-card-name a { color: var(--c-text); }
.doc-card-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-bottom: 6px; }
.doc-card-spec { color: var(--c-muted); font-size: .92rem; margin-right: 2px; }
.doc-card-loc { font-size: .9rem; margin: 0 0 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.doc-card-loc .ico { color: var(--c-primary); }
.doc-card-services { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .8rem; }
.doc-card-services li { padding: 3px 10px; border-radius: 999px; background: #f7f1ec; color: #5a676a; }
.doc-card-services .price { font-weight: 600; white-space: nowrap; }
.doc-card-pricerange { margin: 4px 0 0; }
.doc-card-cta { display: flex; flex-direction: column; gap: 6px; justify-content: center; border-left: 1px solid var(--c-border); padding-left: 16px; }
.doc-card-next { margin: 0 0 4px; display: flex; flex-direction: column; background: var(--c-success-soft); border-radius: var(--radius-sm); padding: 8px 12px; }
.doc-card-next strong { color: var(--c-success); }
.doc-sched { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.doc-sched-day { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.doc-sched-head { display: flex; flex-direction: column; align-items: center; line-height: 1.2; font-size: .8rem; margin-bottom: 2px; }
.doc-sched-head span { color: var(--c-muted); font-size: .74rem; }
.doc-sched-slot { display: block; text-align: center; font-size: .8rem; font-weight: 600; padding: 3px 0; border-radius: 6px;
  background: var(--c-primary-soft, #e8f0fe); color: var(--c-primary); text-decoration: none; }
a.doc-sched-slot:hover { background: var(--c-primary); color: #fff; text-decoration: none; }
.doc-sched-slot.is-taken { background: #f1f3f6; color: #9aa4b2; text-decoration: line-through; cursor: not-allowed; font-weight: 500; }
.doc-sched-more { text-align: center; font-size: .76rem; }
@media (max-width: 640px) {
  .doc-card { grid-template-columns: 1fr; gap: 14px; }
  .doc-card-cta { border-left: 0; padding-left: 0; border-top: 1px solid var(--c-border); padding-top: 14px; }
  .doc-card-main .avatar { width: 52px; height: 52px; font-size: 1.05rem; }
}

.pagination .gap { border: 0; background: transparent; }
.dir-pager { flex-wrap: wrap; align-items: center; margin-top: 28px; }
.dir-pager-info { flex-basis: 100%; text-align: center; margin: 0 0 4px; }
.dir-pager a, .dir-pager span { min-width: 40px; text-align: center; padding: 8px 12px; border-radius: 10px; font-weight: 600; }
.dir-pager a:hover { border-color: var(--c-primary); color: var(--c-primary-dark); text-decoration: none; }
.dir-pager .is-disabled { color: var(--c-muted); opacity: .5; }
@media (max-width: 560px) { .dir-pager a, .dir-pager span { padding: 7px 10px; min-width: 34px; font-size: .85rem; } }

/* ---------- Boş durum, SSS, iç bağlantılar ---------- */
.dir-empty { text-align: center; padding: 36px 20px; }
.dir-empty .pills { justify-content: center; margin-bottom: 12px; }
.dir-empty-up { margin-top: 16px; }
.dir-faq { margin-top: 24px; }
.dir-related { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; border-top: 1px solid var(--c-border); padding-top: 24px; }
.dir-related h2 { font-size: 1rem; }
.dir-link-list { list-style: none; padding: 0; margin: 0; columns: 1; }
.dir-link-list li { padding: 3px 0; font-size: .93rem; }

/* Hastalık sayfaları */
.dir-symptoms { margin: 4px 0 12px; padding-left: 20px; columns: 2; column-gap: 28px; }
.dir-symptoms li { break-inside: avoid; margin-bottom: 4px; }
@media (max-width: 600px) { .dir-symptoms { columns: 1; } }
.dir-disease h3 { font-size: 1rem; margin-top: 12px; }

.dir-loc select { width: 100%; margin-bottom: 6px; }
.dir-loc select:disabled { opacity: .6; }

/* Ana sayfa — tüm uzmanlıklar (A–Z) */
.home-all-spec { margin-top: 16px; }
.home-all-spec summary { display: inline-flex; cursor: pointer; padding: 8px 16px; border-radius: 999px; background: var(--c-primary-soft);
  color: var(--c-primary-dark); font-weight: 600; list-style: none; }
.home-all-spec summary::-webkit-details-marker { display: none; }
.home-all-spec summary:hover { background: #fbdcc4; }
.home-all-spec[open] summary { background: var(--c-primary); color: #fff; }
.home-all-spec-list { columns: 4 220px; column-gap: 24px; list-style: none; padding: 16px 0 0; margin: 0; }
.home-all-spec-list li { break-inside: avoid; padding: 3px 0; font-size: .92rem; }


/* ==========================================================
   Ana sayfa — hero (ortada başlık + arama, iki yanda yüzen kartlar)
   ========================================================== */
.directory-home .site-main { overflow-x: clip; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/static/fonts/playfair-display-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/static/fonts/playfair-display-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 500; font-display: swap;
  src: url(/static/fonts/playfair-display-latin-ext-500-italic.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 500; font-display: swap;
  src: url(/static/fonts/playfair-display-latin-500-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.directory-home .hx-stage { min-height: 0; padding-top: 52px; padding-bottom: 60px; }
@media (max-width: 960px) { .directory-home .hx-stage { min-height: 100vh; min-height: 100svh; padding-top: 40px; padding-bottom: 48px; } }
.hx-logo { display: inline-block; margin: 0 0 26px; }
.hx-logo img { display: block; height: 44px; width: auto; }

/* Ana sayfa üst alanı: beyaz zemin, köşelerde renk karoları ve doktor fotoğrafları */
.hx { --t: clamp(56px, 6.6vw, 96px); position: relative; z-index: 3; overflow-x: clip; overflow-y: visible; background: #fff; border-bottom: 1px solid #f3e6da; }
.hx-stage { position: relative; max-width: 1440px; margin: 0 auto; min-height: calc(var(--t) * 5); isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; align-items: center; padding: 64px 28px 64px; }

.hx-mosaic { position: absolute; z-index: -1; width: calc(var(--t) * 3); height: calc(var(--t) * 3); }
.hx-mosaic i { position: absolute; width: var(--t); height: var(--t); }
.hx-mosaic-l { left: 0; top: 0; }
.hx-mosaic-l .t1 { left: 0; top: 0; background: #1f86b3; }
.hx-mosaic-l .t2 { left: 0; top: var(--t); background: #4cbbe0; }
.hx-mosaic-l .t3 { left: var(--t); top: var(--t); background: #b5e5f4; }
.hx-mosaic-l .t4 { left: calc(var(--t) * 2); top: calc(var(--t) * 2); background: #e6f6fb; }
.hx-mosaic-r { right: 0; bottom: 0; }
.hx-mosaic-r .t1 { right: 0; bottom: 0; background: #ec7a3c; }
.hx-mosaic-r .t2 { right: 0; bottom: var(--t); background: #f6a87c; }
.hx-mosaic-r .t3 { right: var(--t); bottom: var(--t); background: #fbd4ba; }
.hx-mosaic-r .t4 { right: calc(var(--t) * 2); bottom: calc(var(--t) * 2); background: #fdeee3; }


.hx-center { position: relative; z-index: 2; text-align: center; }
.hx-kicker { margin: 0 0 26px; font-size: .86rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #222; }
.hx h1 { margin: 0 0 26px; font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.08; letter-spacing: -.02em; color: #222; }
.hx-l1 { display: block; font-size: clamp(2.6rem, 5.4vw, 4.6rem); color: #222; }
.hx-l2 { display: block; font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-style: italic; color: #222; }
/* Farkındalık günü: başlık yerine görsel/GIF (Admin › Site ayarları). Açık zeminli görseller beyaz alanla kaynaşsın */
.hx h1.hx-aw { margin: -10px 0 6px; line-height: 0; }
.hx-aw img { display: inline-block; width: 100%; max-width: 400px; max-height: 210px; height: auto; object-fit: contain; mix-blend-mode: multiply;
  filter: brightness(1.07) contrast(1.04);
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%); }
.hx-sub { max-width: 720px; margin: 0 auto 34px; text-wrap: balance; font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-weight: 400; line-height: 1.6; color: #222; }

/* Arama */
.hs { position: relative; }
.hs-tabs { display: inline-flex; gap: 4px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: 0 10px 30px -12px rgba(120, 72, 30, .3);
  border: 1px solid #f4e3d5; position: relative; z-index: 3; margin-bottom: -22px; }
.hs-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 999px; background: transparent;
  font: inherit; font-weight: 600; font-size: .95rem; color: var(--c-text); cursor: pointer; transition: background .15s, color .15s; }
.hs-tab svg, .hs-ico, .hs-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hs-tab:hover { background: var(--c-primary-soft); }
.hs-tab:active { background: var(--c-primary); color: #fff; }
.hs-tab.is-on { background: var(--c-ink); color: #fff; }
.hs-box { display: grid; grid-template-columns: 1.25fr 1fr auto; gap: 10px; align-items: center; text-align: left;
  background: #fff; border-radius: 24px; padding: 38px 14px 14px; box-shadow: 0 24px 50px -24px rgba(120, 72, 30, .35); border: 1px solid #f4e3d5; }
.hs-field { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 16px; border-radius: 18px; background: #fdf4ec;
  transition: background .15s, box-shadow .15s; min-width: 0; }
.hs-field:hover { background: var(--c-primary-soft); }
.hs-field:focus-within { background: #fff; box-shadow: 0 0 0 2px var(--c-primary); }
.hs-ico { color: var(--c-primary-dark); width: 22px; height: 22px; }
.hs-field label { display: flex; flex-direction: column; flex: 1; min-width: 0; margin: 0; cursor: text; }
.hs-label { font-size: .72rem; color: var(--c-muted); font-weight: 600; letter-spacing: .01em; }
.hs-field input[type=text] { border: 0; padding: 2px 0; background: transparent; font: inherit; font-size: 1rem; font-weight: 600; color: var(--c-text); width: 100%; box-shadow: none; outline: none; }
.hs-field input::placeholder { color: #9aa3a5; font-weight: 500; }
.hs-btn { height: 58px; padding: 0 28px; border-radius: 18px; font-size: 1.05rem; gap: 8px; }
.hs-tab:hover { background: var(--c-primary-soft); }
.hs-tab:active { background: var(--c-primary); color: #fff; }
.hs-tab.is-on { background: var(--c-ink); color: #fff; }
.hs-box { display: grid; grid-template-columns: 1.25fr 1fr auto; gap: 10px; align-items: center; text-align: left;
  background: #fff; border-radius: 24px; padding: 38px 14px 14px; box-shadow: 0 24px 50px -24px rgba(120, 72, 30, .35); border: 1px solid #f4e3d5; }
.hs-field { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 16px; border-radius: 18px; background: #fdf4ec;
  transition: background .15s, box-shadow .15s; min-width: 0; }
.hs-field:hover { background: var(--c-primary-soft); }
.hs-field:focus-within { background: #fff; box-shadow: 0 0 0 2px var(--c-primary); }
.hs-ico { color: var(--c-primary-dark); width: 22px; height: 22px; }
.hs-field label { display: flex; flex-direction: column; flex: 1; min-width: 0; margin: 0; cursor: text; }
.hs-label { font-size: .72rem; color: var(--c-muted); font-weight: 600; letter-spacing: .01em; }
.hs-field input[type=text] { border: 0; padding: 2px 0; background: transparent; font: inherit; font-size: 1rem; font-weight: 600; color: var(--c-text); width: 100%; box-shadow: none; outline: none; }
.hs-field input::placeholder { color: #9aa3a5; font-weight: 500; }
.hs-btn { height: 58px; padding: 0 28px; border-radius: 18px; font-size: 1.05rem; gap: 8px; }

/* Öneri listesi */
.hs-list { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; list-style: none; margin: 0; padding: 6px; max-height: 340px; overflow-y: auto;
  background: #fff; border-radius: 16px; border: 1px solid #f1e2d4; box-shadow: 0 24px 48px -16px rgba(60, 40, 20, .3); }
.hs-list-title { padding: 6px 10px 4px; font-size: .72rem; font-weight: 700; color: var(--c-muted); text-transform: uppercase; letter-spacing: .04em; }
.hs-opt { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; cursor: pointer; }
.hs-opt:hover, .hs-opt.is-active { background: var(--c-primary-soft); }
.hs-opt-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-opt-meta { flex: none; font-size: .74rem; color: var(--c-muted); padding: 2px 8px; border-radius: 999px; background: #f6efe9; }
.hs-k-u { background: #e6f0f1; color: var(--c-ink); }
.hs-k-h { background: #fde8e6; color: #a5402e; }
.hs-k-t { background: var(--c-primary-soft); color: var(--c-primary-dark); }

@media (max-width: 1180px) {
  .hx { --t: 7vw; }
  .hx-mosaic .t4 { display: none; }
  .hx-stage { min-height: 0; }
}
@media (max-width: 960px) {
  .hx { --t: 46px; }
  .hx-stage { min-height: 0; padding: 72px 20px 64px; }
}
@media (max-width: 760px) {
  .hx { --t: 30px; }
  .hx-mosaic .t4 { display: none; }
  .hx-stage { padding: 72px 14px 60px; }
  .hx-kicker { font-size: .7rem; letter-spacing: .12em; margin-bottom: 12px; }
  .hx-logo { margin-bottom: 18px; }
  .hx-logo img { height: 34px; }
  .hx h1.hx-aw { margin-top: -4px; }
  .hs-tabs { display: flex; overflow-x: auto; max-width: 100%; margin-bottom: 10px; scrollbar-width: none; }
  .hs-tabs::-webkit-scrollbar { display: none; }
  .hs-tab { flex: 1 0 auto; justify-content: center; padding: 9px 12px; }
  .hs-tab svg { display: none; }
  .hx-l1, .hx-l2 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .hx-sub { font-size: 1rem; }
  .hs-tab { padding: 9px 14px; font-size: .9rem; }
  .hs-box { grid-template-columns: 1fr; border-radius: 22px; padding: 14px; }
  .hs-btn { height: 54px; width: 100%; }
}

/* Ana sayfa — rakamlar */
.hm-title { text-align: center; font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -.02em; max-width: 780px; margin: 0 auto 28px; color: var(--c-ink); }
.hm-title span { color: var(--c-primary); }
.hm-title-left { text-align: left; margin-left: 0; }
.hm-impact { padding-top: 56px; }
.hm-impact-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.hm-art { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border-radius: 26px;
  background: linear-gradient(160deg, #fff1e6, #fff); border: 1px solid #f6e3d3; }
.hm-art svg { width: 100%; max-width: 360px; margin: 0 auto; display: block; }
.hm-art p { margin: 12px 0 0; display: flex; flex-direction: column; gap: 2px; }
.hm-art p span { color: var(--c-muted); font-size: .92rem; }
.hm-stat { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border-radius: 26px; background: #fff; border: 1px solid #f6e3d3; box-shadow: var(--shadow); }
.hm-stat-label { color: var(--c-primary-dark); font-weight: 600; font-size: .95rem; }
.hm-stat strong { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.05; letter-spacing: -.03em; color: var(--c-ink); }
.hm-stat strong small { font-size: .5em; color: var(--c-muted); font-weight: 600; margin-left: 2px; }
.hm-stat .muted { font-size: .92rem; }
@media (max-width: 900px) { .hm-impact-grid { grid-template-columns: 1fr 1fr; } .hm-art { grid-column: span 2; grid-row: auto; } }
@media (max-width: 520px) { .hm-impact-grid { grid-template-columns: 1fr; } .hm-art { grid-column: auto; } }

.hm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hm-two .card + .card { margin-top: 0; }
.hm-two h2 { font-size: 1.15rem; }
@media (max-width: 800px) { .hm-two { grid-template-columns: 1fr; } }

/* ==========================================================
   Ana sayfa · küre kahraman alanı (.hg): solda başlık + arama, sağda dönen fotoğraf küresi
   ========================================================== */
.directory-home .site-header { background: rgba(255, 255, 255, .92); border-bottom-color: transparent; }
.directory-home { background: #fff; }
.hg { position: relative; overflow-x: clip; background: #fff; border-bottom: 1px solid #f1ece6; }
.hg-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 40px;
  min-height: min(760px, calc(100svh - 64px)); padding-top: 40px; padding-bottom: 56px; }
.hg-copy { position: relative; z-index: 2; }
.hg .hx-kicker { margin: 0 0 18px; font-size: .8rem; letter-spacing: .12em; color: #6b7280; }
.hg-title { margin: 0 0 22px; font-family: inherit; font-size: clamp(2.6rem, 4.9vw, 4.2rem); line-height: 1.03; font-weight: 700;
  letter-spacing: -.045em; color: #111827; text-wrap: balance; }
.hg .hx-sub { max-width: 560px; margin: 0 0 30px; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.55; color: #6b7280; text-wrap: pretty; }
.hg h1.hx-aw { margin: 0 0 14px; line-height: 0; }
.hg .hx-aw img { width: 100%; max-width: 420px; max-height: 220px; object-fit: contain; object-position: left center; mix-blend-mode: multiply; }

/* Arama: referanstaki "Try for free" düğmesinin yerinde, hap biçimli */
.hg .hs { max-width: 660px; }
.hg .hs-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hg .hs-tabs { margin-bottom: 12px; padding: 4px; box-shadow: none; border: 1px solid #ececec; }
.hg .hs-tab { padding: 7px 14px; font-size: .88rem; }
.hg .hs-box { grid-template-columns: 1.2fr 1fr auto; gap: 0; padding: 6px; border: 1px solid #e5e7eb; border-radius: 999px; background: #fff;
  box-shadow: 0 18px 40px -24px rgba(17, 24, 39, .35); }
.hg .hs-field { background: transparent; border-radius: 999px; padding: 6px 16px; }
.hg .hs-field + .hs-field { border-left: 1px solid #eee; border-radius: 0 999px 999px 0; }
.hg .hs-field:hover { background: #f8f8f8; }
.hg .hs-field:focus-within { background: #fff; box-shadow: inset 0 0 0 2px #111827; }
.hg .hs-ico { color: #111827; }
.hg .hs-btn { height: 56px; padding: 0 26px; border-radius: 999px; background: #111827; border-color: #111827; color: #fff; }
.hg .hs-btn:hover { background: #000; }
.hg-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 22px; font-size: .92rem; }
.hg-quick-label { color: #9ca3af; }
.hg-quick a { color: #4b5563; text-decoration: none; border-bottom: 1px solid #e5e7eb; }
.hg-quick a:hover { color: #111827; border-bottom-color: #111827; }

/* Küre: CSS 3B; karolar Fibonacci dağılımıyla yerleştirilir (home.ejs), küre yavaşça döner */
.hg-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 560px; }
.hg-scene { --gr: 250px; width: calc(var(--gr) * 2.2); height: calc(var(--gr) * 2.2); perspective: 1400px; display: grid; place-items: center; }
.hg-globe { position: relative; width: 0; height: 0; transform-style: preserve-3d; animation: hg-spin 60s linear infinite; }
@keyframes hg-spin { from { transform: rotateX(-14deg) rotateY(0deg); } to { transform: rotateX(-14deg) rotateY(-360deg); } }
.hg-tile { position: absolute; left: -26px; top: -33px; width: 52px; height: 66px; border-radius: 6px; overflow: hidden; background: #eef1f4;
  box-shadow: 0 6px 16px -8px rgba(17, 24, 39, .45); transform-style: preserve-3d; backface-visibility: visible; }
.hg-tile.is-big { left: -36px; top: -45px; width: 72px; height: 90px; border-radius: 8px; }
.hg-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hg-tile img.is-broken { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .hg-globe { animation: none; transform: rotateX(-14deg) rotateY(-30deg); } }

@media (max-width: 1100px) { .hg-scene { --gr: 210px; } .hg-visual { min-height: 480px; } }
@media (max-width: 900px) {
  .hg-grid { grid-template-columns: 1fr; gap: 8px; min-height: 0; padding-top: 28px; padding-bottom: 36px; }
  .hg-visual { order: -1; min-height: 0; height: 260px; margin: -6px 0 4px; }
  .hg-scene { --gr: 110px; }
  .hg-tile { left: -17px; top: -21px; width: 34px; height: 42px; border-radius: 4px; }
  .hg-tile.is-big { left: -23px; top: -29px; width: 46px; height: 58px; }
  .hg-title { font-size: clamp(2.1rem, 8.5vw, 2.8rem); }
  .hg .hs-box { grid-template-columns: 1fr; border-radius: 22px; gap: 4px; }
  .hg .hs-field, .hg .hs-field + .hs-field { border-left: 0; border-radius: 16px; }
  .hg .hs-field + .hs-field { border-top: 1px solid #eee; }
  .hg .hs-btn { width: 100%; height: 52px; }
}
.directory-home .main-nav a.btn[href="/giris"] { background: #fff; color: #111827; border: 1px solid #d1d5db; border-radius: 999px; padding-inline: 18px; }
.directory-home .main-nav a.btn[href="/giris"]:hover { border-color: #111827; }
