/* ===== Base ===== */
:root{
  --teal:#00A8B5;
  --teal-dark:#008c97;
  --navy:#0E2A47;
  --navy-brand:#1C4075;
  --ink:#0F2740;
  --muted:#6b7a8a;
  --bg:#F4F6F9;
  --card:#ffffff;
  --line:#e6ebf1;
  --container-max:1200px;
  --page-gutter:24px;
  --hero-slide-overflow:300px;
  --shadow-header-text:0 1px 2px rgba(0,0,0,.55),0 2px 10px rgba(0,0,0,.4),0 0 1px rgba(0,0,0,.5);
  --shadow-header-text-lg:0 1px 3px rgba(0,0,0,.6),0 3px 14px rgba(0,0,0,.45),0 0 1px rgba(0,0,0,.55);
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{font-family:"Poppins",serif,system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--bg);line-height:1.55;-webkit-font-smoothing:antialiased;overflow-x:clip}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none}
.container{max-width:var(--container-max);margin:0 auto;padding:0 var(--page-gutter)}

/* ===== Üst chrome: topbar + menü (sticky birlikte; mühür kırpılmaz) ===== */
.site-chrome{
  position:sticky;
  top:0;
  z-index:300;
  background:#fff;
  overflow:visible;
  max-width:100%;
}
.site-chrome-inner{
  max-width:var(--container-max);
  margin:0 auto;
  padding:0 var(--page-gutter);
  width:100%;
  box-sizing:border-box;
}
.fac-topbar{
  background:#fff;
  border-bottom:1px solid #d5dce5;
  position:relative;
  z-index:1;
}
.fac-topbar__inner{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
  min-height:40px;
  padding-top:6px;
  padding-bottom:6px;
}
.fac-topbar__links{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.fac-topbar__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:28px;
  min-height:28px;
  padding:0 14px;
  border-radius:4px;
  font-size:12px;
  font-weight:600;
  line-height:1.2;
  white-space:nowrap;
  border:0;
  margin:0;
  text-decoration:none;
}
.fac-topbar__btn--abu{
  background:#f4f6f9;
  color:var(--navy);
  border:1px solid #cfd8e3;
  min-width:72px;
  gap:6px;
}
.fac-topbar__abu-icon{
  width:16px;
  height:16px;
  flex-shrink:0;
  object-fit:contain;
  display:block;
}
.fac-topbar__btn--abu:hover{background:#eef2f6;color:var(--navy);border-color:#b8c3d0}
.fac-topbar__btn--ice{background:#00ABC8;color:#fff;min-width:100px}
.fac-topbar__btn--ice:hover{background:#0097b0;color:#fff}
.fac-topbar__btn--aday{background:#F58220;color:#fff;min-width:120px}
.fac-topbar__btn--aday:hover{background:#e07010;color:#fff}
.fac-topbar__btn--obs{background:var(--navy);color:#fff;min-width:120px}
.fac-topbar__btn--obs:hover{background:#0a2038;color:#fff}
.fac-topbar__lang{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--navy);margin:0;flex-shrink:0;letter-spacing:.02em}
.fac-topbar__lang-sep{color:#b8c3d0}
.fac-topbar__lang-link{color:var(--navy);font-weight:500;padding:2px 4px}
.fac-topbar__lang-link.is-active{font-weight:700;color:var(--navy-brand)}
.fac-topbar__lang-link:hover{color:var(--navy-brand)}

/* Mobil: yalnız butonlar hamburgerde; dil seçici üstte kalır */
@media (max-width:1024px){
  .fac-topbar__links{display:none}
  .fac-topbar__inner{
    justify-content:flex-end;
    min-height:34px;
    padding-top:4px;
    padding-bottom:4px;
  }
  .fac-topbar__lang{margin-left:0}
}

/* ===== Buttons ===== */
.btn{display:inline-flex;align-items:center;gap:8px;padding:12px 22px;border-radius:6px;font-weight:600;font-size:13px;letter-spacing:.4px;cursor:pointer;border:0;transition:background .2s ease,color .2s ease,border-color .2s ease}
.btn-primary{background:var(--teal);color:#fff}
.btn-primary:hover{background:var(--teal-dark)}
.btn-ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.6)}
.btn-ghost:hover{background:rgba(255,255,255,.12)}
.btn-ghost-light{background:#fff;color:var(--ink);border:1px solid var(--line)}

/* ===== Header — kompakt menü şeridi; sol mühür üst/alta taşar ===== */
.site-header--bar{
  position:relative;
  z-index:2;
  background:#fff;
  border-top:1px solid rgba(14,42,71,.08);
  border-bottom:1px solid #e6ebf1;
  overflow:visible;
}
.site-header--bar .header-inner{
  display:flex;
  align-items:center;
  gap:16px;
  min-height:56px;
  overflow:visible;
}
.logo{display:flex;align-items:center;gap:14px;text-decoration:none;flex:0 0 auto}
.logo img{height:52px;width:auto;object-fit:contain}
.logo--bar{
  position:relative;
  /* main-nav'dan düşük olmalı; aksi halde mobil panel (nav içinde) logonun altında kalır */
  z-index:2;
  align-items:center;
  gap:16px;
  min-height:56px;
  overflow:visible;
}
.logo--bar .logo-mark{display:block;line-height:0;text-decoration:none}
.logo--bar a.logo-line{display:block;text-decoration:none}
.logo--bar a.logo-line--uni{color:var(--navy)}
.logo--bar a.logo-line--faculty:hover{opacity:.88}
.logo--bar img{
  height:104px;
  width:104px;
  max-width:none;
  object-fit:contain;
  flex-shrink:0;
  margin-top:-28px;
  margin-bottom:-20px;
}
.logo--bar .logo-text{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  line-height:1.12;
  position:relative;
  z-index:1;
  padding:4px 0;
}
.logo--bar .logo-line--uni{
  font-family:"Cinzel","Palatino Linotype",Palatino,"Times New Roman",serif;
  display:block;
  white-space:nowrap;
  font-size:clamp(10px,0.95vw,12px);
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--navy);
  line-height:1.15;
  -webkit-font-smoothing:antialiased;
}
.logo--bar .logo-line--faculty{
  font-size:clamp(14px,1.35vw,17px);
  font-weight:700;
  line-height:1.25;
  color:var(--navy-brand);
  letter-spacing:.01em;
  white-space:nowrap;
}
.logo-line--faculty{letter-spacing:.02em}
.logo-line--uni{
  font-family:"Cinzel","Palatino Linotype",Palatino,"Times New Roman",serif;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:1px;
  line-height:1.12;
  font-size:clamp(12.5px,1.2vw,14.5px);
  font-weight:600;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--navy);
  -webkit-font-smoothing:antialiased;
}
.logo-uni-line{display:block}
.logo-uni-line--sub{
  font-size:inherit;
  font-weight:600;
  letter-spacing:inherit;
  line-height:inherit;
  align-self:flex-start;
}
.logo-line--faculty{
  font-size:clamp(12px,1.1vw,13.5px);
  font-weight:700;
  line-height:1.2;
  color:var(--teal);
}
.logo--footer{
  align-items:center;
  gap:16px;
  margin-bottom:18px;
  max-width:100%;
  min-width:0;
}
.logo--footer img{
  height:96px;
  width:96px;
  max-width:none;
  object-fit:contain;
  flex-shrink:0;
}
.logo--footer .logo-text{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  line-height:1.15;
  min-width:0;
  flex:1;
  max-width:none;
}
.logo--footer .logo-line--uni{
  color:rgba(232,240,247,.96);
  display:block;
  white-space:nowrap;
}
.logo--footer .logo-uni-line{display:inline}
.logo--footer .logo-uni-line--sub::before{content:' '}
.logo--footer .logo-line--faculty{
  color:#fff;
  white-space:nowrap;
  font-size:clamp(11px,0.95vw,13px);
}
.main-nav{
  flex:1;
  min-width:0;
  align-self:stretch;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  overflow:visible;
}
.icon-btn{background:transparent;border:0;cursor:pointer;padding:6px;display:flex;align-items:center;justify-content:center;color:var(--ink)}
.icon-btn svg{display:block}
.caret{font-size:9px;opacity:.6}

/* ===== Hero ===== */
.hero{
  position:relative;
  min-height:min(52vh,460px);
  color:#fff;
  display:flex;
  align-items:center;
  overflow:hidden;
  /* Header artık sticky beyaz bar — hero'nun üstüne binmiyor, padding gerekmez */
  padding-top:0;
  --hero-img-left:40%;
  --hero-fade:min(280px, 28vw);
}
.hero-slides{
  position:absolute;
  inset:0;
  z-index:0;
  background:var(--navy);
}
.hero-slides-container{
  position:absolute;
  inset:0;
  height:100%;
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
}
.hero-slide{
  position:absolute;
  inset:0;
  background-repeat:no-repeat;
  /* Baştaki gibi: yüksekliğe sığdır, en-boy koru, sağa yasla — cover ile zorlama */
  background-size:auto 100%;
  background-position:right center;
  opacity:0;
  transition:opacity .75s ease;
  z-index:0;
}
.hero-slide.is-active{opacity:1;z-index:1}
/* Gradient görselin bittiği yerden (sol kenar) başlar — --hero-img-left JS ile set edilir */
.hero-overlay{
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:linear-gradient(
    90deg,
    var(--navy) 0%,
    var(--navy) var(--hero-img-left),
    rgba(14,42,71,.88) calc(var(--hero-img-left) + var(--hero-fade) * .22),
    rgba(14,42,71,.55) calc(var(--hero-img-left) + var(--hero-fade) * .48),
    rgba(14,42,71,.22) calc(var(--hero-img-left) + var(--hero-fade) * .72),
    rgba(14,42,71,0) calc(var(--hero-img-left) + var(--hero-fade))
  );
}
.hero-content{position:relative;z-index:3;padding:clamp(28px,4vw,52px) 24px clamp(48px,7vw,72px);max-width:1200px;width:100%}
.hero-eyebrow{
  display:block;
  color:#fff;
  font-family:"Poppins",system-ui,sans-serif;
  font-size:clamp(20px,2.2vw,28px);
  font-weight:700;
  letter-spacing:.02em;
  line-height:1.25;
  margin-bottom:12px;
  max-width:34ch;
  text-shadow:none;
}
.hero h1{
  font-family:"Open Sans",system-ui,sans-serif;
  font-size:15px;
  line-height:1.65;
  font-weight:400;
  letter-spacing:normal;
  margin-bottom:22px;
  max-width:36ch;
  color:rgba(255,255,255,.92);
}
.hero-lead{max-width:440px;font-size:15px;line-height:1.65;color:rgba(255,255,255,.95);margin-bottom:32px}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:28px}
.hero-pager{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600;color:rgba(255,255,255,.9);flex-wrap:wrap}
.hero-pager-btn{
  background:none;
  border:0;
  padding:2px 0;
  margin:0;
  font:inherit;
  font-size:13px;
  font-weight:600;
  color:rgba(255,255,255,.9);
  cursor:pointer;
  letter-spacing:.06em;
  transition:color .2s,transform .15s;
}
.hero-pager-btn:hover{color:#fff}
.hero-pager-btn:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:2px}
.hero-pager-btn.active{color:var(--teal);font-size:15px;font-weight:800}
.hero-pager .dash{display:inline-block;width:18px;height:1px;background:rgba(255,255,255,.45);flex-shrink:0}

/* ===== Value strip — minimal neden biz ===== */
.value-strip{
  background:#f3f6f9;
  padding:clamp(40px,5.5vw,56px) 0;
  border-bottom:1px solid var(--line);
}
.value-strip__grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(20px,3vw,28px);
}
.value-strip__item{
  padding:0 clamp(12px,2vw,20px);
  border-right:1px solid #dde4ec;
}
.value-strip__item:last-child{border-right:none}
.value-strip__icon{
  color:var(--teal);font-size:1.35rem;line-height:1;
  margin-bottom:14px;
}
.value-strip__item h3{
  font-size:clamp(14px,1.6vw,15.5px);font-weight:700;color:var(--ink);
  margin:0 0 8px;line-height:1.3;
}
.value-strip__item p{
  font-size:13px;color:var(--muted);line-height:1.6;margin:0;
}

/* ===== Stats band (alternatif tema — lacivert şerit) ===== */
.stats-band{
  background:linear-gradient(135deg,var(--navy) 0%,#123456 100%);
  padding:clamp(44px,6vw,64px) 0;
}
.stats-band__grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(16px,3vw,24px);
}
.stats-band__item{
  text-align:center;padding:8px clamp(8px,2vw,16px);
  border-right:1px solid rgba(255,255,255,.14);
}
.stats-band__item:last-child{border-right:none}
.stats-band__icon{
  width:44px;height:44px;margin:0 auto 14px;border-radius:50%;
  background:rgba(0,168,181,.15);color:var(--teal);
  display:flex;align-items:center;justify-content:center;
}
.stats-band__icon i{font-size:1rem;line-height:1}
.stats-band__value{
  font-size:clamp(28px,4.5vw,42px);font-weight:800;color:#fff;
  letter-spacing:-.03em;line-height:1.1;margin-bottom:6px;
}
.stats-band__label{
  font-size:clamp(11px,1.4vw,13px);font-weight:500;
  color:rgba(255,255,255,.72);line-height:1.4;
}

/* ===== Stats (hero altına süzülen kart — klasik tema kalıbı) ===== */
.stats-wrapper{margin-top:-50px;position:relative;z-index:15;padding-bottom:8px}
.stats-card{background:#fff;border-radius:14px;border:1px solid var(--line);padding:26px 32px;display:grid;grid-template-columns:repeat(4,1fr);gap:24px 28px}
.stat{display:flex;align-items:center;gap:16px}
.stat-icon{width:48px;height:48px;border-radius:50%;background:#eaf8f8;color:var(--teal);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.stat-icon i{font-size:1.12rem;line-height:1}
.stat-value{font-size:22px;font-weight:800;color:#2a3542;letter-spacing:-.02em;line-height:1.15}
.stat-label{font-size:11.5px;color:var(--muted);margin-top:2px;line-height:1.35;font-weight:500}

/* ===== Sections ===== */
.section{padding:72px 0}
.section-bg-white{background:#fff}
.section-bg-gray{background:#f3f6f9}
.section-soft{background:#fff}
.section--depts{background:#fff}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:40px;flex-wrap:wrap;gap:12px}
.section-title{font-size:18px;font-weight:700;letter-spacing:2px;display:flex;align-items:center;gap:14px;text-transform:uppercase;color:var(--ink)}
.section-title .bar{width:38px;height:3px;background:var(--teal);border-radius:2px}
.section-link{color:var(--teal);font-size:13px;font-weight:600;transition:color .2s ease}
.section-link:hover{color:var(--teal-dark)}

/* ===== Features ===== */
.features-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.feature{
  background:#fff;
  border-radius:12px;
  border:1px solid var(--line);
  padding:24px 22px 26px;
  transition:border-color .2s ease,background .2s ease;
}
.feature:hover{border-color:rgba(0,168,181,.35);background:#fcfdfd}
.feature-icon{width:46px;height:46px;border-radius:8px;background:#eaf8f8;color:var(--teal);display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.feature-icon i{font-size:1.12rem;line-height:1}
.feature h4{font-size:15px;margin-bottom:8px;color:var(--ink)}
.feature p{font-size:13px;color:var(--muted);line-height:1.65}

/* ===== Departments (butonlu yatay kaydırma) ===== */
.section-head--depts{align-items:center;margin-bottom:32px}
.dept-navs{display:flex;align-items:center;gap:6px;flex-shrink:0}
.dept-nav{
  width:34px;
  height:34px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  color:var(--navy);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  padding:0;
  font-size:12px;
  line-height:1;
  transition:border-color .2s ease,color .2s ease,background .2s ease;
}
.dept-nav:hover:not(:disabled){border-color:var(--teal);color:var(--teal);background:#f8fcfc}
.dept-nav:disabled{opacity:.35;cursor:not-allowed}
.dept-carousel{position:relative}
.dept-scroll{
  overflow-x:auto;
  overflow-y:hidden;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-x;
  scrollbar-width:none;
  padding:4px 2px 8px;
  cursor:grab;
  user-select:none;
}
.dept-scroll.is-dragging{cursor:grabbing;scroll-behavior:auto}
.dept-scroll.is-dragging .dept-card{pointer-events:none}
.dept-scroll::-webkit-scrollbar{display:none}
.dept-track{
  display:flex;
  flex-direction:row;
  flex-wrap:nowrap;
  align-items:stretch;
  gap:16px;
  width:max-content;
}
.dept-card{
  position:relative;
  flex:0 0 260px;
  width:260px;
  height:320px;
  border-radius:12px;
  overflow:hidden;
  color:#fff;
  display:flex;
  align-items:flex-end;
  cursor:pointer;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.14);
  background-color:var(--navy);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  transition:border-color .2s ease;
  isolation:isolate;
}
.dept-card:hover{border-color:rgba(0,168,181,.45)}
.dept-card--no-img{background-image:linear-gradient(145deg,#1a3f66 0%,#0e2a47 100%)}
.dept-card__shade{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(14,42,71,.12) 0%,rgba(14,42,71,.55) 50%,rgba(14,42,71,.94) 100%);
}
.dept-content{
  position:relative;
  z-index:2;
  width:100%;
  padding:18px 16px 14px;
  display:flex;
  flex-direction:column;
  min-height:0;
}
.dept-head{margin-bottom:8px}
.dept-head h3{
  font-size:14.5px;
  font-weight:700;
  margin:0;
  line-height:1.35;
  color:#fff;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.dept-body{
  flex:0 1 auto;
  min-height:0;
}
.dept-body p{
  font-size:12.5px;
  margin:0;
  line-height:1.55;
  color:rgba(230,238,245,.9);
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.dept-foot{
  display:flex;
  justify-content:flex-end;
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.18);
}
.dept-cta{
  display:inline-flex;
  width:32px;
  height:32px;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.35);
  border-radius:999px;
  font-size:11px;
  flex-shrink:0;
  color:#fff;
  transition:background .2s ease,border-color .2s ease,color .2s ease;
}
.dept-card:hover .dept-cta{
  background:var(--teal);
  border-color:var(--teal);
  color:#fff;
}

/* Az bölüm (1–2): carousel yerine tam genişlik kart */
.dept-carousel--compact .dept-scroll{
  overflow:visible;
  cursor:default;
  padding:0;
}
.dept-carousel--compact .dept-track--compact{
  display:flex;
  flex-direction:column;
  gap:12px;
  width:100%;
}
.dept-card--solo{
  flex:none;
  width:100%;
  max-width:100%;
  height:auto;
  min-height:0;
  color:var(--ink);
  background:#fff;
  border:1px solid rgba(23,39,81,.12);
  border-radius:12px;
  align-items:stretch;
  display:flex;
  isolation:isolate;
}
.dept-card--solo .dept-content{
  flex-direction:row;
  align-items:center;
  gap:20px 28px;
  padding:22px 26px;
  flex-wrap:wrap;
  width:100%;
}
.dept-card--solo .dept-head{
  margin:0;
  flex:0 1 auto;
  min-width:min(100%,180px);
}
.dept-card--solo .dept-head h3{
  font-size:clamp(18px,2vw,22px);
  font-weight:700;
  color:var(--navy);
  -webkit-line-clamp:2;
}
.dept-card--solo .dept-body{
  flex:1 1 220px;
  min-width:0;
}
.dept-card--solo .dept-body p{
  font-size:14px;
  line-height:1.6;
  color:var(--muted);
  -webkit-line-clamp:3;
}
.dept-card--solo .dept-foot{
  margin:0;
  padding:0;
  border:0;
  margin-left:auto;
  align-items:center;
  gap:12px;
}
.dept-cta-label{
  font-size:13px;
  font-weight:600;
  color:var(--navy);
  letter-spacing:.02em;
}
.dept-card--solo:hover{
  border-color:rgba(0,168,181,.45);
  background:#f8fcfc;
}
.dept-card--solo .dept-cta{
  background:var(--navy);
  border-color:var(--navy);
  color:#fff;
}
.dept-card--solo:hover .dept-cta{
  background:var(--teal);
  border-color:var(--teal);
  color:#fff;
}
.dept-card--solo.dept-card--img{
  background-image:
    linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.9) 55%,rgba(255,255,255,.72) 100%),
    var(--dept-bg);
  background-size:cover;
  background-position:center;
}
.dept-carousel--single .dept-track--compact{gap:0}
.dept-carousel--stack .dept-track--compact{gap:12px}

/* ===== About Banner (iç sayfa / eski alt blok — ana sayfada hero--static kullanılır) ===== */
.about-banner{position:relative;height:300px;border-radius:12px;overflow:hidden;background-size:cover;background-position:center;display:flex;align-items:center;padding:0 60px;color:var(--ink)}
.about-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(244,246,249,.95) 0%,rgba(244,246,249,.75) 45%,rgba(244,246,249,0) 100%)}
.about-text{position:relative;max-width:480px}
.about-text h2{font-size:32px;font-weight:700;margin-bottom:14px;line-height:1.2}
.about-text p{color:var(--muted);margin-bottom:22px;font-size:14px}

/* ===== Sabit hero (ana sayfa — sol beyaz panel, sağ görsel + yumuşak geçiş) ===== */
.hero.hero--static{
  position:relative;
  min-height:clamp(300px,36vw,400px);
  display:block;
  overflow:hidden;
  padding:0;
  color:var(--ink);
  background:#fff;
}
.hero.hero--static > .container{
  position:relative;
  z-index:3;
}
.hero-static-bg,
.hero-static-overlay,
.hero-static-dots{
  position:absolute;
  pointer-events:none;
}
.hero-static-bg{
  top:0;
  right:0;
  bottom:0;
  left:clamp(34%, 38vw, 44%);
  z-index:0;
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}
.hero--static .hero-static-overlay{
  inset:0;
  z-index:1;
  background:linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 34%,
    rgba(255,255,255,.97) 40%,
    rgba(255,255,255,.82) 48%,
    rgba(255,255,255,.58) 56%,
    rgba(255,255,255,.28) 64%,
    rgba(255,255,255,.08) 72%,
    transparent 82%
  );
}
.hero-static-dots{display:none}
.hero-static-inner{
  min-height:clamp(300px,36vw,400px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  max-width:min(520px,46%);
  padding-top:clamp(28px,4vw,48px);
  padding-bottom:clamp(28px,4vw,48px);
}
.hero--static .hero-copy-block{
  max-width:100%;
  width:100%;
  min-width:0;
}
.hero--static .hero-eyebrow{
  display:block;
  color:var(--navy);
  font-size:clamp(22px,2.6vw,32px);
  font-weight:700;
  margin-bottom:18px;
  line-height:1.22;
  overflow-wrap:break-word;
  text-shadow:none;
}
@media (min-width:1280px){
  .hero--static .hero-eyebrow{white-space:nowrap}
}
.hero--static h1{
  display:block;
  color:var(--navy);
  font-size:15px;
  font-weight:600;
  margin-bottom:14px;
  line-height:1.55;
}
.hero--static .hero-tagline-bar{
  display:block;
  width:36px;
  height:3px;
  background:var(--teal);
  border-radius:2px;
  margin-bottom:12px;
}
.hero--static .hero-lead{
  color:#4f5f70;
  font-size:14px;
  line-height:1.7;
  margin-bottom:28px;
  max-width:44ch;
}
.hero--static .hero-actions{margin-bottom:0;gap:14px}
.hero--static .btn-ghost{
  color:var(--teal);
  border:1px solid var(--teal);
  background:transparent;
}
.hero--static .btn-ghost:hover{background:rgba(0,168,181,.06);color:var(--teal-dark);border-color:var(--teal-dark)}

/* ===== Birleşik hero: header + lacivert sol + görsel/gradyan sağ ===== */
.hero.hero--integrated{
  background:var(--navy);
  color:#fff;
  min-height:clamp(460px,54vw,580px);
}
.hero--integrated .hero-static-bg{
  top:0;
  right:0;
  bottom:0;
  left:clamp(32%, 36vw, 42%);
}
.hero--integrated .hero-static-overlay{
  background:linear-gradient(
    90deg,
    var(--navy) 0%,
    var(--navy) 32%,
    rgba(14,42,71,.98) 38%,
    rgba(14,42,71,.88) 46%,
    rgba(14,42,71,.62) 54%,
    rgba(14,42,71,.32) 62%,
    rgba(14,42,71,.1) 70%,
    transparent 80%
  );
}
.hero--integrated .site-chrome{
  position:relative;
  top:auto;
  z-index:4;
  background:transparent;
  overflow:visible;
}
.hero--integrated .fac-topbar{
  background:transparent;
  border-bottom:none;
}
.hero--integrated .fac-topbar__lang,
.hero--integrated .fac-topbar__lang-link{color:rgba(255,255,255,.82)}
.hero--integrated .fac-topbar__lang-sep{color:rgba(255,255,255,.35)}
.hero--integrated .fac-topbar__lang-link.is-active,
.hero--integrated .fac-topbar__lang-link:hover{color:var(--teal)}
.hero--integrated .site-header--bar{
  background:transparent;
  border-top:none;
  border-bottom:none;
}
.hero--integrated .logo--bar a.logo-line--uni{color:rgba(255,255,255,.94)}
.hero--integrated .logo--bar .logo-line--faculty{color:rgba(255,255,255,.94)}
.hero--integrated ul.fac-menu > li > a{color:rgba(255,255,255,.92)}
.hero--integrated ul.fac-menu > li:hover > a,
.hero--integrated ul.fac-menu > li:focus-within > a{color:#fff;border-bottom-color:var(--teal)}
.hero--integrated ul.fac-menu .caret{color:var(--teal)}
.hero--integrated .fac-burger{color:#fff}
.hero--integrated > .hero-body,
.hero--integrated > .container.hero-body{
  position:relative;
  z-index:3;
}
.hero--integrated .hero-static-inner{
  min-height:clamp(240px,28vw,320px);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  max-width:min(520px,46%);
  padding-top:clamp(48px,7vw,88px);
  padding-bottom:clamp(48px,6vw,72px);
}
.hero--integrated .hero-eyebrow{color:#fff;text-shadow:0 1px 12px rgba(0,0,0,.25)}
.hero--integrated h1{color:rgba(255,255,255,.95)}
.hero--integrated .hero-lead{color:rgba(255,255,255,.78)}
.hero--integrated .btn-ghost{
  color:#fff;
  border-color:rgba(255,255,255,.55);
}
.hero--integrated .btn-ghost:hover{
  background:rgba(255,255,255,.1);
  color:#fff;
  border-color:#fff;
}

/* ===== Two col panels ===== */
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.panel{background:#fff;border-radius:10px;padding:28px 30px;border:1px solid var(--line)}
.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}
.panel-head h3{font-size:17px;font-weight:700}
.news-list li,.events-list li{
  display:flex;gap:18px;padding:16px 0;
  border-bottom:1px solid var(--line);
  transition:background .2s ease;
}
.news-list li:hover,.events-list li:hover{background:rgba(0,168,181,.03)}
.news-list li:last-child,.events-list li:last-child{border-bottom:0}
.date{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:42px;color:var(--teal);position:relative}
.date .day{font-size:18px;font-weight:800;line-height:1}
.date .mon{font-size:10px;font-weight:600;letter-spacing:1px;margin-top:2px}
.news-list h5,.events-list h5{font-size:13.5px;font-weight:600;margin-bottom:4px;color:var(--ink)}
.news-list h5 a{color:inherit;transition:color .2s}
.news-list h5 a:hover{color:var(--teal)}
.news-list p,.events-list p{font-size:12px;color:var(--muted)}

/* ===== Feed stack — duyuru / haber / etkinlik (alternatif tema) ===== */
.feed-stack{padding:0;margin-top:0;background:transparent}
.feed-section{padding:clamp(44px,6vw,64px) 0}
.feed-section + .feed-section{border-top:1px solid var(--line)}
.feed-section--duyuru{background:#f3f6f9}
.feed-section--haber{background:#fff}
.feed-section--etkinlik{background:#fff}
.feed-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:clamp(24px,4vw,32px);flex-wrap:wrap}
.feed-head h2{font-size:clamp(22px,3.2vw,30px);font-weight:800;color:var(--ink);margin:0;letter-spacing:-.02em;line-height:1.15}
.feed-all{
  display:inline-flex;align-items:center;gap:8px;
  padding:9px 18px;border:1px solid #c8d4e0;border-radius:8px;
  font-size:13px;font-weight:600;color:var(--ink);background:#fff;
  text-decoration:none;transition:border-color .2s,box-shadow .2s;
  white-space:nowrap;
}
.feed-all:hover{border-color:var(--navy);box-shadow:0 2px 8px rgba(14,42,71,.08)}
.feed-all i{font-size:11px;color:var(--navy)}
.feed-head__actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.feed-head--depts{margin-bottom:clamp(24px,4vw,32px)}
.feed-empty{margin:0;padding:28px 0;color:var(--muted);font-size:14px;text-align:center}

/* Duyuru grid — 2 sütun × 3 satır (limit 6) */
.duyuru-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:clamp(20px,3.5vw,40px);
  row-gap:0;
}
.duyuru-item{
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:clamp(10px,1.6vw,14px);
  padding:clamp(14px,2vw,18px) 0;border-bottom:1px solid var(--line);
  text-decoration:none;color:inherit;min-height:68px;
}
.duyuru-item:nth-last-child(-n+2){border-bottom:none;padding-bottom:clamp(14px,2vw,18px)}
.duyuru-item:hover .duyuru-item__title{color:var(--teal)}
.duyuru-date{
  width:54px;padding:10px 6px;border-radius:6px;
  background:var(--navy);color:#fff;text-align:center;flex-shrink:0;
}
.duyuru-date .day{font-size:22px;font-weight:800;line-height:1;display:block}
.duyuru-date .meta{font-size:8.5px;font-weight:700;line-height:1.3;margin-top:5px;letter-spacing:.05em;display:block}
.duyuru-item__title{
  font-size:clamp(13px,1.6vw,15px);font-weight:700;line-height:1.4;color:var(--ink);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  transition:color .2s;
}
.duyuru-item__arrow{color:#b0bec9;font-size:12px;flex-shrink:0}

/* Feed carousel ortak */
.feed-carousel{position:relative}
.feed-scroll{
  overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
  scrollbar-width:none;cursor:grab;padding-bottom:4px;
}
.feed-scroll.is-dragging{
  cursor:grabbing;user-select:none;scroll-snap-type:none;
}
.feed-scroll.is-dragging .feed-card{pointer-events:none}
.feed-scroll::-webkit-scrollbar{display:none}
.feed-track{display:flex;gap:clamp(16px,2.5vw,22px);padding:2px 2px 8px}
.feed-card{
  flex:0 0 min(300px,78vw);scroll-snap-align:start;
  text-decoration:none;color:inherit;display:flex;flex-direction:column;
}

/* Haber kartları */
.haber-card{
  background:#fff;border-radius:12px;border:1px solid var(--line);
  overflow:hidden;
}
.haber-card__head{
  display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start;
  padding:14px 16px 16px;flex:1;
}
.haber-card__date{
  width:50px;padding:9px 5px;border-radius:6px;
  background:var(--navy);color:#fff;text-align:center;flex-shrink:0;
}
.haber-card__date .day{font-size:20px;font-weight:800;line-height:1;display:block}
.haber-card__date .meta{font-size:8px;font-weight:700;line-height:1.25;margin-top:4px;letter-spacing:.04em;display:block}
.haber-card__title{
  font-size:14px;font-weight:700;line-height:1.35;color:var(--ink);margin:0;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
.haber-card__media{
  aspect-ratio:4/3;background:linear-gradient(145deg,#dce6ef 0%,#b8cad8 100%);
  background-size:cover;background-position:center;
}

/* Etkinlik kartları */
.etkinlik-card{flex:0 0 min(280px,72vw)}
.etkinlik-card__media{
  position:relative;border-radius:14px;overflow:hidden;
  aspect-ratio:4/5;background:linear-gradient(160deg,#1a3f66 0%,#0e2a47 100%);
  background-size:cover;background-position:center;
}
.etkinlik-card__badge{
  position:absolute;top:14px;left:14px;z-index:2;
  display:flex;align-items:center;gap:10px;
  padding:10px 14px;border-radius:10px;background:#fff;
  box-shadow:0 4px 16px rgba(0,0,0,.12);
}
.etkinlik-card__badge .day{
  font-size:26px;font-weight:800;line-height:1;color:var(--ink);
  border-right:1px solid var(--line);padding-right:10px;
}
.etkinlik-card__badge .meta{
  font-size:11px;font-weight:600;line-height:1.35;color:var(--muted);
  text-transform:capitalize;
}
.etkinlik-card__title{
  font-size:14.5px;font-weight:700;line-height:1.4;color:var(--ink);margin:14px 4px 0;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.etkinlik-card:hover .etkinlik-card__title{color:var(--teal)}

/* Carousel alt navigasyon */
.feed-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px}
.feed-foot--center{justify-content:center;gap:20px;margin-top:24px}
.feed-progress{flex:1;height:3px;background:#dde4ec;border-radius:99px;overflow:hidden;max-width:280px}
.feed-progress__bar{display:block;height:100%;width:35%;background:var(--navy);border-radius:99px;transition:width .15s,margin-left .15s}
.feed-nav{display:flex;align-items:center;gap:8px;flex-shrink:0}
.feed-nav-btn{
  width:38px;height:38px;border-radius:50%;border:1px solid #c8d4e0;background:#fff;
  color:var(--navy);display:inline-flex;align-items:center;justify-content:center;
  cursor:pointer;transition:background .2s,border-color .2s,opacity .2s;
}
.feed-nav-btn--lg{width:46px;height:46px;font-size:15px}
.feed-nav-btn:hover:not(:disabled){background:var(--navy);color:#fff;border-color:var(--navy)}
.feed-nav-btn:disabled{opacity:.35;cursor:not-allowed}

/* ===== Academic ===== */
.academic-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
a.academic-card{
  display:block;
  background:transparent;border-radius:12px;border:none;
  text-align:center;text-decoration:none;color:inherit;
  transition:opacity .2s ease;
  padding-bottom:8px;
}
a.academic-card:hover{opacity:.92}
.academic-photo{
  width:132px;height:132px;border-radius:50%;
  background-size:cover;background-position:center top;
  margin:22px auto 8px;
  border:5px solid #d1dbe6;
  outline:none;
  transition:border-color .2s ease;
}
.academic-card:hover .academic-photo{border-color:var(--teal)}
.academic-card:hover .academic-info h5{color:var(--teal)}
.academic-info{padding:6px 12px 14px}
.academic-info strong{font-size:11px;color:var(--muted);font-weight:500;display:block;margin-bottom:2px}
.academic-info h5{font-size:13.5px;font-weight:700;margin-bottom:4px}
.academic-info span{font-size:11px;color:var(--muted);display:block;margin-bottom:10px}
.academic-icons{display:flex;justify-content:center;gap:14px;color:var(--muted);font-size:11px;border-top:1px solid var(--line);padding-top:10px}

/* ===== Yönetim kadro — academic-staff ile aynı (çerçevesiz) ===== */
.fac-kadro-section{
  max-width:1200px;margin:0 auto;padding:26px 24px 72px;
}
.abu-unit-kadro{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px;
}
.abu-unit-kadro .kadro-card{
  border:none;border-radius:0;background:transparent;overflow:visible;
  display:block;text-decoration:none;color:inherit;
}
.abu-unit-kadro .kadro-card:hover{transform:none;box-shadow:none}
.abu-unit-kadro .kadro-photo{
  width:200px;height:200px;max-width:100%;aspect-ratio:1/1;
  margin:0 auto;border-radius:50%;overflow:hidden;
}
.abu-unit-kadro .kadro-photo img{
  width:100%;height:100%;object-fit:cover;object-position:top center;border-radius:50%;
}
.abu-unit-kadro .kadro-photo__ph{
  width:100%;height:100%;background:#e8eef5;display:flex;align-items:center;
  justify-content:center;color:#8aa0b5;font-size:28px;border-radius:50%;
}
.abu-unit-kadro .card-body{padding:14px 8px 0;text-align:center}
.abu-unit-kadro .kadro-ad{
  font-size:14.5px;font-weight:700;color:var(--navy);margin:0 0 4px;line-height:1.35;
}
.abu-unit-kadro .kadro-unvan{font-size:12.5px;color:var(--teal);font-weight:600}
.abu-unit-kadro--dense{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1100px){.abu-unit-kadro--dense{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){
  .abu-unit-kadro{grid-template-columns:repeat(2,1fr)}
  .abu-unit-kadro--dense{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
  .abu-unit-kadro,.abu-unit-kadro--dense{grid-template-columns:1fr}
}

/* ===== Footer ===== */
.site-footer{background:var(--navy);color:#cdd7e2;padding:60px 0 0;margin-top:60px}
.footer-grid{
  display:flex;
  align-items:stretch;
  justify-content:space-between;
  gap:clamp(24px,4vw,48px);
  padding-bottom:40px;
}
.footer-brand{
  display:flex;
  flex-direction:column;
  flex:0 1 360px;
  min-width:0;
  max-width:min(420px,100%);
}
.footer-brand .socials{
  margin-top:auto;
  padding-top:24px;
}
.footer-nav{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,auto));
  gap:clamp(24px,3.5vw,44px);
  margin-left:auto;
  flex-shrink:0;
}
.site-footer p{font-size:13px;line-height:1.7;color:#9aaabb;margin-bottom:20px}
.site-footer h6{color:#fff;font-size:13px;font-weight:700;letter-spacing:1.5px;margin-bottom:18px;text-transform:uppercase}
.foot-links li{font-size:13px;padding:6px 0;color:#9aaabb;cursor:pointer;transition:color .2s}
.foot-links li:hover{color:var(--teal)}
.socials{display:flex;gap:10px}
.socials a,.socials span{width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;font-size:12px;color:#cdd7e2;text-decoration:none;transition:background .2s,color .2s}
.socials a:hover,.socials span:hover{background:var(--teal);color:#fff}
.foot-links a{color:inherit;text-decoration:none;transition:color .2s}
.foot-links a:hover{color:var(--teal)}
.foot-extra{opacity:.85}
.map-card{height:140px;border-radius:8px;overflow:hidden;position:relative;background:#1a3a5c}
.map-bg{position:absolute;inset:0;background:url('https://api.mapbox.com/styles/v1/mapbox/dark-v10/static/30.7133,36.8841,12,0/300x200?access_token=pk.placeholder') center/cover;opacity:.4}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding:22px 24px;border-top:1px solid rgba(255,255,255,.08);font-size:12px;color:#7d8c9d}

/* ===== Inner pages (haber detay vb.) ===== */
.page-sub .page-masthead > .container,
.page-sub .article-wrap > .container,
.page-sub .article-related > .container{
  max-width:min(1040px,100%);
}

.page-masthead{
  background:var(--navy);
  color:#fff;
  padding:30px 0 30px;
  position:relative;
}
.page-masthead .container{position:relative;z-index:1}
.page-masthead-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px 28px;
}
.page-masthead-main{flex:1 1 auto;min-width:0}
.breadcrumb{
  font-size:12px;
  color:rgba(255,255,255,.62);
  margin:0 0 0 auto;
  line-height:1.5;
  text-align:right;
  flex:0 1 auto;
  align-self:flex-end;
}
.breadcrumb a{
  color:rgba(255,255,255,.88);
  transition:color .2s;
}
.breadcrumb a:hover{color:var(--teal)}
.breadcrumb > span:last-child{color:var(--teal)}
.page-masthead h1{
  font-family:"Poppins",system-ui,sans-serif;
  font-size:22px;
  font-weight:700;
  line-height:1.18;
  letter-spacing:-.02em;
  max-width:100%;
  margin:0;
}
.page-masthead-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 22px;
  margin-top:22px;
  font-size:13px;
  color:rgba(255,255,255,.78);
}
.page-masthead-meta i{color:var(--teal);opacity:.95}

.article-wrap{padding:48px 0 72px}
.article-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) min(100%,300px);
  gap:clamp(28px,4vw,40px);
  align-items:start;
}
.article-main{
  background:var(--card);
  border-radius:12px;
  border:1px solid var(--line);
  padding:clamp(24px,3.5vw,40px);
}
.article-lead{
  font-size:17px;
  line-height:1.65;
  color:var(--muted);
  margin-bottom:26px;
  font-weight:500;
}
.article-figure{margin:0 0 28px;border-radius:10px;overflow:hidden}
.article-figure img{
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
  display:block;
}
.article-figure figcaption{
  font-size:12px;
  color:var(--muted);
  margin-top:10px;
  line-height:1.45;
}
.article-prose{font-size:15px;line-height:1.75;color:var(--ink)}
.article-prose p{margin-bottom:1.25em}
.article-prose h2{
  font-size:19px;
  font-weight:700;
  margin:1.75em 0 .65em;
  color:var(--ink);
  letter-spacing:-.01em;
}
.article-list{
  margin:0 0 1.25em 1.1em;
  list-style:disc;
  color:var(--ink);
}
.article-list li{margin-bottom:.5em;padding-left:4px}
.article-quote{
  border-left:4px solid var(--teal);
  padding:8px 0 8px 20px;
  margin:28px 0;
  font-size:16px;
  line-height:1.65;
  color:var(--ink);
  background:linear-gradient(90deg,rgba(0,168,181,.06) 0%,transparent 100%);
  border-radius:0 8px 8px 0;
}
.article-quote cite{
  display:block;
  margin-top:12px;
  font-size:13px;
  font-style:normal;
  font-weight:600;
  color:var(--muted);
}
.article-share{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin-top:32px;
  padding-top:24px;
  border-top:1px solid var(--line);
}
.article-share-label{
  font-size:12px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted);
  margin-right:4px;
}
.article-share-btn{
  width:38px;height:38px;
  border-radius:8px;
  border:1px solid var(--line);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--ink);
  background:#fff;
  transition:background .2s,color .2s,border-color .2s;
}
.article-share-btn:hover{
  background:rgba(0,168,181,.1);
  border-color:var(--teal);
  color:var(--teal-dark);
}
.article-back{margin-top:20px}
.article-back .section-link{display:inline-flex;align-items:center;gap:10px}

.article-sidebar{display:flex;flex-direction:column;gap:20px;position:sticky;top:24px}
.sidebar-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:10px;
  padding:22px 22px 24px;
}
.sidebar-title{
  font-size:14px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--ink);
  margin-bottom:14px;
  padding-bottom:12px;
  border-bottom:1px solid var(--line);
}
.sidebar-links li{padding:8px 0;border-bottom:1px solid var(--line);font-size:13.5px}
.sidebar-links li:last-child{border-bottom:0}
.sidebar-links a{color:var(--muted);transition:color .2s}
.sidebar-links a:hover{color:var(--teal)}
.sidebar-text{font-size:13px;color:var(--muted);line-height:1.55;margin-bottom:8px}
.sidebar-text:last-child{margin-bottom:0}

.article-related{padding-top:56px;padding-bottom:72px}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.related-card{
  display:flex;
  flex-direction:column;
  background:var(--card);
  border-radius:10px;
  overflow:hidden;
  border:1px solid var(--line);
  transition:border-color .2s ease,background .2s ease;
}
.related-card:hover{border-color:rgba(0,168,181,.3);background:#fcfdfd}
.related-photo{
  height:140px;
  background-size:cover;
  background-position:center;
}
.related-body{padding:18px 18px 20px}
.related-body time{
  font-size:11px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--teal);
}
.related-body h3{
  font-size:15px;
  font-weight:700;
  line-height:1.3;
  margin:10px 0 8px;
  color:var(--ink);
}
.related-body p{font-size:12.5px;color:var(--muted);line-height:1.55;margin:0}

/* ===== Responsive ===== */
@media (max-width:1024px){
  :root{--page-gutter:20px}
  .features-grid{grid-template-columns:repeat(2,1fr)}
  .dept-track:not(.dept-track--compact) > .dept-card{flex:0 0 240px;width:240px;height:300px}
  .academic-grid{grid-template-columns:repeat(3,1fr)}
  .stats-card{grid-template-columns:repeat(2,1fr)}
  .stats-band__grid{grid-template-columns:repeat(2,1fr);gap:28px 20px}
  .stats-band__item{border-right:none;padding:0}
  .value-strip__grid{grid-template-columns:repeat(2,1fr);gap:28px 24px}
  .value-strip__item{border-right:none;padding:0}
  .value-strip__item:nth-child(odd){padding-right:clamp(12px,2vw,20px);border-right:1px solid #dde4ec}
  .duyuru-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(20px,3vw,32px)}
  .duyuru-item:nth-last-child(-n+2){border-bottom:none}
  .footer-grid{flex-direction:column}
  .footer-brand{flex:1 1 auto;max-width:100%}
  .footer-nav{
    margin-left:0;
    width:100%;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .article-layout{grid-template-columns:1fr}
  .article-sidebar{position:static;flex-direction:row;flex-wrap:wrap}
  .article-sidebar .sidebar-card{flex:1;min-width:240px}
  .related-grid{grid-template-columns:1fr}
  .site-header--bar .header-inner{gap:10px;min-height:48px}
  .logo--bar{min-height:48px}
  .logo--bar img{height:92px;width:92px;margin-top:-26px;margin-bottom:-16px}
  .logo--bar .logo-line--uni{font-size:clamp(9px,2.2vw,11px);letter-spacing:.06em;white-space:nowrap}
  .logo--bar .logo-line--faculty{font-size:clamp(13px,3.2vw,15px)}
  .hero-eyebrow{font-size:clamp(18px,2vw,24px)}
  .hero h1{font-size:15px}
  .hero-slide{
    background-position:right center;
  }
  /* Birleşik hero — mobil/tablet: header sıkı, çift başlık yok */
  .hero--integrated .hero-eyebrow{display:none}
  .hero--integrated .logo--bar{
    align-items:center;
    gap:10px;
    min-height:52px;
  }
  .hero--integrated .logo--bar img{
    height:60px;
    width:60px;
    margin-top:0;
    margin-bottom:0;
    flex-shrink:0;
  }
  .hero--integrated .logo--bar .logo-text{
    min-width:0;
    flex:1;
    padding:0;
  }
  .hero--integrated .logo--bar .logo-line--faculty{
    font-size:clamp(11px,2.8vw,13px);
    line-height:1.25;
    white-space:normal;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .hero--integrated .hero-static-bg{
    left:0;
    right:0;
    top:0;
    bottom:auto;
    height:clamp(148px,34vw,188px);
  }
  .hero--integrated .hero-static-overlay{
    left:0;
    right:0;
    top:0;
    bottom:auto;
    height:clamp(148px,34vw,188px);
    background:linear-gradient(
      180deg,
      rgba(14,42,71,.08) 0%,
      rgba(14,42,71,.45) 62%,
      var(--navy) 100%
    );
  }
  .hero--integrated > .container.hero-body{
    padding-top:clamp(10px,2.5vw,18px);
  }
  .hero--integrated .hero-static-inner{
    max-width:100%;
    min-height:auto;
    justify-content:flex-start;
    padding-top:0;
    padding-bottom:clamp(28px,5vw,40px);
  }
}
@media (max-width:640px){
  :root{--page-gutter:16px}
  .hero-eyebrow{font-size:clamp(17px,4.2vw,22px)}
  .hero h1{font-size:14px}
  .hero-slide{
    background-position:right center;
  }
  .page-masthead{padding:24px 0 24px}
  .page-masthead-head{flex-direction:column;align-items:stretch}
  .page-masthead-head .breadcrumb{margin-left:0;text-align:right}
  .article-sidebar{flex-direction:column}
  .two-col{grid-template-columns:1fr}
  .duyuru-grid{grid-template-columns:1fr;column-gap:0}
  .duyuru-item:nth-last-child(-n+2){border-bottom:1px solid var(--line)}
  .duyuru-item:last-child{border-bottom:none}
  .value-strip__grid{grid-template-columns:1fr;gap:24px}
  .value-strip__item{border-right:none!important;padding:0 0 24px;border-bottom:1px solid #dde4ec}
  .value-strip__item:last-child{padding-bottom:0;border-bottom:none}
  .feed-card{flex-basis:min(280px,84vw)}
  .etkinlik-card{flex-basis:min(260px,80vw)}
  .academic-grid{grid-template-columns:repeat(2,1fr)}
  .dept-track:not(.dept-track--compact) > .dept-card{flex:0 0 220px;width:220px;height:280px}
  .dept-carousel--compact .dept-scroll{
    padding-inline:clamp(10px,3vw,16px);
  }
  .dept-carousel--compact .dept-card--solo{
    flex:none;
    width:100%;
    max-width:100%;
    height:auto;
    min-height:0;
    align-items:stretch;
  }
  .dept-carousel--stack .dept-card--solo .dept-content{
    flex-direction:column;
    align-items:flex-start;
    padding:16px 18px;
    gap:10px;
  }
  .dept-carousel--stack .dept-card--solo .dept-body{
    flex:1 1 auto;
    width:100%;
  }
  .dept-carousel--stack .dept-card--solo .dept-body p{
    display:block;
    -webkit-line-clamp:unset;
    overflow:visible;
  }
  .dept-carousel--stack .dept-card--solo .dept-foot{
    margin-left:0;
    width:100%;
    justify-content:space-between;
  }
  .dept-carousel--single .dept-card--solo .dept-content{
    flex-direction:row;
    flex-wrap:wrap;
    align-items:center;
    padding:16px 18px;
    gap:12px 16px;
  }
  .dept-carousel--single .dept-card--solo .dept-head{
    flex:1 1 140px;
    min-width:0;
  }
  .dept-carousel--single .dept-card--solo .dept-body{
    flex:1 1 180px;
    min-width:0;
  }
  .dept-carousel--single .dept-card--solo .dept-body p{
    display:block;
    -webkit-line-clamp:unset;
    overflow:visible;
  }
  .dept-carousel--single .dept-card--solo .dept-foot{
    flex:0 0 auto;
    margin-left:auto;
    width:auto;
  }
  .footer-grid{flex-direction:column}
  .footer-nav{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;gap:8px;text-align:center}
  .logo--footer{flex-wrap:wrap}
  .logo--footer img{height:72px;width:72px}
  .site-chrome-inner{padding:0 16px}
  .logo--bar{min-height:44px}
  .logo--bar img{height:72px;width:72px;margin-top:-14px;margin-bottom:-14px}
  .logo--bar .logo-text{gap:3px}
  .logo--bar .logo-line--uni{font-size:10px;letter-spacing:.05em}
  .logo--bar .logo-line--faculty{font-size:clamp(12px,3.4vw,14px)}
  .about-banner{padding:0 24px;height:auto;padding-top:30px;padding-bottom:30px}
  .hero.hero--static{min-height:auto;background:#fff}
  .hero.hero--integrated{background:var(--navy)}
  .hero--integrated .hero-static-bg{
    height:clamp(132px,32vw,168px);
  }
  .hero--integrated .hero-static-overlay{
    height:clamp(132px,32vw,168px);
  }
  .hero--integrated .logo--bar img{
    height:52px;
    width:52px;
  }
  .hero--integrated .logo--bar .logo-line--uni{font-size:9px}
  .hero--integrated .logo--bar .logo-line--faculty{font-size:clamp(10px,3.1vw,12px)}
  .hero--integrated .hero-static-inner{
    padding-bottom:32px;
  }
  .hero-static-bg{
    left:0;
    right:0;
    top:0;
    bottom:auto;
    height:clamp(160px,36vw,210px);
  }
  .hero--static .hero-static-overlay{
    left:0;
    right:0;
    top:0;
    bottom:auto;
    height:clamp(160px,36vw,210px);
    background:linear-gradient(
      180deg,
      rgba(255,255,255,.06) 0%,
      rgba(255,255,255,.45) 55%,
      #ffffff 100%
    );
  }
  .hero-static-inner{
    min-height:auto;
    max-width:100%;
    padding-top:clamp(175px,38vw,225px);
    padding-bottom:28px;
  }
  .hero--integrated .hero-static-inner{
    padding-top:0;
    padding-bottom:32px;
  }
  .hero--static .hero-eyebrow{font-size:22px;margin-bottom:14px;white-space:normal}
  .section{padding:60px 0}
}

/* Hero: fakülte adı başlık, tagline (slogan) alt banner metni gibi gövde boyutu */

/* ============================================================
   FAKÜLTE TEMA EKLERİ (referans: docs/fakulte_tema_docs)
   Header: bolumler-sayfa.dc.html beyaz sticky bar.
   Menü: tek satır + "Diğer ▾" taşma (priority nav, assets/menu.js).
   ============================================================ */

/* ---- Üst menü: tek satır, sığmayan "Diğer ▾"e taşınır ---- */
/* Logo (z-index:2) üstünde: mobil drawer + masaüstü dropdown logoyu örtebilsin */
.main-nav{position:relative;overflow:visible;z-index:6}
ul.fac-menu{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:clamp(4px,.65vw,10px);list-style:none;margin:0;padding:0;min-width:0;width:100%;overflow:visible}
/* JS devreye girene kadar taşan öğeler kırpılır (satır sarma/fırlama yok);
   is-ready sonrası dropdown'lar kırpılmasın diye overflow serbest bırakılır. */
ul.fac-menu:not(.is-ready){overflow:hidden}
ul.fac-menu > li{position:relative;flex:0 0 auto;list-style:none}
ul.fac-menu > li.is-open{z-index:400} /* açık panel masthead/içerik üstünde kalsın */
ul.fac-menu > li > a{
  color:var(--navy);
  font-size:12.5px;
  font-weight:600;
  letter-spacing:.02em;
  text-transform:uppercase;
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:14px 4px;
  border-bottom:2px solid transparent;
  transition:color .18s,border-color .18s;
  white-space:nowrap;
  text-decoration:none;
}
ul.fac-menu > li:hover > a,
ul.fac-menu > li:focus-within > a{color:var(--teal);border-bottom-color:var(--teal)}
ul.fac-menu .caret{font-size:8px;color:var(--teal);opacity:.9}

/* ---- Dropdown ----
   Aç/kapa menu.js .is-open ile yönetilir (tek panel). CSS :hover'a
   bağlanmaz — kardeş geçişinde transition gecikmesi üst üste bindirmesin.
   Klavye: focus-within → JS is-open atar.
   Not: transform KULLANILMAZ — absolute L3 flyout'un li'ye göre
   hizalanmasını bozar (CB kayması). */
ul.fac-menu .fac-dd{
  position:absolute;top:100%;left:0;min-width:250px;
  /* Hero/iç header zemini de lacivert olduğundan panel bir ton AÇIK lacivert +
     ince ışık çerçevesi + derin gölge ile zeminden net ayrılır. */
  background:linear-gradient(180deg,#1a3f66 0%,#153351 100%);
  border:1px solid rgba(127,219,227,.22);
  border-top:2px solid var(--teal);
  border-radius:0 0 10px 10px;
  box-shadow:0 26px 60px rgba(2,10,24,.6),0 4px 14px rgba(2,10,24,.35);
  list-style:none;margin:0;padding:8px 0;
  opacity:0;visibility:hidden;
  pointer-events:none;
  transition:none; /* aç/kapa anında — kardeş geçişinde üst üste binmesin */
  z-index:200;
}
ul.fac-menu > li.is-open > .fac-dd{
  opacity:1;visibility:visible;
  pointer-events:auto;z-index:400;
}
/* JS yoksa / henüz yüklenmediyse hover fallback (tek li — kardeş kuralı yok) */
ul.fac-menu:not(.is-js) > li:hover > .fac-dd,
ul.fac-menu:not(.is-js) > li:focus-within > .fac-dd{
  opacity:1;visibility:visible;
  pointer-events:auto;z-index:400;
}
/* Link ile panel arasındaki boşluğu kapatan görünmez hover köprüsü.
   z-index dropdown'ın altında — köprü tıklamayı yutmasın. */
ul.fac-menu > li.has-dd::after{content:"";position:absolute;left:0;right:0;top:100%;height:14px;z-index:1}
ul.fac-menu .fac-dd > li{list-style:none;position:relative}
ul.fac-menu .fac-dd li a{
  display:block;padding:9px 18px;color:#e7ecf6;text-decoration:none;
  font-size:13px;line-height:1.35;text-transform:none;font-weight:500;
  letter-spacing:normal;border-bottom:none;text-shadow:none;white-space:normal;
}
ul.fac-menu .fac-dd li a:hover{background:rgba(0,168,181,.16);color:#7fdbe3}

/* ---- 3. seviye (L2 → L3 yan flyout) ----
   Canlı: Program → Lisansüstü → Kamu Hukuku…  Bilgi Belge → Ders ve Krediler → … */
ul.fac-menu .fac-dd > li.has-sub{position:relative}
ul.fac-menu .fac-dd > li.has-sub > a{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
}
ul.fac-menu .fac-dd > li.has-sub > a .caret-sub{
  font-size:10px;color:var(--teal);opacity:.85;flex:0 0 auto;margin-left:8px;
}
ul.fac-menu .fac-dd-sub{
  position:absolute;left:100%;top:0;
  min-width:260px;margin:0;padding:8px 0;list-style:none;
  background:linear-gradient(180deg,#1a3f66 0%,#153351 100%);
  border:1px solid rgba(127,219,227,.22);
  border-radius:0 10px 10px 0;
  box-shadow:0 18px 40px rgba(2,10,24,.55);
  opacity:0;visibility:hidden;pointer-events:none;z-index:420;
}
/* Sağa taşmasın: son L1 / Diğer / sağa yaslı L1 / JS fly-left → sola aç */
ul.fac-menu > li:last-child .fac-dd-sub,
ul.fac-menu > .fac-more .fac-dd-sub,
ul.fac-menu > li.dd-align-right .fac-dd > li.has-sub > .fac-dd-sub,
ul.fac-menu .fac-dd > li.has-sub.fly-left > .fac-dd-sub{
  left:auto;right:100%;border-radius:10px 0 0 10px;
}
ul.fac-menu > li.dd-align-right .fac-dd > li.has-sub > a .caret-sub,
ul.fac-menu .fac-dd > li.has-sub.fly-left > a .caret-sub{
  transform:scaleX(-1);display:inline-block;
}
ul.fac-menu .fac-dd > li.has-sub:hover > .fac-dd-sub,
ul.fac-menu .fac-dd > li.has-sub:focus-within > .fac-dd-sub{
  opacity:1;visibility:visible;pointer-events:auto;
}
ul.fac-menu .fac-dd-sub li a{
  display:block;padding:9px 18px;color:#e7ecf6;text-decoration:none;
  font-size:13px;line-height:1.35;font-weight:500;white-space:normal;
}
ul.fac-menu .fac-dd-sub li a:hover{background:rgba(0,168,181,.16);color:#7fdbe3}

/* Son öğenin ve "Diğer"in dropdown'ı sağa yaslanır (viewport taşmasın) */
ul.fac-menu > li:last-child > .fac-dd,
ul.fac-menu > .fac-more > .fac-dd,
ul.fac-menu > li.dd-align-right > .fac-dd{left:auto;right:0;border-radius:0 0 10px 10px}

/* ---- "Diğer ▾" paneli ----
   Taşınan üst öğeler SABİT bölüm olur: başlık + altında hep açık çocuk
   listesi (iç içe hover YOK — hover'la açılan ikinci seviye menüye
   geçiş zordu). Panel uzarsa kendi içinde kayar. */
ul.fac-menu > .fac-more > .fac-dd{
  max-height:min(70vh,560px);overflow-y:auto;min-width:290px;
  /* İnce, zemine uyumlu scrollbar (Firefox) */
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.22) transparent;
}
/* İnce scrollbar (Chrome/Edge/Safari) — koyu zeminde silik, hover'da hafif belirgin */
ul.fac-menu > .fac-more > .fac-dd::-webkit-scrollbar{width:5px}
ul.fac-menu > .fac-more > .fac-dd::-webkit-scrollbar-track{background:transparent;margin:10px 0}
ul.fac-menu > .fac-more > .fac-dd::-webkit-scrollbar-thumb{background:rgba(255,255,255,.18);border-radius:99px}
ul.fac-menu > .fac-more > .fac-dd::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.32)}
.fac-more-list > li.fac-group + li.fac-group{border-top:1px solid rgba(255,255,255,.08);margin-top:4px;padding-top:4px}
.fac-more-list > li.fac-group > a{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:10px 18px 6px;color:#8fb3c9;font-size:11px;font-weight:700;
  text-transform:uppercase;letter-spacing:.08em;border-bottom:none;text-shadow:none;white-space:normal;
}
.fac-more-list > li.fac-group > a:hover{color:var(--teal)}
.fac-more-list > li.fac-group > a .caret{display:none}
/* Grubun çocukları: hep görünür, girintili.
   DİKKAT: genel .fac-dd kuralı pointer-events:none verir; burada mutlaka
   auto olmalı — yoksa "Diğer" altındaki linkler görünür ama tıklanamaz. */
.fac-more-list li.fac-group .fac-dd{
  position:static;opacity:1;visibility:visible;transform:none;
  box-shadow:none;border:0;border-radius:0;background:transparent;
  min-width:0;padding:0 0 6px;transition:none;max-height:none;overflow:visible;
  pointer-events:auto;
}
.fac-more-list li.fac-group .fac-dd li a{padding:7px 18px 7px 28px;pointer-events:auto}
.fac-more-list a{pointer-events:auto}
/* Diğer içinde 3. seviye: flyout yok — L2 altında hep açık, daha girintili */
.fac-more-list li.fac-group .fac-dd-sub{
  position:static;opacity:1;visibility:visible;transform:none;pointer-events:auto;
  box-shadow:none;border:0;border-radius:0;background:transparent;
  min-width:0;padding:0 0 4px;left:auto;right:auto;
}
.fac-more-list li.fac-group .fac-dd > li.has-sub > a .caret-sub{display:none}
.fac-more-list li.fac-group .fac-dd-sub li a{padding:6px 18px 6px 40px;font-size:12.5px;color:#c5d0e0}
.fac-more-list li.fac-group .fac-dd-sub li a:hover{color:#7fdbe3;background:rgba(0,168,181,.12)}

/* ---- Mobil: hamburger + kayan panel ---- */
.fac-burger{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:8px;margin-left:auto;color:var(--navy);z-index:210}
.fac-burger span{display:block;width:26px;height:3px;background:currentColor;border-radius:2px;transition:.25s}
.fac-burger.open span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.fac-burger.open span:nth-child(2){opacity:0}
.fac-burger.open span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
.fac-mobile{position:fixed;top:0;right:0;height:100%;width:min(86vw,340px);background:var(--navy);color:#fff;transform:translateX(100%);transition:transform .28s ease,box-shadow .28s ease;z-index:1000;overflow-y:auto;box-shadow:none;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.22) transparent}
.fac-mobile::-webkit-scrollbar{width:5px}
.fac-mobile::-webkit-scrollbar-track{background:transparent}
.fac-mobile::-webkit-scrollbar-thumb{background:rgba(255,255,255,.18);border-radius:99px}
.fac-mobile.open{transform:translateX(0);box-shadow:-12px 0 40px rgba(0,0,0,.4)}
.fac-mobile-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid rgba(255,255,255,.1)}
.fac-mobile-head strong{font-size:13px;text-transform:uppercase;letter-spacing:.03em;line-height:1.3}
.fac-mobile-close{background:none;border:0;color:#fff;font-size:20px;cursor:pointer;flex:0 0 auto}
.fac-mobile-quick{
  padding:14px 16px 12px;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.fac-mobile-quick__links{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.fac-mobile-quick__links .fac-topbar__btn{
  width:100%;
  min-width:0;
  max-width:100%;
  min-height:36px;
  padding:0 10px;
  font-size:11px;
  font-weight:600;
  border-radius:6px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  box-sizing:border-box;
}
.fac-mobile-quick__links .fac-topbar__btn--abu{
  background:#f4f6f9;
  color:var(--navy);
  border:1px solid #cfd8e3;
  box-shadow:none;
  gap:5px;
}
.fac-mobile-quick__links .fac-topbar__abu-icon{
  width:14px;
  height:14px;
  flex-shrink:0;
}
.fac-mobile-quick__links .fac-topbar__btn--ice{
  background:#00ABC8;
  color:#fff;
  border:0;
  box-shadow:none;
}
.fac-mobile-quick__links .fac-topbar__btn--ice:hover{background:#0097b0;color:#fff}
.fac-mobile-quick__links .fac-topbar__btn--aday{
  background:#F58220;
  color:#fff;
  border:0;
  box-shadow:none;
}
.fac-mobile-quick__links .fac-topbar__btn--aday:hover{background:#e07010;color:#fff}
.fac-mobile-quick__links .fac-topbar__btn--obs{
  background:var(--navy);
  color:#fff;
  border:0;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);
}
.fac-mobile-quick__links .fac-topbar__btn--obs:hover{background:#0a2038;color:#fff}
.fac-mobile-list{list-style:none;margin:0;padding:6px 0}
.fac-mobile-list > li{border-bottom:1px solid rgba(255,255,255,.06)}
.fac-mobile-list > li > a,.fac-mob-toggle{display:flex;justify-content:space-between;align-items:center;width:100%;padding:14px 20px;color:#fff;text-decoration:none;background:none;border:0;font-size:14px;font-weight:600;text-align:left;cursor:pointer;text-transform:uppercase;letter-spacing:.02em;font-family:inherit}
.fac-mob-toggle .pm{font-size:20px;font-weight:400;transition:.2s}
.fac-mob-toggle.open .pm{transform:rotate(45deg)}
.fac-mob-sub{list-style:none;margin:0;padding:0;max-height:0;overflow:hidden;transition:max-height .3s ease;background:rgba(0,0,0,.18)}
.fac-mob-sub.open{max-height:2000px}
.fac-mob-sub li a{display:block;padding:11px 30px;color:#cfd8ea;text-decoration:none;font-size:13.5px;border-top:1px solid rgba(255,255,255,.04)}
.fac-mob-sub li a:hover{color:var(--teal)}
.fac-mob-toggle--l2{padding:12px 20px 12px 30px;font-size:13px;font-weight:600;text-transform:none;letter-spacing:normal;color:#cfd8ea;border-top:1px solid rgba(255,255,255,.04)}
.fac-mob-sub--l3{background:rgba(0,0,0,.22)}
.fac-mob-sub--l3 li a{padding-left:44px;font-size:13px}
.fac-scrim{position:fixed;inset:0;background:rgba(4,9,22,.55);opacity:0;visibility:hidden;transition:.25s;z-index:999}
.fac-scrim.open{opacity:1;visibility:visible}
@media (max-width:1280px){
  ul.fac-menu{display:none}
  .fac-burger{display:flex}
}

/* ---- TR/EN dil switcher (beyaz header üzerinde lacivert) ---- */
.fac-lang{display:flex;align-items:center;gap:2px;flex:0 0 auto;margin-left:6px}
.fac-lang-link{color:rgba(14,42,71,.55);text-decoration:none;font-size:12px;font-weight:700;letter-spacing:.05em;padding:5px 8px;border-radius:6px;line-height:1;transition:color .2s,background .2s}
.fac-lang-link:hover{color:var(--navy)}
.fac-lang-link.is-active{color:#fff;background:var(--teal)}

/* ---- Masthead opsiyonel fon görseli (birim ayarı: sayfa_banner/hero_gorsel) ---- */
.page-masthead{overflow:hidden}
.page-masthead-img{position:absolute;inset:0;background-size:cover;background-position:center 30%;opacity:.22}
.page-masthead::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--navy) 25%,rgba(14,42,71,.72) 65%,rgba(14,42,71,.5) 100%);pointer-events:none}
.page-masthead .container{z-index:2}

/* ---- İç sayfa gövdesi + içerik kartı ---- */
main.fac-inner{min-height:50vh;background:var(--bg);padding-bottom:60px}
.fac-card{background:#fff;padding:32px;border-radius:14px;border:1px solid var(--line);margin-top:-24px;position:relative;display:flow-root}
/* display:flow-root → legacy içerikteki float'lı (align="left") tablo/görseli kart içinde tutar */
.fac-content{line-height:1.7;color:#2a3345;display:flow-root;max-width:100%;overflow-x:clip}
.fac-content img{max-width:100%;height:auto;border-radius:8px}
.fac-content h2,.fac-content h3{color:var(--ink);margin:18px 0 10px}
.fac-content table{max-width:100%;border-collapse:collapse}
.fac-content table[align]{float:none;margin-left:0;margin-right:0}
.fac-content td,.fac-content th{border:1px solid #e3e8f0;padding:8px}

/* Word / göç tabloları — EN akademik takvim buton layout'u (inline mavi btn) HARİÇ */
.fac-content table:not(:has(a [style*="0d6efd"])){
  width:100% !important;max-width:100% !important;
  margin:20px 0 28px;border-spacing:0;table-layout:fixed;
  border:1px solid var(--line) !important;border-radius:10px;
  overflow:hidden;
}
.fac-content table:not(:has(a [style*="0d6efd"])) td,
.fac-content table:not(:has(a [style*="0d6efd"])) th{
  border:1px solid #e6ebf1 !important;padding:11px 14px !important;
  vertical-align:top;line-height:1.5;color:#4a5a6a;
  word-break:normal;overflow-wrap:break-word;height:auto !important;
}
.fac-content table:not(:has(a [style*="0d6efd"]))>tbody>tr:first-child>td[colspan]{
  background:var(--navy) !important;color:#fff !important;
  text-align:center !important;font-weight:700;
}
.fac-content table:not(:has(a [style*="0d6efd"]))>tbody>tr:first-child>td[colspan] *{
  color:#fff !important;
}
.fac-content table:not(:has(a [style*="0d6efd"])) thead th,
.fac-content table:not(:has(a [style*="0d6efd"])) thead td,
.fac-content table:not(:has(a [style*="0d6efd"]))>tbody>tr:first-child:not(:has(td[colspan]))>td{
  background:#f4f6f9 !important;color:var(--navy) !important;font-weight:700;
}
.fac-content table:not(:has(a [style*="0d6efd"]))>tbody>tr:nth-child(even)>td:not([colspan]){
  background:#fafbfc !important;
}
.fac-content table:not(:has(a [style*="0d6efd"]))>tbody>tr:hover>td:not([colspan]){
  background:#f0f9fa !important;
}
.fac-content table:not(:has(a [style*="0d6efd"])) td p,
.fac-content table:not(:has(a [style*="0d6efd"])) td span,
.fac-content table:not(:has(a [style*="0d6efd"])) td li{
  font-size:14px !important;line-height:1.5 !important;margin:0 0 4px !important;
}
.fac-content table:not(:has(a [style*="0d6efd"])) td p:last-child{margin-bottom:0 !important}
.fac-content table:not(:has(a [style*="0d6efd"])) a{color:#0066b3;text-decoration:none}
.fac-content table:not(:has(a [style*="0d6efd"])) a:hover{color:var(--teal);text-decoration:underline}
.fac-content table:not(:has(a [style*="0d6efd"]))[width],
.fac-content table:not(:has(a [style*="0d6efd"]))[style*="width"],
.fac-content table:not(:has(a [style*="0d6efd"])) td[width],
.fac-content table:not(:has(a [style*="0d6efd"])) th[width],
.fac-content table:not(:has(a [style*="0d6efd"])) td[style*="width"],
.fac-content table:not(:has(a [style*="0d6efd"])) th[style*="width"]{
  width:auto !important;max-width:100% !important;
}
.fac-content table:not(:has(a [style*="0d6efd"])) col,
.fac-content table:not(:has(a [style*="0d6efd"])) colgroup col{width:auto !important}

/* PDF akademik takvim indeksi (TR+EN aynı şablon — fakülte teması) */
.fac-content table:has(a [style*="0d6efd"]){
  width:100%;border:none;box-shadow:none;margin:20px 0;border-collapse:separate;border-spacing:0;
}
.fac-content table:has(a [style*="0d6efd"]) td,
.fac-content table:has(a [style*="0d6efd"]) th{
  border:none !important;background:transparent !important;
  padding:0 12px 24px !important;vertical-align:top;
}
.fac-content table:has(a [style*="0d6efd"]) td>p:first-child{
  font-size:20px;font-weight:700;text-align:center;color:var(--navy);
  margin:0 0 16px !important;
}
.fac-content table:has(a [style*="0d6efd"]) a{display:block;text-decoration:none;margin:0 0 12px}
.fac-content table:has(a [style*="0d6efd"]) a span[style]{
  display:block !important;width:100% !important;
  padding:13px 16px !important;font-size:14px !important;font-weight:600 !important;
  line-height:1.45 !important;text-align:center !important;
  color:#fff !important;background:var(--navy) !important;
  border:1px solid var(--navy) !important;border-radius:10px !important;
  transition:background .2s,border-color .2s;
}
.fac-content table:has(a [style*="0d6efd"]) a:hover span[style]{
  background:var(--teal) !important;border-color:var(--teal) !important;
}
@media(max-width:768px){
  .fac-content table:has(a [style*="0d6efd"]) tr{display:block}
  .fac-content table:has(a [style*="0d6efd"]) td{display:block;width:100% !important}
}

/* ---- Yukarı çık butonu ---- */
.fac-top{position:fixed;right:22px;bottom:22px;width:42px;height:42px;border-radius:50%;border:1px solid rgba(14,42,71,.12);background:var(--teal);color:#fff;cursor:pointer;align-items:center;justify-content:center;z-index:500;transition:background .2s}
.fac-top:hover{background:var(--teal-dark)}
