/* Support to Settle CIC — stscic.gainers.website · premium build */
/* Палітра: синій України #005BBB · жовтий #FFD500 · золото #E6A800 · темно-синій UK #012169 */

:root {
  --blue: #3080D0;
  --blue-deep: #1F63B0;
  --navy: #1A3060;
  --navy-ink: #14264D;
  --yellow: #FFD500;
  --gold: #E6A800;
  --gold-text: #9A6E00;
  --red: #C8102E;
  --ink: #1E2A3E;
  --muted: #5C6779;
  --line: #E4E9F2;
  --paper: #FFFFFF;
  --paper-soft: #F4F7FC;
  --cream: #FFFBF0;
  --radius: 16px;
  --shadow: 0 14px 44px rgba(1, 33, 105, .12);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

@font-face { font-family: 'Montserrat'; src: url('../fonts/montserrat-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../fonts/montserrat-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../fonts/montserrat-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../fonts/montserrat-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('../fonts/opensans-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('../fonts/opensans-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('../fonts/opensans-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
body {
  font-family: 'Open Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }

h1, h2, h3 { font-family: 'Montserrat', system-ui, sans-serif; color: var(--navy); line-height: 1.12; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.3rem); font-weight: 800; letter-spacing: -1px; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 800; letter-spacing: -.6px; }
h3 { font-size: 1.08rem; font-weight: 700; }

.wrap { max-width: 1220px; margin: 0 auto; padding: 0 24px; }
section { padding: 110px 0; position: relative; }

/* ---------- зерно (фіксоване, не репейнтить скрол) ---------- */
.grain {
  position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

/* ---------- прелоадер ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--paper);
  display: grid; place-items: center; transition: transform .8s var(--ease);
}
.loader.done { transform: translateY(-101%); }
.loader-inner { text-align: center; width: 300px; }
.loader-inner img { width: 112px; margin: 0 auto 18px; animation: birdFloat 2.2s ease-in-out infinite; }
@keyframes birdFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.loader-orn { display: block; margin: 0 auto; overflow: visible; }
.loader-orn .lo-line { transform: scaleX(0); transform-origin: 50% 50%; animation: loLine 1.2s var(--ease) .1s forwards; }
@keyframes loLine { to { transform: scaleX(1); } }
.loader-orn .lo-el {
  transform-box: fill-box; transform-origin: center;
  transform: scale(0); animation: loPop .5s cubic-bezier(.34, 1.56, .64, 1) forwards;
}
.loader-orn .lo-el:nth-of-type(1) { animation-delay: .25s; }
.loader-orn .lo-el:nth-of-type(2) { animation-delay: .40s; }
.loader-orn .lo-el:nth-of-type(3) { animation-delay: .55s; }
.loader-orn .lo-el:nth-of-type(4) { animation-delay: .72s; }
.loader-orn .lo-el:nth-of-type(5) { animation-delay: .90s; }
.loader-orn .lo-el:nth-of-type(6) { animation-delay: 1.05s; }
@keyframes loPop { to { transform: scale(1); } }
.loader-word { font-family: 'Montserrat'; font-weight: 700; color: var(--navy); font-size: .95rem; letter-spacing: .16em; margin-top: 16px; text-transform: uppercase; }

/* ---------- нитка-прогрес ---------- */
.thread {
  position: fixed; top: 0; left: 0; right: 0; height: 5px; z-index: 120; pointer-events: none;
  opacity: 0; transition: opacity .4s;
}
.thread.on { opacity: 1; }
.thread .bar {
  height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue) 0%, var(--yellow) 42%, var(--gold) 60%, var(--navy) 82%, var(--red) 100%);
}

/* ---------- навігація ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s, box-shadow .4s, transform .4s var(--ease);
  background: transparent;
}
.nav.scrolled { background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; gap: 18px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand img { height: 44px; width: auto; transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-6deg) translateY(-2px); }
.brand b { font-family: 'Montserrat'; font-weight: 800; color: var(--navy); font-size: 1.05rem; white-space: nowrap; }
.brand b .cic { color: var(--gold); font-weight: 700; font-size: .74em; letter-spacing: .08em; margin-left: .12em; vertical-align: .06em; }
.nav-links { display: flex; gap: 17px; align-items: center; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .88rem; position: relative;
  white-space: nowrap; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2.5px;
  background: var(--gold); transition: right .35s var(--ease); border-radius: 2px;
}
.nav-links a:hover::after { right: 0; }
.lang-toggle {
  display: flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden;
  font-family: 'Montserrat'; font-weight: 700; font-size: .78rem; background: #fff;
}
.lang-toggle button {
  border: 0; background: transparent; padding: 7px 13px; cursor: pointer;
  color: var(--muted); font: inherit; transition: background .25s, color .25s;
}
.lang-toggle button.active { background: var(--blue); color: #fff; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Montserrat'; font-weight: 700; font-size: .98rem;
  padding: 15px 30px; border-radius: 999px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), color .3s;
  white-space: nowrap; cursor: pointer;
}
.btn::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: var(--navy); transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .38s var(--ease); z-index: 0;
}
.btn:hover::before { transform: scaleX(1); transform-origin: 0 50%; }
.btn > * { position: relative; z-index: 1; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(48, 128, 208, .32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(1, 33, 105, .32); }
.btn-ghost { border: 2px solid var(--navy); color: var(--navy); padding: 13px 28px; background: transparent; }
.btn-ghost::before { background: var(--navy); }
.btn-ghost:hover { color: #fff; transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 8px 24px rgba(230, 168, 0, .3); }
.btn-yellow::before { background: #fff; }
.btn-yellow:hover { color: var(--navy); transform: translateY(-2px); }
.nav .btn { padding: 11px 22px; font-size: .88rem; }
.burger { display: none; border: 0; background: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 23px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: 130px 0 40px; overflow: hidden; position: relative;
}
.hero-bg {
  position: absolute; inset: -10% -20%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(46% 38% at 82% 18%, rgba(48, 128, 208, .12), transparent 70%),
    radial-gradient(36% 30% at 12% 82%, rgba(255, 213, 0, .14), transparent 70%),
    radial-gradient(28% 24% at 70% 88%, rgba(1, 33, 105, .07), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero h1 .w > span { display: inline-block; transform: translateY(110%); }
.hero h1 em { font-style: normal; color: var(--blue); position: relative; }
.hero h1 em::after {
  content: ''; position: absolute; left: 2%; right: 2%; bottom: .04em; height: .14em;
  background: var(--yellow); z-index: -1; border-radius: 3px;
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease) 1.1s;
}
.hero.ready h1 em::after { transform: scaleX(1); }
.hero-sub { margin: 26px 0 34px; font-size: 1.16rem; color: var(--muted); max-width: 30em; }
.hero-cta { display: flex; gap: 15px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 30px; font-size: .9rem; color: var(--gold-text); font-weight: 700; letter-spacing: .04em; }
.hero-fade > * { opacity: 0; transform: translateY(28px); }
.hero-media { position: relative; z-index: 1; }
.hero-media .frame {
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow);
  transform: rotate(1.4deg); position: relative;
}
.hero-media .frame::after {
  content: ''; position: absolute; inset: 0; border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(1, 33, 105, .08);
}
.hero-media .frame img { width: 100%; height: 520px; object-fit: cover; transform: scale(1.12); }
/* вишиті куточки на рамці фото */
.hero-media .corner {
  position: absolute; width: 58px; height: 58px; pointer-events: none;
}
.hero-media .corner::before, .hero-media .corner::after {
  content: ''; position: absolute; background: var(--gold); border-radius: 3px;
}
.hero-media .corner::before { width: 100%; height: 4px; }
.hero-media .corner::after { width: 4px; height: 100%; }
.hero-media .corner-tl { top: -16px; left: -16px; }
.hero-media .corner-br { bottom: -16px; right: -16px; }
.hero-media .corner-br::before { bottom: 0; right: 0; }
.hero-media .corner-br::after { bottom: 0; right: 0; }
.hero-media .corner i {
  position: absolute; width: 13px; height: 13px; background: var(--blue); transform: rotate(45deg);
}
.hero-media .corner-tl i { top: -5px; left: -5px; }
.hero-media .corner-br i { bottom: -5px; right: -5px; }
.hero-orn { margin-top: 84px; position: relative; z-index: 1; }
.hero-orn svg { display: block; width: min(520px, 76%); margin: 0 auto; }
.hero-orn .draw { stroke-dasharray: 720; stroke-dashoffset: 720; }

/* ---------- марквіз ---------- */
.marquee { overflow: hidden; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.marquee-track { display: flex; gap: 64px; width: max-content; will-change: transform; animation: mq 30s linear infinite; }
@keyframes mq { to { transform: translateX(-50%); } }
.marquee-item { display: flex; align-items: center; gap: 64px; }
.marquee-item span {
  font-family: 'Montserrat'; font-weight: 800; font-size: 1.35rem; color: var(--navy);
  white-space: nowrap; letter-spacing: -.01em;
}
.marquee-item span.out { color: transparent; -webkit-text-stroke: 1.3px rgba(1, 33, 105, .45); }
.marquee-item .dia-s { width: 12px; height: 12px; background: var(--gold); transform: rotate(45deg); flex: none; }
.marquee-item .rose-s { width: 20px; height: 20px; flex: none; }
.marquee-item .rose-s svg { width: 100%; height: 100%; display: block; }

/* ---------- заголовки секцій ---------- */
.sec-head { margin-bottom: 18px; }
.sec-head h2 { max-width: 20em; }
.sec-head .kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Montserrat'; font-weight: 700; font-size: .8rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-text); margin-bottom: 14px;
}
.sec-head .kicker::before { content: ''; width: 11px; height: 11px; background: var(--blue); transform: rotate(45deg); }
.sec-lead { color: var(--muted); max-width: 44em; margin-bottom: 48px; font-size: 1.05rem; }

/* reveal (легкий, batch) */
.rv { opacity: 0; transform: translateY(34px); }

/* ---------- про нас ---------- */
.mission { position: relative; padding: 10px 0 10px 34px; margin: 44px 0 64px; }
.mission::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 4px; background: linear-gradient(var(--blue), var(--yellow)); }
.mission p { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-family: 'Montserrat'; font-weight: 600; color: var(--navy); line-height: 1.45; max-width: 27em; }
.mission .stitch { display: block; margin-top: 22px; }
.mission .stitch path { stroke-dasharray: 480; stroke-dashoffset: 480; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.values > div { border-top: 3px solid var(--navy); padding-top: 20px; position: relative; }
.values > div::before {
  content: ''; position: absolute; top: -3px; left: 0; width: 46px; height: 3px; background: var(--gold);
}
.values h3 { margin-bottom: 10px; font-size: 1.15rem; }
.values p { font-size: .96rem; color: var(--muted); }

/* ---------- послуги (bento + spotlight) ---------- */
.services { background: var(--paper-soft); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 20px; }
.card {
  --mx: 50%; --my: 50%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column;
}
.card::after {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(48, 128, 208, .09), transparent 65%);
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card:hover::after { opacity: 1; }
.card .ico { width: 50px; height: 50px; border-radius: 14px; background: rgba(48, 128, 208, .10); display: grid; place-items: center; margin-bottom: 16px; flex: none; transition: transform .4s var(--ease); }
.card:hover .ico { transform: translateY(-3px) rotate(-4deg); }
.card .ico svg { width: 26px; height: 26px; stroke: var(--blue); }
.card h3 { margin-bottom: 9px; font-size: 1.12rem; }
.card p { font-size: .92rem; color: var(--muted); line-height: 1.62; }
.card-a { grid-column: 1 / 3; }
.card-b { grid-column: 3; grid-row: 1 / 3; }
.card-f { grid-column: 2 / 4; }
.card-photo { color: #fff; justify-content: flex-end; border: 0; }
.card-photo::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(178deg, rgba(1, 33, 105, .04) 28%, rgba(1, 33, 105, .85) 84%);
  z-index: 1;
}
.card-photo::after { display: none; }
.card-photo img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card-photo:hover img.bg { transform: scale(1.05); }
.card-photo h3, .card-photo p { position: relative; z-index: 2; }
.card-photo h3 { color: #fff; font-size: 1.3rem; }
.card-photo p { color: rgba(255, 255, 255, .88); }
.card-tint { background: var(--navy); border: 0; }
.card-tint::after { background: radial-gradient(340px circle at var(--mx) var(--my), rgba(255, 213, 0, .13), transparent 65%); }
.card-tint h3 { color: var(--yellow); }
.card-tint p { color: rgba(255, 255, 255, .84); }
.card-tint .ico { background: rgba(255, 213, 0, .15); }
.card-tint .ico svg { stroke: var(--yellow); }

/* ---------- сторі-панелі ---------- */
.story { padding: 0; background: var(--navy-ink); }
.story-panel {
  position: sticky; top: 0; min-height: 100svh;
  display: grid; align-items: center; overflow: hidden;
}
.story-panel .bgimg { position: absolute; inset: 0; }
.story-panel .bgimg img { width: 100%; height: 100%; object-fit: cover; }
.story-panel .bgimg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(2, 16, 56, .93) 34%, rgba(2, 16, 56, .45) 75%, rgba(2, 16, 56, .25));
}
.story-inner { position: relative; z-index: 2; max-width: 1220px; margin: 0 auto; padding: 90px 24px; width: 100%; }
.story-inner .step {
  font-family: 'Montserrat'; font-weight: 700; letter-spacing: .18em; font-size: .8rem;
  color: var(--yellow); text-transform: uppercase; display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.story-inner .step::before { content: ''; width: 34px; height: 2px; background: var(--gold); }
.story-inner h3 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.5px; max-width: 15em; line-height: 1.1; }
.story-inner p { color: rgba(255, 255, 255, .82); max-width: 34em; margin-top: 20px; font-size: 1.08rem; }

/* ---------- події ---------- */
.events-intro { padding-bottom: 40px; }
.hgal { position: relative; overflow: hidden; background: #fff; }
.hgal-track { display: flex; gap: 22px; align-items: stretch; padding: 0 24px; width: max-content; }
.hgal-card { position: relative; border-radius: var(--radius); overflow: hidden; height: min(62vh, 560px); flex: none; }
.hgal-card img { height: 100%; width: auto; display: block; }
.hgal-card .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 22px 18px;
  background: linear-gradient(transparent, rgba(1, 15, 45, .72));
  color: #fff; font-family: 'Montserrat'; font-weight: 600; font-size: .9rem;
  opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s;
}
.hgal-card:hover .cap { opacity: 1; transform: none; }
.hgal-head { padding: 0 24px 34px; }
.hgal-hint { display: none; }

/* ---------- орнаментальний таймлайн подій ---------- */
.timeline { position: relative; padding-left: 64px; }
.timeline .tl-line {
  position: absolute; left: 20px; top: 8px; bottom: 8px; width: 2.5px;
  background: rgba(230, 168, 0, .18); border-radius: 2px; overflow: hidden;
}
.timeline .tl-thread {
  position: absolute; inset: 0; background: var(--gold);
  transform: scaleY(0); transform-origin: 0 0;
}
.timeline .event { position: relative; }
.tl-node { position: absolute; left: -64px; top: 6px; }
.tl-dia { width: 17px; height: 17px; background: var(--blue); transform: rotate(45deg); margin-left: 2.5px; }
.tl-dia-y { background: var(--yellow); box-shadow: inset 0 0 0 2px var(--gold); }
.tl-rose { width: 26px; height: 26px; margin-left: -2px; top: 2px; }
.tl-rose svg { width: 100%; height: 100%; display: block; }

.event { margin-bottom: 84px; }
.event:last-child { margin-bottom: 0; }
.event-head { max-width: 46em; margin-bottom: 28px; }
.event-head .tag {
  display: inline-block; font-family: 'Montserrat'; font-weight: 700; font-size: .74rem;
  letter-spacing: .15em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 9px;
}
.event-head h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.event-head p { color: var(--muted); font-size: .98rem; margin-top: 9px; }
.shots { display: grid; gap: 16px; }
.shots figure { border-radius: var(--radius); overflow: hidden; cursor: zoom-in; position: relative; }
.shots img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease), filter .6s var(--ease);
  filter: saturate(.82);
}
.shots figure:hover img { transform: scale(1.05); filter: saturate(1.06); }
.shots-hero { grid-template-columns: 1.6fr 1fr 1fr; grid-auto-rows: 230px; }
.shots-hero figure:first-child { grid-row: 1 / 3; }
.shots-3 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 320px; }
.shots-2 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 360px; }
.event-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 46px; align-items: center; }
.event-split .event-head { margin-bottom: 0; }

/* лайтбокс */
.lightbox {
  position: fixed; inset: 0; z-index: 150; background: rgba(1, 12, 38, .94);
  display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .35s;
  padding: 4vh 4vw;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 12px; box-shadow: 0 40px 100px rgba(0, 0, 0, .5); transform: scale(.94); transition: transform .35s var(--ease); }
.lightbox.open img { transform: scale(1); }
.lightbox button {
  position: absolute; top: 20px; right: 24px; border: 0; background: rgba(255, 255, 255, .13);
  color: #fff; font-size: 1.5rem; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  transition: background .3s, transform .3s;
}
.lightbox button:hover { background: rgba(255, 255, 255, .24); transform: rotate(90deg); }

/* ---------- партнери ---------- */
.partners-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.partner {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 13px; background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.partner:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.partner img { height: 58px; width: auto; border-radius: 8px; }
.partner b { font-family: 'Montserrat'; color: var(--navy); font-size: 1rem; }
.partner span { font-size: .88rem; color: var(--muted); line-height: 1.55; }
.partner .ph {
  height: 58px; display: flex; align-items: center; font-family: 'Montserrat'; font-weight: 800;
  color: var(--blue); font-size: 1.6rem; letter-spacing: .5px;
}
.partner .plogo { min-height: 62px; display: flex; align-items: center; }
.partner .plogo svg,
.partner .plogo img { height: 58px; width: auto; max-width: 168px; object-fit: contain; border-radius: 0; display: block; }
/* багаторядковий словесний знак потребує більшої висоти для однакової оптичної ваги */
.partner .plogo img.stacked { height: 76px; max-width: 186px; }
a.partner { text-decoration: none; color: inherit; }

/* ---------- заклик + гніздо ---------- */
.join { background: var(--navy); color: #fff; position: relative; overflow: hidden; padding: 130px 0; }
.join .float-dia { position: absolute; width: 16px; height: 16px; transform: rotate(45deg); opacity: .16; pointer-events: none; }
.join h2 { color: #fff; max-width: 15em; }
.join .kicker { color: var(--yellow) !important; }
.join .kicker::before { background: var(--yellow) !important; }
.join p { color: rgba(255, 255, 255, .84); margin-top: 16px; max-width: 32em; font-size: 1.05rem; }
.join .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.join-actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.join-actions a.mail { color: var(--yellow); font-weight: 700; font-size: 1.12rem; }
.join-actions a.mail:hover { text-decoration: underline; }
.join-orn { margin-top: 44px; max-width: 560px; }
.join-orn svg { width: 100%; height: auto; overflow: visible; }

/* орнамент, що «вишивається» по скролу */
.orn-anim .oel { transform-box: fill-box; transform-origin: center; }
.about-orn { margin-top: 74px; }
.about-orn svg { width: min(680px, 88%); margin: 0 auto; display: block; overflow: visible; }

/* ---------- футер ---------- */
footer { padding: 52px 0 40px; border-top: 1px solid var(--line); }
.foot { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.foot img { height: 72px; }
.foot .info { font-size: .9rem; color: var(--muted); line-height: 1.65; }
.foot .info b { color: var(--navy); font-family: 'Montserrat'; font-size: 1rem; }
.foot .spacer { margin-left: auto; text-align: right; font-size: .84rem; color: var(--muted); }
.foot .social { display: flex; gap: 11px; margin-top: 15px; }
/* підпис автора — навмисно тихий, але клікабельний */
.credit {
  margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line);
  text-align: center; font-size: .78rem; letter-spacing: .015em; color: var(--muted); opacity: .8;
}
.credit a {
  color: var(--muted); text-decoration: none; white-space: nowrap;
  border-bottom: 1px solid rgba(92,103,121,.35);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.credit a:hover { color: var(--blue); border-bottom-color: var(--blue); }
@media (max-width: 640px) { .credit { font-size: .74rem; margin-top: 24px; } }
.soc {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--navy); background: #fff;
  transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s;
}
.soc svg { width: 18px; height: 18px; fill: currentColor; }
.soc:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 8px 18px rgba(31, 99, 176, .28); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .rv, .hero-fade > *, .hero h1 .w > span { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
  .loader { display: none; }
  .hero-orn .draw, .mission .stitch path, .loader-nest path { stroke-dashoffset: 0 !important; animation: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- адаптив ---------- */
/* 10 пунктів меню в один рядок на ноутбуці не вміщаються — бургер вмикається раніше */
@media (max-width: 1300px) {
  .nav-links { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px 24px 26px; gap: 18px; border-bottom: 1px solid var(--line); box-shadow: 0 24px 44px rgba(1,33,105,.09); }
  .nav-links.open { display: flex; align-items: flex-start; }
  .burger { display: block; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-media .frame img { height: 380px; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 230px; }
  .card-a { grid-column: 1 / 3; }
  .card-b { grid-column: auto; grid-row: auto; }
  .card-f { grid-column: 1 / 3; }
  .event-split { grid-template-columns: 1fr; gap: 26px; }
  .partners-row { grid-template-columns: 1fr 1fr; }
  .join .wrap { grid-template-columns: 1fr; }
  /* горизонтальна стрічка стає свайпом */
  .hgal-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 14px; }
  .hgal-card { scroll-snap-align: center; height: 380px; }
  .hgal-hint { display: block; text-align: center; font-size: .82rem; color: var(--muted); margin-top: 10px; }
}
@media (max-width: 640px) {
  .partners-row { grid-template-columns: 1fr; }
  section { padding: 68px 0; }
  .hero { padding: 108px 0 30px; min-height: auto; }
  .hero-media .frame img { height: 300px; }
  .hero-media .corner { width: 40px; height: 40px; }
  .hero-media .corner-tl { top: -10px; left: -10px; }
  .hero-media .corner-br { bottom: -10px; right: -10px; }
  .timeline { padding-left: 40px; }
  .timeline .tl-line { left: 8px; }
  .tl-node { left: -40px; }
  .tl-rose { margin-left: -5px; }
  .hero-orn { margin-top: 56px; }
  .values { grid-template-columns: 1fr; gap: 26px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: minmax(200px, auto); }
  .card-a, .card-f { grid-column: auto; }
  .shots-hero { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .shots-3 { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; }
  .shots-2 { grid-template-columns: 1fr; grid-auto-rows: 270px; }
  .brand b { font-size: .92rem; }
  .nav .btn { display: none; }
  .hgal-card { height: 300px; }
  .story-inner { padding: 70px 24px; }
  .marquee-item span { font-size: 1.05rem; }
  .marquee { padding: 18px 0; }
}
/* скорочена назва STS·CIC — тільки на мобільному */
.brand .wm-short { display: none; color: var(--blue); }
.brand .wm-short .cic-y { color: var(--gold); font-size: .84em; letter-spacing: .06em; margin-left: .12em; }
/* вузькі екрани: назва не має налазити на перемикач мов */
@media (max-width: 600px) {
  .brand b { font-size: .86rem; }
  .brand img { height: 38px; }
  .nav-inner { gap: 14px; }
}
@media (max-width: 500px) {
  .brand .wm-full { display: none; }   /* ховаємо повну назву */
  .brand .wm-short { display: inline; font-size: 1.1rem; } /* показуємо STS·CIC */
}

/* ================= ВНУТРІШНІ СТОРІНКИ ================= */
.page-hero { padding: 150px 0 56px; position: relative; overflow: hidden; }
.page-hero .hero-bg { position: absolute; inset: -10% -20%; pointer-events: none; z-index: 0;
  background: radial-gradient(42% 34% at 85% 10%, rgba(48, 128, 208, .10), transparent 70%),
              radial-gradient(30% 26% at 8% 90%, rgba(255, 213, 0, .12), transparent 70%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .crumbs { font-family: 'Montserrat'; font-weight: 600; font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.page-hero .crumbs a { color: var(--gold-text); }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.page-hero .lead { color: var(--muted); max-width: 46em; margin-top: 18px; font-size: 1.08rem; }
.nav-links a.active { color: var(--blue); }
.nav-links a.active::after { right: 0; background: var(--blue); }

/* проєкти */
.proj { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; margin-bottom: 92px; }
.proj:last-child { margin-bottom: 0; }
.proj.flip .proj-media { order: 2; }
.proj-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.proj-media img { width: 100%; height: 380px; object-fit: cover; display: block; }
.proj-body .tag { display: inline-block; font-family: 'Montserrat'; font-weight: 700; font-size: .74rem;
  letter-spacing: .15em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; }
.proj-body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 14px; }
.proj-body p { color: var(--muted); font-size: .99rem; }
.proj-list { margin: 16px 0 20px; padding: 0; list-style: none; }
.proj-list li { padding: 7px 0 7px 26px; position: relative; font-size: .95rem; color: var(--ink); }
.proj-list li::before { content: ''; position: absolute; left: 4px; top: 14px; width: 9px; height: 9px;
  background: var(--blue); transform: rotate(45deg); }

/* новини та події */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-card img { width: 100%; height: 210px; object-fit: cover; }
.news-card .nb { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.news-card .when { font-family: 'Montserrat'; font-weight: 700; font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.news-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.news-card p { font-size: .89rem; color: var(--muted); }
.news-card .more { margin-top: auto; padding-top: 12px; font-family: 'Montserrat'; font-weight: 700;
  font-size: .85rem; color: var(--blue); }

/* акредитації / підтримка */
.accred { border-top: 1px solid var(--line); padding: 44px 0; background: #fff; }
.accred .row { display: flex; align-items: center; justify-content: center; gap: 54px; flex-wrap: wrap; }
.accred .title { text-align: center; font-family: 'Montserrat'; font-weight: 700; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.accred img { height: 54px; width: auto; filter: grayscale(.2); opacity: .9; transition: .3s; }
.accred img:hover { filter: none; opacity: 1; }
.accred .txt { font-family: 'Montserrat'; font-weight: 800; font-size: 1.15rem; color: var(--navy); opacity: .85; }

/* донат-калькулятор */
.don-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
.don-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; background: #fff; box-shadow: var(--shadow); }
.don-presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0; }
.don-presets button { border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 16px 8px;
  font-family: 'Montserrat'; font-weight: 800; font-size: 1.15rem; color: var(--navy); cursor: pointer;
  transition: .25s; }
.don-presets button:hover { border-color: var(--blue); transform: translateY(-2px); }
.don-presets button.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.don-custom { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.don-custom span { font-family: 'Montserrat'; font-weight: 800; font-size: 1.3rem; color: var(--navy); }
.don-custom input { flex: 1; border: 2px solid var(--line); border-radius: 12px; padding: 13px 16px;
  font: inherit; font-family: 'Montserrat'; font-weight: 700; font-size: 1.1rem; color: var(--navy); }
.don-custom input:focus { outline: none; border-color: var(--blue); }
.don-impact { background: var(--paper-soft); border-radius: 14px; padding: 22px 24px; margin-bottom: 22px;
  border-left: 4px solid var(--gold); min-height: 96px; }
.don-impact b { color: var(--navy); font-family: 'Montserrat'; font-size: 1.05rem; }
.don-impact p { color: var(--muted); font-size: .93rem; margin-top: 6px; }
.don-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.don-side h3 { margin: 0 0 10px; }
.don-side .li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.don-side .li:last-child { border-bottom: 0; }
.don-side .li .amt { min-width: 64px; font-family: 'Montserrat'; font-weight: 800; color: var(--blue); font-size: 1.05rem; }
.don-side .li p { font-size: .92rem; color: var(--muted); }

/* форми */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: 'Montserrat'; font-weight: 700; font-size: .82rem; color: var(--navy); }
.field input, .field select, .field textarea { border: 2px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font: inherit; font-size: .95rem; color: var(--ink); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-ok { display: none; background: #E8F6EC; border: 1px solid #BEE3C8; color: #1B7A3D; border-radius: 12px;
  padding: 14px 18px; font-weight: 600; margin-top: 14px; }

/* mailing list у футері */
.mailing { background: var(--paper-soft); border-top: 1px solid var(--line); padding: 54px 0; }
.mailing .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.mailing h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.mailing p { color: var(--muted); font-size: .95rem; margin-top: 8px; }
.mailing form { display: flex; gap: 12px; }
.mailing input { flex: 1; border: 2px solid var(--line); border-radius: 999px; padding: 14px 22px; font: inherit; }
.mailing input:focus { outline: none; border-color: var(--blue); }

@media (max-width: 1024px) {
  .proj { grid-template-columns: 1fr; gap: 26px; }
  .proj.flip .proj-media { order: 0; }
  .news-grid { grid-template-columns: 1fr; }
  .don-wrap { grid-template-columns: 1fr; }
  .mailing .wrap { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-hero { padding: 120px 0 40px; }
  .proj-media img { height: 260px; }
  .don-presets { grid-template-columns: repeat(2, 1fr); }
  .mailing form { flex-direction: column; }
}

/* ================= АНОНС-СТРІЧКА (клікабельна) ================= */
.ann {
  display: block; background: var(--navy); overflow: hidden; position: relative;
  border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08);
}
.ann:hover .ann-track { animation-play-state: paused; }
.ann-inner { display: flex; align-items: stretch; }
.ann-label {
  flex: none; display: flex; align-items: center; gap: 9px; padding: 0 22px;
  background: var(--yellow); color: var(--navy); font-family: 'Montserrat'; font-weight: 800;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; z-index: 2;
}
.ann-label svg { width: 17px; height: 17px; }
.ann-viewport { overflow: hidden; flex: 1; position: relative; }
.ann-track { display: flex; gap: 46px; width: max-content; padding: 13px 0; will-change: transform; animation: annScroll 34s linear infinite; }
@keyframes annScroll { to { transform: translateX(-50%); } }
.ann-item { display: flex; align-items: center; gap: 46px; }
.ann-item span { color: #fff; font-family: 'Open Sans'; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.ann-d { color: var(--yellow) !important; font-weight: 700 !important; }
.ann-item .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
.ann-go { flex: none; display: flex; align-items: center; padding: 0 20px; color: var(--yellow);
  font-family: 'Montserrat'; font-weight: 700; font-size: .82rem; z-index: 2; background: var(--navy); white-space: nowrap; }
.ann-go svg { width: 15px; height: 15px; margin-left: 6px; transition: transform .3s var(--ease); }
.ann:hover .ann-go svg { transform: translateX(4px); }

/* ================= КАЛЕНДАР / АГЕНДА ПОДІЙ ================= */
.agenda { display: flex; flex-direction: column; gap: 18px; }
.ag-item {
  display: grid; grid-template-columns: 92px 190px 1fr; gap: 26px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); position: relative; overflow: hidden;
}
.ag-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ag-date {
  text-align: center; border-radius: 12px; padding: 14px 8px; background: var(--navy); color: #fff;
}
.ag-date .d { font-family: 'Montserrat'; font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--yellow); }
.ag-date .m { font-family: 'Montserrat'; font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 6px; }
.ag-date .y { font-size: .68rem; opacity: .7; margin-top: 3px; }
.ag-date.holiday { background: linear-gradient(150deg, var(--blue), var(--navy)); }
.ag-photo { border-radius: 12px; overflow: hidden; height: 120px; cursor: zoom-in; }
.ag-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ag-item:hover .ag-photo img { transform: scale(1.06); }
.ag-body .badge { display: inline-block; font-family: 'Montserrat'; font-weight: 700; font-size: .68rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 6px; }
.ag-body .badge.hol { color: var(--red); }
.ag-body h3 { font-size: 1.12rem; margin-bottom: 5px; }
.ag-body p { font-size: .9rem; color: var(--muted); }
.ag-body .where { font-size: .82rem; color: var(--blue); font-weight: 600; margin-top: 7px; }

@media (max-width: 1024px) {
  .ag-item { grid-template-columns: 76px 1fr; }
  .ag-photo { display: none; }
}
@media (max-width: 640px) {
  .ann-label { padding: 0 14px; font-size: .74rem; }
  .ann-go { display: none; }
  .ag-item { grid-template-columns: 68px 1fr; gap: 16px; padding: 14px; }
  .ag-date .d { font-size: 1.5rem; }
}

/* ================= СТОРІНКА ПОДІЇ ================= */
.ev-meta { display: flex; flex-wrap: wrap; gap: 14px; margin: 6px 0 8px; }
.ev-meta .chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px;
  background: var(--paper-soft); border: 1px solid var(--line); font-family: 'Montserrat'; font-weight: 700;
  font-size: .88rem; color: var(--navy);
}
.ev-meta .chip svg { width: 17px; height: 17px; stroke: var(--blue); fill: none; stroke-width: 2; }
.ev-meta .chip.hol { background: var(--navy); border-color: var(--navy); color: #fff; }
.ev-meta .chip.hol svg { stroke: var(--yellow); }

.ev-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; align-items: start; }
.ev-lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; }
.program { list-style: none; padding: 0; margin: 0; position: relative; }
.program li { display: grid; grid-template-columns: 74px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.program li:last-child { border-bottom: 0; }
.program .t { font-family: 'Montserrat'; font-weight: 800; color: var(--blue); font-size: .95rem; }
.program .x b { display: block; font-family: 'Montserrat'; color: var(--navy); font-size: 1rem; margin-bottom: 2px; }
.program .x span { font-size: .9rem; color: var(--muted); }

.reg-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff;
  box-shadow: var(--shadow); position: sticky; top: 94px; }
.reg-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.reg-card .sub { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.reg-card .form-grid { gap: 14px; }
.reg-card .btn { width: 100%; justify-content: center; margin-top: 4px; }
.reg-note { font-size: .8rem; color: var(--muted); margin-top: 12px; }
.people-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.child-row { display: grid; grid-template-columns: 1fr 84px; gap: 10px; }

.ev-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; grid-auto-rows: 150px; margin-top: 8px; }
.ev-gallery figure { border-radius: 12px; overflow: hidden; cursor: zoom-in; }
.ev-gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.ev-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ev-gallery figure:hover img { transform: scale(1.05); }

@media (max-width: 1024px) {
  .ev-grid { grid-template-columns: 1fr; gap: 30px; }
  .reg-card { position: static; }
  .ev-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .program li { grid-template-columns: 60px 1fr; gap: 12px; }
  .people-row { grid-template-columns: 1fr; }
  .ev-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .ev-gallery figure:first-child { grid-column: span 2; grid-row: span 1; }
}

.ag-item { text-decoration: none; color: inherit; cursor: pointer; }
.ag-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font-family: 'Montserrat'; font-weight: 700; font-size: .85rem; color: var(--blue); }
.ag-cta svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.ag-item:hover .ag-cta svg { transform: translateX(4px); }

/* ================= НАВЧАННЯ: сітка курсів ================= */
.courses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.course {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.course:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.course .cimg { position: relative; height: 190px; overflow: hidden; }
.course .cimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.course:hover .cimg img { transform: scale(1.05); }
.course .cbody { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.course .ctag { font-family: 'Montserrat'; font-weight: 700; font-size: .7rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.course h3 { font-size: 1.18rem; margin-bottom: 8px; }
.course p { font-size: .92rem; color: var(--muted); }
.course .cmeta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; font-family: 'Montserrat';
  font-weight: 600; font-size: .78rem; color: var(--navy); }
.course .cmeta span { display: inline-flex; align-items: center; gap: 6px; }
.course .cmeta svg { width: 14px; height: 14px; }
.course .cmore { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Montserrat'; font-weight: 700; font-size: .88rem; color: var(--blue); }
.course .cmore svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.course:hover .cmore svg { transform: translateX(4px); }

/* статус-бейдж */
.status { position: absolute; left: 14px; top: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px; font-family: 'Montserrat'; font-weight: 700; font-size: .72rem;
  letter-spacing: .04em; backdrop-filter: blur(6px); }
.status .d { width: 8px; height: 8px; border-radius: 50%; }
.status.live { background: rgba(27,122,61,.14); color: #157A3A; }
/* у хедері сторінки бейдж іде в потоці, а не поверх крихт */
.page-hero .status { position: static; left: auto; top: auto; }
.status.live .d { background: #1B9A48; box-shadow: 0 0 0 4px rgba(27,154,72,.2); }
.status.soon { background: rgba(48,128,208,.16); color: var(--blue-deep); }
.status.soon .d { background: var(--blue); }
.status.done { background: rgba(90,103,121,.16); color: #46505f; }
.status.done .d { background: #7A8497; }

/* прогрес-смужка курсу */
.cprog { margin-top: 14px; }
.cprog .track { height: 7px; border-radius: 4px; background: var(--line); overflow: hidden; }
.cprog .fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--gold)); }
.cprog .lbl { font-size: .76rem; color: var(--muted); margin-top: 6px; font-family: 'Montserrat'; font-weight: 600; }

/* ---- сторінка курсу ---- */
.syllabus { list-style: none; padding: 0; margin: 0; counter-reset: mod; }
.syllabus > li { position: relative; padding: 20px 0 20px 62px; border-bottom: 1px solid var(--line); counter-increment: mod; }
.syllabus > li:last-child { border-bottom: 0; }
.syllabus > li::before { content: counter(mod); position: absolute; left: 0; top: 18px; width: 40px; height: 40px;
  border-radius: 12px; background: var(--paper-soft); border: 1px solid var(--line); display: grid; place-items: center;
  font-family: 'Montserrat'; font-weight: 800; color: var(--blue); }
.syllabus > li.is-done::before { content: '✓'; background: #E8F6EC; border-color: #BEE3C8; color: #157A3A; }
.syllabus h4 { font-family: 'Montserrat'; font-weight: 800; color: var(--navy); font-size: 1.05rem; margin-bottom: 4px; }
.syllabus .lessons { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.syllabus .lessons li { font-size: .82rem; color: var(--ink); background: var(--paper-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 12px; }
.syllabus .out { font-size: .88rem; color: var(--gold-text); margin-top: 10px; font-weight: 600; }

.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.works figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; cursor: zoom-in; }
.works figure img { width: 100%; height: 240px; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.works figure:hover img { transform: scale(1.05); }
.works figcaption { padding: 12px 16px; font-size: .82rem; color: var(--muted); }
.works figcaption b { display: block; color: var(--navy); font-family: 'Montserrat'; font-size: .9rem; margin-bottom: 2px; }

.course-hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 26px; }
.course-hero-img img { width: 100%; height: 340px; object-fit: cover; display: block; }

/* блок-тизер навчання на головній */
.learn-teaser { background: var(--navy); color: #fff; }
.learn-teaser h2 { color: #fff; }
.learn-teaser .kicker { color: var(--yellow) !important; }
.learn-teaser .kicker::before { background: var(--yellow) !important; }
.learn-teaser p { color: rgba(255,255,255,.84); }
.lt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.lt-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  padding: 22px; transition: transform .35s var(--ease), background .35s; }
.lt-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.10); }
.lt-card .ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,213,0,.14); display: grid; place-items: center; margin-bottom: 14px; }
.lt-card .ico svg { width: 24px; height: 24px; stroke: var(--yellow); fill: none; stroke-width: 2; }
.lt-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.lt-card p { color: rgba(255,255,255,.72); font-size: .88rem; }

@media (max-width: 1024px) {
  .courses { grid-template-columns: 1fr; }
  .works { grid-template-columns: 1fr 1fr; }
  .lt-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .works { grid-template-columns: 1fr; }
  .works figure img { height: 220px; }
  .syllabus > li { padding-left: 52px; }
  .course-hero-img img { height: 220px; }
}

/* велика галерея робіт курсу (15+) — 4 колонки, компактніше */
.works.works-lg { grid-template-columns: repeat(4, 1fr); gap: 14px; }
.works.works-lg figure img { height: 200px; }
.works.works-lg figcaption { padding: 10px 14px; font-size: .78rem; }
@media (max-width: 1024px) { .works.works-lg { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .works.works-lg { grid-template-columns: 1fr 1fr; } .works.works-lg figure img { height: 170px; } }

/* ---------- команда: фото + історія, з чергуванням сторін ---------- */
.team-list > .team-member { display: grid; grid-template-columns: 320px 1fr; gap: 44px;
  align-items: start; margin-top: 54px; }
.team-list > .team-member:first-child { margin-top: 34px; }
.team-list > .team-member:nth-child(even) { grid-template-columns: 1fr 320px; }
.team-list > .team-member:nth-child(even) .tm-photo { order: 2; }
.tm-photo { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
  position: relative; }
.tm-photo img { width: 100%; display: block; aspect-ratio: 4/5; object-fit: cover; }
.tm-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 5px; background: linear-gradient(90deg, var(--blue) 0 50%, var(--yellow) 50% 100%); }
.tm-name { font-family: 'Montserrat'; font-weight: 800; font-size: 1.55rem;
  color: var(--navy); letter-spacing: -.4px; }
.tm-role { font-family: 'Montserrat'; font-weight: 700; font-size: .76rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-top: 7px; }
.tm-text { margin-top: 18px; max-width: 38em; }
.tm-text p { color: var(--muted); line-height: 1.78; }
.tm-text p + p { margin-top: 13px; }
@media (max-width: 900px) {
  .team-list > .team-member, .team-list > .team-member:nth-child(even) { grid-template-columns: 1fr; gap: 24px; }
  .team-list > .team-member:nth-child(even) .tm-photo { order: 0; }
  .tm-photo { max-width: 300px; }
}


/* ---------- святкова стрічка: День Незалежності ---------- */
.indep {
  position: relative; color: #fff; padding: 24px 0 26px; overflow: hidden;
  /* трохи глибший за смугу анонсів нижче, щоб блоки не зливалися */
  background: linear-gradient(180deg, #22406F 0%, var(--navy) 55%, #16294F 100%);
}
.indep::before,
.indep::after {                      /* синьо-жовті нитки згори і знизу — як на друкованому банері */
  content: ''; position: absolute; left: 0; right: 0; height: 4px; z-index: 2;
  background: linear-gradient(90deg, var(--blue) 0 50%, var(--yellow) 50%);
}
.indep::before { top: 0; }
.indep::after  { bottom: 0; }
.indep-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.indep-flag {
  flex: none; width: 48px; height: 33px; border-radius: 5px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 4px 14px rgba(0,0,0,.32);
}
.indep-flag i { display: block; height: 50%; }
.indep-flag i:first-child { background: var(--blue); }
.indep-flag i:last-child  { background: var(--yellow); }
.indep-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.indep-text b {
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.14rem;
  letter-spacing: -.01em; line-height: 1.25;
}
.indep-text span { font-size: .92rem; color: #D6E2F5; line-height: 1.45; }
.indep-btn { margin-left: auto; flex: none; }

@media (max-width: 760px) {
  .indep { padding: 20px 0 22px; }
  .indep-inner { gap: 14px; }
  .indep-flag { width: 40px; height: 27px; }
  .indep-text { flex: 1 1 auto; }
  .indep-text b { font-size: 1.02rem; }
  .indep-text span { font-size: .86rem; }
  /* кнопка НЕ на всю ширину: розтягнута ловила білу заливку ефекту наведення */
  .indep-btn { margin-left: 0; width: auto; align-self: flex-start; padding: 12px 24px; font-size: .9rem; }
}


/* ---------- пауза набору на курси ---------- */
.status.paused { background: rgba(230,168,0,.18); color: var(--gold-text); }
.status.paused .d { background: var(--gold); box-shadow: 0 0 0 4px rgba(230,168,0,.18); }
.pause-box {
  background: #FFF6E0; border: 1px solid #F0DCA8; border-radius: var(--radius);
  padding: 20px 24px; color: #6B4E00;
}
.pause-box b {
  display: block; font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 1.05rem; color: #7A5A00; margin-bottom: 8px;
}
.pause-box p { font-size: .95rem; line-height: 1.6; }
.pause-box p + p { margin-top: 8px; color: #806314; }
.pause-note {
  margin-top: 12px; font-size: .84rem; line-height: 1.55; color: var(--muted);
  padding-top: 12px; border-top: 1px solid var(--line);
}


/* --- анти-виліз по горизонталі на вузьких екранах ---
   Елементи grid/flex мають min-width:auto, тобто не стискаються нижче свого
   вмісту: широка картинка розпирала колонку, і сторінку доводилось возити вбік. */
.wrap > *, .ev-grid > *, .courses > *, .ev-gallery > *, .shots > *,
.form-grid > *, .hero-grid > *, .foot > *, .indep-inner > * { min-width: 0; }
.ev-grid img, .shots img, .ev-gallery img, figure img { max-width: 100%; height: auto; }

/* ---------- Толока: дошка оголошень ---------- */
.board-top { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.board-search {
  flex: 1; min-width: 200px; padding: 14px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); font: inherit; color: var(--ink);
}
.board-search:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(48,128,208,.12); }
.board-cats { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 18px; }
.bcat {
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  padding: 9px 16px; border-radius: 999px; cursor: pointer; font: inherit; font-size: .88rem;
  transition: background .25s, color .25s, border-color .25s;
}
.bcat:hover { border-color: var(--blue); color: var(--blue-deep); }
.bcat.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.bcat i { font-style: normal; opacity: .55; margin-left: 6px; }
.bcat.on i { opacity: .75; }

.ads-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 20px; }
.ad-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
  padding: 22px 22px 18px; display: flex; flex-direction: column; min-width: 0;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.ad-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.ad-cat {
  align-self: flex-start; font-family: 'Montserrat'; font-weight: 700; font-size: .7rem;
  letter-spacing: .09em; text-transform: uppercase; color: var(--blue-deep);
  background: rgba(48,128,208,.12); padding: 6px 11px; border-radius: 999px;
}
.ad-card h3 { font-size: 1.08rem; line-height: 1.35; margin: 13px 0 8px; color: var(--navy); }
.ad-card p { font-size: .93rem; line-height: 1.6; color: var(--muted); white-space: pre-wrap;
  overflow-wrap: anywhere; }
.ad-meta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 14px;
  padding-top: 13px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.ad-price { font-family: 'Montserrat'; font-weight: 700; color: var(--gold-text); }
.ad-contacts { margin-top: 10px; display: flex; gap: 12px; flex-wrap: wrap; font-size: .88rem; }
.ad-contacts a { color: var(--blue-deep); font-weight: 600; overflow-wrap: anywhere; }
.ad-report { margin-left: auto; background: none; border: 0; color: #9aa4b4; cursor: pointer;
  font: inherit; font-size: .8rem; padding: 2px 4px; }
.ad-report:hover { color: var(--red); }
.board-empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* великий рекламний блок */
.ad-slot {
  display: block; text-decoration: none; border: 2px dashed #D8C48A; border-radius: var(--radius);
  background: linear-gradient(135deg, #FFFBF0 0%, #FFF4DC 100%); padding: 40px 34px; text-align: center;
  transition: border-color .3s, transform .3s var(--ease);
}
.ad-slot:hover { border-color: var(--gold); transform: translateY(-2px); }
.ad-slot-tag { display: inline-block; font-family: 'Montserrat'; font-weight: 700; font-size: .68rem;
  letter-spacing: .16em; text-transform: uppercase; color: #9A6E00; margin-bottom: 12px; }
.ad-slot b { display: block; font-family: 'Montserrat'; font-size: 1.5rem; color: var(--navy); }
.ad-slot-sub { display: block; max-width: 620px; margin: 12px auto 0; font-size: .95rem;
  line-height: 1.6; color: #7A5A00; }
.ad-slot-cta { display: inline-block; margin-top: 18px; font-family: 'Montserrat'; font-weight: 700;
  color: var(--blue-deep); }
.banner-live { display: block; margin-bottom: 22px; }
.banner-live img { width: 100%; height: auto; border-radius: var(--radius); display: block; }

/* модалка подачі */
.ad-modal { position: fixed; inset: 0; z-index: 200; background: rgba(10,20,40,.55);
  backdrop-filter: blur(4px); display: none; padding: 24px; overflow-y: auto; }
.ad-modal.on { display: block; }
.ad-modal-in { position: relative; max-width: 640px; margin: 40px auto; background: var(--paper);
  border-radius: var(--radius); padding: 34px 32px 30px; box-shadow: var(--shadow); }
.ad-modal-in h2 { font-size: 1.5rem; color: var(--navy); }
.ad-hint { margin-top: 8px; color: var(--muted); font-size: .94rem; line-height: 1.6; }
.ad-modal-in .form-grid { margin-top: 20px; }
.ad-close { position: absolute; right: 16px; top: 12px; border: 0; background: none;
  font-size: 30px; line-height: 1; color: var(--muted); cursor: pointer; }
.ad-close:hover { color: var(--navy); }
.ad-checks { display: flex; flex-direction: column; gap: 9px; }
.ad-checks label { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: var(--ink); }
.ad-checks input { width: 17px; height: 17px; }
.ad-note { margin-top: 10px; font-size: .82rem; line-height: 1.55; color: var(--muted); }
@media (max-width: 640px) {
  .ad-modal { padding: 0; }
  .ad-modal-in { margin: 0; border-radius: 0; min-height: 100%; padding: 28px 20px; }
  .ad-slot { padding: 30px 20px; }
  .ad-slot b { font-size: 1.2rem; }
}


/* ---------- Толока на головній ---------- */
.toloka-home { padding: 90px 0; background: var(--paper-soft); border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); }
.tol-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: 46px; align-items: center; }
.tol-in > * { min-width: 0; }
.tol-text h2 { font-size: 2.4rem; margin: 6px 0 14px; color: var(--navy); }
.tol-text p { color: var(--muted); line-height: 1.7; margin-bottom: 22px; max-width: 34em; }
.tol-cards { display: grid; gap: 14px; }
.tol-card { display: block; text-decoration: none; background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 18px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.tol-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tol-card b { display: block; color: var(--navy); font-size: 1rem; line-height: 1.35; }
.tol-card span { display: block; margin-top: 5px; font-size: .85rem; color: var(--muted); }
.tol-card em { font-style: normal; color: var(--blue-deep); font-weight: 700; font-size: .74rem;
  letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 900px) { .tol-in { grid-template-columns: 1fr; gap: 28px; } .tol-text h2 { font-size: 1.9rem; } }

/* ---------- особистий кабінет ---------- */
.acc-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 22px; max-width: 560px; }
.acc-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.acc-tab { flex: 1; padding: 11px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper-soft); color: var(--muted); font: inherit; font-weight: 600; cursor: pointer;
  transition: background .25s, color .25s; }
.acc-tab.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.linkbtn { background: none; border: 0; color: var(--blue-deep); font: inherit; font-size: .9rem;
  cursor: pointer; padding: 8px 2px; text-decoration: underline; }
.acc-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.acc-head b { display: block; font-family: 'Montserrat'; font-size: 1.25rem; color: var(--navy); }
.acc-head span { display: block; color: var(--muted); font-size: .92rem; margin-top: 3px; }
.acc-head-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.acc-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: start; }
.acc-grid > * { min-width: 0; }
.acc-h { font-size: 1.2rem; color: var(--navy); margin-bottom: 16px; }
.my-ad { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 14px;
  background: var(--paper); }
.my-ad b { display: block; color: var(--navy); font-size: 1rem; }
.my-ad .m { margin-top: 6px; font-size: .85rem; color: var(--muted); }
.my-ad .st { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 999px; margin-right: 8px; }
.st.live { background: rgba(27,122,61,.14); color: #157A3A; }
.st.hidden { background: rgba(90,103,121,.16); color: #46505f; }
.st.draft { background: rgba(230,168,0,.18); color: var(--gold-text); }
.my-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.my-acts button { border: 1px solid var(--line); background: var(--paper-soft); border-radius: 999px;
  padding: 7px 14px; font: inherit; font-size: .84rem; cursor: pointer; color: var(--ink); }
.my-acts button:hover { border-color: var(--blue); color: var(--blue-deep); }
.my-acts button.danger:hover { border-color: var(--red); color: var(--red); }
@media (max-width: 900px) { .acc-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- бічні рекламні рейки на Толоці ---------- */
.board-rails { display: grid; grid-template-columns: 1fr; gap: 26px; }
.rail { display: none; }
.rail-in { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.rail-slot { display: block; text-decoration: none; border: 2px dashed #D8C48A; border-radius: 14px;
  background: linear-gradient(160deg, #FFFBF0 0%, #FFF4DC 100%); padding: 22px 14px;
  text-align: center; min-height: 420px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; transition: border-color .3s; }
.rail-slot:hover { border-color: var(--gold); }
.rail-slot em { font-style: normal; font-family: 'Montserrat'; font-weight: 700; font-size: .64rem;
  letter-spacing: .16em; text-transform: uppercase; color: #9A6E00; }
.rail-slot b { font-family: 'Montserrat'; font-size: .98rem; color: var(--navy); line-height: 1.4; }
.rail-slot span { font-size: .82rem; color: #7A5A00; line-height: 1.5; }
.rail img { width: 100%; height: auto; border-radius: 14px; display: block; }
@media (min-width: 1180px) {
  .board-rails { grid-template-columns: 200px minmax(0,1fr) 200px; gap: 30px; }
  .rail { display: block; }
}


/* ---------- Толока: повноцінні картки ---------- */
.ad-card { padding: 0; overflow: hidden; }
.ad-photo { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--paper-soft); }
.ad-nophoto { display: flex; align-items: center; justify-content: center; width: 100%;
  aspect-ratio: 16/10; background: linear-gradient(135deg, #EEF3FB 0%, #E3ECF8 100%); }
.ad-nophoto svg { width: 48px; height: 48px; opacity: .35; }
.ad-in { padding: 18px 20px 16px; display: flex; flex-direction: column; flex: 1; }
.ad-card h3 { margin: 11px 0 0; }
.ad-price-big { font-family: 'Montserrat'; font-weight: 800; font-size: 1.35rem; color: var(--navy);
  margin: 10px 0 0; letter-spacing: -.01em; }
.ad-price-big.free { color: #157A3A; }
.ad-card p { margin-top: 9px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; }

/* кольори рубрик */
.ad-cat { background: rgba(48,128,208,.12); color: var(--blue-deep); }
.ad-cat.c-service { background: rgba(48,128,208,.14); color: #1F63B0; }
.ad-cat.c-sell    { background: rgba(27,154,72,.15);  color: #147A38; }
.ad-cat.c-buy     { background: rgba(108,79,214,.15); color: #5334C4; }
.ad-cat.c-free    { background: rgba(15,163,163,.15); color: #0B7C7C; }
.ad-cat.c-job     { background: rgba(230,168,0,.20);  color: #8A6200; }
.ad-cat.c-housing { background: rgba(200,16,46,.12);  color: #A80D26; }
.ad-cat.c-learn   { background: rgba(59,76,202,.14);  color: #2E3BA6; }
.ad-cat.c-help    { background: rgba(217,119,6,.16);  color: #9A5300; }

/* закріплені */
.ad-card.pinned { border-color: #E6C97A; box-shadow: 0 10px 30px rgba(230,168,0,.16); }
.ad-pin { position: absolute; left: 14px; top: 14px; z-index: 2; display: inline-flex; align-items: center;
  gap: 6px; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); color: #8A6200;
  font-family: 'Montserrat'; font-weight: 700; font-size: .68rem; letter-spacing: .08em;
  text-transform: uppercase; padding: 6px 11px; border-radius: 999px;
  box-shadow: 0 3px 12px rgba(0,0,0,.12); }
.ad-card { position: relative; }
.ad-promo-note { margin-top: 26px; text-align: center; font-size: .88rem; color: var(--muted); }
.ad-promo-note a { color: var(--blue-deep); font-weight: 700; }

/* поле фото у формі */
.photo-drop { border: 2px dashed var(--line); border-radius: 14px; padding: 20px; text-align: center;
  cursor: pointer; transition: border-color .25s, background .25s; background: var(--paper-soft); }
.photo-drop:hover { border-color: var(--blue); }
.photo-drop img { max-height: 180px; border-radius: 10px; margin: 0 auto; display: block; }
.photo-drop span { display: block; color: var(--muted); font-size: .9rem; }

/* ---------- бібліотека ---------- */
.lib-note { background: var(--paper-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 30px; }
.lib-note b { display: block; font-family: 'Montserrat'; color: var(--navy); margin-bottom: 6px; }
.lib-note p { color: var(--muted); font-size: .92rem; line-height: 1.6; }
.bk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 26px; }
.bk { min-width: 0; }
.bk-cover { position: relative; display: flex; flex-direction: column; justify-content: center;
  aspect-ratio: 2/3; border-radius: 12px; padding: 24px 20px; text-decoration: none; overflow: hidden;
  background: linear-gradient(150deg, var(--c1) 0%, var(--c2) 100%);
  box-shadow: 0 12px 28px rgba(1,33,105,.18);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.bk-cover:hover { transform: translateY(-5px) rotate(-.6deg); box-shadow: 0 20px 40px rgba(1,33,105,.28); }
.bk-cover::before { content: ''; position: absolute; inset: 9px; border: 1px solid rgba(255,255,255,.26);
  border-radius: 7px; pointer-events: none; }
.bk-cover::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 7px;
  background: rgba(0,0,0,.18); }
.bk-ini { position: absolute; right: 16px; top: 14px; font-family: 'Montserrat'; font-weight: 800;
  font-size: .68rem; letter-spacing: .12em; color: rgba(255,255,255,.5); }
.bk-t { font-family: 'Montserrat'; font-weight: 800; font-size: 1.12rem; line-height: 1.22;
  color: #fff; overflow-wrap: anywhere; }
.bk-a { margin-top: 10px; font-size: .78rem; letter-spacing: .04em; color: rgba(255,255,255,.82); }
.bk-orn { position: absolute; left: 20px; right: 20px; bottom: 20px; height: 2px;
  background: linear-gradient(90deg, rgba(255,213,0,.9) 0 50%, rgba(255,255,255,.45) 50%); }
.bk-in { padding: 14px 2px 0; }
.bk-in b { display: block; color: var(--navy); font-size: .98rem; line-height: 1.35; }
.bk-meta { display: block; margin-top: 5px; font-size: .8rem; color: var(--muted); }
.bk-acts { display: flex; gap: 8px; margin-top: 12px; }
.bk-btn { flex: 1; text-align: center; text-decoration: none; border-radius: 999px; padding: 9px 10px;
  font-family: 'Montserrat'; font-weight: 700; font-size: .82rem; background: var(--navy); color: #fff;
  transition: background .25s, color .25s; }
.bk-btn:hover { background: var(--blue-deep); }
.bk-btn.ghost { background: transparent; color: var(--navy); border: 1px solid var(--line); flex: 0 0 62px; }
.bk-btn.ghost:hover { border-color: var(--blue); color: var(--blue-deep); background: transparent; }


/* ---------- бібліотека на головній ---------- */
.lib-home { padding: 90px 0; }
.lib-home-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 46px; align-items: center; }
.lib-home-in > * { min-width: 0; }
.lib-home h2 { font-size: 2rem; margin: 6px 0 14px; color: var(--navy); line-height: 1.2; }
.lib-home p { color: var(--muted); line-height: 1.7; margin-bottom: 22px; max-width: 34em; }
.lb-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.lb-mini { position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 2/3; border-radius: 10px; padding: 14px 12px; text-decoration: none; overflow: hidden;
  background: linear-gradient(150deg, var(--c1) 0%, var(--c2) 100%);
  box-shadow: 0 8px 20px rgba(1,33,105,.16); transition: transform .3s var(--ease); }
.lb-mini:hover { transform: translateY(-4px) rotate(-1deg); }
.lb-mini::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: rgba(0,0,0,.18); }
.lb-mini b { font-family: 'Montserrat'; font-size: .84rem; line-height: 1.25; color: #fff;
  overflow-wrap: anywhere; }
.lb-mini span { margin-top: 5px; font-size: .68rem; color: rgba(255,255,255,.8); }
@media (max-width: 900px) {
  .lib-home-in { grid-template-columns: 1fr; gap: 28px; }
  .lb-row { grid-template-columns: repeat(3, 1fr); }
  .lb-row a:nth-child(n+4) { display: none; }
}


/* ---------- бібліотека всередині «Навчання» ---------- */
.lib-cta { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center;
  text-decoration: none; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 36px;
  box-shadow: 0 10px 30px rgba(1,33,105,.07);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.lib-cta:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.lib-cta > * { min-width: 0; }
.lib-cta b { display: block; font-family: 'Montserrat'; font-size: 1.4rem; line-height: 1.3;
  color: var(--navy); margin: 6px 0 10px; }
.lib-cta-sub { display: block; color: var(--muted); line-height: 1.65; font-size: .95rem; }
.lib-cta-go { display: inline-block; margin-top: 16px; font-family: 'Montserrat'; font-weight: 700;
  color: var(--blue-deep); }
.lib-cta-books { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lib-cta-books i { position: relative; display: flex; align-items: flex-end; aspect-ratio: 2/3;
  border-radius: 9px; padding: 11px 9px; font-style: normal; font-family: 'Montserrat';
  font-weight: 700; font-size: .74rem; line-height: 1.25; color: #fff; overflow-wrap: anywhere;
  background: linear-gradient(150deg, var(--c1) 0%, var(--c2) 100%);
  box-shadow: 0 8px 18px rgba(1,33,105,.16); }
.lib-cta-books i::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: rgba(0,0,0,.2); }
@media (max-width: 860px) { .lib-cta { grid-template-columns: 1fr; gap: 24px; padding: 26px 22px; }
  .lib-cta b { font-size: 1.15rem; } }

/* ---------- сторінка окремого оголошення ---------- */
.ad-page { padding: 118px 0 90px; }
.ad-loading { padding: 60px 0; color: var(--muted); }
.ad-single { display: grid; grid-template-columns: 1.25fr .75fr; gap: 44px; margin-top: 22px;
  align-items: start; }
.ad-single > * { min-width: 0; }
.ad-hero-img { width: 100%; border-radius: var(--radius); display: block;
  background: var(--paper-soft); }
.ad-hero-none { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius);
  background: linear-gradient(135deg,#EEF3FB 0%,#E3ECF8 100%);
  display: flex; align-items: center; justify-content: center; }
.ad-hero-none svg { width: 68px; height: 68px; opacity: .3; }
.ad-single h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.2; margin: 18px 0 0;
  color: var(--navy); }
.ad-single .ad-price-big { font-size: 1.9rem; margin-top: 14px; }
.ad-text { margin-top: 20px; font-size: 1.02rem; line-height: 1.75; color: var(--ink);
  white-space: pre-wrap; overflow-wrap: anywhere; }
.ad-side { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); padding: 24px; box-shadow: 0 10px 30px rgba(1,33,105,.07); }
.ad-side h3 { font-size: 1rem; color: var(--navy); margin-bottom: 14px; }
.ad-contact-btn { display: flex; align-items: center; gap: 11px; text-decoration: none;
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; margin-bottom: 10px;
  color: var(--navy); font-weight: 600; transition: border-color .25s, background .25s; }
.ad-contact-btn:hover { border-color: var(--blue); background: var(--paper-soft); }
.ad-contact-btn svg { width: 20px; height: 20px; flex: none; stroke: var(--blue); }
.ad-contact-btn span { overflow-wrap: anywhere; font-size: .93rem; }
.ad-facts { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.ad-facts div { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0;
  font-size: .89rem; color: var(--muted); }
.ad-facts b { color: var(--navy); font-weight: 600; text-align: right; }
.ad-safety { margin-top: 16px; font-size: .8rem; line-height: 1.55; color: var(--muted);
  background: #FFF6E0; border: 1px solid #F0DCA8; border-radius: 12px; padding: 12px 14px; }
.ad-more { margin-top: 60px; }
.ad-more h2 { font-size: 1.25rem; color: var(--navy); margin-bottom: 18px; }
.ad-back { display: inline-block; margin-top: 26px; font-family: 'Montserrat'; font-weight: 700;
  color: var(--blue-deep); text-decoration: none; }
@media (max-width: 900px) { .ad-single { grid-template-columns: 1fr; gap: 26px; }
  .ad-side { position: static; } .ad-page { padding: 100px 0 70px; } }
.ad-link { text-decoration: none; display: block; }
.ad-link h3 { transition: color .25s; }
.ad-card:hover .ad-link h3 { color: var(--blue-deep); }
.ad-open { display: inline-block; margin-top: 12px; font-family: 'Montserrat'; font-weight: 700;
  font-size: .84rem; color: var(--blue-deep); text-decoration: none; }
.ad-open:hover { text-decoration: underline; }
/* справжня обкладинка перекриває намальовану */
.bk-cover.has-real { padding: 0; }
.bk-real { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: 12px; z-index: 3; }
.bk-cover.has-real::before { z-index: 4; border-color: rgba(255,255,255,.18); }
.bk-cover.has-real::after { z-index: 4; }

/* ---------- дошка задач (внутрішня) ---------- */
.tb-page { padding: 112px 0 80px; }
.tb-gate { max-width: 420px; margin: 40px auto; text-align: center; }
.tb-gate h1 { font-size: 1.8rem; color: var(--navy); }
.tb-gate p { color: var(--muted); margin: 10px 0 20px; }
.tb-gate form { display: flex; gap: 10px; }
.tb-gate input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 13px 20px; font: inherit; }
.tb-head { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.tb-head h1 { font-size: 1.9rem; color: var(--navy); }
.tb-head p { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.tb-head-act { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tb-head-act .board-search { min-width: 200px; padding: 11px 16px; }
.tb-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.tb-col { background: var(--paper-soft); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 12px; min-height: 160px; }
.tb-col.over { border-color: var(--blue); background: #EAF2FC; }
.tb-col h3 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.tb-col h3 i { font-style: normal; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 2px 8px; font-size: .78rem; color: var(--navy); }
.tb-card { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 12px 13px;
  margin-bottom: 10px; cursor: grab; box-shadow: 0 1px 2px rgba(1,33,105,.05);
  transition: box-shadow .2s, transform .2s; border-left: 3px solid var(--line); }
.tb-card:hover { box-shadow: 0 6px 18px rgba(1,33,105,.10); transform: translateY(-1px); }
.tb-card.dragging { opacity: .45; }
.tb-card b { display: block; font-size: .93rem; line-height: 1.35; color: var(--navy); font-weight: 600; }
.tb-meta { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; margin-top: 9px; }
.tb-chip { font-size: .72rem; padding: 3px 8px; border-radius: 999px; background: var(--paper-soft);
  color: var(--muted); border: 1px solid var(--line); }
.tb-chip.who { background: rgba(48,128,208,.12); color: #1F63B0; border-color: transparent; font-weight: 600; }
.tb-chip.due { background: rgba(230,168,0,.16); color: #8A6200; border-color: transparent; }
.tb-chip.due.late { background: rgba(200,16,46,.12); color: #A80D26; }
.tb-card.p-critical { border-left-color: #C8102E; }
.tb-card.p-high { border-left-color: #E6A800; }
.tb-card.p-normal { border-left-color: #3080D0; }
.tb-card.p-low { border-left-color: #C9D2E0; }
.tb-move { display: flex; gap: 6px; margin-top: 10px; }
.tb-move button { flex: 1; border: 1px solid var(--line); background: #fff; border-radius: 8px;
  padding: 5px 0; font: inherit; font-size: .78rem; cursor: pointer; color: var(--muted); }
.tb-move button:hover { border-color: var(--blue); color: var(--blue-deep); }
.tb-form-act { display: flex; gap: 10px; align-items: center; }
@media (max-width: 1100px) { .tb-cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .tb-cols { grid-template-columns: 1fr; } }
/* вхід, голос і виконавці на дошці задач */
.tb-gate form { flex-direction: column; gap: 12px; }
.tb-pass { position: relative; display: flex; }
.tb-pass input { flex: 1; border: 1px solid var(--line); border-radius: 999px;
  padding: 14px 48px 14px 20px; font: inherit; width: 100%; }
.tb-pass button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  border: 0; background: none; font-size: 17px; cursor: pointer; padding: 8px; opacity: .5; }
.tb-pass button:hover { opacity: 1; }
.tb-remember { display: flex; align-items: center; gap: 8px; justify-content: center;
  margin-top: 14px; font-size: .88rem; color: var(--muted); }
.tb-voice { position: relative; display: flex; }
.tb-voice input, .tb-voice textarea { flex: 1; padding-right: 46px; }
.tb-voice .mic { position: absolute; right: 8px; top: 8px; border: 1px solid var(--line);
  background: #fff; border-radius: 50%; width: 32px; height: 32px; cursor: pointer;
  font-size: 15px; line-height: 1; padding: 0; transition: background .2s, border-color .2s; }
.tb-voice .mic:hover { border-color: var(--blue); }
.tb-voice .mic.rec { background: #C8102E; border-color: #C8102E; animation: micpulse 1.1s infinite; }
@keyframes micpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(200,16,46,.5) } 50% { box-shadow: 0 0 0 8px rgba(200,16,46,0) } }
.tb-mic-hint { font-size: .8rem; color: var(--muted); margin-top: 6px; min-height: 18px; }
.tb-people { display: flex; flex-direction: column; gap: 8px; }
.tb-person { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px; }
.tb-person b { font-size: .93rem; color: var(--navy); }
.tb-person span { font-size: .84rem; color: var(--muted); overflow-wrap: anywhere; }
.tb-person .rm { margin-left: auto; border: 0; background: none; color: #b9c0cc; cursor: pointer;
  font-size: 18px; padding: 2px 6px; }
.tb-person .rm:hover { color: var(--red); }
.tb-person .noemail { color: #A80D26; }

/* ---------- новини ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.nw-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--paper); display: flex; flex-direction: column; text-decoration: none;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.nw-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.nw-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.nw-nophoto { aspect-ratio: 16/10; background: linear-gradient(135deg,#EEF3FB,#E3ECF8);
  display: flex; align-items: center; justify-content: center; }
.nw-nophoto span { font-family: 'Montserrat'; font-weight: 800; font-size: 2rem; color: rgba(26,48,96,.18); }
.nw-in { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.nw-date { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nw-in h3 { font-size: 1.08rem; line-height: 1.35; color: var(--navy); margin: 8px 0 0; }
.nw-in p { margin-top: 9px; font-size: .92rem; line-height: 1.6; color: var(--muted); }
.nw-more { margin-top: auto; padding-top: 12px; font-family: 'Montserrat'; font-weight: 700;
  font-size: .84rem; color: var(--blue-deep); }
.nw-hero { width: 100%; border-radius: var(--radius); display: block; margin-bottom: 24px; }
.nw-single { max-width: 760px; }
.nw-single h1 { font-size: clamp(1.6rem,3.2vw,2.4rem); line-height: 1.2; color: var(--navy); margin: 10px 0 0; }
.nw-meta { color: var(--muted); font-size: .9rem; margin-top: 10px; }
.nw-text { margin-top: 22px; font-size: 1.05rem; line-height: 1.8; color: var(--ink); white-space: pre-wrap; }
/* новини на головній */
.news-home { padding: 90px 0; background: var(--paper-soft); border-top: 1px solid var(--line); }
.news-home .sec-head { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.news-home .sec-head a { margin-left: auto; font-family: 'Montserrat'; font-weight: 700;
  color: var(--blue-deep); text-decoration: none; white-space: nowrap; }

/* ---------- питання громади ---------- */
.faq-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.faq-topics button { border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  padding: 8px 15px; border-radius: 999px; font: 600 .86rem/1 'Montserrat', sans-serif; cursor: pointer;
  transition: all .2s var(--ease); }
.faq-topics button:hover { border-color: var(--blue); }
.faq-topics button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
  overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 18px 52px 18px 20px;
  font: 600 1rem/1.45 'Montserrat', sans-serif; color: var(--navy); cursor: pointer; position: relative; }
.faq-q::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--blue-deep); }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { display: none; padding: 0 20px 20px; color: var(--ink); line-height: 1.75; white-space: pre-wrap; }
.faq-item.open .faq-a { display: block; }
.faq-tag { display: inline-block; font: 700 .7rem/1 'Montserrat', sans-serif; letter-spacing: .06em;
  text-transform: uppercase; color: var(--blue-deep); background: rgba(48,128,208,.09);
  padding: 5px 9px; border-radius: 6px; margin: 0 0 10px; }
.faq-src { margin-top: 14px; font-size: .82rem; color: var(--muted); }
.faq-ask { margin-top: 42px; padding: 32px; border-radius: var(--radius); background: var(--paper-soft);
  border: 1px solid var(--line); text-align: center; }
.faq-ask h3 { font-size: 1.25rem; color: var(--navy); }
.faq-ask p { margin: 8px auto 18px; max-width: 46ch; color: var(--muted); }
.faq-single { max-width: 740px; }
.faq-single h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.25; color: var(--navy); margin: 12px 0 0; }
.faq-single .faq-a { display: block; padding: 22px 0 0; font-size: 1.05rem; }

/* ---------- меню з випадними списками ---------- */
.nav-drop { position: relative; }
.nav-drop > .nav-top { background: none; border: 0; cursor: pointer; padding: 0;
  /* мають бути НЕВІДРІЗНЯЛЬНІ від сусідніх посилань: кнопка не успадковує
     стилі .nav-links a, тож шрифт задаємо явно тими самими значеннями */
  font-family: inherit; font-weight: 600; font-size: .88rem; line-height: inherit;
  letter-spacing: inherit; color: var(--ink);
  display: inline-flex; align-items: center; gap: 5px; }
.nav-drop > .nav-top.active { color: var(--blue-deep); }
.nav-drop > .nav-top::after { content: ''; width: 5px; height: 5px; border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-1px);
  transition: transform .2s var(--ease); opacity: .55; }
.nav-drop.open > .nav-top::after { transform: rotate(-135deg) translateY(-1px); }
.nav-menu { position: absolute; top: calc(100% + 14px); left: -18px; min-width: 246px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px;
  box-shadow: 0 20px 44px rgba(1,33,105,.14); display: none; flex-direction: column; gap: 2px; z-index: 60; }
.nav-drop.open .nav-menu { display: flex; }
.nav-menu a { padding: 10px 14px; border-radius: 9px; white-space: nowrap; font-size: .93rem; }
.nav-menu a:hover { background: var(--paper-soft); color: var(--blue-deep); }
@media (max-width: 1300px) {
  .nav-drop { width: 100%; }
  .nav-drop > .nav-top { width: 100%; justify-content: space-between; font-weight: 700; }
  .nav-menu { position: static; display: flex; border: 0; box-shadow: none; padding: 6px 0 2px 14px;
    min-width: 0; border-left: 2px solid var(--line); border-radius: 0; margin-top: 8px; }
  .nav-drop:not(.open) .nav-menu { display: none; }
}
.nw-src { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--muted); }
.nw-src a { color: var(--blue-deep); }
