/* Daukantas 2: gimnazijos svetainės išvaizda (visas ekrano plotis, pritaikyta telefonams). */

:root {
    /* Gimnazijos spalvos (atributika): balta #ffffff ir mėlyna #0b4dc7. */
    --dk-blue: #0b4dc7;
    --dk-navy: #083a96;
    --dk-ink: #1b2533;
    --dk-muted: #4a5668;
    --dk-line: #dbe3ef;
    --dk-soft: #f3f6fb;
    --dk-tint: #eaf1fd;
    --dk-radius: 12px;
    --dk-gutter: clamp(16px, 3vw, 40px);
    --dk-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    margin: 0;
    background: #fff;
    color: var(--dk-ink);
    font-family: var(--dk-font);
    font-size: 17px;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.wp-block-post-title,
.wp-block-query-title {
    font-family: var(--dk-font);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    color: var(--dk-navy);
}

a { color: var(--dk-blue); }
a:hover { color: var(--dk-navy); }
:focus-visible { outline: 3px solid var(--dk-blue); outline-offset: 2px; }
.dk-footer :focus-visible, .dk-hero :focus-visible { outline-color: #fff; }

/* Blokų temos tarpai ir pločio apribojimai nebetaikomi. */
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-site-blocks .dk-layout,
.wp-site-blocks .dk-wrap { max-width: none; }

.dk-wrap {
    box-sizing: border-box;
    width: 100%;
    padding-inline: var(--dk-gutter);
}
.dk-wrap > *, .dk-layout > * { margin-block: 0; }

.dk-sr {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
/* Paslėptas tekstas – aiški spalva ir fonas, kad kontrasto tikrintuvai (WAVE) nerodytų klaidos. */
.dk-sr, .screen-reader-text { color: #000 !important; background: #fff !important; }

/* Senos taisyklės (Custom CSS & JS) temos blokams netaikomos. */
.dk-header img, .dk-layout img.size-full, .dk-layout img.size-large,
.dk-partners-band img, .dk-footer img {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* ---------- Prieinamumo juosta ---------- */
.dk-a11ybar { background: var(--dk-soft); border-bottom: 1px solid var(--dk-line); font-size: 14px; }
.dk-a11ybar__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.dk-a11ybar__links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    color: var(--dk-ink);
    text-decoration: none;
}
.dk-a11ybar__links a:hover { color: var(--dk-blue); text-decoration: underline; }
.dk-a11ybar__links img { width: 22px; height: 22px; border-radius: 4px; object-fit: cover; }
.dk-a11ybar__links { align-items: center; gap: 0 14px; }
.dk-a11ybar__links .dk-a11ybar__icon { position: relative; justify-content: center; min-width: 36px; color: var(--dk-blue); }
.dk-a11ybar__links .dk-a11ybar__icon img { width: 28px; height: 28px; }
.dk-a11ybar__links .dk-a11ybar__icon:hover { text-decoration: none; opacity: .8; }

/* ---------- Logotipas ir greitos nuorodos ---------- */
.dk-head { background: #fff; position: relative; z-index: 50; }
.dk-head__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 32px;
    padding-block: 14px;
}
.dk-logo { display: block; line-height: 0; }
.dk-logo img { display: block; height: 70px; width: auto; }
.dk-head__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.dk-head__tools > * { margin: 0 !important; }

.dk-pills.wp-block-navigation { gap: 8px; font-size: 15px; font-weight: 600; }
.dk-pills .wp-block-navigation-item__content {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px !important;
    border: 1px solid #c6d0dd;
    border-radius: 999px;
    color: var(--dk-blue) !important;
    text-decoration: none;
}
.dk-pills .wp-block-navigation-item__content:hover { background: var(--dk-tint); border-color: var(--dk-blue); }

/* Paieška lieka viena: greitųjų nuorodų meniu savo paieškos mygtuko nerodo. */
.dk-pills .wp-block-search { display: none !important; }
.dk-head__search { margin: 0; }
.dk-head__search .wp-block-search__inside-wrapper { border: 0; padding: 0; }
.dk-head__search .wp-block-search__button {
    margin: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--dk-blue);
    border: 1px solid #c6d0dd;
    border-radius: 10px;
}
.dk-head__search .wp-block-search__input { min-height: 44px; border: 1px solid #c6d0dd; border-radius: 10px 0 0 10px; padding: 0 12px; font-size: 16px; }
.dk-head__search:not(.wp-block-search__searchfield-hidden) .wp-block-search__button { border-radius: 0 10px 10px 0; background: var(--dk-blue); color: #fff; }

/* ---------- Pagrindinis meniu ---------- */
.dk-navbar { background: var(--dk-blue); position: relative; z-index: 40; }
.dk-navbar .dk-menu { margin: 0; }
/* Paieška – paskutinis mėlyno meniu simbolis (balta ikona mėlyname fone). */
.dk-navbar__inner { position: relative; display: flex; align-items: center; gap: 8px; }
.dk-navbar__inner > * { margin-block: 0 !important; }
.dk-navbar__inner > .dk-menu { flex: 1 1 auto; min-width: 0; }
.dk-navbar__inner > .dk-head__search { flex: none; }
.dk-navbar .dk-head__search .wp-block-search__button { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.dk-navbar .dk-head__search .wp-block-search__button:hover { background: rgba(255, 255, 255, .15); }
.dk-navbar .dk-head__search .wp-block-search__button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
/* Atidarius paiešką laukelis uždengia meniu eilutę, kad niekas nepasislinktų. */
.dk-navbar .dk-head__search:not(.wp-block-search__searchfield-hidden) { position: absolute; right: var(--dk-gutter, 16px); top: 50%; transform: translateY(-50%); z-index: 5; width: min(440px, calc(100% - 2 * var(--dk-gutter, 16px))); }
.dk-navbar .dk-head__search:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper { width: 100%; }
.dk-navbar .dk-head__search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input { flex: 1; width: auto; background: #fff; border-color: #fff; }
.dk-navbar .dk-head__search:not(.wp-block-search__searchfield-hidden) .wp-block-search__button { background: var(--dk-navy, #0a2a6b); color: #fff; border-color: #fff; }
@media (max-width: 1023px) {
    .dk-navbar { background: #fff; padding-bottom: 12px; border-bottom: 1px solid var(--dk-line); }
    .dk-navbar .dk-head__search .wp-block-search__button { width: 48px; height: 48px; background: #fff; color: var(--dk-blue); border-color: #c6d0dd; }
}

/* ---------- Svarbi informacija (tik pradiniame, rodoma, kai yra iškeltų naujienų) ---------- */
.dk-notices { margin: 0; padding-block: clamp(20px, 3vw, 32px) 8px; background: var(--dk-tint); border-block: 1px solid var(--dk-line); }
.dk-notices__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.dk-notices__title { margin: 0 !important; font-size: clamp(22px, 2.4vw, 28px); }
.dk-notices__arrows { display: flex; gap: 8px; }
.dk-notices__arrows button {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 2px solid var(--dk-blue);
    border-radius: 999px;
    background: #fff;
    color: var(--dk-blue);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.dk-notices__arrows button:hover { background: var(--dk-blue); color: #fff; }
.dk-notices__arrows button:disabled { opacity: .35; cursor: default; background: #fff; color: var(--dk-blue); }
/* Karuselė: kortelės slenkamos į šoną (telefone pirštu, kompiuteryje rodyklėmis). */
.dk-notices__list.wp-block-post-template {
    display: flex;
    gap: 16px;
    margin: 0;
    padding-block: 4px 20px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--dk-gutter);
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
}
.dk-notices__list > li { flex: 0 0 clamp(260px, 26vw, 360px); margin: 0; scroll-snap-align: start; }
/* Vienodo aukščio kortelės: nuotrauka užpildo visą kortelę, tekstas ant jos apačioje.
   Be nuotraukos kortelė mėlyna, rodomas naujienos tekstas. Visa kortelė yra nuoroda. */
.dk-notice {
    position: relative;
    box-sizing: border-box;
    height: clamp(300px, 24vw, 380px);
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--dk-blue);
    border-radius: var(--dk-radius);
    overflow: hidden;
    color: #fff;
    box-shadow: 0 6px 18px rgba(11, 77, 199, .15);
}
.dk-notice__img { position: absolute !important; inset: 0; margin: 0 !important; width: 100% !important; height: 100% !important; background: #fff; }
.dk-notice__img img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; object-position: center top; transition: transform .25s; }
.dk-notice:hover .dk-notice__img img { transform: scale(1.03); }
.dk-notice__body {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px;
}
.dk-notice:has(.dk-notice__img) .dk-notice__body {
    padding-top: 56px;
    background: linear-gradient(to top, rgba(4, 22, 64, .92) 0%, rgba(4, 22, 64, .8) 55%, rgba(4, 22, 64, 0) 100%);
}
.dk-notice:not(:has(.dk-notice__img)) .dk-notice__body { height: 100%; box-sizing: border-box; justify-content: flex-start; }
.dk-notice__body > * { margin: 0 !important; }
.dk-notice__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--dk-blue);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.dk-notice__title { font-size: 19px !important; line-height: 1.25; text-transform: none; color: #fff; }
.dk-notice__title a { color: #fff; text-decoration: none; }
.dk-notice__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.dk-notice:has(.dk-notice__title a:focus-visible) { outline: 3px solid var(--dk-navy); outline-offset: 2px; }
.dk-notice__title a:focus-visible { outline: none; }
.dk-notice:hover .dk-notice__title a { text-decoration: underline; }
.dk-notice__title:empty, .dk-notice__title a:empty { display: none; }
.dk-notice__date { color: rgba(255, 255, 255, .9); font-size: 14px; }
.dk-notice__text { color: #fff; font-size: 16px; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; }
.dk-notice__text p { margin: 0; }
.dk-notice__text .wp-block-post-excerpt__more-text { display: none; }
/* Pirmenybė nuotraukai: tekstas rodomas tik tada, kai nuotraukos nėra (arba nėra pavadinimo). */
.dk-notice:has(.dk-notice__img) .dk-notice__text { display: none; }
.dk-notice:has(.dk-notice__img):not(:has(.dk-notice__title a:not(:empty))) .dk-notice__text,
.dk-notice:has(.dk-notice__img):has(.dk-notice__title--tuscias) .dk-notice__text { display: -webkit-box; -webkit-line-clamp: 3; }
.dk-notice__title--tuscias { position: static; height: 0; overflow: visible; }
@media (prefers-reduced-motion: reduce) { .dk-notice__img img { transition: none; } .dk-notice:hover .dk-notice__img img { transform: none; } }
@media (max-width: 700px) {
    .dk-notices__list > li { flex-basis: 82%; }
    .dk-notices__arrows { display: none; }
}

/* ---------- Titulinė nuotrauka ir šūkis ---------- */
.dk-hero { margin: 0; background: var(--dk-navy); }
.dk-hero > * { margin: 0; }
.dk-hero, .dk-hero > *, .dk-hero .dk-slides { max-width: none !important; width: 100%; margin-inline: 0 !important; }
/* Aukštis pagal ekrano plotį: telefone 3:2 (įprasta nuotrauka telpa visa), planšetėje 16:9,
   kompiuteryje 2:1, bet ne aukščiau 70 % ekrano. Plotis visada visas; kas netelpa,
   nukerpama apačioje. */
.dk-slides { position: relative; width: 100%; height: min(66.67vw, 70vh); overflow: hidden; background: var(--dk-navy); }
@media (min-width: 700px) { .dk-slides { height: min(56.25vw, 70vh); } }
@media (min-width: 1200px) { .dk-slides { height: min(50vw, 70vh, 760px); } }
.dk-slides__item {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease, visibility 0s .8s;
}
.dk-slides__item.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.dk-slides__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dk-slides__item:focus-visible { outline: 4px solid #fff; outline-offset: -6px; }
.dk-slides__ctrl { position: absolute; right: var(--dk-gutter); bottom: 12px; display: flex; gap: 8px; z-index: 2; }
.dk-slides__btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    color: var(--dk-blue);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.dk-slides__btn:hover { background: #fff; }
.dk-slides__btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
/* Išeinanti nuotrauka dar išblunka, todėl ji matoma ir su „is-leaving“. */
.dk-slides__item.is-leaving { visibility: visible; }
/* Judesio efektai (pasirenkami By TomasB → Titulinės skaidrės). Judesys vyksta visą
   rodymo laiką (--dk-dur) ir tęsiasi, kol nuotrauka išblunka. Pasukimo taškas
   sutampa su rodoma sritimi, todėl viršus lieka matomas. */
.dk-slides--zoomout .dk-slides__item:is(.is-active, .is-leaving) img { animation: dk-zoomout var(--dk-dur, 6s) linear forwards; }
.dk-slides--zoomin .dk-slides__item:is(.is-active, .is-leaving) img { animation: dk-zoomin var(--dk-dur, 6s) linear forwards; }
.dk-slides--pan .dk-slides__item img { transform: scale(1.12); }
.dk-slides--pan .dk-slides__item:is(.is-active, .is-leaving) img { animation: dk-pan var(--dk-dur, 6s) linear forwards; }
.dk-slides.is-paused img { animation-play-state: paused !important; }
@keyframes dk-zoomout { from { transform: scale(1.15); } to { transform: scale(1); } }
@keyframes dk-zoomin { from { transform: scale(1); } to { transform: scale(1.15); } }
@keyframes dk-pan { from { transform: scale(1.12) translateX(-4%); } to { transform: scale(1.12) translateX(4%); } }
/* Stumdymas: nauja nuotrauka įslenka iš dešinės, sena išslenka į kairę (atgal – atvirkščiai). */
.dk-slides--slide .dk-slides__item { opacity: 1; visibility: hidden; transform: translateX(100%); transition: none; }
.dk-slides--slide.dk-slides--back .dk-slides__item { transform: translateX(-100%); }
.dk-slides--slide .dk-slides__item.is-active { visibility: visible; transform: none; transition: transform .8s ease; }
.dk-slides--slide .dk-slides__item.is-leaving { visibility: visible; transform: translateX(-100%); transition: transform .8s ease; }
.dk-slides--slide.dk-slides--back .dk-slides__item.is-leaving { transform: translateX(100%); }
@media (prefers-reduced-motion: reduce) {
    .dk-slides__item, .dk-slides__item.is-active, .dk-slides__item.is-leaving { transition: none !important; }
    .dk-slides__item.is-leaving { visibility: hidden; }
    .dk-slides img { animation: none !important; transform: none !important; }
}
.dk-hero__band {
    background: var(--dk-blue);
    color: #fff;
    padding-block: clamp(14px, 2vw, 22px);
    /* Kairėje lieka vietos prieinamumo įrankių mygtukui. */
    padding-left: max(var(--dk-gutter), 64px);
}
.dk-hero__band > * { margin: 0 !important; }
.dk-hero__slogan {
    color: #fff;
    font-weight: 800;
    font-size: clamp(24px, 3.2vw, 42px);
    line-height: 1.15;
    overflow-wrap: anywhere;
}

/* ---------- Plytelės ---------- */
.dk-tiles { position: relative; z-index: 2; padding-block: clamp(16px, 2.5vw, 28px); }
.dk-tiles ul {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.dk-tiles li { margin: 0; }
.dk-tiles a {
    box-sizing: border-box;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 18px 10px 16px;
    background: #fff;
    border: 1px solid var(--dk-line);
    border-radius: var(--dk-radius);
    box-shadow: 0 8px 24px rgba(11, 77, 199, .12);
    color: var(--dk-navy);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}
.dk-tiles a:hover { border-color: var(--dk-blue); color: var(--dk-blue); }
.dk-tiles__icon {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--dk-tint);
    color: var(--dk-blue);
}
.dk-tiles a:hover .dk-tiles__icon { background: var(--dk-blue); color: #fff; }
.dk-tiles svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1279px) {
    .dk-tiles ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .dk-tiles ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .dk-tiles a { flex-direction: row; justify-content: flex-start; gap: 10px; padding: 10px 12px; min-height: 60px; text-align: left; font-size: 15px; box-shadow: none; }
    .dk-tiles__icon { width: 40px; height: 40px; border-radius: 10px; }
    .dk-tiles svg { width: 22px; height: 22px; }
}

/* ---------- Išdėstymas: kairė informacija | turinys ---------- */
.dk-layout {
    display: grid;
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
    grid-template-areas: "side main";
    align-items: start;
    gap: 32px clamp(24px, 3vw, 48px);
    padding-block: clamp(24px, 3vw, 44px);
}
.dk-layout > * { margin: 0 !important; max-width: none !important; } /* tėvinis „constrained“ išdėstymas ribojo turinį iki 1024 px */
.dk-main { grid-area: main; min-width: 0; }
.dk-side { grid-area: side; display: grid; gap: 20px; }
.dk-side > * { margin: 0 !important; }

/* Dešinėje: meniu punktai, netilpę į viršutinę juostą (tik kompiuteryje). */
.dk-right { grid-area: right; display: none; }
@media (min-width: 1024px) {
    .dk-layout:has(.dk-menu--side .dk-menu__list > li:not(.dk-cut)) {
        grid-template-columns: minmax(240px, 280px) minmax(0, 1fr) minmax(220px, 260px);
        grid-template-areas: "side main right";
    }
    .dk-layout:has(.dk-menu--side .dk-menu__list > li:not(.dk-cut)) .dk-right { display: block; position: sticky; top: 16px; }
}

@media (max-width: 1023px) {
    .dk-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "main" "side";
        padding-block: 20px 32px;
    }
    .dk-side { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
}

/* ---------- Kortelės kairėje ---------- */
.dk-card {
    padding: 18px;
    background: var(--dk-soft);
    border: 1px solid var(--dk-line);
    border-radius: var(--dk-radius);
}
.dk-card > * { margin: 0; }
.dk-card > * + * { margin-top: 12px; }
.dk-card__title { margin: 0; font-size: 18px; }
.dk-banner { margin: 0; }
.dk-banner img, .dk-banners img { display: block; width: 100%; height: auto; border-radius: 8px; background: #fff; }
.dk-banners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dk-banners figure { margin: 0; }
.dk-banners a:hover img, .dk-banner a:hover img { outline: 3px solid var(--dk-blue); outline-offset: 2px; }
.dk-lessons { background: var(--dk-blue); border-color: var(--dk-blue); color: #fff; }
.dk-lessons .dk-card__title { color: #fff; }
.dk-lessons__table { margin: 0; }
.dk-lessons__table table { width: 100%; border-collapse: collapse; font-size: 16px; }
.dk-lessons__table th, .dk-lessons__table td { padding: 5px 6px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .3); text-align: left; color: #fff; }
.dk-lessons__table th { font-weight: 600; font-size: 14px; opacity: .9; }
.dk-lessons__table td[colspan] { font-style: italic; }

/* ---------- Naujienos ---------- */
.dk-section-title, .dk-page-title { margin: 0 0 20px !important; font-size: clamp(26px, 3vw, 36px); }
.dk-news { margin: 0; }
.dk-news .dk-news__grid,
.dk-news .wp-block-post-template {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: clamp(16px, 2vw, 24px);
    margin: 0;
    padding: 0;
    list-style: none;
}
.dk-news .wp-block-post-template > li { margin: 0; }
.dk-news__card {
    box-sizing: border-box;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    background: #fff;
    border: 1px solid var(--dk-line);
    border-radius: var(--dk-radius);
    overflow: hidden;
    transition: box-shadow .15s, transform .15s;
}
.dk-news__card:hover { box-shadow: 0 10px 28px rgba(10, 42, 107, .12); transform: translateY(-2px); }
.dk-news__img { margin: 0 !important; aspect-ratio: 4 / 3; background: var(--dk-tint); }
.dk-news__img a { display: block; height: 100%; }
.dk-news__img img { display: block; width: 100%; height: 100% !important; object-fit: cover; }
.dk-news__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.dk-news__body > * { margin: 0 !important; }
.dk-news__date { color: var(--dk-muted); font-size: 14px; }
.dk-news__title { font-size: 18px !important; line-height: 1.3; text-transform: none; }
.dk-news__title a { color: var(--dk-navy); text-decoration: none; }
.dk-news__title a:hover { color: var(--dk-blue); text-decoration: underline; }
.dk-news__excerpt { color: var(--dk-muted); font-size: 15px; line-height: 1.5; }
.dk-news__excerpt p { margin: 0; }
.dk-news__excerpt .wp-block-post-excerpt__more-text { margin: 12px 0 0; }
.dk-news__excerpt .wp-block-post-excerpt__more-link {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 18px;
    border: 2px solid var(--dk-blue);
    border-radius: 999px;
    color: var(--dk-blue);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
}
.dk-news__excerpt .wp-block-post-excerpt__more-link:hover { background: var(--dk-blue); color: #fff; }

.dk-pagination { margin-top: 28px !important; gap: 6px; font-weight: 600; }
.dk-pagination a, .dk-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 10px;
    border-radius: 8px;
    text-decoration: none;
}
.dk-pagination a:hover { background: var(--dk-tint); }
.dk-pagination .current { background: var(--dk-blue); color: #fff; }
.dk-pagination .wp-block-query-pagination-previous,
.dk-pagination .wp-block-query-pagination-next { border: 2px solid var(--dk-blue); border-radius: 999px; padding: 0 16px; }

.dk-archive-links { margin-top: 24px !important; }
.dk-years select { min-height: 44px; padding: 0 12px; border: 1px solid #c6d0dd; border-radius: 8px; font-size: 16px; }

/* Telefone pradiniame puslapyje rodomos 6 naujienos, kitos atsiveria mygtuku. */
.dk-more { display: none; }
@media (max-width: 700px) {
    .dk-js .dk-news--front:not(.dk-news--all) .wp-block-post-template > li:nth-child(n+7) { display: none; }
    .dk-js .dk-news--front:not(.dk-news--all) .dk-more { display: flex; }
}
.dk-more {
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 16px;
    align-items: center;
    border: 2px solid var(--dk-blue);
    border-radius: 999px;
    background: #fff;
    color: var(--dk-blue);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.dk-more:hover { background: var(--dk-blue); color: #fff; }

@media (prefers-reduced-motion: reduce) {
    .dk-notices__list.wp-block-post-template { scroll-behavior: auto; }
    .dk-news__card { transition: none; }
    .dk-news__card:hover { transform: none; }
}

/* ---------- Puslapis / naujiena ---------- */
.dk-article { max-width: 1040px; }
.dk-content { font-size: 18px; }
.dk-content > * + * { margin-top: 1em; }
.dk-content img { max-width: 100%; height: auto; }
/* Lentelės rodomos visu aukščiu: jokio atskiro vertikalaus slinkimo. Per platus
   turinys telpa laužant tekstą, o labai plati lentelė slenka tik į šoną. */
.dk-content .wp-block-table,
.dk-content figure:has(> table) { height: auto !important; max-height: none !important; overflow-x: auto; overflow-y: hidden; }
.dk-content table {
    display: table;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    max-height: none !important;
    border-collapse: collapse;
}
.dk-content tr, .dk-content td, .dk-content th { height: auto !important; max-height: none !important; }
.dk-content td, .dk-content th { padding: 6px 8px; border: 1px solid var(--dk-line); vertical-align: top; overflow-wrap: anywhere; }
.dk-content td img { max-width: 100%; height: auto; }
.dk-content td > div, .dk-content th > div { height: auto !important; max-height: none !important; overflow: visible !important; }
@media (max-width: 700px) {
    .dk-content table { font-size: 16px; }
    .dk-content td, .dk-content th { padding: 5px 6px; width: auto !important; }
}
.dk-meta { gap: 6px 16px; margin-bottom: 20px !important; color: var(--dk-muted); font-size: 15px; }
.dk-meta > * { margin: 0; }
.dk-updated { margin: 40px 0 0 !important; padding-top: 12px; border-top: 1px solid var(--dk-line); color: var(--dk-muted); font-size: 14px; }
.dk-postnav { margin-top: 32px !important; padding-top: 20px; border-top: 1px solid var(--dk-line); gap: 12px; }
.dk-search-page { margin-bottom: 24px !important; max-width: 640px; }

/* ---------- Svetainės medis ---------- */
.dk-sitemap > .dk-tree { columns: 300px 3; column-gap: 40px; }
.dk-sitemap > .dk-tree > li { break-inside: avoid; margin-bottom: 16px; }
.dk-tree, .dk-tree ul { margin: 0; padding-left: 1.2em; }
.dk-tree { padding-left: 0; list-style: none; }
.dk-tree li { margin: 4px 0; }
.dk-tree > li { font-weight: 600; }
.dk-tree ul { font-weight: 400; border-left: 2px solid var(--dk-line); }
/* Numeracija pagal eilės tvarką ir lygius: 1., 1.1., 1.1.2. */
.dk-tree, .dk-tree ul { counter-reset: dk-medis; list-style: none; }
.dk-tree li { counter-increment: dk-medis; }
.dk-tree li::before { content: counters(dk-medis, ".") ". "; margin-right: 4px; color: var(--dk-muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.dk-tree > li::before { color: var(--dk-blue); font-weight: 700; }
/* Spausdinti ir dalintis (inc/dalintis.php). */
.dk-share { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0 !important; padding-top: 16px; border-top: 1px solid var(--dk-line); }
.dk-share__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--dk-line); border-radius: 999px; background: #fff; color: var(--dk-blue); font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; }
.dk-share__btn:hover { border-color: var(--dk-blue); background: var(--dk-tint); color: var(--dk-navy); }
/* .addtoany ir kiti seni dalinimosi mygtukai nebereikalingi. */
.dk-content .addtoany_share_save_container, .dk-content .a2a_kit, .dk-content .sharedaddy { display: none !important; }

/* Spausdinant – tik puslapio pavadinimas ir turinys. */
@media print {
    @page { margin: 14mm 12mm; }
    body { background: #fff !important; color: #000; font-size: 11pt; }
    :is(.dk-header, header, footer, .dk-hero, .dk-side, .dk-right, .dk-a11ybar, .dk-navbar, .dk-share, .dk-postnav, .dk-updated, .dk-partners-band, .dk-notices, .dk-tiles, #pojo-a11y-toolbar, .pojo-a11y-toolbar-toggle, #wpadminbar, .addtoany_share_save_container, .a2a_kit) { display: none !important; }
    body > div[style*="b4570c"] { display: none !important; }
    .dk-layout { display: block !important; padding: 0 !important; }
    .dk-main { max-width: none !important; }
    .dk-content a { color: #000; }
    .dk-tree a { color: #000 !important; text-decoration: none !important; }
    .dk-tree li::before, .dk-tree > li::before { color: #000 !important; }
    .dk-sitemap > .dk-tree { columns: 2; column-gap: 10mm; }
    .dk-tree ul { border-left-color: #bbb; }
    .dk-tree li, .dk-content figure, .dk-content img, .dk-content tr { break-inside: avoid; }
}

/* ---------- Steigėjai ir partneriai ---------- */
.dk-partners-band { margin: 0; background: var(--dk-soft); border-top: 1px solid var(--dk-line); }
.dk-partners-band__inner { display: grid; gap: 28px; padding-block: clamp(24px, 3vw, 40px); }
.dk-partners-band__inner > * { margin: 0; }
.dk-logos__title { margin: 0 0 14px; font-size: 16px; color: var(--dk-muted); text-transform: uppercase; letter-spacing: .06em; }
.dk-logos__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.dk-logos__row figure { margin: 0; }
.dk-logos__row img { display: block; height: 72px !important; width: auto !important; max-width: 200px; object-fit: contain; }
@media (max-width: 600px) {
    .dk-logos__row { gap: 14px 20px; }
    .dk-logos__row img { height: 52px !important; max-width: 140px; }
}

/* ---------- Poraštė ---------- */
.dk-footer { background: var(--dk-blue); color: #fff; font-size: 16px; }
.dk-footer a { color: #fff; }
.dk-footer h2 { margin: 0 0 12px; font-size: 18px; color: #fff; }
.dk-footer__cols {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(280px, 2fr);
    gap: 32px clamp(24px, 4vw, 64px);
    padding-block: clamp(32px, 4vw, 56px);
}
.dk-footer__col > * { margin-top: 0; }
.dk-footer__col p { margin: 0 0 12px; }
.dk-footer__links { margin: 0; padding: 0; list-style: none; }
.dk-footer__links li { margin: 0; }
.dk-footer__links a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; }
.dk-footer__links a:hover { text-decoration: underline; }
.dk-footer__logos { display: flex; flex-wrap: wrap; gap: 10px; }
.dk-footer__logos figure { margin: 0; }
.dk-footer__logos a { display: flex; align-items: center; justify-content: center; height: 64px; padding: 6px 10px; background: #fff; border-radius: 8px; }
.dk-footer__logos img { height: 52px !important; width: auto !important; max-width: 150px; object-fit: contain; }
/* Poraštės skyriai iš pagrindinio meniu (inc/poraste.php). */
.dk-footer__help { padding-block: clamp(24px, 3vw, 40px) 0; }
.dk-footer__menu { padding-block: clamp(24px, 3vw, 40px); }
.dk-footer__help + .dk-footer__menu { margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid rgba(255, 255, 255, .35); }
.home .dk-footer__help + .dk-footer__menu { margin-top: 0; border-top: 0; }
.dk-footer__menu:not(:has(.dk-fmenu)) { display: none; }
.dk-fmenu { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px clamp(20px, 3vw, 44px); }
.dk-fmenu__title { margin: 0 0 10px !important; font-size: 15px !important; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.dk-fmenu__title a { text-decoration: none; }
.dk-fmenu__title a:hover { text-decoration: underline; }
.dk-fmenu ul { margin: 0; padding: 0; list-style: none; }
.dk-fmenu li { margin: 0; }
.dk-fmenu li a { display: inline-block; padding: 5px 0; font-size: 15px; line-height: 1.35; text-decoration: none; opacity: .92; }
.dk-fmenu li a:hover { text-decoration: underline; opacity: 1; }
@media (max-width: 1000px) { .dk-fmenu { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; } }
.dk-fmenu__col + .dk-fmenu__col { border-left: 1px solid rgba(255, 255, 255, .25); padding-left: clamp(16px, 2vw, 28px); }
@media (max-width: 1000px) { .dk-fmenu__col:nth-child(odd) { border-left: 0; padding-left: 0; } }
@media (max-width: 420px) { .dk-fmenu { grid-template-columns: minmax(0, 1fr); } .dk-fmenu__col + .dk-fmenu__col { border-left: 0; padding-left: 0; } }
.dk-footer__bottom { padding-block: 16px 24px; border-top: 1px solid rgba(255, 255, 255, .35); font-size: 14px; }
.dk-footer__bottom p { margin: 0; }
/* Rekvizitai ir kontaktai – viena eilute, centruota; siaurame ekrane lūžta į kelias, irgi centruotas. */
.dk-footer__bottom:has(.dk-footer__req) { padding-block: 18px 26px; font-size: 16px; }
.dk-footer__req { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; line-height: 1.6; text-align: center; }
.dk-footer__req > * { white-space: nowrap; }
.dk-footer__req > * + *::before { content: "·"; margin: 0 10px; opacity: .7; }
.dk-footer__req a { text-decoration: none; }
.dk-footer__req a:hover { text-decoration: underline; }
@media (max-width: 900px) {
    .dk-footer__cols { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Telefonas ---------- */
@media (max-width: 700px) {
    body { font-size: 18px; }
    .dk-a11ybar__links { justify-content: flex-end; gap: 0 14px; }
    .dk-head__inner { padding-block: 10px; }
    .dk-head__inner { gap: 10px 12px; }
    .dk-logo img { height: 44px; }
    .dk-pills.wp-block-navigation { flex-wrap: nowrap !important; overflow-x: auto; }
    .dk-pills .wp-block-navigation-item__content { white-space: nowrap; }
}

/* ---------- Naujienos nuotraukų tinklelis ---------- */
.dk-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    gap: 10px;
    margin: 28px 0 0 !important;
    max-width: none;
}
.dk-gallery__item { margin: 0; }
.dk-gallery__item a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: var(--dk-tint); cursor: zoom-in; }
.dk-gallery__item img { display: block; width: 100% !important; height: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; object-fit: cover; transition: transform .25s; }
.dk-gallery__item a:hover img { transform: scale(1.04); }
.dk-gallery__item a:focus-visible { outline: 3px solid var(--dk-blue); outline-offset: 3px; }
/* Viena nuotrauka – rodoma visa, natūralių proporcijų; dvi – per pusę. */
.dk-gallery--1 { grid-template-columns: minmax(0, 1fr); }
.dk-gallery--1 .dk-gallery__item a { aspect-ratio: auto; background: none; }
.dk-gallery--1 .dk-gallery__item img { height: auto !important; max-height: 75vh; object-fit: contain; }
.dk-gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) {
    .dk-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
    .dk-gallery--1 { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .dk-gallery__item img { transition: none; } .dk-gallery__item a:hover img { transform: none; } }

/* ---------- Didinimo langas ---------- */
.dk-lb-open, .dk-lb-open body { overflow: hidden; }
.dk-lb {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 64px;
    background: rgba(5, 15, 40, .94);
    touch-action: pan-y;
}
.dk-lb[hidden] { display: none; }
.dk-lb__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 100%; max-height: 100%; }
.dk-lb__img { display: block; max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.dk-lb__cap { color: #fff; font-size: 16px; text-align: center; max-width: 70ch; }
.dk-lb__count { position: absolute; top: 18px; left: 20px; color: #fff; font-size: 15px; }
.dk-lb__btn {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--dk-navy);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}
.dk-lb__btn:hover { background: #fff; }
.dk-lb__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.dk-lb__close { top: 10px; right: 12px; }
.dk-lb__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.dk-lb__next { right: 10px; top: 50%; transform: translateY(-50%); }
.dk-lb__btn[hidden] { display: none; }
@media (max-width: 700px) {
    .dk-lb { padding: 56px 8px 72px; }
    .dk-lb__prev, .dk-lb__next { top: auto; bottom: 12px; transform: none; }
    .dk-lb__prev { left: calc(50% - 60px); }
    .dk-lb__next { right: calc(50% - 60px); }
}

/* ---------- Pradinio puslapio naujienų juosta (inc/naujienos.php) ---------- */
.dk-strip { margin: 0; min-width: 0; }
.dk-strip__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 10px; }
.dk-strip__head .dk-section-title { margin: 0 !important; }
.dk-strip__years { display: flex; flex-wrap: wrap; gap: 6px; }
.dk-strip__years a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--dk-line);
    border-radius: 999px;
    background: #fff;
    color: var(--dk-navy);
    font-weight: 700;
    text-decoration: none;
}
.dk-strip__years a:hover { border-color: var(--dk-blue); background: var(--dk-tint); }
.dk-strip__years a.is-active { background: var(--dk-blue); border-color: var(--dk-blue); color: #fff; }

/* Datų juosta: mėnesiai ant laiko linijos, naujausi kairėje (kaip ir naujienos). */
.dk-strip__dates { position: relative; overflow-x: auto; scrollbar-width: none; margin: 0 0 14px; padding-bottom: 2px; }
.dk-strip__dates::-webkit-scrollbar { display: none; }
.dk-strip__track {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    width: max-content;
    margin: 0;
    padding: 0 0 14px;
    list-style: none;
}
.dk-strip__track::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--dk-line); }
.dk-strip__track > li { position: relative; margin: 0; }
.dk-strip__year { align-self: center; padding: 0 6px 0 14px; color: var(--dk-blue); font-weight: 800; font-size: 15px; }
.dk-strip__year:first-child { padding-left: 0; }
.dk-strip__month {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--dk-ink);
    font-size: 15px;
    white-space: nowrap;
    text-decoration: none;
}
/* Taškas ant laiko linijos. */
.dk-strip__month::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    border-radius: 50%;
    background: #b8c6dc;
    z-index: 1;
    transition: transform .2s, background .2s;
}
.dk-strip__month:hover { background: var(--dk-tint); color: var(--dk-navy); }
.dk-strip__count { display: none; }
.dk-strip__month.is-active { background: var(--dk-blue); color: #fff; font-weight: 700; }
.dk-strip__month.is-active::after { background: var(--dk-blue); transform: scale(1.6); box-shadow: 0 0 0 3px #fff; }

/* Dienų eilutė po mėnesiais: matomo mėnesio dienos, naujienų dienos paspaudžiamos. */
.dk-strip__days { overflow-x: auto; scrollbar-width: none; margin: -6px 0 14px; }
.dk-strip__days::-webkit-scrollbar { display: none; }
.dk-strip__days[hidden] { display: none; }
.dk-strip__daytrack { display: flex; gap: 3px; width: max-content; margin: 0; padding: 2px 0; list-style: none; }
.dk-strip__daytrack > li { margin: 0; }
.dk-strip__day {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 34px;
    min-height: 44px;
    border-radius: 8px;
    color: var(--dk-ink);
    font-size: 15px;
    line-height: 1.1;
    text-decoration: none;
}
.dk-strip__wd { font-size: 11px; color: var(--dk-muted); text-transform: uppercase; letter-spacing: .02em; }
.dk-strip__dn { font-weight: 700; }
a.dk-strip__day { background: var(--dk-tint); color: var(--dk-navy); box-shadow: inset 0 -3px 0 var(--dk-blue); }
a.dk-strip__day:hover { background: #d5e3fb; }
a.dk-strip__day:focus-visible { outline: 3px solid var(--dk-blue); outline-offset: 2px; }
a.dk-strip__day.is-active { background: var(--dk-blue); color: #fff; box-shadow: none; }
a.dk-strip__day.is-active .dk-strip__wd { color: rgba(255, 255, 255, .85); }
.dk-strip__day.is-empty { color: #5f6b7d; } /* Komanda 128: WAVE kontrastas ≥ 4,5:1 (buvo #9aa6b8). */
.dk-strip__day.is-empty .dk-strip__dn { font-weight: 400; }
.dk-strip__day.is-weekend .dk-strip__wd { color: #b04a4a; }
a.dk-strip__day.is-active.is-weekend .dk-strip__wd { color: rgba(255, 255, 255, .85); }
@media (max-width: 700px) { .dk-strip__day { width: 32px; } }

/* Naujienų eilė. */
.dk-strip__viewport { position: relative; }
/* Kortelės ir eilė pozicionuotos, kad paslėpti tekstai (.dk-sr) liktų eilės viduje ir neplėstų puslapio į šoną. */
.dk-strip__list, .dk-strip__item, .dk-news__card { position: relative; }
.dk-strip, .dk-strip__viewport { max-width: 100%; }
.dk-strip__list {
    display: flex;
    gap: clamp(14px, 1.6vw, 20px);
    margin: 0;
    padding: 4px 2px 14px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 2px;
    scrollbar-width: thin;
    scrollbar-color: #b8c6dc transparent;
    overscroll-behavior-x: contain;
}
/* 2026-11-24 (Komanda 133, Tomas): kortelės (naujienos ir „Svarbi informacija“) – pastovaus pločio, nesiaurėja;
   kai visos netelpa į vieną eilę – eilė iškart slenkama kaip karuselė (rodyklės). */
:root { --dk-kortele: 260px; }
.dk-strip__item { flex: 0 0 var(--dk-kortele); display: flex; margin: 0; scroll-snap-align: start; }
@media (max-width: 700px) { .dk-strip__item { flex-basis: 82%; } }
.dk-strip__item .dk-news__card { width: 100%; }
.dk-strip .dk-news__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.dk-strip .dk-news__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dk-news__noimg { display: block; height: 100%; background: linear-gradient(135deg, var(--dk-tint), #d5e3fb); }
.dk-strip .dk-news__body { flex: 1; }
.dk-strip .dk-news__title { margin: 0; }
.dk-strip .dk-news__excerpt {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dk-news__more {
    align-self: flex-start;
    margin-top: auto !important;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 18px;
    border: 2px solid var(--dk-blue);
    border-radius: 999px;
    color: var(--dk-blue);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
}
.dk-news__more:hover { background: var(--dk-blue); color: #fff; }
.dk-strip .dk-news__body > .dk-news__more { margin-top: auto !important; }
.dk-strip .dk-news__body > .dk-news__excerpt + .dk-news__more { margin-top: 12px; }
.dk-strip__list[aria-busy="true"] { opacity: .5; transition: opacity .2s; }

/* Rodyklės kortelių kraštuose (kompiuteryje). */
.dk-strip__arrow {
    position: absolute;
    top: calc(50% - 30px);
    z-index: 3;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--dk-blue);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    box-shadow: 0 6px 18px rgba(10, 42, 107, .25);
    cursor: pointer;
}
.dk-strip__arrow:hover { background: var(--dk-navy); }
.dk-strip__arrow--prev { left: 6px; }
.dk-strip__arrow--next { right: 6px; }
.dk-strip__arrow[hidden], .dk-strip:not(.is-ready) .dk-strip__arrow { display: none; }
@media (max-width: 700px) { .dk-strip__arrow { display: none; } }
@media (prefers-reduced-motion: reduce) {
    .dk-strip__month::after { transition: none; }
}

/* ---------- Pradinis: iniciatyvos, steigėjai ir partneriai po naujienomis ---------- */
.dk-front-more { margin-top: clamp(32px, 4vw, 52px) !important; padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--dk-line); }
.dk-front-more > * { margin-block: 0; }
.dk-front-more .dk-banners { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; align-items: center; }
.dk-front-more .dk-banners img { aspect-ratio: auto; }
.dk-front-logos { display: grid; gap: 24px; margin-top: clamp(28px, 3vw, 40px) !important; padding: clamp(18px, 2.4vw, 28px); background: var(--dk-soft); border: 1px solid var(--dk-line); border-radius: var(--dk-radius); }
.dk-front-logos > * { margin: 0; }
/* Pagalbos ir iniciatyvų logotipai (inc/iniciatyvos.php): baltos plytelės. */
.dk-inits { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.dk-inits li { margin: 0; }
.dk-inits a, .dk-inits li > img { box-sizing: border-box; display: flex; align-items: center; justify-content: center; height: 76px; padding: 6px 12px; background: #fff; border: 1px solid var(--dk-line); border-radius: 10px; }
.dk-inits img { display: block; height: 60px !important; width: auto !important; max-width: 170px; object-fit: contain; }
.dk-inits li > img { width: auto !important; }
.dk-inits a:hover { border-color: var(--dk-blue); box-shadow: 0 6px 16px rgba(10, 42, 107, .12); }
.dk-footer .dk-inits a { height: 64px; border: 0; }
.dk-footer .dk-inits img { height: 52px !important; max-width: 150px; }
@media (max-width: 700px) { .dk-inits a { height: 64px; } .dk-inits img { height: 48px !important; max-width: 130px; } }
/* Pradiniame puslapyje šie logotipai rodomi po naujienomis, todėl poraštėje nekartojami. */
.home .dk-footer__help { display: none; }
.home .dk-footer__cols { grid-template-columns: minmax(0, 1fr); }

/* Pradiniame „Naudinga“ – po steigėjais ir partneriais, kairėje nekartojama. */
.dk-front-useful { margin-top: clamp(28px, 3vw, 40px) !important; }
.dk-front-useful .dk-banners { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; align-items: center; }
.dk-front ~ .dk-side .dk-links { display: none; }

/* Pradinis po naujienomis: „Pagalba ir iniciatyvos“, steigėjai, partneriai ir „Naudinga“ – vienodu
   stiliumi: baltos plytelės su rėmeliu, poskyrių antraštės smulkesnės už pagrindinę. */
.dk-front-more .dk-front-logos { display: grid; gap: clamp(24px, 3vw, 36px); margin-top: clamp(28px, 3vw, 40px) !important; padding: 0; background: none; border: 0; border-radius: 0; }
.dk-front-more .dk-logos__title,
.dk-front-useful .dk-section-title { margin: 0 0 12px !important; font-size: 20px !important; color: var(--dk-navy); letter-spacing: 0; text-transform: none; }
.dk-front-more .dk-logos__row,
.dk-front-useful .dk-banners { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.dk-front-more .dk-logos__row figure,
.dk-front-useful .dk-banners figure {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 76px;
    margin: 0;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid var(--dk-line);
    border-radius: 10px;
}
.dk-front-more .dk-logos__row figure a,
.dk-front-useful .dk-banners figure a { display: flex; align-items: center; height: 100%; }
.dk-front-more .dk-logos__row img,
.dk-front-useful .dk-banners img { display: block; height: 60px !important; width: auto !important; max-width: 170px; object-fit: contain; border-radius: 0; background: none; outline: 0 !important; }
.dk-front-more .dk-logos__row figure:has(a:hover),
.dk-front-useful .dk-banners figure:has(a:hover) { border-color: var(--dk-blue); box-shadow: 0 6px 16px rgba(10, 42, 107, .12); }
@media (max-width: 700px) {
    .dk-front-more .dk-logos__row figure, .dk-front-useful .dk-banners figure { height: 64px; }
    .dk-front-more .dk-logos__row img, .dk-front-useful .dk-banners img { height: 48px !important; max-width: 130px; }
}
/* Visų keturių blokų antraštės vienodos. */
.dk-front-more .dk-front-more__title,
.dk-front-more .dk-logos__title,
.dk-front-more .dk-front-useful .dk-section-title { margin: 0 0 12px !important; font-size: 20px !important; font-weight: 800; color: var(--dk-blue); letter-spacing: 0; text-transform: none; }

/* ---------- Facebook įrašų karuselė (inc/facebook.php) ---------- */
.dk-fb { margin-top: clamp(32px, 4vw, 52px) !important; min-width: 0; }
.dk-fb__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 14px; }
.dk-fb__head .dk-section-title { margin: 0 !important; }
.dk-fb__follow { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--dk-blue); color: #fff; font-weight: 700; text-decoration: none; }
.dk-fb__follow:hover { background: var(--dk-navy); color: #fff; }
.dk-fb__viewport { position: relative; max-width: 100%; }
.dk-fb__list { position: relative; display: flex; gap: clamp(14px, 1.6vw, 20px); margin: 0; padding: 4px 2px 14px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #b8c6dc transparent; overscroll-behavior-x: contain; }
.dk-fb__item { position: relative; flex: 0 0 clamp(250px, 23%, 320px); display: flex; margin: 0; scroll-snap-align: start; }
@media (max-width: 1100px) { .dk-fb__item { flex-basis: clamp(250px, 31%, 320px); } }
@media (max-width: 700px) { .dk-fb__item { flex-basis: 82%; } }
.dk-fb__card { position: relative; width: 100%; }
.dk-fb .dk-news__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.dk-fb .dk-news__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dk-fb .dk-news__body { flex: 1; }
.dk-fb__text { margin: 0; color: var(--dk-ink); font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.dk-fb:not(.is-ready) .dk-strip__arrow { display: none; }

/* Mygtukų prie logotipo submeniu (navigacija 282): išskleidžiamas baltas sąrašas. */
.dk-pills .wp-block-navigation__submenu-container { z-index: 60; background: #fff !important; border: 1px solid var(--dk-line) !important; border-radius: 10px; box-shadow: 0 10px 28px rgba(10, 42, 107, .14); }
.dk-pills .wp-block-navigation__submenu-container .wp-block-navigation-item__content { width: 100%; border: 0 !important; border-radius: 6px; white-space: normal; }
.dk-pills .wp-block-navigation__submenu-icon { margin-left: 2px; }
/* Telefone, jei yra submeniu, mygtukai keliasi į kitą eilutę (slenkanti juosta nukirstų sąrašą). */
@media (max-width: 700px) {
    /* Viena eilutė: ir meniu, ir jo sąrašas (ul) nelaužomi; išskleidžiamas submeniu matomas. */
    .dk-head__tools { flex-wrap: nowrap; justify-content: space-between; }
    .dk-pills.wp-block-navigation, .dk-pills .wp-block-navigation__container { flex-wrap: nowrap !important; gap: 6px; }
    .dk-pills.wp-block-navigation:has(.has-child) { overflow: visible; }
    .dk-pills .wp-block-navigation-item__content { padding: 0 12px !important; }
    .dk-pills .wp-block-navigation__submenu-container { right: auto; left: 0; max-width: calc(100vw - 32px); }
}

/* Žemesnis baneris (By TomasB → Titulinės skaidrės): apie 30 % mažesnis aukštis. */
.dk-slides--low { height: min(46.67vw, 49vh); }
@media (min-width: 700px) { .dk-slides--low { height: min(39.4vw, 49vh); } }
@media (min-width: 1200px) { .dk-slides--low { height: min(35vw, 49vh, 532px); } }

/* Panorama iš naujienų nuotraukų: viena lėtai slenkanti juosta, kiekviena nuotrauka
   kairiu kraštu švelniai išnyra iš ankstesnės (persidengia ir išblunka). */
.dk-slides--pano { --dk-pano-fade: clamp(60px, 9vw, 160px); }
.dk-pano__track { display: flex; width: max-content; height: 100%; will-change: transform; }
.dk-slides--pano.is-ready .dk-pano__track { animation: dk-pano var(--dk-pano-dur, 120s) linear infinite; animation-play-state: paused; }
.dk-slides--pano.is-ready.is-moving .dk-pano__track { animation-play-state: running; }
.dk-pano__set img:not([src]) { visibility: hidden; }
.dk-pano__set { display: flex; height: 100%; flex: none; }
.dk-pano__set img { display: block; height: 100%; width: auto; max-width: none; flex: none; object-fit: cover; margin-left: calc(-1 * var(--dk-pano-fade));
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--dk-pano-fade)); mask-image: linear-gradient(to right, transparent 0, #000 var(--dk-pano-fade)); }
@keyframes dk-pano { from { transform: translateX(0); } to { transform: translateX(var(--dk-pano-shift, -50%)); } }
.dk-slides--pano.is-moving:focus-within .dk-pano__track, .dk-slides--pano.is-moving.is-paused .dk-pano__track { animation-play-state: paused; }
@media (hover: hover) { .dk-slides--pano.is-moving:hover .dk-pano__track { animation-play-state: paused; } }
@media (prefers-reduced-motion: reduce) {
    .dk-pano__track { animation: none; }
    .dk-slides--pano { overflow-x: auto; }
    .dk-pano__set[aria-hidden] { display: none; }
}

/* Submeniu plotis tik kai jis atidarytas: paslėptas nebeišsikiša už ekrano (telefone nebeatsiranda tuščia zona šone). */
.dk-pills .has-child:is(:hover, :focus-within) > .wp-block-navigation__submenu-container,
.dk-pills .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container { min-width: 220px !important; padding: 6px !important; }
/* Apsauga: puslapis niekada neslenka į šoną. */
html, body { overflow-x: clip; }
/* Prieinamumo įrankių mygtukas telefone nebeuždengia logotipo: nuleistas žemiau ir mažesnis. */
@media (max-width: 1023px) {
    #pojo-a11y-toolbar { top: 45vh !important; }
    #pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a { padding: 6px !important; }
    #pojo-a11y-toolbar .pojo-a11y-toolbar-toggle svg { width: 26px !important; height: 26px !important; }
}

/* Inžinerijos įrašų sąrašas: vienas po kito – nuotrauka, pavadinimas, data, įžanga, „Daugiau“. */
.dk-blog { margin-top: clamp(24px, 3vw, 36px); }
.dk-blog__list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.dk-blog__item { padding-block: clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--dk-line); }
.dk-blog__list > li:first-child .dk-blog__item { padding-top: 0; }
.dk-blog__item > * { margin-block: 0 !important; }
.dk-blog__img { margin-bottom: 16px !important; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: var(--dk-tint); }
.dk-blog__img a { display: block; height: 100%; }
.dk-blog__img img { display: block; width: 100%; height: 100% !important; object-fit: cover; transition: transform .25s; }
.dk-blog__img a:hover img { transform: scale(1.02); }
.dk-blog__title { font-size: clamp(22px, 2.4vw, 28px) !important; line-height: 1.25; text-transform: none; }
.dk-blog__title a { color: var(--dk-blue); text-decoration: none; }
.dk-blog__title a:hover { text-decoration: underline; }
.dk-blog__date { margin-top: 6px !important; color: #5a6475; font-size: 15px; }
.dk-blog__excerpt { margin-top: 12px !important; }
.dk-blog__excerpt .wp-block-post-excerpt__excerpt { margin: 0; }
.dk-blog__excerpt .wp-block-post-excerpt__more-text { margin: 12px 0 0; }
.dk-blog__excerpt .wp-block-post-excerpt__more-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 1px solid var(--dk-blue); border-radius: 999px; color: var(--dk-blue); font-weight: 600; text-decoration: none; }
.dk-blog__excerpt .wp-block-post-excerpt__more-link:hover { background: var(--dk-blue); color: #fff; }
@media (prefers-reduced-motion: reduce) { .dk-blog__img img { transition: none; } .dk-blog__img a:hover img { transform: none; } }
/* Plytelės savas ikonos paveikslėlis (By TomasB → Plytelės). */
.dk-tiles__img { display: block; width: 32px; height: 32px; object-fit: contain; }

/* Skirtukai turinyje (inc/skirtukai.php): <div class="dk-tabs"> su h2 antraštėmis. */
.dk-tabs { margin: 24px 0; }
.dk-tabs__list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: -1px; }
.dk-tabs__tab { padding: 10px 16px; min-height: 44px; font: inherit; font-weight: 700; color: var(--dk-blue); background: var(--dk-tint); border: 1px solid var(--dk-line); border-radius: 10px 10px 0 0; cursor: pointer; text-align: left; }
.dk-tabs__tab:hover { background: #fff; }
.dk-tabs__tab[aria-selected="true"] { background: #fff; border-bottom-color: #fff; color: var(--dk-ink); position: relative; z-index: 1; }
.dk-tabs__tab:focus-visible { outline: 3px solid var(--dk-blue); outline-offset: 2px; }
.dk-tabs__panel { padding: 20px clamp(14px, 2.5vw, 24px); border: 1px solid var(--dk-line); border-radius: 0 10px 10px 10px; background: #fff; }
.dk-tabs.is-ready .dk-tabs__heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dk-tabs__panel > ul { margin: 0; padding-left: 1.2em; }
.dk-tabs__panel li { margin: 6px 0; }
.dk-tabs__panel li ul { margin-top: 4px; }
@media (max-width: 600px) { .dk-tabs__list { flex-direction: column; } .dk-tabs__tab { border-radius: 8px; } .dk-tabs__panel { border-radius: 10px; margin-top: 6px; } }
@media print { .dk-tabs__list { display: none; } .dk-tabs__panel[hidden] { display: block !important; } .dk-tabs.is-ready .dk-tabs__heading { position: static; width: auto; height: auto; clip: auto; } }

/* ---------- Mokytojų sąrašas ([mokytojai]) ---------- */
.dk-teachers { margin: 16px 0 24px; }
.dk-teachers__search { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 8px; }
.dk-teachers__search label { font-weight: 600; }
.dk-teachers__search input { flex: 1 1 260px; max-width: 420px; min-height: 44px; padding: 0 14px; border: 1px solid var(--dk-line); border-radius: 999px; font: inherit; }
.dk-teachers__search input:focus { outline: 3px solid var(--dk-blue); outline-offset: 1px; }
.dk-teachers__count { margin: 0 0 10px; color: var(--dk-muted); font-size: 15px; }
.dk-teachers__table { width: 100%; border-collapse: collapse; font-size: 16px; }
.dk-teachers__table th { background: var(--dk-blue); color: #fff; text-align: left; padding: 10px 12px; font-weight: 700; }
.dk-teachers__table td { padding: 8px 12px; border-bottom: 1px solid var(--dk-line); vertical-align: top; }
.dk-teachers__table tbody tr:nth-child(even) { background: var(--dk-soft); }
.dk-teachers__table td:first-child { font-weight: 600; white-space: nowrap; }
.dk-teachers { overflow-x: auto; }
/* El. paštas: visi paveikslėliai vienodo aukščio (plotis pagal adresą), kad šriftas būtų vienodo dydžio. */
.dk-teachers__table td:last-child { width: 1%; white-space: nowrap; }
.dk-teachers__table img, .dk-content .dk-teachers__table td img { display: block; height: 1.35em !important; width: auto !important; max-width: none !important; }
.dk-mail__link { overflow-wrap: anywhere; }
.dk-teachers__subjects { margin: 0; padding: 0; list-style: none; }
.dk-teachers__subjects li { margin: 0; padding: 1px 0; }
@media (max-width: 700px) {
    .dk-teachers__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .dk-teachers__table, .dk-teachers__table tbody, .dk-teachers__table tr, .dk-teachers__table td { display: block; width: 100%; }
    .dk-teachers__table tr { padding: 10px 0; border-bottom: 1px solid var(--dk-line); }
    .dk-teachers__table tr[hidden] { display: none; }
    .dk-teachers__table td { padding: 2px 4px; border: 0; white-space: normal; }
    .dk-teachers__table td:first-child { font-size: 17px; }
    .dk-teachers__subjects li { display: inline; }
    .dk-teachers__subjects li + li::before { content: ", "; }
    .dk-teachers__table td:empty { display: none; }
}
@media print { .dk-teachers__search, .dk-teachers__count { display: none; } }

/* ---------- Svarbi informacija: naujienų eilės režimas (inc/svarbu.php) ---------- */
/* Naujienų stulpelyje virš antraštės „Naujienos“, kortelės tokio pat pločio kaip naujienų. */
/* Komanda 133: visada viena eilė; kai kortelės netelpa, eilė tampa karusele (slenkama, rodyklės prie antraštės). */
.dk-pinned { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; margin: 0 0 clamp(24px, 3vw, 36px); padding: 0 0 clamp(20px, 2.5vw, 28px); border-bottom: 1px solid var(--dk-line); }
.dk-pinned__title { margin: 0 0 14px !important; font-size: clamp(22px, 2.4vw, 28px); }
.dk-pinned .dk-notices__arrows { margin: 0 0 14px; }
.dk-pinned__list { grid-column: 1 / -1; display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; gap: clamp(16px, 2vw, 24px); margin: 0; padding: 4px 2px 10px; list-style: none; }
.dk-pinned__item { flex: 0 0 var(--dk-kortele, 260px); display: flex; margin: 0; scroll-snap-align: start; }
.dk-notices__arrows[hidden] { display: none; }
.dk-pinned__item .dk-news__card { width: 100%; border-color: var(--dk-blue); box-shadow: inset 0 4px 0 var(--dk-blue); }
.dk-pinned__tag { display: inline-flex !important; align-items: center; gap: 5px; align-self: flex-start; padding: 2px 10px; border-radius: 999px; background: var(--dk-blue); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 700px) {
    .dk-pinned__item { flex: 0 0 80%; }
}

/* Darbuotojai pagal pareigas ir klasės (iš dienyno) */
.dk-staff__group { margin: 0 0 2rem; }
.dk-staff__title { margin: 1.5rem 0 .6rem; color: #0b4dc7; font-size: 1.2rem; }
.dk-classes__name { font-weight: 700; white-space: nowrap; }
.dk-classes ul { margin: 0; padding: 0; list-style: none; }
.dk-classes ul li + li { margin-top: .35em; }
.dk-classes .dk-teachers__subjects li { min-height: 1.6em; display: flex; align-items: center; }
.dk-clubs__name { font-weight: 700; }
.dk-library__table td:first-child { font-weight: 400; white-space: normal; }
.dk-library__table td strong { font-weight: 700; }
.dk-library__table { table-layout: fixed; }
.dk-library__table th:nth-child(1) { width: 34%; } .dk-library__table th:nth-child(n+3), .dk-library__table td:nth-child(n+3) { width: 8.5em; white-space: nowrap; }
@media (max-width: 700px) { .dk-library__table { table-layout: auto; } .dk-library__table th { width: auto; } }

/* Klasikinio redaktoriaus lygiavimas (nuotraukos ir antraštės centre / šonuose). */
.dk-content .aligncenter, .dk-content img.aligncenter, .dk-content .wp-caption.aligncenter { display: block; margin-left: auto !important; margin-right: auto !important; }
.dk-content .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.dk-content .alignright { float: right; margin: .3em 0 1em 1.4em; }
.dk-content .wp-caption { max-width: 100%; }
.dk-content .wp-caption img { display: block; margin: 0 auto; }
.dk-content .wp-caption-text { margin: .4em 0 0; font-size: .9em; color: #5a6475; text-align: center; }
.dk-content::after { content: ""; display: table; clear: both; }
@media (max-width: 600px) { .dk-content .alignleft, .dk-content .alignright { float: none; display: block; margin: 0 auto 1em; } }

/* Puslapio priedai (dokumentų lentelė) */
.dk-att { margin: 40px 0 0; }
.dk-att__title { margin: 0 0 12px; font-size: 1.3rem; color: var(--dk-navy, #0a2e7a); }
.dk-att__wrap { overflow-x: auto; }
.dk-att__table { width: 100%; border-collapse: collapse; font-size: 15px; border: 1px solid var(--dk-line); }
.dk-att__table td, .dk-att__table th { padding: 12px 10px; border-bottom: 1px solid var(--dk-line); text-align: left; vertical-align: middle; }
.dk-att__table td + td { border-left: 1px solid var(--dk-line); }
.dk-att__dl, .dk-att__type { width: 44px; text-align: center !important; }
.dk-att__dl a { display: inline-flex; padding: 4px; color: #5a6475; border-radius: 6px; }
.dk-att__dl a:hover, .dk-att__dl a:focus-visible { color: var(--dk-blue); background: var(--dk-tint); }
.dk-att__ext { display: inline-block; min-width: 34px; padding: 2px 4px; border-radius: 4px; font-size: 10px; font-weight: 700; letter-spacing: .02em; color: #fff; background: #5a6475; }
.dk-att__ext--pdf { background: #b3261e; } .dk-att__ext--doc { background: #1f5bb5; } .dk-att__ext--xls { background: #1d7a45; } .dk-att__ext--ppt { background: #c4561b; }
.dk-att__name a { color: inherit; text-decoration: none; } .dk-att__name a:hover { color: var(--dk-blue); text-decoration: underline; }
.dk-att__date { width: 7.5em; white-space: nowrap; color: #5a6475; }
.dk-att__size { width: 6.5em; white-space: nowrap; color: #5a6475; }
.dk-att__group th { background: #ececec; font-weight: 600; font-size: 14px; }
.dk-att__sub th { background: #f6f7f9; padding: 0 !important; }
.dk-att__sub button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 10px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; color: inherit; }
.dk-att__sub button:hover { background: var(--dk-tint); }
.dk-att__sign { position: relative; width: 14px; height: 14px; flex: none; }
.dk-att__sign::before, .dk-att__sign::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: currentColor; }
.dk-att__sign::after { transform: rotate(90deg); }
.dk-att__sub button[aria-expanded="true"] .dk-att__sign::after { display: none; }
@media (max-width: 600px) { .dk-att__type, .dk-att__date { display: none; } .dk-att__table td, .dk-att__table th { padding: 10px 8px; } }
@media print { .dk-att__dl, .dk-att__sub .dk-att__sign { display: none; } .dk-att tbody[hidden] { display: table-row-group !important; } }
.dk-att__head th { padding: 0 10px !important; background: var(--dk-blue); color: #fff; height: 46px; font-size: 14px; }
.dk-att__head th + th { border-left: 1px solid rgba(255,255,255,.25); }
.dk-att__h-tools { text-align: center !important; }
.dk-att__sort, .dk-att__find { display: inline-flex; align-items: center; gap: 6px; padding: 6px 4px; border: 0; background: none; color: inherit; font: inherit; font-weight: 700; cursor: pointer; border-radius: 6px; }
.dk-att__find { padding: 6px 10px; }
.dk-att__sort:hover, .dk-att__find:hover, .dk-att__find[aria-expanded="true"] { background: rgba(255,255,255,.18); }
.dk-att__sort:focus-visible, .dk-att__find:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.dk-att__arrow::after { content: "↕"; opacity: .55; font-weight: 400; }
.dk-att__sort[data-dir="asc"] .dk-att__arrow::after { content: "↑"; opacity: 1; }
.dk-att__sort[data-dir="desc"] .dk-att__arrow::after { content: "↓"; opacity: 1; }
.dk-att__q { width: 100%; max-width: 360px; height: 32px; padding: 0 10px; border: 0; border-radius: 6px; font: inherit; font-size: 14px; color: #1b2433; }
.dk-att__none { margin: 0; padding: 14px 10px; border: 1px solid var(--dk-line); border-top: 0; color: #5a6475; }
@media (max-width: 600px) { .dk-att__head th:nth-child(3) { display: none; } }
.dk-att__sort[hidden], .dk-att__q[hidden] { display: none; }

/* Kortelė paspaudžiama visa per vieną nuorodą (be pasikartojančių nuorodų). */
.dk-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.dk-news__card:focus-within { outline: 3px solid var(--dk-blue); outline-offset: 2px; }
.dk-news__card .dk-stretch:focus-visible { outline: none; }
.dk-news__card:hover .dk-news__more { background: var(--dk-blue); color: #fff; }
.dk-news__card:hover .dk-news__title a { text-decoration: underline; }
.dk-news__img { display: block; }
/* Patarimas užvedus (vietoje title, kuris kartoja nuorodos tekstą). */
[data-tip] { position: relative; }
[data-tip]:hover::after, [data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: 50; padding: 4px 8px; border-radius: 4px; background: #1b2433; color: #fff; font-size: 13px; font-weight: 400; line-height: 1.3; white-space: nowrap; pointer-events: none; }

/* Išsiskleidžiančios skiltys (inc/skiltys.php): <div class="dk-skiltys"> su h2 antraštėmis. */
.dk-skiltys { margin: 24px 0; }
.dk-acc { border: 1px solid var(--dk-line); border-radius: 10px; background: #fff; margin: 0 0 10px; padding: 0 clamp(14px, 2.5vw, 22px); }
.dk-acc.is-open { border-color: var(--dk-blue); }
.dk-acc__heading { margin: 0; font-size: clamp(18px, 2vw, 21px); }
.dk-acc.is-short .dk-acc__heading { padding: 14px 0 6px; }
.dk-acc__toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px; padding: 12px 0; font: inherit; font-weight: 700; color: var(--dk-blue); background: none; border: 0; text-align: left; cursor: pointer; }
.dk-acc__toggle:hover .dk-acc__title { text-decoration: underline; }
.dk-acc__toggle:focus-visible, .dk-acc__more:focus-visible { outline: 3px solid var(--dk-blue); outline-offset: 2px; border-radius: 6px; }
.dk-acc__icon { flex: 0 0 auto; width: 12px; height: 12px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.dk-acc.is-open .dk-acc__icon { transform: rotate(-135deg) translate(-3px, -3px); }
.dk-acc__preview { margin: 0 0 6px; color: var(--dk-muted); cursor: pointer; }
.dk-acc__body { padding: 2px 0 6px; }
.dk-acc__body > :first-child { margin-top: 0; }
.dk-acc__more { display: inline-flex; align-items: center; min-height: 44px; margin: 0 0 8px; padding: 0 4px; font: inherit; font-weight: 600; color: var(--dk-blue); background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .dk-acc__icon { transition: none; } }
@media print { .dk-acc__body[hidden] { display: block !important; } .dk-acc__preview, .dk-acc__more, .dk-acc__icon { display: none !important; } .dk-acc { border: 0; padding: 0; } }

/* Nuotraukų karuselė (inc/karusele.php): [gallery … dk_karusele="true"]. */
.dk-karusele { position: relative; margin: 24px 0; }
.dk-karusele__juosta { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 12px; background: #0f1a33; }
.dk-karusele__juosta::-webkit-scrollbar { display: none; }
.dk-karusele__juosta:focus-visible { outline: 3px solid var(--dk-blue); outline-offset: 3px; }
.dk-karusele__skaidre { flex: 0 0 100%; margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; }
.dk-karusele__link { display: block; }
.dk-karusele__img, .dk-content .dk-karusele__img { display: block; width: 100% !important; max-width: none !important; height: clamp(220px, 52vw, var(--dk-k-h, 540px)) !important; object-fit: contain; margin: 0 !important; border-radius: 0; }
.dk-karusele__cap { margin: 0; padding: 10px 16px; background: rgba(15, 26, 51, .92); color: #fff; font-size: 15px; text-align: center; }
.dk-karusele__ctrl { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; }
.dk-karusele__btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--dk-blue); color: #fff; cursor: pointer; }
.dk-karusele__btn:hover { background: var(--dk-navy); }
.dk-karusele__btn:focus-visible { outline: 3px solid var(--dk-blue); outline-offset: 3px; }
.dk-karusele__next svg { transform: scaleX(-1); }
.dk-karusele__nr { min-width: 4.5em; text-align: center; font-weight: 600; color: var(--dk-muted); }
@media print { .dk-karusele__juosta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: none; overflow: visible; } .dk-karusele__img, .dk-content .dk-karusele__img { height: auto !important; } .dk-karusele__ctrl { display: none; } }
.dk-acc__body > :last-child { margin-bottom: 8px; }
.dk-acc__text { margin: 0 0 8px; }
.dk-acc__thumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 2px 0 8px; }
.dk-acc__thumbs img, .dk-content .dk-acc__thumbs img { display: block; width: 84px !important; height: 64px !important; max-width: none !important; margin: 0 !important; object-fit: cover; border-radius: 6px; background: var(--dk-soft); }
.dk-acc__more-n { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 6px; background: var(--dk-tint); color: var(--dk-blue); font-weight: 700; }
@media (max-width: 600px) { .dk-acc__thumbs img, .dk-content .dk-acc__thumbs img { width: 64px !important; height: 52px !important; } .dk-acc__thumbs img:nth-child(n+5) { display: none !important; } }
.dk-acc__files { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; }
.dk-acc__files li { display: flex; align-items: center; gap: 8px; color: var(--dk-ink); }
.dk-acc__files .dk-att__ext { flex: 0 0 auto; text-align: center; }
.dk-acc__files-more { color: var(--dk-muted); font-size: 15px; }

/* Įterpimai įkeliami paspaudus (inc/iterpimai.php). */
.dk-embed { position: relative; width: 100%; max-width: 100%; margin: 20px 0; border-radius: 10px; overflow: hidden; background: var(--dk-tint); border: 1px solid var(--dk-line); }
.dk-embed.is-loaded { background: none; border: 0; }
.dk-embed.is-loaded iframe { display: block; width: 100% !important; height: 100% !important; border: 0; }
.dk-embed__ph { display: flex; flex-direction: column; justify-content: center; gap: 6px; height: 100%; min-height: 200px; padding: clamp(16px, 3vw, 28px); box-sizing: border-box; }
.dk-embed__ph p { margin: 0; max-width: 60ch; }
.dk-embed__title { font-weight: 700; font-size: 18px; color: var(--dk-ink); }
.dk-embed__text { color: var(--dk-muted); font-size: 15px; }
.dk-embed__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 6px !important; }
.dk-embed__load { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--dk-blue); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.dk-embed__load:hover { background: var(--dk-navy); }
.dk-embed__load:focus-visible, .dk-embed__open:focus-visible { outline: 3px solid var(--dk-blue); outline-offset: 3px; }
.dk-embed__open { font-weight: 600; }
.dk-footer__policy { margin-top: 6px !important; }
.dk-footer__policy a { color: inherit; }
@media print { .dk-embed__actions button { display: none; } }

/* Pradinis: steigėjai kairėje kolonoje po „Pamokų laiku“ (sablonai.py). */
.dk-founders-card .dk-logos { margin: 0; padding: 0; background: none; border: 0; }
.dk-founders-card .dk-logos__title { margin: 0 0 12px !important; font-size: 18px; color: var(--dk-navy); letter-spacing: 0; text-transform: none; }
.dk-founders-card .dk-logos__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.dk-founders-card .dk-logos__row figure { display: flex; align-items: center; justify-content: center; height: 76px; margin: 0; padding: 6px 10px; background: #fff; border: 1px solid var(--dk-line); border-radius: 8px; }
.dk-founders-card .dk-logos__row img { height: 62px !important; width: auto !important; max-width: 100%; object-fit: contain; }

/* Priedų lentelė: žemesnio lygio failai – visa eilutė atitraukta į dešinę po pagrindiniu failu. */
.dk-att__nest { padding: 8px 10px !important; background: #f8fafd; }
.dk-att__in { display: flex; align-items: center; gap: 0; }
.dk-att__in > .dk-att__dl, .dk-att__in > .dk-att__type { flex: none; width: 44px; display: inline-flex; justify-content: center; }
.dk-att__in > .dk-att__name { flex: 1; min-width: 0; padding-left: 10px; }
.dk-att__lvl { flex: none; width: 22px; color: var(--dk-blue); font-weight: 700; text-align: right; padding-right: 6px; }
.dk-att__row--l1 .dk-att__in { padding-left: 34px; }
.dk-att__row--l2 .dk-att__in { padding-left: 82px; }
@media (max-width: 600px) {
    .dk-att__row--l1 .dk-att__in { padding-left: 10px; }
    .dk-att__row--l2 .dk-att__in { padding-left: 34px; }
    .dk-att__in > .dk-att__type { display: none; }
}

/* 2026-11-13: visuose puslapiuose vienodai – steigėjai kairėje po „Pamokų laiku“, „Naudinga“ šone nerodoma,
   partneriai – mėlynoje poraštėje (baltos plytelės). */
.dk-side .dk-links { display: none; }
.dk-footer__partners { padding-block: clamp(24px, 3vw, 40px); border-bottom: 1px solid rgba(255, 255, 255, .35); }
.dk-footer__partners .dk-logos { margin: 0; padding: 0; background: none; border: 0; }
.dk-footer__partners .dk-logos__title { margin: 0 0 12px !important; font-size: 18px; font-weight: 800; color: #fff; letter-spacing: 0; text-transform: none; }
.dk-footer__partners .dk-logos__row { gap: 10px; align-items: stretch; }
.dk-footer__partners .dk-logos__row figure { box-sizing: border-box; display: flex; align-items: center; justify-content: center; height: 64px; margin: 0; padding: 6px 10px; background: #fff; border-radius: 8px; }
.dk-footer__partners .dk-logos__row figure a { display: flex; align-items: center; height: 100%; }
.dk-footer__partners .dk-logos__row img { height: 52px !important; width: auto !important; max-width: 150px; object-fit: contain; }
.dk-footer__partners .dk-logos__row figure:has(a:focus-visible) { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 700px) { .dk-footer__partners .dk-logos__row img { height: 44px !important; max-width: 120px; } }

/* Komanda 108: poraštėje „Naudinga“ toje pačioje eilutėje dešiniau nei partneriai */
.dk-footer__partners { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px clamp(28px, 4vw, 56px); }
.dk-footer__partners > .dk-footer__col { margin: 0; min-width: 0; }
.dk-footer__col--partners { flex: 3 1 420px; }
.dk-footer__useful { flex: 2 1 280px; }
.dk-footer__col > .wp-block-template-part { margin: 0; }
.dk-footer__useful .dk-logos__title { margin: 0 0 12px !important; font-size: 18px; font-weight: 800; color: #fff; letter-spacing: 0; text-transform: none; }
.dk-footer__useful .dk-banners { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 0; }
.dk-footer__useful .dk-banners figure { box-sizing: border-box; display: flex; align-items: center; justify-content: center; height: 64px; margin: 0; padding: 6px 10px; background: #fff; border-radius: 8px; }
.dk-footer__useful .dk-banners figure a { display: flex; align-items: center; height: 100%; }
.dk-footer__useful .dk-banners img { height: 52px !important; width: auto !important; max-width: 150px; object-fit: contain; border-radius: 4px; }
.dk-footer__useful .dk-banners a:hover img { outline: 0; }
.dk-footer__useful .dk-banners figure:has(a:hover), .dk-footer__useful .dk-banners figure:has(a:focus-visible) { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 700px) { .dk-footer__useful .dk-banners img { height: 44px !important; max-width: 120px; } }

/* ---------- Sveikinimai (inc/sveikinimai.php) ---------- */
/* Kortelė „Svarbi informacija“ karuselėje/eilėje: baltas tekstas ant mėlyno šventinio fono arba ant pasirinkto paveikslėlio. */
.dk-notices .dk-notice.dk-notice--sveik,
.dk-pinned .dk-notice.dk-notice--sveik {
    height: auto;
    min-height: clamp(300px, 24vw, 380px);
    justify-content: center;
    color: #fff;
    background-color: var(--dk-blue, #0b4dc7);
    background-image:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, .22) 0 3px, transparent 4px),
        radial-gradient(circle at 82% 12%, rgba(255, 214, 102, .9) 0 4px, transparent 5px),
        radial-gradient(circle at 90% 70%, rgba(255, 255, 255, .2) 0 3px, transparent 4px),
        radial-gradient(circle at 22% 84%, rgba(255, 214, 102, .85) 0 3px, transparent 4px),
        radial-gradient(circle at 55% 8%, rgba(255, 255, 255, .18) 0 2px, transparent 3px),
        radial-gradient(circle at 65% 92%, rgba(255, 255, 255, .18) 0 2px, transparent 3px),
        radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .16), transparent 60%),
        linear-gradient(135deg, #0b4dc7 0%, #083a9a 100%);
    background-size: cover;
    background-position: center;
}
.dk-notices .dk-notice.dk-notice--sveik-img,
.dk-pinned .dk-notice.dk-notice--sveik-img {
    background-image: linear-gradient(rgba(4, 22, 64, .62), rgba(4, 22, 64, .8)), var(--dk-sveik-fonas);
}
.dk-notice--sveik .dk-notice__body { height: auto !important; justify-content: center !important; align-items: center; text-align: center; gap: 14px; padding: 24px 20px; background: none !important; }
.dk-notice--sveik .dk-notice__tag { background: #ffd666; color: #0a2a6b; }
.dk-sveik__tekstas { margin: 0; color: #fff; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; overflow-wrap: anywhere; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.dk-sveik__tekstas strong { font-weight: 800; }
.dk-pinned__item.dk-sveik-li { display: flex; }
.dk-pinned__item .dk-notice--sveik { width: 100%; min-height: 260px; }

/* Bėganti eilutė virš „Svarbi informacija“. */
.dk-sveik-eil { background: var(--dk-blue, #0b4dc7); color: #fff; border-block: 1px solid rgba(255, 255, 255, .15); }
.dk-sveik-eil__in { display: flex; align-items: center; gap: 12px 16px; min-height: 52px; padding-block: 8px; }
.dk-sveik-eil__label { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; margin: 0 !important; padding: 4px 12px; border-radius: 999px; background: #ffd666; color: #0a2a6b; font-size: 15px !important; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; line-height: 1.4; }
.dk-sveik-eil__view { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.dk-sveik-eil__track { display: block; }
.dk-sveik-eil__list { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: 17px; line-height: 1.5; }
.dk-sveik-eil__list li { position: relative; margin: 0; padding-right: 40px; }
.dk-sveik-eil__list li::after { content: "✦"; content: "✦" / ""; position: absolute; top: 0; right: 13px; color: #ffd666; }
.dk-sveik-eil__track:not(.is-run) .dk-sveik-eil__list li:last-child { padding-right: 0; }
.dk-sveik-eil__track:not(.is-run) .dk-sveik-eil__list li:last-child::after { content: none; }
.dk-sveik-eil__track.is-run { display: flex; width: max-content; animation: dk-sveik-beg var(--dk-sveik-dur, 30s) linear infinite; }
.dk-sveik-eil__track.is-run .dk-sveik-eil__list { flex-wrap: nowrap; white-space: nowrap; }
.dk-sveik-eil__track.is-run .dk-sveik-eil__list li { padding-right: 54px; }
.dk-sveik-eil__track.is-run .dk-sveik-eil__list li::after { right: 20px; }
.dk-sveik-eil:hover .is-run, .dk-sveik-eil:focus-within .is-run, .dk-sveik-eil.is-stop .is-run { animation-play-state: paused; }
@keyframes dk-sveik-beg { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.dk-sveik-eil__btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 2px solid #fff; border-radius: 999px; background: transparent; color: #fff; cursor: pointer; }
.dk-sveik-eil__btn[hidden] { display: none; }
.dk-sveik-eil__btn:hover { background: #fff; color: var(--dk-blue, #0b4dc7); }
.dk-sveik-eil__btn:focus-visible { outline: 3px solid #ffd666; outline-offset: 2px; }
.dk-sveik-eil__play { display: none; }
.dk-sveik-eil.is-stop .dk-sveik-eil__play { display: block; }
.dk-sveik-eil.is-stop .dk-sveik-eil__pause { display: none; }
@media (prefers-reduced-motion: reduce) { .dk-sveik-eil__track.is-run { animation: none; } }
html.dk-a-judesys .dk-sveik-eil__track.is-run { animation: none !important; }
@media (max-width: 700px) {
    .dk-sveik-eil__in { flex-wrap: wrap; }
    .dk-sveik-eil__label { font-size: 13px !important; }
    .dk-sveik-eil__view { order: 3; flex-basis: 100%; }
    .dk-sveik-eil__btn { margin-left: auto; width: 44px; height: 44px; }
    .dk-sveik-eil__list { font-size: 16px; }
}
@media print { .dk-sveik-eil { display: none !important; } }

/* 2026-11-21: viršutinio meniu išskleidžiamame sąraše ilgi punktai keliami į kitą eilutę, fonas prisitaiko (nebeišlenda už balto fono). */
.dk-navbar .dk-menu--h .sub-menu, .dk-navbar .dk-menu--h .sub-menu li { white-space: normal; }
.dk-navbar .dk-menu--h .dk-menu__list > li > .sub-menu { width: max-content; min-width: 280px; max-width: min(440px, calc(100vw - 32px)); }
.dk-navbar .dk-menu--h .sub-menu a, .dk-navbar .dk-menu--h .sub-menu .dk-sub-toggle--label { overflow-wrap: break-word; line-height: 1.35; }

/* 2026-11-21 (Komanda 122/126): VIP naujienos žymė – spalva By TomasB → Svarbi informacija (numatyta mūsų mėlyna); baltas apvadas, kad matytųsi ir ant mėlynos kortelės. */
.dk-vip .dk-notice__tag, .dk-vip .dk-pinned__tag { background: var(--dk-vip, #0b4dc7) !important; color: var(--dk-vip-t, #fff) !important; box-shadow: 0 0 0 2px #fff; }
