@font-face { font-family: 'Unbounded'; font-weight: 600; font-display: swap; src: url('/fonts/Unbounded-600.woff') format('woff'); }
@font-face { font-family: 'Unbounded'; font-weight: 700; font-display: swap; src: url('/fonts/Unbounded-700.woff') format('woff'); }
@font-face { font-family: 'Manrope'; font-weight: 500; font-display: swap; src: url('/fonts/Manrope-500.woff') format('woff'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url('/fonts/Manrope-700.woff') format('woff'); }

:root {
  --blue: #0057b8; --blue-d: #00459a; --yellow: #ffd500; --yellow-d: #f2c200;
  --night: #0a1b33; --night-2: #071326; --ink: #101c2e; --muted: #5a6478; --line: #dfe4ec;
  --paper: #f6f4ef; --sky: #e8f0fb; --white: #fff; --ok: #128a4a; --ok-bg: #e4f4ea; --err: #b3261e; --err-bg: #fdeceb;
  --r: 22px; --r-sm: 14px; --shadow: 0 1px 2px rgba(10,27,51,.05), 0 12px 32px rgba(10,27,51,.08);
  --head: 'Unbounded', 'Segoe UI', system-ui, sans-serif; --body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 500 17px/1.6 var(--body); color: var(--ink); background: var(--paper); overflow-x: hidden; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 10px; z-index: 200; font-weight: 700; }
.skip:focus { left: 12px; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-align: left; }
.linklike:hover { text-decoration: underline; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 16px/1 var(--body); padding: 17px 26px; border-radius: 999px; border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s; text-decoration: none !important; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 13px 20px; font-size: 15px; }
.btn-yellow { background: var(--yellow); color: #1a1500; box-shadow: 0 8px 24px rgba(255,213,0,.32); }
.btn-yellow:hover { background: var(--yellow-d); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(0,87,184,.28); }
.btn-blue:hover { background: var(--blue-d); }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(10px); }
.btn-outline { background: #fff; color: var(--ink); border-color: #cfd6e2; }
.btn-ghost-dark { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-block { width: 100%; }
.more { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.more svg { transition: transform .2s; }
.more:hover svg { transform: translateX(4px); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .25s, box-shadow .25s, color .25s; color: #fff; }
.header-in { display: flex; align-items: center; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none !important; flex: none; }
.brand-text { font: 700 14px/1.15 var(--head); letter-spacing: -.01em; }
.logo-mark { object-fit: contain; flex: none; filter: drop-shadow(0 2px 6px rgba(10,27,51,.25)); }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 10px 11px; border-radius: 999px; font: 700 15.500px/1 var(--body); color: inherit; background: none; border: 0; text-decoration: none !important; }
.nav-link:hover, .nav-link.is-active { background: rgba(255,255,255,.14); }
.has-sub { position: relative; }
.sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px; background: #fff; border-radius: 18px; padding: 8px; box-shadow: 0 18px 50px rgba(10,27,51,.22); display: block !important; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub li { display: block; }
.sub a { display: block; padding: 11px 14px; border-radius: 12px; color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; }
.sub a:hover, .sub a[aria-current] { background: var(--sky); color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255,255,255,.14); color: inherit; border: 0; }
.icon-btn:hover { background: rgba(255,255,255,.24); }
.burger { display: none; }
.site-header.scrolled, .site-header.menu-open { background: rgba(246,244,239,.94); backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.site-header.scrolled .nav-link:hover, .site-header.scrolled .nav-link.is-active { background: rgba(10,27,51,.07); }
.site-header.scrolled .icon-btn, .site-header.menu-open .icon-btn { background: rgba(10,27,51,.08); }
.mnav { background: var(--paper); color: var(--ink); max-height: calc(100vh - 72px); overflow: auto; border-top: 1px solid var(--line); padding: 12px 20px 28px; }
.mnav ul { list-style: none; margin: 0; padding: 0; }
.mnav-h { display: block; font: 700 12px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 16px 4px 6px; }
.mnav a { display: block; padding: 11px 4px; color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--line); }
.mnav-top { font-family: var(--head); font-size: 17px; }

/* Eyebrow, sections */
.eyebrow { display: flex; align-items: center; gap: 10px; font: 700 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 18px; }
.flag { width: 22px; height: 12px; border-radius: 3px; background: linear-gradient(var(--blue) 50%, var(--yellow) 50%); flex: none; }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section.white { background: #fff; }
.section h2 { font-size: clamp(30px, 4.300vw, 50px); }
.section .lead { font-size: clamp(18px, 1.700vw, 21px); color: var(--muted); max-width: 720px; margin: 20px 0 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.ornament { height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='16'%3E%3Cpath d='M8 3l5 5-5 5-5-5z' fill='none' stroke='%230057b8' stroke-width='2'/%3E%3Cpath d='M8 6l2 2-2 2-2-2z' fill='%23ffd500'/%3E%3Ccircle cx='24' cy='8' r='1.600' fill='%23ffd500'/%3E%3Cpath d='M32 6l2 2-2 2-2-2z' fill='%230057b8'/%3E%3Ccircle cx='40' cy='8' r='1.600' fill='%23ffd500'/%3E%3C/svg%3E") repeat-x center; }

/* Hero */
.hero { position: relative; min-height: min(100svh, 860px); display: flex; align-items: center; color: #fff; background: var(--night) url('/img/hero.jpg') center right / cover no-repeat; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,19,38,.94) 0%, rgba(7,19,38,.78) 38%, rgba(7,19,38,.12) 72%), linear-gradient(0deg, rgba(7,19,38,.6), transparent 34%); }
.hero-in { padding: 130px 0 90px; max-width: 760px; }
.hero .eyebrow { color: #cfe0ff; }
.hero h1 { font-size: clamp(42px, 7.200vw, 92px); line-height: 1.02; }
.hero .lead { font-size: clamp(18px, 1.900vw, 22px); color: #e3eaf6; max-width: 600px; margin: 26px 0 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* About + stats */
.split { display: grid; grid-template-columns: 1.050fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split .text p { color: #2b3648; }
.art-card { border-radius: 32px; overflow: hidden; box-shadow: 0 30px 70px rgba(10,27,51,.18); background: #fff; aspect-ratio: 4/3; }
.art-card img, .art-card svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 64px; }
.stat { background: #fff; border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.stat b { display: block; font: 700 clamp(30px, 3.400vw, 44px)/1 var(--head); color: var(--blue); letter-spacing: -.03em; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.stat a { font-size: 13px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid #eef0f4; border-radius: var(--r); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; color: inherit; text-decoration: none !important; transition: transform .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(10,27,51,.06), 0 22px 48px rgba(10,27,51,.13); }
.card-ico { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: var(--sky); color: var(--blue); margin-bottom: 22px; }
.card:nth-child(even) .card-ico { background: #fff3b8; color: #6b5200; }
.card h3 { font-size: 20px; margin-bottom: 14px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.card .more { margin-top: auto; padding-top: 20px; font-size: 15px; }

/* Map */
.map-section { background: radial-gradient(1200px 500px at 50% -10%, #0b2f66 0%, transparent 70%), var(--night-2); color: #fff; }
.map-section .eyebrow { color: #cfe0ff; }
.map-section .lead { color: #c5d0e3; }
.map-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 40px 0 26px; }
.map-stat { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); border-radius: 20px; padding: 20px 22px; }
.map-stat b { display: block; font: 700 clamp(26px, 3vw, 38px)/1 var(--head); color: var(--yellow); }
.map-stat span { display: block; font-size: 14.500px; color: #c5d0e3; margin-top: 8px; line-height: 1.35; }
.map-stat a { color: #9fc3ff; font-size: 13px; font-weight: 700; }
.map-box { position: relative; border: 1px solid rgba(255,255,255,.14); border-radius: 28px; background: #050c1a; overflow: hidden; }
.map-filters { position: absolute; z-index: 3; top: 14px; left: 14px; right: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(8,18,38,.72); color: #fff; font: 700 14px/1 var(--body); backdrop-filter: blur(8px); }
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--c, #fff); }
.chip[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
#map3d { width: 100%; height: clamp(440px, 62vw, 680px); display: block; touch-action: none; cursor: grab; }
#map3d:active { cursor: grabbing; }
.map-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.map-label { position: absolute; transform: translate(-50%, -50%); font: 700 11.500px/1 var(--body); color: #b9cdf0; text-shadow: 0 1px 3px #000, 0 0 8px #04102a; white-space: nowrap; }
.map-label.city { font-size: 14px; color: #ffe680; letter-spacing: .08em; }
.map-hint { position: absolute; z-index: 2; left: 16px; bottom: 14px; font-size: 13px; color: #8ea3c7; }
.map-zoom { position: absolute; z-index: 3; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.map-zoom button { width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(8,18,38,.8); color: #fff; font-size: 20px; }
.map-pop { position: absolute; z-index: 4; right: 14px; top: 64px; width: min(380px, calc(100% - 28px)); background: #fff; color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.5); max-height: calc(100% - 84px); overflow: auto; }
.map-pop h3 { font-size: 18px; margin: 10px 0; }
.map-pop p { font-size: 15px; color: #3a4558; margin: 0 0 12px; }
.map-pop .meta { font-size: 13px; color: var(--muted); font-weight: 700; }
.map-pop .x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #eef1f6; font-size: 18px; }
.tag { display: inline-block; font: 700 12px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; background: var(--sky); color: var(--blue); }
.map-list { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.map-item { border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 16px 18px; background: rgba(255,255,255,.04); color: #fff; text-align: left; display: block; }
.map-item:hover { background: rgba(255,255,255,.09); text-decoration: none; }
.map-item small { display: flex; gap: 8px; align-items: center; color: #9fb3d6; font-weight: 700; font-size: 12.500px; margin-bottom: 6px; }
.map-item small i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.map-item b { font-size: 15px; line-height: 1.35; display: block; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; color: inherit; text-decoration: none !important; transition: transform .2s; }
.post:hover { transform: translateY(-4px); }
.post-img { aspect-ratio: 16/10; background: linear-gradient(135deg, #0b2f66, #0057b8); position: relative; overflow: hidden; }
.post-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.post-img.ph::after { content: ''; position: absolute; inset: 0; background: url('/img/pattern.svg') center / 220px; opacity: .5; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: 13.500px; color: var(--muted); flex-wrap: wrap; }
.post h3 { font: 700 18px/1.3 var(--body); letter-spacing: 0; }
.post p { color: var(--muted); font-size: 15px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post.feature { grid-column: span 2; flex-direction: row; }
.post.feature .post-img { flex: 0 0 48%; aspect-ratio: auto; min-height: 340px; }
.post.feature .post-body { justify-content: center; padding: 36px; }
.post.feature h3 { font: 700 clamp(22px, 2.400vw, 30px)/1.15 var(--head); letter-spacing: -.02em; }
.src { font-size: 13px; font-weight: 700; color: var(--blue); display: inline-flex; gap: 6px; align-items: center; margin-top: auto; }
.cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.cats a { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 14.500px; color: var(--ink); }
.cats a.on { background: var(--night); color: #fff; border-color: var(--night); }
.pager { display: flex; gap: 10px; justify-content: center; margin-top: 44px; }

/* Social */
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.soc { background: #fff; border: 1px solid #eef0f4; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.soc-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.soc-head .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.soc-head b { font-size: 17px; }
.soc-head .btn { margin-left: auto; padding: 11px 17px; font-size: 14.500px; }
.soc-body { padding: 18px; min-height: 420px; max-height: 620px; overflow: auto; flex: 1; }
.soc-center { min-height: 380px; display: grid; place-items: center; text-align: center; gap: 14px; align-content: center; }
.soc-center small { color: var(--muted); max-width: 420px; }
.soc-body iframe { width: 100%; border: 0; display: block; }
.tg-post { display: block; padding: 14px; border-radius: 16px; background: var(--paper); color: var(--ink); margin-bottom: 12px; text-decoration: none !important; }
.tg-post:hover { background: var(--sky); }
.tg-post img { width: 100%; border-radius: 12px; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 10px; display: block; }
.tg-post p { margin: 0; font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.tg-post time { display: block; font-size: 12.500px; color: var(--muted); font-weight: 700; margin-top: 8px; }

/* Subscribe + feedback */
.subscribe { background: var(--night); color: #fff; padding: 72px 0; }
.subscribe .split { align-items: start; }
.subscribe h2 { font-size: clamp(28px, 3.600vw, 44px); }
.subscribe p.lead { color: #c5d0e3; margin-top: 14px; font-size: 19px; }
.sub-form { display: flex; gap: 10px; }
.sub-form input[type=email] { flex: 1; min-width: 0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); color: #fff; }
.sub-form input::placeholder { color: #9fb0cc; }
.subscribe .check { color: #c5d0e3; margin-top: 14px; }
.subscribe .check a { color: #9fc3ff; text-decoration: underline; }

/* Forms */
.form-card { background: #fff; border-radius: 28px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .lbl { font-weight: 700; font-size: 15px; }
.field small { color: var(--muted); font-size: 13.500px; line-height: 1.4; }
.req { color: var(--err); }
input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=url], input[type=file], input[type=search], select, textarea { width: 100%; font: 500 16px/1.4 var(--body); color: var(--ink); background: #fff; border: 1px solid #cfd6e2; border-radius: var(--r-sm); padding: 14px 16px; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,87,184,.15); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.500px; color: var(--muted); line-height: 1.45; }
.check input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: var(--blue); }
.radios { display: flex; gap: 10px; flex-wrap: wrap; }
.radios label { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 1px solid #cfd6e2; border-radius: 999px; font-weight: 700; cursor: pointer; }
.radios input { accent-color: var(--blue); }
.radios label:has(input:checked) { background: var(--sky); border-color: var(--blue); color: var(--blue-d); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.alert { padding: 16px 20px; border-radius: 16px; font-weight: 700; margin-bottom: 20px; }
.alert.ok { background: var(--ok-bg); color: #0c5c31; }
.alert.err { background: var(--err-bg); color: var(--err); }
.alert.info { background: var(--sky); color: #0a3d80; font-weight: 500; }
.form-msg { margin-top: 14px; font-weight: 700; min-height: 1.4em; }
.form-msg.ok { color: var(--ok); } .form-msg.err { color: var(--err); }
.pw { position: relative; }
.pw button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); padding: 8px; font-size: 13px; font-weight: 700; }

/* Page hero + prose */
.page-hero { position: relative; background: radial-gradient(900px 420px at 88% 0%, #0b3a80 0%, transparent 70%), var(--night); color: #fff; padding: 168px 0 92px; overflow: hidden; }
.page-hero .eyebrow { color: #cfe0ff; }
.page-hero h1 { font-size: clamp(32px, 5.200vw, 62px); max-width: 900px; }
.page-hero .lead { font-size: clamp(17px, 1.700vw, 21px); color: #d3dcec; max-width: 720px; margin: 22px 0 0; }
.page-hero-art { position: absolute; right: max(4vw, calc(50% - 600px)); bottom: -6px; height: 78%; width: auto; color: rgba(255,255,255,.1); }
.page-body { padding: clamp(48px, 7vw, 96px) 0; }
.prose { max-width: 820px; font-size: 18px; line-height: 1.7; overflow-wrap: anywhere; }
.prose.wide { max-width: none; }
.prose h2 { font-size: clamp(24px, 3vw, 34px); margin: 1.800em 0 .7em; }
.prose h3 { font-size: clamp(19px, 2.200vw, 24px); margin: 1.700em 0 .6em; }
.prose h4 { font-size: 18px; margin: 1.500em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.300em; margin: 0 0 1.200em; }
.prose li { margin-bottom: .45em; }
.prose img { border-radius: 18px; box-shadow: var(--shadow); margin: 8px 0 18px; }
.prose figure { margin: 26px 0; display: flex; gap: 16px; flex-wrap: wrap; }
.prose figure img { flex: 1 1 260px; min-width: 0; margin: 0; object-fit: contain; background: #fff; }
.prose blockquote { margin: 0 0 1.400em; padding: 22px 26px; border-left: 5px solid var(--yellow); background: #fff; border-radius: 0 18px 18px 0; font: 600 clamp(17px, 2vw, 21px)/1.4 var(--head); letter-spacing: -.01em; box-shadow: var(--shadow); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose details { background: #fff; border-radius: 18px; box-shadow: var(--shadow); margin-bottom: 12px; }
.prose summary { cursor: pointer; padding: 20px 24px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.prose summary::after { content: '+'; font: 700 22px/1 var(--head); color: var(--blue); }
.prose details[open] summary::after { content: '–'; }
.prose details p { padding: 0 24px 20px; margin: 0; color: #2b3648; font-size: 17px; }
.prose ol.steps { list-style: none; counter-reset: s; padding: 0; display: grid; gap: 14px; }
.prose ol.steps > li { counter-increment: s; background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 24px 26px 24px 96px; position: relative; margin: 0; }
.prose ol.steps > li::before { content: '0' counter(s); position: absolute; left: 24px; top: 22px; width: 54px; height: 54px; border-radius: 16px; background: var(--yellow); display: grid; place-items: center; font: 700 18px var(--head); }
.prose ol.steps h4 { margin: 0 0 8px; font: 700 19px/1.3 var(--body); letter-spacing: 0; }
.prose ol.steps p:last-child { margin: 0; }
.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.side { position: sticky; top: 96px; display: grid; gap: 16px; }
.side-card { background: #fff; border-radius: 22px; padding: 24px; box-shadow: var(--shadow); }
.side-card h3 { font-size: 16px; margin-bottom: 14px; }
.side-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.side-card a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-weight: 700; font-size: 15px; }
.side-card a:hover, .side-card a[aria-current] { background: var(--sky); color: var(--blue); text-decoration: none; }

/* Team */
.team-head { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center; background: #fff; border-radius: 32px; padding: 32px; box-shadow: var(--shadow); margin-bottom: 44px; }
.team-head img { border-radius: 24px; width: 100%; aspect-ratio: 1; object-fit: cover; }
.team-head h2 { font-size: clamp(24px, 3vw, 36px); margin: 12px 0; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person { background: #fff; border-radius: var(--r); padding: 18px 18px 22px; box-shadow: var(--shadow); text-align: center; }
.person img, .person .ph { width: 100%; aspect-ratio: 1; border-radius: 16px; object-fit: cover; object-position: top; display: block; margin-bottom: 16px; }
.person .ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--sky), #cfe0f8); font: 700 34px var(--head); color: var(--blue); }
.person b { display: block; font-size: 16px; line-height: 1.3; }
.person span { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; line-height: 1.4; }

/* Pay */
.pay-grid { display: grid; grid-template-columns: 1.100fr 1fr; gap: 28px; align-items: start; }
.opts { display: grid; gap: 10px; }
.opt { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid #cfd6e2; border-radius: 16px; cursor: pointer; }
.opt:has(input:checked) { border-color: var(--blue); background: var(--sky); }
.opt input { accent-color: var(--blue); width: 20px; height: 20px; margin: 0; }
.opt b { display: block; } .opt small { color: var(--muted); }
.opt .price { margin-left: auto; font: 700 17px var(--head); white-space: nowrap; }
.req-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.req-row small { display: block; font: 700 12px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.req-row b { font-size: 16.500px; overflow-wrap: anywhere; }
.copy { display: inline-flex; gap: 6px; align-items: center; border: 0; background: var(--sky); color: var(--blue-d); font-weight: 700; font-size: 14px; padding: 10px 14px; border-radius: 999px; flex: none; }

/* Cabinet & verify */
.cab-grid { display: grid; grid-template-columns: 440px 1fr; gap: 48px; align-items: start; }
.idcard { border-radius: 28px; padding: 24px; color: #fff; background: radial-gradient(420px 300px at 0% 100%, rgba(255,213,0,.35), transparent 70%), linear-gradient(140deg, #0a2a5c, #0057b8 60%, #1d6bb8); box-shadow: 0 30px 60px rgba(10,27,51,.3); }
.idcard-top { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.idcard-top small { display: block; font: 700 11px var(--body); letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.idcard-top b { font: 700 14px var(--head); }
.idcard-main { display: flex; gap: 18px; }
.idphoto { width: 116px; height: 154px; border-radius: 16px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; font: 700 34px var(--head); color: var(--yellow); object-fit: cover; flex: none; }
.idcard h2 { font-size: 21px; margin-bottom: 12px; }
.idcard dl { margin: 0; display: grid; gap: 8px; }
.idcard dt { font: 700 10.500px var(--body); letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.idcard dd { margin: 0; font-weight: 700; }
.idstatus { margin: 20px 0; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.14); font: 700 16px var(--head); display: flex; gap: 12px; align-items: center; }
.idstatus::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 5px rgba(61,220,132,.25); }
.idstatus.bad::before { background: #ff6b5e; box-shadow: 0 0 0 5px rgba(255,107,94,.25); }
.idqr { display: flex; gap: 16px; align-items: center; font-size: 13.500px; }
.idqr img { width: 112px; height: 112px; border-radius: 14px; background: #fff; padding: 6px; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font: 700 12px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 10px 8px; border-bottom: 1px solid var(--line); }
.table td { padding: 14px 8px; border-bottom: 1px solid var(--line); }
.pill { display: inline-block; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; background: var(--ok-bg); color: #0c5c31; }
.pill.no { background: var(--err-bg); color: var(--err); } .pill.wait { background: #fff3b8; color: #6b5200; }
.narrow { max-width: 560px; margin-inline: auto; }
.verify { max-width: 520px; margin-inline: auto; }

/* Contacts */
.contact-list { display: grid; gap: 14px; }
.contact-item { background: #fff; border-radius: 20px; padding: 20px 24px; box-shadow: var(--shadow); }
.contact-item small { display: block; font: 700 12px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-item b, .contact-item a { font-size: 18px; font-weight: 700; }

/* Footer */
.site-footer { background: var(--night-2); color: #b8c4d9; padding-top: 56px; }
.site-footer .ornament { margin-bottom: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.500fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 20px; }
.site-footer .brand-text { font-size: 17px; }
.site-footer h3 { font: 700 13px var(--body); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a, .site-footer .linklike { color: #dbe3f0; font-size: 16px; }
.site-footer a:hover { color: #fff; }
.footer-about p { font-size: 15.500px; max-width: 360px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.footer-sky { color: rgba(255,255,255,.16); margin-top: 48px; height: 130px; overflow: hidden; }
.skyline { width: 100%; height: 130px; display: block; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.500px; }
.footer-bottom a { font-size: inherit; font-weight: 700; }
.cookie { position: fixed; z-index: 150; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin-inline: auto; background: var(--night); color: #dbe3f0; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; padding: 20px 22px; box-shadow: 0 24px 60px rgba(0,0,0,.4); display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; flex: 1 1 320px; font-size: 14.500px; }
.cookie a { color: #9fc3ff; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .btn, .card, .post { transition: none; } }

@media (max-width: 1100px) {
  .nav { display: none; } .burger { display: inline-grid; } .header-actions { margin-left: auto; }
  .cards, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats, .map-stats { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .layout-2, .cab-grid { grid-template-columns: 1fr; } .side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .map-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .split, .social-grid, .pay-grid, .form-grid, .team-head { grid-template-columns: 1fr; }
  .cards, .news-grid, .map-list { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .post.feature { grid-column: auto; flex-direction: column; } .post.feature .post-img { min-height: 0; aspect-ratio: 16/10; flex: none; } .post.feature .post-body { padding: 22px 24px 26px; }
  .hero { background-position: 72% center; } .hero::before { background: linear-gradient(180deg, rgba(7,19,38,.82), rgba(7,19,38,.7) 50%, rgba(7,19,38,.92)); }
  .hero-in { padding: 110px 0 60px; } .hero-cta .btn { width: 100%; }
  .header-actions .btn span { display: none; } .header-actions .btn { padding: 13px; }
  .brand-text { font-size: 12.500px; }
  .sub-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; } .footer-bottom { flex-direction: column; }
  .page-hero { padding: 128px 0 60px; } .page-hero-art { opacity: .5; height: 56%; }
  .prose { font-size: 17px; } .prose ol.steps > li { padding: 86px 20px 20px; }
  .map-filters { position: static; padding: 12px; overflow-x: auto; flex-wrap: nowrap; } .chip { flex: none; }
  .map-pop { position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; max-height: 62vh; z-index: 120; }
  .map-hint { display: none; }
  .idcard-main { flex-direction: row; } .idphoto { width: 92px; height: 122px; }
  .stats, .map-stats { gap: 10px; } .stat, .map-stat { padding: 18px; }
}

/* Language switch */
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.14); }
.lang a { padding: 7px 11px; border-radius: 999px; font: 700 13px/1 var(--body); color: inherit; text-decoration: none; opacity: .75; }
.lang a.on { background: #fff; color: var(--ink); opacity: 1; }
.site-header.scrolled .lang, .site-header.menu-open .lang { background: rgba(10,27,51,.08); }
.lang-m { margin-top: 18px; background: rgba(10,27,51,.08); } .lang-m a { padding: 11px 16px; border: 0; font-size: 14px; }

/* News portal */
.news-top { background: radial-gradient(900px 420px at 88% 0%, #0b3a80 0%, transparent 70%), var(--night); color: #fff; padding: 116px 0 56px; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 14px; color: #9fb3d6; margin-bottom: 18px; }
.crumbs a { color: #cfe0ff; } .crumbs b { color: #fff; font-weight: 700; }
.news-headline { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.news-headline h1 { font-size: clamp(30px, 4.6vw, 54px); }
.news-headline p { margin: 0; color: #c5d0e3; max-width: 520px; font-size: 16px; }
.news-top .cats { margin-bottom: 28px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.news-top .cats::-webkit-scrollbar { display: none; }
.news-top .cats a { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; flex: none; }
.news-top .cats a.on { background: #fff; color: var(--ink); border-color: #fff; }
.lead-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 22px; }
.lead-main { position: relative; display: block; border-radius: var(--r); overflow: hidden; min-height: 440px; color: #fff; text-decoration: none !important; background: #0b2f66; }
.lead-main .post-img { position: absolute; inset: 0; aspect-ratio: auto; }
.lead-main::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,12,26,.94) 0%, rgba(5,12,26,.55) 45%, rgba(5,12,26,0) 75%); }
.lead-cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 28px; }
.lead-cap h2 { font-size: clamp(21px, 2.5vw, 32px); margin: 12px 0 10px; }
.lead-cap p { margin: 0; color: #d3dcec; font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lead-cap .post-meta, .lead-item .post-meta { color: #c5d0e3; }
.lead-list { display: grid; gap: 12px; align-content: start; }
.lead-item { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; text-decoration: none !important; }
.lead-item:hover { background: rgba(255,255,255,.12); }
.lead-item b { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.35; margin-top: 6px; }
.lead-item .tag { padding: 5px 8px; font-size: 10.5px; } .lead-item .post-meta { font-size: 12px; gap: 8px; }
.post-img.sm { aspect-ratio: 4/3; border-radius: 12px; }
.news-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; }
.news-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } .news-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.news-grid.three .post h3 { font-size: 16px; } .news-grid.three .post p { display: none; } .news-grid.three .post-body { padding: 16px 18px 20px; }
.strip-h { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 24px; }
.news-side .side-card h3, .side-h { font: 700 13px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; display: block; }
.search-row { display: flex; gap: 8px; } .search-row input { min-width: 0; padding: 12px 14px; }
.row-post { display: grid !important; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; padding: 8px !important; }
.row-post + .row-post { margin-top: 4px; }
.row-post b { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; line-height: 1.35; }
.row-post small { display: block; color: var(--muted); font-weight: 500; font-size: 12.5px; margin-top: 4px; }
.row-post .num { font: 700 26px var(--head); color: var(--blue); text-align: center; }
.row-post:has(.num) { grid-template-columns: 40px 1fr; }
.side-card .count { float: right; color: var(--muted); font-weight: 500; }
.side-cta { background: var(--night); color: #dbe3f0; } .side-cta h3 { color: #fff !important; } .side-cta p { font-size: 14.5px; margin: 0 0 14px; }
.side-card a.btn { display: inline-flex; padding: 13px 20px; } .side-card a.btn-yellow, .side-card a.btn-yellow:hover { color: #1a1500; background: var(--yellow); } .side-card a.btn-blue:hover { background: var(--blue-d); color: #fff; } .side-card a.btn-outline:hover { background: #fff; color: var(--ink); }
.pager { flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; display: inline-grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none; }
.pager span { border: 0; background: none; } .pager a.on { background: var(--night); color: #fff; border-color: var(--night); }

/* Article */
.article-head { background: radial-gradient(900px 420px at 88% 0%, #0b3a80 0%, transparent 70%), var(--night); color: #fff; padding: 116px 0 44px; }
.article-head h1 { font-size: clamp(25px, 3.6vw, 44px); max-width: 980px; line-height: 1.14; }
.article-meta { display: flex; gap: 10px 18px; flex-wrap: wrap; align-items: center; margin-top: 22px; color: #c5d0e3; font-size: 14.5px; }
.article-meta .tag { background: rgba(255,255,255,.14); color: #fff; }
.article { min-width: 0; }
.article-cover { width: 100%; border-radius: var(--r); box-shadow: var(--shadow); display: block; margin-bottom: 22px; }
.article .prose { max-width: none; }
.share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 26px; font-size: 14px; color: var(--muted); font-weight: 700; }
.share a, .share button { height: 44px; min-width: 44px; padding: 0 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 14px var(--body); }
.share a:hover, .share button:hover { border-color: var(--blue); color: var(--blue); }
.prose + .source-box, .prose + .share { margin-top: 32px; }
.source-box { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px 24px; background: #fff; border-radius: 20px; border-left: 5px solid var(--yellow); box-shadow: var(--shadow); margin-bottom: 26px; }
.source-box small { display: block; font: 700 12px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 56px; }
.prev-next a { padding: 18px 20px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.prev-next a:hover b { color: var(--blue); } .prev-next .next { text-align: right; }
.prev-next small { display: block; color: var(--muted); font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.prev-next b { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.35; }

/* Consent banner */
.cookie { align-items: flex-end; max-width: 980px; max-height: calc(100vh - 32px); overflow: auto; }
.cookie-main { flex: 1 1 420px; min-width: 0; }
.cookie h2 { font-size: 17px; color: #fff; margin-bottom: 8px; }
.cookie p { font-size: 14px; line-height: 1.5; }
.cookie-prefs { display: grid; gap: 10px; margin-top: 14px; }
.cookie-prefs[hidden] { display: none; }
.cookie-opt { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.07); cursor: pointer; }
.cookie-opt input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--yellow); flex: none; }
.cookie-opt b { color: #fff; }
.cookie-actions { flex-wrap: wrap; } .cookie-actions [hidden] { display: none; }

@media (max-width: 1100px) {
  .lead-grid { grid-template-columns: 1fr; } .lead-main { min-height: 380px; }
  .lead-list { grid-template-columns: 1fr 1fr; }
  .news-layout { grid-template-columns: 1fr; } .news-side { grid-template-columns: 1fr 1fr; align-items: start; } .news-side .search { grid-column: 1 / -1; }
  .header-actions > .lang { display: none; }
}
@media (max-width: 760px) {
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .news-top, .article-head { padding-top: 96px; }
  .lead-list, .news-grid.two, .news-grid.three, .news-side, .prev-next { grid-template-columns: 1fr; }
  .lead-main { min-height: 340px; } .lead-cap { padding: 20px; }
  .news-headline p { font-size: 15px; }
  .prev-next .next { text-align: left; }
  .cookie { left: 8px; right: 8px; bottom: 8px; padding: 16px; border-radius: 18px; gap: 12px; }
  .cookie p { font-size: 13px; } .cookie-actions { width: 100%; } .cookie-actions .btn { flex: 1 1 auto; padding: 13px 14px; font-size: 14px; }
  .section { padding: 56px 0; } .section-head { margin-bottom: 28px; }
  .section h2 br { display: none; }
  .card { padding: 24px; } .form-card { border-radius: 22px; }
  .soc-head { flex-wrap: wrap; } .soc-head .btn { margin-left: 0; width: 100%; } .soc-body { min-height: 0; max-height: 520px; } .soc-center { min-height: 220px; }
  .prose table { display: block; overflow-x: auto; } .prose td, .prose th { min-width: 120px; }
  .prose blockquote { padding: 18px 20px; }
  .team-head { padding: 20px; gap: 20px; }
  .person { padding: 12px 12px 16px; } .person b { font-size: 14px; } .person span { font-size: 12.5px; }
  .opt { flex-wrap: wrap; } .opt .price { margin-left: 34px; }
  .req-row { flex-direction: column; align-items: flex-start; }
  .idcard { padding: 18px; border-radius: 22px; } .idcard h2 { font-size: 18px; } .idqr img { width: 96px; height: 96px; }
  .cab-grid { gap: 28px; }
  .table td, .table th { padding: 10px 6px; font-size: 14.5px; }
  .radios label { padding: 11px 16px; }
  .map-list { margin-top: 16px; } #map3d { height: 440px; }
  .map-zoom { bottom: 10px; right: 10px; }
  .footer-sky { height: 80px; } .skyline { height: 80px; }
  .btn { white-space: normal; text-align: center; }
  input[type=text], input[type=email], input[type=tel], input[type=password], input[type=date], input[type=url], input[type=file], input[type=search], select, textarea { font-size: 16px; }
}
@media (max-width: 400px) { .brand-text { font-size: 11.5px; } .logo-mark { width: 46px; height: 46px; } .header-in { gap: 10px; } .team-grid { grid-template-columns: 1fr 1fr; gap: 8px; } }

/* Phone header: brand text may shrink, account icon lives in the menu */
.brand { min-width: 0; flex-shrink: 1; }
.brand-text { min-width: 0; }
.footer-years { display: block; font: 700 13px var(--body); letter-spacing: .14em; color: var(--yellow); margin: -8px 0 16px; }
@media (max-width: 760px) {
  .header-in { gap: 10px; height: 64px; }
  .logo-mark { width: 44px; height: 44px; }
  .brand { gap: 8px; }
  .brand-text { font-size: 11px; line-height: 1.2; }
  .header-actions { gap: 6px; }
  .header-actions .icon-btn:not(.burger) { display: none; }
  .header-actions .btn { width: 44px; height: 44px; padding: 0; }
  .mnav { max-height: calc(100vh - 64px); }
}

/* Brand lockup: small caps line + display line */
.brand-text { display: flex; flex-direction: column; gap: 3px; font: inherit; }
.bt1 { font: 700 10.5px/1.15 var(--body); letter-spacing: .16em; text-transform: uppercase; opacity: .82; white-space: nowrap; }
.bt2 { font: 700 19px/1 var(--head); letter-spacing: -.02em; white-space: nowrap; }
.bt2::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 5px; border-radius: 2px; background: var(--yellow); vertical-align: baseline; }
.site-footer .bt1 { font-size: 11.5px; } .site-footer .bt2 { font-size: 23px; }

/* Hero: lighter image for phones */
@media (max-width: 760px) { .hero { background-image: url('/img/hero-m.jpg'); } }

/* Leadership quote */
.guide-note { max-width: 900px; margin: 80px auto 0; text-align: center; }
.guide-note blockquote { border-left: 0; border-top: 5px solid var(--yellow); border-radius: 0 0 22px 22px; text-align: left; }

/* Map of regional organisations */
.regions { background: #fff; }
.regions-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.ua-map-box { background: var(--paper); border-radius: 28px; padding: 22px; }
.ua-map { width: 100%; height: auto; display: block; }
.ua-map .rg { fill: #cfdcf0; stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; cursor: pointer; transition: fill .15s; outline: none; }
.ua-map .rg:hover, .ua-map .rg:focus-visible { fill: #8fb3e6; }
.ua-map .rg.mine { fill: var(--yellow); }
.ua-map .rg.on { fill: var(--blue); }
.ua-map .rg.mine.on { fill: #f2b800; }
.ua-map .rl { font: 700 9.5px var(--body); fill: #2b4a7a; text-anchor: middle; dominant-baseline: middle; pointer-events: none; paint-order: stroke; stroke: rgba(255,255,255,.7); stroke-width: 2.5px; }
.ua-map .rl.mine { font-size: 12px; fill: #1a1500; }
.map-legend { display: flex; gap: 8px 18px; flex-wrap: wrap; align-items: center; margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.map-legend .lg { width: 14px; height: 14px; border-radius: 4px; background: #cfdcf0; display: inline-block; margin-right: -10px; }
.map-legend .lg.mine { background: var(--yellow); }
.org-side { position: sticky; top: 96px; display: grid; gap: 16px; align-content: start; }
.org-chief { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px 22px; box-shadow: var(--shadow); } .org-chief img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; }
.org-chief small { display: block; font: 700 12px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; } .org-chief b { display: block; font: 700 19px/1.25 var(--head); color: var(--ink); } .org-chief a { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; font-weight: 700; font-size: 14.5px; }
.org-head.ph { display: flex; gap: 14px; align-items: center; } .org-head.ph img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid rgba(255,255,255,.25); } .org-head .org-head-t { display: block; color: inherit; font-size: inherit; font-weight: inherit; }
.org-card { background: var(--paper); border-radius: 22px; padding: 24px; border: 1px solid var(--line); }
.org-panel .org-card { background: var(--night); color: #dbe3f0; border: 0; padding: 30px; box-shadow: 0 24px 50px rgba(10,27,51,.2); }
.org-card small { display: block; font: 700 12px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.org-panel .org-card small { color: var(--yellow); }
.org-card b { display: block; font: 700 19px/1.25 var(--head); letter-spacing: -.01em; color: var(--ink); }
.org-panel .org-card b { color: #fff; font-size: 22px; }
.org-head { margin: 16px 0 0; font-size: 16px; } .org-head span { display: block; font-size: 13px; color: var(--muted); font-weight: 700; }
.org-panel .org-head span { color: #9fb3d6; } .org-panel .org-head { color: #fff; font-size: 18px; font-weight: 700; }
.org-note { margin: 12px 0 0; font-size: 15px; color: var(--muted); }
.org-contacts { display: flex; flex-direction: column; gap: 6px; margin: 16px 0 0; }
.org-contacts a { font-weight: 700; font-size: 15px; overflow-wrap: anywhere; }
.org-panel .org-contacts a { color: #9fc3ff; }
.org-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; }
.org-panel .org-link { color: var(--yellow); }
.org-card.mine { border-color: var(--yellow); }
.org-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }

@media (max-width: 1100px) { .regions-grid { grid-template-columns: 1fr; } .org-panel { position: static; } .org-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .bt1 { font-size: 8.5px; letter-spacing: .12em; } .bt2 { font-size: 15px; } .bt2::after { width: 5px; height: 5px; margin-left: 4px; }
  .site-footer .bt1 { font-size: 10px; } .site-footer .bt2 { font-size: 20px; }
  .ua-map-box { padding: 10px; border-radius: 20px; margin-inline: -6px; }
  .ua-map .rl { font-size: 11px; } .ua-map .rl.mine { font-size: 14px; }
  .org-list { grid-template-columns: 1fr; }
  .org-panel .org-card { padding: 22px; }
  .guide-note { margin-top: 48px; }
}
@media (max-width: 380px) { .bt1 { font-size: 7.5px; letter-spacing: .08em; } .bt2 { font-size: 13.5px; } }
.map-stats > *, .stats > * { min-width: 0; }
.map-stat b, .stat b { overflow-wrap: anywhere; }
@media (max-width: 480px) { .map-stat b { font-size: 24px; } .map-stat span { font-size: 13.5px; } }

/* Header fit: wider container for the menu row; collapse to the burger before items can collide */
.header-in { width: min(1340px, 100% - 40px); }
.site-header .brand { flex: none; }
.nav-link { padding: 10px 10px; font-size: 15px; }
@media (max-width: 1260px) {
  .nav { display: none; } .burger { display: inline-grid; } .header-actions { margin-left: auto; }
  .header-actions > .lang { display: inline-flex; }
}
@media (max-width: 760px) { .header-in { width: min(1340px, 100% - 32px); } .header-actions > .lang { display: none; } .site-header .brand { flex: 0 1 auto; min-width: 0; } }

/* ---------- media map ---------- */
.mk-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 36px; }
.mk-stat { background: var(--night); color: #fff; border-radius: 20px; padding: 20px 22px; }
.mk-stat b { display: block; font: 700 clamp(26px, 3vw, 38px)/1 var(--head); color: var(--yellow); overflow-wrap: anywhere; }
.mk-stat span { display: block; font-size: 14.5px; color: #c5d0e3; margin-top: 8px; line-height: 1.35; }
.mk-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; } .mk-grid.src { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.mk-home { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.mk-map { width: 100%; height: auto; display: block; background: #f3f6fb; border-radius: 24px; }
.mk-land path { fill: #dbe5f5; stroke: #fff; stroke-width: 2; }
.mk-dot circle { fill: #b7c6de; stroke: #fff; stroke-width: 2; transition: fill .15s; } .mk-dot.has circle { fill: var(--blue); } .mk-dot.cur circle { fill: var(--yellow); stroke: var(--night); }
.mk-dot:hover circle, .mk-dot:focus circle { fill: var(--yellow-d); } .mk-dot { outline: none; }
.mk-dot text { font: 700 13px var(--body); fill: #fff; text-anchor: middle; pointer-events: none; } .mk-dot.cur text { fill: var(--night); }
.mk-dot text.lbl { fill: var(--ink); font-size: 15px; paint-order: stroke; stroke: #f3f6fb; stroke-width: 4px; }
.mk-note, .mk-empty { color: var(--muted); font-size: 15px; margin: 12px 0 0; }
.mk-side h3 { font-size: 24px; margin-bottom: 12px; } .mk-side p { color: var(--muted); }
.mk-btns { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 0; }
.mk-list details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; } .mk-list summary { cursor: pointer; padding: 14px 18px; font-weight: 700; } .mk-list summary small { color: var(--muted); font-weight: 600; margin-left: 6px; }
.mk-list ul { list-style: none; margin: 0; padding: 0 18px 12px; } .mk-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15.5px; } .mk-list li span { color: var(--muted); font-size: 13.5px; text-align: right; }
.mk-search { width: 100%; max-width: 480px; margin-bottom: 20px; }
.mk-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .mk-cards.one { grid-template-columns: 1fr; gap: 10px; }
.mk-card { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; color: var(--ink); text-decoration: none !important; } .mk-card:hover { border-color: var(--blue); } .mk-card[hidden] { display: none; }
.mk-card img, .mk-ph { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; flex: none; } .mk-ph { background: var(--night); color: var(--yellow); display: grid; place-items: center; font: 700 22px var(--head); }
.mk-card span { min-width: 0; } .mk-card small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 700; } .mk-card b { display: block; font-size: 16.5px; line-height: 1.3; } .mk-card em { display: block; font-style: normal; color: var(--muted); font-size: 14px; margin-top: 2px; }
.mk-h { font-size: clamp(20px, 2.2vw, 26px) !important; margin: 40px 0 16px; } .mk-sub { font-size: 16px; margin: 18px 0 10px; }
.mk-crumbs { color: var(--muted); margin-bottom: 28px; } .mk-crumbs a { color: var(--blue); } .mk-crumbs b { color: var(--ink); }
.mk-posts { display: grid; gap: 8px; } .mk-post { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none !important; } .mk-post time { color: var(--muted); font-size: 14px; } .mk-post:hover b { color: var(--blue); }
.mk-feed { display: grid; gap: 12px; margin-top: 16px; } .mk-feed.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } .mk-feed .tg-post { margin: 0; } .mk-src { display: block; font-weight: 700; color: var(--blue); font-size: 12.5px; margin-bottom: 6px; }
.mk-strip { margin-bottom: 48px; } .mk-hcats { margin-top: -20px; align-items: center; } .mk-hcats span { font-weight: 700; color: #9fb3d6; font-size: 14px; } .mk-hcats small { opacity: .7; }
.mk-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .mk-link { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; color: var(--ink); text-decoration: none !important; } .mk-link:hover { border-color: var(--blue); }
.mk-link b { display: block; font-size: 15px; line-height: 1.3; } .mk-link small { color: var(--muted); font-size: 12.5px; } .mk-k { display: inline-block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.mk-fb { margin: 14px 0; } .mk-fb small { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; } .mk-fbframe { width: 100%; max-width: 500px; height: 640px; border: 0; border-radius: 16px; margin: 14px 0; }
.mk-pick fieldset { border: 0; padding: 0; margin: 0 0 14px; } .mk-pick legend { font-weight: 700; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.mk-chip { display: inline-flex; margin: 0 6px 8px 0; cursor: pointer; } .mk-chip input { position: absolute; opacity: 0; } .mk-chip span { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; }
.mk-chip input:checked + span { background: var(--night); color: #fff; border-color: var(--night); } .mk-chip input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.mk-person { display: flex; gap: 22px; align-items: flex-start; } .mk-person img { width: 140px; height: 140px; border-radius: 24px; object-fit: cover; flex: none; } .mk-verified { color: #0c7a43; font-weight: 700; font-size: 14.5px; margin: 0 0 10px; }
.mk-about { font-size: 17px; line-height: 1.6; white-space: pre-line; margin: 0 0 14px; } .mk-logo { max-width: 180px; max-height: 120px; border-radius: 16px; margin-bottom: 18px; display: block; }
.mk-dl { margin: 0 0 6px; } .mk-dl div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); } .mk-dl dt { color: var(--muted); font-size: 14.5px; } .mk-dl dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.mk-own { border-top: 1px solid var(--line); padding: 12px 0; } .mk-own summary { cursor: pointer; } .mk-own form { margin-top: 14px; }
@media (max-width: 900px) { .mk-stats { grid-template-columns: repeat(2, 1fr); } .mk-grid, .mk-grid.src, .mk-home { grid-template-columns: 1fr; gap: 28px; } .mk-cards { grid-template-columns: 1fr; } .mk-feed.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mk-links { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .mk-feed.four { grid-template-columns: 1fr; } .mk-post { grid-template-columns: 1fr; gap: 2px; } .mk-person { flex-direction: column; } .mk-dl div { grid-template-columns: 1fr; gap: 0; } .mk-dot text.lbl { font-size: 22px; } .mk-dot text { font-size: 18px; } }

.mk-src img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; vertical-align: -5px; margin-right: 7px; display: inline-block !important; aspect-ratio: auto !important; margin-bottom: 0 !important; }
.mk-link.logo { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: center; } .mk-link.logo img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; grid-row: span 3; }
.mk-chip span img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; vertical-align: -5px; margin: -2px 7px -2px -4px; }

/* ---------- official sources: feed + slide-out settings ---------- */
.dz-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px 22px; box-shadow: var(--shadow); margin-bottom: 28px; position: sticky; top: 84px; z-index: 5; }
.dz-bar-info { display: flex; align-items: center; gap: 14px; min-width: 0; } .dz-bar-info b { display: block; font: 700 18px var(--head); } .dz-bar-info small { display: block; color: var(--muted); font-size: 14px; margin-top: 3px; }
.dz-avatars { display: flex; flex: none; } .dz-avatars img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -12px; box-shadow: 0 0 0 1px var(--line); } .dz-avatars img:first-child { margin-left: 0; }
.dz-bar-btns { display: flex; gap: 10px; flex-wrap: wrap; } .dz-bar-btns .btn { display: inline-flex; align-items: center; gap: 8px; }
.dz-feed { columns: 3 300px; column-gap: 18px; transition: opacity .2s; } .dz-feed.loading { opacity: .45; } .dz-feed .tg-post { break-inside: avoid; margin: 0 0 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; } .dz-feed .tg-post:hover { border-color: var(--blue); background: #fff; }
.dz-feed .tg-post p { -webkit-line-clamp: 9; } .dz-feed > .mk-empty { column-span: all; }
.dz-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
dialog.dz-drawer, dialog.dz-modal { border: 0; padding: 0; color: var(--ink); background: #fff; } dialog.dz-drawer::backdrop, dialog.dz-modal::backdrop { background: rgba(7,19,38,.55); backdrop-filter: blur(2px); }
dialog.dz-drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(460px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; box-shadow: -20px 0 60px rgba(7,19,38,.25); }
dialog.dz-drawer[open] { animation: dz-in .26s cubic-bezier(.2,.8,.2,1); } @keyframes dz-in { from { transform: translateX(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { dialog.dz-drawer[open], dialog.dz-modal[open] { animation: none; } }
.dz-drawer-in { display: flex; flex-direction: column; height: 100%; } .dz-drawer-in header { display: flex; justify-content: space-between; gap: 16px; padding: 22px 22px 14px; } .dz-drawer-in header h2 { font-size: 22px; margin: 0 0 4px; } .dz-drawer-in header p { margin: 0; color: var(--muted); font-size: 14.5px; }
.dz-x { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); } .dz-x:hover { background: var(--paper); }
.dz-tools { padding: 0 22px 14px; border-bottom: 1px solid var(--line); } .dz-tools input { width: 100%; padding: 12px 16px; border: 1px solid #cfd6e2; border-radius: 14px; font: inherit; } .dz-quick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.dz-groups { flex: 1; overflow-y: auto; padding: 8px 22px 22px; overscroll-behavior: contain; } .dz-groups fieldset { border: 0; padding: 0; margin: 16px 0 0; } .dz-groups legend { font: 700 12.5px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.dz-opt { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 14px; cursor: pointer; position: relative; } .dz-opt:hover { background: var(--paper); } .dz-opt[hidden] { display: none; }
.dz-opt input { position: absolute; opacity: 0; } .dz-opt img, .dz-noimg { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; background: #dbe5f5; } .dz-opt span { flex: 1; font-weight: 600; font-size: 15px; line-height: 1.3; }
.dz-opt i { flex: none; width: 44px; height: 26px; border-radius: 999px; background: #cfd6e2; position: relative; transition: background .15s; } .dz-opt i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.dz-opt input:checked ~ i { background: var(--blue); } .dz-opt input:checked ~ i::after { transform: translateX(18px); } .dz-opt input:focus-visible ~ i { outline: 3px solid var(--yellow); outline-offset: 2px; }
.dz-drawer-in footer { padding: 14px 22px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
dialog.dz-modal { width: min(620px, calc(100vw - 24px)); border-radius: 26px; box-shadow: 0 30px 80px rgba(7,19,38,.35); } dialog.dz-modal[open] { animation: dz-pop .2s ease-out; } @keyframes dz-pop { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.dz-modal-in { padding: 32px; position: relative; } .dz-modal-in > .dz-x { position: absolute; top: 18px; right: 18px; } .dz-modal-in h2 { font-size: clamp(22px, 3vw, 28px); margin: 0 52px 10px 0; } .dz-modal-lead { color: var(--muted); margin: 0 0 22px; font-size: 16px; }
.dz-modal-in .field small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 6px; } .dz-modal-btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 900px) { .dz-bar { position: static; } .dz-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dz-bar-btns, .dz-bar-btns .btn { width: 100%; justify-content: center; } }
@media (max-width: 560px) { .dz-links { grid-template-columns: 1fr; } .dz-modal-in { padding: 24px 18px; } .dz-avatars img:nth-child(n+4) { display: none; } }
.dz-noimg { display: grid; place-items: center; background: var(--night) !important; color: var(--yellow); font: 700 15px var(--head); }
.dz-opt img, .dz-avatars img, .mk-src img, .mk-link.logo img, .mk-chip span img { background: #fff; }
[hidden] { display: none !important; }
.dz-modal-btns { flex-direction: row !important; margin-top: 6px; } .dz-modal-btns .btn { flex: 1 1 200px; }
.dz-modal-in .form-grid { gap: 20px 18px; } .dz-modal-in select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%235a6478' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 42px; }
@media (max-width: 560px) { .dz-modal-in .form-grid { grid-template-columns: 1fr; } }

/* ---------- media map page ---------- */
.mkp-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; } .mkp-chips button { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 700 14.5px var(--body); color: var(--ink); cursor: pointer; }
.mkp-chips button:hover { border-color: var(--blue); } .mkp-chips button.on { background: var(--night); color: #fff; border-color: var(--night); } .mkp-chips.sm { margin: 0; } .mkp-chips.sm button { padding: 8px 14px; font-size: 14px; }
.mkp-map { position: relative; background: linear-gradient(180deg, #f6f9fd, #eaf0f9); border: 1px solid var(--line); border-radius: 28px; padding: clamp(12px, 2.5vw, 32px); box-shadow: var(--shadow); }
.mkp-map .mk-map { background: none; border-radius: 0; max-height: 76vh; margin: 0 auto; } .mkp-map .mk-land path { fill: #d5e1f4; stroke: #f6f9fd; stroke-width: 2.5; }
.mkp-map .mk-dot { cursor: pointer; transition: opacity .2s; } .mkp-map .mk-dot.dim { opacity: .14; } .mkp-map .mk-dot circle { transition: fill .15s, r .15s; filter: drop-shadow(0 2px 3px rgba(10,27,51,.25)); }
.mkp-map .mk-dot:focus-visible circle { stroke: var(--night); stroke-width: 3; }
.mkp-tip { position: absolute; transform: translate(-50%, -100%); background: var(--night); color: #fff; font: 600 13.5px/1.35 var(--body); padding: 8px 12px; border-radius: 10px; pointer-events: none; max-width: 240px; text-align: center; z-index: 3; box-shadow: 0 8px 20px rgba(7,19,38,.3); }
.mkp-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; font-size: 13.5px; color: var(--muted); } .mkp-legend span { display: inline-flex; align-items: center; gap: 7px; } .mkp-legend i { width: 14px; height: 14px; border-radius: 50%; background: #b7c6de; display: inline-block; } .mkp-legend i.has { background: var(--blue); }
.mkp-b { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; font: 700 12.5px var(--body); flex: none; } .mkp-b.o { background: var(--blue); color: #fff; } .mkp-b.m { background: var(--yellow); color: #1a1500; }
.mkp-filter { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; } .mkp-filter input { max-width: 420px; }
.mkp-empty { background: #fff; border: 1px dashed #b7c6de; border-radius: 24px; padding: clamp(24px, 4vw, 44px); text-align: center; } .mkp-empty b { display: block; font: 700 22px var(--head); margin-bottom: 10px; } .mkp-empty p { color: var(--muted); max-width: 560px; margin: 0 auto 20px; } .mkp-empty .btn { display: inline-flex; align-items: center; gap: 8px; }
.section-head .btn[data-add] { display: inline-flex; align-items: center; gap: 8px; }
.mkp-pane { display: flex; flex-direction: column; height: 100%; min-height: 0; } .mkp-pane > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 22px 14px; } .mkp-pane > header h2 { font-size: 22px; margin: 0 0 4px; } .mkp-pane > header p { margin: 0; color: var(--muted); font-size: 14.5px; }
.mkp-row { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; color: var(--ink); text-decoration: none !important; } .mkp-row:hover { background: var(--paper); } .mkp-row span:first-child { flex: 1; min-width: 0; } .mkp-row b { display: block; font-size: 15.5px; } .mkp-row small { color: var(--muted); font-size: 13px; }
.mkp-back { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 16px 10px 12px; font: 700 14px var(--body); color: var(--ink); cursor: pointer; } .mkp-back:hover { background: var(--paper); }
.mkp-d-raion { color: var(--blue); font: 700 12.5px var(--body); letter-spacing: .08em; text-transform: uppercase; margin: 6px 0 8px; } .mkp-d-h { font-size: clamp(24px, 3vw, 30px) !important; margin: 0 0 18px; }
.mkp-d-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; } .mkp-d-stats div { background: var(--night); border-radius: 16px; padding: 14px 12px; } .mkp-d-stats b { display: block; font: 700 26px/1 var(--head); color: var(--yellow); } .mkp-d-stats span { display: block; color: #c5d0e3; font-size: 12.5px; margin-top: 6px; line-height: 1.25; }
#mkp-detail-in h3 { font-size: 16px; margin: 24px 0 10px; } .mkp-d-btns { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 8px; } .mkp-d-btns .btn { flex: 1 1 180px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; }
dialog.dz-modal.wide { width: min(780px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); } .dz-modal.wide .dz-modal-in { overflow-y: auto; max-height: calc(100dvh - 24px); }
@media (max-width: 560px) { .mkp-legend { gap: 10px 14px; } .mkp-d-stats b { font-size: 22px; } }
.mk-dot circle { fill: #8fa5c9; } .mk-dot text { font-size: 16px; } .mk-dot text.lbl { font-size: 20px; font-weight: 700; }
.mkp-map .mk-dot text.lbl { stroke: #eef3fa; stroke-width: 5px; }

.dz-bar.tags { position: static; } .dz-tags { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; color: var(--muted); font-size: 14px; }
.dz-tag { display: inline-flex; align-items: center; gap: 7px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px 5px 6px; font-weight: 700; font-size: 13.5px; color: var(--ink); line-height: 1.25; } .dz-tag img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; background: #fff; flex: none; } .dz-tag:not(:has(img)) { padding-left: 12px; }
.mkp-map .mk-map { max-height: none; } .mk-dot text.lbl { font-size: 15px; font-weight: 600; fill: #33415a; stroke: #e6edf8; stroke-width: 3.5px; text-anchor: unset; } .mk-dot text.lbl.big { font-weight: 800; fill: var(--ink); font-size: 16.5px; }
.mkp-map .mk-dot text.lbl { stroke: #e6edf8; stroke-width: 3.5px; } .mk-dot:hover text.lbl, .mk-dot.cur text.lbl { fill: var(--blue); }
@media (max-width: 700px) { .mk-dot text.lbl:not(.big) { display: none; } .mk-dot text.lbl.big { font-size: 26px; } }
#mkp .dz-bar { position: static; }

.mk-lead { stroke: #7f93b5; stroke-width: 1.2; pointer-events: none; }

/* ---------- phone: compact footer, map filters as buttons ---------- */
@media (max-width: 640px) {
  .site-footer { padding-top: 26px; } .site-footer .ornament { margin-bottom: 24px; }
  .footer-grid { gap: 0 !important; } .footer-about { margin-bottom: 14px; } .site-footer .brand { margin-bottom: 10px; } .site-footer .brand .logo-mark { width: 46px; height: 46px; }
  .footer-years { margin: 0 0 8px; font-size: 12px; } .footer-about > p:not(.footer-contacts):not(.footer-social) { display: none; }
  .footer-contacts { font-size: 14px !important; margin: 0 0 12px; line-height: 1.5; } .footer-social { margin: 0; } .footer-social a { width: 40px; height: 40px; }
  .site-footer a, .site-footer .linklike { font-size: 15px; }
  .site-footer.acc .footer-grid > div:not(.footer-about) { border-top: 1px solid rgba(255,255,255,.1); }
  .site-footer.acc .footer-grid > div:not(.footer-about) h3 { margin: 0; padding: 14px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
  .site-footer.acc .footer-grid > div:not(.footer-about) h3::after { content: '+'; font: 400 20px/1 var(--body); color: var(--yellow); letter-spacing: 0; }
  .site-footer.acc .footer-grid > div.open h3::after { content: '–'; }
  .site-footer.acc .footer-grid > div:not(.footer-about) ul { display: none; padding: 0 0 14px; gap: 9px; } .site-footer.acc .footer-grid > div.open ul { display: grid; }
  .footer-sky { display: none; } .footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 14px 0 20px; gap: 4px; font-size: 12.5px; }
}
@media (max-width: 760px) {
  .map-filters { overflow: visible; flex-wrap: wrap; gap: 6px; padding: 10px; }
  .map-filters .chip { flex: 1 1 calc(50% - 6px); min-width: 0; justify-content: center; text-align: center; white-space: normal; line-height: 1.15; padding: 9px 8px; font-size: 12.5px; }
  .map-filters .chip:first-child { flex-basis: 100%; }
}

/* ---------- hromada page ---------- */
.hp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; } .hp-stats a { background: var(--night); border-radius: 20px; padding: 20px 22px; text-decoration: none !important; transition: transform .15s; } .hp-stats a:hover { transform: translateY(-2px); }
.hp-stats b { display: block; font: 700 clamp(26px, 3.4vw, 40px)/1 var(--head); color: var(--yellow); } .hp-stats span { display: block; color: #c5d0e3; font-size: 14.5px; margin-top: 8px; line-height: 1.3; }
.hp-tabs { display: none; }
.hp-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); gap: 36px; align-items: start; }
.hp-side { display: grid; gap: 18px; position: sticky; top: 96px; max-height: calc(100vh - 112px); overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; scrollbar-width: thin; }
.hp-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: var(--shadow); scroll-margin-top: 110px; } .hp-card h2 { font-size: 18px !important; margin: 0 0 12px; } .hp-card-btn { margin: 14px 0 0; }
.hp-mapcard .mk-map { border-radius: 14px; } .hp-mapcard .mk-dot text.lbl:not(.big) { display: none; } .hp-mapcard .mk-dot.cur text.lbl { display: block; fill: var(--ink); font-size: 30px; font-weight: 800; } .hp-mapcard .mk-dot text.lbl.big { font-size: 26px; } .hp-mapcard .mk-lead { display: none; } .hp-mapcard .mk-dot.cur circle { r: 20px; }
.hp-nav { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; font-size: 13.5px; font-weight: 700; } .hp-nav a { color: var(--blue); }
.hp-main section { scroll-margin-top: 110px; }
.hp-feed { columns: 2 280px; column-gap: 18px; } .hp-feed .tg-post { break-inside: avoid; margin: 0 0 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; } .hp-feed .tg-post:hover { border-color: var(--blue); background: #fff; } .hp-feed .tg-post p { -webkit-line-clamp: 10; }
.hp-more { text-align: center; margin: 8px 0 0; } .hp-more .btn { min-width: 220px; } .hp-end { text-align: center; }
@media (max-width: 980px) {
  .hp-grid { grid-template-columns: 1fr; gap: 26px; } .hp-side { position: static; max-height: none; overflow: visible; order: -1; padding: 0; }
  .hp-tabs { display: flex; gap: 8px; overflow-x: auto; position: sticky; top: 68px; z-index: 6; background: var(--paper, #f4f3ee); margin: 0 -16px 18px; padding: 10px 16px; scrollbar-width: none; border-bottom: 1px solid var(--line); } .hp-tabs::-webkit-scrollbar { display: none; }
  .hp-tabs a { flex: none; padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 700 14px var(--body); color: var(--ink); text-decoration: none !important; } .hp-tabs a.on { background: var(--night); color: #fff; border-color: var(--night); }
  .hp-card, .hp-main section { scroll-margin-top: 130px; } .hp-mapcard { display: none; }
}
@media (max-width: 900px) { .hp-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hp-stats { gap: 8px; } .hp-stats a { padding: 14px 12px; border-radius: 16px; } .hp-stats span { font-size: 12.5px; } .hp-card { padding: 16px; border-radius: 18px; } .hp-feed { columns: 1; } .hp-more .btn { width: 100%; } }

/* ---------- events ---------- */
.ev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .ev-grid.one { grid-template-columns: 1fr; gap: 10px; }
.ev { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; color: var(--ink); text-decoration: none !important; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; } .ev:hover { transform: translateY(-2px); border-color: var(--blue); }
.section.white .ev { background: var(--paper, #f4f3ee); box-shadow: none; }
.ev-date { flex: none; width: 64px; border-radius: 16px; background: var(--night); color: #fff; text-align: center; padding: 10px 4px 9px; } .ev-date b { display: block; font: 700 26px/1 var(--head); color: var(--yellow); } .ev-date small { display: block; font: 700 12px var(--body); text-transform: uppercase; letter-spacing: .08em; margin-top: 5px; color: #c5d0e3; }
.ev-date.near { background: var(--blue); } .ev-date.soon b { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; padding: 5px 0 1px; }
.ev-body { min-width: 0; } .ev-body small { display: block; color: var(--blue); font-weight: 700; font-size: 13px; margin-bottom: 5px; } .ev-body b { display: block; font-size: 16.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ev-body em { display: block; font-style: normal; color: var(--muted); font-size: 14px; line-height: 1.4; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-grid.one .ev { padding: 12px 14px; border-radius: 16px; box-shadow: none; } .ev-grid.one .ev-date { width: 54px; padding: 8px 2px 7px; } .ev-grid.one .ev-date b { font-size: 21px; } .ev-grid.one .ev-date.soon b { font-size: 11.5px; } .ev-grid.one .ev-body em { display: none; }
@media (max-width: 980px) { .ev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 640px) { .ev-grid { grid-template-columns: 1fr; gap: 10px; } .ev { padding: 14px; } .ev-body em { display: none; } }
/* avatars of journalists */
.hp-avs { display: flex; align-items: center; margin-top: 12px; } .hp-avs a, .hp-avs-more { width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff; margin-left: -12px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; display: grid; place-items: center; background: var(--night); color: var(--yellow); font: 700 16px var(--head); text-decoration: none !important; flex: none; transition: transform .15s; position: relative; }
.hp-avs a:first-child, .hp-avs > .hp-avs-more:first-child { margin-left: 0; } .hp-avs a:hover, .hp-avs a:focus-visible { transform: translateY(-3px) scale(1.06); z-index: 2; } .hp-avs img { width: 100%; height: 100%; object-fit: cover; } .hp-avs i { font-style: normal; }
.hp-avs-more { background: var(--paper, #f4f3ee); color: var(--ink); font: 700 14px var(--body); } .hp-avs-n { margin-left: 14px; font: 700 22px var(--head); color: var(--ink); } .hp-avs-n small { font: 600 13.5px var(--body); color: var(--muted); }
.hp-names { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 14.5px; font-weight: 700; }
.ev-date.soon b { font-size: 11.5px; }

.mkp-chips button small { opacity: .6; font-weight: 700; margin-left: 3px; }

/* ---------- dues: years as buttons, total ---------- */
.yr { display: flex; gap: 8px; flex-wrap: wrap; } .yr-b { position: relative; flex: 1 1 86px; cursor: pointer; } .yr-b input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.yr-b span { display: grid; place-items: center; align-content: center; min-height: 54px; padding: 8px 10px; border: 1px solid #cfd6e2; border-radius: 14px; background: #fff; font: 700 17px var(--head); color: var(--ink); transition: background .12s, border-color .12s, color .12s; }
.yr-b span small { font: 600 11.5px var(--body); color: var(--muted); margin-top: 2px; } .yr-b:hover span { border-color: var(--blue); }
.yr-b input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; } .yr-b input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.yr-b.paid { cursor: default; } .yr-b.paid input { cursor: default; } .yr-b.paid span { background: var(--ok-bg, #e4f6ec); border-color: transparent; color: #0c5c31; } .yr-b.paid span small { color: #0c5c31; }
.pay-calc { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--night); color: #dbe3f0; border-radius: 18px; padding: 16px 20px; font-size: 15px; line-height: 1.35; } .pay-calc b { font: 700 clamp(24px, 4vw, 30px)/1 var(--head); color: var(--yellow); white-space: nowrap; }
@media (max-width: 560px) { .yr-b { flex-basis: calc(33.333% - 6px); } .yr-b span { font-size: 16px; min-height: 50px; } }

/* ---------- news lead: the side list scrolls down ---------- */
.lead-grid { align-items: stretch; }
.lead-list { height: 0; min-height: 100%; overflow-y: auto; overscroll-behavior: contain; padding-right: 6px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.35) transparent; scroll-snap-type: y proximity; }
.lead-list::-webkit-scrollbar { width: 6px; } .lead-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.3); border-radius: 6px; } .lead-item { scroll-snap-align: start; }
@media (max-width: 1000px) { .lead-list { height: auto; min-height: 0; max-height: 440px; grid-template-columns: 1fr !important; } }
/* ---------- home: no double gaps between sections of the same colour ---------- */
.regions { padding-bottom: clamp(28px, 3.5vw, 48px); } #mediakarta { padding-top: clamp(28px, 3.5vw, 48px); padding-bottom: clamp(28px, 3.5vw, 48px); } #anonsy { padding-top: clamp(28px, 3.5vw, 48px); }
#mediakarta .section-head, #anonsy .section-head { margin-bottom: 28px; } #mediakarta .mk-stats { margin-bottom: 24px; }

/* ---------- Kharkiv solidarity centre ---------- */
.cjs { background: var(--night); color: #dbe3f0; } .cjs h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); } .cjs .eyebrow { color: var(--yellow); } .cjs .lead { color: #c5d0e3; }
.cjs-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.cjs-photo { margin: 0; } .cjs-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 26px; display: block; box-shadow: 0 24px 60px rgba(0,0,0,.35); } .cjs-photo figcaption { font-size: 13.5px; color: #9fb3d6; margin-top: 10px; }
.cjs-who { margin: 18px 0 0; font-size: 16.5px; line-height: 1.55; } .cjs-who b { color: #fff; }
.cjs-contact { margin-top: 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 22px; display: flex; gap: 20px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.cjs-contact small { display: block; font: 700 12.5px var(--body); letter-spacing: .1em; text-transform: uppercase; color: #9fb3d6; } .cjs-contact b { display: block; font: 700 20px var(--head); color: #fff; margin: 6px 0 4px; }
.cjs-tel { display: block; font: 700 clamp(24px, 3vw, 30px) var(--head); color: var(--yellow) !important; text-decoration: none !important; white-space: nowrap; } .cjs-contact span { display: block; font-size: 14px; color: #9fb3d6; margin-top: 6px; max-width: 300px; }
.cjs-btns { display: flex; gap: 10px; flex-wrap: wrap; } .cjs-h3 { color: #fff; font-size: 20px; margin: clamp(36px, 5vw, 56px) 0 18px; }
.cjs-help { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } .cjs-card { display: flex; flex-direction: column; gap: 6px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 18px; color: #dbe3f0; text-decoration: none !important; }
a.cjs-card:hover { background: rgba(255,255,255,.1); border-color: var(--yellow); } .cjs-card b { color: #fff; font-size: 16px; } .cjs-card span { font-size: 14px; line-height: 1.4; color: #b8c4d9; } .cjs-card em { font-style: normal; font-weight: 700; font-size: 13.5px; color: var(--yellow); margin-top: auto; padding-top: 6px; }
@media (max-width: 980px) { .cjs-grid { grid-template-columns: 1fr; } .cjs-help { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cjs-help { grid-template-columns: 1fr; } .cjs-contact { padding: 18px; } .cjs-btns, .cjs-btns .btn { width: 100%; justify-content: center; text-align: center; } }

.cjs-logo { display: block; width: min(280px, 70%); height: auto; background: #fff; border-radius: 16px; padding: 10px 14px; margin: 0 0 22px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.cjs-photo img { aspect-ratio: 3 / 2; }

.cjs-logo-box { background: #fff; border-radius: 28px; padding: clamp(20px, 4vw, 44px); box-shadow: 0 24px 60px rgba(0,0,0,.35); } .cjs-logo-box img { width: 100%; height: auto; display: block; }

/* membership check */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chk h3 { font-size: 16px; margin: 0 0 8px; } .chk-lead { font-size: 14.5px; color: var(--muted); margin: 0 0 12px; }
.chk-row { display: flex; gap: 8px; } .chk-row input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid #cfd6e2; border-radius: 12px; font: 500 15px var(--body); background: #fff; color: var(--ink); } .chk-row .btn { flex: none; }
.chk-side .chk-row { flex-direction: column; } .chk-side .chk-row .btn { width: 100%; justify-content: center; color: #fff; }
.chk-out, .chk-res { margin-top: 12px; display: grid; gap: 10px; }
.chk-ok { background: var(--ok-bg, #e4f6ec); border-radius: 14px; padding: 12px 14px; color: #0c5c31; } .chk-ok b { display: block; font: 700 15.5px var(--head); margin-bottom: 4px; } .chk-ok p, .chk-no p { margin: 0; font-size: 14px; line-height: 1.45; }
.chk-no { background: #fff3b8; border-radius: 14px; padding: 12px 14px; color: #5c4700; } .chk-law { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); } .chk-note { font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.chk-hero { margin-top: 18px; max-width: 520px; position: relative; } .chk-hero .chk-row input { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(8px); border-radius: 999px; padding: 13px 20px; } .chk-hero .chk-row input::placeholder { color: #dfe6f3; }
.chk-hero .chk-out { background: #fff; border-radius: 18px; padding: 12px; box-shadow: var(--shadow); max-height: 300px; overflow: auto; }
.chk-page .chk-row input { padding: 14px 16px; font-size: 16px; }
.pay-find { position: relative; } .pay-find-list { position: absolute; left: 0; right: 0; z-index: 8; margin-top: 4px; background: #fff; border: 1px solid #cfd6e2; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.pay-find-list button { display: block; width: 100%; text-align: left; padding: 11px 14px; border: 0; border-bottom: 1px solid var(--line); background: #fff; font: 600 15px var(--body); color: var(--ink); cursor: pointer; } .pay-find-list button:last-child { border-bottom: 0; } .pay-find-list button:hover, .pay-find-list button:focus { background: var(--sky); outline: 0; } .pay-find-list small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; } .pay-find-list p { margin: 0; padding: 11px 14px; font-size: 14px; color: var(--muted); }
.pay-find-state { margin: 10px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--sky); font-size: 14.5px; }
.chk-hero { margin-top: 22px; } .chk-hero-t { margin: 0 0 8px; font: 700 12px var(--body); letter-spacing: .12em; text-transform: uppercase; color: #dfe6f3; }
.chk-hero .chk-row { gap: 0; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.38); border-radius: 999px; padding: 5px; backdrop-filter: blur(10px); }
.chk-hero .chk-row input { background: transparent; border: 0; backdrop-filter: none; padding: 10px 14px 10px 18px; font-size: 16px; outline-offset: -2px; }
.chk-hero .chk-row .btn { background: var(--yellow); color: #1a1500; border: 0; border-radius: 999px; padding: 11px 22px; font-weight: 700; } .hero-cta + .chk-hero .chk-row .btn, .hero .chk-hero .chk-row .btn { width: auto; }
.chkm { border: 0; padding: 0 22px 22px; border-radius: 24px; width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; box-shadow: 0 30px 80px rgba(10,27,51,.45); color: var(--ink); }
.chkm::backdrop { background: rgba(10,27,51,.62); backdrop-filter: blur(3px); }
.chkm-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin: 0 -22px 18px; padding: 26px 22px 20px; background: var(--night); color: #fff; border-bottom: 4px solid var(--yellow); }
.chkm-head img { width: 84px; height: 84px; object-fit: contain; background: #fff; border-radius: 18px; padding: 6px; } .chkm-head small { display: block; font: 700 12px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); } .chkm-head b { display: block; font: 700 19px/1.25 var(--head); margin-top: 4px; }
.chkm-x { position: absolute; top: 10px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.chkm-body { display: grid; gap: 12px; margin-bottom: 18px; } .chkm-k { margin: 0; text-align: center; font: 700 12px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); } .chkm-q { margin: 0; text-align: center; color: var(--muted); font-size: 14.5px; }
.chkm .chk-ok b, .chkm .chk-no b { font-size: 18px; } .chkm .chk-ok p, .chkm .chk-no p { font-size: 15px; } .chk-no b { display: block; font: 700 15.5px var(--head); margin-bottom: 4px; }
.chkm-ask { margin: 0; padding: 14px 16px; border-left: 4px solid var(--yellow); background: var(--paper, #f4f3ee); border-radius: 0 12px 12px 0; font-size: 15px; line-height: 1.5; font-weight: 600; }
.chkm-law { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

@media (min-width: 901px) { .mk-stats.three { grid-template-columns: repeat(3, 1fr); } }

@media (max-width: 1100px) { .org-side { position: static; } }

.hp-fbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; } .hp-fb { background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--shadow); } .hp-fb > b { display: block; font: 700 16px var(--head); margin-bottom: 4px; } .hp-fb .mk-fbframe { margin-bottom: 0; }

/* «Протиправні дії» */
.chkm-acts { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; } .chkm-acts .btn { justify-content: center; min-height: 54px; } .chkm-acts .chkm-sos[hidden] + .btn { grid-column: 1 / -1; }
.chkm-sos { background: #c62828; color: #fff; border: 0; gap: 10px; text-align: left; line-height: 1.15; } .chkm-sos:hover { background: #a61d1d; color: #fff; } .chkm-sos small { display: block; font: 500 11.5px var(--body); opacity: .9; }
.chkm-sosn { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }
html.sos-on, html.sos-on body { overflow: hidden; }
.sos { position: fixed; inset: 0; z-index: 2147483000; background: #000; color: #fff; display: flex; flex-direction: column; } .sos[hidden] { display: none; }
.sos-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #111; } .sos-v.mirror { transform: scaleX(-1); } .sos.done .sos-v { opacity: .25; }
.sos-top, .sos-info, .sos-bar { position: relative; z-index: 1; } .sos-top { display: flex; justify-content: space-between; align-items: center; padding: max(14px, env(safe-area-inset-top)) 14px 0; }
.sos-rec { background: #c62828; color: #fff; font: 700 14px var(--body); letter-spacing: .06em; padding: 8px 14px; border-radius: 999px; animation: sosblink 1.4s infinite; } .sos.done .sos-rec { background: #0c7a3d; animation: none; } .sos.nocam .sos-rec { background: #6b5200; animation: none; }
@keyframes sosblink { 50% { opacity: .55; } } @media (prefers-reduced-motion: reduce) { .sos-rec, .sos-pill { animation: none; } }
.sos-x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.sos-info { margin: auto 14px 12px; padding: 14px 16px; border-radius: 18px; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); max-width: 460px; } .sos-info b { display: block; font: 700 19px var(--head); margin-bottom: 6px; } .sos-info p { margin: 2px 0; font-size: 14px; color: #e6ebf5; }
.sos-bar { display: flex; gap: 10px; padding: 0 14px max(16px, env(safe-area-inset-bottom)); } .sos-bar button { min-height: 56px; border-radius: 16px; border: 0; font: 700 16px var(--body); cursor: pointer; }
.sos-flip { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 104px; background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(6px); } .sos-flip span { font-size: 11.5px; font-weight: 600; } .sos-flip[hidden] { display: none; }
.sos-stop { flex: 1; background: #fff; color: #111; } .sos-stop:disabled, .sos-flip:disabled { opacity: .6; }
.sos-pill { position: fixed; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 2147483000; border: 0; border-radius: 999px; padding: 9px 14px; background: #c62828; color: #fff; font: 700 13px var(--body); box-shadow: 0 6px 20px rgba(0,0,0,.35); cursor: pointer; } .sos-pill[hidden] { display: none; }

/* press-card window (overrides the first version of the check window) */
.chkm { padding: 14px 14px 16px; background: #eef1f6; width: min(480px, calc(100vw - 20px)); }
.chkm-x { top: 22px; right: 22px; z-index: 2; background: rgba(255,255,255,.2); }
.chkm-body { margin-bottom: 14px; gap: 12px; }
.pc { position: relative; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(10,27,51,.16); border: 1px solid #d7deea; }
.pc-top { display: flex; align-items: center; gap: 14px; padding: 18px 64px 16px 18px; background: linear-gradient(135deg, #0b3d91 0%, #0a57c2 55%, #0b3d91 100%); color: #fff; }
.pc-top img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 14px; padding: 5px; flex: none; }
.pc-top small { display: block; font: 700 10.5px/1.3 var(--body); letter-spacing: .11em; text-transform: uppercase; color: #dbe6fb; }
.pc-top b { display: inline-block; font: 800 38px/1 var(--head); letter-spacing: .06em; color: #ffd500; margin-top: 5px; }
.pc-top i { font: 700 15px/1 var(--body); font-style: normal; letter-spacing: .34em; color: #fff; margin-left: 10px; opacity: .92; }
.pc-flag { height: 8px; background: linear-gradient(#0057b7 50%, #ffd500 50%); }
.pc-row { display: flex; gap: 14px; padding: 16px 18px; align-items: flex-start; } .pc-row + .pc-row { border-top: 1px dashed #cfd6e2; }
.pc-ph { width: 96px; height: 124px; flex: none; object-fit: cover; border-radius: 10px; border: 2px solid #0b3d91; background: #e7edf7; }
.pc-ph.none { display: grid; place-items: center; font: 700 30px var(--head); color: #0b3d91; }
.pc-k { display: block; font: 700 10.5px var(--body); letter-spacing: .12em; text-transform: uppercase; color: #0a57c2; }
.pc-name { display: block; font: 700 21px/1.2 var(--head); color: #0a1b33; margin: 4px 0 6px; }
.pc-row p { margin: 0; font-size: 14px; line-height: 1.45; color: #2b3a52; }
.pc-n { display: inline-block; margin-top: 9px; padding: 5px 10px; border-radius: 8px; background: #fff7cc; border: 1px solid #f0d94a; font-size: 13.5px; color: #4a3d00; } .pc-n b { font-weight: 800; letter-spacing: .04em; }
.pc-qr { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-top: 1px dashed #cfd6e2; background: #f7f9fc; }
.pc-qr img { width: 132px; height: 132px; flex: none; border-radius: 10px; border: 1px solid #d7deea; background: #fff; } .pc-qr b { display: block; font: 700 15px var(--head); color: #0a1b33; margin-bottom: 4px; } .pc-qr span { font-size: 13px; line-height: 1.4; color: #55637a; }
.pc-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 18px; background: #0c7a3d; color: #fff; font: 700 12.5px var(--body); } .pc-foot span + span { font-weight: 500; opacity: .92; }
.pc.off .pc-top { background: linear-gradient(135deg, #4a5364, #2f3746); } .pc.off .pc-foot { background: #8a5a00; } .pc.off .pc-flag { filter: grayscale(1); }
.chkm .chkm-ask { background: #fff; } .chkm .chkm-law { padding: 0 4px; } .chkm .chk-no { margin-top: 40px; }
.chkm-sos { display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 16px; border: 0; border-radius: 18px; cursor: pointer; text-align: left; color: #fff; background: linear-gradient(135deg, #e53935 0%, #b71c1c 100%); box-shadow: 0 10px 24px rgba(183,28,28,.38), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .12s, box-shadow .12s; }
.chkm-sos:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(183,28,28,.45), inset 0 1px 0 rgba(255,255,255,.25); background: linear-gradient(135deg, #e53935 0%, #b71c1c 100%); } .chkm-sos:active { transform: translateY(1px); } .chkm-sos:focus-visible { outline: 3px solid #ffd500; outline-offset: 2px; }
.chkm-sos[hidden] { display: none; }
.chkm-sos-i { position: relative; width: 46px; height: 46px; flex: none; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; } .chkm-sos-i i { width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: sospulse 1.6s infinite; }
@keyframes sospulse { 70% { box-shadow: 0 0 0 12px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } } @media (prefers-reduced-motion: reduce) { .chkm-sos-i i { animation: none; } }
.chkm-sos-t { flex: 1; min-width: 0; } .chkm-sos-t b { display: block; font: 700 18px/1.15 var(--head); } .chkm-sos-t small { display: block; font: 600 12.5px var(--body); opacity: .92; margin-top: 2px; letter-spacing: .02em; }
.chkm-sosn { margin: 8px 6px 0; font-size: 12.5px; color: #55637a; text-align: center; }
.chkm-close { display: block; width: 100%; margin-top: 12px; padding: 13px; border-radius: 14px; border: 1px solid #cfd6e2; background: #fff; font: 700 15.5px var(--body); color: #0a1b33; cursor: pointer; } .chkm-close:hover { border-color: var(--blue); color: var(--blue); }
.chk-page-card { display: grid; gap: 12px; max-width: 480px; margin: 0 auto; } .chk-res { max-width: 480px; }
.myid { position: fixed; left: 14px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 60; display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px 12px 14px; border: 0; border-radius: 999px; cursor: pointer; background: linear-gradient(135deg, #0b3d91, #0a57c2); color: #fff; font: 700 14.5px var(--body); box-shadow: 0 10px 26px rgba(10,61,145,.42); border-bottom: 3px solid #ffd500; }
.myid:hover { transform: translateY(-1px); } .myid:focus-visible { outline: 3px solid #ffd500; outline-offset: 2px; } .myid:disabled { opacity: .7; }
@media (max-width: 420px) { .pc-top b { font-size: 31px; } .pc-top i { display: block; margin: 4px 0 0; } .pc-ph { width: 80px; height: 104px; } .pc-name { font-size: 19px; } .pc-qr img { width: 112px; height: 112px; } }
@media print { .myid { display: none; } }

.chkm-sos-t b { font-size: 17px; white-space: nowrap; }

/* compact card: fits the phone screen, the QR code opens on demand */
.chkm { padding: 10px 10px 12px; max-height: calc(100dvh - 16px); } .chkm-x { top: 16px; right: 16px; } .chkm-body { gap: 10px; margin-bottom: 10px; }
.pc-top { padding: 12px 58px 11px 14px; gap: 12px; } .pc-top img { width: 52px; height: 52px; border-radius: 12px; } .pc-top b { font-size: 32px; margin-top: 3px; } .pc-flag { height: 6px; }
.pc-row { padding: 12px 14px; gap: 12px; } .pc-ph { width: 84px; height: 108px; } .pc-name { font-size: 19px; margin: 3px 0 4px; } .pc-row p { font-size: 13.5px; line-height: 1.4; } .pc-n { margin-top: 7px; padding: 4px 9px; font-size: 13px; }
details.pc-qr { display: block; padding: 0; } details.pc-qr summary { display: flex; align-items: center; gap: 12px; padding: 11px 14px; cursor: pointer; list-style: none; color: #0b3d91; } details.pc-qr summary::-webkit-details-marker { display: none; }
details.pc-qr summary span { flex: 1; } details.pc-qr summary b { display: block; font: 700 15px var(--head); color: #0a1b33; margin: 0; } details.pc-qr summary small { display: block; font-size: 12.5px; color: #55637a; }
details.pc-qr summary i { width: 10px; height: 10px; border-right: 2.5px solid #0b3d91; border-bottom: 2.5px solid #0b3d91; transform: rotate(45deg); transition: transform .15s; margin-right: 4px; } details.pc-qr[open] summary i { transform: rotate(-135deg); }
details.pc-qr summary:focus-visible { outline: 3px solid #ffd500; outline-offset: -3px; }
.pc-qr-in { padding: 2px 14px 14px; text-align: center; } .pc-qr .pc-qr-in img { width: min(220px, 62vw); height: auto; aspect-ratio: 1; border-radius: 12px; } .pc-qr-in p { margin: 8px 0 0; font-size: 12.5px; line-height: 1.4; color: #55637a; }
.pc-foot { padding: 8px 14px; font-size: 12px; }
.chkm .chkm-ask { padding: 10px 12px; font-size: 13.5px; line-height: 1.4; } .chkm .chkm-law { font-size: 12px; line-height: 1.4; }
.chkm-sos { position: sticky; bottom: 0; padding: 11px 14px; border-radius: 16px; } .chkm-sos-i { width: 40px; height: 40px; } .chkm-sosn { margin-top: 6px; font-size: 12px; }
@media (max-width: 560px) { .chkm { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; padding: 8px 8px calc(10px + env(safe-area-inset-bottom)); display: none; flex-direction: column; } .chkm[open] { display: flex; } .chkm-body { flex: 1 0 auto; } .chkm-x { top: 12px; right: 12px; position: fixed; } .chkm .chkm-sos { margin-top: auto; } }

.chk-go { display: inline-block; margin-top: 12px; padding: 10px 16px; border-radius: 999px; background: #0a57c2; color: #fff !important; font: 700 14.5px var(--body); text-decoration: none !important; } .chk-go:hover { background: #0b3d91; } .chk-go:focus-visible { outline: 3px solid #ffd500; outline-offset: 2px; }

.acc-ask { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 14px; background: var(--sky); } .acc-ask p { margin: 0; font-size: 14.5px; flex: 1 1 200px; } .acc-ask .btn { flex: none; background: #fff; }

/* Hints inside and under fields: smaller than the typed text, smaller still on phones.
   The field itself keeps 16px so phones do not zoom the page when it gets focus. */
input::placeholder, textarea::placeholder { font-size: .875em; color: #7b8799; opacity: 1; font-weight: 400; }
input:placeholder-shown, textarea:placeholder-shown { text-overflow: ellipsis; }
.field .hint, .field > small, .field label small, .lbl small, .form-card .hint, .pay-find .hint { font-size: 13px; line-height: 1.4; font-weight: 400; color: var(--muted); }
.field .hint { display: block; margin-top: 5px; }
@media (max-width: 560px) {
  input::placeholder, textarea::placeholder { font-size: .8em; }
  .field .hint, .field > small, .field label small, .lbl small, .form-card .hint, .pay-find .hint, .chk-lead, .chkm-sosn { font-size: 12px; }
}
.chk-hero .chk-row input::placeholder { color: #dfe6f3; }

.sos-cam { display: block; width: 100%; margin-top: 10px; padding: 12px; border: 0; border-radius: 12px; background: #ffd500; color: #1a1500; font: 700 15px var(--body); cursor: pointer; } .sos-cam[hidden] { display: none; }
.chk-pick { background: #fff; border-radius: 18px; padding: 54px 14px 14px; box-shadow: 0 10px 30px rgba(10,27,51,.16); } .chk-pick > b { display: block; font: 700 18px/1.25 var(--head); color: #0a1b33; margin-bottom: 12px; }
.chk-pick-l { display: grid; gap: 8px; } .chk-pick-b { text-align: left; padding: 12px 14px; border: 1px solid #cfd6e2; border-radius: 14px; background: #fff; cursor: pointer; font: 700 16px var(--body); color: #0a1b33; } .chk-pick-b:hover, .chk-pick-b:focus-visible { border-color: #0a57c2; background: var(--sky); outline: 0; } .chk-pick-b small { display: block; font: 500 13px var(--body); color: #55637a; margin-top: 2px; }

.chkm-x { background: rgba(10,27,51,.55); }

.pc-left { flex: none; display: grid; gap: 8px; justify-items: center; }
.pc-qrb { display: grid; justify-items: center; gap: 3px; padding: 5px 5px 4px; border: 1px solid #cfd6e2; border-radius: 10px; background: #fff; cursor: pointer; } .pc-qrb img { width: 64px; height: 64px; display: block; } .pc-qrb span { font: 700 9.5px var(--body); letter-spacing: .04em; text-transform: uppercase; color: #0b3d91; }
.pc-qrb:hover, .pc-qrb:focus-visible { border-color: #0a57c2; outline: 3px solid #ffd500; outline-offset: 2px; }
.qrz { position: fixed; inset: 0; z-index: 2147483001; display: grid; place-items: center; padding: 16px; background: rgba(5,12,26,.8); }
.qrz-b { background: #fff; border-radius: 22px; padding: 20px; width: min(360px, 100%); text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.5); } .qrz-b img { width: 100%; height: auto; aspect-ratio: 1; display: block; border-radius: 10px; } .qrz-b p { margin: 12px 0 14px; font-size: 14px; line-height: 1.4; color: #55637a; }
.qrz-x { width: 100%; padding: 13px; border: 0; border-radius: 14px; background: #0a57c2; color: #fff; font: 700 16px var(--body); cursor: pointer; } .qrz-x:hover { background: #0b3d91; }

/* install the site as an app */
.appi { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2147482000; padding: 10px 10px max(10px, env(safe-area-inset-bottom)); display: flex; justify-content: center; pointer-events: none; }
.appi-b { pointer-events: auto; width: min(460px, 100%); background: #fff; border-radius: 22px; padding: 16px; box-shadow: 0 -6px 40px rgba(10,27,51,.35); border-top: 4px solid #ffd500; animation: appiup .28s ease-out; }
@keyframes appiup { from { transform: translateY(30px); } } @media (prefers-reduced-motion: reduce) { .appi-b { animation: none; } }
.appi-t { display: flex; gap: 14px; align-items: center; } .appi-t img { width: 56px; height: 56px; border-radius: 14px; flex: none; box-shadow: 0 2px 8px rgba(10,27,51,.2); }
.appi-b b { display: block; font: 700 16.5px/1.25 var(--head); color: #0a1b33; } .appi-b p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.4; color: #55637a; }
.appi-b ol { margin: 10px 0 14px; padding-left: 22px; font-size: 14.5px; line-height: 1.5; color: #2b3a52; }
.appi-r { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 14px; }
.appi-ok, .appi-no { padding: 12px; border-radius: 14px; font: 700 15px var(--body); cursor: pointer; } .appi-ok { border: 0; background: #0a57c2; color: #fff; width: 100%; } .appi-ok:hover { background: #0b3d91; } .appi-no { border: 1px solid #cfd6e2; background: #fff; color: #0a1b33; }

.adm-ask { border: 0; border-radius: 20px; padding: 24px; width: min(440px, calc(100vw - 32px)); box-shadow: 0 30px 80px rgba(10,27,51,.45); color: var(--ink); } .adm-ask::backdrop { background: rgba(10,27,51,.6); backdrop-filter: blur(2px); }
.adm-ask > b { display: block; font: 700 20px var(--head); margin-bottom: 8px; } .adm-ask p { margin: 0 0 20px; font-size: 15.5px; line-height: 1.5; color: #2b3a52; }
.adm-ask-b { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; } .adm-ask-ok { background: #c62828; color: #fff; border: 0; } .adm-ask-ok:hover { background: #a61d1d; color: #fff; } .adm-ask-ok.plain { background: #0a57c2; } .adm-ask-ok.plain:hover { background: #0b3d91; }

.adm-ask-l { display: block; font: 600 14px var(--body); color: #2b3a52; margin: 4px 0 18px; } .adm-ask-l input { display: block; width: 100%; margin-top: 6px; padding: 11px 13px; border: 1px solid #cfd6e2; border-radius: 12px; font: 500 16px var(--body); }

@media (min-width: 1101px) { .cards.six { grid-template-columns: repeat(3, 1fr); } }

.chkm-off { margin: 0; padding: 10px 14px 10px 54px; border-radius: 14px; background: #fff7cc; border: 1px solid #f0d94a; color: #4a3d00; font-size: 13.5px; }

/* greetings and the calendar of professional holidays */
.hol-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 44px; align-items: start; }
.hol-card { display: block; border-radius: 26px; overflow: hidden; box-shadow: 0 24px 60px rgba(10,27,51,.22); transition: transform .2s; } .hol-card:hover { transform: translateY(-4px); } .hol-card img { display: block; width: 100%; height: auto; }
.hol-when { margin: 0 0 6px; font: 700 14px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); } .hol-text h3 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 16px; }
.hol-text blockquote { margin: 0; padding: 4px 0 4px 22px; border-left: 5px solid var(--yellow); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--ink); }
.hol-sign { margin: 18px 0 0; } .hol-sign b { display: block; font: 700 17px var(--head); } .hol-sign span { color: var(--muted); font-size: 14.5px; } .hol-acts { margin: 18px 0 0; }
.hol-text h4 { margin: 34px 0 12px; font: 700 13px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hol-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .hol-list a { display: grid; grid-template-columns: 118px 1fr auto; gap: 14px; align-items: center; padding: 13px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none !important; }
.hol-list a:hover { border-color: var(--blue); } .hol-list b { font: 700 15px var(--head); color: var(--blue); } .hol-list span { font-weight: 600; font-size: 15.5px; } .hol-list small { color: var(--muted); font-size: 13px; white-space: nowrap; }
@media (max-width: 900px) { .hol-grid { grid-template-columns: 1fr; gap: 26px; } .hol-card { max-width: 420px; } }
@media (max-width: 560px) { .hol-list a { grid-template-columns: 1fr auto; } .hol-list b { grid-column: 1 / -1; } }

/* 3D map on touch screens: a vertical swipe scrolls the page, the map takes sideways moves and two fingers; buttons do not zoom the page on a double tap */
@media (pointer: coarse) { #map3d { touch-action: pan-y; } }
.map-zoom button, .chip, .map-item { touch-action: manipulation; }
.map-box, .map-list { max-width: 100%; }
@media (max-width: 760px) {
  #map3d { height: min(400px, 56vh); }
  .map-hint { display: block; left: 12px; right: 64px; bottom: 10px; font-size: 12px; pointer-events: none; }
  .map-label { font-size: 10.5px; } .map-label.city { font-size: 12.5px; }
  .map-pop { top: auto; bottom: 10px; left: 10px; right: 10px; width: auto; max-height: 70%; }
}

/* Home page: the ribbon of greeting cards (birthdays of members and holidays) */
.greet .section-head { align-items: flex-end; gap: 20px; }
.greet-lead { margin: 12px 0 0; color: var(--muted); font-size: 17px; max-width: 640px; }
.greet-nav { display: flex; gap: 8px; flex: none; }
.greet-nav button { height: 46px; min-width: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 700 15px var(--body); cursor: pointer; touch-action: manipulation; }
.greet-nav button:hover { border-color: var(--blue); color: var(--blue); } .greet-nav .now { background: var(--ink); color: #fff; border-color: var(--ink); } .greet-nav .now:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.greet-strip { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x proximity; padding: 16px 4px 26px; margin: 18px -4px 0; scrollbar-width: thin; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.greet-strip:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 20px; }
.greet-card { position: relative; flex: none; width: clamp(210px, 62vw, 270px); scroll-snap-align: center; color: var(--ink); text-decoration: none; transition: transform .2s, opacity .2s, filter .2s; }
.greet-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; background: #0a1b33; box-shadow: 0 16px 38px rgba(10,27,51,.18); }
.greet-card:hover { transform: translateY(-4px); }
.greet-card.past { opacity: .62; filter: saturate(.55); } .greet-card.past:hover, .greet-card.past:focus-visible { opacity: 1; filter: none; }
.greet-card.today { width: clamp(240px, 72vw, 320px); } .greet-card.today img { box-shadow: 0 0 0 4px var(--yellow), 0 22px 50px rgba(10,27,51,.3); }
.greet-when { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 7px 12px; border-radius: 999px; background: rgba(10,27,51,.82); color: #fff; font: 700 12.5px/1 var(--body); letter-spacing: .04em; backdrop-filter: blur(6px); }
.greet-card.today .greet-when { background: var(--yellow); color: var(--ink); } .greet-card.next .greet-when { background: var(--blue); }
.greet-cap { display: grid; gap: 2px; padding: 14px 4px 0; } .greet-cap b { font: 700 13px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.greet-cap span { font: 700 17px/1.25 var(--head); overflow-wrap: anywhere; } .greet-cap small { color: var(--muted); font-size: 13.5px; } .greet-card.jub .greet-cap small { color: #8a6d00; font-weight: 700; }
@media (max-width: 760px) { .greet .section-head { flex-direction: column; align-items: flex-start; } .greet-strip { gap: 14px; margin-inline: 0; padding-inline: 2px; } .greet-nav button { height: 42px; min-width: 42px; } }
@media (prefers-reduced-motion: reduce) { .greet-card { transition: none; } }

/* The page never moves sideways: nothing may make it wider than the screen */
html { overflow-x: clip; } body { overflow-x: clip; max-width: 100%; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
/* Touch screens scroll with a finger — the scroll bars are not drawn there (page and inner ribbons) */
@media (pointer: coarse) {
  html, body, .greet-strip, .map-filters, .map-pop { scrollbar-width: none; -ms-overflow-style: none; }
  html::-webkit-scrollbar, body::-webkit-scrollbar, .greet-strip::-webkit-scrollbar, .map-filters::-webkit-scrollbar, .map-pop::-webkit-scrollbar { display: none; width: 0; height: 0; }
}

/* Cabinet: the photo on the ID card is a button for uploading one's own photo */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.idphoto-edit { position: relative; flex: none; cursor: pointer; display: block; border-radius: 16px; }
.idphoto-edit:hover .idphoto, .cab-photo:focus-within ~ * .idphoto { border-color: var(--yellow); }
.idphoto-add { position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 5px 4px; border-radius: 10px; background: rgba(10,27,51,.78); color: #fff; font: 700 11.5px/1.2 var(--body); text-align: center; backdrop-filter: blur(4px); }
.idphoto-edit:hover .idphoto-add { background: var(--yellow); color: var(--ink); }
.cab-photo { margin-top: 14px; } .cab-photo p { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 0 0 6px; } .cab-photo small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.45; max-width: 440px; }
#cab-ph:focus-visible + p label { outline: 3px solid var(--blue); outline-offset: 3px; }
/* Check card without a photo: the QR code takes the place of the photo */
.pc-qrb.big { padding: 7px 7px 5px; } .pc-qrb.big img { width: 96px; height: 96px; }
@media (max-width: 420px) { .pc-qrb.big img { width: 84px; height: 84px; } }

/* Cabinet: the member's own data under the ID card */
.cab-data { margin-top: 26px; padding: 26px; } .cab-data h2 { font-size: 22px; margin: 0 0 6px; }
.cab-data-lead { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.cab-fixed { display: grid; gap: 10px; margin: 0 0 8px; padding: 14px 16px; border-radius: 16px; background: var(--paper); }
.cab-fixed div { display: grid; gap: 1px; } .cab-fixed dt { font: 700 11.5px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); } .cab-fixed dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.cab-data-note { font-size: 13.5px; color: var(--muted); margin: 0 0 18px; }
.cab-data .form-grid { grid-template-columns: 1fr 1fr; gap: 14px; } .cab-data .field.full { grid-column: 1 / -1; }
@media (max-width: 520px) { .cab-data { padding: 20px; } .cab-data .form-grid { grid-template-columns: 1fr; } }

.idphoto-edit { align-self: flex-start; line-height: 0; } .idphoto-add { line-height: 1.2; }

/* Window «Посвідчення»: the card and the photos of the member's documents as slides */
.chkm-sl { position: relative; min-width: 0; }
.chkm-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; border-radius: 16px; cursor: grab; }
.chkm-track::-webkit-scrollbar { display: none; } .chkm-track.drag { scroll-snap-type: none; cursor: grabbing; user-select: none; } .chkm-track:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.chkm-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; scroll-snap-stop: always; display: grid; gap: 12px; align-content: start; margin: 0; }
.chkm-slide.doc { background: #0a1b33; border-radius: 16px; padding: 10px; align-content: center; justify-items: center; }
.chkm-slide.doc img { display: block; max-width: 100%; max-height: min(62dvh, 560px); width: auto; height: auto; border-radius: 10px; background: #14274a; }
.chkm-slide.doc figcaption { color: #dbe6fb; font: 700 13px var(--body); letter-spacing: .04em; text-align: center; padding: 0 6px 2px; }
.chkm-arr { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(10,27,51,.72); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; touch-action: manipulation; }
.chkm-arr.prev { left: 6px; } .chkm-arr.next { right: 6px; } .chkm-arr:disabled { opacity: 0; pointer-events: none; } .chkm-arr:hover { background: var(--blue); }
.chkm-dots { display: flex; justify-content: center; gap: 8px; padding: 10px 0 0; }
.chkm-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: #b7c2d6; cursor: pointer; } .chkm-dots button[aria-current="true"] { background: var(--blue); width: 24px; border-radius: 6px; }
@media (pointer: coarse) { .chkm-arr { display: none; } }
/* Cabinet: photos of the member's documents */
.cab-docs { margin-top: 26px; padding: 26px; } .cab-docs h2 { font-size: 22px; margin: 0 0 6px; }
.cab-docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cab-doc { display: grid; gap: 2px; min-width: 0; } .cab-doc b { font: 700 14px/1.25 var(--head); margin-top: 8px; } .cab-doc small { color: var(--muted); font-size: 13px; }
.cab-doc-pic { display: grid; place-items: center; aspect-ratio: 86 / 54; border-radius: 14px; border: 2px dashed #c3ccdb; background: var(--paper); cursor: pointer; overflow: hidden; color: var(--blue); font: 500 34px/1 var(--body); }
.cab-doc.has .cab-doc-pic { border-style: solid; border-color: var(--line); background: #0a1b33; } .cab-doc-pic img { width: 100%; height: 100%; object-fit: contain; }
.cab-doc-pic:hover { border-color: var(--blue); } .cab-doc input:focus-visible + .cab-doc-pic { outline: 3px solid var(--blue); outline-offset: 3px; }
.cab-doc-acts { display: flex; gap: 14px; margin-top: 4px; font-size: 13.5px; font-weight: 700; color: var(--blue); } .cab-doc-acts .linklike { cursor: pointer; } .cab-doc-acts button.linklike { color: #b3261e; font-weight: 600; }
.cab-docs-note { display: block; margin-top: 14px; color: var(--muted); font-size: 13.5px; }
@media (max-width: 420px) { .cab-docs { padding: 20px; } }

/* «Редакція»: the author's workplace */
.au { max-width: 1240px; } .au h2 { font-size: 20px; margin: 0 0 10px; }
.au-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; } .au-nav a { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; }
.au-nav a.on, .au-nav a:hover { background: var(--ink); color: #fff; border-color: var(--ink); } .au-nav a:last-child { margin-left: auto; background: none; border-color: transparent; color: var(--blue); } .au-nav a:last-child:hover { background: none; color: var(--blue); text-decoration: underline; }
.au-bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.au-tabs { display: flex; gap: 4px; flex-wrap: wrap; } .au-tabs a { padding: 8px 13px; border-radius: 12px; color: var(--muted); font-weight: 700; font-size: 14.5px; text-decoration: none; } .au-tabs a b { font-weight: 700; opacity: .7; } .au-tabs a.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.au-find { display: flex; gap: 8px; } .au-find input { height: 42px; border-radius: 12px; border: 1px solid var(--line); padding: 0 14px; font: inherit; font-size: 15px; min-width: 0; width: 240px; background: #fff; }
.au-list { padding: 8px 20px; overflow-x: auto; } .au-list th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; } .au-list td { vertical-align: middle; }
.au-t { display: flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; min-width: 240px; } .au-t img, .au-noimg { width: 64px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; background: var(--paper); }
.au-t b { display: block; font: 700 16px/1.3 var(--head); } .au-t:hover b { color: var(--blue); } .au-t small { color: var(--muted); font-size: 13px; }
.au-acts { white-space: nowrap; } .au-acts a { margin-left: 12px; font-weight: 700; font-size: 14px; }
.au-empty { text-align: center; padding: 48px 24px; } .au-empty p { color: var(--muted); }
.au-ed { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.au-main { background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: clamp(18px, 2.4vw, 32px); min-width: 0; }
.au-title { width: 100%; border: 0; border-bottom: 2px solid var(--line); padding: 4px 0 14px; font: 700 clamp(24px, 3vw, 34px)/1.2 var(--head); color: var(--ink); background: none; outline: none; } .au-title:focus { border-color: var(--blue); }
.au-tools { position: sticky; top: 76px; z-index: 5; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin: 16px 0 0; padding: 8px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.au-tools button { height: 36px; min-width: 36px; padding: 0 10px; border-radius: 9px; border: 0; background: none; color: var(--ink); font: 600 14px var(--body); cursor: pointer; touch-action: manipulation; } .au-tools button:hover { background: #fff; box-shadow: 0 1px 4px rgba(10,27,51,.14); } .au-tools button:disabled { opacity: .5; }
.au-tools i { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.au-area { min-height: 420px; margin-top: 18px; outline: none; font-size: 18px; line-height: 1.7; max-width: none; overflow-wrap: anywhere; } .au-area:focus-visible { box-shadow: -3px 0 0 var(--yellow); padding-left: 12px; margin-left: -12px; }
.au-area.empty::before { content: attr(data-ph); color: #9aa5b8; pointer-events: none; position: absolute; } .au-area figure { margin: 22px 0; } .au-area img { max-width: 100%; height: auto; border-radius: 14px; } .au-area figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.au-count { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.au-box { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 20px; display: grid; gap: 10px; } .au-main .au-box { box-shadow: none; padding: 18px 0 0; }
.au-box label { font-weight: 700; font-size: 14.5px; } .au-box label small, .au-box h2 small { font-weight: 500; color: var(--muted); font-size: 13px; }
.au-box input[type=text], .au-box textarea, .au-box select { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 15.5px; background: #fff; color: var(--ink); } .au-box textarea { resize: vertical; }
.au-box > small { color: var(--muted); font-size: 13px; line-height: 1.45; } .au-box input[type=file] { font-size: 14px; max-width: 100%; }
.au-side { display: grid; gap: 16px; position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; padding: 2px 2px 12px; scrollbar-width: thin; }
.au-meta { margin: 0; color: var(--muted); font-size: 14px; } .au-note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.au-row { display: flex; gap: 10px 14px; flex-wrap: wrap; align-items: center; margin: 0; font-size: 14.5px; font-weight: 700; }
.au-cover { width: 100%; border-radius: 12px; aspect-ratio: 16 / 9; object-fit: cover; }
.au-snip { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; background: #fff; } .au-snip span { font-size: 12.5px; color: #4d5156; overflow-wrap: anywhere; } .au-snip b { font: 400 18px/1.3 Arial, sans-serif; color: #1a0dab; } .au-snip p { margin: 0; font: 400 13.5px/1.5 Arial, sans-serif; color: #4d5156; }
.au-seo small.over, .au-box small.over { color: #b3261e; font-weight: 700; }
.au-slug { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; } .au-slug span { padding: 10px 2px 10px 12px; color: var(--muted); font-size: 14.5px; } .au-slug input[type=text] { border: 0; border-radius: 0; padding-left: 0; }
.au-del { color: #b3261e; font-weight: 700; font-size: 14.5px; cursor: pointer; } .au-restore { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.au-locked { display: grid; gap: 12px; } .au-locked h2 { font-size: 26px; }
.au-trhead { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; } .au-trhead b { display: block; font: 700 20px/1.3 var(--head); } .au-trhead small { color: var(--muted); }
.au-tr { display: grid; gap: 14px; } .au-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.au-src { font-size: 15.5px; line-height: 1.55; overflow-wrap: anywhere; } .au-src small, .au-en small { display: block; font: 700 11.5px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; } .au-en small { margin: 4px 0 0; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 12.5px; } .au-en small.ed { color: #0c5c31; font-weight: 700; }
.au-en textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 15.5px; line-height: 1.5; resize: vertical; }
.au-save { position: sticky; bottom: 12px; justify-content: flex-end; padding-top: 6px; }
.au-cab { display: grid; gap: 10px; } .au-cab h2 { font-size: 22px; margin: 0; } .au-cab p { margin: 0; color: var(--muted); font-size: 15px; } .au-nums { display: flex; gap: 18px; flex-wrap: wrap; } .au-nums b { font: 700 22px var(--head); color: var(--ink); margin-right: 4px; }
@media (max-width: 980px) { .au-ed { grid-template-columns: 1fr; } .au-side { position: static; max-height: none; overflow: visible; } .au-tools { top: 68px; } }
@media (max-width: 640px) { .au-pair { grid-template-columns: 1fr; gap: 8px; } .au-find { width: 100%; } .au-find input { flex: 1; width: auto; } .au-nav a:last-child { margin-left: 0; } .au-tools { gap: 2px; padding: 6px; } .au-tools button { padding: 0 8px; font-size: 13px; } .au-area { font-size: 17px; min-height: 320px; } .au-acts a { display: block; margin: 0 0 4px; } }
.cab-doc-pic { position: relative; } .cab-doc-pic img.sample { position: absolute; inset: 0; opacity: .38; filter: saturate(.7); object-fit: cover; }
.cab-doc-pic em { position: absolute; top: 6px; left: 6px; z-index: 1; padding: 3px 8px; border-radius: 999px; background: rgba(10,27,51,.75); color: #fff; font: 700 10.5px/1.2 var(--body); font-style: normal; letter-spacing: .06em; text-transform: uppercase; }
.cab-doc-pic > span { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 26px; box-shadow: 0 2px 8px rgba(10,27,51,.18); }

/* The journalist's personal page: the card of the cabinet, sharing, the faces on the home page, the list of journalists */
.cab-top { margin-bottom: 28px; } .cab-page { display: grid; gap: 14px; } .cab-page h2 { font-size: 24px; margin: 0 0 6px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; } .cab-page h3 { font-size: 17px; margin: 8px 0 0; }
.cab-page-top { display: flex; gap: 24px; justify-content: space-between; align-items: flex-start; } .cab-page-top > div { min-width: 0; display: grid; gap: 10px; }
.cab-page-set { border-top: 1px solid var(--line); padding-top: 14px; } .cab-page-set summary { cursor: pointer; font-weight: 700; color: var(--blue); } .cab-page-set form { margin-top: 16px; }
.cab-page label small { font-weight: 500; color: var(--muted); font-size: 13px; }
.cab-hs { margin-top: 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 18px; padding: 16px; border-radius: 16px; background: var(--paper); max-height: 340px; overflow-y: auto; }
.cab-hs fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 4px; min-width: 0; } .cab-hs legend { font: 700 12px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 4px; } .cab-hs .check { font-size: 14.5px; }
.jr-url { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0; padding: 8px 8px 8px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); width: fit-content; max-width: 100%; } .jr-url span, .jr-url a { font-weight: 700; font-size: 15px; overflow-wrap: anywhere; min-width: 0; }
.jr-share-b { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.jr-qr { flex: none; display: grid; justify-items: center; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-decoration: none; color: var(--muted); } .jr-qr img { display: block; border-radius: 6px; } .jr-qr small { font-size: 12px; font-weight: 700; } .jr-qr:hover { border-color: var(--blue); color: var(--blue); }
.jr-share { display: flex; gap: 20px; justify-content: space-between; align-items: center; margin: 26px 0 0; padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); } .jr-share > div { display: grid; gap: 10px; min-width: 0; } .jr-share b { font: 700 16px var(--head); }
.jr-row { display: flex; gap: 22px; overflow-x: auto; padding: 14px 4px 18px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.jr-face { flex: none; width: 108px; display: grid; justify-items: center; gap: 10px; text-align: center; color: var(--ink); text-decoration: none; scroll-snap-align: start; } .jr-face b { font: 700 13.5px/1.25 var(--body); } .jr-face:hover b { color: var(--blue); }
.jr-av { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: #e7edf7; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--blue), 0 8px 18px rgba(10,27,51,.14); transition: transform .2s; } .jr-av.none { display: grid; place-items: center; font: 700 30px var(--head); color: var(--blue); }
.jr-face:hover .jr-av, .jr-card:hover .jr-av { transform: scale(1.05); box-shadow: 0 0 0 2px var(--yellow), 0 10px 22px rgba(10,27,51,.2); } .jr-face.more .jr-av { box-shadow: 0 0 0 2px #c3ccdb; border-style: dashed; background: #fff; }
.jr-bar { display: flex; gap: 14px; align-items: center; margin: 8px 0 24px; } .jr-bar input { flex: 1; height: 52px; border-radius: 16px; border: 1px solid var(--line); padding: 0 18px; font: inherit; background: #fff; min-width: 0; } .jr-bar span { font: 700 18px var(--head); color: var(--blue); min-width: 40px; text-align: right; }
.jr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.jr-card { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 24px 16px 20px; border-radius: 22px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; } .jr-card[hidden] { display: none; } .jr-card:hover { border-color: var(--blue); }
.jr-card b { font: 700 17px/1.25 var(--head); margin-top: 8px; } .jr-card small { color: var(--muted); font-size: 13.5px; line-height: 1.4; } .jr-card em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--blue); }
.jr-cta { display: flex; gap: 18px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-top: 36px; padding: 22px 26px; border-radius: 22px; background: var(--night); color: #fff; } .jr-cta b { display: block; font: 700 19px var(--head); } .jr-cta span { color: #c5d0e3; font-size: 15px; }
@media (max-width: 640px) { .cab-page-top, .jr-share { flex-direction: column; align-items: stretch; } .jr-qr { justify-self: start; width: fit-content; } .jr-row { gap: 14px; } .jr-face { width: 92px; } .jr-face .jr-av { width: 80px; height: 80px; } .jr-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .jr-card { padding: 18px 10px 16px; } }
@media (pointer: coarse) { .jr-row { scrollbar-width: none; } .jr-row::-webkit-scrollbar { display: none; } }

.jr-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: -8px 0 24px; } .chip2 { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 700 14px var(--body); cursor: pointer; touch-action: manipulation; } .chip2 b { color: var(--muted); font-weight: 700; margin-left: 2px; } .chip2.on { background: var(--ink); color: #fff; border-color: var(--ink); } .chip2.on b { color: #c5d0e3; }
.mk-stat a { display: inline-block; margin-top: 8px; }

.vh { width: 1px !important; height: 1px !important; min-width: 0 !important; padding: 0 !important; border: 0 !important; margin: -1px !important; }

/* The switch of the personal page */
.cab-page-h { display: flex; gap: 14px 18px; align-items: center; flex-wrap: wrap; } .cab-page-h h2 { margin: 0; }
.sw-form { display: inline-flex; align-items: center; gap: 10px; margin: 0; }
.sw { position: relative; width: 56px; height: 32px; border-radius: 999px; border: 0; background: #c3ccdb; cursor: pointer; transition: background .18s; flex: none; touch-action: manipulation; }
.sw i { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(10,27,51,.3); transition: transform .18s; }
.sw.on { background: #0c7a43; } .sw.on i { transform: translateX(24px); } .sw:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.sw-t { font: 700 14px var(--body); color: var(--muted); } .sw-t.on { color: #0c7a43; }
@media (prefers-reduced-motion: reduce) { .sw, .sw i { transition: none; } }

/* The cabinet on a phone: compact cards, one column, large touch targets, nothing wider than the screen */
@media (max-width: 640px) {
  .cab-top { margin-bottom: 16px; } .cab-grid { gap: 16px; }
  .cab-page, .cab-docs, .cab-data { padding: 18px 16px; border-radius: 20px; } .cab-docs, .cab-data { margin-top: 16px; }
  .cab-page { gap: 12px; } .cab-page-h { justify-content: space-between; } .cab-page-h h2, .cab-docs h2, .cab-data h2 { font-size: 19px; line-height: 1.2; } .cab-page h3 { font-size: 15.5px; }
  .cab-data-lead { font-size: 14px; margin-bottom: 10px; }
  .cab-page-top { flex-direction: row; align-items: flex-start; gap: 12px; } .cab-page-top > div { flex: 1; }
  .cab-page .jr-qr { padding: 6px; border-radius: 12px; align-self: start; } .cab-page .jr-qr img { width: 76px; height: 76px; } .cab-page .jr-qr small { font-size: 10.5px; max-width: 76px; text-align: center; line-height: 1.2; }
  .jr-url { width: 100%; padding: 6px 6px 6px 12px; gap: 8px; border-radius: 12px; flex-wrap: nowrap; } .jr-url span, .jr-url a { font-size: 13px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .jr-url .copy { flex: none; font-size: 12.5px; padding: 8px 10px; }
  .jr-share-b { gap: 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; } .jr-share-b::-webkit-scrollbar { display: none; } .jr-share-b .btn { flex: none; font-size: 13.5px; padding: 10px 14px; white-space: nowrap; }
  .cab-page-set { padding-top: 10px; } .cab-page-set summary { display: block; padding: 12px 14px; border-radius: 12px; background: var(--paper); font-size: 14.5px; list-style: none; } .cab-page-set summary::-webkit-details-marker { display: none; } .cab-page-set summary::after { content: ' ▾'; } .cab-page-set[open] summary::after { content: ' ▴'; }
  .cab-page .form-grid, .cab-data .form-grid { grid-template-columns: 1fr; gap: 12px; } .cab-page .field label, .cab-data .field label { font-size: 14px; margin-bottom: 4px; } .cab-page .field label small { display: block; font-size: 12px; }
  .cab-page input[type=url], .cab-page input[type=text], .cab-page select, .cab-data input { min-height: 46px; font-size: 16px; padding: 10px 12px; border-radius: 12px; }
  .cab-page .check[style] { margin-top: 0 !important; } .cab-where { display: grid; gap: 6px; } .cab-where label { width: 100%; }
  .cab-hs { grid-template-columns: 1fr 1fr; gap: 12px 10px; padding: 12px; max-height: 300px; } .cab-hs .check { font-size: 13.5px; }
  .cab-page .btn[type=submit], .cab-data .btn[type=submit] { width: 100%; justify-content: center; }
  .cab-fixed { padding: 12px; gap: 8px; } .cab-docs-grid { gap: 10px; } .cab-doc b { font-size: 13px; } .cab-doc-acts { gap: 10px; font-size: 13px; }
  .cab-photo p { gap: 10px; } .cab-photo small { font-size: 12.5px; }
  .jr-share { padding: 14px; gap: 12px; flex-direction: row; align-items: flex-start; } .jr-share .jr-qr { padding: 6px; } .jr-share .jr-qr img { width: 76px; height: 76px; } .jr-share .jr-qr small { font-size: 10.5px; }
  .jr-share > div { flex: 1; } .jr-share .jr-share-b { margin-inline: 0; padding-inline: 0; }
}
/* The page card: a disabled page shows only the heading with the switch; an enabled one can be folded */
.cab-page { grid-template-columns: minmax(0, 1fr); } .cab-page > *, .cab-page-d > * { min-width: 0; } .cab-page.off { gap: 8px; } .cab-page.off .cab-data-lead { margin: 0; }
.cab-page-d { display: grid; gap: 14px; } .cab-page-d > summary { cursor: pointer; font: 700 14px var(--body); color: var(--blue); list-style: none; width: fit-content; padding: 2px 0; } .cab-page-d > summary::-webkit-details-marker { display: none; }
.cab-page-d > summary::after { content: ' ▴'; } .cab-page-d:not([open]) > summary::after { content: ' ▾'; } .cab-page-d[open] > summary .c, .cab-page-d:not([open]) > summary .o { display: none; }
.cab-page-d > .cab-page-top { margin-top: 10px; } .cab-page-d > .cab-page-set { margin-top: 14px; }
@media (max-width: 640px) { .cab-page-h h2 { flex: 1 1 100%; } .cab-page-top > div { min-width: 0; } .cab-page .jr-url { max-width: 100%; } .cab-page .cab-data-lead { overflow-wrap: anywhere; } }

.cab-page-d { grid-template-columns: minmax(0, 1fr); } .cab-page-d > * { min-width: 0; max-width: 100%; } .cab-page-set, .cab-page-set form { min-width: 0; max-width: 100%; } .cab-page textarea { width: 100%; }

.cab-page-top > div { grid-template-columns: minmax(0, 1fr); } .cab-page-top > div > * { min-width: 0; }
@media (max-width: 640px) { .cab-page-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; } .cab-page-top > div > .jr-share-b { grid-column: 1 / -1; } .cab-page .cab-data-lead { font-size: 13.5px; line-height: 1.45; } }

@media (max-width: 640px) { .cab-page-top { gap: 12px; } .cab-page-top > div { display: contents; } .cab-page-top .cab-data-lead { grid-column: 1; grid-row: 1; margin: 0; } .cab-page-top .jr-qr { grid-column: 2; grid-row: 1; } .cab-page-top .jr-url, .cab-page-top .jr-share-b { grid-column: 1 / -1; } .cab-page-top .jr-share-b { margin-inline: 0; padding-inline: 0; } }

/* Other countries and cities of a journalist */
.cab-places { display: grid; gap: 8px; margin-top: 6px; } .cab-place { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; } .cab-place input { min-width: 0; }
.jr-also { display: block; color: var(--muted); font-size: 12.5px; } .jr-geo { display: flex; gap: 6px 8px; flex-wrap: wrap; align-items: center; margin: 18px 0 0; font-size: 14.5px; } .jr-geo span { padding: 5px 11px; border-radius: 999px; background: #e7f0fd; color: #0b3d91; font-weight: 700; font-size: 13.5px; }
@media (max-width: 420px) { .cab-place { grid-template-columns: 1fr; gap: 6px; padding-bottom: 6px; border-bottom: 1px dashed var(--line); } }

/* Journalists of other regions; the «Найміть мене» block */
.gst-state { display: grid; gap: 4px; padding: 16px 20px; border-radius: 18px; background: #fff7d6; border: 1px solid #f0d94a; color: #4a3d00; margin-bottom: 18px; } .gst-state.ok { background: #e6f6ec; border-color: #9ed3b3; color: #0c5c31; } .gst-state b { font: 700 17px var(--head); } .gst-state span { font-size: 14.5px; line-height: 1.5; }
.cab-hire { display: grid; gap: 12px; margin-top: 26px; padding: 26px; } .cab-grid > div > .cab-hire:first-child { margin-top: 0; } .cab-hire h2 { font-size: 22px; margin: 0; } .cab-hire h2 small { font: 500 14px var(--body); color: var(--muted); } .cab-hire label.sw-form { cursor: pointer; }
.cab-hire .sw { display: inline-block; } .cab-hire input:focus-visible + .sw { outline: 3px solid var(--yellow); outline-offset: 3px; }
.cab-skills { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; } .cab-skills legend { font-weight: 700; font-size: 14.5px; padding: 0; margin-bottom: 8px; }
.tagc { cursor: pointer; } .tagc input { position: absolute; opacity: 0; pointer-events: none; } .tagc span { display: inline-block; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; }
.tagc input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; } .tagc input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
@media (max-width: 640px) { .cab-hire { padding: 18px 16px; margin-top: 16px; } .cab-hire h2 { font-size: 19px; } .tagc span { padding: 7px 11px; font-size: 13.5px; } }

/* The journalist's personal page */
.jp-hero { padding-bottom: 46px; } .jp-hero .mk-crumbs, .jp-hero .mk-crumbs a, .jp-hero .mk-crumbs b { color: #c5d0e3; } .jp-hero .mk-crumbs a:hover { color: #fff; }
.jp-head { display: flex; gap: 36px; align-items: flex-end; margin-top: 26px; } .jp-id { min-width: 0; display: grid; gap: 12px; }
.jp-photo { width: 220px; aspect-ratio: 3 / 4; height: auto; object-fit: cover; border-radius: 28px; flex: none; border: 4px solid rgba(255,255,255,.9); box-shadow: 0 24px 60px rgba(0,0,0,.4); background: #14274a; } .jp-photo.none { display: grid; place-items: center; font: 700 64px var(--head); color: var(--yellow); }
.jp-eye { margin: 0; font: 700 13px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); } .jp-hero h1 { margin: 0; font-size: clamp(32px, 5vw, 60px); line-height: 1.05; color: #fff; overflow-wrap: anywhere; }
.jp-role { margin: 0; font-size: clamp(17px, 1.8vw, 21px); color: #dbe6fb; } .jp-badges, .jp-geo, .jp-socs, .jp-cta { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; align-items: center; }
.jp-ok { padding: 7px 13px; border-radius: 999px; background: rgba(46,204,113,.18); border: 1px solid rgba(46,204,113,.5); color: #b9f5d0; font-weight: 700; font-size: 13.5px; } .jp-ok.wait { background: rgba(255,213,0,.16); border-color: rgba(255,213,0,.5); color: #ffe680; }
.jp-open { padding: 7px 13px; border-radius: 999px; background: #0c7a43; color: #fff !important; font-weight: 700; font-size: 13.5px; text-decoration: none; }
.jp-hero .jp-geo span { padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; font-weight: 600; font-size: 13.5px; }
.jp-soc { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; } .jp-soc:hover { background: #fff; color: var(--ink); }
.jp-cta { margin-top: 6px; gap: 10px; }
.jp-body { padding-top: 44px; } .jp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; } .jp-main { display: grid; gap: 40px; min-width: 0; } .jp-side { display: grid; gap: 20px; min-width: 0; position: sticky; top: 96px; }
.jp-sec h2, .jp-card h2 { font-size: 24px; margin: 0 0 16px; } .jp-sec h2 small { font: 700 15px var(--body); color: var(--blue); background: #e7f0fd; border-radius: 999px; padding: 3px 10px; vertical-align: middle; margin-left: 6px; } .jp-card h2 { font-size: 19px; }
.jp-about { margin: 0; font-size: 18.5px; line-height: 1.7; max-width: 720px; overflow-wrap: anywhere; }
.jp-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; } .jp-more { margin-top: 20px; } .jp-more summary { cursor: pointer; font-weight: 700; color: var(--blue); margin-bottom: 20px; }
.jp-post { display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .18s, box-shadow .18s, border-color .18s; } .jp-post:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 16px 36px rgba(10,27,51,.14); }
.jp-post img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; background: #0a1b33; } .jp-post-t { display: grid; gap: 6px; padding: 14px 16px 18px; align-content: start; }
.jp-post time { font: 700 12px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); } .jp-post b { font: 700 17px/1.3 var(--head); } .jp-post small { color: var(--muted); font-size: 14px; line-height: 1.45; }
.jp-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; min-width: 0; } .jp-dl { margin: 0; display: grid; gap: 12px; } .jp-dl dt { font: 700 11.5px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); } .jp-dl dd { margin: 2px 0 0; font-weight: 700; overflow-wrap: anywhere; line-height: 1.6; }
.jp-side .jr-share { margin: 0; border-radius: 22px; padding: 22px; } .jp-side .mk-feed { display: grid; gap: 12px; grid-template-columns: 1fr; }
.jp-hire { background: linear-gradient(135deg, #0a1b33, #0b3d91); color: #fff; border-radius: 26px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; } .jp-hire h2 { margin: 0; color: #fff; font-size: 26px; } .jp-hire-h { display: grid; gap: 10px; justify-items: start; }
.jp-hire p { margin: 0; color: #dbe6fb; font-size: 17px; line-height: 1.6; overflow-wrap: anywhere; } .jp-hire .jp-rate { color: #fff; } .jp-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; } .jp-tags li { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); font-weight: 700; font-size: 14.5px; }
.jp-video { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #0a1b33; } .jp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 980px) { .jp-grid { grid-template-columns: 1fr; gap: 32px; } .jp-side { position: static; } }
@media (max-width: 640px) { .jp-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 18px; } .jp-photo { width: 132px; border-radius: 22px; } .jp-photo.none { font-size: 42px; } .jp-hero { padding-bottom: 32px; } .jp-soc span { display: none; } .jp-soc { width: 44px; padding: 0; justify-content: center; } .jp-body { padding-top: 28px; } .jp-main { gap: 30px; } .jp-sec h2 { font-size: 21px; } .jp-about { font-size: 17px; } .jp-posts { grid-template-columns: 1fr; gap: 14px; } .jp-cta .btn { flex: 1; justify-content: center; } .jp-card, .jp-side .jr-share { padding: 18px 16px; border-radius: 20px; } .jp-hire { border-radius: 22px; } .jp-hire p { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .jp-post { transition: none; } }

.jp-side .jr-share { flex-direction: column; align-items: stretch; gap: 14px; } .jp-side .jr-share .jr-qr { justify-self: start; width: fit-content; order: 2; } .jp-side .jr-url { width: 100%; }

.mk-fb { min-width: 0; } .mk-fbframe { display: block; max-width: 100%; margin: 0 auto; overflow: hidden; } .jp-card .mk-fb { margin: 0; }

/* Registration: who you are; independent authors */
.rg-kind { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .rg-kind legend { font-weight: 700; padding: 0; margin-bottom: 8px; } .rg-kind .hint { grid-column: 1 / -1; margin: 0; }
.rg-opt { position: relative; cursor: pointer; display: block; } .rg-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.rg-opt > span { display: grid; gap: 2px; height: 100%; padding: 14px 16px 14px 46px; border-radius: 16px; border: 2px solid var(--line); background: #fff; position: relative; } .rg-opt b { font: 700 16.5px/1.25 var(--head); } .rg-opt small { color: var(--muted); font-size: 13.5px; }
.rg-opt > span::before { content: ''; position: absolute; left: 16px; top: 16px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #9aa7b8; background: #fff; box-sizing: border-box; }
.rg-opt input:checked + span { border-color: var(--blue); background: #f1f6ff; } .rg-opt input:checked + span::before { border: 6px solid var(--blue); } .rg-opt input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.rg:has(#rg-k-free:checked) .rg-nsju, .rg:has(#rg-k-nsju:checked) .rg-free { display: none; }
.jp-ok.free { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #e6edf7; }
.jr-nsju { font-style: normal; font-size: 12px; font-weight: 700; color: #0c5c31; background: #e6f6ec; border-radius: 999px; padding: 3px 9px; }
@media (max-width: 520px) { .rg-kind { grid-template-columns: 1fr; } }

/* Character counters, own skills, joining the union from the cabinet */
.cnt { display: block; text-align: right; font-size: 12.5px; line-height: 1.2; color: var(--muted); margin-top: 4px; font-variant-numeric: tabular-nums; } .cnt.warn { color: #9a5b00; font-weight: 700; } .cnt.full { color: #b3261e; } .cnt[hidden] { display: none; }
.own-sk { display: grid; gap: 8px; } .own-list { display: flex; flex-wrap: wrap; gap: 8px; } .own-list:empty { display: none; } .own-add { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; } .own-add input { min-width: 0; } .own-add button { white-space: nowrap; }
.own-n { color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; } .tagc.own i { font-style: normal; margin-left: 8px; opacity: .8; font-weight: 700; } .own-add input:disabled { background: #f3f4f6; }
.cab-join { display: grid; gap: 12px; padding: 26px; } .cab-join h2 { font-size: 22px; margin: 0; } .cab-join .cab-data-lead { margin: 0; }
.cab-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: st; } .cab-steps li { counter-increment: st; position: relative; padding: 0 0 14px 44px; display: grid; gap: 2px; } .cab-steps li:last-child { padding-bottom: 0; }
.cab-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--head); background: #eef1f6; color: #5b6676; }
.cab-steps li::after { content: ''; position: absolute; left: 14px; top: 32px; bottom: 2px; width: 2px; background: #e3e8f0; } .cab-steps li:last-child::after { display: none; }
.cab-steps li.done::before { content: '✓'; background: #1f9d55; color: #fff; } .cab-steps li.done::after { background: #1f9d55; } .cab-steps li.now::before { background: var(--yellow); color: #0a1b33; }
.cab-steps b { font: 700 15.5px/30px var(--head); } .cab-steps span { color: var(--muted); font-size: 14px; line-height: 1.45; } .cab-steps li.now b { color: var(--blue); }
.mk-acc { padding: 16px 18px; border-radius: 16px; background: #f1f6ff; border: 1px solid #cfe0fb; } .mk-pw { display: none; margin-top: 12px; } .mk-acc:has(input[name=mk_account]:checked) .mk-pw { display: grid; gap: 6px; }
@media (max-width: 640px) { .cab-join { padding: 18px 16px; } .cab-join h2 { font-size: 19px; } }

/* Pop-up confirmation of a saved change */
.toast { position: fixed; z-index: 1200; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 86px); transform: translate(-50%, -16px); opacity: 0; pointer-events: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; width: min(560px, calc(100vw - 24px)); padding: 14px 14px 14px 16px; border-radius: 16px; background: #0f5132; color: #fff; font-size: 15px; line-height: 1.4; font-weight: 600; box-shadow: 0 18px 44px rgba(10, 27, 51, .28); transition: opacity .25s, transform .25s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; } .toast.err { background: #8f1d16; }
.toast-i { width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-weight: 800; }
.toast button { background: none; border: 0; color: #fff; font-size: 22px; line-height: 1; padding: 4px 8px; cursor: pointer; opacity: .85; border-radius: 8px; } .toast button:focus-visible { outline: 2px solid #fff; }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* Catalogue sections that are still empty */
.mkp-chips.sm button.nil { opacity: .6; } .mkp-chips.sm button.nil.on { opacity: 1; }

/* Journalist's page on a phone: compact, more on one screen */
@media (max-width: 640px) {
  .jp-hero { padding: 96px 0 20px; }
  .jp-hero .mk-crumbs { margin-bottom: 0; font-size: 12.5px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; } .jp-hero .mk-crumbs::-webkit-scrollbar { display: none; }
  .jp-head { display: grid; grid-template-columns: 88px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 14px; row-gap: 3px; align-items: start; margin-top: 14px; }
  .jp-id { display: contents; }
  .jp-photo { grid-column: 1; grid-row: 1 / span 3; width: 88px; border-radius: 16px; border-width: 2px; box-shadow: 0 10px 24px rgba(0,0,0,.35); } .jp-photo.none { font-size: 30px; }
  .jp-eye, .jp-hero h1, .jp-role { grid-column: 2; }
  .jp-eye { font-size: 10.5px; letter-spacing: .12em; align-self: end; } .jp-hero h1 { font-size: 23px; line-height: 1.12; } .jp-role { font-size: 13.5px; line-height: 1.35; }
  .jp-badges, .jp-geo, .jp-socs, .jp-cta { grid-column: 1 / -1; gap: 6px; } .jp-badges { margin-top: 11px; } .jp-geo, .jp-socs { margin-top: 4px; }
  .jp-ok, .jp-open { padding: 4px 9px; font-size: 11.5px; } .jp-hero .jp-geo span { padding: 3px 9px; font-size: 11.5px; }
  .jp-soc { width: 38px; height: 38px; } .jp-soc svg { width: 18px; height: 18px; }
  .jp-cta { margin-top: 10px; gap: 8px; } .jp-cta .btn { min-height: 44px; padding: 10px 14px; font-size: 14.5px; }
  .jp-body { padding-top: 18px; padding-bottom: 84px; } .jp-grid { gap: 18px; } .jp-main { gap: 20px; } .jp-side { gap: 12px; }
  .jp-sec h2 { font-size: 18px; margin-bottom: 10px; } .jp-sec h2 small { font-size: 12.5px; padding: 2px 8px; } .jp-card h2 { font-size: 16px; margin-bottom: 10px; }
  .jp-about { font-size: 15px; line-height: 1.55; }
  .jp-hire { border-radius: 18px; padding: 16px; gap: 10px; } .jp-hire h2 { font-size: 19px; } .jp-hire-h { gap: 6px; } .jp-hire p { font-size: 14.5px; line-height: 1.5; } .jp-tags { gap: 6px; } .jp-tags li { padding: 5px 10px; font-size: 12.5px; } .jp-hire .btn { min-height: 44px; padding: 10px 16px; font-size: 14.5px; }
  .jp-posts { gap: 8px; } .jp-post { grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto; border-radius: 14px; align-items: stretch; } .jp-post:hover { transform: none; }
  .jp-post img { width: 112px; height: 100%; min-height: 76px; aspect-ratio: auto; } .jp-post-t { padding: 9px 12px; gap: 3px; align-content: center; } .jp-post time { font-size: 10.5px; } .jp-post b { font-size: 14px; line-height: 1.28; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .jp-post small { display: none; }
  .jp-more { margin-top: 8px; } .jp-more summary { margin-bottom: 8px; font-size: 14px; }
  .jp-card, .jp-side .jr-share { padding: 14px; border-radius: 16px; } .jp-dl { gap: 8px; } .jp-dl dt { font-size: 10.5px; } .jp-dl dd { font-size: 14.5px; line-height: 1.45; }
  .jp-side .jr-share { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; align-items: start; } .jp-side .jr-share > div { display: contents; } .jp-side .jr-share b { font-size: 16px; grid-column: 1; align-self: center; }
  .jp-side .jr-share .jr-qr { grid-column: 2; grid-row: 1 / span 2; order: 0; padding: 5px; border-radius: 10px; } .jp-side .jr-share .jr-qr img { width: 64px; height: 64px; } .jp-side .jr-share .jr-qr small { display: none; }
  .jp-side .jr-share b { grid-row: 1; } .jp-side .jr-share .jr-url { grid-column: 1; grid-row: 2; } .jp-side .jr-share .jr-share-b { grid-column: 1 / -1; grid-row: 3; }
  .jp-video { border-radius: 14px; } .jp-side .mk-feed { gap: 8px; }
}
@media (max-width: 640px) { .jp-hero .crumbs { display: flex; flex-wrap: nowrap; gap: 6px; } .jp-hero .crumbs > * { flex: none; } .jp-hero .crumbs b, .jp-hero .crumbs span:last-of-type { display: none; } .jp-side .jr-share b { font-size: 15px; } }
@media (max-width: 640px) { .jp-post { grid-template-columns: 120px minmax(0, 1fr); align-items: center; } .jp-post img { width: 112px; height: auto; min-height: 0; aspect-ratio: 1200 / 630; margin-left: 8px; border-radius: 8px; } .jp-post-t { padding: 9px 12px 9px 10px; } }

/* Journalist's page: «share» and «QR» buttons in the top block and their pop-up */
.jp-tools { display: inline-flex; gap: 8px; margin-left: auto; } .jp-tool { cursor: pointer; width: 42px; padding: 0; justify-content: center; border-color: rgba(255,213,0,.55); color: var(--yellow); font: inherit; } .jp-tool:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.jp-dlg { border: 0; border-radius: 24px; padding: 22px 20px 20px; width: min(360px, calc(100vw - 28px)); background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(10,27,51,.4); text-align: center; } .jp-dlg::backdrop { background: rgba(10,27,51,.6); backdrop-filter: blur(3px); }
.jp-dlg h2 { font-size: 18px; margin: 0 28px 14px; } .jp-dlg-x { position: absolute; right: 10px; top: 8px; width: 40px; height: 40px; border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--muted); border-radius: 50%; } .jp-dlg-x:hover { background: #eef1f6; color: var(--ink); }
.jp-dlg-qr { display: inline-block; padding: 8px; border: 1px solid var(--line); border-radius: 16px; } .jp-dlg-qr img { display: block; border-radius: 6px; } .jp-dlg > small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.4; margin: 8px auto 14px; max-width: 280px; }
.jp-dlg .jr-url { width: 100%; flex-wrap: nowrap; padding: 6px 6px 6px 12px; border-radius: 12px; text-align: left; } .jp-dlg .jr-url span { flex: 1; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .jp-dlg .jr-url .copy { flex: none; font-size: 12.5px; padding: 8px 12px; }
.jp-nets { display: flex; justify-content: space-between; gap: 6px; margin: 16px 0 0; } .jp-net { display: grid; justify-items: center; gap: 5px; text-decoration: none; color: var(--muted); flex: 1; min-width: 0; } .jp-net i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: transform .15s; } .jp-net:hover i { transform: translateY(-2px); } .jp-net small { font-size: 10.5px; font-weight: 600; }
.jp-net.fb i { background: #1877f2; } .jp-net.tg i { background: #229ed9; } .jp-net.vb i { background: #7360f2; } .jp-net.wa i { background: #25d366; } .jp-net.x i { background: #0f1419; }
@media (max-width: 640px) {
  .jp-tool { width: 38px; } .jp-tools { gap: 6px; }
  .jp-eye { font-size: 9.5px; } .jp-role { font-size: 12.5px; } .jp-ok, .jp-open { font-size: 10.5px; padding: 3px 8px; } .jp-hero .jp-geo span { font-size: 10.5px; padding: 2px 8px; font-weight: 600; } .jp-hero .mk-crumbs { font-size: 11.5px; }
  .jp-dl dt, .jp-post time { font-size: 9.5px; } .jp-sec h2 small { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) { .jp-net i { transition: none; } }
/* On a phone the share pop-up is a bottom sheet within thumb reach; touch targets stay at least 44px */
@media (max-width: 640px) {
  .jp-dlg { margin: auto 0 0; width: 100%; max-width: 100%; border-radius: 22px 22px 0 0; padding: 26px 18px calc(18px + env(safe-area-inset-bottom, 0px)); }
  .jp-dlg::before { content: ''; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: #d5dbe5; }
  .jp-dlg[open] { animation: jp-up .22s ease-out; } .jp-dlg-qr img { width: 150px; height: 150px; } .jp-dlg .jr-url .copy { min-height: 40px; }
  .jp-soc, .jp-tool { position: relative; } .jp-soc::after { content: ''; position: absolute; inset: -4px; }
}
@keyframes jp-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .jp-dlg[open] { animation: none; } }
@media (max-width: 640px) { .jp-socs { gap: 5px; } .jp-soc, .jp-tool { width: 36px; height: 36px; } .jp-tools { gap: 5px; } .jp-hero h1 { font-size: 21px; } }

/* Cabinet: compact settings in collapsible sections, country search, languages */
.cab-set { display: grid; gap: 8px; margin-top: 12px; min-width: 0; }
.cab-acc { border: 1px solid var(--line); border-radius: 14px; background: #fff; min-width: 0; } .cab-acc[open] { border-color: #c9d8f2; }
.cab-acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 15px; } .cab-acc > summary::-webkit-details-marker { display: none; }
.cab-acc > summary b { font: 700 15.5px var(--head); } .cab-acc > summary small { margin-left: auto; color: var(--muted); font-size: 12.5px; text-align: right; } .cab-acc > summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); margin: -4px 4px 0 2px; flex: none; transition: transform .15s; } .cab-acc[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.cab-acc > summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 12px; }
.cab-acc > .form-grid { padding: 2px 14px 14px; gap: 10px 14px; } .cab-acc .form-grid.cab-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cab-acc .field.full { grid-column: 1 / -1; }
.cab-acc .field { gap: 5px; min-width: 0; } .cab-acc .field label, .cab-acc .field .lbl, .cab-acc legend { font-size: 13.5px; } .cab-acc .field label small, .cab-acc .lbl small, .cab-acc legend small { font-size: 12px; font-weight: 500; color: var(--muted); }
.cab-acc input[type=text], .cab-acc input[type=url], .cab-acc select, .cab-acc textarea { padding: 10px 12px; font-size: 14.5px; border-radius: 11px; min-height: 42px; } .cab-acc textarea { min-height: 84px; }
.cab-acc .hint, .cab-acc .cab-data-note { font-size: 12.5px; line-height: 1.4; } .cab-acc .radios label { padding: 8px 12px; font-size: 14px; } .cab-acc .check { font-size: 14px; }
.cab-acc .cab-hs { max-height: 240px; font-size: 13.5px; } .cab-langs { gap: 6px; } .cab-langs .tagc span { padding: 6px 11px; font-size: 13px; } .cab-lang-own { flex: 1 1 180px; min-width: 0; }
.cab-save { position: sticky; bottom: 10px; z-index: 5; display: flex; margin-top: 4px; } .cab-save .btn { box-shadow: 0 10px 26px rgba(10,27,51,.22); }
.cab-places { gap: 6px; } .cab-pl-add { justify-self: start; font-size: 13.5px; margin-top: 4px; }
.ac { position: absolute; z-index: 1300; list-style: none; margin: 0; padding: 4px; background: #fff; border: 1px solid #c9d8f2; border-radius: 12px; box-shadow: 0 16px 36px rgba(10,27,51,.18); box-sizing: border-box; } .ac[hidden] { display: none; }
.ac li { padding: 9px 11px; border-radius: 8px; font-size: 14.5px; cursor: pointer; } .ac li[role=option]:hover, .ac li.on { background: #e7f0fd; color: #0b3d91; } .ac .ac-h { cursor: default; color: var(--muted); font-size: 12px; padding: 5px 11px 3px; }
.jp-langs em { font-style: normal; font-size: 12.5px; color: #c5d0e3; font-weight: 600; margin-right: 2px; }
@media (max-width: 760px) { .cab-acc .form-grid.cab-g3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .cab-acc > .form-grid { grid-template-columns: 1fr; padding: 2px 12px 12px; } .cab-acc > summary { padding: 11px 12px; } .cab-acc > summary small { font-size: 11.5px; } .cab-save .btn { width: 100%; justify-content: center; } .cab-save { bottom: 72px; } .jp-langs em { font-size: 10.5px; } .cab-acc .check[style] { margin-top: 0 !important; } }

/* Extra links and a PDF of the journalist */
.cab-links .cab-place { grid-template-columns: 1fr 1.4fr; } .hire-pdf-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; } .hire-pdf-cur { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 0; font-weight: 700; }
.jp-hire-b { display: flex; gap: 10px; flex-wrap: wrap; } .jp-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.jp-links a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; padding: 11px 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); min-height: 44px; } .jp-links a::after { content: '↗'; grid-column: 2; grid-row: 1 / span 2; color: var(--blue); font-weight: 700; }
.jp-links a:hover { border-color: var(--blue); background: #f1f6ff; } .jp-links span { font-weight: 700; font-size: 15px; overflow-wrap: anywhere; } .jp-links small { grid-column: 1; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cab-save { justify-content: flex-end; }
@media (max-width: 640px) { .jp-links span { font-size: 14px; } .jp-links a { padding: 9px 11px; } .jp-hire-b .btn { flex: 1 1 100%; justify-content: center; } .hire-pdf-row { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .cab-links .cab-place { grid-template-columns: 1fr; } }
/* Cabinet on a phone: a short header, so the content starts on the first screen */
@media (max-width: 640px) {
  .page-hero:has(+ .page-body > .cab-top) { padding: 96px 0 18px; } .page-hero:has(+ .page-body > .cab-top) h1 { font-size: 26px; margin: 4px 0 0; } .page-hero:has(+ .page-body > .cab-top) .lead, .page-hero:has(+ .page-body > .cab-top) p { font-size: 13.5px; line-height: 1.4; margin-top: 6px; }
  .page-hero:has(+ .page-body > .cab-top) .page-hero-art { display: none; } .page-hero:has(+ .page-body > .cab-top) + .page-body { padding-top: 14px; }
  .cab-page-h h2 { font-size: 19px; } .cab-page .cab-data-lead { font-size: 13px; }
}

/* Applications: status and the answer of the secretary; Telegram in the cabinet; subscription in the bot */
.app-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; } .app-list li { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 8px; }
.app-h { display: flex; gap: 6px 12px; align-items: center; flex-wrap: wrap; } .app-h b { font-size: 15px; flex: 1 1 180px; } .app-h time { color: var(--muted); font-size: 13px; }
.app-reply { margin: 0; padding: 10px 12px; border-radius: 10px; background: #f1f6ff; border-left: 3px solid var(--blue); font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; } .app-reply small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); margin-bottom: 3px; }
.tg-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px 14px; align-items: center; padding: 14px 18px; border-radius: 18px; background: #eaf5fd; border: 1px solid #b9dcf3; margin-bottom: 16px; } .tg-bar.on { background: #f3faf5; border-color: #bfe3cc; } .tg-bar.hot { box-shadow: 0 0 0 3px rgba(34,158,217,.25); }
.tg-ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #229ed9; color: #fff; font-weight: 800; } .tg-bar.on .tg-ico { background: #1f9d55; }
.tg-bar > div { display: grid; gap: 2px; } .tg-bar b { font: 700 15.5px var(--head); } .tg-bar small { color: var(--muted); font-size: 12.5px; line-height: 1.4; } .tg-bar > p { margin: 0; display: grid; gap: 4px; justify-items: end; text-align: right; }
.sub-tg { display: grid; gap: 6px; margin: 0 0 4px; } .sub-tg .btn { justify-self: start; display: inline-flex; gap: 8px; align-items: center; } .sub-tg small { color: #c5d0e3; font-size: 12.5px; } .sub-or { margin: 10px 0 6px; color: #9fb0cc; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 640px) { .tg-bar { grid-template-columns: auto minmax(0, 1fr); padding: 12px 14px; border-radius: 16px; } .tg-bar > p { grid-column: 1 / -1; justify-items: stretch; text-align: left; } .tg-bar > p .btn { justify-content: center; } .tg-ico { width: 36px; height: 36px; } .sub-tg .btn { justify-self: stretch; justify-content: center; } }

/* Questions and answers */
.faq { display: grid; gap: 10px; } .faq-i { background: #fff; border: 1px solid var(--line); border-radius: 18px; } .faq-i[open] { border-color: #c9d8f2; }
.faq-i > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 20px; } .faq-i > summary::-webkit-details-marker { display: none; } .faq-i > summary h2 { font-size: 18px; line-height: 1.3; margin: 0; flex: 1; }
.faq-i > summary::after { content: ''; width: 9px; height: 9px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); margin-top: -4px; flex: none; } .faq-i[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq-i > div { padding: 0 20px 18px; } .faq-i p { margin: 0 0 12px; font-size: 16.5px; line-height: 1.65; } .faq-l { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 !important; }
@media (max-width: 640px) { .faq-i > summary { padding: 13px 14px; } .faq-i > summary h2 { font-size: 15.5px; } .faq-i > div { padding: 0 14px 14px; } .faq-i p { font-size: 15px; line-height: 1.55; } }
