.articles-page { color: #1a2b23; background: #f7faf8; }
.articles-page main { min-height: 65vh; }
.articles-page .listing-page-heading { padding-top: 8px; }
.articles-container { width: min(calc(100% - 32px), 1240px); margin-inline: auto; padding-bottom: 84px; }
.article-detail-container { padding-bottom: 84px; }
.articles-breadcrumbs { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; padding: 24px 0; color: #718077; font-size: .76rem; flex-wrap: wrap; }
.articles-breadcrumbs a { color: #52655b; }
.articles-breadcrumbs a:hover { color: #2d6a4f; }
.articles-breadcrumbs span[aria-current="page"] { max-width: min(70vw, 560px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.articles-archive-header { max-width: 850px; padding: 32px 0 36px; }
.articles-archive-header .eyebrow { margin-bottom: 10px; color: #2d6a4f; }
.articles-archive-header h1,
.article-detail-header h1 { margin: 0; color: #173f30; font-family: Georgia, "Times New Roman", serif; letter-spacing: -.035em; line-height: 1.08; }
.articles-archive-header h1 { font-size: clamp(2.25rem, 5vw, 4.35rem); }
.articles-archive-header > p:last-child { max-width: 760px; margin: 18px 0 0; color: #5d6e65; font-size: 1.04rem; line-height: 1.75; }
.articles-archive-shell { padding: 4px 0 84px; }
.articles-archive-panel { padding: 30px 40px 42px; background: #fff; border: 1px solid #dce6e0; border-radius: 16px; box-shadow: 0 8px 26px rgba(24, 57, 44, .06); }
.articles-archive-intro { margin: 0 0 24px; padding-bottom: 24px; color: #53675c; border-bottom: 1px solid #dfe8e3; font-size: .94rem; line-height: 1.7; }
.articles-archive-intro-part { display: block; }
.articles-archive-panel .article-list--compact { margin-top: 0; }
.articles-title-row { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.articles-title-row .public-page-title { width: 100%; min-width: 0; padding-left: 25px; }
.articles-page-heading .articles-page-breadcrumbs { align-self: flex-end; margin-right: 25px; padding: 0; justify-content: flex-end; }
.articles-category-shell { width: 100%; padding: 0 0 12px; }
.article-category-tiles { display: grid; width: min(100%, 1040px); margin-inline: auto; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.article-category-tile { display: grid; min-width: 0; min-height: 88px; padding: 11px 9px; align-content: center; justify-items: center; grid-template-rows: 42px auto; gap: 7px; color: #173f30; background: #fff; border: 1px solid #dce6e0; border-radius: 14px; box-shadow: 0 8px 22px rgba(24, 57, 44, .09); font-family: "Segoe UI", Arial, sans-serif; font-size: .8rem; font-weight: 600; letter-spacing: -.005em; line-height: 1.3; text-align: center; text-rendering: optimizeLegibility; transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.article-category-tile:hover { color: #24553f; background: #f6faf8; border-color: #c9dcd1; box-shadow: 0 10px 26px rgba(24, 57, 44, .13); }
.article-category-tile[aria-current="page"] { color: #fff; background: #23704e; border-color: #23704e; box-shadow: 0 10px 24px rgba(35, 112, 78, .24); }
.article-category-tile img { display: block; width: 32px; height: 32px; align-self: center; object-fit: contain; }
.article-category-tile span { display: flex; min-height: 1.3em; align-items: center; justify-content: center; }
.article-category-tile .article-category-image--gamta-ir-lankytinos-vietos { width: 42px; height: 42px; }
.article-category-tile[aria-current="page"] img { filter: brightness(0) invert(1); }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.article-card { position: relative; min-width: 0; overflow: hidden; background: #fff; border: 1px solid #dce7e1; border-radius: 17px; box-shadow: 0 12px 32px rgba(23, 63, 48, .06); transition: box-shadow 180ms ease; }
.article-card:hover { box-shadow: 0 18px 42px rgba(23, 63, 48, .11); }
.article-card-image { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #dfe9e3; }
.article-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.article-card:hover .article-card-image img { transform: scale(1.025); }
.article-card-copy { display: flex; min-height: 250px; padding: 22px; flex-direction: column; }
.article-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #7a887f; font-size: .68rem; font-weight: 700; }
.article-card-meta a { color: #2d6a4f; text-transform: uppercase; letter-spacing: .06em; }
.article-card h3 { margin: 15px 0 10px; color: #173f30; font-family: Georgia, "Times New Roman", serif; font-size: 1.32rem; line-height: 1.25; }
.article-card h3 a { color: inherit; }
.article-card-main-link::after { position: absolute; inset: 0; z-index: 2; cursor: pointer; content: ""; }
.article-card:focus-within { outline: 3px solid rgba(45, 106, 79, .28); outline-offset: 3px; }
.article-card-meta a { position: relative; z-index: 3; }
.article-card-copy > p { margin: 0 0 20px; color: #607067; font-size: .87rem; line-height: 1.65; }
.articles-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 42px; }
.articles-pagination a { display: grid; min-width: 42px; min-height: 42px; padding: 8px; color: #2d6a4f; background: #fff; border: 1px solid #cedfd5; border-radius: 9px; font-weight: 800; place-items: center; }
.articles-pagination a[aria-current="page"] { color: #fff; background: #2d6a4f; border-color: #2d6a4f; }
.articles-empty { padding: 64px 28px; text-align: center; background: #fff; border: 1px solid #dce7e1; border-radius: 16px; }
.articles-empty h2 { margin: 0 0 8px; color: #173f30; font-family: Georgia, "Times New Roman", serif; }
.articles-empty p { margin: 0; color: #66756d; }
.article-detail { overflow: hidden; background: #fff; border: 1px solid #dce7e1; border-radius: 20px; box-shadow: 0 16px 48px rgba(23, 63, 48, .07); }
.article-detail-header { max-width: 900px; margin-inline: auto; padding: 56px 70px 42px; text-align: center; }
.article-category { display: inline-flex; padding: 8px 12px; color: #2d6a4f; background: #eaf3ee; border-radius: 999px; font-size: .71rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.article-detail-header h1 { margin-top: 20px; font-size: clamp(2.25rem, 5.4vw, 4.75rem); }
.article-lead { max-width: 790px; margin: 22px auto 0; color: #52665c; font-size: clamp(1.03rem, 1.8vw, 1.22rem); line-height: 1.75; }
.article-byline { display: flex; justify-content: center; gap: 10px 20px; margin-top: 25px; color: #78857e; font-size: .75rem; flex-wrap: wrap; }
.article-byline span:first-child { color: #365b48; font-weight: 800; }
.article-figure,
.article-hero-figure { width: min(48%, 720px); margin-block: 8px 26px; }
.article-figure--right { float: right; margin-left: 36px; }
.article-figure--left { float: left; margin-right: 36px; }
.article-body > .article-hero-figure { margin-top: 0; }
.article-figure img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border-radius: 14px; }
.article-figure-open { display: block; width: 100%; padding: 0; overflow: hidden; aspect-ratio: 4 / 3; background: #fff; border: 1px solid #cedcd4; border-radius: 14px; box-shadow: 0 12px 28px rgba(20, 48, 35, .2); cursor: zoom-in; transition: border-color 160ms ease, box-shadow 160ms ease; }
.article-figure-open:hover { border-color: #aec8ba; box-shadow: 0 15px 34px rgba(20, 48, 35, .25); }
.article-figure-open:focus-visible { outline: 3px solid rgba(45, 106, 79, .3); outline-offset: 3px; }
.article-figure figcaption { display: block; overflow-x: auto; padding: 4px 4px 0; color: #68776f; font-size: .66rem; line-height: 1.35; text-align: right; white-space: nowrap; scrollbar-width: thin; }
.article-hero-figure figcaption { padding-inline: 4px; }
.article-figure figcaption small { color: #87928c; font-size: .61rem; }
.article-figure figcaption a { color: #61756a; text-decoration: underline; text-underline-offset: 2px; }
.article-detail-breadcrumbs { display: flex; justify-content: flex-end; padding: 0 25px 12px; }
.article-detail-breadcrumbs .listing-breadcrumbs { width: 100%; margin: 0; justify-content: flex-end; color: #718077; }
.article-detail-breadcrumbs .listing-breadcrumbs a { color: #52655b; }
.article-detail-breadcrumbs .listing-breadcrumbs a:hover { color: #2d6a4f; }
.article-detail-breadcrumbs .listing-breadcrumb-current { color: #30483c; }
.article-detail-breadcrumbs .listing-breadcrumb-current { max-width: min(42vw, 620px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-body { display: flow-root; width: 100%; max-width: none; margin: 0; padding: 26px 48px 36px; color: #34483e; font-size: 1.02rem; line-height: 1.9; }
.article-body h2,
.article-body h3 { color: #173f30; font-family: Georgia, "Times New Roman", serif; letter-spacing: -.025em; line-height: 1.2; }
.article-body h2 { margin: 1.5em 0 .5em; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.article-body h3 { margin: 1.8em 0 .6em; font-size: 1.4rem; }
.article-body h2,
.article-body h3 { clear: both; }
.article-body > h2:first-of-type { margin-top: 0; }
.article-body .article-heading--with-image { width: 100%; clear: both; }
.article-body p { margin: 0 0 1.35em; }
.article-body p a,
.article-body li a { color: #23704e; font-weight: 650; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body p a:hover,
.article-body li a:hover { color: #174f37; }
.article-body > :last-child { margin-bottom: 0; }
.article-body ul { margin: 0 0 1.6em; padding-left: 1.4em; }
.article-body li + li { margin-top: .2em; }
.article-body .article-figure { width: min(48%, 720px); }
.article-callout { margin: 16px 0; padding: 10px 26px; clear: both; background: #edf5f1; border-left: 4px solid #2d6a4f; border-radius: 0 12px 12px 0; }
.article-callout strong { display: block; margin-bottom: 4px; color: #234e3b; }
.article-callout p { margin: 0; color: #4d6257; font-size: .93rem; }
.article-sources { width: 100%; max-width: none; margin: 0; padding: 20px 48px 52px; border-top: 1px solid #e0e9e4; }
.article-sources h2 { margin: 0 0 14px; color: #264d3b; font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
.article-sources ul { margin: 0; padding-left: 1.2rem; }
.article-sources li + li { margin-top: 7px; }
.article-sources a { color: #2d6a4f; text-decoration: underline; text-underline-offset: 3px; }
.article-sources > p { margin: 15px 0 0; color: #7b8881; font-size: .7rem; }
.related-articles { padding-top: 72px; }
.related-articles .section-heading { margin-bottom: 28px; }
.article-list--compact { grid-template-columns: 1fr; gap: 10px; margin-top: 30px; }
.article-list--compact .article-card { display: grid; height: 160px; min-height: 160px; grid-template-columns: minmax(200px, 270px) minmax(0, 1fr); align-items: stretch; border: 2px solid rgba(45, 106, 79, .28); outline: 0; }
.article-list--compact .article-card:focus-within { border-color: rgba(45, 106, 79, .5); outline: 0; }
.article-list--compact .article-card:hover { transform: none; box-shadow: 0 12px 32px rgba(23, 63, 48, .06); }
.article-list--compact .article-card:hover .article-card-image img { transform: none; }
.article-list--compact .article-card-image { height: 100%; min-height: 0; aspect-ratio: auto; }
.article-list--compact .article-card-copy { position: relative; height: 100%; min-height: 0; padding: 35px 24px 8px; overflow: visible; justify-content: flex-start; }
.article-list--compact .article-card-meta { position: absolute; top: 10px; right: 24px; left: 24px; }
.article-list--compact .article-card h3 { display: -webkit-box; overflow: hidden; margin: 8px 0 6px; font-size: clamp(1.2rem, 2.1vw, 1.6rem); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.article-list--compact .article-card-copy > p { display: -webkit-box; overflow: hidden; margin: 0; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.homepage-articles-action { display: flex; justify-content: center; margin-top: 28px; }

@media (max-width: 960px) {
    .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-detail-header { padding-inline: 42px; }
    .article-list--compact { grid-template-columns: 1fr; }
    .article-list--compact .article-card { grid-template-columns: 220px minmax(0, 1fr); }
    .article-category-tiles { display: flex; overflow-x: auto; scrollbar-width: thin; }
    .article-category-tile { flex: 0 0 132px; }
}

@media (max-width: 680px) {
    .articles-container { width: min(calc(100% - 30px), 1240px); padding-bottom: 54px; }
    .article-detail-container { padding-bottom: 54px; }
    .articles-category-shell { width: 100%; padding-bottom: 20px; }
    .article-category-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 2px 0 8px; overflow: visible; }
    .article-category-tile { width: auto; min-height: 78px; padding: 9px 7px; flex: none; font-size: .75rem; }
    .article-category-tile img { width: 28px; height: 28px; }
    .article-category-tile .article-category-image--gamta-ir-lankytinos-vietos { width: 38px; height: 38px; }
    .articles-archive-shell { padding: 4px 0 54px; }
    .articles-archive-panel { padding: 22px 18px 28px; border-radius: 14px; }
    .articles-archive-intro { margin-bottom: 18px; padding-bottom: 18px; font-size: .88rem; }
    .articles-archive-intro-part { display: inline; }
    .articles-breadcrumbs { padding-block: 16px; }
    .articles-title-row { gap: 10px; }
    .articles-title-row .public-page-title { padding-left: 12px; }
    .articles-page-heading .articles-page-breadcrumbs { margin-right: 12px; padding: 0; }
    .articles-archive-header { padding: 24px 0 28px; }
    .article-grid { grid-template-columns: 1fr; }
    .article-card-copy { min-height: 0; }
    .article-detail { border-radius: 14px; }
    .article-detail-header { padding: 36px 20px 30px; }
    .article-detail-header h1 { font-size: clamp(2rem, 10vw, 3rem); }
    .article-hero-figure figcaption { padding-inline: 4px; }
    .article-detail-breadcrumbs { padding: 0 12px 10px; }
    .article-detail-breadcrumbs .listing-breadcrumb-current { max-width: 52vw; }
    .article-body { padding: 20px 20px 30px; font-size: .96rem; line-height: 1.78; }
    .article-body .article-figure { width: 100%; margin: 24px 0; float: none; }
    .article-body .article-figure img { border-radius: 14px; }
    .article-body .article-figure figcaption { padding-inline: 4px; }
    .article-sources { padding: 20px 20px 40px; }
    .related-articles { padding-top: 50px; }
    .article-list--compact .article-card { display: grid; height: 140px; min-height: 140px; grid-template-columns: clamp(96px, 32vw, 124px) minmax(0, 1fr); }
    .article-list--compact .article-card-image { height: 100%; min-height: 0; aspect-ratio: auto; }
    .article-list--compact .article-card-copy { height: 100%; min-height: 0; padding: 31px 12px 7px; }
    .article-list--compact .article-card-meta { top: 8px; right: 12px; left: 12px; gap: 6px; font-size: .58rem; }
    .article-list--compact .article-card-meta time { display: none; }
    .article-list--compact .article-card h3 { margin: 4px 0; font-size: 1.02rem; line-height: 1.18; }
    .article-list--compact .article-card-copy > p { font-size: .76rem; line-height: 1.35; }
}
