﻿
/* ═══════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════ */
:root {
  --red:        #C70202;
  --red-dark:   #9E0101;
  --red-light:  #F9ECEC;
  --red-mid:    #E8B4B4;

  --ink:        #0F0F0F;
  --ink-80:     #2A2A2A;
  --ink-60:     #555555;
  --ink-40:     #888888;
  --ink-20:     #BBBBBB;
  --ink-08:     #EBEBEB;
  --ink-04:     #F5F5F4;

  --white:      #FFFFFF;
  --cream:      #FAFAF8;

  --font-display: 'Libre Baskerville', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  14px;
  --radius-xl:  20px;

  --shadow-xs:  0 1px 3px rgba(0,0,0,.06);
  --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.12);

  --nav-h:      64px;
  --container:  1200px;
  --gap:        24px;
}

/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ═══════════════════════════════════════
   UTILITIES
═══════════════════════════════════════ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.tag {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 500; letter-spacing: .04em;
  padding: 3px 10px; border-radius: 20px;
  text-transform: uppercase;
}
.tag--red    { background: var(--red-light); color: var(--red-dark); }
.tag--gray   { background: var(--ink-08); color: var(--ink-60); }
.tag--green  { background: #EAFBF2; color: #12703A; }
.tag--blue   { background: #EBF3FF; color: #1A50A0; }
.tag--amber  { background: #FEF5E4; color: #8A5500; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  padding: 10px 22px; border-radius: var(--radius-md);
  transition: all .18s ease; cursor: pointer; white-space: nowrap;
}
.btn--primary {
  background: var(--red); color: var(--white);
  box-shadow: 0 2px 12px rgba(199,2,2,.25);
}
.btn--primary:hover { background: var(--red-dark); box-shadow: 0 4px 18px rgba(199,2,2,.35); transform: translateY(-1px); }
.btn--outline {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink-20);
}
.btn--outline:hover { border-color: var(--ink-60); background: var(--ink-04); }
.btn--outline-white {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,.45);
}
.btn--outline-white:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); }
.btn--sm { font-size: 13px; padding: 7px 16px; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--gray { background: var(--ink-04); }
.section--cream { background: var(--cream); }

.section-header { margin-bottom: 40px; }
.section-header__eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 10px; display: block;
}
.section-header__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700; line-height: 1.2;
  color: var(--ink);
}
.section-header__sub {
  font-size: 16px; color: var(--ink-60); margin-top: 10px;
  max-width: 720px;
}
.section-header--row {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 24px;
}

/* ═══════════════════════════════════════
   PAGE NAV (top bar for switching pages)
═══════════════════════════════════════ */
.page-switcher {
  background: var(--ink); color: var(--white);
  padding: 0; position: sticky; top: 0; z-index: 300;
  display: flex; align-items: stretch;
}
.page-switcher__label {
  font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
  color: rgba(255,255,255,.4); padding: 0 16px; display: flex; align-items: center;
  border-right: 1px solid rgba(255,255,255,.1);
}
.page-switcher__tabs { display: flex; }
.page-switcher__tab {
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.55);
  padding: 10px 20px; transition: all .15s; position: relative; cursor: pointer;
  border: none; background: none; font-family: inherit;
}
.page-switcher__tab:hover { color: var(--white); }
.page-switcher__tab.active {
  color: var(--white);
  background: rgba(255,255,255,.07);
}
.page-switcher__tab.active::after {
  content: ''; position: absolute; bottom: 0; left: 20px; right: 20px;
  height: 2px; background: var(--red); border-radius: 2px 2px 0 0;
}

.page { display: none; }
.page.active { display: block; }

/* ═══════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--ink-08);
  position: sticky; top: 41px; z-index: 100;
  box-shadow: var(--shadow-xs);
}
.header-inner {
  display: flex; align-items: center;
  height: var(--nav-h); gap: 0;
}

.logo {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0; margin-right: 40px;
}
.logo__crest {
  width: 42px; height: 42px;
  background: var(--red);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo__crest svg { width: 26px; height: 26px; }
.logo__text-wrap { line-height: 1.2; }
.logo__name {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700; color: var(--ink);
  display: block;
}
.logo__sub {
  font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-40); display: block;
}

.main-nav { flex: 1; }
.main-nav__list { display: flex; align-items: center; gap: 2px; }
.main-nav__item { position: relative; }
.main-nav__link {
  font-size: 14px; font-weight: 500; color: var(--ink-60);
  padding: 8px 14px; border-radius: var(--radius-sm);
  transition: all .15s; display: block; white-space: nowrap;
}
.main-nav__link:hover { color: var(--ink); background: var(--ink-04); }
.main-nav__link.active { color: var(--red); }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.lang-switch {
  font-size: 13px; font-weight: 500; color: var(--ink-60);
  padding: 6px 10px; border-radius: var(--radius-sm);
  border: 1px solid var(--ink-08); transition: all .15s;
  display: flex; align-items: center; gap: 5px;
  background: var(--cream);
}
.lang-switch:hover { border-color: var(--ink-20); color: var(--ink); background: var(--white); }

.search-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink-08);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-60); transition: all .15s; background: var(--cream);
}
.search-btn:hover { border-color: var(--ink-20); color: var(--ink); background: var(--white); }
.search-btn svg { width: 16px; height: 16px; }

.services-btn {
  font-size: 13px; font-weight: 600; color: var(--white);
  padding: 7px 16px; border-radius: var(--radius-sm);
  background: var(--red);
  display: flex; align-items: center; gap: 6px;
  transition: all .15s;
}
.services-btn:hover { background: var(--red-dark); }
.services-btn svg { width: 14px; height: 14px; }

.mobile-menu-btn {
  display: none; width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink-08); background: var(--cream);
  color: var(--ink-60);
}

/* ═══════════════════════════════════════
   HERO — HOMEPAGE
═══════════════════════════════════════ */
.hero {
  background: var(--ink);
  position: relative; overflow: hidden;
  min-height: 580px; display: flex; align-items: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(199,2,2,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(199,2,2,.08) 0%, transparent 70%);
}
.hero__grid-lines {
  position: absolute; inset: 0; opacity: .04;
  background-image:
    linear-gradient(var(--white) 1px, transparent 1px),
    linear-gradient(90deg, var(--white) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero__container {
  position: relative; z-index: 2;
  max-width: var(--container); margin: 0 auto; padding: 80px 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero__eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--red-mid);
  margin-bottom: 18px; display: flex; align-items: center; gap: 10px;
}
.hero__eyebrow::before {
  content: ''; width: 24px; height: 2px;
  background: var(--red); border-radius: 1px; display: block;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1; font-weight: 700; color: var(--white);
  margin-bottom: 20px;
}
.hero__title em { color: var(--red-mid); font-style: italic; }
.hero__sub {
  font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.65);
  margin-bottom: 36px; max-width: 440px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  border-radius: var(--radius-xl); overflow: hidden;
}
.hero__stat {
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(10px);
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,.06);
  transition: background .2s;
}
.hero__stat:hover { background: rgba(255,255,255,.085); }
.hero__stat-num {
  font-family: var(--font-display);
  font-size: 38px; font-weight: 700; color: var(--white);
  line-height: 1; margin-bottom: 6px;
}
.hero__stat-num span { font-size: 22px; color: var(--red-mid); }
.hero__stat-label { font-size: 13px; color: rgba(255,255,255,.5); font-weight: 400; }

/* ═══════════════════════════════════════
   QUICK ACCESS
═══════════════════════════════════════ */
.quick-access { background: var(--white); padding: 0; }
.qa-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--ink-08);
}
.qa-card {
  padding: 28px 28px 30px;
  border-right: 1px solid var(--ink-08);
  display: flex; flex-direction: column; gap: 14px;
  transition: background .18s; cursor: pointer; position: relative;
}
.qa-card:last-child { border-right: none; }
.qa-card:hover { background: var(--cream); }
.qa-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.qa-card:hover::after { transform: scaleX(1); }
.qa-card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.qa-card__icon svg { width: 24px; height: 24px; }
.qa-card__icon--amber { background: #FEF5E4; color: #8A5500; }
.qa-card__icon--teal  { background: #E3F8F2; color: #0B6652; }
.qa-card__icon--blue  { background: #EBF3FF; color: #1A50A0; }
.qa-card__icon--red   { background: var(--red-light); color: var(--red-dark); }
.qa-card__title {
  font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 3px;
}
.qa-card__sub { font-size: 13px; color: var(--ink-60); line-height: 1.45; }
.qa-card__arrow {
  margin-top: auto; font-size: 13px; color: var(--red); font-weight: 500;
  display: flex; align-items: center; gap: 5px;
}

/* ═══════════════════════════════════════
   NEWS SECTION
═══════════════════════════════════════ */
.news-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--gap); }

.news-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-xs);
  border: 1px solid var(--ink-08);
  transition: all .22s ease; display: flex; flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.news-card--featured { grid-row: span 2; }

.news-card__img {
  aspect-ratio: 16/10; background: var(--ink-08);
  position: relative; overflow: hidden;
}
.news-card--featured .news-card__img { aspect-ratio: 4/3; }
.news-card__img-inner {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.news-card:hover .news-card__img-inner { transform: scale(1.04); }

/* SVG placeholder images */
.img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.img-ph-1 { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
.img-ph-2 { background: linear-gradient(135deg, #2d1b2e 0%, #4a1942 60%, #6b2d5e 100%); }
.img-ph-3 { background: linear-gradient(135deg, #0d2137 0%, #1a3a5c 50%, #2e5f82 100%); }
.img-ph-4 { background: linear-gradient(135deg, #1e3a1e 0%, #2d5a2d 50%, #3d7a3d 100%); }
.img-ph-5 { background: linear-gradient(135deg, #2e1a0d 0%, #5a3520 50%, #8a5230 100%); }
.img-ph-6 { background: linear-gradient(135deg, #1a0d2e 0%, #2d1b4a 50%, #4a2e6b 100%); }

.img-placeholder svg { width: 40px; height: 40px; opacity: .25; }

.news-card__body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.news-card__meta { display: flex; align-items: center; gap: 8px; }
.news-card__date { font-size: 12px; color: var(--ink-40); }
.news-card__title {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--ink);
}
.news-card--sm .news-card__title { font-size: 15px; }
.news-card__excerpt { font-size: 14px; color: var(--ink-60); line-height: 1.6; }
.news-card__link {
  font-size: 13px; font-weight: 500; color: var(--red);
  display: flex; align-items: center; gap: 5px;
  margin-top: auto; padding-top: 8px;
  transition: gap .15s;
}
.news-card:hover .news-card__link { gap: 8px; }

/* ═══════════════════════════════════════
   PROJECTS STRIP
═══════════════════════════════════════ */
.projects-strip { background: var(--ink); overflow: hidden; }
.projects-strip .section-header__eyebrow { color: var(--red-mid); }
.projects-strip .section-header__title { color: var(--white); }
.projects-strip .section-header__sub { color: rgba(255,255,255,.55); }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.project-card {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg); padding: 24px;
  transition: all .22s ease; cursor: pointer;
}
.project-card:hover { background: rgba(255,255,255,.09); border-color: rgba(199,2,2,.4); transform: translateY(-2px); }
.project-card__badge {
  font-size: 10px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--red-mid);
  margin-bottom: 12px; display: flex; align-items: center; gap: 6px;
}
.project-card__badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); display: block; flex-shrink: 0;
}
.project-card__title {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700; color: var(--white);
  line-height: 1.35; margin-bottom: 10px;
}
.project-card__desc { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.6; margin-bottom: 16px; }
.project-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid rgba(255,255,255,.07);
}
.project-card__partner { font-size: 12px; color: rgba(255,255,255,.35); }
.project-card__link { font-size: 12px; font-weight: 500; color: var(--red-mid); }

/* ═══════════════════════════════════════
   EVENTS STRIP
═══════════════════════════════════════ */
.events-list { display: flex; flex-direction: column; gap: 2px; }
.event-row {
  display: grid; grid-template-columns: 64px 1fr auto;
  align-items: center; gap: 20px;
  padding: 18px 20px; background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--ink-08);
  transition: all .18s; cursor: pointer;
}
.event-row:hover { border-color: var(--red-mid); box-shadow: var(--shadow-sm); }
.event-date {
  text-align: center; background: var(--red-light);
  border-radius: var(--radius-sm); padding: 8px 4px;
}
.event-date__day { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--red-dark); line-height: 1; }
.event-date__month { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.event-info__title { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.event-info__meta { font-size: 13px; color: var(--ink-60); display: flex; gap: 12px; }
.event-tag-wrap { display: flex; align-items: center; }

/* ═══════════════════════════════════════
   HERO — INNER PAGES
═══════════════════════════════════════ */
.page-hero {
  background: var(--ink); padding: 36px 0 38px;
  position: relative; overflow: hidden;
}
.page-hero.page-hero--compact { padding: 24px 0 26px; }
.page-hero::after {
  content: ''; position: absolute; right: -100px; top: -80px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(199,2,2,.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero__breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.4);
  margin-bottom: 20px;
}
.page-hero__breadcrumb a { color: rgba(255,255,255,.4); transition: color .15s; }
.page-hero__breadcrumb a:hover { color: rgba(255,255,255,.8); }
.page-hero__breadcrumb span { color: rgba(255,255,255,.2); }
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; color: var(--white);
  line-height: 1.15; margin-bottom: 14px;
  position: relative; z-index: 1;
}
.page-hero__sub {
  font-size: 16px; color: rgba(255,255,255,.6);
  max-width: 560px; line-height: 1.6;
  position: relative; z-index: 1;
}

/* ═══════════════════════════════════════
   FILTERS BAR
═══════════════════════════════════════ */
.filters-bar {
  background: var(--white);
  border-bottom: 1px solid var(--ink-08);
  padding: 16px 0; position: sticky;
  top: calc(41px + var(--nav-h)); z-index: 90;
  box-shadow: var(--shadow-xs);
}
.filters-inner {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.filter-label { font-size: 13px; font-weight: 600; color: var(--ink-60); white-space: nowrap; }
.filter-pills { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.filter-pill {
  font-size: 13px; font-weight: 500;
  padding: 6px 14px; border-radius: 20px;
  border: 1.5px solid var(--ink-08);
  color: var(--ink-60); background: var(--white);
  cursor: pointer; transition: all .15s; white-space: nowrap;
}
.filter-pill:hover { border-color: var(--ink-20); color: var(--ink); }
.filter-pill.active {
  background: var(--red); color: var(--white);
  border-color: var(--red);
}
.filter-count {
  font-size: 13px; color: var(--ink-60); white-space: nowrap;
  margin-left: auto; font-weight: 500;
}
.filter-count strong { color: var(--ink); }

/* Search within page */
.search-bar-wrap { padding: 24px 0 0; }
.search-bar {
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
  border: 1.5px solid var(--ink-08);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  transition: border-color .18s;
  max-width: 600px;
}
.search-bar:focus-within { border-color: var(--red-mid); }
.search-bar svg { width: 18px; height: 18px; color: var(--ink-40); flex-shrink: 0; }
.search-bar input {
  flex: 1; border: none; outline: none;
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: transparent;
}
.search-bar input::placeholder { color: var(--ink-40); }

/* ═══════════════════════════════════════
   PROGRAM CARDS
═══════════════════════════════════════ */
.programs-layout {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 32px; align-items: start;
}
.sidebar {
  position: sticky; top: calc(41px + var(--nav-h) + 73px);
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--ink-08); overflow: hidden;
}
.sidebar__section {
  padding: 18px 20px;
  border-bottom: 1px solid var(--ink-08);
}
.sidebar__section:last-child { border-bottom: none; }
.sidebar__title { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 12px; letter-spacing: .01em; }
.sidebar__option {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-60);
  padding: 5px 0; cursor: pointer; transition: color .15s;
}
.sidebar__option:hover { color: var(--ink); }
.sidebar__option input[type="checkbox"] { accent-color: var(--red); width: 14px; height: 14px; }
.sidebar__option.active { color: var(--ink); font-weight: 500; }
.sidebar__count { margin-left: auto; font-size: 12px; color: var(--ink-40); }

.programs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }

.program-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--ink-08);
  transition: all .22s ease; display: flex; flex-direction: column;
  overflow: hidden; box-shadow: var(--shadow-xs);
}
.program-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--red-mid); }
.program-card__top {
  background: var(--ink-04); padding: 20px 22px 18px;
  border-bottom: 1px solid var(--ink-08);
  display: flex; align-items: flex-start; justify-content: space-between;
}
.program-card__icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.program-card__body { padding: 18px 22px 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.program-card__faculty { font-size: 12px; color: var(--ink-60); font-weight: 500; }
.program-card__title {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.3;
}
.program-card__desc { font-size: 13px; color: var(--ink-60); line-height: 1.6; }
.program-card__meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-top: 10px; border-top: 1px solid var(--ink-08); margin-top: auto;
}
.program-meta-item {
  font-size: 12px; color: var(--ink-60);
  display: flex; align-items: center; gap: 4px;
}
.program-meta-item strong { color: var(--ink); font-weight: 600; }
.program-card__footer {
  padding: 12px 22px; background: var(--ink-04);
  border-top: 1px solid var(--ink-08);
  display: flex; align-items: center; justify-content: space-between;
}
.program-card__cta { font-size: 13px; font-weight: 600; color: var(--red); }
.program-card__quota { font-size: 12px; color: var(--ink-60); }

/* ═══════════════════════════════════════
   ERASMUS / PROJECTS PAGE
═══════════════════════════════════════ */
.erasmus-intro {
  background: var(--white); padding: 40px 0 0;
}
.erasmus-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-bottom: 0;
}
.e-stat {
  padding: 24px; border-radius: var(--radius-lg);
  background: var(--cream); border: 1px solid var(--ink-08);
  text-align: center;
}
.e-stat__num {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 700; color: var(--red);
  line-height: 1; margin-bottom: 6px;
}
.e-stat__label { font-size: 13px; color: var(--ink-60); }

.partner-section { background: var(--ink-04); }
.partner-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.partner-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--ink-08);
  padding: 24px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: all .22s ease; cursor: pointer; text-align: center;
}
.partner-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--red-mid); }
.partner-logo {
  width: 64px; height: 64px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; letter-spacing: .03em;
}
.partner-name { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.partner-country { font-size: 12px; color: var(--ink-60); }
.partner-type { }

.eu-projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.eu-project-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--ink-08); overflow: hidden;
  box-shadow: var(--shadow-xs); transition: all .22s ease;
}
.eu-project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.eu-project-card__header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--ink-08);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.eu-project-card__body { padding: 18px 24px 20px; }
.eu-project-card__title {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.3;
}
.eu-project-card__id { font-size: 12px; color: var(--ink-40); margin-top: 4px; }
.eu-project-card__desc { font-size: 14px; color: var(--ink-60); line-height: 1.65; margin-bottom: 16px; }
.eu-project-card__details {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; padding-top: 16px;
  border-top: 1px solid var(--ink-08);
}
.eu-detail__label { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-40); margin-bottom: 3px; }
.eu-detail__value { font-size: 14px; font-weight: 600; color: var(--ink); }

/* Mobility strip */
.mobility-cta {
  background: var(--red); padding: 60px 0; text-align: center;
}
.mobility-cta__title {
  font-family: var(--font-display);
  font-size: 34px; font-weight: 700; color: var(--white);
  margin-bottom: 12px;
}
.mobility-cta__sub { font-size: 17px; color: rgba(255,255,255,.7); margin-bottom: 32px; }
.mobility-cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer { background: var(--ink-80); padding: 56px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand__name {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700; color: var(--white);
}
.footer-brand__desc { font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.65; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: all .15s; color: rgba(255,255,255,.5);
}
.footer-social:hover { background: rgba(255,255,255,.12); color: var(--white); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col__title {
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-col__list { display: flex; flex-direction: column; gap: 10px; }
.footer-col__link {
  font-size: 14px; color: rgba(255,255,255,.6);
  transition: color .15s;
}
.footer-col__link:hover { color: var(--white); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; flex-wrap: wrap; gap: 12px;
}
.footer-bottom__copy { font-size: 13px; color: rgba(255,255,255,.3); }
.footer-bottom__links { display: flex; gap: 20px; }
.footer-bottom__link { font-size: 13px; color: rgba(255,255,255,.3); transition: color .15s; }
.footer-bottom__link:hover { color: rgba(255,255,255,.6); }

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .5s ease both; }
.fade-up-1 { animation-delay: .05s; }
.fade-up-2 { animation-delay: .12s; }
.fade-up-3 { animation-delay: .19s; }
.fade-up-4 { animation-delay: .26s; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__container { grid-template-columns: 1fr; gap: 40px; }
  .hero__stats { grid-template-columns: repeat(4, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card--featured { grid-column: span 2; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; display: flex; flex-wrap: wrap; gap: 0; }
  .sidebar__section { flex: 1 1 200px; }
  .erasmus-stats { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .eu-projects-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 56px; }
  .section { padding: 56px 0; }
  .main-nav, .header-actions .lang-switch, .header-actions .search-btn { display: none; }
  .mobile-menu-btn { display: flex; }
  .qa-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .news-card--featured { grid-column: auto; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .eu-project-card__details { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-switcher__tabs { overflow-x: auto; }
}

@media (max-width: 480px) {
  .qa-grid { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; }
  .erasmus-stats { grid-template-columns: 1fr 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ═══════════════════════════════════════
   CMS ADDITIONS — Phase 6
═══════════════════════════════════════ */

/* Logo image (real logo replaces SVG crest) */
.logo__crest {
  overflow: visible;
  background: transparent !important;
  border-radius: 0 !important;
}
.logo__crest img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

/* News detail page content */
.news-content h1, .news-content h2, .news-content h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 1.8em 0 .6em;
  line-height: 1.3;
}
.news-content h2 { font-size: 26px; }
.news-content h3 { font-size: 20px; }
.news-content p  { margin: 0 0 1.4em; }
.news-content a  { color: var(--red); }
.news-content blockquote {
  border-left: 3px solid var(--red);
  background: var(--red-light);
  padding: 16px 20px; margin: 1.5em 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
}
.news-content img {
  max-width: 100%; border-radius: var(--radius-md); margin: 1em 0;
}
.news-content ul, .news-content ol {
  padding-left: 1.5em; margin: 0 0 1.4em;
}
.news-content li { margin-bottom: .5em; }

/* TinyMCE editor in admin — remove any site.css interference */
.tox-tinymce { border-radius: var(--radius-md) !important; }




/* ── Mobile Panel ── */
.mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: white;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 40px rgba(0,0,0,.2);
  overflow-y: auto;
}
.mobile-panel.open { transform: translateX(0); }

.mobile-panel__header {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: #000000;
  border-bottom: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* -- Final z-index fix -- */
#mobileMenuOverlay { z-index: 1500 !important; }
.mobile-panel { z-index: 1600 !important; }

/* -- Sticky fix - measure actual heights -- */
@media (max-width: 900px) {
  .page-switcher {
    position: sticky !important;
    top: 0 !important;
    z-index: 300 !important;
  }
  .site-header {
    position: sticky !important;
    top: var(--switcher-h, 48px) !important;
    z-index: 299 !important;
  }
}

/* -- News mobile fix -- */
@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr !important;
    grid-template-areas: none !important;
  }
  .news-card--featured {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}

/* =============================================
   CONTENT TABLES - Responsive (DO NOT REMOVE)
   ============================================= */

.content-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
    border-radius: 6px;
}

.content-table-wrapper table {
    min-width: 600px;
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.content-table-wrapper th,
.content-table-wrapper td {
    padding: 12px 14px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

.content-table-wrapper thead th {
    position: sticky;
    top: 0;
    background: #f4f4f4;
    font-weight: 700;
    z-index: 2;
    border-bottom: 2px solid var(--red, #CC1B1B);
}

.content-table-wrapper tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.content-table-wrapper tbody tr:hover {
    background-color: #f0f0f0;
}

@media (max-width: 768px) {
    .content-table-wrapper table {
        min-width: 480px;
    }
    .content-table-wrapper th,
    .content-table-wrapper td {
        padding: 10px 12px;
        font-size: 0.88rem;
    }
}

/* news-detail overflow fix (DO NOT REMOVE) */
.news-detail,
.news-detail__layout,
.news-detail__body {
    overflow: visible !important;
}

/* news-table-wrap alias (DO NOT REMOVE) */
.news-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
    width: 100%;
    margin: 20px 0;
}
.news-table-wrap table {
    min-width: 600px;
    width: 100%;
    border-collapse: collapse;
}

/* ═══════════════════════════════════════════════════════
   FACULTY DIRECTORY & HOMEPAGE PREVIEW
   Added March 2026
   ═══════════════════════════════════════════════════════ */

/* ── Homepage Faculty Preview ── */
.home-faculties {
    padding: 5rem 2rem;
    background: var(--white);
    border-top: 1px solid var(--ink-08);
}
.home-faculties__inner  { max-width: 1200px; margin: 0 auto; }
.home-faculties__header {
    display: flex; align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.5rem; gap: 1rem; flex-wrap: wrap;
}
.home-faculties__eyebrow {
    font-size: .8rem; letter-spacing: .08em;
    text-transform: uppercase; color: var(--red); margin: 0 0 .3rem;
}
.home-faculties__title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700; color: var(--ink); margin: 0;
}
.home-faculties__all-link {
    display: inline-flex; align-items: center; gap: .4rem;
    color: var(--red); font-weight: 600; font-size: .9rem;
    text-decoration: none; white-space: nowrap; transition: gap .2s;
}
.home-faculties__all-link:hover { gap: .65rem; }
.home-faculties__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1px;
    border: 1px solid var(--ink-08);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--ink-08);
}
.home-faculty-item {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: var(--white);
    text-decoration: none; color: var(--ink);
    transition: background .15s;
}
.home-faculty-item:hover { background: var(--cream); }
.home-faculty-item__icon {
    width: 44px; height: 44px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--ink-04); border-radius: var(--radius-sm); overflow: hidden;
}
.home-faculty-item__icon img  { width: 36px; height: 36px; object-fit: contain; }
.home-faculty-item__icon i    { font-size: 1.4rem; color: var(--ink-40); }
.home-faculty-item__text {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column; gap: .2rem;
}
.home-faculty-item__text strong {
    font-size: .95rem; font-weight: 600; color: var(--ink);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.home-faculty-item__text span {
    font-size: .8rem; color: var(--ink-40);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.home-faculty-item__arrow {
    color: var(--ink-40); font-size: 1rem; flex-shrink: 0;
    transition: color .15s, transform .15s;
}
.home-faculty-item:hover .home-faculty-item__arrow {
    color: var(--red); transform: translateX(3px);
}
.home-faculties__footer-link { text-align: center; margin-top: 2rem; }
.home-faculties__btn-outline {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .65rem 1.5rem;
    border: 2px solid var(--red); color: var(--red);
    font-weight: 600; font-size: .9rem;
    border-radius: var(--radius-md);
    text-decoration: none; transition: background .15s, color .15s;
}
.home-faculties__btn-outline:hover { background: var(--red); color: var(--white); }

@media (max-width: 768px) {
    .home-faculties          { padding: 3rem 1.25rem; }
    .home-faculties__grid    { grid-template-columns: 1fr; }
    .home-faculties__header  { flex-direction: column; align-items: flex-start; }
}

/* ── Faculty Preview (Homepage) ───────────────────────── */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.faculty-card {
  background: var(--white, #fff);
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-xs, 0 1px 3px rgba(0,0,0,0.08));
  transition: box-shadow 0.2s, transform 0.2s;
}
.faculty-card:hover {
  box-shadow: var(--shadow-sm, 0 4px 12px rgba(0,0,0,0.12));
  transform: translateY(-2px);
}
.faculty-card__img {
  height: 160px;
  overflow: hidden;
  background: var(--ink);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faculty-card__img > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.faculty-card__img .faculty-card__logo-wrap {
  position: relative;
  z-index: 1;
}
.faculty-card__logo-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faculty-card__logo-wrap > img {
  max-height: 80px;
  max-width: 80%;
  object-fit: contain;
}
.faculty-card__logo-wrap > .bi {
  font-size: 2.5rem;
  color: var(--ink-40, #6b7280);
}
.faculty-card__body {
  padding: 1rem 1.25rem;
}
.faculty-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink, #1A1F2E);
  margin: 0 0 0.35rem;
  line-height: 1.3;
}
.faculty-card__desc {
  font-size: 0.85rem;
  color: var(--ink-40, #6b7280);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 900px) {
  .faculty-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .faculty-grid { grid-template-columns: 1fr; }
  .faculty-card__img { height: 140px; }
}


/* ── Faculty Card — Approved Design (merged below) ── */

/* Icon ring (homepage preview) */
.faculty-card__icon-ring {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.15);
    position: relative; z-index: 1;
}
.faculty-card__icon-inner {
    width: 32px; height: 32px; border-radius: 50%;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.25s ease, opacity 0.25s ease;
    opacity: 0.88;
}
.faculty-card:hover .faculty-card__icon-inner {
    transform: scale(1.08);
    opacity: 1;
}

/* Meta info (program count) */
.faculty-card__meta {
    display: flex; flex-wrap: wrap; gap: 12px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 0.5px solid var(--ink-08, rgba(0,0,0,0.08));
}
.faculty-card__meta-item {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.78rem;
    color: var(--ink-40, #6b7280);
}
.faculty-card__meta-item svg { flex-shrink: 0; }

/* CTA link (homepage preview) */
.faculty-card__cta {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.85rem; font-weight: 600;
    color: var(--red, #CC1B1B);
    margin-top: 12px;
}
.faculty-card__cta svg {
    transition: transform 0.25s ease;
}
.faculty-card:hover .faculty-card__cta svg {
    transform: translateX(3px);
}

/* ===== V2 CREST STATEMENT OVERRIDE =====
   I fundit ne skedar - shkon mbi te gjitha regullat e meparshme
   ========================================= */

/* Hero layout — 2 kolona me shume hapesire per content */
section.hero .hero__container {
  grid-template-columns: 1.15fr 1fr !important;
  gap: 72px;
}

/* Hero stats — inline horizontal (jo grid card) */
section.hero .hero__stats {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 40px !important;
  padding: 20px 0 !important;
  margin: 0 0 32px 0 !important;
  border-top: 1px solid rgba(255,255,255,.1) !important;
  border-bottom: 1px solid rgba(255,255,255,.1) !important;
  background: transparent !important;
  border-radius: 0 !important;
  grid-template-columns: none !important;
  max-width: 600px;
  overflow: visible !important;
}

/* Hero stat - pa background, pa card */
section.hero .hero__stat {
  background: transparent !important;
  backdrop-filter: none !important;
  border: none !important;
  padding: 0 !important;
  min-width: 80px;
  flex: 0 0 auto;
}
section.hero .hero__stat:hover {
  background: transparent !important;
}

/* Hero stat numbers - me te vegjel qe te pershtaten inline */
section.hero .hero__stat-num {
  font-family: var(--font-display);
  font-size: 28px !important;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -.02em;
}
section.hero .hero__stat-num span {
  font-size: 18px !important;
  color: var(--red-mid);
  font-style: italic;
  font-weight: 400;
}
section.hero .hero__stat-label {
  font-size: 11px !important;
  color: rgba(255,255,255,.55);
  font-weight: 400;
  letter-spacing: .04em;
}

/* Crest wrapper */
section.hero .hero__crest-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
section.hero .hero__crest {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  position: relative;
  animation: hero-crest-float 8s ease-in-out infinite;
}
section.hero .hero__crest img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 15px 30px rgba(199, 2, 2, .22));
  display: block;
}
section.hero .hero__crest-glow {
  position: absolute;
  inset: 15%;
  background: radial-gradient(circle, rgba(199, 2, 2, .18), transparent 65%);
  border-radius: 50%;
  filter: blur(50px);
  z-index: -1;
}
@keyframes hero-crest-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
section.hero .hero__crest-caption {
  position: absolute;
  bottom: -32px; left: 0; right: 0;
  text-align: center;
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}

/* Responsive - tablet */
@media (max-width: 1024px) {
  section.hero .hero__container {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
    text-align: center;
  }
  section.hero .hero__eyebrow { justify-content: center; }
  section.hero .hero__sub { margin-left: auto; margin-right: auto; }
  section.hero .hero__stats {
    justify-content: center;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  section.hero .hero__actions { justify-content: center; }
  section.hero .hero__crest { max-width: 280px; }
}

/* Responsive - mobile */
@media (max-width: 640px) {
  section.hero .hero__stats {
    gap: 24px !important;
    max-width: 100%;
  }
  section.hero .hero__stat-num { font-size: 24px !important; }
  /* Fshih crest ne mobile - banneri behet me kompakt dhe me i pastre */
  section.hero .hero__crest-wrapper { display: none !important; }
}


/* MULTILANG_PHASE4: Language switcher */
.lang-switcher {
    display: flex;
    gap: 4px;
    align-items: center;
    font-family: var(--font-body);
}
.lang-switcher__current {
    color: rgba(255, 255, 255, .95);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 4px;
    background: rgba(255, 255, 255, .08);
}
.lang-switcher__link {
    color: rgba(255, 255, 255, .65);
    font-size: 11px;
    padding: 3px 8px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 4px;
    text-decoration: none;
    transition: color .15s, background .15s, border-color .15s;
}
.lang-switcher__link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .4);
}


/* Mobile page-switcher: hide UP label and compact actions */
@media (max-width: 768px) {
  .page-switcher__label { display: none; }
  .page-switcher__tab { padding: 10px 14px; font-size: 12px; }
  .page-switcher__tab.active::after { left: 14px; right: 14px; }
  /* Override inline styles on actions container in _Layout.cshtml */
  .page-switcher__actions { gap: 6px !important; padding-right: 8px !important; }
}
