/* ==========================================================================
   ORTAK TEMA — dört hekim sitesi (style.css + service.css ana siteden,
   bu dosya mini sitelerin eklemeleri). Renk/yazı tipi ana siteyle aynı.
   ========================================================================== */

/* ---------- HEADER: ana sitenin mega menüsü → mega-header.css / mega-header.js / site/includes/site_header.php ---------- */

/* ---------- ANASAYFA kahramanı ---------- */
.th-home-hero{padding:140px 0 70px}
.th-home-hero .svc-hero-grid{grid-template-columns:1.1fr .9fr;align-items:end;gap:30px}
.th-home-hero .hero-portrait{min-height:0;padding-top:10px}
.th-trust{list-style:none;display:flex;flex-wrap:wrap;gap:10px 22px;margin:26px 0 0;padding:0}
.th-trust li{display:inline-flex;align-items:center;gap:8px;font-size:.86rem;color:rgba(255,255,255,.8)}
.th-trust svg{color:var(--rose-soft);flex:none}
.th-home .stat-row{margin-top:10px}
.th-home .svc-sec:nth-of-type(even){background:var(--bg-alt)}
@media(max-width:900px){
  .th-home-hero{padding:118px 0 40px}
  .th-home-hero .svc-hero-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .th-home-hero .hero-portrait img,.th-home-hero .hero-portrait .arc,.th-home-hero .hero-portrait .halo{max-width:300px}
  .th-home-hero .hero-tag{width:auto;max-width:86%;padding:10px 14px;bottom:5%}
  .th-home-hero .hero-tag .t{font-size:1.15rem}
  .th-home-hero .hero-tag .s{font-size:.56rem;letter-spacing:.1em;line-height:1.35}
}

/* ---------- Bağlantı kartları (merkez sayfalar, anasayfa) ---------- */
.th-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:22px 0}
.th-cards.th-cards-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.th-cards.th-cards-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.th-cards.th-cards-1{grid-template-columns:1fr}
.th-card{position:relative;display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px 22px 18px;
  color:var(--ink);text-decoration:none;box-shadow:0 14px 36px -26px rgba(40,5,55,.35);transition:transform .25s,border-color .25s,box-shadow .25s}
.th-card:hover{transform:translateY(-3px);border-color:var(--rose-soft);box-shadow:0 22px 44px -26px rgba(106,0,150,.45);text-decoration:none}
.th-card h3{font-size:1.08rem;line-height:1.3;font-weight:600;margin:0;color:var(--ink)}
.th-card p{margin:0;font-size:.93rem;line-height:1.6;color:var(--ink-soft)}
.th-card .more{margin-top:auto;padding-top:6px;font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;color:var(--rose-deep);font-weight:600}
.th-card-ic{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--bg-alt);color:var(--rose-deep);font-size:1.1rem}
.th-card-k{font-size:.68rem;letter-spacing:.18em;text-transform:uppercase;color:var(--rose-deep);font-weight:600}
.th-card-img{margin:-22px -22px 6px;border-radius:14px 14px 0 0;overflow:hidden}
.th-card-featured{border:2px solid var(--rose);background:linear-gradient(135deg,#fff 55%,var(--bg-alt))}
.th-card-featured h3{font-size:1.25rem}
@media(max-width:980px){.th-cards,.th-cards.th-cards-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.th-cards,.th-cards.th-cards-2,.th-cards.th-cards-4{grid-template-columns:1fr}}

/* ---------- Gövde parçaları ---------- */
.th-btns{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.btn-wa{background:#25d366;color:#fff;border-color:#25d366}
.btn-wa:hover{background:#1ebe5b;color:#fff;border-color:#1ebe5b}
.th-sources{margin:28px 0 8px;padding:18px 22px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:.9rem}
.th-sources b{display:block;font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-soft);margin-bottom:8px}
.th-sources ol{margin:0;padding-left:1.2em}
.th-sources li{margin:.3em 0;line-height:1.5}
.th-sources a{color:var(--rose-deep);text-decoration:underline;text-underline-offset:2px;word-break:break-word}
.th-main{display:block}
.th-page-body{max-width:900px;margin:40px auto}
.th-list-wrap{margin:34px auto 50px}
.th-pages{display:flex;gap:8px;justify-content:center;margin-top:36px}
.th-pages a{min-width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:10px;color:var(--ink)}
.th-pages a.is-active{background:var(--rose-deep);border-color:var(--rose-deep);color:#fff}
.th-sitemap{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:26px}
.th-sitemap h2{font-size:1.05rem;margin:0 0 8px}
.th-sitemap ul{list-style:none;margin:0;padding:0}
.th-sitemap li{margin:.35em 0}
.th-sitemap a{color:var(--ink-soft)}
.th-sitemap a:hover{color:var(--rose-deep)}

/* Yazı / sayfa gövdesi (blog yazıları, yasal sayfalar) */
.th-rich{font-size:1.04rem;line-height:1.8;color:#2c2333}
.th-rich h2{font-size:1.55rem;line-height:1.25;margin:1.7em 0 .55em;color:var(--ink);scroll-margin-top:130px}
.th-rich h3{font-size:1.18rem;margin:1.3em 0 .45em;color:var(--rose-deep)}
.th-rich p{margin:0 0 1.05em}
.th-rich ul,.th-rich ol{margin:0 0 1.2em 1.25em}
.th-rich li{margin:.4em 0}
.th-rich a{color:var(--rose-deep);text-decoration:underline;text-underline-offset:2px}
.th-rich .th-card,.th-rich .btn{text-decoration:none}
.th-rich .summary-box,.th-rich .note-box,.th-rich .related,.th-rich .faq,.th-rich .svc-table,.th-rich .two-grid,.th-rich .def-grid,.th-rich .timeline{margin:1.4em 0}
.th-rich .note-box p{margin:0}
.th-rich .faq-a p{margin:0}
.post-body-wrap{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:46px;align-items:start;margin:40px auto 10px}
.post-body,.post-aside{min-width:0}
.aside-card{position:sticky;top:120px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px;box-shadow:0 18px 40px -28px rgba(40,5,55,.35)}
.aside-card h3{font-size:1.15rem;margin:0 0 6px}
.aside-card p{color:var(--ink-soft);font-size:.9rem;margin:0 0 14px}
.aside-card .btn{width:100%;justify-content:center;margin-bottom:10px}
.th-aside-tel{display:flex;align-items:center;justify-content:center;gap:7px;font-size:.9rem;color:var(--ink-soft)}
.post-svc-hero{padding:120px 0 50px}
.post-svc-hero h1{font-size:clamp(1.9rem,4.2vw,3rem);max-width:920px;font-weight:400;line-height:1.1;margin:14px 0 14px}
.post-svc-hero .lede{max-width:720px;color:rgba(255,255,255,.82);font-weight:300;font-size:1.06rem}
.post-svc-hero .post-meta{margin-top:14px;color:rgba(255,255,255,.62);font-size:.86rem}
.post-cover-wrap{margin:26px auto}
.post-cover{width:100%;max-height:520px;object-fit:cover;border-radius:12px}
@media(max-width:900px){.post-body-wrap{grid-template-columns:minmax(0,1fr)}.aside-card{position:static}}

/* ---------- İletişim / randevu formu ---------- */
.th-contact{padding:70px 0}
.svc-hero-cta .btn-ghost-light{border:1px solid rgba(255,255,255,.4);color:#fff;background:transparent;transition:.3s}
.svc-hero-cta .btn-ghost-light:hover{background:rgba(255,255,255,.12);border-color:#fff}
.th-contact .contact-grid{align-items:stretch}
.contact-left .contact-note{margin:22px 0 0}
@media(max-width:900px){.th-randevu .th-contact .form{order:-1}}
.th-kvkk{display:flex;gap:9px;align-items:flex-start;font-size:.84rem;line-height:1.45;color:var(--ink-soft);margin:6px 0 14px}
.th-kvkk input{margin-top:3px;flex:none;width:16px;height:16px;accent-color:var(--rose-deep)}
.th-kvkk a{color:var(--rose-deep);text-decoration:underline}
.book-err{background:#fdecec;border:1px solid #f3c2c2;color:#8a1c1c;border-radius:10px;padding:12px 14px;margin-bottom:14px;font-size:.92rem}
.flash-ok{background:#ecf9f0;border:1px solid #bfe8cc;color:#1d6b38;border-radius:10px;padding:12px 14px;margin-bottom:14px;font-size:.92rem}

/* ---------- Alt bilgi ---------- */
.th-foot-grid{grid-template-columns:1.4fr 1fr 1fr 1.3fr}
.th-footer .foot-contact a,.th-footer .foot-contact .fc-static{display:inline-flex;gap:9px;align-items:flex-start}
.th-footer .foot-contact svg{flex:none;margin-top:3px}
.th-disclaimer{margin:14px 0 0;font-size:.74rem;opacity:.55;text-align:center}
@media(max-width:980px){.th-foot-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.th-foot-grid{grid-template-columns:1fr}}

/* ---------- Araç sayfaları (prototip bileşenleri; değişken eşlemesi) ---------- */
.th-tool{--plum:var(--ink);--plum-2:var(--ink-2,#362a3d);--rose-2:var(--rose-soft);--blush:var(--bg-alt);--cream:var(--bg);--muted:var(--ink-soft);
  --sh:0 18px 40px -28px rgba(40,5,55,.35);--r:16px;--wa:#25d366}
.th-tool-sec{padding-top:46px}
.th-tool .tool .big,.th-tool .big{font-family:var(--sans)!important;font-weight:700}
.th-tool h2,.th-tool h3,.th-tool h4{font-family:var(--sans)}
.th-tool .btn-primary{background:var(--rose-deep);border-color:var(--rose-deep);color:#fff}
.th-tool .btn-primary:hover{background:var(--rose);border-color:var(--rose);color:#fff}
.th-tool .btn-light{background:#fff;color:var(--rose-deep);border-color:var(--line)}
.th-tool .btn{cursor:pointer}
.th-tool .card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:1.2rem 1.3rem;box-shadow:var(--sh)}
.th-tool .card.plain{box-shadow:none}
.th-tool .pill{display:inline-block;font-size:.7rem;font-weight:700;letter-spacing:.06em;padding:.2em .6em;border-radius:999px;background:var(--bg-alt);color:var(--rose-deep);margin-right:4px}
.th-tool .grid{display:grid;gap:1rem}.th-tool .g2{grid-template-columns:repeat(2,1fr)}.th-tool .g3{grid-template-columns:repeat(3,1fr)}
.th-tool .res ul{margin:.6rem 0 .6rem 1.2rem}
.th-tool .res .btn{margin-top:.6rem}
.th-tool input[type=radio],.th-tool input[type=checkbox]{accent-color:var(--rose-deep);width:auto}
@media(max-width:700px){.th-tool .g2,.th-tool .g3{grid-template-columns:1fr}}

/* İşaretlenebilir kontrol listesi */
.th-checklist{list-style:none;margin:14px 0 22px;padding:0;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.th-checklist li{border-top:1px solid var(--line);margin:0}
.th-checklist li:first-child{border-top:0}
.th-checklist label{display:flex;gap:12px;align-items:flex-start;padding:11px 16px;cursor:pointer;line-height:1.5}
.th-checklist input{flex:none;width:18px;height:18px;margin-top:3px;accent-color:var(--rose-deep)}
.th-checklist input:checked+span{color:var(--ink-soft);text-decoration:line-through}

/* ---------- Yazdırma (kontrol listeleri, araç sonuçları) ---------- */
@media print{
  header,footer,.toc,.fab,.m-bant,.ckb,.svc-cta,.author-box,.editorial-note,.related,.th-sources,.th-noprint,.post-aside,.svc-hero-cta,.proc-card{display:none!important}
  .svc-hero,.post-svc-hero{padding:0 0 10px!important;color:#000!important;background:none!important}
  .svc-hero-bg{display:none!important}
  .svc-hero h1,.svc-hero .lede,.svc-hero .eyebrow{color:#000!important}
  body{font-size:12.5px;background:#fff}
  .svc-sec{padding:10px 0!important}
  a{color:#000;text-decoration:none}
}
