/*
Theme Name:   Ergometri Child
Theme URI:    https://saglikdanisma.net/is
Description:  GeneratePress Child Tema — İşyeri Hekimleri Platformu
Author:       Ergometri
Template:     generatepress
Version:      2.0.0
Text Domain:  ergometri-child
*/

/* ═══════════════════════════════════════════════════════════════
   GOOGLE FONTS
═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════════════════ */
:root {
  /* Renkler */
  --c-green:        #5faf5e;
  --c-green-dk:     #3d8c3c;
  --c-green-lt:     #edf7ed;
  --c-green-xlt:    #f6fbf6;
  --c-ink:          #161d16;
  --c-ink-2:        #2e3d2e;
  --c-ink-3:        #4a5e4a;
  --c-muted:        #7a967a;
  --c-border:       #e2ece2;
  --c-border-lt:    #f0f6f0;
  --c-surface:      #ffffff;
  --c-surface-2:    #f8fbf8;

  /* Tipografi */
  --f-display: 'DM Serif Display', Georgia, serif;
  --f-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  /* Boyutlar */
  --max-w:     1180px;
  --max-w-txt: 720px;
  --r-sm:      8px;
  --r-md:      14px;
  --r-lg:      20px;
  --r-xl:      28px;

  /* Gölgeler */
  --sh-xs: 0 1px 3px rgba(22,29,22,.06);
  --sh-sm: 0 2px 10px rgba(22,29,22,.07);
  --sh-md: 0 6px 24px rgba(22,29,22,.09);
  --sh-lg: 0 16px 48px rgba(22,29,22,.11);

  /* Geçiş */
  --ease: cubic-bezier(.4,0,.2,1);
  --t:    .22s;
}

/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; transition: color var(--t) var(--ease); }

/* ═══════════════════════════════════════════════════════════════
   LAYOUT HELPERS
═══════════════════════════════════════════════════════════════ */
.erg-wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

/* ═══════════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════════ */
.site-header,
#masthead {
  position: sticky !important;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border) !important;
  box-shadow: var(--sh-xs) !important;
  transition: box-shadow var(--t) var(--ease);
}

/* Site adı */
.site-title a,
.site-branding .site-title a {
  font-family: var(--f-display) !important;
  font-size: 1.5rem !important;
  font-weight: 400 !important;
  color: var(--c-ink) !important;
  letter-spacing: -.01em;
}

.site-title a em {
  font-style: italic;
  color: var(--c-green);
}

/* Nav */
.main-navigation a,
.nav-primary a {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: .875rem;
  color: var(--c-ink-3) !important;
  letter-spacing: .01em;
  padding: .375rem .75rem !important;
  border-radius: var(--r-sm);
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}

.main-navigation a:hover,
.nav-primary a:hover {
  color: var(--c-green) !important;
  background: var(--c-green-lt);
}

/* Instagram header ikonu */
.erg-header-social {
  display: flex;
  align-items: center;
  gap: 4px;
}

.erg-header-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  color: var(--c-ink-3);
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}

.erg-header-social a:hover {
  color: var(--c-green);
  background: var(--c-green-lt);
}

.erg-header-social svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mobil menü butonu */
.menu-toggle {
  background: none !important;
  border: 1.5px solid var(--c-border) !important;
  border-radius: var(--r-sm) !important;
  padding: 6px 10px !important;
  color: var(--c-ink) !important;
  font-size: .8rem !important;
  font-family: var(--f-body) !important;
  font-weight: 600 !important;
  letter-spacing: .04em !important;
  cursor: pointer;
  transition: all var(--t) var(--ease) !important;
}

.menu-toggle:hover {
  border-color: var(--c-green) !important;
  color: var(--c-green) !important;
  background: var(--c-green-lt) !important;
}

/* ═══════════════════════════════════════════════════════════════
   BUTONLAR
═══════════════════════════════════════════════════════════════ */
.erg-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: .9rem;
  line-height: 1;
  padding: .8rem 1.6rem;
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: all var(--t) var(--ease);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.erg-btn--primary {
  background: var(--c-green);
  color: #fff !important;
  border-color: var(--c-green);
  box-shadow: 0 2px 12px rgba(95,175,94,.25);
}

.erg-btn--primary:hover {
  background: var(--c-green-dk);
  border-color: var(--c-green-dk);
  box-shadow: 0 4px 20px rgba(95,175,94,.35);
  transform: translateY(-1px);
  color: #fff !important;
}

.erg-btn--outline {
  background: transparent;
  color: var(--c-ink) !important;
  border-color: var(--c-border);
}

.erg-btn--outline:hover {
  border-color: var(--c-green);
  color: var(--c-green) !important;
  background: var(--c-green-lt);
}

.erg-btn--ghost-light {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85) !important;
  border-color: rgba(255,255,255,.2);
}

.erg-btn--ghost-light:hover {
  background: rgba(255,255,255,.18);
  color: #fff !important;
  border-color: rgba(255,255,255,.4);
}

.erg-btn--sm {
  font-size: .825rem;
  padding: .6rem 1.2rem;
}

.erg-btn--full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════════════════
   BÖLÜM ETİKETİ
═══════════════════════════════════════════════════════════════ */
.erg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: .9rem;
}

.erg-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--c-green);
  border-radius: 2px;
  flex-shrink: 0;
}

.erg-heading {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.025em;
  color: var(--c-ink);
}

.erg-heading--xl  { font-size: clamp(2rem,   5vw,   3.5rem); }
.erg-heading--lg  { font-size: clamp(1.7rem,  4vw,   2.8rem); }
.erg-heading--md  { font-size: clamp(1.3rem,  3vw,   2rem);   }

.erg-lead {
  font-size: clamp(.95rem, 2.2vw, 1.1rem);
  color: var(--c-ink-3);
  line-height: 1.75;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════════
   ÖN SAYFA — HERO
═══════════════════════════════════════════════════════════════ */
.erg-hero {
  background: var(--c-ink);
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 10vw, 120px) 0;
}

/* İnce grain texture */
.erg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  opacity: .4;
  pointer-events: none;
}

/* Soft green glow */
.erg-hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95,175,94,.12) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.erg-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.erg-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(95,175,94,.12);
  border: 1px solid rgba(95,175,94,.25);
  color: rgba(255,255,255,.7);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.4rem;
}

.erg-hero__badge-dot {
  width: 5px;
  height: 5px;
  background: var(--c-green);
  border-radius: 50%;
  animation: erg-breathe 2.4s ease-in-out infinite;
}

@keyframes erg-breathe {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.5); opacity: .5; }
}

.erg-hero__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 1.2rem;
}

.erg-hero__title em {
  font-style: italic;
  color: var(--c-green);
}

.erg-hero__desc {
  font-size: clamp(.9rem, 2vw, 1.05rem);
  color: rgba(255,255,255,.55);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 2rem;
  font-weight: 300;
}

.erg-hero__actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

/* Hero sağ — kart */
.erg-hero__card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-xl);
  padding: 32px;
  backdrop-filter: blur(8px);
}

.erg-hero__card-title {
  font-family: var(--f-display);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.erg-hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,.06);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 20px;
}

.erg-hero__stat {
  background: rgba(255,255,255,.03);
  padding: 18px 16px;
  text-align: center;
}

.erg-hero__stat-num {
  font-family: var(--f-display);
  font-size: 1.8rem;
  color: var(--c-green);
  line-height: 1;
  margin-bottom: .2rem;
}

.erg-hero__stat-lbl {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  line-height: 1.4;
}

.erg-hero__card-cta {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.erg-hero__card-note {
  text-align: center;
  font-size: .72rem;
  color: rgba(255,255,255,.3);
  margin-top: .25rem;
}

/* ═══════════════════════════════════════════════════════════════
   ÖN SAYFA — KATEGORİLER
═══════════════════════════════════════════════════════════════ */
.erg-cats {
  padding: clamp(56px, 8vw, 100px) 0;
  background: var(--c-surface-2);
  border-top: 1px solid var(--c-border-lt);
  border-bottom: 1px solid var(--c-border-lt);
}

.erg-cats__head {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.erg-cats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.erg-cat-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  display: block;
  text-decoration: none !important;
  transition: all var(--t) var(--ease);
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.erg-cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1.5px var(--c-green);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}

.erg-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: transparent;
}

.erg-cat-card:hover::after { opacity: 1; }

.erg-cat-card__icon {
  width: 40px;
  height: 40px;
  background: var(--c-green-lt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: background var(--t) var(--ease);
}

.erg-cat-card:hover .erg-cat-card__icon {
  background: var(--c-green);
}

.erg-cat-card__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--c-green);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--t) var(--ease);
}

.erg-cat-card:hover .erg-cat-card__icon svg { stroke: #fff; }

.erg-cat-card__name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.35;
  margin-bottom: .25rem;
}

.erg-cat-card__count {
  font-size: .75rem;
  color: var(--c-muted);
}

/* ═══════════════════════════════════════════════════════════════
   ÖN SAYFA — SON YAZILAR
═══════════════════════════════════════════════════════════════ */
.erg-posts {
  padding: clamp(56px, 8vw, 100px) 0;
}

.erg-posts__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(32px, 5vw, 56px);
  flex-wrap: wrap;
}

.erg-posts__all {
  font-size: .825rem;
  font-weight: 600;
  color: var(--c-green);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
  padding: .4rem .85rem;
  border: 1px solid var(--c-green-lt);
  border-radius: 100px;
  transition: all var(--t) var(--ease);
}

.erg-posts__all:hover {
  background: var(--c-green-lt);
  border-color: var(--c-green);
  color: var(--c-green-dk) !important;
}

.erg-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.erg-post-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--t) var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.erg-post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: var(--c-border-lt);
}

.erg-post-card__body {
  padding: 20px 20px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.erg-post-card__cat {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-green-dk);
  background: var(--c-green-lt);
  padding: .2rem .6rem;
  border-radius: 100px;
  display: inline-block;
  width: fit-content;
}

.erg-post-card__title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.45;
  transition: color var(--t) var(--ease);
  display: block;
}

.erg-post-card:hover .erg-post-card__title { color: var(--c-green-dk); }

.erg-post-card__excerpt {
  font-size: .825rem;
  color: var(--c-muted);
  line-height: 1.65;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.erg-post-card__foot {
  padding: 12px 20px;
  border-top: 1px solid var(--c-border-lt);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.erg-post-card__date {
  font-size: .72rem;
  color: var(--c-muted);
}

.erg-post-card__arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c-green-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t) var(--ease);
}

.erg-post-card:hover .erg-post-card__arrow { background: var(--c-green); }

.erg-post-card__arrow svg {
  width: 13px;
  height: 13px;
  stroke: var(--c-green);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--t) var(--ease), transform var(--t) var(--ease);
}

.erg-post-card:hover .erg-post-card__arrow svg {
  stroke: #fff;
  transform: translateX(1px);
}

/* ═══════════════════════════════════════════════════════════════
   ÖN SAYFA — OCCUMED CTA
═══════════════════════════════════════════════════════════════ */
.erg-cta {
  background: var(--c-ink);
  padding: clamp(56px, 8vw, 100px) 0;
  position: relative;
  overflow: hidden;
}

.erg-cta::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95,175,94,.08) 0%, transparent 65%);
  bottom: -400px;
  left: -200px;
  pointer-events: none;
}

.erg-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.erg-cta__tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: 1rem;
}

.erg-cta__title {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  color: #fff;
  line-height: 1.2;
  letter-spacing: -.025em;
  margin-bottom: 1rem;
}

.erg-cta__title em { font-style: italic; color: var(--c-green); }

.erg-cta__desc {
  font-size: .95rem;
  color: rgba(255,255,255,.5);
  line-height: 1.8;
  max-width: 480px;
  font-weight: 300;
  margin-bottom: 1.6rem;
}

.erg-cta__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.erg-cta__list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .875rem;
  color: rgba(255,255,255,.65);
}

.erg-cta__list li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--c-green);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='%235faf5e' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/9px no-repeat;
}

/* Sağ kutu */
.erg-cta__box {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 36px);
  text-align: center;
}

.erg-cta__box-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.erg-cta__box-title {
  font-family: var(--f-display);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: .5rem;
}

.erg-cta__box-desc {
  font-size: .825rem;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.erg-cta__box-note {
  font-size: .7rem;
  color: rgba(255,255,255,.25);
  margin-top: .6rem;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.site-footer,
#colophon {
  background: var(--c-ink) !important;
  border-top: 1px solid rgba(255,255,255,.06) !important;
  padding: 40px 0 24px !important;
  color: rgba(255,255,255,.45) !important;
  font-size: .825rem !important;
}

.site-footer a,
#colophon a {
  color: rgba(255,255,255,.45) !important;
  transition: color var(--t) var(--ease);
}

.site-footer a:hover,
#colophon a:hover {
  color: var(--c-green) !important;
}

/* ═══════════════════════════════════════════════════════════════
   BLOG / ARŞİV SAYFASI
═══════════════════════════════════════════════════════════════ */
.blog article,
.archive article,
.search-results article {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 28px);
  margin-bottom: 12px;
  transition: all var(--t) var(--ease);
}

.blog article:hover,
.archive article:hover {
  box-shadow: var(--sh-sm);
  border-color: var(--c-border-lt);
  transform: translateY(-1px);
}

.blog .entry-title a,
.archive .entry-title a {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--c-ink) !important;
  text-decoration: none;
  transition: color var(--t) var(--ease);
}

.blog .entry-title a:hover,
.archive .entry-title a:hover { color: var(--c-green-dk) !important; }

.cat-links a {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--c-green-lt);
  color: var(--c-green-dk) !important;
  padding: .2rem .6rem;
  border-radius: 100px;
  margin-right: .3rem;
  text-decoration: none !important;
}

.more-link, a.read-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .825rem;
  font-weight: 600;
  color: var(--c-green) !important;
  background: var(--c-green-lt);
  padding: .45rem 1rem;
  border-radius: var(--r-sm);
  text-decoration: none !important;
  margin-top: .75rem;
  transition: all var(--t) var(--ease);
}

.more-link:hover, a.read-more:hover {
  background: var(--c-green);
  color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════════
   TEKİL YAZI — 2 KOLON LAYOUT
═══════════════════════════════════════════════════════════════ */
.erg-single-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(24px, 4vw, 48px);
  max-width: var(--max-w);
  margin: clamp(32px, 5vw, 56px) auto;
  padding-inline: clamp(16px, 4vw, 40px);
  align-items: start;
}

.erg-single-main { min-width: 0; }

/* Yazı başlığı */
.single .entry-title {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: var(--c-ink);
  line-height: 1.25;
  letter-spacing: -.025em;
  margin-bottom: .75rem;
}

/* Yazı içerik */
.single .entry-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-ink-2);
  max-width: var(--max-w-txt);
}

.single .entry-content h2 {
  font-family: var(--f-display);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--c-ink);
  margin: 2.4rem 0 .75rem;
  padding-left: 1rem;
  border-left: 3px solid var(--c-green);
  letter-spacing: -.015em;
}

.single .entry-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-ink);
  margin: 1.8rem 0 .5rem;
}

.single .entry-content p { margin-bottom: 1rem; }

.single .entry-content ul,
.single .entry-content ol {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.single .entry-content li { margin-bottom: .35rem; }

.single .entry-content strong { color: var(--c-ink); font-weight: 600; }

.single .entry-content a {
  color: var(--c-green-dk);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single .entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  margin: 1.5rem 0;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.single .entry-content table th {
  background: var(--c-green);
  color: #fff;
  padding: .65rem 1rem;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.single .entry-content table td {
  padding: .6rem 1rem;
  border-bottom: 1px solid var(--c-border);
  vertical-align: top;
}

.single .entry-content table tr:nth-child(even) td {
  background: var(--c-green-xlt);
}

/* Yazı meta */
.entry-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .78rem;
  color: var(--c-muted);
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
}

/* Yazı altı Occumed CTA */
.erg-post-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--c-green-lt);
  border: 1px solid var(--c-green);
  border-radius: var(--r-lg);
  padding: clamp(16px, 3vw, 24px);
  margin: 2.5rem 0;
  flex-wrap: wrap;
}

.erg-post-cta__text { flex: 1; min-width: 220px; }

.erg-post-cta__text strong {
  display: block;
  font-size: .9rem;
  color: var(--c-ink);
  margin-bottom: .25rem;
}

.erg-post-cta__text p {
  font-size: .8rem;
  color: var(--c-ink-3);
  margin: 0;
  line-height: 1.5;
}

/* Yazı gezinme */
.erg-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
}

.erg-post-nav__item {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 14px 16px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  text-decoration: none !important;
  transition: all var(--t) var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.erg-post-nav__item:hover {
  border-color: var(--c-green);
  background: var(--c-green-lt);
}

.erg-post-nav__item--next { text-align: right; }

.erg-post-nav__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-green);
}

.erg-post-nav__title {
  font-size: .825rem;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════════════════════ */
.erg-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.erg-sidebar__widget {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 20px;
}

.erg-sidebar__title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-border-lt);
}

/* Arama */
.erg-sidebar__widget .search-form {
  display: flex;
  gap: 6px;
}

.erg-sidebar__widget .search-field {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: .55rem .8rem;
  font-size: .825rem;
  font-family: var(--f-body);
  color: var(--c-ink);
  background: var(--c-surface-2);
  outline: none;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.erg-sidebar__widget .search-field:focus {
  border-color: var(--c-green);
  box-shadow: 0 0 0 3px rgba(95,175,94,.1);
  background: var(--c-surface);
}

.erg-sidebar__widget .search-submit {
  background: var(--c-green);
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  padding: .55rem .9rem;
  font-size: .8rem;
  font-weight: 600;
  font-family: var(--f-body);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--t) var(--ease);
}

.erg-sidebar__widget .search-submit:hover { background: var(--c-green-dk); }

/* Occumed sidebar widget */
.erg-sidebar__occumed {
  background: var(--c-ink);
  border-color: transparent;
  text-align: center;
}

.erg-sidebar__occumed-icon { font-size: 1.8rem; margin-bottom: .75rem; }

.erg-sidebar__occumed-title {
  font-family: var(--f-display);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: .4rem;
}

.erg-sidebar__occumed-desc {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-weight: 300;
}

.erg-sidebar__occumed-link {
  display: block;
  font-size: .72rem;
  color: rgba(255,255,255,.3) !important;
  text-decoration: none !important;
  margin-top: .5rem;
  transition: color var(--t) var(--ease);
}

.erg-sidebar__occumed-link:hover { color: var(--c-green) !important; }

/* Kategori listesi */
.erg-sidebar__cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.erg-sidebar__cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 8px;
  border-radius: var(--r-sm);
  transition: background var(--t) var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.erg-sidebar__cat-item:hover { background: var(--c-green-xlt); }

.erg-sidebar__cat-item a {
  font-size: .825rem;
  font-weight: 500;
  color: var(--c-ink-2) !important;
  text-decoration: none !important;
  transition: color var(--t) var(--ease);
}

.erg-sidebar__cat-item:hover a { color: var(--c-green-dk) !important; }

.erg-sidebar__cat-count {
  font-size: .68rem;
  font-weight: 700;
  color: var(--c-green-dk);
  background: var(--c-green-lt);
  padding: 2px 7px;
  border-radius: 100px;
  flex-shrink: 0;
}

/* Son yazılar */
.erg-sidebar__recent-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.erg-sidebar__recent-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-border-lt);
}

.erg-sidebar__recent-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.erg-sidebar__recent-cat {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-green);
}

.erg-sidebar__recent-title {
  font-size: .825rem;
  font-weight: 600;
  color: var(--c-ink) !important;
  text-decoration: none !important;
  line-height: 1.4;
  transition: color var(--t) var(--ease);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.erg-sidebar__recent-title:hover { color: var(--c-green-dk) !important; }

.erg-sidebar__recent-date {
  font-size: .7rem;
  color: var(--c-muted);
}

/* ═══════════════════════════════════════════════════════════════
   ARŞİV / KATEGORİ — SIDEBAR'LI LAYOUT
═══════════════════════════════════════════════════════════════ */
.blog .grid-container,
.archive .grid-container,
.search-results .grid-container {
  display: grid !important;
  grid-template-columns: 1fr 300px !important;
  gap: clamp(24px, 4vw, 48px) !important;
  max-width: var(--max-w) !important;
  margin-inline: auto !important;
  padding-inline: clamp(16px, 4vw, 40px) !important;
  align-items: start;
}

/* ═══════════════════════════════════════════════════════════════
   STRUCTURED DATA — GÖRSEL İPUÇLARI
   (Schema.org uyumu için mikro-format stilleri)
═══════════════════════════════════════════════════════════════ */
.entry-meta time { font-variant-numeric: tabular-nums; }

/* ═══════════════════════════════════════════════════════════════
   SAYFALAMA
═══════════════════════════════════════════════════════════════ */
.pagination .nav-links,
.posts-navigation .nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.pagination .page-numbers,
.posts-navigation .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  font-size: .825rem;
  font-weight: 500;
  color: var(--c-ink-3) !important;
  text-decoration: none !important;
  transition: all var(--t) var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.pagination .page-numbers:hover,
.posts-navigation .page-numbers:hover {
  border-color: var(--c-green);
  color: var(--c-green) !important;
  background: var(--c-green-lt);
}

.pagination .page-numbers.current,
.posts-navigation .page-numbers.current {
  background: var(--c-green);
  border-color: var(--c-green);
  color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .erg-hero__inner,
  .erg-cta__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .erg-hero__card { max-width: 420px; }
  .erg-hero__stats { grid-template-columns: repeat(4, 1fr); }

  .erg-cats__grid { grid-template-columns: repeat(2, 1fr); }

  .erg-posts__grid { grid-template-columns: repeat(2, 1fr); }

  .erg-single-layout,
  .blog .grid-container,
  .archive .grid-container,
  .search-results .grid-container {
    grid-template-columns: 1fr !important;
  }

  .erg-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .erg-cta__box { max-width: 400px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBİL (≤640px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .erg-hero__actions { flex-direction: column; }
  .erg-hero__actions .erg-btn { width: 100%; justify-content: center; }
  .erg-hero__stats  { grid-template-columns: 1fr 1fr; }

  .erg-cats__grid   { grid-template-columns: 1fr; gap: 8px; }
  .erg-posts__grid  { grid-template-columns: 1fr; }
  .erg-posts__head  { flex-direction: column; align-items: flex-start; gap: 12px; }

  .erg-sidebar { grid-template-columns: 1fr; }

  .erg-post-nav { grid-template-columns: 1fr; }
  .erg-post-nav__item--next { text-align: left; }

  .erg-post-cta { flex-direction: column; align-items: flex-start; }
  .erg-post-cta .erg-btn { width: 100%; justify-content: center; }

  .erg-cta__inner { gap: 24px; }
}

/* ═══════════════════════════════════════════════════════════════
   KÜÇÜK MOBİL (≤380px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 380px) {
  .erg-hero__stats { grid-template-columns: 1fr; }
  .erg-btn { font-size: .825rem; padding: .75rem 1.2rem; }
}

/* ═══════════════════════════════════════════════════════════════
   DOKUNMATIK / MOBİL UX İYİLEŞTİRMELERİ
═══════════════════════════════════════════════════════════════ */
@media (hover: none) {
  /* Hover efektlerini kaldır, dokunuşta aktif state kullan */
  .erg-cat-card:hover,
  .erg-post-card:hover { transform: none; }

  .erg-cat-card:active  { transform: scale(.98); }
  .erg-post-card:active { transform: scale(.99); }
}

/* ═══════════════════════════════════════════════════════════════
   YÜKSEK KONTRAST / ERİŞİLEBİLİRLİK
═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--c-green);
  outline-offset: 3px;
  border-radius: 3px;
}



/* ═══════════════════════════════════════════════════════════════
   SİDEBAR — OCCUMED İSTATİSTİK KARTI
═══════════════════════════════════════════════════════════════ */
.erg-sidebar__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.06);
  border-radius: var(--r-md);
  overflow: hidden;
  margin: 14px 0;
}

.erg-sidebar__stat {
  background: rgba(255,255,255,.04);
  padding: 14px 8px;
  text-align: center;
}

.erg-sidebar__stat-icon {
  font-size: 1.1rem;
  line-height: 1;
  margin-bottom: 4px;
}

.erg-sidebar__stat-num {
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--c-green);
  line-height: 1;
  margin-bottom: 3px;
  min-width: 2ch;
  display: block;
}

.erg-sidebar__stat-lbl {
  font-size: .64rem;
  color: rgba(255,255,255,.4);
  line-height: 1.3;
  display: block;
}

.erg-sidebar__stat-loading {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(95,175,94,.3);
  border-top-color: var(--c-green);
  border-radius: 50%;
  animation: erg-spin .8s linear infinite;
  margin: 2px auto;
}

@keyframes erg-spin {
  to { transform: rotate(360deg); }
}


/* ═══════════════════════════════════════════════════════════════
   HEADER  v3.2 — Tek parça, temiz yapı
═══════════════════════════════════════════════════════════════ */

/* GP'nin kendi header'ını sıfırla */
.site-header, #masthead:not(.erg-header) { display: none !important; }

#masthead.erg-header {
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 1px 0 var(--c-border), var(--sh-xs);
}

/* Paylaşılan wrap — her satırda aynı hizalama */
.erg-header__wrap {
  display: flex;
  align-items: center;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
  width: 100%;
}

/* ── Üst şerit ── */
.erg-header__top {
  border-bottom: 1px solid var(--c-border-lt);
}

.erg-header__top .erg-header__wrap {
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 20px;
}

/* Logo */
.erg-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  flex-shrink: 0;
}

.erg-header__logo img {
  height: 52px;
  width: auto;
  display: block;
}

.erg-header__site-name {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--c-ink);
  letter-spacing: -.02em;
  line-height: 1;
}

.erg-header__site-name em {
  font-style: italic;
  color: var(--c-green);
}

/* Araçlar grubu */
.erg-header__tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Sosyal ikonlar */
.erg-header__social {
  display: flex;
  align-items: center;
  gap: 2px;
}

.erg-header__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  color: var(--c-ink-3);
  text-decoration: none !important;
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.erg-header__social a:hover {
  color: var(--c-green);
  background: var(--c-green-lt);
}

/* Arama */
.erg-header__search {
  display: flex;
  align-items: center;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-left: 4px;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.erg-header__search:focus-within {
  border-color: var(--c-green);
  box-shadow: 0 0 0 3px rgba(95,175,94,.1);
  background: var(--c-surface);
}

.erg-header__search input[type="search"] {
  border: none;
  background: transparent;
  padding: .4rem .7rem;
  font-size: .825rem;
  font-family: var(--f-body);
  color: var(--c-ink);
  width: 170px;
  outline: none;
}

.erg-header__search input::placeholder { color: var(--c-muted); }

.erg-header__search button {
  background: none;
  border: none;
  padding: .4rem .6rem;
  cursor: pointer;
  color: var(--c-muted);
  display: flex;
  align-items: center;
  transition: color var(--t) var(--ease);
  line-height: 1;
}

.erg-header__search button:hover { color: var(--c-green); }

/* Hamburger */
.erg-header__hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: none;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  cursor: pointer;
  color: var(--c-ink);
  transition: all var(--t) var(--ease);
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.erg-header__hamburger:hover {
  border-color: var(--c-green);
  color: var(--c-green);
  background: var(--c-green-lt);
}

/* ── Nav şeridi ── */
.erg-nav {
  background: var(--c-surface);
}

.erg-nav .erg-header__wrap {
  padding-top: 0;
  padding-bottom: 0;
}

/* WordPress'in ürettiği ul */
.erg-nav__list,
.erg-nav ul.menu,
.erg-nav ul {
  list-style: none !important;
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  padding: 5px 0 !important;
  margin: 0 !important;
  width: 100%;
}

.erg-nav__list li a,
.erg-nav ul li a {
  font-size: .855rem !important;
  font-weight: 500 !important;
  color: var(--c-ink-3) !important;
  padding: .38rem .72rem !important;
  border-radius: var(--r-sm) !important;
  display: block !important;
  white-space: nowrap;
  text-decoration: none !important;
  transition: color var(--t) var(--ease), background var(--t) var(--ease) !important;
  font-family: var(--f-body) !important;
}

.erg-nav__list li a:hover,
.erg-nav ul li a:hover,
.erg-nav ul li.current-menu-item > a,
.erg-nav ul li.current-page-ancestor > a,
.erg-nav ul li.current_page_item > a {
  color: var(--c-green-dk) !important;
  background: var(--c-green-lt) !important;
}

/* Admin ipucu */
.erg-nav__hint {
  font-size: .75rem;
  padding: .5rem 0;
}

.erg-nav__hint a {
  color: var(--c-muted);
  text-decoration: none;
}

.erg-nav__hint a:hover { color: var(--c-green); }

/* Hero tam genişlik için GP container sıfırla */
.erg-homepage,
.erg-hero,
.erg-stats-band,
.erg-cats,
.erg-posts,
.erg-cta {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* GP'nin content padding'ini ön sayfada kaldır */
.home .content-area,
.home #primary,
.front-page .content-area {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* ── Mobil ── */
@media (max-width: 768px) {
  .erg-header__search { display: none; }
  .erg-header__hamburger { display: flex; }

  .erg-nav {
    max-height: 0;
    overflow: hidden;
    border-top: none;
    transition: max-height .32s cubic-bezier(.4,0,.2,1);
  }

  .erg-nav.erg-nav--open {
    max-height: 480px;
    border-top: 1px solid var(--c-border-lt);
  }

  .erg-nav__list,
  .erg-nav ul.menu,
  .erg-nav ul {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 8px 0 14px !important;
    gap: 2px !important;
  }

  .erg-nav__list li a,
  .erg-nav ul li a {
    padding: .6rem .75rem !important;
    font-size: .9rem !important;
  }
}

@media (min-width: 769px) {
  .erg-header__hamburger { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER  v3.1
═══════════════════════════════════════════════════════════════ */
.erg-footer {
  background: var(--c-ink);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 56px 0 0;
}

.erg-footer__wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(16px,4vw,40px);
}

.erg-footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* Marka kolonu */
.erg-footer__logo {
  display: inline-block;
  margin-bottom: 14px;
  text-decoration: none !important;
}

.erg-footer__site-name {
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: -.02em;
}

.erg-footer__site-name em {
  font-style: italic;
  color: var(--c-green);
}

.erg-footer__desc {
  font-size: .825rem;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
  margin-bottom: 16px;
  font-weight: 300;
  max-width: 280px;
}

.erg-footer__social {
  display: flex;
  gap: 4px;
}

.erg-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.5);
  text-decoration: none !important;
  transition: all var(--t) var(--ease);
}

.erg-footer__social a:hover {
  border-color: var(--c-green);
  color: var(--c-green);
  background: rgba(95,175,94,.08);
}

/* Kollar */
.erg-footer__col-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 14px;
}

.erg-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.erg-footer__links a {
  font-size: .825rem;
  color: rgba(255,255,255,.4);
  text-decoration: none !important;
  transition: color var(--t) var(--ease);
  line-height: 1.5;
}

.erg-footer__links a:hover { color: var(--c-green); }

.erg-footer__occumed-desc {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  line-height: 1.6;
  font-weight: 300;
}

/* Alt çubuk */
.erg-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.erg-footer__bottom p {
  font-size: .75rem;
  color: rgba(255,255,255,.25);
}

/* Nav hint (menü atanmamışsa) */
.erg-nav__hint {
  font-size: .75rem;
  color: var(--c-muted);
  padding: .4rem .75rem;
  font-style: italic;
}

/* ── Footer responsive ── */
@media (max-width: 900px) {
  .erg-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .erg-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .erg-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   OCCUMED İSTATİSTİK BANDI
   Hero ile Kategoriler arasında — ince, dikkat çekici şerit
═══════════════════════════════════════════════════════════════ */
.erg-stats-band {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 18px 0;
}

.erg-stats-band__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  flex-wrap: wrap;
}

/* "Canlı veri" etiketi */
.erg-stats-band__label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.erg-stats-band__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-green);
  flex-shrink: 0;
  animation: erg-breathe 2.4s ease-in-out infinite;
}

/* İstatistikler grubu */
.erg-stats-band__stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  flex-wrap: wrap;
}

.erg-stats-band__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 24px 4px 0;
}

.erg-stats-band__divider {
  width: 1px;
  height: 32px;
  background: var(--c-border);
  margin-right: 24px;
  flex-shrink: 0;
}

.erg-stats-band__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--c-green-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-green);
  flex-shrink: 0;
}

.erg-stats-band__data {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.erg-stats-band__num {
  font-family: var(--f-display);
  font-size: 1.35rem;
  color: var(--c-ink);
  line-height: 1;
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  min-width: 32px;
}

.erg-stats-band__lbl {
  font-size: .68rem;
  font-weight: 500;
  color: var(--c-muted);
  letter-spacing: .04em;
  white-space: nowrap;
}

/* Yükleniyor spinner */
.erg-stats-band__loading {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--c-border);
  border-top-color: var(--c-green);
  border-radius: 50%;
  animation: erg-spin .8s linear infinite;
}

/* CTA butonu */
.erg-stats-band__cta {
  margin-left: auto;
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .erg-stats-band__label { display: none; }
  .erg-stats-band__cta   { margin-left: auto; }
}

@media (max-width: 640px) {
  .erg-stats-band__inner {
    justify-content: space-between;
    gap: 12px;
  }
  .erg-stats-band__stats {
    flex: 1;
    justify-content: space-between;
    gap: 8px;
  }
  .erg-stats-band__item  { padding: 0; }
  .erg-stats-band__divider { display: none; }
  .erg-stats-band__cta   { width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
  .erg-stats-band__icon  { display: none; }
}
