/* ==========================================================================
   Dişbul — components.css
   Tekrar kullanılan arayüz bileşenleri. Sayfaya özel kural içermez.
   ========================================================================== */

/* ---------- Butonlar ---------- */
.btn {
  --btn-bg: var(--color-primary);
  --btn-color: #fff;
  --btn-border: var(--btn-bg);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 44px; padding: 0 var(--sp-5);
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: .01em; line-height: 1.2;
  color: var(--btn-color); background: var(--btn-bg);
  border: 1.5px solid var(--btn-border); border-radius: var(--radius);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary:hover { --btn-bg: var(--teal-700); }
.btn-outline { --btn-bg: #fff; --btn-color: var(--teal-700); --btn-border: var(--teal-500); }
.btn-outline:hover { --btn-bg: var(--teal-50); }
.btn-navy { --btn-bg: var(--navy-700); }
.btn-navy:hover { --btn-bg: var(--navy-900); }
.btn-navy-outline { --btn-bg: #fff; --btn-color: var(--navy-700); --btn-border: var(--navy-600); }
.btn-navy-outline:hover { --btn-bg: var(--blue-50); }
.btn-light { --btn-bg: #fff; --btn-color: var(--gray-900); --btn-border: var(--gray-300); }
.btn-light:hover { --btn-border: var(--gray-400); --btn-bg: var(--gray-50); }
.btn-gold { --btn-bg: var(--gold-500); --btn-color: var(--navy-900); }
.btn-gold:hover { --btn-bg: #c99128; }
.btn-white { --btn-bg: #fff; --btn-color: var(--teal-700); --btn-border: #fff; }
.btn-ghost { --btn-bg: transparent; --btn-color: var(--teal-700); --btn-border: transparent; padding-inline: var(--sp-2); }
.btn-ghost:hover { --btn-bg: var(--teal-50); }
.btn-sm { min-height: 36px; padding: 0 var(--sp-3); font-size: var(--fs-xs); }
.btn-lg { min-height: 52px; padding: 0 var(--sp-6); font-size: var(--fs-md); }
.btn-block { width: 100%; }
.btn-icon { width: 44px; padding: 0; }
.btn-icon.btn-sm { width: 36px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--sp-1);
  font-size: var(--fs-sm); font-weight: 700; color: var(--teal-700); text-transform: none;
}
.link-arrow .ic { width: 1em; height: 1em; transition: transform .15s; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* Bağlantı görünümlü buton */
.link-btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 4px; font-size: var(--fs-xs); font-weight: 700; color: var(--teal-700); cursor: pointer; }
.link-btn:hover { text-decoration: underline; }

/* ---------- Rozet / etiket / çip ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; line-height: 1.3;
  background: var(--gray-100); color: var(--gray-700);
}
.badge .ic { width: 12px; height: 12px; }
.badge-teal, .badge-premium { background: var(--teal-600); color: #fff; }
.badge-vip { background: var(--gold-500); color: var(--navy-900); }
.badge-soft-teal { background: var(--teal-50); color: var(--teal-800); }
.badge-soft-gold { background: var(--gold-50); color: var(--gold-600); }
.badge-new { background: var(--green-50); color: var(--green-600); }
.badge-blue { background: var(--blue-50); color: var(--blue-600); }
.badge-orange { background: var(--orange-50); color: var(--orange-600); }
.badge-red { background: var(--red-50); color: var(--red-600); }
.badge-purple { background: var(--purple-50); color: var(--purple-600); }
.badge-pill { border-radius: var(--radius-pill); }

/* Örnek içerik işareti — demo verileri gerçekmiş gibi sunmamak için */
.demo-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 600; color: var(--orange-600);
  background: var(--orange-50); border: 1px dashed #f0b88a; white-space: nowrap;
}

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 6px;
  font-size: var(--fs-xs); font-weight: 500; color: var(--gray-700);
  background: var(--gray-100); border: 1px solid transparent; white-space: nowrap;
}
a.chip:hover, button.chip:hover { border-color: var(--teal-500); color: var(--teal-700); text-decoration: none; }
.chip-outline { background: #fff; border-color: var(--gray-200); border-radius: var(--radius-pill); padding: 6px 12px; }
.chip .ic { width: 14px; height: 14px; color: var(--teal-600); }
.chip-remove { background: none; border: 0; padding: 0; display: inline-flex; color: var(--gray-500); }
.chip-remove:hover { color: var(--red-600); }

/* ---------- Kart ---------- */
.card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.card-pad { padding: var(--sp-6); }
.card-hover { transition: box-shadow .2s, transform .2s, border-color .2s; }
.card-hover:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--teal-100); }
.card-title { font-size: var(--fs-md); font-weight: 700; color: var(--navy-900); }
.card-title a { color: inherit; }
.card-title a::after { content: ""; position: absolute; inset: 0; } /* tüm kart tıklanabilir */
.card-link { position: relative; }
.card-link .btn, .card-link .fav-btn, .card-link a:not(.card-title a) { position: relative; z-index: 1; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: var(--fs-xs); color: var(--color-text-muted); }
.meta > span { display: inline-flex; align-items: center; gap: 4px; }
.meta .ic { width: 14px; height: 14px; }

/* Bölüm başlığı */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: var(--sp-4); margin-bottom: var(--sp-5); flex-wrap: wrap; }
.section-title { font-size: var(--fs-xl); font-weight: 800; color: var(--navy-900); }
.section-title em { font-style: normal; color: var(--teal-600); }
.section-head .link-arrow { text-transform: uppercase; font-size: var(--fs-xs); letter-spacing: .03em; }

/* ---------- Görsel yer tutucu ---------- */
.ph {
  position: relative; display: grid; place-items: center; overflow: hidden;
  aspect-ratio: var(--ratio, 16 / 10);
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,.7), transparent 45%),
    linear-gradient(135deg, var(--teal-50), #dfe7f3);
  color: var(--teal-700);
}
.ph > .ic { width: 36%; height: auto; aspect-ratio: 1; max-width: 72px; opacity: .45; }
.ph-label {
  position: absolute; left: 8px; bottom: 8px;
  font-size: 10px; font-weight: 600; letter-spacing: .02em; color: var(--gray-600);
  background: rgba(255,255,255,.85); padding: 2px 6px; border-radius: 4px;
}
.ph-navy { background: linear-gradient(135deg, #1b3a7a, var(--navy-900)); color: #9fd8d3; }
.ph-warm { background: linear-gradient(135deg, #fbefe6, #f3e2ea); color: #c2577a; }
.ph-round { border-radius: 50%; aspect-ratio: 1; }

/* Avatar (baş harf) */
.avatar {
  --size: 40px;
  width: var(--size); height: var(--size); flex-shrink: 0;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--teal-50); color: var(--teal-700);
  font-weight: 700; font-size: calc(var(--size) * .38);
}
.avatar-navy { background: var(--blue-50); color: var(--navy-700); }

/* İkon kutusu */
.icon-box {
  --size: 48px;
  width: var(--size); height: var(--size); flex-shrink: 0;
  display: grid; place-items: center; border-radius: 12px;
  background: var(--teal-50); color: var(--teal-600);
}
.icon-box .ic { width: 50%; height: 50%; }
.icon-box.round { border-radius: 50%; }
.icon-box.blue { background: var(--blue-50); color: var(--blue-600); }
.icon-box.purple { background: var(--purple-50); color: var(--purple-600); }
.icon-box.orange { background: var(--orange-50); color: var(--orange-600); }
.icon-box.red { background: var(--red-50); color: var(--red-600); }
.icon-box.green { background: var(--green-50); color: var(--green-600); }
.icon-box.gold { background: var(--gold-50); color: var(--gold-600); }

/* ---------- Puan ---------- */
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--gray-600); }
.rating strong { color: var(--gray-900); font-size: var(--fs-sm); }
.stars { display: inline-flex; gap: 1px; color: var(--gold-500); }
.stars .ic { width: 14px; height: 14px; }
.stars .ic.off { color: var(--gray-300); }

/* Doğrulama işareti */
.verified { color: var(--blue-600); width: 18px; height: 18px; vertical-align: -3px; }

/* ---------- Formlar ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.label { font-size: var(--fs-sm); font-weight: 600; color: var(--gray-900); }
.label .req { color: var(--red-600); }
.hint { font-size: var(--fs-xs); color: var(--gray-600); }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 10px 14px;
  font-size: var(--fs-sm); color: var(--gray-900);
  background: #fff; border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder, .textarea::placeholder { color: var(--gray-500); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--gray-300); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: var(--focus-ring); }
.select {
  appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23586178' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.select:disabled { background-color: var(--gray-50); color: var(--gray-500); cursor: not-allowed; }
.textarea { min-height: 120px; resize: vertical; }
.input-icon { position: relative; }
.input-icon > .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gray-500); pointer-events: none; }
.input-icon > .input, .input-icon > .select { padding-left: 42px; }
.field-error .input, .field-error .select, .field-error .textarea { border-color: var(--red-600); }
.error-text { font-size: var(--fs-xs); color: var(--red-600); }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--gray-700); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--teal-600); flex-shrink: 0; cursor: pointer; }

/* Arama çubuğu (input + buton birleşik) */
.search-bar { display: flex; gap: var(--sp-2); }
.search-bar .input { flex: 1; }

/* ---------- Sekmeler ---------- */
.tabs { display: flex; gap: var(--sp-1); border-bottom: 1px solid var(--gray-200); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4); margin-bottom: -1px;
  font-size: var(--fs-sm); font-weight: 600; color: var(--gray-600);
  background: none; border: 0; border-bottom: 2.5px solid transparent; white-space: nowrap;
}
.tab:hover { color: var(--navy-900); }
.tab[aria-selected="true"] { color: var(--teal-700); border-bottom-color: var(--teal-600); }

/* ---------- Akordeon ---------- */
.accordion { display: grid; gap: var(--sp-2); }
.accordion details { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); }
.accordion details[open] { background: var(--teal-50); border-color: var(--teal-100); }
.accordion summary {
  display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4);
  font-weight: 700; color: var(--navy-900); cursor: pointer; list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; margin-left: auto; width: 18px; height: 18px; flex-shrink: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .2s;
}
.accordion details[open] summary::after { transform: rotate(180deg); }
.accordion .acc-body { padding: 0 var(--sp-4) var(--sp-4); color: var(--gray-700); font-size: var(--fs-sm); }

/* ---------- Sayfalama ---------- */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: var(--sp-8); }
.pagination > a, .pagination > span {
  min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap;
  font-size: var(--fs-sm); font-weight: 600; color: var(--gray-700);
  background: #fff; border: 1px solid var(--gray-200); border-radius: 8px;
}
.pagination a:hover { border-color: var(--teal-500); color: var(--teal-700); text-decoration: none; }
.pagination [aria-current="page"] { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.pagination .gap { border: 0; background: none; }
.pagination > a .ic { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding-block: var(--sp-4); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; padding: 0; margin: 0; font-size: var(--fs-xs); color: var(--gray-600); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "›"; color: var(--gray-400); }
.breadcrumb a { color: var(--gray-700); }
.breadcrumb [aria-current="page"] { color: var(--gray-900); font-weight: 600; }

/* ---------- İstatistik kartı ---------- */
.stat { display: flex; align-items: center; gap: var(--sp-3); }
.stat-value { font-size: var(--fs-xl); font-weight: 800; color: var(--navy-900); line-height: 1.1; }
.stat-label { font-size: var(--fs-xs); color: var(--gray-600); }

/* ---------- Uyarı / bilgi kutusu ---------- */
.notice {
  display: flex; gap: var(--sp-3); align-items: flex-start;
  padding: var(--sp-4); border-radius: var(--radius);
  background: var(--teal-50); color: var(--gray-700); font-size: var(--fs-sm);
}
.notice > .ic { color: var(--teal-600); margin-top: 2px; }
.notice-warn { background: var(--orange-50); }
.notice-warn > .ic { color: var(--orange-600); }

/* Prototip uyarı şeridi (tüm sayfaların en üstü) */
.proto-bar {
  background: var(--navy-900); color: #cfe0ff;
  font-size: var(--fs-xs); text-align: center; padding: 6px var(--gutter);
}
.proto-bar strong { color: #fff; }

/* ---------- Yatay kaydırıcı ---------- */
.scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: var(--item-w, 260px);
  gap: var(--sp-4); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; padding-bottom: var(--sp-3);
  scrollbar-width: thin; scrollbar-color: var(--gray-300) transparent;
}
.scroller > * { scroll-snap-align: start; }
.scroller-wrap { position: relative; }
.scroller-btn {
  position: absolute; top: 40%; z-index: 2; display: none;
  width: 40px; height: 40px; place-items: center; border-radius: 50%;
  background: #fff; border: 1px solid var(--gray-200); box-shadow: var(--shadow); color: var(--navy-900);
}
.scroller-btn.prev { left: -20px; }
.scroller-btn.next { right: -20px; }
@media (min-width: 1100px) { .scroller-btn { display: grid; } }
.scroller-btn[hidden] { display: none !important; }

/* ---------- Bildirim (toast) ---------- */
.toast-box { position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100vw - 32px)); pointer-events: none; }
.toast {
  padding: 12px 16px; border-radius: var(--radius); background: var(--navy-900); color: #fff;
  font-size: var(--fs-sm); box-shadow: var(--shadow-lg); transition: opacity .3s, transform .3s;
}
.toast.out { opacity: 0; transform: translateY(8px); }

/* ---------- Modal (<dialog>) ---------- */
.modal {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0;
  border: 0; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); color: var(--color-text);
}
.modal::backdrop { background: rgba(11,31,77,.5); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); padding: var(--sp-5) var(--sp-6); border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; background: #fff; z-index: 1; }
.modal-head h2 { font-size: var(--fs-lg); }
.modal-body { padding: var(--sp-6); display: grid; gap: var(--sp-4); }
.modal-wide { width: min(960px, calc(100vw - 32px)); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 599px) { .form-grid { grid-template-columns: 1fr; } }
.form-status { padding: var(--sp-3) var(--sp-4); border-radius: var(--radius); background: var(--blue-50); color: var(--navy-700); font-size: var(--fs-sm); }

/* Boş durum */
.empty-state { padding: var(--sp-10) var(--sp-6); text-align: center; display: grid; justify-items: center; gap: var(--sp-3); }
.empty-state .icon-box { --size: 56px; }

/* Bölüm menüsü (sayfa içi sekme görünümlü çapa menüsü) */
.section-nav {
  position: sticky; top: var(--header-h); z-index: 20;
  display: flex; gap: var(--sp-1); overflow-x: auto; scrollbar-width: none;
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 0 var(--sp-2);
}
.section-nav::-webkit-scrollbar { display: none; }
.section-nav a {
  display: inline-flex; align-items: center; gap: 6px; padding: var(--sp-4) var(--sp-3);
  font-size: var(--fs-sm); font-weight: 600; color: var(--gray-700); white-space: nowrap;
  border-bottom: 2.5px solid transparent;
}
.section-nav a:hover { color: var(--navy-900); text-decoration: none; }
.section-nav a[aria-current] { color: var(--teal-700); border-bottom-color: var(--teal-600); }
.section-nav .count { font-size: 11px; padding: 1px 7px; border-radius: var(--radius-pill); background: var(--gray-100); color: var(--gray-700); }

/* Onay işaretli liste ve 'devamını oku' */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.check-list li { display: flex; gap: 8px; align-items: center; font-size: var(--fs-sm); color: var(--gray-900); }
.check-list .ic { color: var(--teal-600); }
.read-more summary { display: inline-flex; cursor: pointer; list-style: none; }
.read-more summary::-webkit-details-marker { display: none; }
.read-more[open] summary { display: none; }
.read-more p { margin-top: var(--sp-3); }

/* ---------- Dosya yükleme alanı ---------- */
.dropzone {
  position: relative; display: grid; justify-items: center; gap: 6px; text-align: center;
  padding: var(--sp-6) var(--sp-4); border: 2px dashed var(--gray-300); border-radius: var(--radius-lg);
  background: var(--gray-50); color: var(--gray-700); font-size: var(--fs-sm); transition: border-color .15s, background .15s;
}
.dropzone .icon-box { --size: 48px; }
.dropzone input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone input[type="file"]:focus-visible + .btn { box-shadow: var(--focus-ring); }
.dropzone.is-over { border-color: var(--teal-500); background: var(--teal-50); }
.dropzone.has-file { border-style: solid; border-color: var(--teal-500); background: var(--teal-50); }
.dropzone.has-error { border-color: var(--red-600); background: var(--red-50); }
.dropzone [data-file-info] { font-size: var(--fs-xs); font-weight: 600; }
.dropzone.has-error [data-file-info] { color: var(--red-600); }
.dropzone.has-file [data-file-info] { color: var(--teal-800); }
.or-sep { display: flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-xs); color: var(--gray-500); }
.or-sep::before, .or-sep::after { content: ""; flex: 1; height: 1px; background: var(--gray-200); }

/* Paylaş butonları (data-share) */
.share { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 700; color: var(--navy-900); }
.share button { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 0; color: #fff; background: var(--navy-700); }
.share button[data-share="x"] { background: #111827; }
.share button[data-share="linkedin"] { background: #0a66c2; }
.share button[data-share="whatsapp"] { background: #16834a; }
.share button[data-share="copy"] { background: var(--gray-100); color: var(--gray-700); }

/* Favori butonu */
.fav-btn {
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--gray-600); box-shadow: var(--shadow-sm);
}
.fav-btn:hover, .fav-btn[aria-pressed="true"] { color: var(--red-600); }
.inline-form { display: inline-flex; margin: 0; }
/* Bal küpü alanı (bot koruması) — ekran okuyucudan da gizli */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.fav-btn-inline[aria-pressed="true"] .ic-heart { color: var(--red-600, #dc2626); }
.fav-btn-inline[aria-pressed="true"] span:last-child::after { content: " ✓"; }
.share button[data-fav] { background: var(--teal-600); } .share button[data-fav][aria-pressed="true"] { background: var(--gold-500); color: var(--navy-900); }
/* Reklam alanı */
.ad-banner { position: relative; margin: 16px 0; border-radius: var(--radius); overflow: hidden; }
.ad-banner img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 1; object-fit: cover; }
.ad-banner .ad-label { position: absolute; top: 8px; left: 8px; background: rgba(15,23,42,.75); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.site-announcement { background: var(--teal-50); color: var(--teal-800); text-align: center; font-size: var(--fs-sm); padding: 8px 16px; margin: 0; }

/* İllüstrasyonlar (App\Core\Illustration): yer tutucu kutusunu tamamen doldurur */
.ph > svg.ill { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.article-cover-ill { --ratio: 21 / 9; border-radius: var(--radius-lg); margin-bottom: var(--sp-5); }
.ph > .photo, .ph > .photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph > .photo img { object-fit: cover; display: block; }

/* ---------- YouTube oynatıcı (tıklayınca yüklenir; video sayfası ve klinik profili) ---------- */
.player {
  position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  border: 0; border-radius: var(--radius-xl); color: #fff; cursor: pointer;
  background: radial-gradient(circle at 70% 30%, #1d4f8f, var(--navy-900) 70%);
}
.player-title { position: absolute; left: 6%; top: 50%; transform: translateY(-50%); max-width: 46%; text-align: left; font-size: clamp(1.2rem, .8rem + 2vw, 2.4rem); font-weight: 800; line-height: 1.2; color: #fff; }
.player-play { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-500); box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .2s; }
.player:hover .player-play { transform: scale(1.06); }
.player-play .ic { width: 34px; height: 34px; margin-left: 5px; }
.player-note { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 16px; font-size: var(--fs-xs); background: rgba(0,0,0,.35); color: #dbe5fb; text-align: left; }
.player-brand { position: absolute; right: 18px; top: 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; letter-spacing: .04em; font-size: var(--fs-sm); }
.player-sm .player-play { width: 64px; height: 64px; }
.player-sm .player-play .ic { width: 26px; height: 26px; }

/* ---------- Çerez izni (yalnızca GA4 tanımlıyken) ---------- */
.consent-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; max-width: 760px; margin: 0 auto; display: flex; gap: 16px; align-items: center;
  padding: 14px 16px; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg, 0 10px 30px rgba(0,0,0,.15)); font-size: var(--fs-sm); }
.consent-bar[hidden] { display: none; }
.consent-bar p { margin: 0; flex: 1; }
.consent-actions { display: flex; gap: 8px; flex-shrink: 0; }
@media (max-width: 767px) { .consent-bar { flex-direction: column; align-items: stretch; bottom: 76px; } .consent-actions > * { flex: 1; } }

/* Spam bal küpü alanı: görünmez, ekran okuyuculardan gizli */
.hp-alan { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Açılır tanıtım metni (kategori ana sayfaları) */
.intro-acc { margin-block: var(--sp-10) var(--sp-8); padding: var(--sp-6); background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); }
.intro-acc .intro-body { position: relative; max-height: 9.5em; overflow: hidden; font-size: var(--fs-sm); line-height: 1.7; color: var(--gray-700); transition: max-height .3s ease; }
.intro-acc .intro-body::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3.5em; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
.intro-acc.open .intro-body { max-height: none; }
.intro-acc.open .intro-body::after { display: none; }
.intro-acc h2 { font-size: var(--fs-xl); color: var(--navy-900); margin: 0 0 var(--sp-3); line-height: 1.3; }
.intro-acc h3 { font-size: var(--fs-md); color: var(--navy-900); margin: var(--sp-5) 0 var(--sp-2); }
.intro-acc p { margin: 0 0 var(--sp-3); }
.intro-acc ul { margin: 0 0 var(--sp-3); padding-left: 1.2em; }
.intro-acc a { color: var(--teal-700); font-weight: 600; }
.intro-toggle { margin-top: var(--sp-3); }
.intro-acc.open .intro-toggle .ic { transform: rotate(180deg); }

/* Fotoğrafı olmayan kişi/kurum: baş harfler */
.ph-initials { display: grid; place-items: center; }
.ph-initials > span { font-weight: 800; letter-spacing: .04em; font-size: clamp(16px, 28%, 48px); color: var(--teal-700); opacity: .85; }
.ph-warm.ph-initials > span { color: #c2577a; }
.doc-photo.ph-initials > span { font-size: 44px; }
.doctor-row-img.ph-initials > span { font-size: 26px; }
.org-logo { width: 88px; height: 88px; flex-shrink: 0; display: grid; place-items: center; padding: 8px; border: 1px solid var(--gray-200); border-radius: 12px; background: #fff; }
.org-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.auth-photo { border-radius: var(--radius-lg); overflow: hidden; }
.ph > .ph-logo { position: absolute; inset: 0; display: grid; place-items: center; padding: 14%; background: #fff; }
.ph > .ph-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ---------- Çizim harita: statik temsili harita görseli (gömülü harita yok; tıklanınca Google Haritalar'da açılır) ---------- */
.draw-map { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; border: 1px solid var(--gray-200); background: #eef3f6 url("../img/harita.svg") center / cover no-repeat; text-decoration: none; }
.draw-map:hover { border-color: var(--teal-300, var(--teal-600)); }
.draw-map:focus-visible { outline: 3px solid var(--teal-600); outline-offset: 2px; }
.dm-pin { position: absolute; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--teal-600); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(16, 37, 66, .18); }
.dm-pin .ic { width: 24px; height: 24px; }
.dm-pin::after { content: ""; position: absolute; left: 50%; top: calc(100% + 4px); width: 18px; height: 6px; border-radius: 50%; background: rgba(16, 37, 66, .18); transform: translateX(-50%); }
.dm-pin-sm { width: 34px; height: 34px; opacity: .9; }
.dm-pin-sm .ic { width: 18px; height: 18px; }
.dm-cta { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--navy-900); font-size: 12px; font-weight: 700; box-shadow: 0 2px 8px rgba(16, 37, 66, .12); }
.dm-cta .ic { width: 14px; height: 14px; color: var(--teal-600); }
.draw-map:hover .dm-cta { color: var(--teal-700); }
