/**
 * Temel Network Eğitimi — premium görünüm (landing-site-body + module-lesson-landing)
 */
body.module-page--temel-network {
  --ts-accent: #0284c7;
  --ts-accent-soft: rgba(2, 132, 199, 0.1);
  --ts-gold: #d4a853;
  --ts-ink: #0f172a;
  --ts-muted: #64748b;
  --ts-border: rgba(226, 232, 240, 0.95);
  --ts-radius: 16px;
  --ts-shadow: 0 14px 44px rgba(15, 23, 42, 0.07);
}

/* —— Sidebar meta —— */
body.module-page--temel-network .sebs-module-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

body.module-page--temel-network .sebs-module-meta-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

body.module-page--temel-network .sebs-module-meta-chips span i {
  font-size: 0.6rem;
  color: #7dd3fc;
}

body.module-page--temel-network .sebs-content-version-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem !important;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.65rem !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 1 !important;
  color: #94a3b8 !important;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.15);
}

/* —— İçerik kartı —— */
body.module-page--temel-network main .content-card {
  border-radius: 18px !important;
  border: 1px solid var(--ts-border) !important;
  box-shadow: var(--ts-shadow), 0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%) !important;
  overflow: hidden;
}

body.module-page--temel-network main .content-card::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #0284c7 0%, #0ea5e9 38%, #22d3ee 55%, #1e40af 100%);
}

body.module-page--temel-network main .content-card:not(:has(.content-body)) {
  padding: 1.65rem 1.85rem 2rem;
}

body.module-page--temel-network main .content-body {
  padding: 1.65rem 1.85rem 2rem !important;
}

@media (max-width: 640px) {
  body.module-page--temel-network main .content-body {
    padding: 1.15rem 1.1rem 1.5rem !important;
  }
}

/* —— Eğitim blokları —— */
body.module-page--temel-network .learning-objectives {
  margin: 0 0 1.75rem;
  padding: 1.15rem 1.35rem 1.2rem;
  border-radius: var(--ts-radius);
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(30, 64, 175, 0.05) 100%);
  border: 1px solid rgba(2, 132, 199, 0.18);
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.06);
}

body.module-page--temel-network .learning-objectives h3 {
  margin: 0 0 0.65rem;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ts-ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body.module-page--temel-network .learning-objectives h3 i {
  color: var(--ts-accent);
}

body.module-page--temel-network .learning-objectives ul {
  margin: 0;
  padding-left: 1.2rem;
}

body.module-page--temel-network .learning-objectives li {
  margin-bottom: 0.45rem;
  line-height: 1.55;
  color: #334155;
}

body.module-page--temel-network .edu-narrative,
body.module-page--temel-network .edu-lesson-recap {
  margin: 1.5rem 0 1.85rem;
  line-height: 1.78;
  max-width: 72ch;
}

body.module-page--temel-network .edu-narrative p,
body.module-page--temel-network .edu-lesson-recap p {
  margin-bottom: 1rem;
  color: #334155;
}

body.module-page--temel-network .edu-narrative h3,
body.module-page--temel-network .edu-chapter-body h3 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ts-ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.02em;
}

body.module-page--temel-network .edu-narrative h3 i,
body.module-page--temel-network .edu-chapter-body h3 i {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  flex-shrink: 0;
}

body.module-page--temel-network .edu-chapter-body {
  margin: 1.25rem 0 2rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid #e2e8f0;
}

body.module-page--temel-network .edu-chapter-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.85rem;
}

body.module-page--temel-network .edu-chapter-body h3:first-child {
  margin-top: 0.25rem;
}

body.module-page--temel-network .edu-chapter-body p {
  margin-bottom: 1rem;
  line-height: 1.78;
  max-width: 72ch;
  color: #334155;
}

body.module-page--temel-network .edu-lesson-recap {
  padding: 1.35rem 1.5rem;
  border-radius: var(--ts-radius);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.06) 0%, rgba(2, 132, 199, 0.04) 100%);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-left: 4px solid #22c55e;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
}

body.module-page--temel-network .edu-lesson-recap h3 i {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

body.module-page--temel-network .edu-lesson-recap ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  color: #475569;
}

/* —— Örnek kutusu —— */
body.module-page--temel-network .example-box {
  margin: 1.35rem 0;
  padding: 1.15rem 1.35rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.1) 0%, rgba(254, 252, 232, 0.5) 100%);
  border: 1px solid rgba(212, 168, 83, 0.35);
  border-left: 4px solid var(--ts-gold);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

body.module-page--temel-network .example-box p {
  margin: 0.4rem 0 0;
  color: #475569;
  line-height: 1.65;
}

body.module-page--temel-network .example-box p strong {
  color: #92400e;
  font-size: 0.95rem;
}

/* —— CIA üçlüsü —— */
body.module-page--temel-network .cia-triad-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.75rem 0 2.25rem;
}

body.module-page--temel-network .cia-pillar {
  position: relative;
  text-align: center;
  padding: 1.5rem 1rem 1.35rem;
  border-radius: 16px;
  border: 1px solid var(--ts-border);
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

body.module-page--temel-network .cia-pillar::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
}

body.module-page--temel-network .cia-pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

body.module-page--temel-network .cia-pillar.confidentiality::before {
  background: linear-gradient(90deg, #2563eb, #3b82f6);
}

body.module-page--temel-network .cia-pillar.integrity::before {
  background: linear-gradient(90deg, #059669, #22c55e);
}

body.module-page--temel-network .cia-pillar.availability::before {
  background: linear-gradient(90deg, #d97706, #fbbf24);
}

body.module-page--temel-network .cia-pillar i {
  font-size: 1.85rem;
  display: block;
  margin-bottom: 0.55rem;
}

body.module-page--temel-network .cia-pillar span {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ts-ink);
}

body.module-page--temel-network .cia-pillar.confidentiality i { color: #2563eb; }
body.module-page--temel-network .cia-pillar.integrity i { color: #059669; }
body.module-page--temel-network .cia-pillar.availability i { color: #d97706; }

@media (max-width: 720px) {
  body.module-page--temel-network .cia-triad-visual {
    grid-template-columns: 1fr;
  }
}

/* —— Yol haritası (kr-inline) —— */
body.module-page--temel-network .kr-inline-breakout {
  margin: 1.75rem 0;
  padding: 1.25rem 1.35rem;
  border-radius: var(--ts-radius);
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--ts-border);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
}

body.module-page--temel-network .kr-inline-breakout__head {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  color: var(--ts-ink);
}

body.module-page--temel-network .kr-exp-goal {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

body.module-page--temel-network .kr-exp-goal[open] {
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.08);
}

body.module-page--temel-network .kr-exp-goal__icon {
  background: linear-gradient(135deg, #0284c7, #0ea5e9) !important;
  color: #fff !important;
}

/* —— Tablolar —— */
body.module-page--temel-network main .comparison-table,
body.module-page--temel-network main .glossary-table {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--ts-border);
}

body.module-page--temel-network main .comparison-table thead {
  background: linear-gradient(135deg, #0c4a6e 0%, #0284c7 100%) !important;
}

body.module-page--temel-network main .comparison-table thead th {
  color: #fff !important;
  font-weight: 600;
  padding: 0.95rem 1.1rem !important;
}

body.module-page--temel-network main .comparison-table tbody tr:nth-child(even) {
  background: #f8fafc !important;
}

body.module-page--temel-network main .comparison-table tbody tr:hover {
  background: rgba(2, 132, 199, 0.06) !important;
}

body.module-page--temel-network main .comparison-table td {
  padding: 0.85rem 1.1rem !important;
  color: #334155 !important;
}

/* —— Callout (premium-lesson ile uyum) —— */
body.module-page--temel-network .callout-box {
  border-radius: 14px;
}

/* —— Ders rotası hero —— */
body.module-page--temel-network .lesson-route-hero:not([hidden]) {
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--ts-radius);
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
  border: 1px solid var(--ts-border);
}

body.module-page--temel-network .lesson-route-hero-module {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ts-accent);
}

body.module-page--temel-network .lesson-route-hero-lesson {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ts-ink);
}

body.module-page--temel-network .lesson-route-hero-img {
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
}

/* —— Yükleme ekranı —— */
body.module-page--temel-network .loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(160deg, #0f172a 0%, #0c4a6e 45%, #075985 100%);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

body.module-page--temel-network .loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.module-page--temel-network .loading-text {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -0.02em;
}

body.module-page--temel-network .loading-subtext {
  color: #94a3b8;
  font-size: 0.9rem;
}

body.module-page--temel-network .loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: #d4a853;
  border-radius: 50%;
  animation: ts-spin 0.9s linear infinite;
}

@keyframes ts-spin {
  to { transform: rotate(360deg); }
}

body.module-page--temel-network .loading-progress {
  width: min(280px, 70vw);
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

body.module-page--temel-network .loading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0284c7, #d4a853);
  border-radius: 999px;
  animation: ts-load 0.8s ease forwards;
}

@keyframes ts-load {
  to { width: 100%; }
}

/* —— Network modülü: alt başlık ve örnek kutuları —— */
body.module-page--temel-network .content-section-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 2rem 0 0.85rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e2e8f0;
}

body.module-page--temel-network .content-card > .content-section-header:first-of-type,
body.module-page--temel-network .content-card > .learning-objectives + .content-section-header {
  border-top: none;
  margin-top: 1.25rem;
  padding-top: 0;
}

body.module-page--temel-network .content-section-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

body.module-page--temel-network .content-section-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ts-ink);
  margin: 0;
  line-height: 1.35;
}

body.module-page--temel-network .gercek-hayat-ornegi {
  margin: 1.25rem 0;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(248, 250, 252, 0.9) 100%);
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-left: 4px solid #0284c7;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #475569;
}

body.module-page--temel-network .gercek-hayat-ornegi .ornek-baslik {
  display: block;
  font-weight: 700;
  color: #0369a1;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.module-page--temel-network .section-header h2 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  letter-spacing: -0.02em;
}

body.module-page--temel-network .section-header .section-intro {
  color: #475569;
  line-height: 1.7;
  max-width: 72ch;
}

body.module-page--temel-network .figure-block {
  margin: 1.5rem 0;
}

@media (max-width: 640px) {
  body.module-page--temel-network main .content-card:not(:has(.content-body)) {
    padding: 1.15rem 1.1rem 1.5rem;
  }
}
