/* ==========================================================
   Pagrindinis puslapis – A variantas („Naujienų centras“)
   Prefiksas „html body#top .sg-hp“ – stipresnis už temos ir
   ankstesnes nuorodų taisykles (.avia_textblock a).
   ========================================================== */

html body#top .sg-hp {
    --sg-primary: #587172;
    --sg-primary-dark: #465a5b;
    --sg-soft: #e6eded;
    --sg-accent: #f2c230;
    --sg-text: #222222;
    --sg-muted: #555555;
    --sg-surface: #f3f5f5;
    --sg-border: #dde4e4;
    --sg-dark: #2f3b3c;
    font-family: inherit;
    color: var(--sg-text);
    margin: 0 0 56px;
}
html body#top .sg-hp ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
html body#top .sg-hp li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
html body#top .sg-hp a {
    color: inherit !important;
}
/* tik pabraukimo panaikinimas – stipresnis už ankstesnę .avia_textblock taisyklę */
html body#top .sg-hp a,
html body#top .avia_textblock .sg-hp a,
html body#top .avia_textblock .sg-hp a:not(.avia-button) {
    text-decoration: none !important;
}
html body#top .avia_textblock .sg-hp a.sg-more-link:hover,
html body#top .avia_textblock .sg-hp a.sg-more-link:not(.avia-button):hover {
    text-decoration: underline !important;
}
html body#top .sg-hp a:focus-visible {
    outline: 3px solid #1a5fb4 !important;
    outline-offset: 3px !important;
}
html body#top .sg-hp .sg-img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    margin: 0 !important;
}
html body#top .sg-hp .sg-img--empty {
    background: #c9d4d4;
}

/* Juostos per visą ekrano plotį (be horizontalaus slinkimo) */
html body#top .sg-band {
    position: relative;
    padding: 44px 0 48px;
}
html body#top .sg-band--light {
    background: var(--sg-surface);
    box-shadow: 0 0 0 100vmax var(--sg-surface);
    clip-path: inset(0 -100vmax);
}
html body#top .sg-band--dark {
    background: var(--sg-dark);
    box-shadow: 0 0 0 100vmax var(--sg-dark);
    clip-path: inset(0 -100vmax);
}

/* Sekcijų antraštės */
html body#top .sg-hp .sg-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 24px;
}
html body#top .sg-hp .sg-section-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 28px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: var(--sg-text) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
html body#top .sg-hp .sg-section-title--sm {
    font-size: 22px !important;
    margin-bottom: 20px !important;
}
html body#top .sg-hp .sg-section-title--light {
    color: #ffffff !important;
}
html body#top .sg-hp a.sg-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 15px;
    color: var(--sg-primary) !important;
}
html body#top .sg-hp a.sg-more-link:hover {
    color: var(--sg-primary-dark) !important;
    text-decoration: underline !important;
}
html body#top .sg-hp .sg-ico {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

/* Kategorija ir data */
html body#top .sg-hp .sg-card__cat {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sg-primary);
}
html body#top .sg-hp .sg-card__date {
    display: block;
    font-size: 13px;
    color: var(--sg-muted);
}

/* ---------- Pagrindinė naujiena ---------- */
html body#top .sg-hero {
    margin-top: 8px;
}
html body#top .sg-hero__grid {
    display: grid;
    grid-template-columns: 1.85fr 1fr;
    gap: 28px;
}
html body#top .sg-hero__main {
    margin: 0;
}
html body#top .sg-hero a.sg-hero__link {
    position: relative;
    display: block;
    height: 100%;
    min-height: 440px;
    border-radius: 16px;
    overflow: hidden;
    background: #c9d4d4;
}
html body#top .sg-hero__link .sg-img {
    position: absolute;
    inset: 0;
    transition: transform .4s ease;
}
html body#top .sg-hero__link:hover .sg-img {
    transform: scale(1.03);
}
html body#top .sg-hero__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 120px 40px 36px;
    background: linear-gradient(to bottom, rgba(26, 33, 33, 0), rgba(26, 33, 33, .88) 55%);
    color: #ffffff;
}
html body#top .sg-hp .sg-chip {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--sg-accent);
    color: #222222;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
html body#top .sg-hp .sg-hero__title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 30px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-transform: none !important;
}
html body#top .sg-hero__overlay time {
    font-size: 14px;
    color: #ffffff;
}
html body#top .sg-hero__side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}
html body#top .sg-mini {
    margin: 0;
}
html body#top .sg-hp a.sg-mini__link {
    display: flex;
    gap: 16px;
    height: 100%;
    padding: 12px;
    border: 1px solid var(--sg-border);
    border-radius: 12px;
    background: #ffffff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
html body#top .sg-hp a.sg-mini__link:hover {
    border-color: var(--sg-primary);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}
html body#top .sg-mini__media {
    flex: 0 0 38%;
    border-radius: 8px;
    overflow: hidden;
    min-height: 150px;
}
html body#top .sg-mini__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}
html body#top .sg-hp .sg-mini__title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    color: var(--sg-text) !important;
    text-transform: none !important;
}

/* ---------- Greitai rasite ---------- */
html body#top .sg-hp .sg-quick__list {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
}
html body#top .sg-hp a.sg-quick__item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    padding: 22px 20px;
    border: 1px solid var(--sg-border);
    border-radius: 12px;
    background: #ffffff;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
html body#top .sg-hp a.sg-quick__item:hover {
    border-color: var(--sg-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}
html body#top .sg-quick__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--sg-soft);
    color: var(--sg-primary);
}
html body#top .sg-quick__label {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--sg-text);
}

/* ---------- Naujienų kortelės ---------- */
html body#top .sg-hp .sg-news__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}
html body#top .sg-hp a.sg-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--sg-border);
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
html body#top .sg-hp a.sg-card__link:hover {
    border-color: var(--sg-primary);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .07);
}
html body#top .sg-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #c9d4d4;
}
html body#top .sg-card__link:hover .sg-img {
    transform: scale(1.03);
}
html body#top .sg-card__media .sg-img {
    transition: transform .4s ease;
}
html body#top .sg-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 22px 22px;
}
html body#top .sg-hp .sg-card__title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    color: var(--sg-text) !important;
    text-transform: none !important;
}
html body#top .sg-hp .sg-card__link:hover .sg-card__title {
    color: var(--sg-primary-dark) !important;
}

/* Mygtukas */
html body#top .sg-hp .sg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
    padding: 12px 22px;
    border-radius: 8px;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.3;
}
html body#top .sg-hp .sg-btn--outline {
    background: #ffffff;
    color: var(--sg-primary);
    border: 1.5px solid var(--sg-primary);
}
html body#top .sg-hp .sg-btn--outline:hover {
    background: var(--sg-primary);
    color: #ffffff;
}
html body#top .sg-hp .sg-btn:focus-visible {
    outline: 3px solid #1a5fb4;
    outline-offset: 3px;
}
html body#top .sg-hp .sg-btn[aria-busy="true"] {
    opacity: .7;
    cursor: progress;
}

/* ---------- Sporto šakos ---------- */
html body#top .sg-sports {
    padding: 56px 0 60px;
}
html body#top .sg-sports:focus {
    outline: none;
}
html body#top .sg-hp .sg-sports__lead {
    max-width: 760px;
    margin: 14px 0 24px !important;
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff !important;
}
html body#top .sg-hp .sg-sports__list {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
}
html body#top .sg-hp a.sg-sport {
    display: inline-block;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff !important;
    transition: background .15s ease, color .15s ease;
}
html body#top .sg-hp a.sg-sport:hover,
html body#top .sg-hp a.sg-sport:focus-visible {
    background: #ffffff;
    color: var(--sg-dark) !important;
}
html body#top .sg-hp.sg-band--dark a:focus-visible {
    outline-color: #ffbf47 !important;
}

/* ---------- Prisitaikymas prie ekrano ---------- */
@media only screen and (max-width: 1279px) {
    html body#top .sg-hero__grid {
        grid-template-columns: 1.4fr 1fr;
    }
}
@media only screen and (max-width: 1199px) {
    html body#top .sg-hp .sg-quick__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media only screen and (max-width: 989px) {
    html body#top .sg-hero__grid {
        grid-template-columns: 1fr;
    }
    html body#top .sg-hero a.sg-hero__link {
        min-height: 360px;
    }
    html body#top .sg-hp .sg-news__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}
@media only screen and (max-width: 767px) {
    html body#top .sg-hp {
        margin-bottom: 40px;
    }
    html body#top .sg-hp .sg-section-title {
        font-size: 24px !important;
    }
    html body#top .sg-hero a.sg-hero__link {
        min-height: 300px;
    }
    html body#top .sg-hero__overlay {
        padding: 90px 20px 22px;
    }
    html body#top .sg-hp .sg-hero__title {
        font-size: 22px !important;
    }
    html body#top .sg-hero__side {
        grid-template-rows: none;
    }
    html body#top .sg-mini__media {
        min-height: 110px;
    }
    html body#top .sg-hp .sg-mini__title {
        font-size: 16px !important;
    }
    html body#top .sg-hp .sg-quick__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    html body#top .sg-hp a.sg-quick__item {
        padding: 16px;
    }
    html body#top .sg-hp .sg-news__grid {
        grid-template-columns: 1fr;
    }
    html body#top .sg-hp .sg-section-head {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body#top .sg-hp *,
    html body#top .sg-hp a {
        transition: none !important;
        transform: none !important;
    }
}

/* Tekstas tik ekrano skaitytuvams (veikia ir be enfold-wcag-fixes) */
html body#top .sg-hp .ewf-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* ==========================================================
   „Greitai rasite“ plytelės iš esamo nuorodų sąrašo:
   <ul class="sg-naudinga sg-plyteles"> … </ul>
   Ikona parenkama automatiškai pagal nuorodos adresą.
   ========================================================== */
html body#top ul.sg-naudinga.sg-plyteles {
    display: grid !important;
    /* lygios eilutės: 8 → 1×8 (labai platus ekranas), 2×4 (kompiuteris), 4×2 (telefonas) */
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    list-style: none !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
}
html body#top ul.sg-naudinga.sg-plyteles li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    list-style: none !important;
}
html body#top ul.sg-naudinga.sg-plyteles li a,
html body#top .avia_textblock ul.sg-naudinga.sg-plyteles li a:not(.avia-button) {
    position: relative;
    display: block !important;
    height: 100%;
    min-height: 140px;
    padding: 84px 20px 22px !important;
    border: 1px solid #dde4e4;
    border-radius: 12px;
    background: #ffffff;
    color: #222222 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
/* Ikonos apskritimas */
html body#top ul.sg-naudinga.sg-plyteles li a::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #e6eded;
    background-image: none;
}
/* Pati ikona (kaukė) – uždedama ant apskritimo */
html body#top ul.sg-naudinga.sg-plyteles li a::after {
    content: "";
    position: absolute;
    top: 34px;
    left: 32px;
    width: 24px;
    height: 24px;
    background-color: #587172;
    -webkit-mask: var(--sg-ico) center / contain no-repeat;
    mask: var(--sg-ico) center / contain no-repeat;
}
html body#top ul.sg-naudinga.sg-plyteles li a:hover,
html body#top ul.sg-naudinga.sg-plyteles li a:focus-visible {
    border-color: #587172;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    color: #465a5b !important;
    text-decoration: none !important;
}
html body#top ul.sg-naudinga.sg-plyteles li a:focus-visible {
    outline: 3px solid #1a5fb4 !important;
    outline-offset: 3px !important;
}
html body#top ul.sg-naudinga.sg-plyteles .sg-file {
    font-weight: 400;
    font-size: .85em;
    color: #555555;
}
@media only screen and (min-width: 2000px) {
    html body#top ul.sg-naudinga.sg-plyteles {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
}
/* Jei nuorodų ne 8, o 6 ar 9 – stulpelių skaičius prisitaiko, kad neliktų vienišos plytelės */
@media only screen and (min-width: 768px) {
    html body#top ul.sg-naudinga.sg-plyteles:has(> li:nth-child(6):last-child),
    html body#top ul.sg-naudinga.sg-plyteles:has(> li:nth-child(9):last-child) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media only screen and (min-width: 2000px) {
    html body#top ul.sg-naudinga.sg-plyteles:has(> li:nth-child(6):last-child) {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}
/* Telefone – kompaktiškas sąrašas: ikona kairėje, tekstas dešinėje */
@media only screen and (max-width: 767px) {
    html body#top ul.sg-naudinga.sg-plyteles,
    html body#top ul.sg-naudinga.sg-plyteles:has(> li:nth-child(6):last-child),
    html body#top ul.sg-naudinga.sg-plyteles:has(> li:nth-child(9):last-child) {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    html body#top ul.sg-naudinga.sg-plyteles li a,
    html body#top .avia_textblock ul.sg-naudinga.sg-plyteles li a:not(.avia-button) {
        display: block !important;
        min-height: 64px;
        padding: 21px 16px 21px 72px !important;
    }
    html body#top ul.sg-naudinga.sg-plyteles li a::before {
        top: 50%;
        left: 14px;
        width: 44px;
        height: 44px;
        margin-top: -22px;
    }
    html body#top ul.sg-naudinga.sg-plyteles li a::after {
        top: 50%;
        left: 24px;
        margin-top: -12px;
    }
    html body#top ul.sg-naudinga.sg-plyteles li a:hover {
        transform: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    html body#top ul.sg-naudinga.sg-plyteles li a {
        transition: none !important;
        transform: none !important;
    }
}

/* Ikonos pagal adresą */
html body#top ul.sg-naudinga.sg-plyteles li a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%203H6a2%202%200%200%200-2%202v14a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V9z%20M14%203v6h6%20M8%2013h8%20M8%2017h5%22/%3E%3C/svg%3E"); }
html body#top ul.sg-naudinga.sg-plyteles li a[href*="abiturient"] { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203%202%208l10%205%2010-5-10-5z%20M6%2010v5c3%202%209%202%2012%200v-5%22/%3E%3C/svg%3E"); }
html body#top ul.sg-naudinga.sg-plyteles li a[href*="nuorodos"] { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%2014a4%204%200%200%200%206%200l3-3a4%204%200%200%200-6-6l-1%201%20M14%2010a4%204%200%200%200-6%200l-3%203a4%204%200%200%200%206%206l1-1%22/%3E%3C/svg%3E"); }
html body#top ul.sg-naudinga.sg-plyteles li a[href*="ugdymo-turinio"] { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%205a2%202%200%200%201%202-2h13v16H6a2%202%200%200%200-2%202z%20M4%2019V5%20M8%207h7%22/%3E%3C/svg%3E"); }
html body#top ul.sg-naudinga.sg-plyteles li a[href*="pasiekimu-patikrinimas"] { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2011l3%203%208-8%20M20%2012v7a2%202%200%200%201-2%202H6a2%202%200%200%201-2-2V5a2%202%200%200%201%202-2h9%22/%3E%3C/svg%3E"); }
html body#top ul.sg-naudinga.sg-plyteles li a[href*="kokybes-vadybos"] { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2011a3%203%200%201%200%200-6%203%203%200%200%200%200%206z%20M3%2020c0-3%203-5%206-5s6%202%206%205%20M16%205a3%203%200%200%201%200%206%20M18%2015c2%20.5%203%202%203%205%22/%3E%3C/svg%3E"); }
html body#top ul.sg-naudinga.sg-plyteles li a[href*="nepaprastosios"] { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203%202%2020h20L12%203z%20M12%209v5%20M12%2017h.01%22/%3E%3C/svg%3E"); }
html body#top ul.sg-naudinga.sg-plyteles li a[href*=".pdf"] { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203%204%206v6c0%205%203.5%208%208%209%204.5-1%208-4%208-9V6z%22/%3E%3C/svg%3E"); }
html body#top ul.sg-naudinga.sg-plyteles li a[href*="tvarkarastis"] { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%206h16v14H4z%20M4%2010h16%20M8%203v4%20M16%203v4%22/%3E%3C/svg%3E"); }


/* ==========================================================
   Enfold elementas „Greitos nuorodos (SSG)“ – .sg-quick__list--alb
   Stulpelių skaičių parenka PHP pagal plytelių kiekį (lygios eilutės).
   ========================================================== */
html body#top .sg-hp .sg-quick__list.sg-quick__list--alb {
    grid-template-columns: repeat(var(--sg-cols, 4), minmax(0, 1fr));
}
@media only screen and (min-width: 2000px) {
    html body#top .sg-hp .sg-quick__list.sg-quick__list--alb {
        grid-template-columns: repeat(var(--sg-cols-wide, 8), minmax(0, 1fr));
    }
}
@media only screen and (min-width: 768px) and (max-width: 1199px) {
    html body#top .sg-hp .sg-quick__list.sg-quick__list--alb {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
html body#top .sg-quick-alb .sg-quick__icon .av-icon-char {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 22px;
    line-height: 1;
    color: var(--sg-primary);
}
html body#top .sg-quick-alb .sg-quick__icon svg {
    width: 22px !important;
    height: 22px !important;
}
html body#top .sg-quick-alb .sg-quick__icon svg path {
    fill: currentColor;
}
html body#top .sg-quick-alb .sg-file {
    font-weight: 400;
    font-size: .85em;
    color: var(--sg-muted);
}
@media only screen and (max-width: 767px) {
    html body#top .sg-hp .sg-quick__list.sg-quick__list--alb {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    html body#top .sg-hp .sg-quick__list--alb a.sg-quick__item,
    html body#top .sg-hp .sg-quick__list--alb span.sg-quick__item {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding: 10px 16px 10px 12px;
    }
    html body#top .sg-quick-alb .sg-quick__icon {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
    }
}


/* ==========================================================
   v3.2.1 – Kompaktiškesnės plytelės: ikona kairėje, tekstas dešinėje
   (ir sąraše .sg-plyteles, ir Enfold elemente „Greitos nuorodos (SSG)“)
   ========================================================== */
html body#top ul.sg-naudinga.sg-plyteles,
html body#top ul.sg-naudinga.sg-plyteles:has(> li:nth-child(6):last-child) {
    gap: 14px;
}
@media only screen and (min-width: 2000px) {
    html body#top ul.sg-naudinga.sg-plyteles {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
html body#top ul.sg-naudinga.sg-plyteles li {
    display: table !important;
    width: 100%;
    height: 100%;
}
html body#top ul.sg-naudinga.sg-plyteles li a,
html body#top .avia_textblock ul.sg-naudinga.sg-plyteles li a:not(.avia-button) {
    display: table-cell !important;
    vertical-align: middle;
    height: 72px;
    min-height: 0;
    padding: 12px 16px 12px 70px !important;
    font-size: 14.5px !important;
}
html body#top ul.sg-naudinga.sg-plyteles li a::before {
    top: 50%;
    left: 14px;
    width: 42px;
    height: 42px;
    margin-top: -21px;
}
html body#top ul.sg-naudinga.sg-plyteles li a::after {
    top: 50%;
    left: 25px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
}
html body#top ul.sg-naudinga.sg-plyteles li a:hover {
    transform: none;
}

/* Enfold elementas */
html body#top .sg-hp .sg-quick__list.sg-quick__list--alb {
    gap: 14px;
}
@media only screen and (min-width: 2000px) {
    html body#top .sg-hp .sg-quick__list.sg-quick__list--alb {
        grid-template-columns: repeat(var(--sg-cols, 4), minmax(0, 1fr));
    }
}
html body#top .sg-hp .sg-quick__list--alb a.sg-quick__item,
html body#top .sg-hp .sg-quick__list--alb span.sg-quick__item {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 12px 16px 12px 14px;
}
html body#top .sg-hp .sg-quick__list--alb a.sg-quick__item:hover {
    transform: none;
}
html body#top .sg-quick-alb .sg-quick__icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
}
html body#top .sg-quick-alb .sg-quick__icon svg {
    width: 20px !important;
    height: 20px !important;
}
html body#top .sg-quick-alb .sg-quick__label {
    font-size: 14.5px;
}


/* ==========================================================
   v3.3.0 – „Greitos nuorodos (SSG)“: dydis ir ikonos dydis
   pasirenkami Enfold elemento skirtuke „Išvaizda“
   ========================================================== */

/* Mažos */
html body#top .sg-quick-alb.sg-qs--s .sg-quick__list--alb a.sg-quick__item,
html body#top .sg-quick-alb.sg-qs--s .sg-quick__list--alb span.sg-quick__item {
    min-height: 54px;
    padding: 8px 12px 8px 10px;
    gap: 10px;
    border-radius: 10px;
}
html body#top .sg-quick-alb.sg-qs--s .sg-quick__icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
}
html body#top .sg-quick-alb.sg-qs--s .sg-quick__icon svg {
    width: 16px !important;
    height: 16px !important;
}
html body#top .sg-quick-alb.sg-qs--s .sg-quick__label {
    font-size: 14px;
}
html body#top .sg-hp.sg-qs--s .sg-quick__list.sg-quick__list--alb {
    gap: 10px;
}

/* Didelės – kvadratėliai su ikona viršuje (kompiuteryje ir planšetėje) */
@media only screen and (min-width: 768px) {
    html body#top .sg-quick-alb.sg-qs--l .sg-quick__list--alb a.sg-quick__item,
    html body#top .sg-quick-alb.sg-qs--l .sg-quick__list--alb span.sg-quick__item {
        flex-direction: column;
        align-items: flex-start;
        min-height: 150px;
        padding: 22px 20px;
        gap: 14px;
    }
    html body#top .sg-quick-alb.sg-qs--l .sg-quick__icon {
        flex: 0 0 auto;
        width: 52px;
        height: 52px;
    }
    html body#top .sg-quick-alb.sg-qs--l .sg-quick__icon svg {
        width: 24px !important;
        height: 24px !important;
    }
    html body#top .sg-quick-alb.sg-qs--l .sg-quick__label {
        font-size: 15px;
    }
    html body#top .sg-hp.sg-qs--l .sg-quick__list.sg-quick__list--alb {
        gap: 20px;
    }
}
@media only screen and (min-width: 2000px) {
    html body#top .sg-hp.sg-qs--l .sg-quick__list.sg-quick__list--alb {
        grid-template-columns: repeat(var(--sg-cols-wide, 8), minmax(0, 1fr));
    }
}

/* Ikonos dydis (jei pasirinktas atskirai) */
html body#top .sg-quick-alb.sg-qi--s .sg-quick__icon { flex-basis: 32px !important; width: 32px !important; height: 32px !important; }
html body#top .sg-quick-alb.sg-qi--s .sg-quick__icon svg { width: 15px !important; height: 15px !important; }
html body#top .sg-quick-alb.sg-qi--m .sg-quick__icon { flex-basis: 42px !important; width: 42px !important; height: 42px !important; }
html body#top .sg-quick-alb.sg-qi--m .sg-quick__icon svg { width: 20px !important; height: 20px !important; }
html body#top .sg-quick-alb.sg-qi--l .sg-quick__icon { flex-basis: 56px !important; width: 56px !important; height: 56px !important; }
html body#top .sg-quick-alb.sg-qi--l .sg-quick__icon svg { width: 28px !important; height: 28px !important; }

/* Planšetėje stulpelių skaičius ribojamas iki 2, kad tekstas tilptų */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
    html body#top .sg-hp .sg-quick__list.sg-quick__list--alb {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}


/* ==========================================================
   v3.4.0 – „Greitai rasite“ VALDYMAS KLASĖMIS (Text Block)
   <ul class="sg-naudinga sg-plyteles dydis-mazos stulpeliai-4">
     <li class="ikona-kalendorius"><a href="…">…</a></li>
   Dydžiai: dydis-mazos | dydis-vidutines (numatyta) | dydis-dideles
   Stulpeliai: stulpeliai-2 … stulpeliai-8
   Ikonos: ikona-… (sąrašas README)
   ========================================================== */

/* Ikonos pagal klasę (stipresnės už automatines pagal adresą) */
html body#top ul.sg-naudinga.sg-plyteles li.ikona-kalendorius a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%206h16v14H4z%20M4%2010h16%20M8%203v4%20M16%203v4%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-kepure a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203%202%208l10%205%2010-5-10-5z%20M6%2010v5c3%202%209%202%2012%200v-5%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-nuoroda a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%2014a4%204%200%200%200%206%200l3-3a4%204%200%200%200-6-6l-1%201%20M14%2010a4%204%200%200%200-6%200l-3%203a4%204%200%200%200%206%206l1-1%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-knyga a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%205a2%202%200%200%201%202-2h13v16H6a2%202%200%200%200-2%202z%20M4%2019V5%20M8%207h7%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-varnele a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2011l3%203%208-8%20M20%2012v7a2%202%200%200%201-2%202H6a2%202%200%200%201-2-2V5a2%202%200%200%201%202-2h9%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-zmones a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2011a3%203%200%201%200%200-6%203%203%200%200%200%200%206z%20M3%2020c0-3%203-5%206-5s6%202%206%205%20M16%205a3%203%200%200%201%200%206%20M18%2015c2%20.5%203%202%203%205%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-ispejimas a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203%202%2020h20L12%203z%20M12%209v5%20M12%2017h.01%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-skydas a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203%204%206v6c0%205%203.5%208%208%209%204.5-1%208-4%208-9V6z%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-dokumentas a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%203H6a2%202%200%200%200-2%202v14a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V9z%20M14%203v6h6%20M8%2013h8%20M8%2017h5%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-telefonas a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%204h4l2%205-3%202a11%2011%200%200%200%205%205l2-3%205%202v4a2%202%200%200%201-2%202A17%2017%200%200%201%203%206a2%202%200%200%201%202-2z%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-laiskas a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h18v12H3z%20M3%207l9%206%209-6%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-namai a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2011%2012%204l9%207%20M5%2010v10h14V10%20M10%2020v-6h4v6%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-taure a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%204h8v5a4%204%200%200%201-8%200z%20M12%2013v4%20M8%2021h8%20M8%206H5a3%203%200%200%200%203%204%20M16%206h3a3%203%200%200%201-3%204%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-valgykla a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203v8%20M5%203v4a2%202%200%200%200%204%200V3%20M7%2011v10%20M17%203c-2%202-2%206%200%208v10%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-autobusas a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203h12a2%202%200%200%201%202%202v11H4V5a2%202%200%200%201%202-2z%20M4%2011h16%20M7%2019v2%20M17%2019v2%20M4%2016v3h16v-3%20M8%2014h.01%20M16%2014h.01%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-informacija a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203a9%209%200%201%200%200%2018%209%209%200%200%200%200-18z%20M12%2011v6%20M12%207.5h.01%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-klausimas a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203a9%209%200%201%200%200%2018%209%209%200%200%200%200-18z%20M9.5%209a2.5%202.5%200%201%201%203.5%202.3c-.6.3-1%20.9-1%201.6v.6%20M12%2017h.01%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-vieta a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2021s-7-6.2-7-11a7%207%200%200%201%2014%200c0%204.8-7%2011-7%2011z%20M12%207a3%203%200%201%200%200%206%203%203%200%200%200%200-6z%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-kompiuteris a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%204h18v12H3z%20M8%2020h8%20M12%2016v4%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-laikrodis a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203a9%209%200%201%200%200%2018%209%209%200%200%200%200-18z%20M12%207v5l3%202%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-zvaigzde a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203l2.8%205.7%206.2.9-4.5%204.4%201%206.2L12%2017.3%206.5%2020.2l1-6.2L3%209.6l6.2-.9z%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-sirdis a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2020s-7-4.4-7-10a4%204%200%200%201%207-2.6A4%204%200%200%201%2019%2010c0%205.6-7%2010-7%2010z%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-atsisiusti a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%204v11%20M7%2010l5%205%205-5%20M5%2020h14%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-paieska a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M11%204a7%207%200%201%200%200%2014%207%207%200%200%200%200-14z%20M16%2016l5%205%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.be-ikonos a::before,
html body#top ul.sg-naudinga.sg-plyteles li.be-ikonos a::after { display: none !important; }
html body#top ul.sg-naudinga.sg-plyteles li.be-ikonos a { padding-left: 18px !important; }

/* Stulpelių skaičius (kompiuteryje) */
@media only screen and (min-width: 1200px) {
    html body#top ul.sg-naudinga.sg-plyteles.stulpeliai-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    html body#top ul.sg-naudinga.sg-plyteles.stulpeliai-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    html body#top ul.sg-naudinga.sg-plyteles.stulpeliai-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
    html body#top ul.sg-naudinga.sg-plyteles.stulpeliai-5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
    html body#top ul.sg-naudinga.sg-plyteles.stulpeliai-6 { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
    html body#top ul.sg-naudinga.sg-plyteles.stulpeliai-7 { grid-template-columns: repeat(7, minmax(0, 1fr)) !important; }
    html body#top ul.sg-naudinga.sg-plyteles.stulpeliai-8 { grid-template-columns: repeat(8, minmax(0, 1fr)) !important; }
}
@media only screen and (min-width: 768px) and (max-width: 1199px) {
    html body#top ul.sg-naudinga.sg-plyteles[class*="stulpeliai-"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* Mažos */
@media only screen and (min-width: 768px) {
    html body#top ul.sg-naudinga.sg-plyteles.dydis-mazos { gap: 10px !important; }
    html body#top ul.sg-naudinga.sg-plyteles.dydis-mazos li a,
    html body#top .avia_textblock ul.sg-naudinga.sg-plyteles.dydis-mazos li a:not(.avia-button) {
        height: 54px;
        padding: 8px 12px 8px 54px !important;
        font-size: 14px !important;
        border-radius: 10px;
    }
    html body#top ul.sg-naudinga.sg-plyteles.dydis-mazos li a::before { left: 10px; width: 34px; height: 34px; margin-top: -17px; }
    html body#top ul.sg-naudinga.sg-plyteles.dydis-mazos li a::after { left: 19px; width: 16px; height: 16px; margin-top: -8px; }

    /* Didelės – kvadratėliai su ikona viršuje */
    html body#top ul.sg-naudinga.sg-plyteles.dydis-dideles { gap: 20px !important; }
    html body#top ul.sg-naudinga.sg-plyteles.dydis-dideles li { display: block !important; }
    html body#top ul.sg-naudinga.sg-plyteles.dydis-dideles li a,
    html body#top .avia_textblock ul.sg-naudinga.sg-plyteles.dydis-dideles li a:not(.avia-button) {
        display: block !important;
        height: 100%;
        min-height: 150px;
        padding: 90px 20px 22px !important;
        font-size: 15px !important;
    }
    html body#top ul.sg-naudinga.sg-plyteles.dydis-dideles li a::before { top: 22px; left: 20px; width: 52px; height: 52px; margin-top: 0; }
    html body#top ul.sg-naudinga.sg-plyteles.dydis-dideles li a::after { top: 36px; left: 34px; width: 24px; height: 24px; margin-top: 0; }
}

/* ---------- Sporto šakos: šoninis sąrašas (<div class="sg-sports-side"> Text Block'e arba [sg_sporto_sakos isdestymas="sarasas"]) ---------- */
html body#top .sg-sports-side {
    background: #f3f5f5;
    border-radius: 10px;
    padding: 22px 20px 14px;
}
html body#top .sg-sports-side :is(h2, h3, h4) {
    margin: 0 0 14px !important;
    padding: 0 0 12px !important;
    position: relative;
    font-size: 18px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #333333 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
html body#top .sg-sports-side :is(h2, h3, h4)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    border-radius: 2px;
    background: var(--sg-primary, #587172);
}
html body#top .sg-sports-side ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
html body#top .sg-sports-side ul li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #e1e7e7;
    break-inside: avoid;
}
html body#top .sg-sports-side ul li:last-child {
    border-bottom: 0;
}
html body#top .sg-sports-side ul li a:not(.avia-button) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 8px 9px 0;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
    color: #333333 !important;
    text-decoration: none !important;
    border-radius: 6px;
    transition: color .15s ease, padding .15s ease, background .15s ease;
}
html body#top .sg-sports-side ul li a:not(.avia-button)::after {
    content: "";
    flex: none;
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: .45;
    transition: opacity .15s ease, transform .15s ease;
}
html body#top .sg-sports-side ul li a:not(.avia-button):hover,
html body#top .sg-sports-side ul li a:not(.avia-button):focus-visible {
    color: var(--sg-primary-dark, #465a5b) !important;
    background: #ffffff;
    padding-left: 8px;
}
html body#top .sg-sports-side ul li a:not(.avia-button):hover::after,
html body#top .sg-sports-side ul li a:not(.avia-button):focus-visible::after {
    opacity: 1;
    transform: translateX(2px) rotate(45deg);
}
html body#top .sg-sports-side ul li a:not(.avia-button):focus-visible {
    outline: 3px solid #1a5fb4 !important;
    outline-offset: 1px;
}
/* Kai stulpelis išsitempia per visą plotį (planšetė) – sąrašas į kelis stulpelius */
@media only screen and (max-width: 989px) {
    html body#top .sg-sports-side ul {
        columns: 3 180px;
        column-gap: 28px;
    }
    html body#top .sg-sports-side ul li:last-child {
        border-bottom: 1px solid #e1e7e7;
    }
}
@media (prefers-reduced-motion: reduce) {
    html body#top .sg-sports-side ul li a:not(.avia-button),
    html body#top .sg-sports-side ul li a:not(.avia-button)::after {
        transition: none;
    }
}
html body#top .sg-sports-side > p:empty { display: none; }
html body#top .sg-sports-side ul li > br { display: none; }


/* v3.6.0 – sporto ikonos ir vienas stulpelis (siauram stulpeliui, pvz. 1/5) */
html body#top ul.sg-naudinga.sg-plyteles li.ikona-kamuolys a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203a9%209%200%201%200%200%2018%209%209%200%200%200%200-18z%20M12%208l3.5%202.5-1.3%204h-4.4l-1.3-4z%20M12%203v5%20M15.5%2010.5l5.2-1.6%20M14.2%2014.5l3.2%204.2%20M9.8%2014.5l-3.2%204.2%20M8.5%2010.5L3.3%208.9%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-krepsinis a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203a9%209%200%201%200%200%2018%209%209%200%200%200%200-18z%20M3%2012h18%20M12%203v18%20M5.6%205.6c3%203%203%209.8%200%2012.8%20M18.4%205.6c-3%203-3%209.8%200%2012.8%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-tinklinis a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203a9%209%200%201%200%200%2018%209%209%200%200%200%200-18z%20M12%203c-1.5%204-.5%207%203%209%20M12%2012c-3.5%202-7%202-8.8.5%20M12%2012c3.5%201.5%205.5%204.5%205.8%207.5%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-dviratis a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2017.5a3.5%203.5%200%201%200%207%200%203.5%203.5%200%201%200-7%200z%20M15%2017.5a3.5%203.5%200%201%200%207%200%203.5%203.5%200%201%200-7%200z%20M5.5%2017.5l4-7h6l3%207%20M9.5%2010.5%208%207H6%20M15.5%2010.5%2014%206h2.5%20M12%2017.5l3.5-7%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-irklas a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2019c2%200%202-1.5%204.5-1.5S10%2019%2012%2019s2-1.5%204.5-1.5S19%2019%2021%2019%20M6%2015%2018%205%20M18%205l1-2.5%202.5%201-1%202.5z%20M6%2015l-1%202.5-2.5-1%201-2.5z%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-begikas a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%203.5a1.5%201.5%200%201%200%200%203%201.5%201.5%200%200%200%200-3z%20M9%2021l2.5-6-3-3%202.5-4%203.5%203h3.5%20M11%208%207%209l-2%203%20M11.5%2015l4%202%201%204%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-ritulys a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%203l5%2013h6%20M19%2016v3h-7.5L10%2016%20M3%2019.5c0%20.8%201.3%201.5%203%201.5s3-.7%203-1.5S7.7%2018%206%2018s-3%20.7-3%201.5z%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-medalis a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%203l4%206%204-6%20M12%2021a6%206%200%201%200%200-12%206%206%200%200%200%200%2012z%20M12%2013v4%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-imtynes a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%204a2%202%200%201%200%200%204%202%202%200%200%200%200-4z%20M17%204a2%202%200%201%200%200%204%202%202%200%200%200%200-4z%20M3%2021l1-7%203-3%205%203%205-3%203%203%201%207%20M12%2014v7%22/%3E%3C/svg%3E") !important; }
html body#top ul.sg-naudinga.sg-plyteles li.ikona-rakete a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%203a6%206%200%201%200%200%2012%206%206%200%200%200%200-12z%20M9.8%2013.2%204%2019l1%201%205.8-5.8%20M20%2019a1.5%201.5%200%201%200-3%200%201.5%201.5%200%201%200%203%200z%22/%3E%3C/svg%3E") !important; }
@media only screen and (min-width: 1200px) {
    html body#top ul.sg-naudinga.sg-plyteles.stulpeliai-1 { grid-template-columns: minmax(0, 1fr) !important; }
}
/* Viena kolona – plytelė prisitaiko prie teksto aukščio */
html body#top ul.sg-naudinga.sg-plyteles.stulpeliai-1 li a,
html body#top .avia_textblock ul.sg-naudinga.sg-plyteles.stulpeliai-1 li a:not(.avia-button) {
    height: auto;
}
html body#top ul.sg-naudinga.sg-plyteles.stulpeliai-1.dydis-mazos { gap: 8px !important; }
/* Antraštė virš plytelių – taip pat kaip „Greitai rasite“ */
html body#top ul.sg-naudinga.sg-plyteles li.ikona-regbis a { --sg-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%204c-6-1-12%201-14.5%205.5S4%2020%204%2020s6.5%201%2011-1.5S21%2010%2020%204z%20M8.5%2015.5l7-7%20M10%2011.5l2.5%202.5%20M12%209.5l2.5%202.5%22/%3E%3C/svg%3E") !important; }

/* v3.6.1 – visas sąrašas be ikonų: <ul class="… be-ikonu"> (ir li.be-ikonos su bet kuriuo dydžiu) */
html body#top ul.sg-naudinga.sg-plyteles.be-ikonu li a::before,
html body#top ul.sg-naudinga.sg-plyteles.be-ikonu li a::after,
html body#top ul.sg-naudinga.sg-plyteles li.be-ikonos a::before,
html body#top ul.sg-naudinga.sg-plyteles li.be-ikonos a::after { display: none !important; }
html body#top ul.sg-naudinga.sg-plyteles.be-ikonu li a,
html body#top .avia_textblock ul.sg-naudinga.sg-plyteles.be-ikonu li a:not(.avia-button),
html body#top .avia_textblock ul.sg-naudinga.sg-plyteles li.be-ikonos a:not(.avia-button) {
    padding-left: 16px !important;
    padding-right: 16px !important;
}
html body#top .avia_textblock ul.sg-naudinga.sg-plyteles.be-ikonu.dydis-dideles li a:not(.avia-button) {
    padding-top: 22px !important;
    min-height: 0;
}

/* ==========================================================
   v3.7.0 – Nuorodų kortelė siauram stulpeliui (pvz. sporto šakos)
   <div class="sg-kortele"><h2>…</h2><ul><li><a>…</a></li></ul></div>
   ========================================================== */
html body#top .sg-kortele {
    background: #ffffff;
    border: 1px solid #dfe7e7;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(30, 50, 50, .07);
}
html body#top .sg-kortele > :is(h2, h3, h4) {
    margin: 0 !important;
    padding: 16px 20px !important;
    background: #587172;
    color: #ffffff !important;
    font-size: 17px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: .02em !important;
    text-transform: none !important;
    border: 0 !important;
}
html body#top .sg-kortele > ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 6px 0 !important;
    counter-reset: sgk;
}
html body#top .sg-kortele > ul > li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
html body#top .sg-kortele > ul > li + li {
    border-top: 1px solid #edf1f1;
}
html body#top .sg-kortele > ul > li > br { display: none; }
html body#top .sg-kortele > ul > li > a,
html body#top .avia_textblock .sg-kortele > ul > li > a:not(.avia-button) {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 20px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: #2b3a3b !important;
    text-decoration: none !important;
    transition: background .15s ease, color .15s ease, padding .15s ease;
}
/* rodyklė */
html body#top .sg-kortele > ul > li > a::after {
    content: "";
    flex: none;
    width: 7px;
    height: 7px;
    border-top: 2px solid #8fa3a4;
    border-right: 2px solid #8fa3a4;
    transform: rotate(45deg);
    transition: transform .15s ease, border-color .15s ease;
}
/* akcentinė juostelė kairėje (matoma užvedus) */
html body#top .sg-kortele > ul > li > a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: #587172;
    opacity: 0;
    transition: opacity .15s ease;
}
html body#top .sg-kortele > ul > li > a:hover,
html body#top .sg-kortele > ul > li > a:focus-visible {
    background: #f1f5f5;
    color: #3f5354 !important;
    padding-left: 24px;
}
html body#top .sg-kortele > ul > li > a:hover::before,
html body#top .sg-kortele > ul > li > a:focus-visible::before { opacity: 1; }
html body#top .sg-kortele > ul > li > a:hover::after,
html body#top .sg-kortele > ul > li > a:focus-visible::after {
    border-color: #587172;
    transform: translateX(3px) rotate(45deg);
}
html body#top .sg-kortele > ul > li > a:focus-visible {
    outline: 3px solid #1a5fb4 !important;
    outline-offset: -3px;
}
/* Planšetėje stulpelis platus – sąrašas į kelis stulpelius */
@media only screen and (max-width: 989px) {
    html body#top .sg-kortele > ul {
        columns: 2 220px;
        column-gap: 0;
    }
    html body#top .sg-kortele > ul > li {
        break-inside: avoid;
        border-top: 0 !important;
        border-bottom: 1px solid #edf1f1;
    }
}
@media (prefers-reduced-motion: reduce) {
    html body#top .sg-kortele a,
    html body#top .sg-kortele a::before,
    html body#top .sg-kortele a::after { transition: none !important; }
}

/* ==========================================================
   v3.8.0 – Bendras vaizdas
   ========================================================== */

/* Naujienų kortelių stulpeliai: [sg_naujienos stulpeliai="4"] */
@media only screen and (min-width: 1400px) {
    html body#top .sg-hp .sg-news__grid.sg-news__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html body#top .sg-hp .sg-news__grid.sg-news__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
    html body#top .sg-hp .sg-news__grid.sg-news__grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
}
html body#top .sg-hp .sg-news__grid--4 .sg-card__title,
html body#top .sg-hp .sg-news__grid--5 .sg-card__title { font-size: 16.5px !important; }
html body#top .sg-hp .sg-news__grid--4 .sg-card__body,
html body#top .sg-hp .sg-news__grid--5 .sg-card__body { padding: 16px 18px 18px; }
html body#top .sg-hp.sg-news .sg-news__more { display: flex; margin-left: auto; margin-right: auto; }

/* Antraštė prieš plyteles (pvz. „Greitai rasite“) – tokia pati kaip kitų skilčių */
html body#top .avia_textblock :is(h2, h3):has(+ ul.sg-plyteles) {
    position: relative;
    margin: 0 0 22px !important;
    padding: 0 0 12px !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: #222222 !important;
}
html body#top .avia_textblock :is(h2, h3):has(+ ul.sg-plyteles)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    border-radius: 2px;
    background: #587172;
}

/* Plytelės: paskutinė eilutė išsitempia per visą plotį – nelieka tuščių vietų */
@media only screen and (min-width: 1200px) {
    html body#top ul.sg-naudinga.sg-plyteles[class*="stulpeliai-"] {
        --g: 14px;
        display: flex !important;
        flex-wrap: wrap;
        gap: var(--g) !important;
    }
    html body#top ul.sg-naudinga.sg-plyteles.dydis-mazos[class*="stulpeliai-"] { --g: 10px; }
    html body#top ul.sg-naudinga.sg-plyteles.dydis-dideles[class*="stulpeliai-"] { --g: 20px; }
    html body#top ul.sg-naudinga.sg-plyteles.stulpeliai-1 { --n: 1; }
    html body#top ul.sg-naudinga.sg-plyteles.stulpeliai-2 { --n: 2; }
    html body#top ul.sg-naudinga.sg-plyteles.stulpeliai-3 { --n: 3; }
    html body#top ul.sg-naudinga.sg-plyteles.stulpeliai-4 { --n: 4; }
    html body#top ul.sg-naudinga.sg-plyteles.stulpeliai-5 { --n: 5; }
    html body#top ul.sg-naudinga.sg-plyteles.stulpeliai-6 { --n: 6; }
    html body#top ul.sg-naudinga.sg-plyteles.stulpeliai-7 { --n: 7; }
    html body#top ul.sg-naudinga.sg-plyteles.stulpeliai-8 { --n: 8; }
    html body#top ul.sg-naudinga.sg-plyteles[class*="stulpeliai-"] > li {
        flex: 1 1 calc((100% - (var(--n, 4) - 1) * var(--g)) / var(--n, 4));
        min-width: 0;
        height: auto;
    }
}
/* Tarpas po plytelėmis iki kitos skilties */
html body#top .avia_textblock ul.sg-naudinga.sg-plyteles { margin-bottom: 48px !important; }
@media only screen and (max-width: 767px) {
    html body#top .avia_textblock ul.sg-naudinga.sg-plyteles { margin-bottom: 32px !important; }
}

/* ==========================================================
   v3.9.0 – Švaresnis pagrindinis puslapis
   ========================================================== */

/* 1. Enfold žalias „image-overlay“ ant nuotraukų – pašalinamas (kortelės turi savo efektą) */
html body#top .sg-hp .image-overlay,
html body#top .sg-kortele .image-overlay,
html body#top ul.sg-plyteles .image-overlay {
    display: none !important;
}
html body#top .sg-hp a img,
html body#top .sg-hp .sg-img {
    opacity: 1 !important;
    filter: none !important;
}

/* 2. Mažesni tarpai */
html body#top .avia_textblock ul.sg-naudinga.sg-plyteles { margin-bottom: 8px !important; }
html body#top .sg-hp.sg-news { margin: 0 0 24px; }
html body#top .sg-hp.sg-news .sg-section-head { margin-bottom: 18px; }
html body#top .flex_column:has(.sg-news),
html body#top .flex_column:has(.sg-kortele) { margin-top: 0 !important; }
html body#top .av_textblock_section:has(ul.sg-plyteles) { margin-bottom: 0 !important; }
html body#top .flex_column:has(ul.sg-plyteles) { margin-bottom: 40px !important; }

/* Šoninė kortelė: siauresnis tarpas nuo naujienų, pati kortelė platesnė */
@media only screen and (min-width: 990px) {
    html body#top #wrap_all .flex_column.av_one_fifth:has(.sg-kortele) {
        margin-left: 3% !important;
        width: 18.2% !important;
    }
    /* Kortelės viršus – lygiai su pirmąja naujienų eilute */
    html body#top .flex_column:has(.sg-news) + .flex_column .sg-kortele {
        margin-top: 0;
    }
}

/* 3. Naujienų kortelės – ramesnis, tvarkingesnis vaizdas */
html body#top .sg-hp .sg-news__grid { gap: 24px; }
html body#top .sg-hp a.sg-card__link {
    border-color: #e3e9e9;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(20, 40, 40, .04);
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
html body#top .sg-hp a.sg-card__link:hover {
    border-color: #d3dddd;
    box-shadow: 0 10px 28px rgba(20, 40, 40, .10);
    transform: translateY(-2px);
}
html body#top .sg-hp a.sg-card__link:focus-visible {
    outline: 3px solid #1a5fb4 !important;
    outline-offset: 3px;
}
html body#top .sg-card__media { aspect-ratio: 3 / 2; }
html body#top .sg-card__media .sg-img,
html body#top .sg-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
html body#top .sg-card__link:hover .sg-img,
html body#top .sg-card__link:hover .sg-card__media img { transform: scale(1.04); }
html body#top .sg-hp .sg-card__body { gap: 6px; padding: 16px 18px 18px; }
html body#top .sg-hp .sg-card__title {
    font-size: 16.5px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
html body#top .sg-hp .sg-card__cat { font-size: 11.5px; letter-spacing: .08em; }
html body#top .sg-hp .sg-card__date { margin-top: auto; padding-top: 4px; font-size: 13px; }
html body#top .sg-hp .sg-card__body { flex: 1; }

/* Antraštė „Naujienos“ – tokia pati kaip „Greitai rasite“ */
html body#top .sg-hp.sg-news .sg-section-title {
    position: relative;
    padding-bottom: 12px !important;
    font-size: 24px !important;
}
html body#top .sg-hp.sg-news .sg-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    border-radius: 2px;
    background: #587172;
}
html body#top .sg-hp.sg-news .sg-section-head { align-items: flex-end; }

/* Mygtukas „Rodyti daugiau“ */
html body#top .sg-hp.sg-news .sg-news__more { margin-top: 28px; }

/* Šoninė kortelė – ta pati „kalba“ */
html body#top .sg-kortele { border-radius: 14px; border-color: #e3e9e9; box-shadow: 0 1px 2px rgba(20, 40, 40, .04); }
html body#top .sg-kortele > ul > li > a,
html body#top .avia_textblock .sg-kortele > ul > li > a:not(.avia-button) { padding: 10px 18px; font-size: 14.5px; }
html body#top .sg-kortele > :is(h2, h3, h4) { padding: 14px 18px !important; font-size: 16px !important; }

/* Plytelės – ta pati „kalba“ */
html body#top ul.sg-naudinga.sg-plyteles li a,
html body#top .avia_textblock ul.sg-naudinga.sg-plyteles li a:not(.avia-button) {
    border-color: #e3e9e9 !important;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(20, 40, 40, .04);
    transition: box-shadow .2s ease, border-color .2s ease;
}
html body#top ul.sg-naudinga.sg-plyteles li a:hover,
html body#top .avia_textblock ul.sg-naudinga.sg-plyteles li a:not(.avia-button):hover {
    border-color: #c9d5d5 !important;
    box-shadow: 0 6px 18px rgba(20, 40, 40, .08);
}

@media (prefers-reduced-motion: reduce) {
    html body#top .sg-hp a.sg-card__link,
    html body#top .sg-hp a.sg-card__link:hover { transition: none; transform: none; }
}

/* ==========================================================
   v4.1.0 – „Sporto šakos“ kortelė: tamsus skydelis su šviesiomis eilutėmis
   ========================================================== */
html body#top .sg-kortele {
    container-type: inline-size;
    position: relative;
    padding: 24px 18px 18px;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    background:
        radial-gradient(120% 60% at 100% 0%, rgba(242, 194, 48, .16), rgba(242, 194, 48, 0) 60%),
        linear-gradient(165deg, #46595a 0%, #2c3a3b 100%);
    box-shadow: 0 14px 32px rgba(20, 40, 40, .18);
    color: #ffffff;
}
html body#top .sg-kortele > :is(h2, h3, h4) {
    position: relative;
    margin: 0 0 16px !important;
    padding: 0 0 12px !important;
    background: none;
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}
html body#top .sg-kortele > :is(h2, h3, h4)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 2px;
    background: #f2c230;
}
html body#top .sg-kortele > ul {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 0 !important;
    columns: auto !important;
}
@container (min-width: 400px) {
    html body#top .sg-kortele > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
html body#top .sg-kortele > ul > li,
html body#top .sg-kortele > ul > li + li {
    border: 0 !important;
}
html body#top .sg-kortele > ul > li > a,
html body#top .avia_textblock .sg-kortele > ul > li > a:not(.avia-button) {
    height: 100%;
    padding: 10px 12px 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .07);
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.3;
    transition: background .15s ease, color .15s ease;
}
html body#top .sg-kortele > ul > li > a::before { display: none; }
html body#top .sg-kortele > ul > li > a::after {
    border-color: rgba(255, 255, 255, .55);
}
html body#top .sg-kortele > ul > li > a:hover,
html body#top .sg-kortele > ul > li > a:focus-visible,
html body#top .avia_textblock .sg-kortele > ul > li > a:not(.avia-button):hover {
    background: #ffffff;
    color: #2c3a3b !important;
    padding-left: 14px;
}
html body#top .sg-kortele > ul > li > a:hover::after,
html body#top .sg-kortele > ul > li > a:focus-visible::after {
    border-color: #2c3a3b;
}
html body#top .sg-kortele > ul > li > a:focus-visible {
    outline: 3px solid #f2c230 !important;
    outline-offset: 2px;
}
/* Planšetė / telefonas: kortelė per visą plotį – šakos keliais stulpeliais */
@media only screen and (max-width: 989px) {
    html body#top .sg-kortele > ul { columns: auto !important; }
    html body#top .sg-kortele > ul > li { border-bottom: 0 !important; }
}
@container (min-width: 640px) {
    html body#top .sg-kortele > ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ==========================================================
   v4.2.0 – „Sporto šakos“ per visą plotį (juosta).
   Kai kortelė įdėta į platų stulpelį (1/1, 3/4 …) – automatiškai
   tampa horizontalia juosta: antraštė kairėje, šakos tinkleliu dešinėje.
   Siaurame stulpelyje lieka kortelė.
   ========================================================== */
html body#top .avia_textblock:has(> .sg-kortele) { container-type: inline-size; container-name: sgk; }
html body#top .sg-kortele > p {
    margin: -6px 0 16px !important;
    color: rgba(255, 255, 255, .82) !important;
    font-size: 14.5px;
    line-height: 1.55;
}
@container sgk (min-width: 860px) {
    html body#top .sg-kortele {
        display: grid;
        grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
        grid-template-rows: auto 1fr;
        column-gap: 48px;
        padding: 40px 44px;
        border-radius: 20px;
    }
    html body#top .sg-kortele > :is(h2, h3, h4) {
        grid-column: 1;
        align-self: end;
        font-size: 28px !important;
        line-height: 1.2 !important;
        margin-bottom: 18px !important;
    }
    html body#top .sg-kortele > p {
        grid-column: 1;
        align-self: start;
        margin: 0 !important;
        font-size: 15.5px;
    }
    html body#top .sg-kortele > ul {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px;
    }
    html body#top .sg-kortele > ul > li > a,
    html body#top .avia_textblock .sg-kortele > ul > li > a:not(.avia-button) {
        padding: 12px 14px 12px 16px;
        font-size: 15px;
    }
}
@container sgk (min-width: 1180px) {
    html body#top .sg-kortele > ul { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@container sgk (max-width: 859px) {
    html body#top .sg-kortele > p { display: none; }
}
html body#top .flex_column:has(.sg-kortele) { margin-bottom: 56px !important; }

/* v4.3.0 – tarpas po „Greitai rasite“ */
html body#top .avia_textblock ul.sg-naudinga.sg-plyteles { margin-bottom: 56px !important; }
@media only screen and (max-width: 767px) { html body#top .avia_textblock ul.sg-naudinga.sg-plyteles { margin-bottom: 36px !important; } }

/* v4.4.0 – „Greitai rasite“ antraštė nerodoma (lieka ekrano skaitytuvams) */
html body#top .avia_textblock :is(h2, h3):has(+ ul.sg-plyteles) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
/* Tarpas tarp „Sporto šakos“ juostos ir apačios */
html body#top .avia_textblock:has(> .sg-kortele) { padding-bottom: 72px; }
html body#top .flex_column:has(.sg-kortele) { margin-bottom: 0 !important; }
html body#top .avia_textblock ul.sg-naudinga.sg-plyteles { margin-bottom: 36px !important; }

/* ==========================================================
   v4.7.0 – „Greitos nuorodos (SSG)“: daugiau dydžių, teksto dydis,
   tarpai, „Be ikonų“, vienodas stilius su kitais blokais,
   paskutinė eilutė išsitempia (be tuščių vietų)
   ========================================================== */
html body#top .sg-quick-alb { margin-bottom: 40px; }
html body#top .sg-quick-alb .sg-section-title {
    position: relative;
    margin: 0 0 20px !important;
    padding: 0 0 12px !important;
    font-size: 24px !important;
}
html body#top .sg-quick-alb .sg-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    border-radius: 2px;
    background: #587172;
}
html body#top .sg-quick-alb .sg-quick__list--alb a.sg-quick__item {
    border: 1px solid #e3e9e9;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(20, 40, 40, .04);
    transition: box-shadow .2s ease, border-color .2s ease;
}
html body#top .sg-quick-alb .sg-quick__list--alb a.sg-quick__item:hover {
    border-color: #c9d5d5;
    box-shadow: 0 6px 18px rgba(20, 40, 40, .08);
    transform: none;
}
html body#top .sg-quick-alb .sg-quick__list--alb a.sg-quick__item:focus-visible {
    outline: 3px solid #1a5fb4;
    outline-offset: 3px;
}
html body#top .sg-quick-alb .sg-quick__label { line-height: 1.35; font-weight: 600; }
html body#top .sg-quick-alb .image-overlay { display: none !important; }

/* Labai mažos */
html body#top .sg-quick-alb.sg-qs--xs .sg-quick__list--alb a.sg-quick__item,
html body#top .sg-quick-alb.sg-qs--xs .sg-quick__list--alb span.sg-quick__item {
    min-height: 44px;
    padding: 6px 12px 6px 8px;
    gap: 10px;
    border-radius: 10px;
}
html body#top .sg-quick-alb.sg-qs--xs .sg-quick__icon { flex: 0 0 28px; width: 28px; height: 28px; }
html body#top .sg-quick-alb.sg-qs--xs .sg-quick__icon svg { width: 14px !important; height: 14px !important; }
html body#top .sg-quick-alb.sg-qs--xs .sg-quick__label { font-size: 13.5px; }

/* Didelės (ikona kairėje, aukštesnės) */
html body#top .sg-quick-alb.sg-qs--ml .sg-quick__list--alb a.sg-quick__item,
html body#top .sg-quick-alb.sg-qs--ml .sg-quick__list--alb span.sg-quick__item {
    min-height: 92px;
    padding: 16px 22px 16px 16px;
    gap: 16px;
}
html body#top .sg-quick-alb.sg-qs--ml .sg-quick__icon { flex: 0 0 52px; width: 52px; height: 52px; }
html body#top .sg-quick-alb.sg-qs--ml .sg-quick__icon svg { width: 24px !important; height: 24px !important; }
html body#top .sg-quick-alb.sg-qs--ml .sg-quick__label { font-size: 16px; }

/* Teksto dydis */
html body#top .sg-quick-alb.sg-qt--s .sg-quick__label { font-size: 13px !important; }
html body#top .sg-quick-alb.sg-qt--m .sg-quick__label { font-size: 15px !important; }
html body#top .sg-quick-alb.sg-qt--l .sg-quick__label { font-size: 17px !important; }

/* Tarpai */
html body#top .sg-hp.sg-quick-alb.sg-qg--s .sg-quick__list.sg-quick__list--alb { gap: 8px !important; }
html body#top .sg-hp.sg-quick-alb.sg-qg--m .sg-quick__list.sg-quick__list--alb { gap: 14px !important; }
html body#top .sg-hp.sg-quick-alb.sg-qg--l .sg-quick__list.sg-quick__list--alb { gap: 24px !important; }

/* Be ikonų */
html body#top .sg-quick-alb.sg-qi--none .sg-quick__icon { display: none !important; }
html body#top .sg-quick-alb.sg-qi--none .sg-quick__list--alb a.sg-quick__item,
html body#top .sg-quick-alb.sg-qi--none .sg-quick__list--alb span.sg-quick__item { padding-left: 18px; }

/* Paskutinė eilutė išsitempia per visą plotį (kompiuteryje) */
@media only screen and (min-width: 1200px) {
    html body#top .sg-hp.sg-quick-alb .sg-quick__list.sg-quick__list--alb {
        --g: 14px;
        display: flex !important;
        flex-wrap: wrap;
        gap: var(--g) !important;
    }
    html body#top .sg-hp.sg-quick-alb.sg-qs--xs .sg-quick__list.sg-quick__list--alb,
    html body#top .sg-hp.sg-quick-alb.sg-qs--s .sg-quick__list.sg-quick__list--alb,
    html body#top .sg-hp.sg-quick-alb.sg-qg--s .sg-quick__list.sg-quick__list--alb { --g: 8px; }
    html body#top .sg-hp.sg-quick-alb.sg-qs--l .sg-quick__list.sg-quick__list--alb,
    html body#top .sg-hp.sg-quick-alb.sg-qg--l .sg-quick__list.sg-quick__list--alb { --g: 24px; }
    html body#top .sg-hp.sg-quick-alb.sg-qg--m .sg-quick__list.sg-quick__list--alb { --g: 14px; }
    html body#top .sg-quick-alb .sg-quick__list--alb > li {
        flex: 1 1 calc((100% - (var(--sg-cols, 4) - 1) * var(--g)) / var(--sg-cols, 4));
        min-width: 0;
    }
}
html body#top .sg-quick-alb .sg-quick__list--alb a.sg-quick__item, html body#top .sg-quick-alb .sg-quick__list--alb span.sg-quick__item { box-sizing: border-box; }
