/* ==========================================================================
   Uzmanlık sayfası (tr/uzmanlik/) — yalnız bu sayfada kullanılır.
   main.css bileşenlerinin üzerine: alan dizini, alan düzeni, ilgili bağlantılar,
   doğrulama tablosu (sapma göstergesi).
   ========================================================================== */

/* Alan dizini */
.uz-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.uz-index .pillar { color: inherit; text-decoration: none; }
.uz-index .pillar h3 { margin-top: 0; color: var(--fg); }
.uz-index .pillar ul { margin-bottom: 20px; }
.uz-index .pillar .go { margin-top: auto; color: var(--blue); font-weight: 600; font-size: .95rem; }
.uz-index .pillar:hover .go { text-decoration: underline; }
.uz-index .pillar:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Alan bölümü: solda tanımlar, sağda şekil */
.uz-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.uz-grid > .figure { position: sticky; top: 100px; }
.uz-grid .def-list > div:first-child { border-top: 0; padding-top: 0; }
.uz-cases { margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.uz-cases .case:first-of-type { border-top: 0; }

/* İlgili araçlar, dersler, hizmetler */
.uz-rel { margin-top: clamp(24px, 3vw, 36px); }
.uz-rel h3 { margin: 0 0 10px; font-size: 1rem; color: var(--muted); font-weight: 600; }
.uz-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.uz-links li { border-bottom: 1px solid var(--line); }
.uz-links a { display: flex; flex-direction: column; gap: 1px; padding: 12px 0; color: var(--fg); text-decoration: none; }
.uz-links .k { color: var(--muted); font-size: .84rem; }
.uz-links .n { font-weight: 600; line-height: 1.45; }
.uz-links a:hover .n, .uz-links a:focus-visible .n { color: var(--blue); text-decoration: underline; }

/* Giriş: yazının okunması için biraz daha koyu gölge */
.uz-hero .shade { background: linear-gradient(180deg, rgba(5,10,20,.42) 0%, rgba(5,10,20,.5) 100%); }

/* Doğrulama tablosu (koyu bant içinde) */
.uz-band-lead { max-width: 70ch; margin: 16px 0 0; }
.uz-val-wrap { margin-top: 36px; }
.uz-val { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.uz-val th { padding: 0 16px 12px 0; border-bottom: 1px solid rgba(255,255,255,.3); color: #b9c8da; font-size: .84rem; font-weight: 600; text-align: left; vertical-align: bottom; }
.uz-val td { padding: 15px 16px 15px 0; border-bottom: 1px solid rgba(255,255,255,.14); color: #dbe6f3; vertical-align: top; }
.uz-val td.p { color: #fff; }
.uz-val td.p a { display: inline-block; margin-top: 4px; color: var(--yellow); font-size: .86rem; }
.uz-val td.p a:hover { color: #fff; }
.uz-val .src { color: #b9c8da; }
.uz-val th.dev { min-width: 210px; }
.uz-scale { display: flex; justify-content: space-between; margin: 2px 0 0 78px; font-weight: 400; font-size: .76rem; }
.uz-dev { display: flex; align-items: center; gap: 14px; }
.uz-dev b { min-width: 64px; color: #fff; font-weight: 700; white-space: nowrap; }
.uz-gauge { position: relative; flex: 1; min-width: 120px; height: 18px; }
.uz-gauge::before { position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: rgba(255,255,255,.32); content: ""; }
.uz-gauge::after { position: absolute; top: 1px; bottom: 1px; left: 50%; width: 1px; background: rgba(255,255,255,.7); content: ""; }
.uz-gauge i { position: absolute; top: 50%; left: var(--x, 50%); z-index: 1; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(255,214,0,.25); }
.uz-val-note { margin: 18px 0 0; color: #b9c8da; font-size: .9rem; }

/* Standartlar tablosu */
.uz-std td:first-child { white-space: nowrap; font-weight: 600; color: var(--fg); }
.uz-std td:last-child a { white-space: nowrap; }

/* Son çağrı: iki düğme */
.uz-cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.uz-cta-actions .button { justify-content: center; text-align: center; }
.cta-band .uz-cta-actions .button.secondary { background: transparent; border-color: rgba(255,255,255,.75); color: #fff; }
.cta-band .uz-cta-actions .button.secondary:hover { background: #fff; color: #0e2d5c; filter: none; }

@media (max-width: 980px) {
  .uz-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uz-grid { grid-template-columns: 1fr; }
  .uz-grid > .figure { position: static; max-width: 640px; }
  .uz-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .uz-val thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .uz-val, .uz-val tbody, .uz-val tr, .uz-val td { display: block; width: 100%; }
  .uz-val tr { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .uz-val td { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 4px 0; border: 0; }
  .uz-val td::before { content: attr(data-label); color: #b9c8da; font-size: .82rem; }
  .uz-val td.p { display: block; padding-bottom: 8px; font-weight: 600; }
  .uz-val td.p::before { content: none; }
  .uz-val td.p a { font-weight: 400; }
  .uz-std td:first-child { white-space: normal; }
}

@media (max-width: 620px) {
  .uz-index, .uz-links { grid-template-columns: 1fr; }
}
