/* =====================================================================
   FOOTER KIT — paylasilan footer ozellestirme stilleri
   ---------------------------------------------------------------------
   Kapsam: partials/footer-templates/*.php + partials/footer-col/*.php
   tarafindan uretilen TUM siniflar. Tek dosya, tum temalar.

   TASARIM NOTLARI
   - Her kural `.site-footer-wrap` ile baslar. Iki nedeni var:
     1) izolasyon — tema kendi footer'ini (dispatch kapaliyken) korur,
     2) ozgulluk — (0,2,x) temalarin (0,1,x) footer kurallarini yener,
        dosya sirasi ne olursa olsun.
   - Tema-ozel token adi KULLANILMAZ. Asagidaki --fk-* katmani tema
     token'larindan fallback zinciriyle turer; hicbiri yoksa WCAG AA
     dogrulanmis sabit degerler devreye girer.
   - Kose yuvarlatma YOK: tum koseler KARE (proje kurali).
   ===================================================================== */

/* ---------------------------------------------------------------------
   1) TOKEN KATMANI
   Zincirdeki adlar gercek tema :root bloklarindan alindi:
     --surface/--text/--muted/--line/--accent ....... personal, trends
     --color-* ...... entertainment, lifestyle, minimalist, news, pets,
                      starter, tech, travel, finance
     --c-* .......... crypto, health, recipes
   --------------------------------------------------------------------- */
.site-footer-wrap {
  /* footer paneli zemini — her temada bir karsiligi VAR, sabit deger
     pratikte hic devreye girmez. */
  --fk-surface: var(--surface, var(--color-surface, var(--c-surface, var(--color-bg-alt, var(--c-bg-alt, var(--color-bg-secondary, #f4f5f7))))));
  /* sayfa zemini (en acik/en koyu yuzey). Temada yoksa panel zeminine duser —
     acik-mod sabitinin koyu bir temaya dusme riski boylece ORTADAN KALKAR. */
  --fk-canvas: var(--bg, var(--color-bg, var(--c-bg, var(--color-background, var(--color-bg-primary, var(--fk-surface))))));
  /* ana metin */
  --fk-text: var(--text, var(--color-text, var(--c-text, var(--color-text-primary, #1a1a1a))));
  /* ikincil metin — son care sabit RENK degil, metin renginin %72'si:
     hangi modda olursa olsun temanin kendi metin/zemin ciftini izler
     (olculen: ~6.5:1, AA normal metin esiginin uzerinde). */
  --fk-muted: var(--muted, var(--color-text-muted, var(--color-muted, var(--c-text-muted, var(--c-text-secondary, var(--color-text-secondary, color-mix(in srgb, var(--fk-text) 72%, transparent)))))));
  /* cizgi/kenarlik — ayni mantik, dekoratif (kontrast esigi yok) */
  --fk-line: var(--line, var(--border, var(--color-border, var(--c-border, color-mix(in srgb, var(--fk-text) 18%, transparent)))));
  /* marka tonu — YALNIZ zemin / kenarlik / dekoratif cubuk olarak kullanilir.
     Ozellestiriciden gelen --footer-accent (inline style) her zaman oncelikli. */
  --fk-accent: var(--footer-accent, var(--accent, var(--color-accent, var(--c-accent, var(--color-primary, var(--c-primary, #2563eb))))));
  /* marka tonunun METIN guvenli karsiligi. Temada AA-guvenli bir "-text"
     turevi yoksa zincir --fk-text'e duser: kontrast asla bozulmaz,
     link ayirt ediciligi hover'daki alt cizgiyle saglanir. */
  --fk-accent-ink: var(--accent-text, var(--color-accent-text, var(--c-accent-text, var(--color-primary-text, var(--link, var(--fk-text))))));
  /* buton: notr TERS cift. Zemin=metin rengi, yazi=panel zemini oldugu icin
     kontrast orani temanin kendi govde metni oraniyla BIREBIR AYNI -> AA garanti,
     marka rengi ne olursa olsun. */
  --fk-btn-bg: var(--fk-text);
  --fk-btn-ink: var(--fk-surface);
  --fk-gap: 32px;
}

/* Koyu mod
   --------------------------------------------------------------------
   Strateji: --fk-muted / --fk-line / --fk-canvas / --fk-btn-* zaten
   --fk-text ve --fk-surface'ten TURUYOR; tema koyu modda kendi
   token'larini cevirdiginde bunlar kendiliginden dogru tarafa gecer.
   Bu yuzden koyu mod bloklari yalnizca "hicbir token'i olmayan tema"
   senaryosu icin sabitleri koyulastirir — mevcut 14 temanin hepsinde
   zincir tema token'inda cozuldugu icin bu blok pratikte etkisizdir
   (ve bu YUZDEN prefers-color-scheme guvenlidir: attribute ile koyu
   moda gecen bir temayi yanlislikla ters cevirmez).
   Kapsanan secici bicimleri: [data-theme="dark"] (cogunluk),
   html[data-theme="dark"] (recipes), .dark-mode (finance). */
:root[data-theme="dark"] .site-footer-wrap,
html[data-theme="dark"] .site-footer-wrap,
html.dark-mode .site-footer-wrap,
body.dark-mode .site-footer-wrap,
.dark-mode .site-footer-wrap {
  --fk-surface: var(--surface, var(--color-surface, var(--c-surface, var(--color-bg-alt, var(--c-bg-alt, var(--color-bg-secondary, #16181d))))));
  --fk-text: var(--text, var(--color-text, var(--c-text, var(--color-text-primary, #eceef2))));
  --fk-accent: var(--footer-accent, var(--accent, var(--color-accent, var(--c-accent, var(--color-primary, var(--c-primary, #6ea8ff))))));
}

/* Isletim sistemi koyu modu — tema acik moda KILITLI degilse */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-footer-wrap {
    --fk-surface: var(--surface, var(--color-surface, var(--c-surface, var(--color-bg-alt, var(--c-bg-alt, var(--color-bg-secondary, #16181d))))));
    --fk-text: var(--text, var(--color-text, var(--c-text, var(--color-text-primary, #eceef2))));
    --fk-accent: var(--footer-accent, var(--accent, var(--color-accent, var(--c-accent, var(--color-primary, var(--c-primary, #6ea8ff))))));
  }
}

/* ---------------------------------------------------------------------
   2) KABUK
   --------------------------------------------------------------------- */
.site-footer-wrap {
  display: block;
  background: var(--fk-surface);
  color: var(--fk-text);
}

.site-footer-wrap .site-footer {
  background: var(--fk-surface);
  color: var(--fk-text);
  border-top: 1px solid var(--fk-line);
  padding: 0;
  margin: 0;
  position: relative;
  overflow: visible;
}

/* Temaya ozgu dekoratif pseudo katmanlari (trends ::before, personal ::after
   vb.) kitin duzenini bozmasin — wrap icinde notrlestirilir. */
.site-footer-wrap .site-footer::before,
.site-footer-wrap .site-footer::after {
  content: none;
}

/* Ozellestirici: marka vurgusunu ust kenarda goster */
.site-footer-wrap .site-footer {
  box-shadow: inset 0 3px 0 0 var(--fk-accent);
}

.site-footer-wrap .footer-grid,
.site-footer-wrap .footer-2col,
.site-footer-wrap .footer-center,
.site-footer-wrap .footer-bn-grid,
.site-footer-wrap .footer-bn-links,
.site-footer-wrap .footer-mega,
.site-footer-wrap .footer-eb-grid,
.site-footer-wrap .footer-cta,
.site-footer-wrap .footer-tr-row,
.site-footer-wrap .footer-bottom {
  position: relative;
  z-index: 1;
}

/* ---------------------------------------------------------------------
   3) GORUNUM VARYANTLARI (Gorunum -> Footer -> Arka plan / Kompakt / Cerceve)
   Sinif: .site-footer-wrap--bg-<deger>, --compact, --no-border
   --------------------------------------------------------------------- */

/* bg-surface: varsayilan, ek kural gerekmez (--fk-surface zaten zemin). */

/* bg-bg-soft: sayfa zeminiyle ayni, yalniz ust cizgiyle ayrilan sade footer */
.site-footer-wrap--bg-bg-soft,
.site-footer-wrap--bg-bg-soft .site-footer {
  background: var(--fk-canvas);
}

/* bg-dark: temadan BAGIMSIZ sabit koyu panel. Degerler AA dogrulandi:
   #e8eaf0 / #0e1014 = 15.7:1 ; #a9aebb / #0e1014 = 8.5:1 */
.site-footer-wrap--bg-dark {
  --fk-surface: #0e1014;
  --fk-canvas: #0e1014;
  --fk-text: #e8eaf0;
  --fk-muted: #a9aebb;
  --fk-line: rgba(255, 255, 255, 0.14);
  --fk-accent-ink: #e8eaf0;
  --fk-btn-bg: #e8eaf0;
  --fk-btn-ink: #0e1014;
}
.site-footer-wrap--bg-dark,
.site-footer-wrap--bg-dark .site-footer {
  background: #0e1014;
  color: #e8eaf0;
}

/* bg-brand-gradient: zemine cok dusuk oranli marka tonu karisir; metin
   luminansi pratik olarak degismedigi icin kontrast korunur. */
.site-footer-wrap--bg-brand-gradient,
.site-footer-wrap--bg-brand-gradient .site-footer {
  background: linear-gradient(135deg, color-mix(in srgb, var(--fk-accent) 10%, var(--fk-surface)), var(--fk-surface) 62%);
}

/* Kompakt */
.site-footer-wrap--compact {
  --fk-gap: 22px;
}
.site-footer-wrap--compact .footer-grid,
.site-footer-wrap--compact .footer-2col,
.site-footer-wrap--compact .footer-mega,
.site-footer-wrap--compact .footer-bn-grid,
.site-footer-wrap--compact .footer-eb-grid {
  padding-top: 30px;
  padding-bottom: 18px;
}
.site-footer-wrap--compact .footer-center {
  padding-top: 28px;
  padding-bottom: 14px;
}
.site-footer-wrap--compact .footer-bottom {
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Cercevesiz */
.site-footer-wrap--no-border .site-footer {
  border-top-color: transparent;
  box-shadow: none;
}
.site-footer-wrap--no-border .footer-bottom,
.site-footer-wrap--no-border .footer-bn-links,
.site-footer-wrap--no-border .footer-tr-row {
  border-color: transparent;
}
.site-footer-wrap--no-border .footer-title {
  border-bottom-color: transparent;
}

/* ---------------------------------------------------------------------
   4) MARKA BLOGU (_brand.php)
   --------------------------------------------------------------------- */
.site-footer-wrap .footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
}

.site-footer-wrap .footer-brand {
  display: inline-block;
  color: var(--fk-text);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.site-footer-wrap .footer-brand:hover {
  color: var(--fk-accent-ink);
}

.site-footer-wrap .footer-brand--image img {
  max-height: 40px;
  width: auto;
  display: block;
}
/* Tema-duyarli logo takasi. Bu kurallar `.footer-brand--image img` (0,2,1)
   kuralindan GUCLU olmali; aksi halde iki varyant birden gorunur. */
.site-footer-wrap .footer-brand--image .footer-brand__logo--light { display: inline-block; }
.site-footer-wrap .footer-brand--image .footer-brand__logo--dark { display: none; }
:root[data-theme="dark"] .site-footer-wrap .footer-brand--image .footer-brand__logo--light,
html[data-theme="dark"] .site-footer-wrap .footer-brand--image .footer-brand__logo--light,
html.dark-mode .site-footer-wrap .footer-brand--image .footer-brand__logo--light,
body.dark-mode .site-footer-wrap .footer-brand--image .footer-brand__logo--light { display: none; }
:root[data-theme="dark"] .site-footer-wrap .footer-brand--image .footer-brand__logo--dark,
html[data-theme="dark"] .site-footer-wrap .footer-brand--image .footer-brand__logo--dark,
html.dark-mode .site-footer-wrap .footer-brand--image .footer-brand__logo--dark,
body.dark-mode .site-footer-wrap .footer-brand--image .footer-brand__logo--dark { display: inline-block; }
/* Tek varyant yuklendiyse her zaman gorunur kalsin */
.site-footer-wrap .footer-brand--image .footer-brand__logo:only-child { display: inline-block !important; }

.site-footer-wrap .footer-brand__tag {
  margin: 0;
  color: var(--fk-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.site-footer-wrap .footer-desc {
  margin: 0;
  color: var(--fk-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------------------------------------------------------------------
   5) SUTUNLAR (_columns.php + footer-col/*.php)
   --------------------------------------------------------------------- */
.site-footer-wrap .footer-col {
  min-width: 0;
}

.site-footer-wrap .footer-title {
  margin: 0 0 14px;
  padding: 0 0 8px;
  color: var(--fk-text);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--fk-accent);
  display: inline-block;
}

.site-footer-wrap .footer-links {
  display: grid;
  gap: 9px;
}
.site-footer-wrap .footer-links a {
  color: var(--fk-muted);
  font-size: 0.95rem;
  line-height: 1.45;
  text-decoration: none;
}
.site-footer-wrap .footer-links a:hover,
.site-footer-wrap .footer-links a:focus-visible {
  color: var(--fk-accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* footer-col/text.php */
.site-footer-wrap .footer-text {
  color: var(--fk-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.site-footer-wrap .footer-text :is(p, li, strong, em, span) {
  color: var(--fk-muted);
}
.site-footer-wrap .footer-text p {
  margin: 0 0 10px;
}
.site-footer-wrap .footer-text a {
  color: var(--fk-accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* footer-col/contact.php */
.site-footer-wrap .footer-contact {
  display: grid;
  gap: 8px;
}
.site-footer-wrap .footer-contact__row {
  display: block;
  margin: 0;
  color: var(--fk-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  text-decoration: none;
  font-style: normal;
}
.site-footer-wrap a.footer-contact__row:hover,
.site-footer-wrap a.footer-contact__row:focus-visible {
  color: var(--fk-accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* footer-col/brand-mini.php */
.site-footer-wrap .footer-brand-mini {
  display: inline-block;
  color: var(--fk-text);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.site-footer-wrap .footer-brand-mini img {
  max-height: 30px;
  width: auto;
  display: block;
}
.site-footer-wrap .footer-brand-mini__tag {
  margin: 6px 0 0;
  color: var(--fk-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

/* ---------------------------------------------------------------------
   6) BULTEN (footer-col/newsletter.php)
   --------------------------------------------------------------------- */
.site-footer-wrap .footer-newsletter__intro {
  margin: 0 0 12px;
  color: var(--fk-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.site-footer-wrap .footer-newsletter__form {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.site-footer-wrap .footer-newsletter__form input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 11px 13px;
  background: var(--fk-canvas);
  color: var(--fk-text);
  border: 1px solid var(--fk-line);
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.3;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.site-footer-wrap .footer-newsletter__form input[type="email"]::placeholder {
  color: var(--fk-muted);
  opacity: 1;
}
.site-footer-wrap .footer-newsletter__form input[type="email"]:focus {
  outline: none;
  border-color: var(--fk-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--fk-accent) 30%, transparent);
}
/* Buton: notr ters cift (zemin=metin rengi, yazi=sayfa zemini).
   Kontrast orani temanin govde metni oraniyla AYNI -> AA garanti. */
.site-footer-wrap .footer-newsletter__form button {
  flex: 0 0 auto;
  padding: 11px 18px;
  border: 1px solid var(--fk-btn-bg);
  background: var(--fk-btn-bg);
  color: var(--fk-btn-ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.site-footer-wrap .footer-newsletter__form button:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.site-footer-wrap .footer-newsletter__form button:focus-visible {
  outline: 2px solid var(--fk-accent);
  outline-offset: 2px;
}

/* Gorunum stilleri: plain / boxed / accent */
.site-footer-wrap .footer-newsletter--boxed {
  padding: 20px;
  background: var(--fk-canvas);
  border: 1px solid var(--fk-line);
}
.site-footer-wrap .footer-newsletter--boxed .footer-newsletter__form input[type="email"] {
  background: var(--fk-surface);
}
.site-footer-wrap .footer-newsletter--accent {
  padding: 20px;
  background: color-mix(in srgb, var(--fk-accent) 10%, var(--fk-surface));
  border: 1px solid color-mix(in srgb, var(--fk-accent) 42%, transparent);
}
.site-footer-wrap .footer-newsletter--accent .footer-newsletter__form input[type="email"] {
  background: var(--fk-canvas);
}
.site-footer-wrap--bg-dark .footer-newsletter--boxed,
.site-footer-wrap .site-footer--dark-cta .footer-newsletter--boxed {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

@media (max-width: 560px) {
  .site-footer-wrap .footer-newsletter__form {
    flex-direction: column;
  }
  .site-footer-wrap .footer-newsletter__form button {
    width: 100%;
  }
}

/* ---------------------------------------------------------------------
   7) SOSYAL IKONLAR (_brand.php + _bar.php)
   --------------------------------------------------------------------- */
.site-footer-wrap .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.site-footer-wrap .footer-social a {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--fk-line);
  background: transparent;
  color: var(--fk-muted);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.site-footer-wrap .footer-social a:hover,
.site-footer-wrap .footer-social a:focus-visible {
  color: var(--fk-text);
  border-color: var(--fk-accent);
  transform: translateY(-2px);
}
.site-footer-wrap .footer-social svg {
  width: 16px;
  height: 16px;
  /* C226: ikonlar jek_icon'dan gelir = KONTUR tabanli Lucide (nitelikte
     fill="none"). CSS fill ozelligi SVG niteligini her zaman ezdigi icin
     buradaki eski dolgu kurali (currentColor dolgusu) cerceve path'lerini
     dolu "blob"lara ceviriyordu (musteri ff2.jpg, 2026-08-31). Kontur korunur. */
  fill: none;
  stroke: currentColor;
}
.site-footer-wrap .footer-social--bar {
  gap: 6px;
  margin-top: 0;
}
.site-footer-wrap .footer-social--bar a {
  width: 28px;
  height: 28px;
}
.site-footer-wrap .footer-social--bar svg {
  width: 14px;
  height: 14px;
}

/* ---------------------------------------------------------------------
   8) ALT BANT (_bar.php + includes/jek-footbar.php)
   --------------------------------------------------------------------- */
.site-footer-wrap .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding-top: 18px;
  padding-bottom: 20px;
  margin-top: 0;
  border-top: 1px solid var(--fk-line);
  color: var(--fk-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}
.site-footer-wrap .footer-bottom .jek-footbar {
  color: var(--fk-muted);
}
.site-footer-wrap .footer-bottom .jek-footbar a {
  color: var(--fk-muted);
}
.site-footer-wrap .footer-bottom .jek-footbar a:hover {
  color: var(--fk-text);
}
.site-footer-wrap .footer-credit,
.site-footer-wrap .footer-tagline {
  color: var(--fk-muted);
  font-size: 0.86rem;
}

/* ---------------------------------------------------------------------
   9) SABLON: classic-4col
   --------------------------------------------------------------------- */
.site-footer-wrap .site-footer--classic-4col .footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.85fr 0.95fr;
  gap: var(--fk-gap);
  padding-top: 56px;
  padding-bottom: 34px;
}

/* ---------------------------------------------------------------------
   10) SABLON: minimal-center
   --------------------------------------------------------------------- */
.site-footer-wrap .site-footer--minimal-center .footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding-top: 48px;
  padding-bottom: 24px;
}
.site-footer-wrap .site-footer--minimal-center .footer-brand-block {
  align-items: center;
  max-width: 580px;
}
.site-footer-wrap .site-footer--minimal-center .footer-bottom {
  justify-content: center;
  text-align: center;
}
.site-footer-wrap .site-footer--minimal-center .jek-footbar {
  justify-content: center;
}

/* ---------------------------------------------------------------------
   11) SABLON: brand-newsletter
   --------------------------------------------------------------------- */
.site-footer-wrap .site-footer--brand-newsletter .footer-bn-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  padding-top: 54px;
  padding-bottom: 28px;
}
.site-footer-wrap .site-footer--brand-newsletter .footer-bn-left {
  min-width: 0;
}
.site-footer-wrap .site-footer--brand-newsletter .footer-bn-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.site-footer-wrap .site-footer--brand-newsletter .footer-bn-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 28px;
  border-top: 1px solid var(--fk-line);
}

/* ---------------------------------------------------------------------
   12) SABLON: dark-cta  (temadan bagimsiz sabit koyu panel)
   --------------------------------------------------------------------- */
.site-footer-wrap .site-footer--dark-cta {
  --fk-surface: #0e1014;
  --fk-canvas: #0e1014;
  --fk-text: #e8eaf0;
  --fk-muted: #a9aebb;
  --fk-line: rgba(255, 255, 255, 0.14);
  --fk-accent-ink: #e8eaf0;
  --fk-btn-bg: #e8eaf0;
  --fk-btn-ink: #0e1014;
  background: #0e1014;
  color: #e8eaf0;
  border-top-color: rgba(255, 255, 255, 0.14);
}
.site-footer-wrap .site-footer--dark-cta .footer-cta {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 24px;
  align-items: center;
  padding-top: 46px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.site-footer-wrap .site-footer--dark-cta .footer-cta__copy h2 {
  margin: 0;
  color: #e8eaf0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.site-footer-wrap .site-footer--dark-cta .footer-cta__copy p {
  margin: 8px 0 0;
  color: #a9aebb;
  max-width: 580px;
  line-height: 1.6;
}
/* #0e1014 uzerinde #e8eaf0 = 15.7:1 (ters cift) */
.site-footer-wrap .site-footer--dark-cta .footer-cta__btn {
  display: inline-block;
  padding: 14px 24px;
  background: #e8eaf0;
  color: #0e1014;
  border: 1px solid #e8eaf0;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.site-footer-wrap .site-footer--dark-cta .footer-cta__btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.site-footer-wrap .site-footer--dark-cta .footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.85fr 0.95fr;
  gap: var(--fk-gap);
  padding-top: 40px;
  padding-bottom: 30px;
}

/* ---------------------------------------------------------------------
   13) SABLON: compact-2col
   --------------------------------------------------------------------- */
.site-footer-wrap .site-footer--compact-2col .footer-2col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  padding-top: 36px;
  padding-bottom: 24px;
}

/* ---------------------------------------------------------------------
   14) SABLON: stacked-mega
   --------------------------------------------------------------------- */
.site-footer-wrap .site-footer--stacked-mega .footer-mega {
  display: grid;
  grid-template-columns: 1.3fr 3fr;
  gap: 36px;
  padding-top: 54px;
  padding-bottom: 30px;
}
.site-footer-wrap .site-footer--stacked-mega .footer-mega__brand {
  min-width: 0;
}
.site-footer-wrap .site-footer--stacked-mega .footer-mega__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 24px;
}

/* ---------------------------------------------------------------------
   15) SABLON: triple-row
   --------------------------------------------------------------------- */
.site-footer-wrap .site-footer--triple-row .footer-tr-row {
  border-bottom: 1px solid var(--fk-line);
}
.site-footer-wrap .site-footer--triple-row .footer-tr-row--brand {
  padding-top: 46px;
  padding-bottom: 28px;
}
.site-footer-wrap .site-footer--triple-row .footer-tr-row--brand > .footer-brand-block {
  max-width: 720px;
}
.site-footer-wrap .site-footer--triple-row .footer-tr-row--cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 28px;
  padding-top: 30px;
  padding-bottom: 30px;
}
/* .container TASIMAYAN tek satir — yatay dolgu burada gerekli degil,
   ic sarmalayici (.footer-tr-cta) zaten .container. */
.site-footer-wrap .site-footer--triple-row .footer-tr-row--cta {
  background: color-mix(in srgb, var(--fk-accent) 10%, var(--fk-surface));
  border-bottom: 0;
  padding-top: 34px;
  padding-bottom: 34px;
}
.site-footer-wrap .site-footer--triple-row .footer-tr-cta {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.site-footer-wrap .site-footer--triple-row .footer-tr-cta .footer-title {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-transform: none;
  margin-bottom: 8px;
}
.site-footer-wrap .site-footer--triple-row .footer-tr-cta .footer-newsletter__form {
  justify-content: center;
}

/* ---------------------------------------------------------------------
   16) SABLON: editorial-bold
   --------------------------------------------------------------------- */
.site-footer-wrap .site-footer--editorial-bold .footer-eb-grid {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 52px;
  align-items: start;
  padding-top: 68px;
  padding-bottom: 34px;
}
.site-footer-wrap .site-footer--editorial-bold .footer-brand-block {
  max-width: none;
  gap: 18px;
}
/* Buyuk metin (>=24px) — AA esigi 3:1, --fk-text zaten cok uzerinde. */
.site-footer-wrap .site-footer--editorial-bold .footer-eb-brand .footer-brand {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--fk-text);
}
.site-footer-wrap .site-footer--editorial-bold .footer-eb-brand .footer-brand--image img {
  max-height: 56px;
}
.site-footer-wrap .site-footer--editorial-bold .footer-eb-brand .footer-desc {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 460px;
}
.site-footer-wrap .site-footer--editorial-bold .footer-eb-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 28px;
}
.site-footer-wrap .site-footer--editorial-bold .footer-eb-cols .footer-title {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--fk-muted);
  border-bottom-width: 1px;
}
.site-footer-wrap .site-footer--editorial-bold .footer-eb-cols .footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-footer-wrap .site-footer--editorial-bold .footer-eb-cols .footer-links a {
  color: var(--fk-text);
  font-size: 0.98rem;
  line-height: 1.45;
}
.site-footer-wrap .site-footer--editorial-bold .footer-eb-cols .footer-links a:hover {
  color: var(--fk-accent-ink);
}
.site-footer-wrap .site-footer--editorial-bold .footer-social a {
  width: 38px;
  height: 38px;
}

/* ---------------------------------------------------------------------
   17) DUYARLI KIRILIMLAR
   --------------------------------------------------------------------- */
@media (max-width: 900px) {
  .site-footer-wrap .site-footer--classic-4col .footer-grid,
  .site-footer-wrap .site-footer--dark-cta .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer-wrap .site-footer--brand-newsletter .footer-bn-grid,
  .site-footer-wrap .site-footer--compact-2col .footer-2col,
  .site-footer-wrap .site-footer--stacked-mega .footer-mega,
  .site-footer-wrap .site-footer--editorial-bold .footer-eb-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .site-footer-wrap .site-footer--editorial-bold .footer-eb-grid {
    padding-top: 46px;
  }
  .site-footer-wrap .site-footer--dark-cta .footer-cta {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .site-footer-wrap .site-footer--dark-cta .footer-cta__btn {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .site-footer-wrap .site-footer--classic-4col .footer-grid,
  .site-footer-wrap .site-footer--dark-cta .footer-grid {
    grid-template-columns: 1fr;
  }
  .site-footer-wrap .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .site-footer-wrap .site-footer--minimal-center .footer-bottom {
    align-items: center;
  }
  .site-footer-wrap .footer-brand-block {
    max-width: none;
  }
}

/* ---------------------------------------------------------------------
   18) BASKI + HAREKET TERCIHI
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .site-footer-wrap .footer-social a,
  .site-footer-wrap .footer-newsletter__form button,
  .site-footer-wrap .site-footer--dark-cta .footer-cta__btn {
    transition: none;
  }
  .site-footer-wrap .footer-social a:hover,
  .site-footer-wrap .footer-newsletter__form button:hover,
  .site-footer-wrap .site-footer--dark-cta .footer-cta__btn:hover {
    transform: none;
  }
}

@media print {
  .site-footer-wrap .footer-newsletter,
  .site-footer-wrap .footer-social {
    display: none;
  }
}
