/* =========================================================
   Kurs kataloğu, kurs detayı ve yönetim paneli
   ========================================================= */

.catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.catalog-head h2 {
  margin-top: 6px;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: clamp(24px, 2.2vw, 30px);
  letter-spacing: -0.03em;
}

.catalog-head p {
  max-width: 560px;
  color: var(--muted);
  font-size: 12px;
}

.catalog-count {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--lime-soft);
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 800;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.catalog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.catalog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(149, 200, 31, 0.5);
  box-shadow: var(--shadow-md);
}

.catalog-media {
  position: relative;
  height: 152px;
  overflow: hidden;
  background: #edf1f6;
}

.catalog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.45s ease;
}

.catalog-card:hover .catalog-media img {
  transform: scale(1.04);
}

.catalog-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 25, 52, 0.28) 100%);
}

.catalog-icon {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: -18px;
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--lime);
  color: var(--navy-900);
  box-shadow: 0 4px 12px rgba(10, 35, 69, 0.15);
}

.catalog-icon .icon {
  width: 17px;
  height: 17px;
}

.catalog-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px 15px 14px;
}

.catalog-category {
  color: var(--lime-dark);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-body h3 {
  margin-top: 4px;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.catalog-body h3 a:hover {
  color: var(--lime-dark);
}

.catalog-body .catalog-summary {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.catalog-teacher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: #52667c;
  font-size: 10.5px;
  font-weight: 700;
}

.catalog-teacher .icon {
  width: 14px;
  height: 14px;
  color: var(--lime-dark);
}

.catalog-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.catalog-facts span {
  padding: 4px 7px;
  border-radius: 5px;
  background: #f3f6fa;
  color: #52667c;
  font-size: 9px;
  font-weight: 700;
}

.catalog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #edf1f6;
}

.catalog-price {
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.catalog-price small {
  display: block;
  color: var(--muted-2);
  font-family: var(--font-body);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0;
}

.catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
}

.catalog-link .icon {
  width: 13px;
  height: 13px;
  transition: transform 0.2s ease;
}

.catalog-link:hover {
  color: var(--lime-dark);
}

.catalog-link:hover .icon {
  transform: translateX(3px);
}

.catalog-card .catalog-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
}

/* ---------- Öğretmen monogram kartları ---------- */
.teacher-photo--mono {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background:
    radial-gradient(circle at 75% 20%, rgba(149, 200, 31, 0.28), transparent 26%),
    linear-gradient(145deg, #0b2b5b 0%, #123c78 62%, #0b2b5b 100%);
  position: relative;
  overflow: hidden;
}

.teacher-photo--mono::before,
.teacher-photo--mono::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.teacher-photo--mono::before {
  width: 210px;
  height: 210px;
  right: -100px;
  top: -90px;
}

.teacher-photo--mono::after {
  width: 140px;
  height: 140px;
  left: -65px;
  bottom: -55px;
}

.teacher-monogram {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: var(--font-head);
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
}

.teacher-mono-label {
  position: relative;
  z-index: 1;
  color: var(--lime);
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.teacher-profile-photo--mono {
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 70% 18%, rgba(149, 200, 31, 0.3), transparent 28%),
    linear-gradient(145deg, #0b2b5b 0%, #123c78 62%, #0b2b5b 100%);
}

.teacher-monogram--lg {
  font-size: 132px;
}

.teacher-profile-photo--mono .teacher-mono-label {
  margin-top: 15px;
  font-size: 8.5px;
}

/* ---------- Ders sayfaları ---------- */
.subject-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.subject-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.subject-card:hover {
  border-color: var(--lime-strong);
  background: var(--lime-soft);
  transform: translateY(-1px);
}

.subject-card-icon {
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--lime-soft);
  color: var(--navy);
}

.subject-card:hover .subject-card-icon {
  background: var(--lime);
}

.subject-card-icon .icon {
  width: 16px;
  height: 16px;
}

.subject-card-body {
  min-width: 0;
  flex: 1;
}

.subject-card-body strong {
  display: block;
  overflow: hidden;
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.subject-card-body small {
  display: block;
  margin-top: 1px;
  color: var(--muted-2);
  font-size: 8.5px;
  font-weight: 600;
}

.subject-card-arrow {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  color: var(--lime-dark);
}

.subject-nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

/* ---------- Kurs detay ---------- */
.course-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 20px 0 24px;
}

.course-fact {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfcfe;
}

.course-fact .label {
  display: block;
  color: var(--muted-2);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.course-fact strong {
  display: block;
  margin-top: 3px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.course-fact .icon {
  width: 15px;
  height: 15px;
  margin-bottom: 3px;
  color: var(--lime-dark);
}

.topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.topic-chips span {
  padding: 7px 10px;
  border: 1px solid #e0e8f1;
  border-radius: 6px;
  background: #f8fafc;
  color: #3f566f;
  font-size: 10.5px;
  font-weight: 700;
}

.schedule-list {
  display: grid;
  gap: 6px;
}

.schedule-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 11px;
  border-left: 2px solid var(--lime);
  background: #f8faf4;
  color: #3d5268;
  font-size: 11px;
  line-height: 1.5;
}

.course-intro-block {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 26px;
  align-items: end;
}

.course-intro-block .course-hero-media {
  margin: 0;
  height: 260px;
}

.course-teacher-box {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border-radius: 10px;
  background: var(--navy-900);
  color: #fff;
}

.course-teacher-box .mono {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--navy-900);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
}

.course-teacher-box strong {
  display: block;
  font-size: 12px;
}

.course-teacher-box span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 9px;
}

.course-price-box {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.course-price-box .label {
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.course-price-box strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.course-price-box small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.course-admin-note {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-2);
  font-size: 9.5px;
}

.course-admin-note .icon {
  width: 14px;
  height: 14px;
}

/* ---------- Yönetim paneli ---------- */
.admin-body {
  min-height: 100vh;
  background: #eef2f7;
}

.admin-shell {
  display: flex;
  min-height: 100vh;
}

.admin-side {
  width: 238px;
  flex: 0 0 auto;
  background: var(--navy-900);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 22px 16px;
}

.admin-side .logo {
  background: #fff;
  border-radius: 8px;
  padding: 7px 9px;
  margin-bottom: 28px;
}

.admin-side .logo img {
  width: 100%;
  height: auto;
}

.admin-nav {
  display: grid;
  gap: 3px;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease;
}

.admin-nav a:hover,
.admin-nav a.active {
  background: rgba(149, 200, 31, 0.14);
  color: var(--lime);
}

.admin-nav .icon {
  width: 17px;
  height: 17px;
}

.admin-side-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  line-height: 1.6;
}

.admin-main {
  min-width: 0;
  flex: 1;
  padding: 28px 32px 50px;
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
}

.admin-top h1 {
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 26px;
  letter-spacing: -0.03em;
}

.admin-top p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.admin-user .avatar {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-size: 10px;
}

.admin-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}

.admin-table th {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #eef2f6;
  color: #41566d;
  vertical-align: middle;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table tr:hover td {
  background: #fbfcf8;
}

.admin-course-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}

.admin-course-cell img {
  width: 44px;
  height: 34px;
  border-radius: 5px;
  object-fit: cover;
}

.admin-course-cell strong {
  display: block;
  color: var(--navy);
  font-size: 11.5px;
}

.admin-course-cell span {
  color: var(--muted-2);
  font-size: 9px;
}

.admin-actions {
  display: flex;
  gap: 5px;
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #496078;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
}

.admin-btn:hover {
  border-color: var(--lime);
  background: var(--lime-soft);
  color: var(--navy);
}

.admin-btn--primary {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.admin-btn--primary:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: #fff;
}

.admin-btn--danger:hover {
  border-color: #e0b4b4;
  background: #fdf3f3;
  color: #a33131;
}

.admin-toast {
  margin-bottom: 16px;
  padding: 10px 13px;
  border: 1px solid #cbe3a5;
  border-radius: 7px;
  background: #f2f9e8;
  color: #33550f;
  font-size: 11.5px;
  font-weight: 700;
}

.admin-form-card {
  padding: 24px;
}

.admin-form-title {
  margin-bottom: 17px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 18px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.admin-form-grid .full {
  grid-column: 1 / -1;
}

.admin-field label {
  display: block;
  margin-bottom: 4px;
  color: #435971;
  font-size: 9.5px;
  font-weight: 800;
}

.admin-field input,
.admin-field select,
.admin-field textarea {
  width: 100%;
  min-height: 37px;
  padding: 8px 10px;
  border: 1px solid #d9e2ec;
  border-radius: 6px;
  background: #fbfcfe;
  color: var(--ink);
  font: 11.5px var(--font-body);
}

.admin-field textarea {
  min-height: 92px;
  resize: vertical;
}

.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus {
  outline: none;
  border-color: var(--lime-strong);
  box-shadow: 0 0 0 3px rgba(149, 200, 31, 0.13);
}

.admin-hint {
  margin-top: 3px;
  color: #8b98a8;
  font-size: 9px;
}

.admin-form-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.admin-checkbox {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #52667c;
  font-size: 10.5px;
  font-weight: 700;
}

.admin-checkbox input {
  accent-color: var(--lime-strong);
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 15% 20%, rgba(149, 200, 31, 0.14), transparent 28%),
    radial-gradient(circle at 90% 80%, rgba(149, 200, 31, 0.08), transparent 24%),
    var(--navy-900);
}

.admin-login-card {
  width: min(390px, 100%);
  padding: 28px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

.admin-login-card .logo {
  background: transparent;
  padding: 0;
}

.admin-login-card .logo img {
  width: 150px;
  height: auto;
}

.admin-login-card h1 {
  margin-top: 20px;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: -0.03em;
}

.admin-login-card p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.admin-login-form {
  display: grid;
  gap: 12px;
  margin-top: 19px;
}

.admin-login-form label {
  color: #435971;
  font-size: 10px;
  font-weight: 800;
}

.admin-login-form input {
  width: 100%;
  min-height: 40px;
  margin-top: 4px;
  padding: 9px 11px;
  border: 1px solid #d9e2ec;
  border-radius: 6px;
  background: #fbfcfe;
  font-size: 12px;
}

.admin-error {
  padding: 9px 11px;
  border: 1px solid #eccaca;
  border-radius: 6px;
  background: #fdf4f4;
  color: #9b2f2f;
  font-size: 10.5px;
  font-weight: 700;
}

.admin-empty {
  padding: 40px 24px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

@media (max-width: 1000px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-layout {
    grid-template-columns: 1fr;
  }

  .course-sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .course-intro-block {
    grid-template-columns: 1fr;
  }

  .course-facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-side {
    width: 190px;
  }

  .admin-main {
    padding: 22px;
  }
}

@media (max-width: 760px) {
  .catalog-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-media {
    height: 180px;
  }

  .course-facts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .subject-grid {
    grid-template-columns: 1fr;
  }

  .course-sidebar {
    grid-template-columns: 1fr;
  }

  .course-intro-block .course-hero-media {
    height: 200px;
  }

  .admin-shell {
    display: block;
  }

  .admin-side {
    width: auto;
    padding: 15px 16px;
  }

  .admin-side .logo {
    margin-bottom: 13px;
  }

  .admin-nav {
    grid-auto-flow: column;
    overflow-x: auto;
  }

  .admin-nav a {
    white-space: nowrap;
  }

  .admin-side-foot {
    display: none;
  }

  .admin-main {
    padding: 18px 16px 40px;
  }

  .admin-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-form-grid {
    grid-template-columns: 1fr;
  }
}

.catalog-empty {
  grid-column: 1 / -1;
  padding: 36px 20px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

@media (max-width: 760px) {
  .course-facts-grid .course-fact:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* ---------- Sayfa içerik editörü ---------- */
.page-editor-card {
  padding: 0;
  overflow: hidden;
}

.page-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  border-bottom: 1px solid #e3eaf2;
  background: #f7f9fc;
}

.page-editor-toolbar button {
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid #d8e2ed;
  border-radius: 5px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
}

.page-editor-toolbar button:hover {
  border-color: var(--lime-strong);
  background: var(--lime-soft);
}

.page-editor-hint {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 600;
}

.page-editor {
  min-height: 520px;
  max-height: 70vh;
  overflow: auto;
  padding: 22px 24px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.65;
}

.page-editor:focus {
  outline: 2px solid rgba(149, 200, 31, 0.35);
  outline-offset: -2px;
}

.page-editor img,
.page-editor iframe {
  max-width: 100%;
}

.page-editor a:not(.btn) {
  color: var(--navy);
  text-decoration: underline;
  cursor: text;
}

.page-editor a.btn {
  text-decoration: none;
}

.page-editor-source {
  display: block;
  width: 100%;
  min-height: 520px;
  padding: 16px 18px;
  border: 0;
  background: #0b1f36;
  color: #cfe3ff;
  font-family: Consolas, monospace;
  font-size: 11px;
  line-height: 1.6;
  resize: vertical;
}

.page-editor-source:focus {
  outline: 2px solid var(--lime);
  outline-offset: -2px;
}

.page-editor[hidden],
.page-editor-source[hidden] {
  display: none !important;
}

/* Görsel üzerindeki yuvarlak ders ikonları tam görünsün */
.catalog-icon {
  bottom: 10px;
}

/* ---------- Başvuru yönetimi ---------- */
.admin-nav-badge {
  margin-left: auto;
  min-width: 18px;
  padding: 2px 5px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--navy-900);
  font-size: 9px;
  font-weight: 800;
  text-align: center;
}

.basvuru-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.basvuru-detail-item {
  padding: 9px 11px;
  border: 1px solid #e6edf5;
  border-radius: 7px;
  background: #fbfcfe;
}

.basvuru-detail-item.full {
  grid-column: 1 / -1;
}

.basvuru-detail-item span {
  display: block;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.basvuru-detail-item strong {
  display: block;
  margin-top: 3px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .basvuru-detail-grid {
    grid-template-columns: 1fr;
  }

  .basvuru-detail-item.full {
    grid-column: auto;
  }
}

/* ---------- Medya kütüphanesi ---------- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}

.media-card {
  overflow: hidden;
  border: 1px solid #e4ebf3;
  border-radius: 9px;
  background: #fbfcfe;
}

.media-card > img {
  display: block;
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.media-meta {
  display: grid;
  gap: 8px;
  padding: 9px;
}

.media-meta > span {
  overflow: hidden;
  color: var(--muted-2);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.media-actions .admin-btn {
  flex: 1;
}

/* ---------- Özel sayfalar ---------- */
.page-content {
  max-width: 860px;
  margin: 0 auto;
  color: var(--body);
  font-size: 14px;
  line-height: 1.8;
}

.page-content h2,
.page-content h3 {
  margin: 28px 0 10px;
  color: var(--navy);
  line-height: 1.25;
}

.page-content h2 { font-size: 25px; }
.page-content h3 { font-size: 19px; }
.page-content p { margin: 0 0 14px; }
.page-content ul,
.page-content ol { margin: 0 0 16px 20px; }
.page-content img { max-width: 100%; height: auto; border-radius: 12px; }
.page-content a { color: var(--navy); text-decoration: underline; }

/* ---------- Duyurular ---------- */
.announcement-list {
  display: grid;
  gap: 18px;
}

.announcement-card {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  overflow: hidden;
  border: 1px solid #e5ecf4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(9, 39, 85, .07);
}

.announcement-media {
  min-height: 390px;
  background: #eaf0f7;
}

.announcement-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.announcement-body {
  padding: clamp(22px, 3.4vw, 38px);
}

.announcement-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.announcement-tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef7cf;
  color: #557707;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.announcement-meta time {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 600;
}

.announcement-body h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
}

.announcement-body > p {
  margin: 0 0 15px;
  color: var(--body);
  font-size: 13px;
  line-height: 1.7;
}

.announcement-list-items {
  display: grid;
  gap: 7px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.announcement-list-items li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #344a64;
  font-size: 12px;
  line-height: 1.5;
}

.announcement-list-items .icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin-top: 2px;
  color: var(--lime-dark);
}

.announcement-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.announcement-note {
  margin: 16px 0 0;
  color: var(--muted-2);
  font-size: 11px;
}

@media (max-width: 820px) {
  .announcement-card {
    grid-template-columns: 1fr;
  }

  .announcement-media {
    min-height: 220px;
    max-height: 280px;
  }
}

/* İletişim sayfası: iki kampüs haritası yan yana */
.contact-maps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin-top: 22px;
}

.map-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.contact-maps .map-wrap {
  height: 280px;
  margin-top: 0;
  border: 0;
  border-radius: 0;
}

.map-phones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 14px;
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  background: #f8fafc;
}

.map-phones strong {
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
}

.map-phones a {
  color: var(--navy);
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
}

.map-phones a:hover {
  color: var(--lime-dark);
}

@media (max-width: 620px) {
  .contact-maps {
    grid-template-columns: 1fr;
  }

  .contact-maps .map-wrap {
    height: 220px;
  }
}

/* ---------- Ana sayfa veli görüşleri ---------- */
.testimonials-section {
  background: #f6f8fb;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 18px;
  border: 1px solid #e4ebf3;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(9, 39, 85, .045);
}

.testimonial-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 9px;
  background: #eef7cf;
  color: var(--lime-dark);
}

.testimonial-quote .icon {
  width: 18px;
  height: 18px;
}

.testimonial-card blockquote {
  flex: 1;
  margin: 0 0 18px;
  color: #344a64;
  font-size: 12.5px;
  line-height: 1.65;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 13px;
  border-top: 1px solid #edf1f6;
}

.testimonial-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: #e8f0fb;
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
}

.testimonial-author strong {
  display: block;
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
}

.testimonial-author span:not(.testimonial-avatar) {
  display: block;
  margin-top: 1px;
  color: var(--muted-2);
  font-size: 10px;
}

.testimonial-source {
  margin: 16px 0 0;
  color: var(--muted-2);
  font-size: 10px;
  text-align: right;
}

.testimonial-source a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 980px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 18px;
  }

  .testimonial-source {
    text-align: left;
  }
}

/* ---------- Veli görüşü gönderme formu ---------- */
.review-submit {
  max-width: 760px;
  margin: 32px auto 0;
}

.review-form-card {
  padding: clamp(22px, 4vw, 34px);
}

.review-form-card > .eyebrow {
  display: block;
  margin-bottom: 7px;
}

.review-form-card h2 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: clamp(22px, 2.4vw, 28px);
}

.review-form-card > p {
  margin: 0 0 18px;
  color: var(--muted-2);
  font-size: 12px;
}

/* ---------- Footer Türkiye Yüzyılı logosu ---------- */
.footer-turkiye {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 7px 11px;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

.footer-turkiye img {
  display: block;
  width: 130px;
  height: auto;
}

@media (max-width: 640px) {
  .footer-turkiye {
    margin-top: 14px;
  }

  .footer-turkiye img {
    width: 112px;
  }
}

/* Öğretmen profili: çok paragraflı tanıtım yazısı */
[data-teacher-bio] {
  white-space: pre-line;
}

/* Footer yasal unvan */
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-legal strong {
  color: rgba(255, 255, 255, .82);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
}

/* Deneme Kulübü seçiminde paket özeti */
.mini-stats[hidden] {
  display: none;
}

/* Sabit paket seçiminde birim/adet satırlarını gizle */
.calc-row[hidden] { display: none; }

/* ---------- Ana sayfa 1982 / 44 yıl vurgusu ---------- */
.hero-heritage {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-heritage-year {
  color: var(--lime);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 500;
  line-height: .82;
  letter-spacing: -.05em;
}

.hero-heritage-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, .38);
}

.hero-heritage-copy em {
  color: rgba(255, 255, 255, .78);
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-heritage-copy strong {
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .hero-heritage {
    margin-bottom: 13px;
  }

  .hero-heritage-year {
    font-size: 33px;
  }

  .hero-heritage-copy strong {
    font-size: 9px;
    letter-spacing: .1em;
  }
}

/* Yıl değeri mini-stat içinde ebeveyn boyutunu korusun */
.mini-stat strong span {
  display: inline;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

/* Şeffaf zeminli başarı görseli */
.media-frame--transparent {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 18px 18px 62px;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.media-frame--transparent img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.media-frame--transparent .media-note {
  left: 50%;
  right: auto;
  bottom: 14px;
  transform: translateX(-50%);
  white-space: nowrap;
}

/* ---------- 2026 LGS Gurur Tablosu ---------- */
.gurur-section {
  background: #fff;
}

.gurur-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.gurur-media {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(4, 35, 75, .18);
}

.gurur-media img {
  display: block;
  width: 100%;
  height: auto;
}

.gurur-copy h2 {
  margin: 6px 0 12px;
  color: var(--navy);
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.1;
}

.gurur-copy > p {
  margin: 0 0 18px;
  color: var(--body);
  font-size: 13px;
  line-height: 1.7;
}

.gurur-list {
  display: grid;
  gap: 7px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.gurur-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 13px;
  border: 1px solid #e8eef5;
  border-radius: 8px;
  background: #f8fafc;
}

.gurur-list strong {
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.gurur-list span {
  flex: 0 0 auto;
  color: #588200;
  font-size: 12px;
  font-weight: 850;
}

.gurur-note {
  color: var(--navy) !important;
  font-style: italic;
  font-weight: 700;
}

@media (max-width: 860px) {
  .gurur-grid {
    grid-template-columns: 1fr;
  }

  .gurur-media {
    max-width: 360px;
  }

  .gurur-copy {
    text-align: center;
  }

  .gurur-list {
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
}

/* Kurs detayı: sınıf koordinatörü yerine slogan */
.course-slogan-box {
  background: linear-gradient(135deg, #f7faf0 0%, #eef6dc 100%);
  border-color: #dce9bd;
}

.course-slogan-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--lime-dark);
}

.course-slogan-mark .icon {
  width: 20px;
  height: 20px;
}

.course-teacher-box .course-slogan-mark {
  display: grid;
  color: var(--lime-dark);
}

.course-slogan-box strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.25;
}

.course-slogan-box div > span {
  margin-top: 3px;
  color: #6f7f91;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Admin kullanım kılavuzu ---------- */
.guide-intro {
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #fff 0%, #f3f8e5 100%);
}

.guide-intro h2 {
  margin: 5px 0 7px;
  color: var(--navy);
  font-size: clamp(20px, 2.2vw, 27px);
}

.guide-intro p {
  max-width: 760px;
  margin: 0;
  color: var(--body);
  font-size: 12px;
  line-height: 1.65;
}

.guide-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 14px;
}

.guide-toc a {
  padding: 7px 10px;
  border: 1px solid #e2eaf2;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.guide-toc a:hover {
  border-color: var(--lime-dark);
  background: #f4f9e8;
}

.guide-section {
  scroll-margin-top: 90px;
  margin-bottom: 14px;
}

.guide-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #edf1f6;
}

.guide-no {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 8px;
  background: #eef7cf;
  color: #588200;
  font-size: 10px;
  font-weight: 850;
}

.guide-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
}

.guide-path {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.guide-section > p {
  margin: 0 0 10px;
  color: var(--body);
  font-size: 12px;
  line-height: 1.65;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 12px;
  font-size: 11px;
}

.guide-table th,
.guide-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #eef2f7;
  text-align: left;
  vertical-align: top;
}

.guide-table th {
  background: #f8fafc;
  color: var(--navy);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.guide-table td:first-child {
  width: 30%;
  color: var(--navy);
  font-weight: 650;
}

.guide-note {
  padding: 9px 11px;
  border-left: 3px solid var(--lime-dark);
  border-radius: 0 7px 7px 0;
  background: #f7faf0;
  color: #4e5d70;
  font-size: 10.5px;
  line-height: 1.6;
}

.guide-list {
  margin: 0 0 12px;
  padding-left: 18px;
  color: var(--body);
  font-size: 11.5px;
  line-height: 1.7;
}

.guide-faq {
  display: grid;
  gap: 7px;
}

.guide-faq details {
  padding: 9px 11px;
  border: 1px solid #e8eef5;
  border-radius: 8px;
  background: #fbfcfe;
}

.guide-faq summary {
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.guide-faq p {
  margin: 7px 0 0;
  color: var(--body);
  font-size: 11px;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .guide-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-path {
    width: 100%;
    margin-left: 40px;
  }

  .guide-table td:first-child {
    width: 40%;
  }
}
