/* Naujienų skiltis (ocmod/news) – ramus Crema dizainas, Council 2026-11-28 (.claude/council/sessions/naujienu-dizainas-2026-11-28/).
   Principai: jokio tamsaus bloko ir teksto paveiksluose; produktai baltame fone, kreminį toną duoda multiply; vienas 680 px
   skaitymo stulpelis; kortelės = .product-thumb, blokai = .module-featured. Tik tokenai iš base/stylesheet.css.
   Įkeliamas tik skilties puslapiuose (ControllerInformationNews::CSS_VERSION – cache-bust keičiamas ten, ne header.twig). */

/* ---------------------------------------------------------------- bendra */

.news-preview {
    margin: 0 0 16px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--ink-muted-dark);
}

.news-preview::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--status-warning);
    vertical-align: 1px;
}

#information-news a:focus-visible,
.news-related a:focus-visible,
.news-products a:focus-visible {
    outline: 2px solid var(--ink-900);
    outline-offset: 2px;
}

/* Crema nuoroda su rodykle (memory feedback_crema_minimal_links): be fono, rėmelio ir pabraukimo */
.news-link,
.news-post__body a.news-link {
    font-size: 15px;
    font-weight: 400;
    color: var(--ink-muted-dark);
    text-decoration: none;
    transition: color 0.4s var(--ease-crema);
}

.news-link::after {
    content: " →";
}

.news-link:hover,
.news-link:focus-visible {
    color: var(--ink-900);
    text-decoration: none;
}

/* ---------------------------------------------------------------- sąrašas */

.news-lead {
    margin: -16px 0 24px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-muted-dark);
    text-align: center;
}

.news-tabs {
    margin: 0 0 32px;
    border-bottom: var(--border-width) var(--border-style) var(--border-soft);
}

.news-tabs ul {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.news-tabs ul::-webkit-scrollbar {
    display: none;
}

.news-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin-bottom: -1px;
    border-bottom: 2px solid transparent;
    font-size: 14px;
    font-weight: 400;
    color: var(--ink-muted-dark);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.4s var(--ease-crema), border-color 0.4s var(--ease-crema);
}

.news-tabs a:hover {
    color: var(--ink-900);
}

.news-tabs a[aria-current="page"] {
    border-bottom-color: var(--ink-900);
    font-weight: 600;
    color: var(--ink-900);
}

.news-pagination {
    margin: 8px 0 56px;
    text-align: center;
}

.news-empty {
    margin: 24px 0 56px;
    text-align: center;
    color: var(--ink-muted-dark);
}

/* Kortelė: .product-thumb; tipo ir datos eilutė, antraštė kaip .product-thumb h4, bet tikras h2/h3 */
.news-card .news-card__meta {
    margin: 0;
    padding: 0 16px 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-muted-dark);
    text-align: center;
}

.news-card .news-card__title {
    height: 59px;
    min-height: 59px;
    margin: 0 0 12px;
    padding: 0 16px;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .news-card__title a {
    font-size: 14px;
    font-weight: 600;
}

/* ---------------------------------------------------------------- įrašas */

.news-post {
    max-width: 680px;
    margin: 0 auto;
}

.news-post__header {
    margin: 0 0 32px;
    text-align: center;
}

.news-post__eyebrow {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-muted-dark);
}

#information-news .news-post h1 {
    margin: 0 0 16px;
    font-size: 28px;
    line-height: 1.25;
    text-align: inherit;
}

.news-post__lead {
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink-800);
}

.news-post__date {
    margin: 0;
    font-size: 13px;
    color: var(--ink-muted-dark);
}

/* Produktai baltame fone → kreminis tonas (multiply); šešėlis lieka, baltos ribos nesimato */
.news-post__hero {
    margin: 0 0 40px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--background-light);
    aspect-ratio: 2 / 1;
    isolation: isolate;
}

.news-post__hero img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.news-post__body {
    font-size: var(--font-para);
    line-height: 1.75;
    color: var(--ink-900);
}

.news-post__body p {
    margin: 0 0 16px;
}

.news-post__body h2 {
    margin: 40px 0 12px;
    font-size: 20px;
    line-height: 1.3;
}

.news-post__body h2:first-child {
    margin-top: 0;
}

.news-post__body img {
    max-width: 100%;
    height: auto;
}

.news-post__offer {
    margin: 0 0 40px;
    padding: 24px;
    border-radius: 8px;
    background: var(--background-light);
}

.news-post__offer h2 {
    margin: 0 0 12px;
    font-size: 16px;
}

.news-post__offer-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 16px;
    border-radius: 4px;
}

.news-post__offer dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 6px 20px;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.news-post__offer dt {
    font-weight: 600;
}

.news-post__offer dd {
    margin: 0;
}

.news-post__expired {
    margin: 0 0 16px;
    padding: 12px 16px;
    border-radius: 8px;
    background: var(--background-light);
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-800);
}

.news-post__expired a {
    color: var(--ink-900);
    font-weight: 600;
    text-decoration: none;
}

.news-post__cta {
    margin: 24px 0 0;
}

.news-post__gone {
    margin: 0 0 56px;
    text-align: center;
}

.news-unsubscribe {
    margin-bottom: 56px;
}

/* ---------------------------------------------------------------- blokai po straipsniu */

.module-featured.news-products,
.module-featured.news-related {
    margin-top: 32px;
    padding-top: 0;
}

.module-featured.news-products + .module-featured.news-related {
    margin-top: 0;
}

.news-products .container,
.news-related .container {
    padding-top: 32px;
    border-top: var(--border-width) var(--border-style) var(--border-soft);
}

h2.section-header {
    margin: 0 0 16px;
    font-size: 20px;
    line-height: 1.3;
}

.news-products .section-header svg,
.news-related .section-header svg {
    display: none;
}

/* ---------------------------------------------------------------- telefonas */

@media (max-width: 767px) {
    .news-post__header {
        text-align: left;
    }

    #information-news .news-post h1 {
        font-size: 24px;
    }

    .news-post__lead {
        font-size: 16px;
    }

    .news-post__hero {
        aspect-ratio: 3 / 2;
        margin-bottom: 32px;
    }

    .news-tabs ul {
        justify-content: flex-start;
        gap: 20px;
    }

    .news-post__offer dl {
        grid-template-columns: 1fr;
    }

    .news-post__offer dd {
        margin-bottom: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-card .image img,
    .news-products .product-thumb .image img,
    .news-card:hover .image img,
    .news-products .product-thumb:hover .image img {
        transform: none;
        transition: none;
    }
}
