/* Interim kkb.lt — tokens from readonly/legacy/data/brand/colors.json */

@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(/fonts/poppins-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(/fonts/poppins-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(/fonts/poppins-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(/fonts/poppins-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(/fonts/poppins-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(/fonts/poppins-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --sky: #2ea9e0;
  --blue: #298ccc;
  --navy: #105890;
  --navy-deep: #0b3c63;
  --sky-tint: #e6f4fb;
  --sky-tint-2: #c4e6f6;
  --ink: #14213a;
  --grey: #5b6573;
  --grey-light: #e9edf1;
  --paper: #ffffff;
  /* Softer than #000/#fff: less halation of light text on a dark ground. */
  --charcoal: #1e1e1e;
  --paper-dim: #d4d4d4;

  --font: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1100px;
  --gutter: clamp(16px, 4vw, 32px);
  --space: clamp(48px, 8vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1rem/1.7 var(--font);
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

h1, h2 { font-weight: 700; line-height: 1.2; color: var(--navy-deep); margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--paper); padding: 8px 12px; }

/* header */
.header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--grey-light); }
.header__bar { display: flex; align-items: center; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-deep); font-weight: 700; font-size: .95rem; letter-spacing: .02em; line-height: 1.2; margin-right: auto; }
.brand img { width: 48px; height: 48px; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; letter-spacing: .04em; }
.nav a:hover { background: var(--sky-tint); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); background: var(--sky-tint); }
.nav .lang { border: 1px solid var(--sky-tint-2); font-weight: 400; letter-spacing: 0; }
/* The checkbox stays focusable (keyboard: Tab + Space) but is visually hidden; the label draws the icon. */
.nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nav-toggle__btn { display: none; }
.nav-toggle__btn svg { display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; }
.nav-toggle__btn .nav-toggle__close, .nav-toggle:checked + .nav-toggle__btn .nav-toggle__open { display: none; }
.nav-toggle:checked + .nav-toggle__btn .nav-toggle__close { display: block; }
.nav-toggle:focus-visible + .nav-toggle__btn { outline: 3px solid var(--sky); outline-offset: 2px; }

@media (max-width: 860px) {
  .brand span { font-size: .8rem; max-width: 14em; }
  .nav-toggle__btn { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; border: 1px solid var(--sky-tint-2); color: var(--navy); }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 12px; }
  .nav ul { flex-direction: column; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav .lang { text-align: center; }
}

/* hero */
.hero {
  position: relative;
  min-height: clamp(360px, 70vh, 640px);
  display: grid; place-items: center;
  background: var(--bg) center/cover no-repeat;
  color: var(--paper); text-align: center;
}
.hero__inner { padding: 48px var(--gutter); max-width: 900px; }
/* line-height = band height (Poppins content box + .1em padding, measured 1.4954em), so lines touch without a gap or a visible overlap */
.hero h1 { color: var(--paper); margin: 0; line-height: 1.495; }
/* Dark band behind each line of text only, not a box around the block. */
.hero h1 > span {
  background: rgba(0,0,0,.55); padding: .05em .35em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero--banner { min-height: clamp(220px, 45vh, 440px); background: var(--bg) center/cover no-repeat; }

/* sections */
.section { padding-block: var(--space); }
.section--tint { background: var(--sky-tint); }
.section--tight { padding-block: calc(var(--space) / 2); }
.section--title { padding-bottom: 0; }
.section--title h1 { margin: 0; }
.section--title + .section:not(.section--tint) { padding-top: calc(var(--space) / 2); }
.prose > :not(.gallery) { max-width: 760px; }
.prose > h2:not(:first-child) { margin-top: 1.6em; }
.prose--center { text-align: center; }
.prose--center > * { margin-inline: auto; }
.prose--center .social { justify-content: center; }

.split { display: grid; gap: clamp(24px, 5vw, 64px); grid-template-columns: 1fr 1fr; align-items: center; }
.split__media { min-height: 320px; height: 100%; background: var(--bg) center/cover no-repeat; }
.split__text > :last-child { margin-bottom: 0; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

.btn { display: inline-block; padding: 12px 24px; background: var(--navy); color: var(--paper); font-weight: 600; text-decoration: none; letter-spacing: .03em; }
.btn:hover { background: var(--navy-deep); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn--ghost:hover { background: var(--sky-tint); color: var(--navy); }

.list { padding-left: 1.2em; }
.img { }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 1.5em 0; }
.gallery .img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* home tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.tile {
  display: grid; place-items: center; min-height: 300px;
  background: linear-gradient(rgba(11,60,99,.35), rgba(11,60,99,.6)), var(--bg) center/cover no-repeat;
  text-decoration: none; color: var(--paper); transition: transform .2s;
}
.tile:hover { transform: translateY(-3px); color: var(--paper); }
.tile__label { font-size: 1.4rem; font-weight: 700; letter-spacing: .08em; padding: 10px 24px; border: 2px solid var(--paper); }

/* elders */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; text-align: center; }
.person__photo { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; margin: 0 auto 16px; border: 4px solid var(--sky-tint-2); }
.person__role { margin: 0; color: var(--grey); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.person__name { margin: 0 0 8px; font-weight: 600; font-size: 1.15rem; color: var(--navy-deep); }
.people .social { justify-content: center; }
.wrap:has(> .people) > h2 { text-align: center; margin-bottom: 1.2em; }

/* home: video + times */
.video { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--navy-deep); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.info { background: var(--paper); padding: 28px; border-top: 4px solid var(--sky); }
.info h2 { font-size: 1.2rem; margin-bottom: .4em; }
.info p { margin: 0; font-weight: 600; color: var(--navy); }

/* social links */
.social { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1em; }
.social__link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--paper); border: 1px solid var(--sky-tint-2); text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--navy); }
.social__link:hover { background: var(--sky-tint); }
.social__icon { width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--icon) center/contain no-repeat; mask: var(--icon) center/contain no-repeat; }
.social--small .social__link { padding: 6px 12px; font-size: .85rem; }
.social--dark .social__link { background: transparent; border-color: rgba(255,255,255,.3); color: var(--paper-dim); }
.social--dark .social__link:hover { background: rgba(255,255,255,.1); }

/* giving details */
.pairs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 0; max-width: 820px; }
.pairs__row { background: var(--paper); border: 1px solid var(--sky-tint-2); padding: 16px 20px; }
.pairs dt { color: var(--grey); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.pairs dd { margin: 0; font-weight: 600; font-size: 1.1rem; color: var(--navy-deep); overflow-wrap: anywhere; }

.give { display: grid; grid-template-columns: 1fr 320px; gap: clamp(24px, 5vw, 64px); align-items: start; }
.give-block + .give-block { margin-top: 40px; }
.give-block h2 { font-size: 1.3rem; }
.give-card { background: var(--sky-tint); padding: 32px; text-align: center; position: sticky; top: 96px; }
.give-card h2 { font-size: 1.2rem; }
.give-card img { margin: 8px auto 24px; }
.give-card p { margin: 0; }
@media (max-width: 760px) { .give { grid-template-columns: 1fr; } .give-card { position: static; } }

/* contacts */
.contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.contact li { display: flex; align-items: center; gap: 16px; font-size: 1.1rem; }
.contact__icon { flex: none; width: 48px; height: 48px; display: grid; place-items: center; background: var(--sky-tint); color: var(--navy); }
.contact__icon svg { width: 24px; height: 24px; fill: currentColor; }
/* Height set directly: aspect-ratio plus min-height forced a 731px-wide map on phones. */
.map { position: relative; width: 100%; height: clamp(320px, 45vw, 480px); overflow: hidden; background: var(--grey-light); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__caption { margin: 12px 0 0; color: var(--grey); }
/* Phones: map edge to edge, no tinted margins beside it. */
@media (max-width: 760px) {
  .section:has(.map) { padding-top: 0; }
  .map { width: auto; margin-inline: calc(-1 * var(--gutter)); height: 360px; }
}

/* footer */
.footer { background: var(--charcoal); color: var(--paper-dim); padding-top: 56px; }
.footer a { color: var(--paper-dim); }
.footer__grid { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: start; }
.footer__logo { width: 200px; height: auto; }
.footer__title { color: var(--paper-dim); font-size: .9rem; letter-spacing: .08em; margin-bottom: .8em; }
.footer__list { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.footer__copy { padding-block: 24px; margin: 40px auto 0; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; color: rgba(255,255,255,.7); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }
