/* 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;
}

/* 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; }

/* ---------- Logotipas ir greitos nuorodos ---------- */
.dk-head { background: #fff; }
.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; }
@media (max-width: 1023px) {
    .dk-navbar { background: #fff; padding-bottom: 12px; border-bottom: 1px solid var(--dk-line); }
}

/* ---------- 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 { display: -webkit-box; -webkit-line-clamp: 3; }
@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; }
@media (prefers-reduced-motion: reduce) { .dk-slides__item, .dk-slides__item.is-active { transition: none; } }
.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; }
.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); }

/* ---------- 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, 1.1fr) minmax(200px, .8fr) 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; }
.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; }
@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-start; gap: 0 14px; }
    .dk-head__inner { padding-block: 10px; }
    .dk-logo img { height: 52px; }
    .dk-head__tools { width: 100%; }
    .dk-pills.wp-block-navigation { flex-wrap: nowrap !important; overflow-x: auto; max-width: calc(100% - 56px); }
    .dk-pills .wp-block-navigation-item__content { white-space: nowrap; }
}
