/* UGMA — public site styles */
:root {
    --navy-950: #081a36;
    --navy-900: #0b2347;
    --navy-800: #0f2f5c;
    --navy-700: #133b70;
    --navy-600: #1b4b87;
    --blue-500: #2b7cc0;
    --blue-400: #4f9ad6;
    --sky-100: #e6f0fa;
    --sky-50: #f3f7fc;
    --accent: #12a17b;
    --accent-600: #0e8a69;
    --ink: #13213a;
    --text: #33425a;
    --muted: #66758c;
    --line: #dbe4ef;
    --bg: #ffffff;
    --tint: #f4f7fb;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(11, 35, 71, .06), 0 2px 8px rgba(11, 35, 71, .05);
    --shadow: 0 10px 30px rgba(11, 35, 71, .10);
    --shadow-lg: 0 24px 60px rgba(8, 26, 54, .22);
    --font: "Noto Sans Georgian", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --container: 1280px;
    --header-h: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
/* the off-canvas mobile menu sits right of the viewport; clip (unlike hidden) keeps position: sticky working */
body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--bg); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-500); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; border-radius: 4px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy-700); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
[hidden] { display: none !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: 12px 22px; border-radius: var(--radius-sm); border: 1.5px solid transparent; font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.3; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn .ico { width: 1.05em; height: 1.05em; transition: transform .2s; }
.btn:hover .ico { transform: translateX(2px); }
.btn-primary { background: var(--navy-700); color: #fff; }
.btn-primary:hover { background: var(--navy-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-600); color: #fff; transform: translateY(-1px); }
.btn-outline { border-color: var(--line); color: var(--navy-700); background: #fff; }
.btn-outline:hover { border-color: var(--navy-700); color: var(--navy-700); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .16); border-color: #fff; color: #fff; }
.btn-sm { padding: 8px 14px; font-size: .88rem; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy-700); cursor: pointer; }
.icon-btn:hover { border-color: var(--navy-700); }
.icon-btn .ico { width: 20px; height: 20px; }
.more, .link-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: .92rem; color: var(--navy-700); text-decoration: none; }
.more .ico, .link-more .ico { width: 1em; height: 1em; transition: transform .2s; }
a:hover .more .ico, .more:hover .ico, .link-more:hover .ico { transform: translateX(3px); }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--blue-500); margin-bottom: 1rem; }
.eyebrow span { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--sky-100); color: var(--navy-700); font-family: "Inter", var(--font); letter-spacing: .08em; }

/* header */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; }
.topbar { background: var(--navy-900); color: rgba(255, 255, 255, .78); font-size: .84rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-info { display: flex; align-items: center; gap: 22px; min-width: 0; }
.topbar-info a, .topbar-info > span { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; white-space: nowrap; }
.topbar-info a:hover { color: #fff; }
.topbar-info .ico { width: 15px; height: 15px; opacity: .8; }
.topbar-side { display: flex; align-items: center; gap: 6px; }
.social { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: inherit; }
.social:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.social .ico { width: 16px; height: 16px; }
.lang-switch { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; margin-left: 6px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; font-size: .8rem; }
.lang-switch:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.lang-switch .ico { width: 14px; height: 14px; }
.mainbar { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .97); backdrop-filter: saturate(180%) blur(8px); transition: box-shadow .25s; }
.is-scrolled .mainbar { box-shadow: 0 6px 24px rgba(11, 35, 71, .08); }
.mainbar-in { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { height: 48px; width: auto; }
.nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: inline-flex; align-items: center; gap: 3px; padding: 10px 9px; border: 0; background: none; font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink); text-decoration: none; border-radius: 10px; cursor: pointer; white-space: nowrap; }
.nav-link .ico { width: 15px; height: 15px; color: var(--muted); transition: transform .2s; }
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link.is-current { color: var(--navy-700); background: var(--sky-50); }
.nav-link.is-current { box-shadow: inset 0 -2px 0 var(--blue-500); border-radius: 10px 10px 4px 4px; }
.nav-sub-toggle { display: none; }
.nav-sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-item:hover > .nav-sub, .nav-item:focus-within > .nav-sub, .nav-item.is-open > .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-item:hover > .nav-link .ico, .nav-item.is-open > .nav-link .ico { transform: rotate(180deg); }
.nav-item:nth-last-child(-n+2) > .nav-sub { left: auto; right: 0; }
.nav-sub a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--text); text-decoration: none; font-size: .92rem; line-height: 1.45; }
.nav-sub a:hover, .nav-sub a.is-current { background: var(--sky-50); color: var(--navy-700); }
.nav-sub a.is-current { font-weight: 600; }
.nav-mobile-extra { display: none; }
.mainbar-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }
.nav-toggle .ico-close { display: none; }
.searchbar { border-top: 1px solid var(--line); background: #fff; }
.searchbar-in { display: flex; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.searchbar-in > .ico { color: var(--muted); width: 20px; height: 20px; }
.searchbar input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 1.05rem; padding: 8px 0; outline: none; color: var(--ink); background: transparent; }

/* hero */
.hero { position: relative; color: #fff; overflow: hidden; background: linear-gradient(125deg, var(--navy-950) 0%, var(--navy-800) 45%, var(--navy-600) 100%); }
.hero-bg { position: absolute; inset: 0; opacity: .5; pointer-events: none;
    background-image: radial-gradient(circle at 85% 15%, rgba(79, 154, 214, .35), transparent 45%), radial-gradient(circle at 10% 90%, rgba(18, 161, 123, .18), transparent 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='1'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%23ffffff' stroke-opacity='.04' stroke-width='1'/%3E%3C/svg%3E"); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 120px; }
.hero .eyebrow { color: rgba(255, 255, 255, .75); }
.hero .eyebrow span { background: rgba(255, 255, 255, .12); color: #fff; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 1.2rem + 2.3vw, 3.05rem); line-height: 1.2; margin-bottom: .55em; }
.hero-lead { font-size: 1.08rem; color: rgba(255, 255, 255, .84); max-width: 600px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; }
.hero-slides { position: relative; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-800); border: 1px solid rgba(255, 255, 255, .14); }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.1s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slides::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 26, 54, .35)); pointer-events: none; }
.hero-dots { position: absolute; right: 22px; bottom: 18px; display: flex; gap: 8px; z-index: 2; }
.hero-dots button { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .55); cursor: pointer; transition: width .3s, background .3s; }
.hero-dots button.is-active { width: 26px; background: #fff; }
.isqua-card { position: absolute; left: -34px; bottom: -40px; z-index: 3; display: flex; flex-direction: column; gap: 10px; width: min(330px, 80%); padding: 16px 18px 18px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); text-decoration: none; transition: transform .25s; }
.isqua-card:hover { transform: translateY(-3px); }
.isqua-label { font-size: .8rem; font-weight: 600; color: var(--navy-700); letter-spacing: .01em; }
.isqua-card img { width: 100%; height: auto; }

/* stats */
.stats { position: relative; z-index: 4; margin-top: -56px; }
.stats-grid { list-style: none; margin: 0; padding: 26px 10px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.stats-grid li { display: flex; flex-direction: column; gap: 4px; padding: 4px 26px; border-left: 1px solid var(--line); }
.stats-grid li:first-child { border-left: 0; }
.stats-grid strong { font-family: "Inter", var(--font); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.1; color: var(--navy-700); font-weight: 700; }
.stats-grid span { font-size: .9rem; color: var(--muted); line-height: 1.4; }

/* sections */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-tint { background: var(--tint); }
.section-pad { padding-top: 48px; padding-bottom: 80px; }
.narrow { max-width: 900px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2.1rem); margin: 0; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.dir-card { display: flex; flex-direction: column; padding: 28px 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--text); transition: transform .25s, box-shadow .25s, border-color .25s; }
.dir-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.dir-card h3 { font-size: 1.12rem; margin: 18px 0 8px; }
.dir-card p { font-size: .93rem; line-height: 1.6; color: var(--muted); flex: 1; }
.dir-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; background: var(--sky-100); color: var(--navy-700); }
.dir-icon .ico { width: 26px; height: 26px; }
.dir-card:hover .dir-icon { background: var(--navy-700); color: #fff; }

/* news cards */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
/* covers are mostly logos and posters → show them whole instead of cropping */
.news-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .6s; }
.news-card:hover .news-card-media img { transform: scale(1.04); }
.news-card-ph { display: grid; place-items: center; height: 100%; color: var(--blue-400); }
.news-card-ph .ico { width: 40px; height: 40px; }
.news-card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.news-card h3 { font-size: 1.02rem; line-height: 1.45; margin: 0; }
.news-card h3 a { color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card h3 a:hover { color: var(--navy-600); }
.news-excerpt { font-size: .92rem; color: var(--muted); line-height: 1.6; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .more { margin-top: auto; }
.news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0; font-size: .82rem; color: var(--muted); }
.news-meta time { display: inline-flex; align-items: center; gap: 6px; }
.news-meta .ico { width: 15px; height: 15px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--sky-100); color: var(--navy-700); font-weight: 600; font-size: .76rem; }
.tag-event { background: #def5ec; color: #0b7457; }
.news-grid-home { grid-template-columns: 1.25fr 1fr; grid-auto-rows: auto; }
.news-grid-home .news-card-big { grid-row: span 4; }
.news-grid-home .news-card-big .news-card-media { aspect-ratio: 16 / 10; }
.news-grid-home .news-card-big h3 { font-size: 1.35rem; line-height: 1.4; }
.news-grid-home .news-card-big .news-excerpt { -webkit-line-clamp: 4; font-size: .98rem; }
.news-grid-home .news-card:not(.news-card-big) { flex-direction: row; }
.news-grid-home .news-card:not(.news-card-big) .news-card-media { flex: 0 0 168px; aspect-ratio: auto; min-height: 100%; border-bottom: 0; border-right: 1px solid var(--line); }
.news-grid-home .news-card:not(.news-card-big) .news-card-media img { padding: 8px; }
.news-grid-home .news-card:not(.news-card-big) .news-card-body { padding: 14px 18px; gap: 6px; }
.news-grid-home .news-card:not(.news-card-big) .news-excerpt, .news-grid-home .news-card:not(.news-card-big) .more { display: none; }
.news-grid-home .news-card:not(.news-card-big) h3 { font-size: .96rem; }
.news-grid-home .news-card:nth-child(n+6) { display: none; }

/* about / badges */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.about-text h2 { font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2.1rem); }
.about-text p { font-size: 1.04rem; }
.about-aside { display: grid; gap: 18px; }
.badge-card { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.badge-card img { width: 100%; max-width: 330px; margin-bottom: 12px; }
.badge-card p { margin: 0 0 6px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.badge-card a { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; text-decoration: none; }
.badge-card a .ico { width: 14px; height: 14px; }
.badge-card-alt { display: flex; gap: 16px; align-items: flex-start; background: linear-gradient(135deg, var(--sky-50), #fff); }
.badge-card-alt > .ico { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--navy-700); color: #fff; flex: none; }
.badge-card-alt h3 { margin: 0 0 4px; font-size: 1.05rem; }
.badge-card-alt p { font-weight: 500; color: var(--text); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { padding: 10px 18px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); color: var(--navy-800); font-weight: 600; font-size: .92rem; }

/* call to action */
.cta { background: linear-gradient(120deg, var(--navy-800), var(--navy-600)); color: #fff; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 154, 214, .35), transparent 70%); }
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: .35em; }
.cta p { color: rgba(255, 255, 255, .82); margin: 0; max-width: 640px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* page hero + layout */
.page-hero { position: relative; background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; padding: 34px 0 44px; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='1'/%3E%3C/svg%3E"); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); margin: 0; max-width: 900px; }
.page-hero-compact h1 { font-size: clamp(1.35rem, 1.1rem + 1.1vw, 2rem); line-height: 1.35; }
.page-hero .eyebrow { color: rgba(255, 255, 255, .7); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; font-size: .84rem; color: rgba(255, 255, 255, .65); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; }
.breadcrumbs li + li::before { content: "/"; opacity: .5; }
.breadcrumbs li[aria-current] { color: rgba(255, 255, 255, .9); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.news-meta-hero { margin-top: 16px; color: rgba(255, 255, 255, .75); }
.news-meta-hero .tag { background: rgba(255, 255, 255, .14); color: #fff; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding-top: 48px; padding-bottom: 88px; align-items: start; }
.page-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.aside-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.aside-card h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; }
.lang-ka .aside-card h2 { text-transform: none; letter-spacing: .01em; font-size: .9rem; }
.aside-card ul { list-style: none; margin: 0; padding: 0; }
.aside-card nav ul li + li, .aside-card > ul > li + li { margin-top: 2px; }
.aside-card nav a, nav.aside-card a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; margin: 0 -10px; border-radius: 9px; color: var(--text); text-decoration: none; font-size: .93rem; line-height: 1.45; }
nav.aside-card a .ico { width: 15px; height: 15px; opacity: 0; transition: opacity .2s, transform .2s; color: var(--blue-500); }
nav.aside-card a:hover { background: var(--sky-50); color: var(--navy-700); }
nav.aside-card a:hover .ico { opacity: 1; transform: translateX(2px); }
nav.aside-card a.is-current { background: var(--sky-100); color: var(--navy-700); font-weight: 600; }
nav.aside-card a.is-current .ico { opacity: 1; }
.aside-contact ul li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; line-height: 1.5; margin-bottom: 10px; }
.aside-contact .ico { width: 17px; height: 17px; margin-top: 3px; color: var(--blue-500); }
.aside-contact a { text-decoration: none; }
.aside-news li + li { margin-top: 14px; }
.aside-news a { display: flex; gap: 12px; text-decoration: none; color: var(--ink); }
.aside-news img { width: 76px; height: 60px; object-fit: cover; border-radius: 8px; flex: none; }
.aside-news strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .88rem; line-height: 1.45; font-weight: 600; }
.aside-news a:hover strong { color: var(--navy-600); }
.aside-news time { display: block; font-size: .78rem; color: var(--muted); margin-top: 3px; }
.aside-card .btn { margin-top: 16px; }

/* prose */
.prose { min-width: 0; font-size: 1.02rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.22rem; margin-top: 1.5em; }
.prose h4 { font-size: 1.08rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--blue-500); }
.prose a { word-break: break-word; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose blockquote { margin: 1.5em 0; padding: 16px 22px; border-left: 4px solid var(--blue-500); background: var(--sky-50); border-radius: 0 12px 12px 0; }
.prose figure { margin: 1.6em 0; }
.prose img { border-radius: 12px; }
.prose img.align-left { float: left; margin: 4px 24px 12px 0; max-width: 45%; }
.prose img.align-right { float: right; margin: 4px 0 12px 24px; max-width: 45%; }
.prose img.align-center { margin: 1.5em auto; }
.prose::after { content: ""; display: block; clear: both; }
.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: 12px; }
.prose table, .pharma-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.prose th, .prose td, .pharma-table th, .pharma-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose thead th, .pharma-table thead th { background: var(--tint); color: var(--ink); font-weight: 600; }
.prose tbody tr:nth-child(even) td { background: #fafcfe; }
.embed { position: relative; margin: 1.4em 0; border-radius: 14px; overflow: hidden; background: var(--tint); aspect-ratio: 16 / 9; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-map { aspect-ratio: 16 / 8; }
.page-videos .prose { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-content: start; }
.page-videos .prose .embed { margin: 0; }
.page-videos .prose > p, .page-videos .prose > h2, .page-videos .prose > h3 { grid-column: 1 / -1; }
.doc-link { display: inline-flex; align-items: center; gap: 8px; padding: 2px 0; font-weight: 600; }
.doc-link::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E") center / contain no-repeat; }
.gallery-block { margin: 0 0 3em; }
.gallery-block h3 { font-size: 1.12rem; margin: 0 0 14px; padding-left: 12px; border-left: 3px solid var(--blue-500); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.gallery-item { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--tint); cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .5s, filter .3s; }
.gallery-item:hover img { transform: scale(1.06); }
.empty-note { display: flex; gap: 18px; align-items: flex-start; padding: 26px 28px; border-radius: var(--radius); background: var(--sky-50); border: 1px dashed #bcd2ea; }
.empty-note > .ico { width: 34px; height: 34px; color: var(--blue-500); }
.empty-note p { margin: 0 0 4px; }
.lang-note { padding: 10px 14px; border-radius: 10px; background: #fff7e6; color: #7a5200; font-size: .9rem; }
.post-cover { margin: 0 0 1.8em; }
.post-cover img { width: 100%; max-height: 480px; object-fit: contain; background: var(--tint); border-radius: 16px; }
.share { display: flex; align-items: center; gap: 8px; margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.share a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--tint); color: var(--navy-700); }
.share a:hover { background: var(--navy-700); color: #fff; }
.share .ico { width: 17px; height: 17px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 1.6em; }
.post-nav a { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); }
.post-nav a:hover { border-color: var(--blue-400); box-shadow: var(--shadow-sm); }
.post-nav span { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }
.post-nav strong { font-size: .92rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-nav-next { text-align: right; align-items: flex-end; grid-column: 2; }
.post-nav .ico { width: 14px; height: 14px; }

/* tabs, pager */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tab { padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); color: #fff; text-decoration: none; font-size: .9rem; font-weight: 600; }
.tab:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.tab.is-active { background: #fff; color: var(--navy-800); border-color: #fff; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 44px; flex-wrap: wrap; }
.pager a, .pager span { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.pager a:hover { border-color: var(--navy-700); }
.pager span { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }

/* forms */
.contact-layout { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 40px; padding-top: 48px; padding-bottom: 64px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-card h2 { font-size: .85rem; color: var(--muted); font-weight: 600; margin: 2px 0 4px; }
.contact-card p { margin: 0; font-weight: 600; color: var(--ink); line-height: 1.5; }
.contact-card a { text-decoration: none; }
.contact-social { display: flex; gap: 8px; }
.contact-social .social { width: 42px; height: 42px; border-radius: 12px; background: var(--tint); color: var(--navy-700); }
.contact-social .social:hover { background: var(--navy-700); color: #fff; }
.contact-form-wrap { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.contact-form-wrap h2 { font-size: 1.35rem; }
.contact-map { height: 420px; background: var(--tint); }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.field-wide { grid-column: 1 / -1; }
.field input, .field textarea, .search-page-form input, .pharma-search input { width: 100%; font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink); padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus, .search-page-form input:focus, .pharma-search input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(43, 124, 192, .14); }
.field textarea { resize: vertical; min-height: 140px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 14px 0 0; font-size: .88rem; color: var(--muted); }
.alert { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-size: .95rem; }
.alert .ico { width: 20px; height: 20px; flex: none; }
.alert-ok { background: #e3f6ee; color: #0a6b50; }
.alert-err { background: #fdecec; color: #9b1c1c; }
.prose .contact-form { margin: 1.4em 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); }
.search-page-form { display: flex; align-items: center; gap: 10px; max-width: 640px; margin-top: 18px; position: relative; }
.search-page-form > .ico { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--muted); }
.search-page-form input { padding-left: 42px; }
.page-hero .search-page-form input { border-color: transparent; }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-results li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.search-results h2 { font-size: 1.15rem; margin: 0 0 6px; }
.search-results h2 a { text-decoration: none; color: var(--navy-700); }
.search-results p { margin: 0; color: var(--muted); font-size: .94rem; }
.sr-type { font-size: .78rem !important; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px !important; }
mark { background: #fff1b8; color: inherit; padding: 0 2px; border-radius: 3px; }

/* pharma widget */
.pharma { margin: 1.6em 0; padding: 24px; border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line); }
.pharma-search { position: relative; display: block; }
.pharma-search .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.pharma-search input { padding-left: 42px; }
.pharma-status { margin: 12px 0 0; font-size: .9rem; color: var(--muted); min-height: 1.4em; }
.pharma .table-wrap { background: #fff; }
.pharma-table td.num, .pharma-table th.num { text-align: right; white-space: nowrap; }
.pharma-table small { display: block; color: var(--blue-500); font-size: .82rem; }
.pharma-source { margin: 12px 0 0; font-size: .82rem; color: var(--muted); }

/* 404 */
.notfound { padding: 96px 0 110px; text-align: center; }
.notfound .container { display: flex; flex-direction: column; align-items: center; }
.notfound-code { font-family: "Inter", var(--font); font-size: 6rem; line-height: 1; font-weight: 700; margin: 0 0 12px; background: linear-gradient(120deg, var(--navy-700), var(--blue-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound .search-page-form { width: 100%; margin: 10px 0 22px; }

/* footer */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .7); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 36px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; color: #fff; text-decoration: none; font-weight: 700; line-height: 1.4; margin-bottom: 14px; }
.footer-mark { font-family: "Inter", var(--font); font-size: 1.6rem; letter-spacing: .06em; color: #fff; }
.footer-about p { font-size: .9rem; line-height: 1.6; }
.footer-isqua { display: inline-block; margin-top: 8px; padding: 10px 12px; background: #fff; border-radius: 12px; }
.footer-isqua img { width: 210px; }
.footer-col h2 { color: #fff; font-size: .95rem; margin: 0 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; line-height: 1.45; }
.footer-col a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ico { width: 16px; height: 16px; margin-top: 3px; color: var(--blue-400); }
.footer-social { display: flex; gap: 6px; margin-top: 12px; }
.social-light { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; font-size: .84rem; flex-wrap: wrap; }
.to-top { color: rgba(255, 255, 255, .7); text-decoration: none; }
.to-top:hover { color: #fff; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; background: rgba(5, 14, 30, .92); padding: 40px; }
.lightbox img { max-width: min(1200px, 92vw); max-height: 82vh; width: auto; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox .ico { width: 22px; height: 22px; }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-caption { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .8); font-size: .9rem; margin: 0; }

/* responsive */
@media (max-width: 1320px) {
    .nav-link { padding: 10px 7px; font-size: .86rem; }
    .brand img { height: 44px; }
}
@media (max-width: 1220px) {
    :root { --header-h: 72px; }
    /* backdrop-filter would make .mainbar the containing block of the fixed off-canvas menu */
    .mainbar { backdrop-filter: none; background: #fff; }
    .nav-toggle { display: inline-grid; }
    .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 88vw); margin: 0; background: #fff; box-shadow: var(--shadow-lg); transform: translateX(105%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; overflow-y: auto; padding: 88px 20px 28px; z-index: 90; }
    .nav-open .nav { visibility: visible; transition: transform .3s ease; }
    .nav-open .nav { transform: none; }
    .nav-open .nav-toggle { position: relative; z-index: 95; }
    .nav-open .nav-toggle .ico-open { display: none; }
    .nav-open .nav-toggle .ico-close { display: block; }
    .nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(8, 26, 54, .45); z-index: 80; }
    .nav-open .site-header { z-index: 120; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
    .nav-link { flex: 1; padding: 14px 4px; font-size: 1rem; justify-content: space-between; border-radius: 0; }
    .nav-link.is-current { box-shadow: none; background: none; color: var(--navy-600); }
    .nav-link:hover, .nav-item:hover > .nav-link { background: none; }
    .nav-sub-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--muted); cursor: pointer; }
    .nav-sub-toggle .ico { transition: transform .2s; }
    .nav-item.is-open > .nav-sub-toggle .ico, .nav-item.is-open > .nav-group .ico { transform: rotate(180deg); }
    .nav-item:hover > .nav-link .ico { transform: none; }
    .nav-sub { position: static; width: 100%; min-width: 0; padding: 0 0 10px 10px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
    .nav-item:hover > .nav-sub, .nav-item:focus-within > .nav-sub { display: none; }
    .nav-item.is-open > .nav-sub { display: block; }
    .nav-mobile-extra { display: flex; align-items: center; gap: 8px; margin-top: 22px; }
    .nav-mobile-extra .lang-switch { color: var(--navy-700); border-color: var(--line); margin: 0 8px 0 0; padding: 8px 14px; font-size: .9rem; }
    .nav-mobile-extra .social { color: var(--navy-700); background: var(--tint); width: 40px; height: 40px; }
    .topbar-addr { display: none !important; }
    .hero-in { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 100px; }
    .hero-media { max-width: 640px; }
    .isqua-card { left: 16px; bottom: -30px; }
    .cards-4 { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid-home { grid-template-columns: 1fr; }
    .news-grid-home .news-card-big { grid-row: auto; }
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .page-layout { grid-template-columns: 1fr; gap: 36px; }
    .page-aside { position: static; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
    body { font-size: 15.5px; }
    .container { padding-left: 16px; padding-right: 16px; }
    .topbar-info a span { display: none; }
    .topbar-info a:first-child span { display: inline; }
    .brand img { height: 40px; }
    .mainbar-in { gap: 12px; }
    .hero-in { padding-bottom: 92px; }
    .hero-actions .btn { width: 100%; justify-content: space-between; }
    .isqua-card { position: relative; left: auto; bottom: auto; margin: -36px auto 0 16px; width: calc(100% - 32px); }
    .stats { margin-top: -44px; }
    .stats-grid { grid-template-columns: 1fr 1fr; padding: 8px; }
    .stats-grid li { padding: 16px; border-left: 0; }
    .stats-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
    .stats-grid li:nth-child(even) { border-left: 1px solid var(--line); }
    .section { padding: 60px 0; }
    .cards-4, .news-grid { grid-template-columns: 1fr; }
    .news-grid-home .news-card:not(.news-card-big) .news-card-media { flex-basis: 112px; }
    .form-grid { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 22px; }
    .page-videos .prose { grid-template-columns: 1fr; }
    .post-nav { grid-template-columns: 1fr; }
    .post-nav-next { grid-column: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .prose img.align-left, .prose img.align-right { float: none; max-width: 100%; margin: 1em 0; }
    .gallery { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
    .lightbox { padding: 12px; }
    .lightbox-prev, .lightbox-next { top: auto; bottom: 16px; transform: none; }
    .lightbox-caption { bottom: 74px; }
    .contact-map { height: 320px; }
}
@media (max-width: 440px) {
    .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
    .site-header, .site-footer, .page-aside, .share, .post-nav, .cta { display: none !important; }
    .page-hero { background: none; color: #000; padding: 0; }
    .page-hero h1 { color: #000; }
    .page-layout { display: block; padding: 0; }
}
