/* --- BAZINIAI NUSTATYMAI (Globalūs) --- */
html {
    font-size: 14px;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    min-height: 100vh;
    position: relative;
    overflow-y: scroll;
    background-color: #ffffff;
    color: #1f2937;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* 3. Stiliai, skirti formos elementams (Kad jie paveldėtų šriftą iš body) */
input, select, textarea, button {
    font-family: inherit;
    color: inherit;
}


/* #region HEADER */

/* --- SITE HEADER (Mobiliesiems įrenginiams) --- */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #f3f4f6;
    width: 100%;
}

.header-container {
    position: relative; /* anchors the ❤️/👤 dock to this container's own bottom-right corner */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    margin: 0 auto;
    width: 100%;
}

.logo-link {
    display: inline-block;
    line-height: 0;
}

.site-logo {
    height: clamp(3rem, 8vw, 4.2rem);
    width: auto;
    display: block;
}

/* --- PASKYROS MENIU (Header) --- */
.header-account {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.header-account-trigger {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0.25rem;
    font: inherit;
    color: #1f2937;
    text-decoration: none;
}

.header-account-initial {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #111827;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.header-account-name {
    display: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.header-account-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    z-index: 200; /* above the sticky main nav bar (.ga-nav-wrapper: 100, .ga-nav-sub: 105) so it doesn't render underneath it */
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.header-account:hover .header-account-menu,
.header-account:focus-within .header-account-menu,
.header-account.ga-touch-open .header-account-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-account-link {
    display: block;
    padding: 0.5rem 0.6rem;
    border-radius: 6px;
    color: #1f2937;
    text-decoration: none;
    font-size: 0.9rem;
    text-align: left;
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    font: inherit;
}

    .header-account-link:hover {
        background: #f3f4f6;
    }

.header-account-link--button {
    color: #dc2626;
}

.header-account-logout-form {
    margin: 0;
}

.header-account-guest {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.header-account-guest-icon-link {
    display: flex;
    color: #1f2937;
}

    .header-account-guest-icon-link:hover {
        color: #111827;
    }

.header-account-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.header-account-guest-text {
    display: none;
    flex-direction: column;
}

.header-account-guest-text__top,
.header-account-guest-text__bottom {
    padding: 2px 0;
    text-decoration: none;
}

.header-account-guest-text__top {
    font-size: 0.72rem;
    font-weight: 500;
    color: #6b7280;
}

    .header-account-guest-text__top:hover {
        color: #374151;
    }

.header-account-guest-text__bottom {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
}

    .header-account-guest-text__bottom:hover {
        color: #111827;
    }

/* --- RESPONSIVE MEDIA QUERIES (Didesniems ekranams) --- */

/* Planšetės (Tablets - nuo 768px) */
@media (min-width: 768px) {
    html {
        font-size: 15px;
    }

    .header-container {
        padding: 1rem 1.5rem;
    }

    .site-logo {
        height: 4.5rem;
    }

    .header-account-name {
        display: inline;
    }

    .header-account-guest-text {
        display: flex;
    }
}

/* Kompiuteriai (Desktop - nuo 1024px) */
@media (min-width: 1024px) {
    html {
        font-size: 16px;
    }

    .header-container {
        max-width: 1280px; /* Apribojamas maksimalus plotis pagal jūsų body */
        padding: 1.25rem 2rem;
    }

    .site-logo {
        height: 7rem;
    }
}

/* #endregion */

/* --- ADMIN: Pending notification card styles --- */
.admin-publication-card {
    display: block;
    box-sizing: border-box;
    height: 100%;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

/* compact sizes for notification cards only */
.admin-compact .pub-name {
    font-size: 0.95rem; /* reduced */
    font-weight: 700;
}

.admin-compact .pub-text {
    font-size: 0.85rem; /* reduced */
    color: #374151;
}

.publication-action-group {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 0.5rem;
    z-index: 5;
}

    .publication-action-group form {
        margin: 0;
    }

/* Sąrašų (Nebegaliojantys/Besibaigiantys/Visi/Laukiantys) kortelių aptvaras ir veiksmų mygtukai */
.lists-container .admin-publication-card-wrap {
    position: relative;
    min-height: 5.5rem;
}

    .lists-container .admin-publication-card-wrap > .publication-action-group .publication-disable-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 6px;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        box-shadow: 0 1px 2px rgba(0,0,0,0.06);
        cursor: pointer;
        font-size: 1.1rem;
        line-height: 1;
        padding: 0;
    }

    .lists-container .admin-publication-card-wrap > .publication-action-group .publication-disable-button--delete {
        border-color: #dc2626;
    }

    .lists-container .admin-publication-card-wrap > .publication-action-group .publication-disable-button--confirm {
        border-color: #16a34a;
    }

    /* Normalize anchor/card padding so content matches pending cards (1rem) */
    .lists-container .admin-publication-card-wrap > a.admin-publication-card {
        padding: 1rem;
        padding-right: 1rem; /* explicit to avoid previous larger right padding */
    }

/* Admin sąrašų (Nebegaliojantys/Besibaigiantys/Visi/Laukiantys) korteliu tinklelis ir turinys.
   Naudojama 3+ admin puslapiuose, todėl bendra čia, o ne atskirame scoped faile. */
.admin-publication-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.admin-publication-card--list {
    padding: 1rem 3rem 1rem 1rem;
    border: 1px solid #e5e7eb;
    transition: background .15s, border-color .15s, box-shadow .15s;
}

@media (hover: hover) {
    .admin-publication-card--list:hover {
        background: #f8fafc;
        border-color: #94a3b8;
        box-shadow: 0 4px 10px rgba(0, 0, 0, .10);
    }
}

.pub-company {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.pub-name {
    font-size: 0.875rem;
    color: #6b7280;
}

.admin-card-days-left {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: #111;
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
}

/* Būsenų spalvinimas (kortelių kairioji linija) */
.status-missing {
    border-left: 4px solid #f59e0b;
}

.status-enabled {
    border-left: 4px solid #10b981;
}

.status-disabled {
    border-left: 4px solid #ef4444;
}

.status-expiring {
    border-left: 4px solid #6366f1;
}

.status-enabled .pub-company {
    color: #065f46;
}

.status-disabled .pub-company {
    color: #991b1b;
}

/* Ensure admin pages use the same centered max-width as the main admin dashboard
   This makes pages that use <section class="admin-container"> (e.g. /admin and
   /admin/visi-leidiniai) aligned and constrained to the same content width. */
.admin-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
}

@media (max-width: 1023px) {
    .admin-container {
        max-width: 100%;
        padding: 2rem;
    }
}


/* make long article text constrained and centered like Privacy page */
.privacy-policy, .privacy-policy article {
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 1.25rem 3rem;
}

    /* defensive: ensure no other global rule forces full-width on .privacy-policy children */
    .privacy-policy > * {
        box-sizing: border-box;
    }

/* #region SHARED FORM SISTEMA (naudojama Admin ir Account puslapiuose) */

.form-page-container {
    max-width: 600px;
}

/* .section-container's own @media(min-width:1024px) override (below) would otherwise widen this
   back to 1280px on desktop, since both classes sit on the same element — this two-class selector
   has higher specificity so it wins at every breakpoint without needing !important. */
.section-container.form-page-container {
    max-width: 600px;
}

.form-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    height: fit-content;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #111827;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 0.75rem;
}

.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #4b5563;
}

.form-control {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 0.95rem;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .form-control:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    }

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem 0;
}

.form-checkbox {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    cursor: pointer;
}

.upload-mode-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.5rem 0;
}

.upload-mode-option {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    font-weight: normal;
}

.btn-submit {
    width: 100%;
    background-color: #2563eb;
    color: white;
    padding: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 0.5rem;
}

    .btn-submit:hover {
        background-color: #1d4ed8;
    }

.form-card__footer-note {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
}

.form-card__footer-note--emphasis {
    color: #111827;
    font-weight: 600;
}

    .form-card__footer-note--emphasis a {
        color: #2563eb;
        text-decoration: underline;
    }

.form-error {
    color: #dc2626;
    font-size: 0.85rem;
    margin: -0.25rem 0 0;
}

.form-success-note {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    border-radius: 8px;
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
}

.form-dev-note {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    border-radius: 8px;
    padding: 0.9rem 1rem;
    font-size: 0.85rem;
    word-break: break-all;
    margin-top: 1rem;
}

/* #endregion */

/* #region NAVIGACIJOS MENIU */

/* --- PAGRINDINIS NAVIGACIJOS RĖMAS (Mobiliesiems įrenginiams) --- */
.ga-nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 100; /* Padidintas z-index, kad submeniu neužlįstų po leidinio kortelėmis */
    background-color: #ffffff;
    width: 100%;
}

.ga-nav-container {
    margin: 0 auto;
    width: 100%;
}

/* Pagrindinis sąrašas telefonuose (Sąrašas lūžta į kelias eilutes, kad tilptų ekrane) */
.ga-nav-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    position: relative;
    border-bottom: 1px solid #f3f4f6;
}

.ga-nav-item {
    padding: 0;
    transition: background-color 0.2s ease;
}

    /* Hover ir JavaScript būsenos telefonams */
    .ga-nav-item:hover,
    .ga-nav-item.open,
    .ga-nav-item.hover-active {
        background-color: #fafafa;
    }

/* Pagrindinė nuoroda (Tekstas + Ikona) */
.ga-nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px; /* Patogus dydis paspaudimui pirštu telefono ekrane */
    color: #1f2937;
    font-family: system-ui, -apple-system, sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

/* Žalios linijos aktyvavimo efektas užvedus pelę */
.ga-nav-item:hover > .ga-nav-link,
.ga-nav-item.open > .ga-nav-link,
.ga-nav-item.hover-active > .ga-nav-link {
    color: #000000;
    border-bottom-color: #009800; /* Jūsų nustatyta žalia spalva */
}

/* Didžiosios pagrindinio meniu ikonos */
.ga-nav-icon-main {
    max-height: 28px;
    max-width: 28px;
    width: auto;
    object-fit: contain;
}

/* --- ATSIDARANTIS SUBMENU (Telefonuose) --- */
.ga-nav-sub {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%; /* Telefone išsitempia per visą plotį */
    background-color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    border-top: none;
    z-index: 105;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* JavaScript klasių aktyvavimas submeniu parodymui */
.ga-nav-item.open > .ga-nav-sub,
.ga-nav-item.hover-active > .ga-nav-sub {
    display: flex !important;
}

/* Submeniu elementas */
.ga-nav-sub-item {
    display: block;
    padding: 0;
    margin: 0;
    min-width: 110px;
    max-width: 180px;
    flex: 0 0 auto;
}

    .ga-nav-sub-item:hover {
        background-color: #f3f4f6;
    }

/* Submeniu nuoroda */
.ga-nav-sub-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 10px;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.15s ease;
}

.ga-nav-sub-item:hover .ga-nav-sub-link {
    color: #111827;
}

/* Mažosios submeniu ikonos */
.ga-nav-icon-sub {
    height: 1.1rem;
    width: auto;
    max-width: 22px;
    object-fit: contain;
    vertical-align: middle;
}

/* Pagalbinė klasė SEO tikslams */
.ga-nav-screen-reader {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- RESPONSIVE MEDIA QUERIES (KOMPIUTERIAMS IR PLANŠETĖMS - NUO 1024px) --- */
@media (min-width: 1024px) {
    .ga-nav-container {
        max-width: 1280px; /* Idealiai sutampa su jūsų puslapio pločiu */
    }

    .ga-nav-list {
        flex-wrap: nowrap; /* Kompiuteryje meniu niekada nelūžta, lieka vienoje linijoje */
        font-size: 16px; /* Grąžinamas jūsų originalus šrifto dydis */
    }

    .ga-nav-link {
        padding: 4px 8px; /* Grąžinami jūsų idealiai suderinti maži tarpai */
    }

    .ga-nav-icon-main {
        max-height: 35px; /* Grąžinamas jūsų originalus ikonų dydis kompiuteriui */
        max-width: 35px;
    }

    .ga-nav-sub {
        width: auto; /* Kompiuteryje submeniu nebėra per visą ekraną, o prisitaiko prie turinio */
    }
}

/* #endregion */

/* #region BREADCRUMBS */

/* ==========================================================================
   BENDRAS PUSLAPIO KELIO RODYMAS (BREADCRUMBS) - Sulygiuotas su meniu
   ========================================================================== */

/* Konteineris, užtikrinantis idealią lygiuotę su navigacijos meniu */
.ga-brd-nav {
    width: 100%;
    margin: 0 auto;
    max-width: 1280px; /* Sutampa su jūsų bendru puslapio pločiu */
    padding: 1rem 1rem 0 1rem; /* Mobiliesiems: atitinka meniu 1rem tarpą */
}

/* Pagrindinis sąrašas */
.ga-brd-list {
    display: flex;
    flex-wrap: nowrap; /* liekame vienoje eilutėje — ilgas paskutinis žingsnis apkarpomas, žr. .ga-brd-active */
    list-style: none;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

/* Atskiras žingsnis */
.ga-brd-item {
    display: flex;
    align-items: center;
    color: #6c757d;
    flex-shrink: 0; /* Pradžia/Kategorija/Įmonė nesitraukia — vietos atsisako tik paskutinis (aktyvus) žingsnis */
}

    /* Elegantiškas skirtukas „›“ tarp žingsnių */
    .ga-brd-item + .ga-brd-item::before {
        content: "›";
        padding: 0 10px;
        color: #adb5bd;
        font-size: 18px;
        line-height: 1;
    }

/* Namuko nuorodos rėmelis */
.ga-brd-home {
    display: flex;
    align-items: center;
}

/* GRIEŽTAS IKONOS SUVALDYMAS: Užrakina namuko dydį */
.ga-brd-icon {
    width: 16px !important;
    height: 16px !important;
    display: inline-block;
    vertical-align: middle;
}

/* Nuorodos (Tamsiai pilkos pagal jūsų dizainą) */
.ga-brd-item a {
    color: #212529;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

    /* Hover efektas */
    .ga-brd-item a:hover {
        color: #6c757d;
        text-decoration: underline;
    }

/* Paskutinis puslapis, kuriame dabar esame — gali trumpėti ir apsikarpyti, jei netelpa vienoje eilutėje */
.ga-brd-item.ga-brd-active {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #495057;
    font-weight: 500;
    pointer-events: none;
}

/* --- RESPONSIVE PLANŠETĖMS IR KOMPIUTERIAMS --- */
@media (min-width: 1024px) {
    .ga-brd-nav {
        padding: 1rem 0 0 1rem;
    }
}

/* #endregion */

/* #region INDEX */

/*Index Start*/
/* --- PAGRINDINIS TURINYS (Mobiliesiems įrenginiams pagal nutylėjimą) --- */
.publications-section {
    padding: 1.5rem 0;
    width: 100%;
}

.section-container {
    margin: 0 auto;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    text-align: center;
    margin: 0 0 1.25rem 0;
}

/* Kortelių tinklelis telefonuose: po 2 korteles eilutėje */
.publication-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

/* Archyvo mėnesių sąrašas */
.archive-month-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.archive-month-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    text-decoration: none;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.archive-month-link:hover {
    box-shadow: 0 6px 12px -2px rgba(0, 0, 0, 0.1), 0 3px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.archive-month-name {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

.archive-month-count {
    flex-shrink: 0;
    background: #111827;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
}

/* PAKEISTI: Grąžiname pradinę kortelės stabilią būseną (ji pati nebepasikelia) */
.publication-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

    /* Ši klasė pati savaime neturi turėti hover efekto, todėl ištriname iš jos transform/shadow keitimus */
    .publication-card:hover {
        transform: none;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    }

/* PAKEISTI: Grąžiname nuorodos rėmui sklandų transformacijos paruošimą */
.publication-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 6px;
    text-decoration: none;
    /* Jūsų naudoti sklandūs greitėjimo parametrai */
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Adaptyvus leidinio viršelis */
.publication-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3; /* Užtikrina idealias žurnalo proporcijas (pvz. 200x300) */
    object-fit: cover;
    display: block;
}

/* Juodos informacinės etiketės (Atsirandančios užvedus pelę) */
.card-label {
    position: absolute;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 4px;
    text-align: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Nukerpa per ilgą pavadinimą su daugtaškiu */
}

.card-label-top {
    top: 0;
}

.card-label-bottom {
    bottom: 0;
}

/* --- EFEKTAI UŽVEDUS PELĘ KOMPIUTERYJE --- */
@media (hover: hover) {
    /* 1. Užvedus pelę, padidėja pats leidinio viršelis */
    .publication-link:hover {
        transform: scale(1.05);
    }

        /* 2. Užvedus pelę, atsiranda juodos informacinės etiketės (pavadinimas ir data) */
        .publication-link:hover .card-label {
            opacity: 1;
        }
}

/* --- SEO PAGALBINĖ KLASĖ --- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- RESPONSIVE MEDIA QUERIES (Didesniems ekranams) --- */

/* Planšetės (Tablets - nuo 640px iki 1024px): po 3 arba 4 korteles eilutėje */
@media (min-width: 640px) {
    .publication-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .publication-card {
        padding: 0.75rem;
    }

    .card-label {
        font-size: 0.85rem;
        padding: 8px;
    }
}

@media (min-width: 768px) {
    .publication-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .section-title {
        font-size: 1.4rem;
        text-align: center; /* Didesniame ekrane tekstas gražiau žiūrisi kairėje */
    }
}

/* Kompiuteriai (Desktop - nuo 1024px): Griežtai po 5 korteles eilutėje, kad tilptų visi 5 Take(5) leidiniai */
@media (min-width: 1024px) {
    .section-container {
        max-width: 1280px; /* Sutampa su jūsų bendru body ir headerio pločiu */
    }

    .publication-grid {
        grid-template-columns: repeat(5, 1fr); /* Kadangi imame po 5 leidinius, visi penki atsistos į vieną eilutę */
    }

    .publication-card {
        padding: 1rem;
    }
}

/* --- NAUJA LEIDINIO KORTELĖ (tik Index puslapiui, bandomasis dizainas) --- */
.ga-home-pub-card {
    position: relative;
    min-width: 0;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    padding:0 1rem;

}

.ga-home-pub-actions {
    position: absolute;
    top: -40px;
    right: 0px;
    display: flex;
    gap: 0.35rem;
    z-index: 5;
}

    .ga-home-pub-actions form {
        margin: 0;
    }

.ga-home-pub-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 1rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1;
    padding: 0;
    text-decoration: none;
}

.ga-home-pub-action-btn--edit {
    border-color: #2563eb;
    color: #2563eb;
    background: transparent;
}

.ga-home-pub-action-btn--delete {
    border-color: #dc2626;
    color: #dc2626;
    background: transparent;
}

.ga-home-pub-link {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-decoration: none;
    color: inherit;
}

.ga-home-pub-title-wrap {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    font-weight: 600;
    line-height: 1.5;
    min-height: calc(1.8em * 2);
    color: #111827;
}

/* Kad butu 2 eilutes ir sutrumpintu */
.ga-home-pub-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-clamp: 2;
}

.ga-home-pub-cover-frame {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 6px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.ga-home-pub-ribbon {
    position: absolute;
    top: 32px;
    right: -35px;
    width: 160px;
    padding: 2px;
    background: transparent;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.05em;
    transform: rotate(45deg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    z-index: 2;
    pointer-events: none;
}

.ga-home-pub-ribbon--new {
    background: rgba(220, 38, 38, 0.70);
}

.ga-home-pub-ribbon--expired {
    background: rgba(0, 0, 0, 0.70);
}

.ga-home-pub-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    display: block;
}

.ga-home-pub-dates {
    font-size: 0.75rem;
    color: #6b7280;
    text-align: center;
    padding: 5px 0;
}

@media (hover: hover) {
    .ga-home-pub-link:hover .ga-home-pub-cover-frame {
        transform: scale(1.06);
    }
}

/* #endregion */

/* #region FOOTER */

/* --- SITE FOOTER (Mobiliesiems įrenginiams pagal nutylėjimą) --- */
.site-footer {
    background-color: #ffffff;
    border-top: 1px solid #f3f4f6; /* Švelni linija viršuje atskyrimui nuo turinio */
    width: 100%;
    padding: 1.5rem 1rem;
    margin-top: auto; /* Jei turinio mažai, pastumia footerį į patį ekraną apačią */
}

.footer-container {
    display: flex;
    flex-direction: column; /* Telefonuose viskas rikiuojasi stulpeliu */
    align-items: center;
    gap: 1rem;
    margin: 0 auto;
    width: 100%;
}

/* 4 vienodo pločio stulpelių meniu */
.footer-columns {
    display: grid;
    grid-template-columns: 1fr; /* Telefonuose - po vieną stulpelį */
    gap: 1.5rem;
    width: 100%;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.footer-column-title {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #111827;
}

.footer-link {
    color: #4b5563; /* Švelni pilka spalva */
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-link--button {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.ga-cookie-consent {
    position: fixed;
    z-index: 1000;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    max-width: 680px;
    margin: 0 auto;
    padding: 1.25rem;
    border: 1px solid #d1d5db;
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .2);
    color: #1f2937;
}

    .ga-cookie-consent h2 {
        margin: 0 0 .5rem;
        font-size: 1.2rem;
    }

    .ga-cookie-consent p {
        margin: 0 0 1rem;
        line-height: 1.5;
    }

    .ga-cookie-consent a {
        color: #111827;
        text-decoration: underline;
    }

.ga-cookie-consent__options {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

    .ga-cookie-consent__options[hidden] {
        display: none;
    }

    .ga-cookie-consent__options label {
        display: flex;
        flex-direction: column;
        gap: .15rem;
    }

        .ga-cookie-consent__options label span {
            display: flex;
            align-items: center;
            gap: .4rem;
            font-weight: 600;
        }

        .ga-cookie-consent__options label small {
            color: #6b7280;
            font-size: .8rem;
            margin-left: 1.4rem;
        }

.ga-cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.ga-cookie-button {
    min-height: 2.5rem;
    padding: .5rem .8rem;
    border-radius: .4rem;
    cursor: pointer;
    font: inherit;
}

.ga-cookie-button--primary {
    border: 1px solid #111827;
    background: #111827;
    color: #fff;
}

.ga-cookie-button--secondary {
    border: 1px solid #6b7280;
    background: #fff;
    color: #1f2937;
}

.ga-cookie-button:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.rich-text-help {
    margin: .3rem 0 .5rem;
    color: #4b5563;
    font-size: .85rem;
}

.rich-text-editor {
    min-height: 130px;
    padding: .75rem;
    border: 1px solid #9ca3af;
    border-radius: .35rem;
    background: #fff;
    color: #111827;
    line-height: 1.5;
    width: 100%;
    font-size: 16px;
}

    .rich-text-editor:focus {
        outline: 2px solid #2563eb;
        outline-offset: 1px;
    }

    .rich-text-editor a {
        color: #2563eb;
        text-decoration: underline;
        font-weight: 600;
    }

.company-instructions__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.company-instructions__edit {
    display: inline-block;
    margin-top: 1rem;
    padding: .55rem .8rem;
    border: 1px solid #2563eb;
    border-radius: .35rem;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
}

    .company-instructions__edit:hover {
        background: #1d4ed8;
        color: #fff;
    }

.company-instructions__empty {
    margin: 1rem 0;
    color: #6b7280;
}

.company-instructions__text {
    margin-top: 1rem;
    color: #1f2937;
    line-height: 1.6;
}

    .company-instructions__text a {
        color: #1d4ed8;
        font-weight: 600;
    }

.footer-link:hover {
    color: #111827; /* Patamsėja užvedus pelę */
}

/* Autorystės tekstas */
.footer-copyright {
    color: #6b7280;
    font-size: 0.875rem;
    text-align: center;
    line-height: 1.5;
}

.footer-brand {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
}

    .footer-brand:hover {
        color: #111827;
    }

/* --- RESPONSIVE MEDIA QUERIES (Didesniems ekranams) --- */

/* Planšetės ir kompiuteriai (nuo 768px) */
@media (min-width: 768px) {
    .site-footer {
        padding: 2rem 1.5rem;
    }

    .footer-columns {
        grid-template-columns: repeat(4, 1fr); /* 4 vienodo pločio stulpeliai */
    }

    .footer-column {
        align-items: flex-start;
        text-align: left;
    }

    .footer-copyright {
        text-align: left;
    }
}

/* Dideli ekranai (nuo 1024px) */
@media (min-width: 1024px) {
    .footer-container {
        max-width: 1280px; /* Apribojamas maksimalus plotis, sutampa su jūsų headeriu ir body */
        padding: 0 0.5rem;
    }
}


/* #endregion */

/* #region Pages Universal Class */

/* Checkbox etiketė be numatytojo tarpo, su rankenėlės kursoriumi (naudojama 2+ admin formose) */
.label-inline-reset {
    margin: 0;
    cursor: pointer;
}

.ga-page-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111827;
    text-align: center;
    margin-bottom: 1.5rem;
}

.ga-pages-separator {
    color: #d1d5db;
    margin: 0 6px;
}

/* #endregion */

/* #region PARTNERIŲ / PARDUOTUVIŲ LOGOTIPŲ TINKLELIS (bendra: Pagrindinis ir Mūsų partneriai) */

.ga-partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
}

.ga-partners-card-link {
    text-decoration: none;
    display: block;
}

.ga-partners-card-wrap {
    position: relative;
}

.ga-partners-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2rem;
}

.ga-partners-card {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1.2rem;
    background-color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) {
    .ga-partners-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 15px -3px rgba(173, 216, 230, 0.6);
        border-color: #add8e6;
    }
}

.ga-partners-logo {
    max-height: 35px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.ga-favorite-heart {
    position: absolute;
    top: -5px;
    right: -5px;
    z-index: 2;
    width: 44px;
    height: 44px;
    /* Reset native <button> chrome — without this, some mobile browsers (e.g. Samsung Internet)
       impose their own minimum button padding/height on top of the explicit size above, squashing
       the circle; desktop Chrome (including its DevTools device emulation) doesn't replicate this. */
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #9ca3af;
    border-radius: 50%;
    transition: color 0.15s ease, transform 0.15s ease;
}

    .ga-favorite-heart[data-favorite="true"] {
        color: #dc2626;
    }

@media (hover: hover) {
    .ga-favorite-heart:hover {
        color: #dc2626;
        transform: scale(1.1);
    }
}

.ga-favorite-heart:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.ga-favorite-heart__glyph svg {
    display: block;
    width: 26px;
    height: 26px;
}

.ga-favorite-heart__glyph svg path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

    .ga-favorite-heart[data-favorite="true"] .ga-favorite-heart__glyph svg path {
        fill: currentColor;
        stroke: none;
    }

@media (min-width: 640px) {
    .ga-partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .ga-partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .ga-partners-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* #endregion */

/* Page-specific adjustments for content pages like "Apie mus" */
.privacy-policy h1.ga-page-title {
    /* ensure main page title stays centered using existing utility */
    text-align: center;
}

.privacy-policy h2,
.privacy-policy h3,
.privacy-policy h4,
.privacy-policy h5,
.privacy-policy h6 {
    /* keep secondary headings left-aligned for improved readability */
    text-align: left;
}

.privacy-policy__intro {
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.6;
}

.privacy-policy__updated {
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.privacy-policy__note {
    border-left: 3px dashed #d1d5db;
    padding-left: 0.75rem;
    color: #6b7280;
    font-style: italic;
    font-size: 0.85rem;
}

.privacy-policy dl {
    margin: 0;
}

.privacy-policy dt {
    color: #111827;
    font-weight: 700;
    margin-top: 1rem;
}

.privacy-policy dd {
    margin: 0.25rem 0 0;
    color: #4b5563;
    line-height: 1.6;
}

/* #region About & Contacts pages */

.about-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

@media (max-width: 1023px) {
    .about-benefits {
        grid-template-columns: 1fr;
    }
}

.about-benefit-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1rem 1.1rem;
    background: #ffffff;
}

    .about-benefit-item h4 {
        margin: 0 0 0.4rem;
        color: #111827;
        font-size: 1rem;
    }

    .about-benefit-item p {
        margin: 0;
        color: #4b5563;
        font-size: 0.92rem;
    }

.partner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0 1.25rem;
}

.partner-tag {
    display: inline-block;
    background: #f3f4f6;
    color: #374151;
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.callout-box {
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
}

    .callout-box h3 {
        margin-top: 0;
    }

    .callout-box p {
        color: #4b5563;
    }

.btn-cta {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.6rem 1.4rem;
    background: #111827;
    color: #ffffff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

    .btn-cta:hover {
        filter: brightness(0.95);
        color: #ffffff;
    }

.contact-card {
    max-width: 420px;
    margin: 1.75rem auto 0;
    text-align: center;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
}

    .contact-card .contact-icon {
        font-size: 1.8rem;
        line-height: 1;
        margin-bottom: 0.5rem;
    }

    .contact-card .contact-label {
        color: #6b7280;
        font-size: 0.85rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        margin-bottom: 0.5rem;
    }

    .contact-card .contact-note {
        margin-top: 0.9rem;
        color: #6b7280;
        font-size: 0.88rem;
    }

/* #endregion */

/* #region PLŪDURIUOJANTI ĮSIMINTŲ / PASKYROS DOKAS (apatinis dešinys kampas, visuose puslapiuose) */

.ga-float-dock {
    position: absolute;
    right: 1rem;
    bottom: 0.5rem;
    /* .ga-float-dock is itself a positioned+z-indexed element, so it establishes its own stacking
       context — everything inside it (including the dropdown's own z-index) is painted as one unit
       at THIS z-index relative to siblings like the sticky main nav bar (.ga-nav-wrapper: 100,
       .ga-nav-sub: 105), so this must be higher than those, not just the dropdown's inner z-index. */
    z-index: 150;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

@media (min-width: 768px) {
    .ga-float-dock {
        right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .ga-float-dock {
        right: 2rem;
    }
}

.ga-float-heart {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc2626;
    cursor: pointer;
    transition: transform 0.15s ease;
}

    .ga-float-heart svg {
        display: block;
    }

@media (hover: hover) {
    .ga-float-heart:hover {
        transform: scale(1.06);
    }
}

.ga-float-heart:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* #endregion */

/* #region LEIDINIO KĖLIMO INDIKATORIUS (Admin ir PublicationEdit puslapiai) */

.ga-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.85);
}

.ga-loading-overlay[hidden] {
    display: none;
}

.ga-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e5e7eb;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: ga-spin 0.8s linear infinite;
}

@keyframes ga-spin {
    to {
        transform: rotate(360deg);
    }
}

.ga-loading-overlay__text {
    margin: 0;
    color: #1f2937;
    font-size: 0.95rem;
}

.ga-toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 2100;
    max-width: 360px;
    border-radius: 8px;
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .3s ease, transform .3s ease;
}

.ga-toast--visible {
    opacity: 1;
    transform: translateY(0);
}

.ga-toast--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

/* #endregion */

/* #region PATVIRTINIMO LANGAS (confirm modalas vietoj naršyklės confirm()) */

.ga-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(17, 24, 39, 0.5);
    opacity: 0;
    transition: opacity .2s ease;
}

.ga-confirm-overlay[hidden] {
    display: none;
}

.ga-confirm-overlay--visible {
    opacity: 1;
}

.ga-confirm-modal {
    width: 100%;
    max-width: 360px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .2);
    padding: 1.5rem;
    transform: scale(.95);
    transition: transform .2s ease;
}

.ga-confirm-overlay--visible .ga-confirm-modal {
    transform: scale(1);
}

.ga-confirm-modal__message {
    margin: 0 0 1.25rem;
    color: #1f2937;
    font-size: 0.95rem;
    line-height: 1.4;
}

.ga-confirm-modal__actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.ga-confirm-modal__btn {
    padding: 0.55rem 1.1rem;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color .2s ease;
}

.ga-confirm-modal__btn--yes {
    background: #111827;
    color: #fff;
}

.ga-confirm-modal__btn--yes:hover {
    filter: brightness(0.9);
}

.ga-confirm-modal__btn--no {
    background: #fff;
    color: #374151;
    border-color: #e5e7eb;
}

.ga-confirm-modal__btn--no:hover {
    background: #f9fafb;
}

/* #endregion */

/* #region LEIDINIO PERŽIŪROS PUSLAPIS (Publication, ArchivePublication) */
/* Perkelta iš Publication.cshtml.css (scoped CSS), nes turinį (_PublicationContent partial)
   dabar rodo du puslapiai (Publication ir ArchivePublication), o scoped CSS galiotų tik tam
   puslapiui, kuris turi savo .css failą. */

.ga-pvw-main {
    margin-top: 1.5rem;
    width: 100%;
}

.ga-pvw-error {
    text-align: center;
    color: #4b5563;
    padding: 2rem;
}

/* Konteineris, apribojantis leidinį ir informaciją iki leidinio pločio (1000px) */
.ga-pvw-wrapper {
    font-family: system-ui, -apple-system, sans-serif;
    margin: 0 auto;
    max-width: 1000px;
    width: 100%;
    border-bottom: 1px solid #e5e7eb;
}

.ga-pvw-campaign {
    color: #4b5563;
    font-weight: 500;
}

.ga-pvw-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}

.ga-pvw-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4b5563;
    font-size: 0.95rem;
}

.ga-pvw-icon {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    color: #9ca3af;
    display: inline-block !important;
    vertical-align: middle;
}

.ga-pvw-value {
    color: #111827;
    font-weight: 600;
}

.ga-pvw-right {
    justify-content: flex-end;
}

.ga-pvw-pages-list {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.ga-pvw-page-item {
    width: 100%;
    text-align: center;
}

.ga-pvw-page-image {
    width: 100%;
    height: auto;
    max-width: 1000px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    border-radius: 4px;
}

.ga-pvw-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    display: none;
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
}

    .ga-pvw-to-top:hover {
        background-color: #0056b3;
    }

@media (max-width: 768px) {
    .ga-pvw-meta-row {
        flex-direction: column;
        gap: 8px;
        padding: 0 1rem 0.8rem 1rem;
    }

    .ga-pvw-left, .ga-pvw-right {
        justify-content: center;
        width: 100%;
    }
}

/* "Leidinys pasibaigęs" pranešimo puslapis */
.ga-pvw-expired {
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 2rem;
    text-align: center;
}

.ga-pvw-expired-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
    text-align: left;
}

@media (min-width: 600px) {
    .ga-pvw-expired-grid {
        grid-template-columns: repeat(2, minmax(0, 240px));
        justify-content: space-around;
    }
}

.ga-pvw-expired-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    text-align: center;
}

/* #endregion */

/* #region SEO TEKSTO BLOKAI (Kategorija, Publications, Publication) */

.ga-seo-intro {
    margin: 0.5rem 0 1.5rem;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.6;
}

.ga-seo-full {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.ga-seo-full p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* #endregion */



