/* =====================================================
   IVAIGO — v2 inner pages
   Shared hero + transparent header for body.hero-page.
   Loads AFTER style.css; reuses palette + EU-stars yellow.
   ===================================================== */

/* ---------- shared primitives ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}
.label::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pop);
}
.btn-pop {
  background: var(--pop);
  color: var(--pop-ink);
  box-shadow: 0 14px 34px -14px rgba(255, 204, 0, 0.6);
}
.btn-pop:hover { background: var(--pop-dark); transform: translateY(-2px); }
.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }

/* ---------- transparent header over the hero ---------- */
.hero-page { --header-h: 76px; }
.hero-page .site-header {
  position: fixed;
  left: 0; right: 0;
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.hero-page.scrolled .site-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.hero-page .site-header .nav-cta { background: var(--pop); color: var(--pop-ink) !important; }
.hero-page .site-header .nav-cta:hover { background: var(--pop-dark); }
/* Hero üstünde koyu zemin logosu, başlık beyaza dönünce renkli logo. */
.hero-page:not(.scrolled):not(.nav-open) .site-header .logo-solid { display: none; }
.hero-page:not(.scrolled):not(.nav-open) .site-header .logo-hero { display: block; }
.hero-page:not(.scrolled):not(.nav-open) .nav-toggle span { background: #fff; }

@media (min-width: 921px) {
  .hero-page:not(.scrolled) .main-nav > a,
  .hero-page:not(.scrolled) .main-nav .nav-item > a,
  .hero-page:not(.scrolled) .main-nav a.active { color: #fff; }
  .hero-page:not(.scrolled) .main-nav > a:hover,
  .hero-page:not(.scrolled) .main-nav .nav-item > a:hover { color: var(--pop); }
}

/* footer logo white on the dark footer */
.hero-page .footer-brand .logo img {
  background: none;
  padding: 0;
  filter: brightness(0) invert(1);
}

/* ---------- reusable page hero (image bg) ---------- */
.phero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.phero.full { min-height: 100svh; align-items: flex-end; }
.phero-bg { position: absolute; inset: 0; z-index: 0; }
.phero-bg img { width: 100%; height: 100%; object-fit: cover; }
/* Ayakta duran grup fotoğrafları: kafalar üstte, sabit header'ın altında kalmasın
   diye kırpma alttan yapılıyor. */
.phero-bg img.is-top { object-position: center top; }
.phero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(14, 42, 71, 0.55) 0%, rgba(14, 42, 71, 0.3) 40%, rgba(11, 35, 60, 0.85) 100%),
    linear-gradient(95deg, rgba(11, 35, 60, 0.7) 0%, rgba(11, 35, 60, 0.1) 65%);
}
.phero-inner {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: 3.5rem;
  max-width: 60rem;
}
.phero .label { color: #fff; }
.phero .label::before { background: var(--pop); }
.phero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 1.2rem;
}
.phero h1 em { font-style: normal; color: var(--pop); }
.phero-lead {
  font-size: clamp(1.02rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 40rem;
}

/* ---------- project-detail hero extras ---------- */
.phero .breadcrumb { margin-bottom: 1.6rem; color: rgba(255, 255, 255, 0.8); }
.phero .breadcrumb a { color: rgba(255, 255, 255, 0.8); }
.phero .breadcrumb a:hover { color: #fff; }
.phero .breadcrumb span { color: #fff; }
.phero .article-tags { margin-bottom: 1.2rem; }
.phero .tag {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  backdrop-filter: blur(6px);
}
.phero .tag-accent { background: var(--pop); border-color: var(--pop); color: var(--pop-ink); }
.phero .article-meta {
  margin-top: 1.6rem;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  color: rgba(255, 255, 255, 0.85);
}
.phero .article-meta i { color: var(--pop); }

/* scroll cue (shared with home look) */
.phero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}
.phero-scroll i { animation: bob 1.8s ease-in-out infinite; }

/* article sits right under a dark hero — trim its top padding */
.hero-page .article { padding-top: 3.5rem; }

/* ===== Başvuru formu (açık çağrı detayı) ===== */
.apply-form { margin-top: 1.5rem; }
.apply-form .optional { font-weight: 400; color: #7b8ea1; }
.apply-form input[type="file"] {
  width: 100%;
  font: inherit;
  font-size: 0.92rem;
  padding: 0.6rem 0;
  color: var(--body);
}
.field-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #7b8ea1;
}
.field-hint-top { margin: -0.15rem 0 0.5rem; line-height: 1.5; }

/* Bölüm başlıkları: Google Forms'taki "Section I, II..." karşılığı */
.apply-form .apply-section {
  font-size: 1.05rem;
  color: var(--brand-dark);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1.5px solid var(--line);
}
.apply-form .apply-section:first-of-type { margin-top: 0.5rem; }

/* Tek seçimli sorular ve onay kutuları */
.choice-group { border: 0; padding: 0; min-width: 0; }
.choice-group legend {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
  padding: 0;
}
.choice-group legend + .field-hint { margin: -0.2rem 0 0.6rem; line-height: 1.5; }
.choice-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.apply-form .choice {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
}
.choice-options .choice {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem 0.9rem;
  margin: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.choice-options .choice:has(input:checked) {
  border-color: var(--brand);
  background: var(--accent-soft);
}
.apply-form .choice input {
  width: auto;
  flex: none;
  margin: 0.2rem 0 0;
  padding: 0;
  accent-color: var(--brand);
}
.apply-form .form-field > .choice + .choice { margin-top: 0.7rem; }

/* ===== Proje detayı: yan sütun (logo + partnerler) =====
   .has-aside iki sütuna açılır; yan sütun yoksa sınıf hiç eklenmez ve
   yazı alanı style.css'teki 780px genişliğinde kalır. */
.article-container.has-aside {
  max-width: 1100px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 3rem;
  align-items: start;
}

.project-aside {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: grid;
  gap: 1.2rem;
}
.aside-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.aside-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}

/* Proje logosu: tek ve geniş */
.project-logo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.4rem;
  display: grid;
  place-items: center;
  min-height: 120px;
}
.project-logo img {
  max-width: 100%;
  max-height: 110px;
  width: auto;
  object-fit: contain;
}

/* Partner logoları: ikişerli, daha küçük */
.partner-logos {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.partner-logos li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 68px;
  display: grid;
  place-items: center;
  padding: 0.7rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.partner-logos li:hover { border-color: var(--brand); transform: translateY(-2px); }
.partner-logos a { display: grid; place-items: center; width: 100%; height: 100%; }
.partner-logos img {
  max-width: 100%;
  max-height: 44px;
  width: auto;
  object-fit: contain;
}
.partner-logos .partner-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  line-height: 1.25;
}

@media (max-width: 960px) {
  .article-container.has-aside { grid-template-columns: 1fr; gap: 2.5rem; }
  .project-aside { position: static; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .project-aside { grid-template-columns: 1fr; }
}

/* =========================================================
   PIF sayfası
   ========================================================= */

/* İçeriği az olan sayfalarda hero'yu kısalt */
.phero-compact { min-height: 46vh; }

.pif { padding: 4.5rem 0 6rem; background: var(--bg); }

.pif-numbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  max-width: 640px;
  margin-bottom: 4rem;
}
.pif-number {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  padding: 1.6rem 1.8rem;
}
.pif-number span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.5rem;
}
.pif-number strong {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--ink);
  letter-spacing: 0.01em;
  word-break: break-all;
}

.pif-docs h2 { font-size: 1.5rem; margin-bottom: 1.4rem; }

/* Belgeler yan yana buton olarak */
.pif-doc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.pif-doc {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 190px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 1.1rem 1.4rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.pif-doc:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.pif-doc > i {
  font-size: 1.35rem;
  color: var(--brand);
  margin-bottom: 0.3rem;
}
.pif-doc-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.pif-doc-meta {
  font-size: 0.78rem;
  color: #7b8ea1;
  letter-spacing: 0.02em;
}

@media (max-width: 560px) {
  .pif-numbers { grid-template-columns: 1fr; }
  .pif-doc { flex: 1 1 100%; }
}

/* =========================================================
   About: Working with Educational Institutions
   Açık gri .audience ile koyu .approach arasında beyaz zemin,
   böylece bölümler arası ritim korunuyor.
   ========================================================= */
.institutions { background: var(--bg); padding: 6rem 0; }

.inst-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
  margin-bottom: 2.5rem;
}
.inst-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  padding: 2.2rem 2rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.inst-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }

.inst-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 1.3rem;
}
.inst-card h3 { font-size: 1.35rem; margin-bottom: 0.9rem; }
.inst-card > p { font-size: 0.98rem; margin-bottom: 1.4rem; }

/* okul / belediye ortakları: çip listesi */
.inst-partners { margin-top: auto; }
.inst-partners h4 {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.8rem;
}
.inst-partners ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.inst-partners li {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
}

/* yükseköğretim iş birliği kalemleri */
.inst-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin-top: auto;
}
.inst-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.93rem;
  color: var(--body);
  line-height: 1.55;
}
.inst-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pop);
}
.inst-list strong { color: var(--ink); font-weight: 600; }

/* kapanış bandı */
.inst-close {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--pop);
  border-radius: var(--radius);
  background: var(--bg-soft);
  padding: 2rem 2.2rem;
}
.inst-close > i {
  flex-shrink: 0;
  font-size: 1.6rem;
  color: var(--brand);
  margin-top: 0.2rem;
}
.inst-close h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.inst-close p { font-size: 0.98rem; margin: 0; }

@media (max-width: 900px) {
  .inst-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .institutions { padding: 4.5rem 0; }
  .inst-card { padding: 1.8rem 1.5rem; }
  .inst-close { flex-direction: column; gap: 1rem; padding: 1.6rem 1.5rem; }
}

/* =========================================================
   FAQ akordiyonu
   <details>/<summary> üzerine kurulu, JavaScript gerekmiyor.
   ========================================================= */
.faq { padding: 4.5rem 0 6rem; background: var(--bg); }
.faq-container { max-width: 820px; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  margin-bottom: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item[open] {
  border-color: var(--brand);
  background: #fff;
  box-shadow: var(--shadow);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 1.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
/* varsayılan üçgen işaretini kaldır */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }

.faq-item summary:hover { color: var(--brand); }
.faq-item summary:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: var(--radius); }

.faq-item summary > i {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--brand);
  transition: transform 0.25s ease;
}
.faq-item[open] summary > i { transform: rotate(180deg); }

.faq-answer {
  padding: 0 1.6rem 1.4rem;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
  margin-top: -0.2rem;
}
.faq-answer p {
  font-size: 0.98rem;
  color: var(--body);
  white-space: pre-line;
}

.faq-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 2rem 2.2rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--pop);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.faq-cta h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.faq-cta p { font-size: 0.95rem; margin: 0; }

@media (max-width: 560px) {
  .faq-item summary { padding: 1.1rem 1.2rem; font-size: 1rem; }
  .faq-answer { padding-inline: 1.2rem; }
  .faq-cta { flex-direction: column; align-items: flex-start; padding: 1.6rem 1.5rem; }
}

/* =========================================================
   Proje detayı: projeden çıkan kaynaklar
   ========================================================= */
.project-results {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin: 1.4rem 0 1.6rem;
}
.project-results li {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
  padding: 1rem 1.2rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.project-results li:hover { border-color: var(--brand); transform: translateY(-2px); }

.result-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--brand);
  font-size: 1.05rem;
}
.result-text { flex: 1; min-width: 0; }
.result-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.3;
}
.result-meta {
  font-size: 0.8rem;
  color: #7b8ea1;
  letter-spacing: 0.01em;
}
.result-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
}
.result-link:hover { color: var(--brand-dark); }
.result-link.is-muted { color: #9bacbd; font-weight: 500; }

@media (max-width: 560px) {
  .project-results li { flex-wrap: wrap; gap: 0.7rem; }
  .result-link { margin-left: 3.4rem; }
}

/* Proje yan sütunu: web sitesi ve sosyal medya */
.project-site {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
  word-break: break-all;
}
.project-site:hover { color: var(--brand-dark); }
.project-site i { flex-shrink: 0; }

.project-social {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.project-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.project-social a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

/* =========================================================
   Proje ve haber galerisi, ışık kutusu
   ========================================================= */
.gallery-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin: 1.4rem 0 2rem;
}
.gallery-grid button {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.gallery-grid button:hover { border-color: var(--brand); transform: translateY(-2px); }
.gallery-grid button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

body.lightbox-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3.5rem 1rem;
  background: rgba(11, 20, 32, 0.94);
}
.lightbox[hidden] { display: none; }

.lightbox-figure {
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
}
.lightbox-figure figcaption {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible { outline: 2px solid var(--pop); outline-offset: 2px; }

.lightbox-close { position: absolute; top: 1rem; right: 1rem; }

@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .lightbox { padding: 3.5rem 0.5rem; gap: 0.4rem; }
  .lightbox-close, .lightbox-nav { width: 38px; height: 38px; }
}

/* ===== Activities / Training: kartlardan önceki giriş metni (panelden) ===== */
.programs-intro {
  max-width: 820px;
  margin-bottom: 3.5rem;
}
.programs-intro > :first-child { margin-top: 0; }
.programs-intro h1 {
  font-size: 1.6rem;
  margin: 0 0 1rem;
}
/* Trix'te ara başlık yok; "2026 tarihleri:" gibi satırlar kalın paragraf olarak geliyor. */
.programs-intro p:has(> strong:only-child) { margin: 1.8rem 0 0.7rem; color: var(--ink); }
/* Tarih listeleri uzun olabiliyor; sütunlara bölünüyor ki sayfa uzamasın. */
.programs-intro ul {
  columns: 3 180px;
  column-gap: 2rem;
}
.programs-intro ul li { break-inside: avoid; }

/* ===== Activities alt başlıkları (Language Courses, Kids Camps, Workshops) ===== */
.program-section + .program-section {
  margin-top: 4rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--line);
}
.program-section .section-head { margin-bottom: 2rem; }
.program-section h2 a { color: inherit; text-decoration: none; }
.program-section h2 a:hover { color: var(--brand); }
.program-section-sub {
  max-width: 640px;
  margin-top: 0.5rem;
  color: var(--body);
}
.program-section-empty {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  color: var(--body);
}
.program-section-empty a { color: var(--brand); font-weight: 600; }
.program-section-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 3rem;
}
.program-section-links span { font-weight: 600; color: var(--ink); margin-right: 0.3rem; }

/* Alt başlık sayfası: takvimden gelen yaklaşan tarihler */
.section-dates { padding: 1rem 0 2rem; }
.section-dates .section-head { margin-bottom: 1.6rem; }
.section-dates-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
.section-dates-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.section-dates-list a:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.section-date-day {
  flex: none;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 12px;
  background: var(--pop);
  color: var(--pop-ink);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.1;
}
.section-date-day strong { display: block; font-size: 1.35rem; }
.section-date-text { display: grid; gap: 0.2rem; min-width: 0; }
.section-date-text > span { font-size: 0.85rem; color: var(--body); }

/* =========================================================
   Activities / Training detayı: içerik düzeni + yan sütun
   Sınıflar App\Support\ArticleLayout'tan geliyor (body-card, body-groups...).
   ========================================================= */
.program-body h2 {
  position: relative;
  font-size: 1.4rem;
  margin: 2.8rem 0 1.1rem;
  padding-left: 0.9rem;
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.program-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 4px;
  border-radius: 4px;
  background: var(--pop);
}
.program-body > h2:first-child { margin-top: 0; }
.program-body h3 { font-size: 1.12rem; margin: 1.8rem 0 0.7rem; color: var(--ink); }

/* Gün kartları ("Day 1 – ..."); başka H3'ler de kart olur ama rozetsiz. */
.body-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.4rem 1.5rem 1.2rem;
  margin: 0 0 1.2rem;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.body-card:hover { border-color: var(--accent-soft); box-shadow: var(--shadow); }
.body-card > h3:first-child { margin: 0 0 1rem; }
.body-card > :last-child { margin-bottom: 0; }

.body-card.has-step > h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.8rem;
}
.body-card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
}
.body-card-title { flex: 1 1 260px; font-size: 1.1rem; line-height: 1.35; }
.body-card-meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--body);
  white-space: nowrap;
}
.body-card-meta::before {
  content: "\f017";
  font-family: "Font Awesome 6 Free";
  font-weight: 400;
  margin-right: 0.35rem;
}

/* "Topics / Workshops / Tools Used" gibi gruplar yan yana sütunlar */
.article-body ul.body-groups {
  list-style: none;
  margin: 0 0 1.3rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.9rem;
}
.article-body ul.body-groups > li.body-group {
  margin: 0;
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 0.9rem 1rem 0.7rem;
}
.article-body ul.body-groups > li.body-group::marker { content: none; }
.body-group-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.5rem;
}
.body-group > ul {
  margin: 0 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.body-group > ul li { margin-bottom: 0.4rem; }

/* Yan sütun */
.program-aside .glance-card { background: #fff; box-shadow: var(--shadow); }
.glance-highlight {
  display: grid;
  gap: 0.15rem;
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.glance-highlight span:first-child { font-size: 1.6rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.glance-highlight span + span { font-size: 0.92rem; font-weight: 600; color: var(--body); }
.glance-facts { display: grid; gap: 0.85rem; margin: 0 0 1.2rem; }
.glance-facts dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.15rem;
}
.glance-facts dt i { width: 1rem; margin-right: 0.25rem; }
.glance-facts dd { margin: 0; font-size: 0.9rem; color: var(--ink); line-height: 1.45; }
.glance-actions { display: grid; gap: 0.6rem; }
.glance-actions .btn { justify-content: center; text-align: center; }

.toc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.toc-list a {
  display: block;
  font-size: 0.9rem;
  color: var(--body);
  padding: 0.4rem 0.7rem;
  border-left: 2px solid var(--line);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.toc-list a:hover { color: var(--ink); border-left-color: var(--accent); }
.toc-list a.is-current {
  color: var(--ink);
  font-weight: 600;
  border-left-color: var(--pop);
  background: #fff;
}

@media (max-width: 960px) {
  /* Dar ekranda içindekiler listesi gereksiz uzunluk; bilgi kartı kalıyor. */
  .program-aside .toc-card { display: none; }
  .program-aside { order: -1; }
}
@media (max-width: 600px) {
  .body-card { padding: 1.1rem 1.1rem 1rem; }
  .article-body ul.body-groups { grid-template-columns: 1fr; }
}
.article-body ul.body-groups > li.body-group-note {
  grid-column: 1 / -1;
  list-style: none;
  margin: 0;
  font-size: 0.95rem;
}
.body-group-note strong { color: var(--ink); margin-right: 0.2rem; }

/* Zorunlu soru işareti (Google Forms'taki gibi kırmızı yıldız) */
.apply-form .req {
  color: #d93025;
  font-weight: 700;
  margin-left: 0.15rem;
}
.form-required-note {
  font-size: 0.85rem;
  color: #d93025;
  margin: 0 0 0.5rem;
}
.form-required-note .req { margin: 0 0.15rem 0 0; }

/* =========================================================
   Haber arşivi (/news)
   ========================================================= */
.news-archive { padding-top: 4rem; }
.news-card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}
.news-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 3rem;
}
.news-pager .is-disabled { opacity: 0.4; pointer-events: none; }
.news-pager-count { font-size: 0.9rem; color: var(--body); }
