/* Özel Sağlık Meslek Hizmet Birimi - Bodrum Fizyoterapi
   Mobil öncelikli stil dosyası. Kırılımlar: 48em (tablet), 64em (dizüstü), 90em (geniş). */

/* ---------- Tokenlar ---------- */
:root {
  /* Bitez paleti: kireçtaşı zemin, Ege gecesi mürekkep, begonvil vurgu */
  --paper: #F3F4F1;
  --stone: #E4E7E2;
  --ink: #0F2438;
  --ink-soft: #44586B;
  --sea: #1F5E7A;
  --accent: #A8235E;
  --accent-ink: #FFFFFF;
  --line: rgba(15, 36, 56, .18);

  --night: #0F2438;
  --night-raised: #17324B;
  --night-ink: #EEF1EE;
  --night-soft: #A9B9C6;
  --night-accent: #F29BC0;

  --f-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --f-text: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Tip ölçeği (akışkan) */
  --t-small: .9375rem;
  --t-body: 1.0625rem;
  --t-lead: clamp(1.125rem, 1.05rem + .4vw, 1.3125rem);
  --t-h3: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --t-h2: clamp(1.875rem, 1.3rem + 2.4vw, 3.25rem);
  --t-hero-a: clamp(1.25rem, 1rem + 1.2vw, 2rem);
  --t-hero-b: clamp(2.75rem, 1.2rem + 7.2vw, 7.5rem);

  /* Aralık: 4px tabanlı */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --gutter: clamp(1rem, 4.5vw, 3.5rem);
  --section: clamp(4rem, 2.5rem + 7vw, 9.5rem);
  --measure: 62ch;
  --rail: 0px;
  --radius-s: 6px;
  --radius-m: 14px;

  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 64em) {
  :root { --rail: 5.75rem; }
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--s-6);
}

body {
  margin: 0;
  padding-left: var(--rail);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: var(--t-body);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}

p, li, dd { text-wrap: pretty; }
p { margin: 0 0 var(--s-4); }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
a:hover { text-decoration-thickness: 2px; color: var(--accent); }

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

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: 100;
  padding: var(--s-3) var(--s-4);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-s);
}
.skip-link:focus { top: var(--s-4); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: 82rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Üst bilgi (sabit değil) ---------- */
.masthead {
  border-bottom: 1px solid var(--line);
}
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 4.5rem;
  padding-block: var(--s-3);
}
.wordmark {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1.2;
  text-decoration: none;
  max-width: 17rem;
}
.wordmark span { display: block; }
.wordmark span + span { font-weight: 800; font-size: 1.0625rem; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 44px;
  min-width: 44px;
  padding: var(--s-2) var(--s-4);
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 600 var(--t-small)/1 var(--f-text);
  cursor: pointer;
}
.menu-toggle__bars { width: 18px; height: 12px; position: relative; }
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 2px; background: currentColor;
  transition: transform .25s var(--ease-out);
}
.menu-toggle__bars::before { top: 1px; }
.menu-toggle__bars::after { bottom: 1px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  text-decoration: none;
  font-weight: 600;
}
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
}

/* Telefon: açılır menü */
@media (max-width: 47.99em) {
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .site-nav {
    border-bottom: 1px solid var(--line);
    padding-bottom: var(--s-3);
  }
  .site-nav a {
    font-family: var(--f-display);
    font-size: 1.375rem;
    border-top: 1px solid var(--line);
  }
}
.no-js .menu-toggle { display: none; }

@media (min-width: 48em) {
  .menu-toggle { display: none; }
  .site-nav { display: block; }
  .site-nav ul { display: flex; gap: var(--s-5); }
  .wordmark { max-width: none; }
}

/* ---------- Omurga rayı (imza öğesi) ---------- */
.spine-rail { display: none; }

@media (min-width: 64em) {
  .spine-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail);
    padding-block: var(--s-6);
    border-right: 1px solid var(--line);
    background: var(--paper);
    z-index: 20;
  }
  .spine-rail ol {
    list-style: none;
    margin: auto 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
  }
  .spine-rail li { position: relative; }
  .spine-rail a {
    --w: calc(1.25rem + var(--i) * .22rem);
    display: block;
    width: var(--w);
    height: calc(1.5rem + var(--i) * .12rem);
    border-radius: 7px 7px 9px 9px;
    border: 1.5px solid var(--ink);
    background: var(--paper);
    transform:
      translateX(calc(var(--bend, 0) * 1px * sin(var(--i) * .7rad)))
      rotate(calc(var(--bend, 0) * .35deg * cos(var(--i) * .7rad)));
    transition: background-color .2s, border-color .2s;
  }
  .spine-rail a:hover { background: var(--stone); }
  .spine-rail a[aria-current="true"] {
    background: var(--accent);
    border-color: var(--accent);
  }
  /* Etiket: üzerine gelince ya da odaklanınca görünür */
  .spine-rail .rail-label {
    position: absolute;
    left: calc(100% + .9rem);
    top: 50%;
    transform: translate(-.25rem, -50%);
    white-space: nowrap;
    padding: var(--s-1) var(--s-3);
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius-s);
    font-size: var(--t-small);
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s, transform .15s var(--ease-out);
  }
  .spine-rail a:hover + .rail-label,
  .spine-rail a:focus-visible + .rail-label {
    opacity: 1;
    transform: translate(0, -50%);
  }
  .spine-rail__folio {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--f-display);
    font-weight: 600;
    font-size: var(--t-small);
    color: var(--ink-soft);
    white-space: nowrap;
    max-height: 30vh;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ---------- Başlık sayfası (hero) ---------- */
.title-page {
  padding-block: clamp(3rem, 2rem + 6vw, 8rem) clamp(3rem, 2rem + 5vw, 7rem);
}
.title-page__grid {
  display: grid;
  gap: var(--s-7);
}
.title-page__place {
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: var(--s-5);
}
.hero-title { font-weight: 800; }
.hero-title__a {
  display: block;
  font-size: var(--t-hero-a);
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: var(--s-3);
}
.hero-title__b {
  display: block;
  font-size: var(--t-hero-b);
  line-height: .92;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.title-page__lead {
  font-size: var(--t-lead);
  max-width: 46ch;
  margin-top: var(--s-6);
}
.imprint {
  display: grid;
  gap: var(--s-4);
  margin: 0;
  padding-top: var(--s-5);
  border-top: 2px solid var(--ink);
  font-size: var(--t-small);
}
.imprint dt { font-weight: 700; }
.imprint dd { margin: 0; color: var(--ink-soft); }
.imprint a { color: var(--ink); }

/* Büyük omurga figürü */
.hero-spine {
  display: none;
}

@media (min-width: 48em) {
  .title-page__grid {
    grid-template-columns: minmax(0, 1fr) 9rem;
    align-items: start;
  }
  .title-page__text { grid-column: 1; }
  .imprint { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-spine {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    padding-top: var(--s-3);
  }
  .hero-spine span {
    display: block;
    --w: calc(2.75rem + var(--i) * .4rem);
    width: var(--w);
    height: calc(1.6rem + var(--i) * .18rem);
    border-radius: 12px 12px 16px 16px;
    border: 2px solid var(--ink);
    background: var(--paper);
    transform:
      translateX(calc(var(--bend, 0) * 1.6px * sin(var(--i) * .55rad)))
      rotate(calc(var(--bend, 0) * .4deg * cos(var(--i) * .55rad)));
  }
  .hero-spine span:nth-child(4) { background: var(--accent); border-color: var(--accent); }
}

@media (min-width: 64em) {
  .title-page__grid { grid-template-columns: minmax(0, 1fr) 13rem; column-gap: var(--s-8); }
  .hero-spine span { --w: calc(3.5rem + var(--i) * .55rem); height: calc(2rem + var(--i) * .2rem); }
}

/* Tek orkestrasyonlu açılış: başlık satırları ve omurga segmentleri */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-title__a,
  .js .hero-title__b,
  .js .title-page__lead {
    animation: rise .9s var(--ease-out) both;
  }
  .js .hero-title__b { animation-delay: .12s; }
  .js .title-page__lead { animation-delay: .3s; }
  .js .hero-spine span {
    animation: stack .7s var(--ease-out) both;
    animation-delay: calc(.25s + var(--i) * 55ms);
  }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(.4em); }
  to { opacity: 1; transform: none; }
}
@keyframes stack {
  from { opacity: 0; translate: 0 -14px; }
  to { opacity: 1; translate: 0 0; }
}

/* ---------- Bölümler ---------- */
.chapter {
  padding-block: var(--section);
  border-top: 1px solid var(--line);
}
.chapter--night {
  --ink: var(--night-ink);
  --ink-soft: var(--night-soft);
  --accent: var(--night-accent);
  --line: rgba(238, 241, 238, .2);
  --stone: var(--night-raised);
  background: var(--night);
  color: var(--ink);
  border-top: 0;
}
.chapter--stone {
  background: var(--stone);
  border-top: 0;
}

.chapter__head {
  display: grid;
  gap: var(--s-4);
  margin-bottom: var(--s-7);
}
.chapter__head h2 { font-size: var(--t-h2); max-width: 18ch; }
.chapter__intro {
  font-size: var(--t-lead);
  max-width: 52ch;
  color: var(--ink-soft);
  margin: 0;
}

@media (min-width: 64em) {
  .chapter__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    column-gap: var(--s-8);
  }
}

.prose { max-width: var(--measure); }
.prose h3 { font-size: var(--t-h3); margin: var(--s-7) 0 var(--s-3); }
.prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 var(--s-4); }
.prose li { margin-bottom: var(--s-2); }
.prose li::marker { color: var(--accent); }

/* Adımlar: gerçek bir sıra olduğu için numaralı */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-6);
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: var(--s-4);
  padding-top: var(--s-4);
  border-top: 2px solid var(--ink);
}
.steps li::before {
  content: counter(step);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--accent);
}
.steps h3 { font-size: var(--t-h3); margin-bottom: var(--s-2); }
.steps p { margin: 0; color: var(--ink-soft); max-width: 48ch; }

@media (min-width: 64em) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
  .steps li { grid-template-columns: 1fr; }
  .steps li:nth-child(2) { margin-top: var(--s-7); }
  .steps li:nth-child(3) { margin-top: calc(var(--s-7) * 2); }
}

.note {
  margin-top: var(--s-7);
  padding: var(--s-5);
  border-left: 4px solid var(--accent);
  background: var(--stone);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  max-width: 70ch;
}
.note p:last-child { margin-bottom: 0; }

/* Hizmet dizini: kart değil, dizin satırları */
.index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.index-list li { border-top: 1px solid var(--line); }
.index-list a {
  display: grid;
  gap: var(--s-2);
  padding-block: var(--s-5);
  text-decoration: none;
}
.index-list__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.index-list__desc { color: var(--ink-soft); max-width: 52ch; }
.index-list__more {
  font-weight: 700;
  font-size: var(--t-small);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.index-list a {
  margin-inline: calc(var(--s-3) * -1);
  padding-inline: var(--s-3);
  border-radius: var(--radius-s);
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
}
.index-list a:hover,
.index-list a:focus-visible {
  background: var(--stone);
  color: inherit;
}
.index-list a:hover .index-list__name,
.index-list a:focus-visible .index-list__name,
.index-list a:hover .index-list__more,
.index-list a:focus-visible .index-list__more { color: var(--accent); }
.index-list a:hover .index-list__desc,
.index-list a:focus-visible .index-list__desc { color: var(--ink); }
.index-list a:focus-visible { outline-offset: 0; }

@media (min-width: 64em) {
  .index-list a {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
    align-items: baseline;
    column-gap: var(--s-6);
  }
}

/* Makale listesi */
.reading-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-6);
}
.reading-list li {
  padding-top: var(--s-4);
  border-top: 6px solid var(--ink);
}
.reading-list h3 { font-size: var(--t-h3); margin-bottom: var(--s-3); }
.reading-list h3 a { text-decoration: none; }
.reading-list h3 a:hover { text-decoration: underline; }
.reading-list p { color: var(--ink-soft); margin: 0; }

@media (min-width: 48em) {
  .reading-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-7); row-gap: var(--s-7); }
}
@media (min-width: 64em) {
  .reading-list li:nth-child(even) { margin-top: var(--s-8); }
  .reading-list li:nth-child(n+3):nth-child(odd) { margin-top: calc(var(--s-8) * -1 + var(--s-7)); }
}

/* Ekip */
.team {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-7);
}
.team__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-m);
  background: var(--stone);
}
.team h3 { font-size: var(--t-h3); margin: var(--s-4) 0 var(--s-1); }
.team__role { font-weight: 600; color: var(--accent); margin: 0 0 var(--s-2); }
.team__meta { color: var(--ink-soft); font-size: var(--t-small); margin: 0; }

@media (min-width: 40em) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-6); }
}
@media (min-width: 64em) {
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team li:nth-child(2) { margin-top: var(--s-8); }
}

/* ---------- Görsel yer tutucuları ---------- */
.ph {
  margin: 0;
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: var(--ratio, 4 / 3);
  padding: var(--s-5);
  border-radius: var(--radius-m);
  border: 1.5px dashed color-mix(in srgb, var(--ink) 45%, transparent);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--ink) 6%, transparent) 14px 15px),
    var(--stone);
  color: var(--ink-soft);
  text-align: center;
}
.ph figcaption {
  max-width: 28ch;
  font-size: var(--t-small);
  line-height: 1.45;
}
.ph figcaption strong {
  display: block;
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 1rem;
  margin-bottom: var(--s-1);
}
.ph--portrait { --ratio: 4 / 5; }
.ph--wide { --ratio: 16 / 9; }
.ph--map { --ratio: 4 / 3; }

/* ---------- Ziyaret / iletişim ---------- */
.visit {
  display: grid;
  gap: var(--s-7);
}
.visit__address {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -.015em;
  font-style: normal;
  margin-bottom: var(--s-6);
}
.facts {
  display: grid;
  gap: var(--s-4);
  margin: 0;
}
.facts div {
  display: grid;
  gap: var(--s-1);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
}
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--ink-soft); }
.facts a { color: var(--ink); font-weight: 600; }

@media (min-width: 48em) {
  .facts div { grid-template-columns: 11rem minmax(0, 1fr); gap: var(--s-4); }
}
@media (min-width: 64em) {
  .visit { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; column-gap: var(--s-8); }
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

/* ---------- Alt sayfa başlığı ---------- */
.page-head {
  padding-block: clamp(3rem, 2rem + 5vw, 7rem) clamp(2.5rem, 2rem + 3vw, 5rem);
}
.page-head h1 {
  font-size: clamp(2.5rem, 1.4rem + 5vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .95;
  max-width: 14ch;
}
.page-head__lead {
  font-size: var(--t-lead);
  max-width: 54ch;
  margin: var(--s-6) 0 0;
}
.breadcrumb ol {
  list-style: none;
  margin: 0 0 var(--s-5);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  font-size: var(--t-small);
  color: var(--ink-soft);
}
.breadcrumb li + li::before { content: "/"; margin-right: var(--s-2); }

/* Hizmet/makale yayılımı: içerik + yan sütun */
.spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-7);
}
.spread > * { min-width: 0; }
.spread__aside { display: grid; gap: var(--s-5); align-content: start; }
@media (min-width: 64em) {
  .spread { grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem); column-gap: var(--s-8); }
  .spread--flip .spread__aside { order: -1; }
  .spread--flip { grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr); }
  .spread__aside { position: sticky; top: var(--s-6); }
}

.service-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-m);
  background: var(--stone);
}

.sources {
  font-size: var(--t-small);
  color: var(--ink-soft);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.sources h3, .sources h4 {
  font-size: 1rem;
  margin: 0 0 var(--s-2);
  color: var(--ink);
  font-family: var(--f-text);
  letter-spacing: 0;
}
.sources ol { padding-left: 1.25em; margin: 0; }
.sources li { margin-bottom: var(--s-2); }

.warning {
  padding: var(--s-5);
  border: 2px solid var(--accent);
  border-radius: var(--radius-s);
  max-width: 70ch;
}
.warning h3 { font-size: 1.125rem; margin-bottom: var(--s-2); }
.warning p:last-child, .warning ul:last-child { margin-bottom: 0; }

/* ---------- Künye (footer) ---------- */
.colophon {
  background: var(--night);
  color: var(--night-ink);
  --ink: var(--night-ink);
  --ink-soft: var(--night-soft);
  --accent: var(--night-accent);
  --line: rgba(238, 241, 238, .2);
  padding-block: var(--s-8) var(--s-6);
  font-size: var(--t-small);
}
.colophon__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  max-width: 22ch;
  margin-bottom: var(--s-7);
}
.colophon__grid {
  display: grid;
  gap: var(--s-6);
}
.colophon h2 {
  font-family: var(--f-text);
  font-size: 1rem;
  letter-spacing: 0;
  margin-bottom: var(--s-2);
}
.colophon p { color: var(--ink-soft); margin-bottom: var(--s-2); }
.colophon a { color: var(--ink); }
.colophon ul { list-style: none; margin: 0; padding: 0; }
.colophon li a { display: inline-flex; min-height: 40px; align-items: center; }
.colophon__base {
  margin-top: var(--s-7);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
.placeholder-text {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  padding: 0 .25em;
  border-radius: 3px;
}

@media (min-width: 48em) {
  .colophon__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64em) {
  .colophon__grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

/* ---------- Kurum adı: tire satır başına düşmesin ---------- */
.nw { white-space: nowrap; }

/* ---------- Harita (onaydan sonra yüklenir) ---------- */
.visit > * { min-width: 0; }
.map {
  position: relative;
  width: 100%;
  height: 18rem;
  border-radius: var(--radius-m);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--ink) 6%, transparent) 14px 15px),
    var(--stone);
  border: 1px solid var(--line);
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}
/* Pinin üzerindeki kurum adı etiketi (pin, haritanın tam ortasındadır) */
.map__label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-100% - 2.9rem));
  width: max-content;
  max-width: min(22rem, calc(100% - 2rem));
  padding: var(--s-2) var(--s-3);
  border-radius: var(--radius-s);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .9375rem;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 4px 14px rgba(15, 36, 56, .22);
  pointer-events: none;
}
.map__label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
}
.map__link {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.map__link:focus-visible { outline-offset: -4px; }
@media (min-width: 48em) {
  .map { height: auto; aspect-ratio: 4 / 3; min-height: 22rem; }
}

/* ---------- Sayfa sonu güncelleme tarihi ---------- */
.page-updated {
  margin: 0;
  padding-block: var(--s-5);
  font-size: var(--t-small);
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.draft-note { margin-bottom: var(--s-8); }
.draft-note h2 { font-size: 1.125rem; margin-bottom: var(--s-2); }

/* ---------- Hareket tercihi ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .spine-rail a, .hero-spine span { transform: none !important; }
}

/* ---------- Yazdırma ---------- */
@media print {
  .spine-rail, .menu-toggle, .site-nav, .skip-link, .ph { display: none !important; }
  body { padding-left: 0; background: #fff; }
  .chapter--night, .colophon { background: #fff; color: #000; }
}

/* ---------- Makale ---------- */
.article h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  margin: var(--s-8) 0 var(--s-4);
}
.article > section:first-child h2 { margin-top: 0; }
.article .warning { margin-top: var(--s-8); }
.article .warning h2 { font-size: 1.25rem; margin: 0 0 var(--s-3); }

/* Hizmet içi mevzuat notu */
.prose .service-note { margin-top: var(--s-7); }
.prose .service-note h3 { margin: 0 0 var(--s-2); font-size: 1.125rem; }
.prose .service-note p:last-child { margin-bottom: 0; }

.map__note {
  margin: var(--s-2) 0 0;
  font-size: var(--t-small);
  color: var(--ink-soft);
}
