/* =====================================================================
 * 1.0.82 — Tek tip yazı ölçeği (tema geneli)
 * Bütün listeleme, kart, bölüm başlığı, form ve düğme yazıları aynı birkaç
 * ölçüden birini kullanır; bir modülde küçük, ötekinde büyük görünmez.
 *   --spt-h1   Sayfa başlığı (22px)          kalınlık 700
 *   --spt-sec  Bölüm / kutu başlığı (18px)   kalınlık 600
 *   --spt-sub  Alt başlık (15px)             kalınlık 600
 *   --spt-card Kart başlığı (13px)           kalınlık 600
 *   --spt-ui   Form, düğme, sekme (13px)     kalınlık 400 / 600
 *   --spt-text Kart açıklaması (12px)        kalınlık 400
 *   --spt-meta Tarih, etiket, rozet (11px)   kalınlık 500
 * Haber/yazı metninin gövdesi (okuma metni) Görünüm ayarındaki boyutta kalır.
 * Görünüm > Tipografi'deki H1/H2/H3 boyutu ve başlık kalınlığı değiştirilirse
 * bu değişkenler o değerleri alır (class-sp-global-appearance.php).
 * Seçiciler unified-ui-1077.css'ten (7 kimlik) bir kimlik daha güçlüdür.
 * ===================================================================== */
:root{
  --spt-h1:22px;--spt-sec:18px;--spt-sub:15px;--spt-card:13px;--spt-ui:13px;--spt-text:12px;--spt-meta:11px;
  --spt-w-h1:700;--spt-w-head:600;--spt-w-card:600;--spt-w-btn:600;--spt-w-meta:500;
  --spt-lh-head:1.25;--spt-lh-card:1.3;--spt-lh-text:1.45;
}
@media (max-width:767px){:root{--spt-h1:19px;--spt-sec:16px;--spt-sub:14px;--spt-card:12.5px;--spt-text:12px;--spt-meta:10.5px}}
@media (max-width:479px){:root{--spt-card:12px}}

/* ---------- 1. Başlık kalınlığı her yerde aynı ---------- */
html body:not(.wp-admin):not(#t82a):not(#t82b):not(#t82c):not(#t82d):not(#t82e):not(#t82f):not(#t82g):not(#t82h) :is(h2,h3,h4,h5,h6):not(.screen-reader-text){font-weight:var(--spt-w-head)!important;letter-spacing:0!important}

/* ---------- 2. Sayfa başlığı ---------- */
html body:not(.wp-admin):not(#t82a):not(#t82b):not(#t82c):not(#t82d):not(#t82e):not(#t82f):not(#t82g):not(#t82h) :is(.sp-global-inner-title-card h1,.sp-primary-page-title,.sp-page-title,.sp-list-head h1,.sp-dir-web-hero h1,.sp-detail-title,.entry-title){
  font-size:var(--spt-h1)!important;font-weight:var(--spt-w-h1)!important;line-height:var(--spt-lh-head)!important;letter-spacing:0!important}

/* ---------- 3. Kartlar: başlık, açıklama, bilgi satırı ---------- */
html body:not(.wp-admin):not(#t82a):not(#t82b):not(#t82c):not(#t82d):not(#t82e):not(#t82f):not(#t82g):not(#t82h) :is([class$="-card"],[class*="-card "],.sp-card):not(:is([class*="hero"],[class*="featured"],[class*="title-card"],[class*="sport-slide"],[class*="-lead"])) :is(h2,h3,h4,[class$="card-title"],[class*="card-title "]):not(:is([class*="hero"],[class*="featured"],[class*="-lead"]) *){
  font-size:var(--spt-card)!important;font-weight:var(--spt-w-card)!important;line-height:var(--spt-lh-card)!important;letter-spacing:0!important}
html body:not(.wp-admin):not(#t82a):not(#t82b):not(#t82c):not(#t82d):not(#t82e):not(#t82f):not(#t82g):not(#t82h) :is([class$="-card"],[class*="-card "],.sp-card):not(:is([class*="hero"],[class*="featured"],[class*="title-card"],[class*="sport-slide"])) :is(p,[class*="-desc"],[class*="excerpt"],[class*="summary"]):not(:is(.sp-entry-content,.entry-content) *){
  font-size:var(--spt-text)!important;font-weight:400!important;line-height:var(--spt-lh-text)!important}
html body:not(.wp-admin):not(#t82a):not(#t82b):not(#t82c):not(#t82d):not(#t82e):not(#t82f):not(#t82g):not(#t82h) :is([class$="-card"],[class*="-card "],.sp-card):not(:is([class*="hero"],[class*="featured"],[class*="title-card"])) :is([class*="meta"],[class*="-date"],[class*="-chip"],[class*="badge"],[class*="-tag"],[class*="-lines"],[class*="-info"],time,small):not(.dashicons){
  font-size:var(--spt-meta)!important;font-weight:var(--spt-w-meta)!important;line-height:1.4!important}
/* Kart içindeki küçük düğme/bağlantı yazıları ("Detay", "Ara", "Yol Tarifi") */
html body:not(.wp-admin):not(#t82a):not(#t82b):not(#t82c):not(#t82d):not(#t82e):not(#t82f):not(#t82g):not(#t82h) :is([class$="-card"],[class*="-card "],.sp-card) :is([class*="-more"],[class*="-btn"],[class*="-link"]):not(.dashicons):not(:has(>.dashicons:only-child)){
  font-size:var(--spt-meta)!important;font-weight:var(--spt-w-btn)!important}

/* ---------- 4. Bölüm ve kutu başlıkları (kart kuralından sonra gelir, öncelik onundur) ---------- */
html body:not(.wp-admin):not(#t82a):not(#t82b):not(#t82c):not(#t82d):not(#t82e):not(#t82f):not(#t82g):not(#t82h) :is(
  [class*="section-head"],[class*="section-title"],[class*="section-heading"],[class*="panel-head"],[class*="preview-head"],
  [class*="page-heading"],[class*="module-head"],[class*="-subhead"],[class*="discover-heading"],[class*="group-head"],
  [class*="search-head"],[class*="catalog-title"],.sp-list-head,.tn-section-heading,.sp-page-section-head,.sp21-section-head,
  .sp-modern-section-head,.sp-ipb-section-title,.sp-dir-section-title,.sp-directory-preview-head
) :is(h2,h3):not(:is(.sp-entry-content,.entry-content) *){
  font-size:var(--spt-sec)!important;font-weight:var(--spt-w-head)!important;line-height:var(--spt-lh-head)!important;letter-spacing:0!important;margin-bottom:0!important}
html body:not(.wp-admin):not(#t82a):not(#t82b):not(#t82c):not(#t82d):not(#t82e):not(#t82f):not(#t82g):not(#t82h) :is([class*="section-head"],[class*="panel-head"],[class*="module-head"],.sp-page-section-head,.sp21-section-head) :is(h3,h4) + :is(p,small,span){font-size:var(--spt-text)!important}
/* Kutu içinde doğrudan duran başlık ("Resmî Kurum Ara" gibi) */
html body:not(.wp-admin):not(#t82a):not(#t82b):not(#t82c):not(#t82d):not(#t82e):not(#t82f):not(#t82g):not(#t82h) :is([class*="search"],[class*="panel"],[class*="-box"],[class*="-section"],[class*="-module"],.sp-page-section)>:is(h2,.sp-section-title):not(:is(.sp-entry-content,.entry-content) *){
  font-size:var(--spt-sec)!important;font-weight:var(--spt-w-head)!important;line-height:var(--spt-lh-head)!important}
/* Bölüm başlığının yanındaki açıklama ve "Tümünü Gör" bağlantıları */
html body:not(.wp-admin):not(#t82a):not(#t82b):not(#t82c):not(#t82d):not(#t82e):not(#t82f):not(#t82g):not(#t82h) :is([class*="section-head"],[class*="panel-head"],[class*="module-head"],[class*="discover-heading"],.sp-page-section-head,.sp21-section-head,.sp-list-head) :is(p,small){font-size:var(--spt-text)!important;font-weight:400!important}
html body:not(.wp-admin):not(#t82a):not(#t82b):not(#t82c):not(#t82d):not(#t82e):not(#t82f):not(#t82g):not(#t82h) :is([class*="section-head"],[class*="panel-head"],[class*="module-head"],[class*="discover-heading"],.sp-page-section-head,.sp21-section-head) a:not(:has(h2,h3)){font-size:var(--spt-ui)!important;font-weight:var(--spt-w-btn)!important}

/* ---------- 5. Form alanları ve düğmeler ---------- */
html body:not(.wp-admin):not(#t82a):not(#t82b):not(#t82c):not(#t82d):not(#t82e):not(#t82f):not(#t82g):not(#t82h) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),select,textarea){font-size:var(--spt-ui)!important;font-weight:400!important}
html body:not(.wp-admin):not(#t82a):not(#t82b):not(#t82c):not(#t82d):not(#t82e):not(#t82f):not(#t82g):not(#t82h) :is(.sp-btn,.sp-primary-btn,.sp-secondary-btn,.sp-submit-btn,form button[type=submit],form input[type=submit],.sp-ghost-btn,.sp-outline-btn){font-size:var(--spt-ui)!important;font-weight:var(--spt-w-btn)!important;letter-spacing:0!important}
html body:not(.wp-admin):not(#t82a):not(#t82b):not(#t82c):not(#t82d):not(#t82e):not(#t82f):not(#t82g):not(#t82h) :is(label,legend,.sp-form-label){font-size:var(--spt-ui)!important;font-weight:var(--spt-w-btn)!important}
html body:not(.wp-admin):not(#t82a):not(#t82b):not(#t82c):not(#t82d):not(#t82e):not(#t82f):not(#t82g):not(#t82h) :is(.sp-form-note,.description,.sp-help-text,.sp-field-hint){font-size:var(--spt-text)!important;font-weight:400!important}
/* iPhone, 16px'ten küçük form alanına dokununca sayfayı yakınlaştırır; telefonda 16px kalır. */
@media (max-width:767px){html body:not(.wp-admin):not(#t82a):not(#t82b):not(#t82c):not(#t82d):not(#t82e):not(#t82f):not(#t82g):not(#t82h) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),select,textarea){font-size:16px!important}}

/* ---------- 6. Kategori kutucukları, sekmeler, çipler, sayfalama ---------- */
html body:not(.wp-admin):not(#t82a):not(#t82b):not(#t82c):not(#t82d):not(#t82e):not(#t82f):not(#t82g):not(#t82h) .sp-page-category-card .sp-page-category-copy strong{font-size:var(--spt-card)!important;font-weight:var(--spt-w-card)!important}
html body:not(.wp-admin):not(#t82a):not(#t82b):not(#t82c):not(#t82d):not(#t82e):not(#t82f):not(#t82g):not(#t82h) .sp-page-category-card .sp-page-category-copy small{font-size:var(--spt-meta)!important;font-weight:400!important}
html body:not(.wp-admin):not(#t82a):not(#t82b):not(#t82c):not(#t82d):not(#t82e):not(#t82f):not(#t82g):not(#t82h) :is([class*="-tabs"] :is(a,button),[class*="-chips"] :is(a,button,span),[class*="filter"] :is(a,button):not([type=submit]),.page-numbers,.nav-links a){font-size:var(--spt-ui)!important;font-weight:var(--spt-w-meta)!important}
html body:not(.wp-admin):not(#t82a):not(#t82b):not(#t82c):not(#t82d):not(#t82e):not(#t82f):not(#t82g):not(#t82h) :is(.sp-breadcrumbs,.sp-breadcrumb,[class*="breadcrumb"]) :is(a,span,li){font-size:var(--spt-meta)!important;font-weight:400!important}

/* ---------- 7. Kenar çubuğu ve küçük widget'lar ---------- */
html body:not(.wp-admin):not(#t82a):not(#t82b):not(#t82c):not(#t82d):not(#t82e):not(#t82f):not(#t82g):not(#t82h) :is(.sp-sidebar,.sp-content-sidebar,aside[class*="sidebar"]) :is(h2,h3,.widget-title){font-size:var(--spt-sub)!important;font-weight:var(--spt-w-head)!important}
html body:not(.wp-admin):not(#t82a):not(#t82b):not(#t82c):not(#t82d):not(#t82e):not(#t82f):not(#t82g):not(#t82h) :is(.sp-sidebar,.sp-content-sidebar,aside[class*="sidebar"]) :is(li,p){font-size:var(--spt-ui)!important}
