/*
 * Self-hosted IBM Plex Sans, the two subsets Lithuanian needs. Copied from
 * @fontsource-variable/ibm-plex-sans so these pages, which the backend now
 * renders, do not depend on Vite resolving a node_modules specifier.
 */
@font-face {
  font-family: 'IBM Plex Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  src: url(/puslapiai/fonts/ibm-plex-sans-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  src: url(/puslapiai/fonts/ibm-plex-sans-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  font-family: "IBM Plex Sans Variable", "Segoe UI", sans-serif;
  color: #19313f;
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: #245f91; text-underline-offset: 3px; }
a:hover { color: #1d527f; }
a:focus-visible { outline: 3px solid #2f78b7; outline-offset: 4px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -70px; z-index: 1; padding: 10px 14px; background: #19313f; color: #fff; }
.skip-link:focus { top: 12px; }

.site-header { border-bottom: 1px solid #e5e9eb; }
.header-inner { max-width: 1120px; min-height: 72px; margin: auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: #19313f; text-decoration: none; white-space: nowrap; }
.brand-tile { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px 9px 2px 9px; background: #1d4058; color: #fff; font-size: 23px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.brand-word { font-size: 19px; font-weight: 700; letter-spacing: -.04em; }
.brand-word b { color: #2f78b7; font-size: 21px; font-weight: 800; }
.header-nav { display: flex; gap: 18px; font-size: 14px; font-weight: 600; }
.header-nav a { text-decoration: none; }
.header-nav .home-link { color: #405561; }
.home-link { font-size: 14px; font-weight: 600; text-decoration: none; }

.page { max-width: 720px; margin: 0 auto; padding: 64px 28px 56px; }
.article-header { margin-bottom: 38px; }
.eyebrow { margin: 0 0 12px; color: #245f91; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
h1 { margin: 0 0 20px; font-size: clamp(34px, 4vw, 46px); font-weight: 750; line-height: 1.16; letter-spacing: -.035em; }
.lead { margin: 0; color: #405561; font-size: 19px; line-height: 1.6; }
.checks section { padding: 24px 0; border-top: 1px solid #e4e9eb; }
.checks h2 { margin: 0 0 10px; font-size: 21px; font-weight: 700; line-height: 1.35; letter-spacing: -.015em; }
.checks p { margin: 0; font-size: 16px; line-height: 1.7; }
.tool-note { margin: 29px 0 0; font-size: 16px; line-height: 1.7; }
.related-guide { margin: 15px 0 0; font-size: 15px; line-height: 1.6; }
.sources { margin-top: 52px; padding-top: 24px; border-top: 1px solid #e4e9eb; }
.sources h2 { margin: 0 0 15px; font-size: 19px; line-height: 1.4; }
.sources ul { margin: 0; padding-left: 20px; }
.sources li { margin: 0 0 9px; line-height: 1.5; }
.publication-date { margin: 18px 0 0; color: #647780; font-size: 13px; }

/* ── „Kiti gidai" ───────────────────────────────────────────────────────────
   Three cards under the article. The guides used to cross-link each other in
   one inline sentence set in small type, and the last guide in the sequence
   had none at all, so it was a dead end for anyone arriving from search. */
.more-guides { max-width: 720px; margin: 0 auto; padding: 0 28px 48px; }
.more-guides-eyebrow { margin: 0 0 4px; color: #245f91; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.more-guides h2 { margin: 0 0 18px; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.more-guides ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.more-guides a { display: flex; flex-direction: column; gap: 7px; height: 100%; padding: 16px; border: 1px solid #e4e4e7; border-radius: 14px; background: #fff; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.more-guides a:hover { border-color: #245f91; box-shadow: 0 6px 18px -10px rgba(36, 95, 145, .5); }
.more-guides-cat { color: #a1a1aa; font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.more-guides-title { color: #18181b; font-size: 15px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.more-guides a:hover .more-guides-title { color: #245f91; }
.more-guides-desc { color: #71717a; font-size: 13px; line-height: 1.55; }
.more-guides-go { margin-top: auto; padding-top: 4px; color: #245f91; font-size: 13px; font-weight: 600; }

/* ── the shared footer ──────────────────────────────────────────────────── */
.site-footer { max-width: 1120px; margin: auto; padding: 32px 28px 48px; border-top: 1px solid #e5e9eb; }
.site-footer-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 44px; }
.site-footer-brand p { max-width: 20rem; margin: 10px 0 0; color: #a1a1aa; font-size: 12px; line-height: 1.5; }
.site-footer h2 { margin: 0; color: #a1a1aa; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 14px 0 0; padding: 0; }
.site-footer li a { color: #71717a; font-size: 14px; text-decoration: none; }
.site-footer li a:hover { color: #18181b; }
.site-footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 24px; border-top: 1px solid #f1f1f3; color: #a1a1aa; font-size: 12px; }
.site-footer-legal a { font-weight: 600; text-decoration: none; }

@media (max-width: 600px) {
  .header-inner { min-height: 64px; padding: 0 20px; }
  .page { padding: 42px 22px 40px; }
  .article-header { margin-bottom: 30px; }
  h1 { font-size: 34px; }
  .lead { font-size: 17px; }
  .checks section { padding: 22px 0; }
  .checks h2 { font-size: 20px; }
  .more-guides { padding: 0 22px 40px; }
  .more-guides ul { grid-template-columns: 1fr; }
  .site-footer { padding: 28px 22px 44px; }
  .site-footer-cols { grid-template-columns: 1fr; gap: 32px; }
}

@media (min-width: 601px) and (max-width: 900px) {
  .site-footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}
