/* Mevzuat — Tüzük / yönetmelik sayfaları */

.mevzuat-page {
  background: #f4f6f9;
}

.mevzuat-page .kurumsal-breadcrumb {
  background: #f4f6f9;
}

.mevzuat-hero {
  padding: 48px 0 28px;
  text-align: center;
  background:
    linear-gradient(180deg, #eef2f7 0%, #f4f6f9 100%);
  border-bottom: 1px solid rgba(1, 46, 90, 0.06);
}

.mevzuat-hero__eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(184, 146, 106, 0.35);
  background: #fbf8f2;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a6a35;
}

.mevzuat-hero h1 {
  margin: 0 0 14px;
  padding-top: 0;
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  color: #012e5a;
  text-align: center;
}

.mevzuat-hero__lead {
  max-width: 640px;
  margin: 0 auto 22px;
  font-size: 16px;
  line-height: 1.7;
  color: #4a5560;
  text-align: center;
}

.mevzuat-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mevzuat-meta li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(1, 46, 90, 0.08);
  box-shadow: 0 4px 14px rgba(1, 46, 90, 0.04);
  text-align: center;
}

.mevzuat-meta span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a96a3;
}

.mevzuat-meta strong {
  font-size: 14px;
  font-weight: 600;
  color: #012e5a;
}

.mevzuat-doc {
  padding: 28px 0 64px;
}

.mevzuat-viewer {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(1, 46, 90, 0.08);
  box-shadow: 0 8px 28px rgba(1, 46, 90, 0.06);
  overflow: hidden;
}

.mevzuat-viewer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid #eef1f5;
}

.mevzuat-viewer__eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8926a;
}

.mevzuat-viewer__title {
  margin: 0 0 4px;
  padding-top: 0;
  text-align: left;
  font-size: 20px;
  font-weight: 700;
  color: #012e5a;
  line-height: 1.3;
}

.mevzuat-viewer__note {
  margin: 0;
  font-size: 13px;
  color: #6a7a8c;
}

.mevzuat-viewer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.mevzuat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mevzuat-btn--primary {
  background: #012e5a;
  color: #fff;
  border: 1px solid #012e5a;
}

.mevzuat-btn--primary:hover {
  background: #0a447a;
  color: #fff;
}

.mevzuat-btn--ghost {
  background: #fbf8f2;
  color: #8a6a35;
  border: 1px solid rgba(184, 146, 106, 0.35);
}

.mevzuat-btn--ghost:hover {
  background: #f6efdf;
  color: #8a6a35;
}

.mevzuat-viewer__frame {
  position: relative;
  height: min(78vh, 860px);
  background: #e8edf3;
}

.mevzuat-viewer__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.mevzuat-viewer__fallback {
  margin: 0;
  padding: 12px 18px;
  font-size: 13px;
  color: #5a6570;
  background: #f8f9fb;
  border-top: 1px solid #eef1f5;
  text-align: center;
}

.mevzuat-viewer__fallback a {
  color: #012e5a;
  font-weight: 600;
}

/* —— Yönetmelik / Yönerge liste —— */
.mevzuat-list {
  padding: 28px 0 64px;
}

.yon-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.yon-tabs__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid rgba(1, 46, 90, 0.12);
  background: #fff;
  color: #012e5a;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.yon-tabs__btn:hover {
  border-color: rgba(1, 46, 90, 0.28);
  box-shadow: 0 6px 18px rgba(1, 46, 90, 0.06);
}

.yon-tabs__btn.is-active {
  background: #012e5a;
  border-color: #012e5a;
  color: #fff;
}

.yon-tabs__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(1, 46, 90, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.yon-tabs__btn.is-active .yon-tabs__count {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.yon-panel {
  display: none;
}

.yon-panel.is-active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.yon-panel.is-active > .yon-block:only-child {
  grid-column: 1 / -1;
}

.yon-block {
  margin-bottom: 0;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(1, 46, 90, 0.08);
  box-shadow: 0 8px 28px rgba(1, 46, 90, 0.05);
  overflow: hidden;
  min-width: 0;
}

.yon-block__title {
  margin: 0;
  padding: 16px 20px;
  border-bottom: 1px solid #eef1f5;
  font-size: 18px;
  font-weight: 700;
  color: #012e5a;
  text-align: left;
}

.yon-table-wrap {
  overflow-x: auto;
}

.yon-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.yon-table th,
.yon-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #eef1f5;
  vertical-align: middle;
}

.yon-table th {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a96a3;
  background: #f8fafc;
  font-weight: 700;
}

.yon-table tbody tr:last-child td {
  border-bottom: 0;
}

.yon-table tbody tr:hover td {
  background: rgba(1, 46, 90, 0.02);
}

.yon-table__sayi {
  width: 26%;
  min-width: 120px;
  font-weight: 600;
  color: #012e5a;
  white-space: nowrap;
}

.yon-doc-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: #0a447a;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.45;
}

.yon-doc-link i {
  margin-top: 3px;
  color: #c0392b;
  flex-shrink: 0;
}

.yon-doc-link:hover {
  color: #012e5a;
  text-decoration: underline;
}

.yon-doc-missing {
  color: #6a7a8c;
}

.yon-empty {
  margin: 0;
  padding: 28px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  color: #6a7a8c;
  font-size: 15px;
}

.yon-preview {
  margin-top: 28px;
}

@media (max-width: 768px) {
  .mevzuat-viewer__head {
    flex-direction: column;
  }

  .mevzuat-viewer__frame {
    height: min(70vh, 640px);
  }

  .mevzuat-hero {
    padding: 36px 0 22px;
  }

  .yon-tabs__btn {
    width: 100%;
    justify-content: space-between;
  }

  .yon-panel.is-active {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .yon-table__sayi {
    width: auto;
    white-space: normal;
  }
}
