:root {
  --ink: #14213d;
  --ink-2: #3d4a66;
  --muted: #6b7489;
  --bg: #faf7f2;
  --paper: #ffffff;
  --line: #e7e1d6;
  --accent: #c8553d;
  --accent-2: #f2a65a;
  --ok: #2e7d5b;
  --state: #2f5d9b;
  --private: #8a4fbf;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20,33,61,.06), 0 8px 24px rgba(20,33,61,.06);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, Segoe UI, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
h3 { font-size: 1.1rem; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.small { font-size: .9rem; color: var(--muted); }
.center { text-align: center; }
.narrow { max-width: 440px; }

/* Header */
.topbar { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.topbar-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.logo:hover { text-decoration: none; }
.logo em { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 500; }
.logo-mark { background: var(--ink); color: #fff; border-radius: 10px; width: 36px; height: 36px; display: grid; place-items: center; font-size: .8rem; letter-spacing: .05em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav > a, .nav-group > span { color: var(--ink-2); font-weight: 600; cursor: pointer; }
.nav-group { position: relative; padding: 20px 0; }
.dropdown { display: none; position: absolute; top: 100%; left: -12px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; min-width: 240px; }
.dropdown a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); }
.dropdown a:hover { background: var(--bg); text-decoration: none; }
.dropdown a.muted { color: var(--muted); }
.nav-group:hover .dropdown, .nav-group:focus-within .dropdown { display: block; }
.nav-search input { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 8px 14px; width: 220px; font: inherit; }
.pill { background: var(--ink); color: #fff !important; padding: 6px 14px; border-radius: 999px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; font-size: 1.2rem; padding: 4px 10px; }

/* Hero */
.hero { background: radial-gradient(1200px 400px at 85% -10%, rgba(242,166,90,.35), transparent), linear-gradient(180deg, #fff, var(--bg)); border-bottom: 1px solid var(--line); }
.hero-in { padding: 72px 16px 64px; max-width: 860px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); margin: 0 0 12px; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 760px; }
.hero-search { display: flex; gap: 8px; margin-top: 24px; max-width: 620px; }
.hero-search input { flex: 1; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line); font: inherit; font-size: 1.05rem; background: #fff; }
.hero-search button, .btn { background: var(--accent); color: #fff; border: 0; padding: 12px 22px; border-radius: 12px; font: inherit; font-weight: 700; cursor: pointer; display: inline-block; }
.btn:hover, .hero-search button:hover { filter: brightness(.95); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.full { width: 100%; text-align: center; }

.page-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 36px 0 28px; }
.crumbs { font-size: .9rem; color: var(--muted); margin: 0 0 10px; }
.crumbs a { color: var(--muted); }
.crumbs.light, .crumbs.light a { color: rgba(255,255,255,.85); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.tabs a { padding: 6px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: .92rem; }

/* Sections & grids */
.section { padding: 32px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.section-head h2, .section-head h1 { margin: 0; }
.grid { display: grid; gap: 16px; }
.grid.countries { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid.cats { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.grid.unis { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid.cities { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.grid.routes { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card, .country-card, .cat-card, .city-card, .route, .uni-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card { padding: 22px; }
.country-card { display: flex; gap: 16px; align-items: center; padding: 20px; color: var(--ink); }
.country-card .flag { font-size: 2.6rem; }
.country-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.country-card h3 { margin: 0 0 2px; }
.country-card.soon { opacity: .6; }
.cat-card, .city-card { padding: 18px; color: var(--ink); display: flex; flex-direction: column; gap: 4px; }
.cat-card small, .city-card small { color: var(--muted); }
.cat-icon { font-size: 1.6rem; }
.country-card:hover, .cat-card:hover, .city-card:hover, .uni-card:hover { text-decoration: none; transform: translateY(-2px); transition: transform .15s; border-color: #d6cdbd; }
.route { padding: 20px; border-left: 4px solid var(--accent); }
.route p { margin: 0; color: var(--ink-2); }

/* University card */
.uni-card { overflow: hidden; color: var(--ink); display: flex; flex-direction: column; }
.uni-cover { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, hsl(var(--h) 45% 32%), hsl(calc(var(--h) + 40) 55% 52%)); display: grid; place-items: center; }
.uni-cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-initials { font-family: var(--serif); font-size: 2.6rem; color: rgba(255,255,255,.92); letter-spacing: .04em; }
.uni-body { padding: 14px 16px 16px; }
.uni-body h3 { margin: 0 0 4px; font-size: 1.05rem; }
.meta { margin: 0 0 10px; color: var(--muted); font-size: .9rem; }
.badge { position: absolute; top: 10px; left: 10px; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #fff; }
.badge.state { color: var(--state); }
.badge.private { color: var(--private); }
.uni-hero .badge { position: static; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .78rem; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--ink-2); }
.chip.lang { background: #eef3fb; border-color: #d7e2f3; color: var(--state); }
.chips.big .chip { font-size: .92rem; padding: 6px 14px; color: var(--ink); }
a.chip:hover { text-decoration: none; border-color: var(--accent); }
.seg { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg a { padding: 6px 14px; color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.seg a.on { background: var(--ink); color: #fff; }

/* Lists */
.checklist, .highlights { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px dashed var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: '✓'; position: absolute; left: 4px; color: var(--ok); font-weight: 700; }
.highlights { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.highlights li { background: #fff4ea; border: 1px solid #f6d9bd; color: #8a4a1c; padding: 6px 12px; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.numbered { padding-left: 20px; }
.numbered li { margin-bottom: 8px; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.timeline .when { font-weight: 700; color: var(--accent); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(s); font-family: var(--serif); font-size: 2rem; color: var(--accent-2); }
.steps span { color: rgba(255,255,255,.8); font-size: .94rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.two-col .section { padding: 22px; margin-bottom: 20px; }
.kv { width: 100%; border-collapse: collapse; }
.kv th, .kv td { text-align: left; padding: 8px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.kv th { color: var(--muted); font-weight: 600; padding-right: 12px; width: 45%; }

/* University page */
.uni-hero { position: relative; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 45% 24%), hsl(calc(var(--h) + 40) 50% 40%)); overflow: hidden; }
.uni-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.uni-hero-in { position: relative; padding: 56px 16px 40px; }
.local-name { margin: -6px 0 14px; opacity: .85; font-style: italic; }
.credit { position: absolute; right: 10px; bottom: 6px; font-size: .7rem; opacity: .7; }
.uni-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; padding-top: 12px; }
.uni-layout article .card { margin-bottom: 20px; }
.uni-layout aside { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 14px; padding-top: 32px; }
.uni-layout aside .card { padding: 18px; }
.uni-layout aside h3 { margin-bottom: 6px; }
.uni-layout aside p { margin: 0 0 8px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.map { width: 100%; height: 340px; border: 0; border-radius: var(--radius); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.gallery img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; }
.verify { font-size: .8rem; color: var(--muted); }

/* Compare */
.compare-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 16px; }
.compare-form select, .form input, .form select, .form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.table-scroll { overflow-x: auto; }
.compare, .admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td, .admin-table th, .admin-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .93rem; }
.compare tr th:first-child { color: var(--muted); width: 140px; }
.compare ul { padding-left: 16px; margin: 0; }

/* Forms / admin */
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 12px; }
.form label small { font-weight: 400; color: var(--muted); }
.form label.check { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.form label.check input { width: auto; }
.grid-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; background: #fff; margin: 0; }
.grid-form .wide { grid-column: 1 / -1; }
legend { font-family: var(--serif); font-weight: 700; padding: 0 6px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; }
textarea.code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85rem; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.row-actions { display: flex; gap: 12px; align-items: center; }
.link { background: none; border: 0; color: var(--accent); cursor: pointer; font: inherit; padding: 0; }
.link.danger { color: #b3261e; }
.notice { background: #fff4ea; border: 1px solid #f6d9bd; padding: 10px 14px; border-radius: 10px; }
.notice.ok { background: #eaf6ef; border-color: #c4e5d2; color: var(--ok); }
.notice.error { background: #fdecea; border-color: #f5c6c2; color: #b3261e; }
.empty { color: var(--muted); }

/* Footer */
.footer { margin-top: 48px; background: var(--ink); color: rgba(255,255,255,.8); padding: 40px 0 20px; }
.footer .logo { color: #fff; }
.footer .logo-mark { background: var(--accent); }
.footer-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.footer h4 { color: #fff; margin: 0 0 10px; }
.footer a { color: rgba(255,255,255,.8); display: block; padding: 2px 0; }
.footer .small { color: rgba(255,255,255,.65); }
.disclaimer { border-top: 1px solid rgba(255,255,255,.15); margin-top: 24px; padding-top: 16px; font-size: .82rem; color: rgba(255,255,255,.6); }

/* Responsive */
@media (max-width: 900px) {
  .uni-layout { grid-template-columns: 1fr; }
  .uni-layout aside { position: static; padding-top: 0; }
  .two-col, .grid-form { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 16px; border-bottom: 1px solid var(--line); gap: 4px; }
  .nav-open .nav { display: flex; }
  .nav-group { padding: 8px 0; }
  .dropdown { position: static; display: block; box-shadow: none; border: 0; padding: 4px 0 0 8px; }
  .nav-search input { width: 100%; }
  .hero-in { padding: 44px 16px; }
  .hero-search { flex-direction: column; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .check-grid { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; }
}


.flagbar { background: linear-gradient(90deg, #0b1630, var(--ink)); color: rgba(255,255,255,.88); font-size: .86rem; }
.flagbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 46px; padding-top: 6px; padding-bottom: 4px; }
.flagbar-left { display: flex; align-items: center; gap: 14px; }
.flagbar-right { display: flex; align-items: center; gap: 14px; }
.flagbar a { color: #fff; font-weight: 600; }
.wa-mini { background: #25d366; color: #06301a !important; padding: 3px 12px; border-radius: 999px; }
.wa-mini:hover { text-decoration: none; filter: brightness(1.05); }

.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 24px; }
.hero-grid .hero-in { padding-left: 0; padding-right: 0; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- Düymələr ---------- */
.btn.small { padding: 8px 14px; font-size: .9rem; border-radius: 10px; }
.btn.wa { background: #25d366; color: #06301a; }
.nav .btn.small { color: #fff; }
.count { background: #fff; color: var(--accent); border-radius: 999px; padding: 1px 8px; font-size: .78rem; margin-left: 4px; }
.wa-float { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .15s; }
.wa-float:hover { transform: scale(1.07); }
.tabs a.tab-cta { background: var(--accent); color: #fff; border-color: var(--accent); }
.apply-card .btn { margin-top: 8px; }
a.inline { display: inline; padding: 0; }

/* ---------- CTA zolağı ---------- */
.cta-band { background: linear-gradient(120deg, #fff4ea, #fdebe4); border-top: 1px solid var(--line); margin-top: 32px; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 32px; padding-bottom: 32px; flex-wrap: wrap; }
.cta-in h2 { margin-bottom: 4px; }
.cta-in p { margin: 0; color: var(--ink-2); }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.footer { margin-top: 0; }

/* ---------- Ölkələr menyusu ---------- */
.dropdown.wide { display: none; min-width: 420px; grid-template-columns: repeat(3, 1fr); gap: 4px 12px; }
.nav-group:hover .dropdown.wide, .nav-group:focus-within .dropdown.wide { display: grid; }
.dd-group small { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; color: var(--muted); padding: 6px 12px 2px; font-weight: 700; }

/* ---------- Müraciət formu ---------- */
.inquiry-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; padding-top: 28px; align-items: start; }
.inquiry-side { display: flex; flex-direction: column; gap: 16px; }
.inquiry-form { grid-template-columns: 1fr 1fr; gap: 0 18px; }
.inquiry-form label { margin-bottom: 14px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.center-actions { justify-content: center; margin-top: 16px; }
.narrow-wide { max-width: 720px; }
.done-card { padding: 40px 28px; }
.done-icon { width: 64px; height: 64px; border-radius: 50%; background: #eaf6ef; color: var(--ok); font-size: 2rem; display: grid; place-items: center; margin: 0 auto 12px; }
.contact-card p { margin: 0 0 8px; }

/* ---------- Süzgəc ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.filter-bar select { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; min-width: 0; flex: 1 1 180px; }

/* ---------- Admin: müraciətlər ---------- */
.wrap-seg { flex-wrap: wrap; width: fit-content; max-width: 100%; }
.inq-list { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.inq { border-left: 4px solid var(--line); }
.inq.yeni { border-left-color: var(--accent); }
.inq.elaqe { border-left-color: var(--accent-2); }
.inq.qebul { border-left-color: var(--ok); }
.inq-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.inq-head small { color: var(--muted); }
.inq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px 16px; font-size: .92rem; }
.inq-grid span { display: block; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.inq-msg { background: var(--bg); border-radius: 10px; padding: 10px 12px; margin: 12px 0 0; white-space: pre-wrap; }
.inq-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.inq-actions select, .inq-actions input { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.inq-actions input { flex: 1 1 200px; min-width: 0; }
.badge-st { font-size: .74rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--bg); margin-left: 6px; }
.st-yeni { background: #fdebe4; color: var(--accent); }
.st-qebul { background: #eaf6ef; color: var(--ok); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .inquiry-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .flagbar-left > span { display: none; }
  .inquiry-form { grid-template-columns: 1fr; }
  .dropdown.wide { display: block; min-width: 0; }
  .nav .btn.small { text-align: center; }
  .cta-in { padding-top: 24px; padding-bottom: 24px; }
}

.inquiry-layout { padding-bottom: 48px; }

/* ---------- Foto mozaika (ana səhifə) ---------- */
.hero-mosaic { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: 440px; }
.mosaic-tile { position: relative; overflow: hidden; border-radius: 16px; background: linear-gradient(135deg, hsl(var(--h) 45% 32%), hsl(calc(var(--h) + 40) 55% 52%)); color: #fff; box-shadow: var(--shadow); }
.mosaic-tile.t0 { grid-row: 1 / 3; }
.mosaic-tile.t3 { display: none; }
.mosaic-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mosaic-tile:hover img { transform: scale(1.05); }
.mosaic-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,18,40,.82)); }
.mosaic-cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; font-weight: 700; line-height: 1.25; font-size: .98rem; }
.mosaic-cap small { display: block; font-weight: 500; opacity: .85; font-size: .78rem; margin-bottom: 2px; }
.mosaic-tile:hover { text-decoration: none; }
.hero-grid { padding-top: 40px; padding-bottom: 40px; }
.hero-grid .hero-in { padding-top: 0; padding-bottom: 0; }

/* ---------- Ölkə kartları (foto) ---------- */
.grid.countries { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.country-card.photo { position: relative; padding: 0; height: 150px; overflow: hidden; display: block; background: linear-gradient(135deg, hsl(var(--h) 45% 30%), hsl(calc(var(--h) + 40) 50% 48%)); border: 0; }
.country-card.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.country-card.photo:hover img { transform: scale(1.06); }
.country-card.photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,40,.05) 30%, rgba(10,18,40,.8)); }
.cc-body { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: flex; align-items: center; gap: 10px; color: #fff; }
.cc-body .flag { font-size: 1.8rem; line-height: 1; }
.cc-body strong { display: block; font-family: var(--serif); font-size: 1.15rem; }
.cc-body small { opacity: .85; }

/* ---------- Ölkə səhifəsində foto zolağı ---------- */
.country-hero { padding-top: 0; }
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; height: 210px; margin-bottom: 28px; }
.photo-strip a { position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: transform .5s ease, opacity .3s; }
.photo-strip a:hover img { transform: scale(1.05); opacity: 1; }
.photo-strip span { position: absolute; left: 12px; right: 12px; bottom: 10px; font-weight: 700; font-size: .9rem; text-shadow: 0 1px 6px rgba(0,0,0,.6); z-index: 1; }
.photo-strip a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.6)); }

/* ---------- Universitet səhifəsi: tam foto ---------- */
.uni-hero-img { opacity: 1 !important; }
.uni-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,40,.25), rgba(10,18,40,.85)); }
.uni-hero-in { z-index: 1; padding-top: 120px !important; padding-bottom: 36px !important; }
.uni-hero .credit { z-index: 2; color: rgba(255,255,255,.8); }
.uni-cover img { position: absolute; inset: 0; }
.uni-card .uni-cover { overflow: hidden; }
.uni-card:hover .uni-cover img { transform: scale(1.05); }
.uni-cover img { transition: transform .5s ease; }
.uni-cover .badge { z-index: 1; }
.credits td { font-size: .88rem; }

@media (max-width: 900px) {
  .hero-mosaic { height: 300px; order: -1; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); height: 240px; }
  .photo-strip a:nth-child(n+3) { display: none; }
  .photo-strip { grid-template-rows: 1fr; }
}
@media (max-width: 560px) {
  .hero-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; height: 300px; }
  .mosaic-tile.t0 { grid-row: auto; grid-column: 1 / 3; }
  .mosaic-cap { font-size: .86rem; }
  .country-card.photo { height: 120px; }
  .grid.countries { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cc-body .flag { font-size: 1.4rem; }
  .cc-body strong { font-size: 1rem; }
}
