html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* Inter + kurumsal renk değişkenleri */
.theme-next {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #111827;
  background-color: #ffffff;
  --rp-brand: #2563eb;
  --rp-brand-dark: #1d4ed8;
  --rp-ink: #0f172a;
  --rp-muted: #64748b;
  --rp-soft: #f1f5f9;
}

.theme-next .text-brand {
  color: #1d4ed8 !important;
}

.theme-next .bg-brand {
  background-color: #1d4ed8 !important;
}

.theme-next .border-brand {
  border-color: #1d4ed8 !important;
}

.theme-next .bg-brand-subtle {
  background-color: rgba(37, 99, 235, 0.1) !important;
}

.theme-next .btn-brand {
  background-color: #2563eb;
  border-color: #2563eb;
  color: #fff;
  font-weight: 500;
}

.theme-next .btn-brand:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}

.theme-next .btn-primary {
  background-color: #2563eb;
  border-color: #2563eb;
}

.theme-next .btn-primary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
}

.theme-next .site-header {
  backdrop-filter: blur(10px);
}

.theme-next .tiny-sub {
  font-size: 0.65rem;
  letter-spacing: 0.02em;
}

.theme-next .navbar-light .navbar-nav .nav-link.nav-pill:hover,
.theme-next .navbar-light .navbar-nav .nav-link.nav-pill:focus {
  background-color: rgba(37, 99, 235, 0.08);
  color: #1e40af;
}

.theme-next .navbar-light .navbar-nav .nav-link.nav-pill {
  color: #4b5563;
  font-weight: 500;
  font-size: 0.875rem;
}

.theme-next .lang-pill {
  color: #6b7280 !important;
  font-weight: 500;
}

.theme-next .lang-pill.active {
  color: #1d4ed8 !important;
}

.theme-next .link-brand {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.theme-next .link-brand:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.theme-next .link-muted {
  color: #6b7280;
  text-decoration: none;
}

.theme-next .link-muted:hover {
  color: #2563eb;
  text-decoration: underline;
}

.theme-next .footer-site {
  background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
}

/* About hero – açık arka plan */
.theme-next .hero-about {
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
}

/* Politika kartları (indeks) */
.policy-card-link:hover .policy-card {
  border-color: rgba(37, 99, 235, 0.35) !important;
  box-shadow: 0 0.5rem 1.25rem rgba(37, 99, 235, 0.12) !important;
}

.policy-card-title {
  transition: color 0.15s ease;
}

.policy-card-link:hover .policy-card-title {
  color: #2563eb !important;
}

.policy-card-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.policy-badge-version {
  background-color: #f3f4f6;
  color: #374151;
  font-weight: 500;
}

.policy-badge-active {
  background-color: #d1fae5;
  color: #065f46;
  font-weight: 500;
}

.policy-badge-draft {
  background-color: #fef3c7;
  color: #92400e;
  font-weight: 500;
}

.policy-meta-bar {
  background-color: #f9fafb;
  border-color: #e5e7eb !important;
}

.policy-prose .policy-section-title {
  margin-top: 2rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #e5e7eb;
  color: #111827;
}

.policy-prose .policy-section:first-child .policy-section-title {
  margin-top: 0;
}

.policy-para {
  line-height: 1.7;
  margin-top: 0.75rem;
}

/* Markdown tabanlı politika gövdeleri (Markdig) */
.policy-markdown :first-child {
  margin-top: 0;
}
.policy-markdown h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #e5e7eb;
  color: #111827;
}
.policy-markdown h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: #1f2937;
}
.policy-markdown h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 1rem;
  color: #374151;
}
.policy-markdown p,
.policy-markdown li {
  color: #4b5563;
  line-height: 1.7;
}
.policy-markdown ul,
.policy-markdown ol {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}
.policy-markdown table {
  width: 100%;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  border-collapse: collapse;
}
.policy-markdown th,
.policy-markdown td {
  border: 1px solid #e5e7eb;
  padding: 0.5rem 0.65rem;
  text-align: left;
  vertical-align: top;
}
.policy-markdown th {
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
}
.policy-markdown code {
  font-size: 0.88em;
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
  background: #f3f4f6;
}
.policy-markdown pre {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}
.policy-markdown pre code {
  background: none;
  padding: 0;
}
.policy-markdown blockquote {
  border-left: 4px solid #2563eb;
  margin: 1rem 0;
  padding-left: 1rem;
  color: #6b7280;
}
.policy-markdown strong {
  color: #374151;
}
.policy-markdown hr {
  margin: 1.5rem 0;
  opacity: 0.35;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

body.theme-next {
  margin-bottom: 0;
}

.topology-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.peering-matrix-table .sticky-col {
  position: sticky;
  left: 0;
  z-index: 2;
  box-shadow: 1px 0 0 rgba(0, 0, 0, 0.08);
}

.peering-matrix-table thead .sticky-col {
  z-index: 3;
}

/* —— Kurumsal: hero + istatistik şeridi —— */
.py-lg-6 {
  padding-top: 3.5rem !important;
  padding-bottom: 3.5rem !important;
}

@media (min-width: 992px) {
  .py-lg-6 {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
  }
}

.hero-corporate {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 42%, #1d4ed8 100%);
}

.hero-corporate-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(59, 130, 246, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 70%, rgba(37, 99, 235, 0.25), transparent 50%),
    linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.4) 100%);
  pointer-events: none;
}

.hero-eyebrow {
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75) !important;
}

.hero-card-glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
}

.hero-mini-stat {
  padding: 0.5rem 0;
}

.hero-mini-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.hero-mini-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.15rem;
}

.stats-strip {
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.stat-pillar-value {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

.stat-pillar-label {
  font-size: 0.8rem;
  color: var(--rp-muted);
  margin-top: 0.25rem;
}

.stat-pillar-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--rp-brand);
  font-weight: 500;
  text-decoration: none;
}

.stat-pillar-link:hover {
  text-decoration: underline;
  color: var(--rp-brand-dark);
}

.section-heading-accent {
  width: 3rem;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--rp-brand), rgba(37, 99, 235, 0.3));
}

.bg-soft {
  background-color: var(--rp-soft) !important;
}

.card-corporate {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-corporate:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.1) !important;
}

.value-icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--rp-brand);
  background: rgba(37, 99, 235, 0.1);
  border-radius: 0.5rem;
}

.team-avatar {
  width: 5rem;
  height: 5rem;
  font-size: 0.85rem;
}

.timeline-corporate .timeline-row {
  transition: box-shadow 0.2s ease;
}

.timeline-corporate .timeline-row:hover {
  box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.08) !important;
}

.theme-next .navbar-light .navbar-nav .nav-link.nav-pill.is-active {
  background-color: rgba(37, 99, 235, 0.12);
  color: var(--rp-brand-dark) !important;
}

/* İç sayfa başlığı (isteğe bağlı sınıf) */
.page-heading-band {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-bottom: 1px solid #e2e8f0;
}
