/* ==========================================================================
   Boğaziçi Üniversitesi Araştırma Portalı — ziyaretçi teması
   ========================================================================== */

:root {
  --navy-950: #061a33;
  --navy-900: #0a2a52;
  --navy-800: #0f3a6e;
  --blue-700: #14529c;
  --blue-600: #1a64bd;
  --blue-500: #2c7be5;
  --sky-400: #4fb3f6;
  --sky-100: #e3f2fd;
  --gold-500: #e0a526;
  --ink-900: #0f1b2d;
  --ink-700: #33425a;
  --ink-500: #5d6b82;
  --ink-300: #a9b4c4;
  --line: #e3e8ef;
  --surface: #ffffff;
  --surface-2: #f5f7fb;
  --surface-3: #eef2f8;
  --success: #12805c;
  --success-bg: #e3f6ee;
  --warn-bg: #fff4dc;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06), 0 1px 3px rgba(15, 27, 45, .05);
  --shadow: 0 6px 24px -8px rgba(10, 42, 82, .18), 0 2px 6px rgba(10, 42, 82, .06);
  --shadow-lg: 0 24px 60px -20px rgba(6, 26, 51, .35);
  --container: 1240px;
  --header-h: 76px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink-900);
  background: var(--surface); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--ink-900); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sky-400); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--sky-100); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.icon-xs { width: .95em; height: .95em; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.muted { color: var(--ink-500); }
.nowrap { white-space: nowrap; }
.text-accent { background: linear-gradient(90deg, var(--sky-400), #9be0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: .5rem; }
.eyebrow-light { color: var(--sky-400); }

/* -------------------------------------------------------------- butonlar --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: 0 20px;
  font: 600 .95rem/1 var(--font); border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 6px 18px -8px rgba(26, 100, 189, .7); }
.btn-primary:hover { background: var(--blue-700); color: #fff; }
.btn-accent { background: var(--gold-500); color: var(--navy-950); }
.btn-accent:hover { background: #f0b43a; color: var(--navy-950); }
.btn-ghost { background: var(--surface); color: var(--ink-900); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue-500); color: var(--blue-600); }
.btn-block { width: 100%; margin-top: 12px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent;
  color: var(--ink-900); cursor: pointer; transition: background .2s;
}
.icon-btn:hover { background: var(--surface-3); }
.icon-btn .icon { width: 22px; height: 22px; }
.icon-btn-outline { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; }
.link-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; white-space: nowrap; }
.link-more .icon { transition: transform .2s var(--ease); }
.link-more:hover .icon, a:hover > .link-more .icon { transform: translateX(3px); }

/* ---------------------------------------------------------------- topbar --- */
.topbar { background: var(--navy-950); color: rgba(255, 255, 255, .78); font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { color: inherit; }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 22px; }
@media (max-width: 720px) { .topbar-links { display: none; } }

/* ---------------------------------------------------------------- header --- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink-900); flex: none; }
.brand:hover { color: var(--ink-900); }
.brand img { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text small { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); font-weight: 600; }
.brand-text strong { font-family: var(--font-display); font-size: 1.32rem; letter-spacing: -.02em; color: var(--navy-900); }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light .brand-text small { color: rgba(255, 255, 255, .65); }
.logo-badge { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .5); flex: none; }
.logo-badge img { width: 52px; height: 52px; }
.brand-light .brand-text strong { color: #fff; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: block; padding: 10px 12px; font-weight: 600; font-size: .93rem; color: var(--ink-700); border-radius: 10px; white-space: nowrap; transition: color .2s, background .2s; }
.nav-item:hover > .nav-link, .nav-item.is-open > .nav-link { color: var(--blue-600); background: var(--surface-2); }
.nav-item.is-active > .nav-link { color: var(--blue-600); }
.nav-item.is-active > .nav-link::after { content: ""; display: block; height: 2px; margin-top: 4px; border-radius: 2px; background: var(--blue-600); }
.sub-toggle { display: none; }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; width: max-content; min-width: 300px; max-width: min(640px, 92vw);
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.mega::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-item:hover > .mega, .nav-item:focus-within > .mega, .nav-item.is-open > .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega-inner { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px; }
.mega-head { display: flex; flex-direction: column; padding: 4px 8px 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.mega-head .eyebrow { margin: 0; font-size: .7rem; }
.mega-title { font-weight: 700; color: var(--ink-900); display: inline-flex; align-items: center; gap: 6px; }
.mega-list { list-style: none; margin: 0; padding: 0; columns: 2 240px; column-gap: 12px; }
.mega-list > li { break-inside: avoid; padding: 2px 0; }
.mega-list a { display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 8px; color: var(--ink-900); font-size: .92rem; font-weight: 500; }
.mega-list a:hover { background: var(--surface-2); color: var(--blue-600); }
.mega-list ul { list-style: none; margin: 0 0 6px 8px; padding: 0 0 0 10px; border-left: 2px solid var(--line); }
.mega-list ul a { font-size: .85rem; color: var(--ink-500); padding: 4px 8px; }
.header-actions { display: flex; gap: 4px; margin-left: auto; }
.nav-toggle { display: none; }

.search-panel { border-top: 1px solid var(--line); background: var(--surface); padding: 16px 0; animation: drop .2s var(--ease); }
.search-form { display: flex; align-items: center; gap: 12px; }
.search-form > .icon { color: var(--ink-500); width: 22px; height: 22px; }
.search-form input { flex: 1; border: 0; font: 500 1.15rem var(--font); padding: 10px 0; background: transparent; color: var(--ink-900); }
.search-form input:focus { outline: none; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-grid; }
  .main-nav {
    position: fixed; inset: calc(var(--header-h) + 38px) 0 0 0; background: var(--surface); display: block; overflow-y: auto;
    padding: 12px 16px 40px; transform: translateX(100%); transition: transform .28s var(--ease); z-index: 60;
  }
  .site-header.is-stuck .main-nav { inset-block-start: var(--header-h); }
  .main-nav.is-open { transform: none; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-link { flex: 1; padding: 14px 4px; font-size: 1rem; }
  .nav-item.is-active > .nav-link::after { display: none; }
  .sub-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink-700); cursor: pointer; border-radius: 10px; }
  .sub-toggle .icon { transition: transform .2s; }
  .nav-item.is-open .sub-toggle .icon { transform: rotate(180deg); }
  .mega { position: static; transform: none !important; opacity: 1; visibility: visible; pointer-events: auto; width: 100%; max-width: none; display: none; }
  .mega::before { display: none; }
  .nav-item.is-open > .mega { display: block; }
  .nav-item:hover > .mega, .nav-item:focus-within > .mega { display: none; }
  .nav-item.is-open:hover > .mega, .nav-item.is-open:focus-within > .mega { display: block; }
  .mega-inner { box-shadow: none; border: 0; padding: 0 0 12px; background: transparent; }
  .mega-head { display: none; }
  .mega-list { columns: 1; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 520px) { .brand-text strong { font-size: 1.12rem; } .brand img { width: 38px; height: 38px; } }

/* ------------------------------------------------------------- ana sayfa --- */
.home-hero { position: relative; overflow: hidden; color: #fff; background: var(--navy-900); }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: hero-zoom 24s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(6, 26, 51, .94) 0%, rgba(6, 26, 51, .82) 38%, rgba(10, 42, 82, .45) 72%, rgba(10, 42, 82, .25) 100%),
    linear-gradient(0deg, rgba(6, 26, 51, .55) 0%, transparent 40%);
}
@media (max-width: 960px) { .hero-bg { background: linear-gradient(180deg, rgba(6, 26, 51, .78), rgba(6, 26, 51, .92)); } }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero-copy h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 750; letter-spacing: -.03em; margin-bottom: 20px; }
.hero-copy .lead { color: rgba(255, 255, 255, .8); font-size: 1.08rem; max-width: 60ch; }
.hero-search { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 20px; margin-top: 28px; box-shadow: var(--shadow-lg); max-width: 620px; }
.hero-search > .icon { color: var(--ink-500); width: 20px; height: 20px; }
.hero-search input { flex: 1; min-width: 0; border: 0; font: 500 1rem var(--font); color: var(--ink-900); background: transparent; padding: 10px 0; }
.hero-search input:focus { outline: none; }
.hero-search-light { border: 1px solid var(--line); box-shadow: var(--shadow); margin: 0 0 32px; max-width: none; }
.hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 18px; font-size: .88rem; color: rgba(255, 255, 255, .6); }
.hero-tags a { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); padding: 4px 12px; border-radius: 999px; transition: background .2s; }
.hero-tags a:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.hero-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hero-stats li:first-child { grid-column: 1 / -1; }
.hero-stats a {
  display: flex; flex-direction: column; gap: 2px; padding: 20px 22px; border-radius: var(--radius); color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(6px); transition: transform .25s var(--ease), background .25s, border-color .25s;
}
.hero-stats a:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); color: #fff; }
.hero-stats strong { font-family: var(--font-display); font-size: 2.1rem; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-stats li:first-child strong { font-size: 2.8rem; }
.hero-stats span:last-child { color: rgba(255, 255, 255, .72); font-size: .92rem; }
.stat-icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(79, 179, 246, .18); color: var(--sky-400); margin-bottom: 8px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 64px; } }
@media (max-width: 520px) { .hero-stats { grid-template-columns: 1fr 1fr; gap: 10px; } .hero-stats a { padding: 16px; } .hero-stats strong { font-size: 1.6rem; } .hero-search .btn { padding: 0 14px; } }

.section { padding: 80px 0; }
.section-tight { padding: 0; margin-top: -36px; position: relative; z-index: 2; }
.section-muted { background: var(--surface-2); }
.section-dark { background: var(--navy-950); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0; }
.section-actions { display: flex; align-items: center; gap: 20px; }
.carousel-controls { display: flex; gap: 8px; }
@media (max-width: 640px) { .section { padding: 56px 0; } .carousel-controls { display: none; } }

.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.quick-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px; min-height: 140px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink-900);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink-900); }
.quick-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sky-100); color: var(--blue-600); }
.quick-icon .icon { width: 22px; height: 22px; }
.quick-title { font-weight: 650; line-height: 1.3; padding-right: 22px; }
.quick-arrow { position: absolute; top: 22px; right: 20px; color: var(--ink-300); transition: color .2s, transform .2s var(--ease); }
.quick-card:hover .quick-arrow { color: var(--blue-600); transform: translateX(2px); }

.news-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, calc((100% - 3 * 20px) / 4)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; margin: 0 -4px; scrollbar-width: thin; }
.news-track > * { scroll-snap-align: start; }
@media (max-width: 1000px) { .news-track { grid-auto-columns: minmax(260px, 46%); } }
@media (max-width: 560px) { .news-track { grid-auto-columns: 82%; } }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.news-card > a { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; color: var(--ink-900); transition: transform .25s var(--ease), box-shadow .25s; }
.news-card > a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink-900); }
.news-media { aspect-ratio: 16 / 10; background: var(--surface-3); overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card > a:hover .news-media img { transform: scale(1.05); }
.media-placeholder { display: grid; place-items: center; height: 100%; color: var(--ink-300); }
.media-placeholder .icon { width: 40px; height: 40px; }
.news-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.news-body time { font-size: .8rem; color: var(--ink-500); font-weight: 600; }
.news-body h3, .news-body h2 { font-size: 1.05rem; line-height: 1.4; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-body p { color: var(--ink-500); font-size: .92rem; margin: 0; }
.news-more { margin-top: auto; padding-top: 6px; font-size: .88rem; font-weight: 600; color: var(--blue-600); display: inline-flex; align-items: center; gap: 6px; }

.output-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 18px; }
.output-card { display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); color: var(--ink-900); transition: transform .25s var(--ease), box-shadow .25s; }
.output-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink-900); }
.output-card h3 { font-size: 1.2rem; margin: 14px 0 4px; }
.output-card p { color: var(--ink-500); font-size: .95rem; flex: 1; }
.output-icon { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--sky-100); color: var(--blue-600); }
.output-projects { background: linear-gradient(150deg, var(--blue-600), var(--navy-800)); color: #fff; border: 0; }
.output-projects:hover { color: #fff; }
.output-projects h3 { color: #fff; font-size: 1.45rem; }
.output-projects p { color: rgba(255, 255, 255, .8); }
.output-projects .link-more { color: #fff; }
.output-projects .output-icon { background: rgba(255, 255, 255, .15); color: #fff; }
@media (max-width: 1000px) { .output-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .output-grid { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 48px; } }
.achievement-list { display: flex; flex-direction: column; gap: 12px; }
.achievement { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); color: var(--ink-900); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.achievement:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateX(3px); color: var(--ink-900); }
.achievement time { display: block; font-size: .8rem; color: var(--ink-500); }
.achievement strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .97rem; line-height: 1.4; }
.avatar { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; overflow: hidden; background: var(--sky-100); color: var(--blue-600); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 96px; height: 96px; border-radius: 22px; }

.event-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.event-list > li > a { display: flex; gap: 16px; align-items: flex-start; padding: 14px; border-radius: var(--radius); background: var(--surface-2); color: var(--ink-900); transition: background .2s; }
.event-list > li > a:hover { background: var(--surface-3); color: var(--ink-900); }
.event-list strong { display: block; line-height: 1.4; margin-top: 4px; }
.event-list .muted { display: block; font-size: .92rem; margin-top: 4px; }
.event-list .empty { color: var(--ink-500); padding: 14px; }
.event-list-lg > li > a { padding: 20px; background: var(--surface); border: 1px solid var(--line); }
.date-badge { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; height: 68px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: .7rem; font-weight: 600; color: var(--ink-500); text-transform: uppercase; line-height: 1.1; }
.date-badge b { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy-900); }
.pill { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--sky-100); color: var(--blue-700); letter-spacing: .02em; }
.pill-etkinlik { background: var(--warn-bg); color: #8a5a00; }
.mini-card { margin-top: 24px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); }
.mini-card h3 { font-size: 1rem; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.mini-card ul { list-style: none; margin: 0; padding: 0; }
.mini-card li { padding: 10px 0; border-top: 1px solid var(--line); font-size: .93rem; line-height: 1.4; }
.mini-card li small { display: block; color: var(--ink-500); margin-top: 2px; font-family: ui-monospace, Consolas, monospace; font-size: .78rem; }
.mini-card a { color: var(--ink-900); }
.mini-card a:hover { color: var(--blue-600); }

.unit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .unit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .unit-grid { grid-template-columns: 1fr; } }
.unit-card { padding: 26px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: background .25s, border-color .25s; }
.unit-card:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .2); }
.unit-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(79, 179, 246, .16); color: var(--sky-400); margin-bottom: 16px; }
.unit-card h3 { font-size: 1.12rem; }
.unit-card h3 a { color: #fff; }
.unit-card h3 a:hover { color: var(--sky-400); }
.unit-card ul { list-style: none; margin: 12px 0 0; padding: 0; }
.unit-card li a { display: block; padding: 6px 0; color: rgba(255, 255, 255, .68); font-size: .92rem; border-top: 1px solid rgba(255, 255, 255, .07); }
.unit-card li a:hover { color: #fff; }

.journals { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .journals { grid-template-columns: 1fr; } }
.journal-links { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.journal { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); color: var(--ink-900); font-weight: 600; transition: box-shadow .25s, transform .25s var(--ease); }
.journal:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink-900); }
.journal > span:nth-child(2) { flex: 1; }
.journal-spine { width: 10px; height: 46px; border-radius: 4px; background: linear-gradient(180deg, var(--blue-600), var(--navy-900)); flex: none; }
.journal:nth-child(2) .journal-spine { background: linear-gradient(180deg, var(--gold-500), #b87b00); }
.video-frame { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-950); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }

/* ----------------------------------------------------------- alt sayfalar --- */
.page-hero {
  position: relative; overflow: hidden; color: #fff; padding: 44px 0 52px;
  background-color: var(--navy-950);
  background-image: linear-gradient(100deg, rgba(6, 26, 51, .96) 0%, rgba(6, 26, 51, .88) 50%, rgba(15, 58, 110, .72) 100%), url("../../img/hero-campus-1600.jpg");
  background-image: linear-gradient(100deg, rgba(6, 26, 51, .96) 0%, rgba(6, 26, 51, .88) 50%, rgba(15, 58, 110, .72) 100%), image-set(url("../../img/hero-campus-1600.webp") type("image/webp"), url("../../img/hero-campus-1600.jpg") type("image/jpeg"));
  background-size: cover; background-position: center 45%;
}
.page-hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 179, 246, .3), transparent 65%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 30ch; margin: 0; overflow-wrap: anywhere; }
.page-hero .lead { color: rgba(255, 255, 255, .78); max-width: 70ch; margin: 14px 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0 0 22px; padding: 0; font-size: .85rem; }
.breadcrumb li { display: flex; align-items: center; color: rgba(255, 255, 255, .6); }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; color: rgba(255, 255, 255, .35); }
.breadcrumb a { color: rgba(255, 255, 255, .8); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #fff; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.page-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; padding-top: 48px; padding-bottom: 80px; }
.page-layout.no-side { grid-template-columns: minmax(0, 1fr); max-width: 920px; }
@media (max-width: 900px) { .page-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; } }
.side-nav { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; padding: 20px; border-radius: var(--radius); background: var(--surface-2); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
@media (max-width: 900px) { .side-nav { position: static; max-height: none; } }
.side-title { display: block; font-weight: 700; color: var(--navy-900); padding: 0 8px 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav ul ul { margin: 2px 0 6px 10px; padding-left: 8px; border-left: 2px solid var(--line); }
.side-nav a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--ink-700); font-size: .92rem; line-height: 1.35; }
.side-nav a:hover { background: var(--surface); color: var(--blue-600); }
.side-nav a.is-current { background: var(--surface); color: var(--blue-600); font-weight: 650; box-shadow: var(--shadow-sm); }
.updated { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-500); font-size: .85rem; }

.prose { font-size: 1.02rem; color: var(--ink-700); overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose h2, .prose h3, .prose h4 { color: var(--ink-900); margin: 1.6em 0 .6em; }
.prose h2 { font-size: 1.5rem; } .prose h3 { font-size: 1.22rem; } .prose h4 { font-size: 1.05rem; }
.prose a { text-decoration: underline; text-decoration-color: rgba(26, 100, 189, .35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: .3em 0; }
.prose img { border-radius: var(--radius-sm); }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--blue-500); color: var(--ink-900); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .94rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th, .prose thead td { background: var(--surface-2); color: var(--ink-900); font-weight: 650; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

.sections { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.accordion { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: box-shadow .2s; }
.accordion[open] { box-shadow: var(--shadow); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 650; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { transition: transform .25s var(--ease); color: var(--ink-500); }
.accordion[open] summary .icon { transform: rotate(180deg); color: var(--blue-600); }
.accordion summary:hover { color: var(--blue-600); }
.accordion-body { padding: 0 22px 20px; border-top: 1px solid var(--line); padding-top: 18px; }
.accordion.level-2 { margin-left: 24px; }
.accordion.level-3 { margin-left: 48px; }
.plain-section h2 { font-size: 1.35rem; margin-top: 12px; }

.empty-state { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--ink-500); padding: 56px 24px; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state .icon { width: 36px; height: 36px; color: var(--ink-300); }

/* ----------------------------------------------------------- listelemeler --- */
.listing { padding-top: 36px; padding-bottom: 80px; }
.listing.narrow { max-width: 960px; }
.filter-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; align-items: end; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); margin-top: -64px; position: relative; z-index: 2; }
.filter-bar-compact { grid-template-columns: minmax(0, 2fr) repeat(auto-fit, minmax(160px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-grow { grid-column: 1 / -1; }
.filter-bar-compact .field-grow { grid-column: auto; }
@media (max-width: 640px) { .filter-bar-compact { grid-template-columns: 1fr; } .filter-bar-compact .field-grow { grid-column: 1 / -1; } }
.field > span:first-child { font-size: .78rem; font-weight: 700; color: var(--ink-500); text-transform: uppercase; letter-spacing: .06em; }
.field input, .field select { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font: 500 .95rem var(--font); color: var(--ink-900); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235d6b82' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; text-overflow: ellipsis; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(44, 123, 229, .15); }
.input-icon { position: relative; display: block; }
.input-icon .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-500); pointer-events: none; }
.input-icon input { padding-left: 40px; }
.filter-actions { display: flex; gap: 8px; }
.result-count { margin: 24px 0 16px; color: var(--ink-500); font-size: .95rem; }
.result-count strong { color: var(--ink-900); }

.card-list { display: flex; flex-direction: column; gap: 12px; }
.list-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 260px); gap: 20px; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: box-shadow .2s, border-color .2s; }
.list-card:hover { box-shadow: var(--shadow); border-color: transparent; }
@media (max-width: 760px) { .list-card { grid-template-columns: 1fr; gap: 10px; } }
.list-card h2 { font-size: 1.06rem; line-height: 1.4; margin: 6px 0; }
.list-card h2 a { color: var(--ink-900); }
.list-card h2 a:hover { color: var(--blue-600); }
.list-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .82rem; color: var(--ink-500); }
.code { font-family: ui-monospace, Consolas, monospace; background: var(--surface-2); padding: 2px 8px; border-radius: 6px; color: var(--ink-700); }
.people { margin: 0; color: var(--ink-700); font-size: .92rem; }
.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .76rem; padding: 3px 10px; border-radius: 999px; background: var(--surface-3); color: var(--ink-700); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-ongoing { background: var(--success-bg); color: var(--success); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; justify-content: flex-end; }
@media (max-width: 760px) { .chips { justify-content: flex-start; } }
.chips-sm { justify-content: flex-start; margin-top: 8px; }
.chip { display: inline-block; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-700); border: 1px solid var(--line); line-height: 1.35; margin: 0 4px 4px 0; transition: background .2s, color .2s, border-color .2s; }
a.chip:hover { background: var(--sky-100); color: var(--blue-700); border-color: transparent; }
.chip-fund { background: var(--sky-100); color: var(--blue-700); border-color: transparent; }
.chip-type { background: var(--navy-900); color: #fff; border-color: transparent; }
.chip-soft { background: transparent; }

.pub-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pub { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.pub-year { font-family: var(--font-display); font-weight: 700; color: var(--blue-600); font-variant-numeric: tabular-nums; padding-top: 1px; }
.pub-title { color: var(--ink-900); line-height: 1.5; overflow-wrap: anywhere; }
.pub-title:hover { color: var(--blue-600); }

.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 20px; scrollbar-width: thin; }
.tabs a { flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-700); font-weight: 600; font-size: .9rem; background: var(--surface); }
.tabs a small { color: var(--ink-500); font-weight: 600; margin-left: 4px; }
.tabs a:hover { border-color: var(--blue-500); color: var(--blue-600); }
.tabs a.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.tabs a.is-active small { color: rgba(255, 255, 255, .7); }
.listing > .tabs:first-child { margin-top: -64px; position: relative; z-index: 2; background: var(--surface); padding: 12px; border-radius: var(--radius); box-shadow: var(--shadow); }
.listing > .tabs:first-child + .filter-bar { margin-top: 0; }

.award-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.award-card { display: flex; gap: 16px; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); color: var(--ink-900); background: var(--surface); transition: box-shadow .2s, transform .2s var(--ease); }
.award-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink-900); }
.award-photo { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #fff1cf, #ffe39b); color: #a26b00; }
.award-photo img { width: 100%; height: 100%; object-fit: cover; }
.award-photo-lg { width: 112px; height: 112px; }
.award-photo-lg .icon { width: 40px; height: 40px; }
.award-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.award-meta { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-600); }
.award-body strong { line-height: 1.35; }
.award-name { font-size: .9rem; color: var(--ink-700); }
.award-dept { font-size: .82rem; color: var(--ink-500); }
.award-hero { display: flex; gap: 24px; align-items: center; margin-bottom: 24px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.data-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.data-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-500); background: var(--surface-2); padding: 12px 16px; }
.data-table td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.data-table tbody tr:hover { background: var(--surface-2); }

.center-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
@media (max-width: 400px) { .center-grid { grid-template-columns: 1fr; } }
.center-card { display: flex; gap: 16px; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--ink-900); transition: box-shadow .2s, transform .2s var(--ease); }
.center-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink-900); }
.center-img { flex: none; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 14px; overflow: hidden; background: var(--sky-100); color: var(--blue-600); }
.center-img img { width: 100%; height: 100%; object-fit: cover; }
.center-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.center-body .eyebrow { font-size: .68rem; margin: 0; }
.center-body strong { line-height: 1.35; }
.center-body .muted { font-size: .86rem; }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding-top: 48px; padding-bottom: 80px; }
@media (max-width: 900px) { .detail-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; } }
.detail-title { font-size: 1.3rem; margin: 0 0 16px; }
.detail-main h3 { font-size: 1.05rem; margin-top: 28px; }
.detail-side { align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .detail-side { position: static; } }
.facts { margin: 0; padding: 6px 20px; border-radius: var(--radius); background: var(--surface-2); }
.facts > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-500); margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--ink-900); overflow-wrap: anywhere; }
.facts-wide { margin-bottom: 24px; }
.side-image { width: 100%; border-radius: var(--radius); margin-bottom: 14px; }
.citation { margin: 0; padding: 28px; border-radius: var(--radius); background: var(--surface-2); border-left: 4px solid var(--blue-600); font-size: 1.12rem; line-height: 1.6; color: var(--ink-900); overflow-wrap: anywhere; }
.lead-dark { font-size: 1.12rem; color: var(--ink-700); }
.lead-image { width: 100%; border-radius: var(--radius); margin-bottom: 24px; }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.file-list a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-900); font-weight: 600; }
.file-list a span { flex: 1; }
.file-list a:hover { border-color: var(--blue-500); color: var(--blue-600); }

.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.member { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); }
.member-initials { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy-900); color: #fff; font-weight: 700; font-size: 1.1rem; }
.member > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.member .eyebrow { margin: 0; font-size: .68rem; }
.member .muted { font-size: .86rem; }
.member-contact { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; font-size: .85rem; color: var(--ink-500); overflow-wrap: anywhere; }

.achievement-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.achievement-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); color: var(--ink-900); transition: box-shadow .2s, transform .2s var(--ease); }
.achievement-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink-900); }
.achievement-card time { font-size: .8rem; color: var(--ink-500); margin-top: 6px; }
.achievement-card strong { line-height: 1.35; }
.achievement-card .muted { font-size: .9rem; }
.achievement-detail .portrait { float: right; width: 180px; border-radius: var(--radius); margin: 0 0 16px 24px; }
@media (max-width: 560px) { .achievement-detail .portrait { float: none; margin: 0 0 16px; } }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 36px; }
.page-link { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-700); font-weight: 600; font-variant-numeric: tabular-nums; }
.page-link:hover { border-color: var(--blue-500); color: var(--blue-600); }
.page-link.is-current { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.page-gap { display: inline-grid; place-items: center; min-width: 24px; color: var(--ink-500); }

.result-group { margin-bottom: 32px; }
.result-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 2px solid var(--navy-900); padding-bottom: 8px; margin-bottom: 4px; }
.result-head h2 { font-size: 1.2rem; margin: 0; }
.result-head small { font-size: .85rem; color: var(--ink-500); font-weight: 600; margin-left: 6px; }
.result-list { list-style: none; margin: 0; padding: 0; }
.result-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.result-list a { color: var(--ink-900); }
.result-list a:hover { color: var(--blue-600); }
.result-list small { flex: none; color: var(--ink-500); }

.error-page { padding: 96px 0; text-align: center; }
.error-page .container { max-width: 680px; }
.error-code { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 14vw, 8rem); line-height: 1; letter-spacing: -.05em; background: linear-gradient(135deg, var(--blue-600), var(--sky-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page h1 { font-size: 1.8rem; margin-top: 12px; }
.error-page p { color: var(--ink-500); }
.error-page .hero-search { margin: 28px auto; }

/* ---------------------------------------------------------------- footer --- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .7); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand p { margin: 18px 0; max-width: 32ch; }
.footer-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { color: rgba(255, 255, 255, .7); }
.footer-links a:hover { color: #fff; }
.social { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .07); color: #fff; transition: background .2s; }
.social a:hover { background: var(--blue-600); color: #fff; }
.social .icon { width: 18px; height: 18px; }
.footer-official { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-official .container { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding-top: 20px; padding-bottom: 20px; }
.footer-official span { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .45); }
.footer-official a { color: rgba(255, 255, 255, .78); font-weight: 600; }
.footer-official a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.to-top { color: rgba(255, 255, 255, .7); display: inline-flex; align-items: center; gap: 6px; }
.to-top:hover { color: #fff; }

@media print {
  .topbar, .site-header, .site-footer, .filter-bar, .pagination, .side-nav { display: none !important; }
  .page-hero { background: none; color: #000; padding: 0; }
  .page-hero h1 { color: #000; }
}

/* ------------------------------------------------------- kampüs tanıtımı --- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } }
.about-photo { position: relative; margin: 0; }
.about-photo picture img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-photo::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--sky-100), #d6e8fb); z-index: -1; }
@media (max-width: 640px) { .about-photo::before { inset: 14px -10px -14px 10px; } }
.about-photo figcaption { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; background: rgba(255, 255, 255, .95); box-shadow: var(--shadow); font-size: .92rem; color: var(--ink-700); backdrop-filter: blur(6px); }
.about-photo figcaption strong { color: var(--navy-900); font-family: var(--font-display); font-size: 1.05rem; }
.about-copy h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.about-facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 30px; padding: 0; }
.about-facts li { display: flex; flex-direction: column; padding: 16px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
.about-facts strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--blue-600); font-variant-numeric: tabular-nums; line-height: 1.1; }
.about-facts span { font-size: .84rem; color: var(--ink-500); margin-top: 4px; line-height: 1.35; }
@media (max-width: 460px) { .about-facts { grid-template-columns: 1fr; } }

/* Sağ kenara yakın açılır menüler ekran dışına taşmasın */
html, body { overflow-x: clip; }
@media (min-width: 1101px) {
  .nav-item:nth-last-child(-n+3) > .mega { left: auto; right: 0; transform: translate(0, 8px); }
  .nav-item:nth-last-child(-n+3):hover > .mega,
  .nav-item:nth-last-child(-n+3):focus-within > .mega,
  .nav-item:nth-last-child(-n+3).is-open > .mega { transform: translate(0, 0); }
  .nav-item:nth-child(-n+2) > .mega { left: 0; transform: translate(0, 8px); }
  .nav-item:nth-child(-n+2):hover > .mega,
  .nav-item:nth-child(-n+2):focus-within > .mega,
  .nav-item:nth-child(-n+2).is-open > .mega { transform: translate(0, 0); }
}
