/* ==========================================================
   ORIDEMI — 2. aşama bileşenleri (randevu, rehberler, SSS, takvim,
   öğrenci dosyası, mesajlaşma, duyurular, çerez bandı, alt bilgi)
   ========================================================== */
.badge { display: inline-block; min-width: 20px; padding: 1px 6px; border-radius: 999px; background: var(--gold); color: var(--white); font-size: 11.5px; font-weight: 600; line-height: 1.5; text-align: center; vertical-align: middle; }
.dot-badge { position: absolute; top: 8px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--cream); }
.nav-toggle { position: relative; }
.icon-btn { border: 0; background: none; color: var(--ink-2); font-size: 18px; line-height: 1; padding: 2px 6px; cursor: pointer; border-radius: 6px; }
.icon-btn:hover { color: var(--err); background: var(--err-bg); }

/* menüde Kaynaklar açılır listesi — yazı boyutu, satır yüksekliği ve hizası diğer menü bağlantılarıyla birebir aynı
   (dil / hesap menülerinin genel "details.menu > summary" kuralını ezmek için seçici bilerek daha özgül) */
.main-nav .nav-sub { position: relative; }
.main-nav .nav-sub > details.nav-menu { display: inline-block; }
.main-nav details.nav-menu > summary { display: inline; font-family: var(--font-serif); font-size: 18px; line-height: inherit; padding: 6px 0; gap: 0; border: 0; border-radius: 0; background: none; position: relative; }
.main-nav details.nav-menu > summary:hover, .main-nav details.nav-menu[open] > summary { background: none; border: 0; }
.nav-menu > summary::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.main-nav details.nav-menu > summary.is-active { box-shadow: inset 0 -2px 0 var(--gold); }
.nav-menu .menu-list { left: -12px; right: auto; }
.main-nav ul .menu-list { display: grid; gap: 2px; }
.main-nav ul .menu-list a { font-family: var(--font-sans); font-size: 15px; padding: 10px 14px; }
.main-nav ul .menu-list a::after { display: none; }
@media (max-width: 1400px) { .main-nav details.nav-menu > summary { font-size: 16px; } }
@media (max-width: 1560px) and (min-width: 1181px) { .main-nav details.nav-menu > summary { font-size: 16.5px; } }
@media (max-width: 1300px) and (min-width: 1181px) { .main-nav details.nav-menu > summary { font-size: 15.5px; } }
@media (max-width: 1180px) {
  .main-nav details.nav-menu > summary { font-size: 22px; }
  .main-nav .nav-menu .menu-list { position: static; box-shadow: none; background: transparent; padding: 4px 0 0 14px; min-width: 0; }
  .main-nav ul .menu-list a { font-size: 18px; padding: 6px 0; font-family: var(--font-serif); }
}

/* kurucu fotoğrafı: Hakkımızda kartı ve ülke sayfası alıntıları */
.founder-card { padding-top: 14px; }
.founder-photo { position: relative; margin: 0 -18px 0; }
.founder-photo picture, .founder-photo picture img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: calc(var(--radius) - 2px); }
.founder-photo .founder-mark { position: absolute; left: 18px; bottom: -30px; width: 72px; height: 72px; padding: 9px; box-shadow: 0 6px 18px rgba(var(--navy-rgb), .35); }
.founder-photo + .founder-name { margin-top: 44px; }
.tip footer { display: flex; align-items: center; gap: 12px; }
.tip-avatar { flex: none; display: block; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--gold); }
.tip-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 38%; display: block; }
@media (max-width: 560px) { .founder-photo { margin: 0 -10px; } }

/* mobil: dil seçimi menü düğmesinin yanında (menü içindeki kopya gizlenir) */
.lang-menu--bar { display: none; }
@media (max-width: 1180px) {
  .header-inner { gap: 8px; }
  .lang-menu--bar { display: block; margin-left: auto; position: relative; z-index: 3; }
  .lang-menu--bar > summary { border-color: var(--line); background: rgba(255, 255, 255, .72); padding: 7px 11px; font-size: 15px; }
  .lang-menu--bar .menu-list { min-width: 190px; }
  .nav-tools .lang-menu { display: none; }
}

/* açılış animasyonu (intro.js yalnız dışarıdan gelişte html'e .intro-on ekler) */
.intro { display: none; }
.intro-on .intro {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 300; cursor: pointer;
  background: radial-gradient(120% 90% at 50% 45%, var(--white) 0%, var(--cream) 55%, var(--cream-2) 100%);
  animation: intro-out .6s cubic-bezier(.6, 0, .2, 1) 2.05s forwards;
}
.intro-on.intro-skip .intro { animation: intro-out .35s ease forwards; }
.intro-inner { display: grid; justify-items: center; gap: 22px; width: min(480px, 78vw); }
.intro-inner img { width: 100%; height: auto; animation: intro-logo 1.35s cubic-bezier(.22, .7, .2, 1) .15s both; }
.intro-line { width: 46%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); opacity: 0; animation: intro-line .8s cubic-bezier(.3, .7, .2, 1) 1.05s forwards; }
/* 1) yalnız amblem, ortada belirir  2) sola kayarken yazı soldan açılır */
@keyframes intro-logo {
  0% { opacity: 0; transform: translateX(29.5%) scale(.82); clip-path: inset(0 65% 0 0); }
  38% { opacity: 1; transform: translateX(29.5%) scale(1); clip-path: inset(0 65% 0 0); }
  100% { opacity: 1; transform: translateX(0) scale(1); clip-path: inset(0 0 0 0); }
}
@keyframes intro-line { to { transform: scaleX(1); opacity: 1; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; transform: translateY(-1.5%); } }
@media (prefers-reduced-motion: reduce) { .intro-on .intro { display: none; } }

/* çerez bandı */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 0 var(--gutter) var(--gutter); pointer-events: none; }
.consent-inner { pointer-events: auto; max-width: 1080px; margin: 0 auto; display: flex; gap: 20px 32px; align-items: center; padding: 20px 24px; background: var(--white); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(var(--navy-rgb), .28); border-top: 4px solid var(--gold); max-height: calc(100vh - 32px); overflow-y: auto; }
.consent-text { flex: 1; font-size: 14.5px; line-height: 1.55; }
.consent-title { font-family: var(--font-serif); font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.consent-actions { display: flex; flex-direction: column; gap: 8px; flex: none; }
.consent-actions .btn { justify-content: center; }
.consent-more { margin-top: 10px; }
.consent-more summary { cursor: pointer; color: var(--gold-dark); font-weight: 500; }
.consent-opt { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: 14px; }
.consent-opt input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold-dark); flex: none; }
@media (max-width: 760px) { .consent-inner { flex-direction: column; align-items: stretch; padding: 16px; } .consent-actions { flex-direction: row; flex-wrap: wrap; } .consent-actions .btn { flex: 1 1 140px; } }

/* alt bilgi */
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px 48px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(var(--cream-rgb), .15); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 28px; font-size: 14.5px; }
.footer-cols ul { display: grid; gap: 10px; align-content: start; }
.footer-cols a { color: rgba(var(--cream-rgb), .85); }
.footer-cols a:hover { color: var(--gold-light); }
.newsletter-title { font-family: var(--font-serif); font-size: 20px; color: var(--cream); }
.newsletter-lead { margin: 6px 0 12px; font-size: 14px; color: rgba(var(--cream-rgb), .75); }
.newsletter-row { display: flex; gap: 8px; }
.newsletter-row input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 999px; border: 1.5px solid rgba(var(--cream-rgb), .25); background: rgba(255, 255, 255, .06); color: var(--cream); font: 15px var(--font-sans); }
.newsletter-row input::placeholder { color: rgba(var(--cream-rgb), .55); }
.newsletter-row input:focus { outline: none; border-color: var(--gold-light); }
.newsletter-consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: 12.5px; color: rgba(var(--cream-rgb), .75); line-height: 1.45; }
.newsletter-consent input { margin-top: 2px; accent-color: var(--gold); flex: none; }
.newsletter-consent a { color: var(--gold-light); text-decoration: underline; }
.newsletter-msg { margin-top: 10px; font-size: 14px; color: #b9e3c9; }
.newsletter-msg.is-error { color: #f3b8ae; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-links a:hover { color: var(--gold-light); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ortak küçük parçalar */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 22px; }
.kpis > li { padding: 16px 18px; background: var(--white); border-radius: var(--radius); box-shadow: 0 4px 18px rgba(var(--navy-rgb), .06); border-top: 3px solid var(--gold); }
.kpis > li > a { display: block; margin: -16px -18px; padding: 16px 18px; border-radius: inherit; }
.kpi-n { display: block; font-family: var(--font-serif); font-size: 30px; font-weight: 600; line-height: 1.1; }
.kpi-l { display: block; font-size: 13.5px; color: var(--ink-2); }
.simple-cards { display: grid; gap: 10px; margin: 12px 0 22px; }
.simple-cards li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px 16px; background: var(--white); border-radius: 12px; box-shadow: 0 2px 10px rgba(var(--navy-rgb), .05); }
.section--tint .simple-cards li { background: var(--cream); }
.simple-cards small { color: var(--ink-2); }
.simple-cards form { margin: 0 0 0 auto; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter-chips a { padding: 7px 14px; border-radius: 999px; background: var(--white); font-size: 14px; box-shadow: 0 2px 8px rgba(var(--navy-rgb), .06); }
.filter-chips a.is-active { background: var(--navy); color: var(--cream); }
.filter-chips small { opacity: .7; }
.two-col--panel { align-items: start; }
.meta-list { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 14px 0; font-size: 14px; }
.meta-list dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); }
.meta-list dd { margin: 0; }
.meta-list--big { margin: 20px 0; font-size: 16px; gap: 14px 32px; }
.cal-add { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 10px 0 4px; }
.appt-cancel { margin-top: 18px; }
.prose-sm p { margin-top: 10px; color: var(--ink-2); }
.temp-pw .temp-value code { font-size: 20px; padding: 6px 12px; background: var(--white); border-radius: 8px; user-select: all; letter-spacing: .05em; word-break: break-all; }

/* eğitimcilerimiz */
.edu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 22px; }
.edu-card { display: flex; gap: 22px; padding: clamp(20px, 3vw, 30px); background: var(--white); border-radius: var(--radius); box-shadow: 0 8px 26px rgba(var(--navy-rgb), .07); border-top: 3px solid var(--gold); }
.edu-photo img, .edu-photo .t-initials { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; font-size: 30px; border: 3px solid var(--cream); }
.edu-body { flex: 1; min-width: 0; display: grid; gap: 10px; align-content: start; }
.edu-name { font-family: var(--font-serif); font-size: 24px; font-weight: 600; }
.edu-title { color: var(--gold-dark); font-size: 14.5px; letter-spacing: .03em; }
.edu-bio { color: var(--ink-2); white-space: pre-line; }
.edu-next ul { display: grid; gap: 4px; margin-top: 4px; font-size: 14.5px; }
@media (max-width: 560px) { .edu-card { flex-direction: column; align-items: center; text-align: center; } .edu-body .chips { justify-content: center; } }

/* randevu */
.slot-picker { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.slot-picker legend { font-size: 15px; font-weight: 500; margin-bottom: 12px; }
.slot-picker .tz { color: var(--ink-2); font-weight: 400; }
.slot-days { display: grid; gap: 14px; max-height: 460px; overflow-y: auto; padding-right: 6px; }
.slot-date { font-size: 14.5px; margin-bottom: 6px; text-transform: capitalize; }
.slot-times { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.slot span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-size: 14.5px; font-variant-numeric: tabular-nums; transition: background .15s, border-color .15s; }
.slot input:hover + span { border-color: var(--gold); }
.slot input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.slot input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.slot-picker.has-error .slot span { border-color: #e2b4ad; }

/* rehber yazılar */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.post-card a { display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 22px rgba(var(--navy-rgb), .07); transition: transform .25s, box-shadow .25s; }
.post-card a:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(var(--navy-rgb), .13); }
.post-cover { aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover-ph { display: grid; place-items: center; height: 100%; font-family: var(--font-caps); letter-spacing: .3em; color: var(--gold-light); }
.post-body { display: grid; gap: 8px; padding: 20px 22px 22px; align-content: start; }
.post-body h2, .post-body h3 { font-family: var(--font-serif); font-weight: 600; font-size: 21px; line-height: 1.3; }
.post-meta { font-size: 13px; color: var(--gold-dark); letter-spacing: .02em; }
.post-summary { color: var(--ink-2); font-size: 15px; }
.post-grid--sm .post-body h3 { font-size: 18px; }
.post-hero { position: relative; padding: calc(var(--header-h) + clamp(36px, 5vw, 72px)) 0 clamp(36px, 5vw, 64px); background: linear-gradient(180deg, var(--cream) 0, var(--cream-2) 100%); isolation: isolate; overflow: hidden; }
.post-hero.has-cover { color: var(--white); background: var(--navy); }
.post-hero-bg { position: absolute; inset: 0; z-index: -1; }
.post-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.post-hero h1 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.12; margin-top: 8px; }
.post-hero .lead { margin-top: 14px; font-size: clamp(17px, 1.5vw, 20px); }
.post-hero.has-cover .breadcrumb, .post-hero.has-cover .post-meta { color: var(--gold-light); }
.prose blockquote { margin: 20px 0; padding: 14px 20px; border-left: 3px solid var(--gold); background: var(--cream); border-radius: 0 12px 12px 0; font-family: var(--font-serif); font-style: italic; }
.prose ol { margin-top: 12px; padding-left: 1.3em; list-style: decimal; }
.prose h3 { margin: 24px 0 8px; font-family: var(--font-serif); font-weight: 600; font-size: 21px; }
.prose strong { font-weight: 600; }

/* SSS + takvim */
.faq-group { margin-bottom: 30px; }
.faq-group .section-title { margin-bottom: 12px; }
.faq-item { background: var(--white); border-radius: 12px; margin-bottom: 10px; box-shadow: 0 2px 10px rgba(var(--navy-rgb), .05); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; position: relative; font-family: var(--font-serif); font-size: 18px; font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--gold); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .prose { padding: 0 20px 18px; }
.faq-item .prose p:first-child { margin-top: 0; }
.dl-month { margin-top: 30px; text-transform: capitalize; }
.dl-item { display: flex; gap: clamp(14px, 2.5vw, 24px); padding: clamp(16px, 2.5vw, 22px); background: var(--white); border-radius: var(--radius); box-shadow: 0 4px 16px rgba(var(--navy-rgb), .05); border-left: 4px solid var(--gold); }
.dl-item.is-past { opacity: .7; border-left-color: var(--line); }
.dl-body { flex: 1; min-width: 0; }
.dl-body h3 { margin-top: 4px; font-family: var(--font-serif); font-weight: 600; font-size: 20px; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: 14px; }
@media (max-width: 560px) { .dl-item { flex-direction: column; } }

/* eğitim kartı ekleri */
.tr-recs { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.tr-recs ul { display: grid; gap: 4px; margin-top: 4px; }
.rec-list { display: grid; gap: 2px; margin-top: 6px; }
.rec-list li { display: flex; align-items: center; gap: 4px; }
.rec-list form { margin: 0; }
.rec-add { margin-top: 6px; }
.rec-add summary { cursor: pointer; list-style: none; }
.rec-add .inline-form { margin-top: 8px; }
.announce-box { margin-top: 22px; }
.announce-box summary { cursor: pointer; font-weight: 500; color: var(--gold-dark); }

/* öğrenci dosyası */
.progress-line { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 14.5px; flex-wrap: wrap; }
.progress-line progress { flex: 1 1 160px; height: 10px; border: 0; border-radius: 99px; background: var(--cream-2); overflow: hidden; -webkit-appearance: none; appearance: none; }
.progress-line progress::-webkit-progress-bar { background: var(--cream-2); border-radius: 99px; }
.progress-line progress::-webkit-progress-value { background: var(--gold); border-radius: 99px; }
.progress-line progress::-moz-progress-bar { background: var(--gold); border-radius: 99px; }
.app-list { display: grid; gap: 18px; margin-bottom: 30px; }
.app-card { padding: clamp(18px, 2.6vw, 26px); background: var(--white); border-radius: var(--radius); box-shadow: 0 6px 22px rgba(var(--navy-rgb), .07); border-left: 4px solid var(--gold); }
.app-card.is-overdue { border-left-color: var(--err); }
.app-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.app-head h3 { font-family: var(--font-serif); font-weight: 600; font-size: 22px; }
.app-meta { color: var(--ink-2); font-size: 14.5px; margin-top: 2px; }
.app-side { display: grid; justify-items: end; gap: 6px; }
.app-deadline { font-size: 14px; text-align: right; }
.app-deadline span { color: var(--ink-2); }
.app-deadline small { display: block; color: var(--gold-dark); }
.is-late, .app-deadline.is-late strong { color: var(--err); }
.app-note { margin-top: 10px; padding: 8px 12px; background: var(--cream); border-radius: 8px; font-size: 14.5px; }
.app-st--offer, .app-st--enrolled { background: var(--ok-bg); color: var(--ok); }
.app-st--rejected { background: var(--err-bg); color: var(--err); }
.app-st--submitted, .app-st--interview { background: #e6edf7; color: #2a4a7a; }
.app-st--waitlist { background: #f7ecd6; color: #7a5a1c; }
.app-steps { display: flex; flex-wrap: wrap; gap: 4px; margin: 16px 0 4px; padding: 0; list-style: none; }
.app-steps li { flex: 1 1 90px; padding: 6px 8px; font-size: 12px; letter-spacing: .04em; text-align: center; color: var(--ink-2); background: var(--cream); border-radius: 6px; }
.app-steps li.is-on { background: var(--navy); color: var(--cream); }
.app-tasks { margin-top: 14px; }
.task-list { display: grid; gap: 4px; margin: 8px 0; }
.task { display: flex; align-items: center; gap: 10px; padding: 6px 4px; border-bottom: 1px solid var(--cream-2); }
.task:last-child { border-bottom: 0; }
.task form { margin: 0; }
.task-box { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; border: 1.5px solid var(--line); border-radius: 7px; background: var(--white); color: var(--white); font-size: 14px; cursor: pointer; padding: 0; }
.task.is-done .task-box { background: var(--ok); border-color: var(--ok); }
.task-title { flex: 1; min-width: 0; font-size: 15px; overflow-wrap: anywhere; }
.task.is-done .task-title { text-decoration: line-through; color: var(--ink-2); }
.task-title small { color: var(--ink-2); }
.task-add { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.task-add input { flex: 1 1 200px; min-width: 0; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 8px; font: 14.5px var(--font-sans); background: var(--white); }
.task-add input[type=date] { flex: 0 1 160px; }
.app-edit { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.app-edit summary { cursor: pointer; color: var(--gold-dark); font-weight: 500; }
.app-form { margin: 12px 0; }
.add-app { margin-bottom: 22px; }
.add-app > summary { display: inline-flex; list-style: none; cursor: pointer; }
.add-app > summary::-webkit-details-marker { display: none; }
.add-app[open] > summary { margin-bottom: 16px; }
.general-tasks { padding: clamp(18px, 2.6vw, 26px); background: var(--white); border-radius: var(--radius); box-shadow: 0 6px 22px rgba(var(--navy-rgb), .07); }
.upload-form { margin-bottom: 26px; }

/* mesajlaşma */
.chat { display: grid; gap: 16px; }
.chat-list { display: grid; gap: 12px; margin: 0; padding: 0 4px 0 0; list-style: none; max-height: 62vh; overflow-y: auto; }
.chat-msg { max-width: 82%; padding: 12px 16px; background: var(--white); border-radius: 14px 14px 14px 4px; box-shadow: 0 2px 10px rgba(var(--navy-rgb), .06); }
.chat-msg.is-staff { border-left: 3px solid var(--gold); }
.chat-msg.is-me { justify-self: end; background: var(--navy); color: var(--cream); border-radius: 14px 14px 4px 14px; border-left: 0; }
.chat-msg.is-me .chat-meta, .chat-msg.is-me small, .chat-msg.is-me .link { color: var(--gold-light); }
.chat-meta { font-size: 12.5px; color: var(--ink-2); margin-bottom: 4px; }
.chat-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; }
.chat-file { margin-top: 6px; font-size: 14px; overflow-wrap: anywhere; }
.chat-form { display: grid; gap: 8px; padding: 14px; background: var(--white); border-radius: var(--radius); box-shadow: 0 6px 22px rgba(var(--navy-rgb), .07); }
.chat-form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: 16px/1.5 var(--font-sans); resize: vertical; min-height: 80px; }
.chat-form textarea:focus { outline: none; border-color: var(--gold); }
.chat-form-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.chat-attach { display: inline-flex; flex-direction: column; gap: 4px; font-size: 13.5px; color: var(--gold-dark); min-width: 0; max-width: 100%; }
.chat-attach input { font-size: 13px; max-width: 100%; }
@media (max-width: 560px) { .chat-msg { max-width: 94%; } }

/* duyurular */
.news-list { display: grid; gap: 12px; margin: 12px 0 24px; }
.news { padding: 14px 18px; background: var(--white); border-radius: 12px; box-shadow: 0 2px 10px rgba(var(--navy-rgb), .05); }
.news.is-new { border-left: 4px solid var(--gold); }
.news h3 { font-family: var(--font-serif); font-weight: 600; font-size: 18px; margin-top: 4px; }
.news-meta { font-size: 12.5px; color: var(--ink-2); }
.news-body { margin-top: 6px; white-space: pre-line; font-size: 15px; overflow-wrap: anywhere; }

/* profil */
.profile-photo-row { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 8px; }
.profile-photo-row .field { flex: 1; min-width: 0; }
@media (max-width: 560px) { .profile-photo-row { flex-direction: column; } }

/* dar ekran: uzun düğme metinleri satır kırabilir */
@media (max-width: 560px) { .btn { white-space: normal; text-align: center; } }
.export-list .btn { white-space: normal; text-align: left; }

/* Eğitim fotoğrafları: kartta bilgilerin sağında, eğitim sayfasında daha büyük */
.tr-card.has-media { display: grid; grid-template-columns: auto minmax(0, 1fr) clamp(200px, 30%, 300px); align-items: start; }
.tr-media { display: grid; gap: 8px; }
.tr-media a { position: relative; display: block; border-radius: 10px; overflow: hidden; background: var(--cream2); cursor: zoom-in; }
.tr-media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s ease; }
.tr-media a:hover img, .tr-media a:focus-visible img { transform: scale(1.04); }
.tr-media-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tr-media-more { position: absolute; inset: 0; display: grid; place-content: center; background: rgba(var(--navy-rgb), .6); color: var(--white); font-weight: 600; font-size: 18px; }
.tr-media--big { gap: 12px; }
.tr-media--big .tr-media-main { border-radius: var(--radius); box-shadow: 0 10px 30px rgba(var(--navy-rgb), .12); }
.tr-media--big .tr-media-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tr-title-link { color: inherit; text-decoration: none; }
.tr-title-link:hover, .tr-title-link:focus-visible { color: var(--gold-dark); }
.tr-card .tr-desc { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tr-more { margin-top: 6px; }
.tr-detail { display: grid; gap: clamp(24px, 4vw, 48px); }
.tr-detail.has-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; }
.tr-detail-info .tr-foot { margin-top: 0; }
.tr-desc--full { margin-top: 18px; font-size: 17px; line-height: 1.7; }
.tr-detail-info .cal-add, .tr-detail-info .tr-actions { margin-top: 18px; }
.tr-back { margin-top: 28px; }
@media (max-width: 960px) {
  .tr-detail.has-media { grid-template-columns: minmax(0, 1fr); }
  .tr-detail.has-media .tr-media { order: -1; }
}
@media (max-width: 760px) {
  .tr-card.has-media { grid-template-columns: auto minmax(0, 1fr); }
  .tr-card.has-media .tr-media { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .tr-card.has-media { grid-template-columns: minmax(0, 1fr); }
  .tr-media--big .tr-media-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Eğitim formu: dil blokları ve mevcut fotoğraflar */
.lang-block { margin: 0 0 18px; padding: 16px 18px 4px; border: 1px solid var(--line); border-radius: 12px; }
.lang-block legend { padding: 0 8px; font-weight: 600; color: var(--navy); }
.lang-block legend small { font-weight: 400; color: var(--ink-2); }
.tr-img-edit { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 12px; margin: 6px 0 12px; }
.tr-img-edit a { display: block; cursor: zoom-in; }
.tr-img-edit img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; margin-bottom: 4px; }

/* Görsel penceresi */
.lb-open { overflow: hidden; }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--white); }
.lightbox::backdrop { background: rgba(10, 16, 30, .97); }
.lightbox figure { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; margin: 0; padding: 64px clamp(16px, 7vw, 96px) 40px; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox figcaption { max-width: 70ch; text-align: center; font-size: 15px; color: rgba(255, 255, 255, .85); }
.lb-btn { position: absolute; display: grid; place-content: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--white); cursor: pointer; transition: background .2s ease; }
.lb-btn:hover, .lb-btn:focus-visible { background: rgba(255, 255, 255, .26); }
.lb-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 26px; left: 22px; font-size: 14px; letter-spacing: .08em; color: rgba(255, 255, 255, .75); }
@media (max-width: 560px) {
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lightbox figure { padding: 60px 12px 80px; }
}

/* Ülke kartları: satır başına 4 kart, son satır ortalanır (yedi ve daha fazla ülkeye uyar). Telefonda kaydırmalı dizi aynı kalır */
.dest-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.dest-grid > li { flex: 0 0 calc((100% - 3 * 20px) / 4); min-width: 0; }
@media (max-width: 960px) { .dest-grid > li { flex-basis: calc((100% - 2 * 20px) / 3); } }
@media (max-width: 640px) {
  .dest-grid { display: grid; }
  .dest-grid > li { flex: none; }
}
.mt-state { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--cream2); font-size: 12px; font-weight: 500; color: var(--ink-2); }
.mt-state--wait { background: var(--info-bg); }
