/* poilsisirmes.lt — Poilsis ir mes, KARTU komandos tinklaraštis poroms.
   Fonts are served from this site (/fonts/, SIL Open Font License, see
   /fonts/OFL-*.txt), never from Google: Google Fonts' latin + latin-ext
   subsets, which cover Lithuanian. */
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/lora-latin-ext.woff2) format('woff2'); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/lora-latin.woff2) format('woff2'); 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: 'Lora'; font-style: italic; font-weight: 400 700; font-display: swap; src: url(/fonts/lora-italic-latin-ext.woff2) format('woff2'); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lora'; font-style: italic; font-weight: 400 700; font-display: swap; src: url(/fonts/lora-italic-latin.woff2) format('woff2'); 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: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/figtree-latin-ext.woff2) format('woff2'); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/figtree-latin.woff2) format('woff2'); 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; }

:root {
  --paper: #F6F1EA;
  --surface: #FFFCF8;
  --ink: #22261F;
  --ink-2: #4A5146;
  --muted: #6E7469;
  --line: #E5DCCF;
  --green: #2F5B2B;
  --green-deep: #22441F;
  --green-soft: #E6EDDD;
  /* KARTU app colours: mauve for actions, coral only as an accent */
  --mauve: #8F627D;
  --mauve-deep: #6B445C;
  --mauve-soft: #F2E9EE;
  --coral: #FF9B71;
  --coral-text: #AD4C2A;
  --coral-soft: #FFEDE3;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(60, 40, 30, .06), 0 8px 24px rgba(60, 40, 30, .07);
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-deep); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; margin: 0; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { text-decoration: none; color: var(--green); font-family: var(--serif); line-height: .82; font-size: 27px; font-weight: 600; letter-spacing: -.02em; display: inline-block; }
.brand span { display: block; }
.brand em { font-style: italic; font-weight: 500; padding-left: .35em; }
.brand:hover { color: var(--green-deep); }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 16px; }
.nav a:hover, .nav a[aria-current] { color: var(--green); }
.nav .sm { display: none; }
@media (max-width: 760px) {
  .site-header .wrap { flex-wrap: wrap; gap: 6px 16px; padding: 12px 0 0; }
  .nav { width: 100%; margin: 0; gap: 18px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: none; }
  .nav a { white-space: nowrap; font-size: 15px; }
  .nav .lg { display: none; }
  .nav .sm { display: inline; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--radius); font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; }
.btn-primary { background: var(--mauve); color: #fff; }
.btn-primary:hover { background: var(--mauve-deep); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-deep); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: 14px; background: #1E1A1D; color: #fff; text-decoration: none; line-height: 1.1; }
.store:hover { background: #000; color: #fff; }
.store svg { width: 22px; height: 22px; flex: none; fill: currentColor; }
.store small { display: block; font-size: 11px; opacity: .8; font-weight: 500; }
.store b { display: block; font-size: 17px; font-weight: 600; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }

/* Labels */
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-text); }
.tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--green); background: var(--green-soft); padding: 3px 10px; border-radius: 999px; text-decoration: none; }
a.tag:hover { background: #d9e4cd; }
.meta { color: var(--muted); font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }

/* Home hero */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 58px); margin: 12px 0 18px; }
.hero h1 em { color: var(--green); }
.hero p.lead { font-size: 19px; color: var(--ink-2); max-width: 34em; margin: 0 0 26px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .hero { padding-top: 32px; } .hero .wrap { grid-template-columns: 1fr; gap: 32px; } }

/* Post cards */
.section { padding: 40px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(26px, 3vw, 32px); }
.section-head a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.card .pic { aspect-ratio: 16 / 10; background: var(--green-soft); overflow: hidden; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; }
.card .pic.plain { display: flex; align-items: flex-end; padding: 18px 20px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--green); background: linear-gradient(135deg, var(--green-soft), #F3EBDD); }
.card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 21px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ''; position: absolute; inset: 0; }
.card:hover h3 a { color: var(--green); }
.card p { margin: 0; color: var(--ink-2); font-size: 16px; }
.card .meta { margin-top: auto; font-size: 14px; }
.card .tag { align-self: flex-start; }
.card.feature .pic { aspect-ratio: 4 / 3; }
.card.feature h3 { font-size: 27px; }

/* Topics */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .topics { grid-template-columns: 1fr; } }
.topic { background: var(--surface); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); display: block; }
.topic b { font-family: var(--serif); font-size: 22px; font-weight: 600; display: block; margin-bottom: 4px; }
.topic span { color: var(--muted); font-size: 15px; }
.topic:hover b { color: var(--green); }

/* Article */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 28px; }
.crumbs a { color: var(--muted); }
.post-head { padding: 18px 0 8px; }
.post-head h1 { font-size: clamp(32px, 4.6vw, 48px); margin: 14px 0 16px; }
.post-hero { margin: 22px auto 6px; width: min(960px, 100% - 32px); }
.post-hero img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-hero figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.prose { font-size: 18.5px; line-height: 1.72; padding: 18px 0 8px; }
.prose > p:first-child { font-size: 21px; line-height: 1.6; color: var(--ink); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose h2 { font-size: clamp(25px, 3vw, 31px); margin: 1.9em 0 .6em; }
.prose h3 { font-size: 22px; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--green); }
.prose strong { font-weight: 650; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.2em 0; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--coral); font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--ink-2); }
.prose a { font-weight: 500; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.2em 0; font-size: 16px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); text-align: left; padding: 10px 8px; vertical-align: top; }

/* KARTU card: one per post, under the text */
.kartu { background: linear-gradient(145deg, #F7EFF2 0%, #FBF4EE 65%, var(--coral-soft) 100%); border-radius: 20px; padding: 26px 28px; display: grid; grid-template-columns: 1fr 132px; gap: 26px; align-items: center; margin: 40px 0 8px; }
.kartu .who { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.kartu .who img { width: 32px; height: 32px; border-radius: 8px; }
.kartu .who span { font-size: 14px; font-weight: 600; color: var(--mauve-deep); }
.kartu h2 { font-size: 23px; color: #3E2A37; margin-bottom: 8px; }
.kartu p { margin: 0 0 16px; color: #4D3F48; font-size: 16.5px; }
.kartu .shot img { border-radius: 14px; box-shadow: 0 12px 28px rgba(70, 40, 60, .18); }
.kartu .fine { font-size: 13.5px; color: #6E5F68; margin: 12px 0 0; }
.kartu .fine a { color: inherit; }
@media (max-width: 640px) {
  .kartu { grid-template-columns: 1fr; padding: 22px 20px; }
  .kartu .shot { display: none; }
}

/* App page */
.app-hero { padding: 48px 0 24px; }
.app-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.app-hero h1 { font-size: clamp(36px, 5vw, 56px); margin: 12px 0 16px; }
.app-hero .below-stores { margin-top: 14px; }
.app-hero p.lead { font-size: 19px; color: var(--ink-2); margin: 0 0 24px; }
.app-hero .phones { display: flex; gap: 14px; justify-content: center; }
.app-hero .phones img { width: 48%; border-radius: 18px; box-shadow: var(--shadow); }
.app-hero .phones img:nth-child(2) { transform: translateY(28px); }
@media (max-width: 860px) { .app-hero .wrap { grid-template-columns: 1fr; } }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.feature .shot { background: linear-gradient(160deg, #F7EFF2, var(--coral-soft)); padding: 22px 22px 0; height: 330px; overflow: hidden; }
.feature .shot img { border-radius: 14px 14px 0 0; width: 76%; margin: 0 auto; }
.feature .txt { padding: 20px 22px 24px; }
.feature h3 { font-size: 22px; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 16px; }
.faq details { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 4px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--mauve); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 16px; color: var(--ink-2); }

/* Pages, lists */
.page-head { padding: 40px 0 10px; }
.page-head h1 { font-size: clamp(34px, 4.6vw, 50px); margin: 10px 0 12px; }
.page-head p { color: var(--ink-2); font-size: 19px; margin: 0; max-width: 40em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips a { text-decoration: none; padding: 7px 14px; border-radius: 999px; background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: 15px; box-shadow: var(--shadow); }
.chips a[aria-current] { background: var(--green); color: #fff; }
.about-note { background: var(--surface); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); font-size: 16.5px; }

/* Footer */
.site-footer { margin-top: 64px; background: #1F2A1E; color: #D5DCCF; padding: 48px 0 32px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer .brand { color: #EAF0E4; font-size: 30px; }
.site-footer h4 { margin: 0 0 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #9FB096; }
.site-footer a { color: #EAF0E4; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer p { margin: 12px 0 0; max-width: 30em; }
.site-footer .legal { border-top: 1px solid #34422F; margin-top: 32px; padding-top: 18px; color: #9FB096; font-size: 13.5px; }
