/* Progarantas theme — everything theme.json cannot express. Colours / sizes come from theme.json presets. */

:root {
	--pg-radius: 14px;
	--pg-radius-s: 8px;
	--pg-line: var(--wp--preset--color--line);
	--pg-shadow: var(--wp--preset--shadow--card);
	--pg-header-h: 72px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--pg-header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--wp--preset--color--primary); outline-offset: 2px; border-radius: 4px; }

/* ---------- Top bar ---------- */
.pg-topbar { font-size: var(--wp--preset--font-size--small); }
.pg-topbar p { margin: 0; }
.pg-topbar a { color: #fff; text-decoration: none; opacity: .92; }
.pg-topbar a:hover { opacity: 1; text-decoration: underline; }
.pg-topbar .wp-block-group { gap: .4rem 1.4rem; }
@media (max-width: 600px) { .pg-topbar__links { display: none !important; } }

/* ---------- Header ---------- */
.pg-site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .pg-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .pg-site-header { top: 0; } }
.pg-header { background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--pg-line); }
.pg-header__row { min-height: var(--pg-header-h); gap: 1rem; }
.pg-header__logo { flex: 0 0 auto; }
.pg-header__logo img { max-height: 46px; width: auto; }
.pg-header .pg-menu { flex: 1 1 auto; min-width: 0; }
.pg-header__actions { gap: .5rem; flex: 0 0 auto; }
.pg-header__cta .wp-block-button__link { padding: .6rem 1rem; font-size: .9375rem; white-space: nowrap; }
.pg-header__search .wp-block-search__button { background: transparent; color: var(--wp--preset--color--navy); border: 0; padding: .5rem; margin-left: 0; }
.pg-header__search .wp-block-search__button svg { width: 24px; height: 24px; fill: currentColor; }
.pg-header__search.wp-block-search__searchfield-hidden .wp-block-search__inside-wrapper { border: 0; }
.pg-header__search .wp-block-search__input { border-radius: 10px; border: 1px solid var(--pg-line); }
.pg-header__cart .wc-block-mini-cart__button { color: var(--wp--preset--color--navy); padding: .5rem; }

/* ---------- Mega menu (desktop) ---------- */
.pg-nav { position: static; }
.pg-nav__bar { display: flex; align-items: center; gap: .05rem; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; overflow: visible; }
.pg-nav__item { position: static; flex: 0 0 auto; }
.pg-nav__item.is-overflow { display: none; }
.pg-nav__toggle, .pg-nav__link {
	display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .55rem; border-radius: 9px; border: 0; background: none; cursor: pointer;
	font: inherit; font-size: .875rem; font-weight: 650; letter-spacing: 0; color: var(--wp--preset--color--navy); text-decoration: none; white-space: nowrap;
}
.pg-nav__toggle:hover, .pg-nav__link:hover, .pg-nav__toggle[aria-expanded="true"] { background: var(--wp--preset--color--tint); color: var(--wp--preset--color--primary-dark); }
.pg-nav__item.is-active > .pg-nav__toggle, .pg-nav__item.is-active > .pg-nav__link { color: var(--wp--preset--color--primary); }
.pg-chevron { width: .5em; height: .5em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
[aria-expanded="true"] > .pg-chevron { transform: translateY(1px) rotate(-135deg); }

.pg-panel {
	position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--pg-line);
	box-shadow: 0 24px 48px rgba(11,30,59,.14); max-height: calc(100vh - var(--pg-header-h) - 40px); overflow-y: auto; overscroll-behavior: contain;
}
.pg-panel[hidden] { display: none; }
.pg-header { position: relative; }
.pg-panel__inner { max-width: 1240px; margin: 0 auto; padding: 1.75rem clamp(1rem, 4vw, 2rem) 2rem; display: grid; grid-template-columns: 220px 1fr; gap: 2rem; }
.pg-panel__kicker { font-size: 1.125rem; font-weight: 700; color: var(--wp--preset--color--navy); margin: 0 0 .5rem; }
.pg-panel__all { font-weight: 600; text-decoration: none; }
.pg-panel__desc { color: var(--wp--preset--color--muted); font-size: .9375rem; }
.pg-panel__cols { columns: 3 220px; column-gap: 2rem; }
.pg-panel__group { break-inside: avoid; margin: 0 0 1.25rem; }
.pg-panel__heading { margin: 0 0 .35rem; font-weight: 700; font-size: .8125rem; letter-spacing: 0; text-transform: none; color: var(--wp--preset--color--muted); }
.pg-panel__heading a { color: inherit; text-decoration: none; }
.pg-panel__heading a:hover { color: var(--wp--preset--color--primary); }
.pg-list { list-style: none; margin: 0; padding: 0; }
.pg-list li { margin: 0; }
.pg-list a, .pg-list summary, .pg-list .is-heading { display: block; padding: .3rem 0; color: var(--wp--preset--color--ink); text-decoration: none; font-size: .9375rem; line-height: 1.35; }
.pg-list a:hover { color: var(--wp--preset--color--primary); }
.pg-list a[aria-current] { color: var(--wp--preset--color--primary); font-weight: 600; }
.pg-list summary { cursor: pointer; list-style: none; font-weight: 600; }
.pg-list summary::-webkit-details-marker { display: none; }
.pg-list summary::after { content: "+"; float: right; color: var(--wp--preset--color--muted); font-weight: 400; margin-left: .5rem; }
.pg-list details[open] > summary::after { content: "–"; }
.pg-list--sub { padding-left: .85rem; border-left: 2px solid var(--pg-line); margin: .15rem 0 .4rem; }
.pg-list__all { font-size: .875rem !important; font-weight: 600; color: var(--wp--preset--color--primary) !important; }
.pg-more { columns: 4 200px; column-gap: 2rem; grid-column: 1 / -1; }
.pg-more__section { break-inside: avoid; margin-bottom: 1.25rem; }
.pg-more__section.is-hidden { display: none; }
.pg-more__title { margin: 0 0 .25rem; font-weight: 700; font-size: .875rem; }
.pg-more__title a, .pg-more__title span { color: var(--wp--preset--color--navy); text-decoration: none; }
.pg-list--compact a, .pg-list--compact summary { padding: .2rem 0; font-size: .875rem; }
#pg-panel-more .pg-panel__inner { display: block; }

/* ---------- Burger + drawer (phones / tablets) ---------- */
.pg-burger { display: none; align-items: center; gap: .5rem; border: 1px solid var(--pg-line); background: #fff; border-radius: 10px; padding: .5rem .75rem; font: inherit; font-weight: 600; color: var(--wp--preset--color--navy); cursor: pointer; }
.pg-burger__lines, .pg-burger__lines::before, .pg-burger__lines::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.pg-burger__lines::before, .pg-burger__lines::after { content: ""; position: absolute; left: 0; }
.pg-burger__lines::before { top: -6px; } .pg-burger__lines::after { top: 6px; }
.pg-drawer[hidden] { display: none; }
.pg-drawer { position: fixed; inset: 0; z-index: 1000; }
.pg-drawer__backdrop { position: absolute; inset: 0; background: rgba(11,30,59,.45); }
.pg-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: #fff; display: flex; flex-direction: column; box-shadow: var(--wp--preset--shadow--lift); animation: pg-slide .22s ease-out; }
.admin-bar .pg-drawer__panel { top: 32px; }
@media (max-width: 782px) { .admin-bar .pg-drawer__panel { top: 46px; } }
@keyframes pg-slide { from { transform: translateX(30px); opacity: .4; } to { transform: none; opacity: 1; } }
.pg-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--pg-line); }
.pg-drawer__title { font-weight: 700; color: var(--wp--preset--color--navy); }
.pg-drawer__close { border: 0; background: var(--wp--preset--color--surface); border-radius: 10px; width: 40px; height: 40px; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--wp--preset--color--navy); }
.pg-drawer__body { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; overscroll-behavior: contain; }
.pg-drawer__body .search-form, .pg-drawer__body form[role="search"] { display: flex; gap: .5rem; margin-bottom: 1rem; }
.pg-drawer__body input[type="search"] { flex: 1; min-width: 0; padding: .7rem .8rem; border: 1px solid var(--pg-line); border-radius: 10px; font: inherit; }
.pg-drawer__body .search-submit, .pg-drawer__body input[type="submit"] { border: 0; border-radius: 10px; background: var(--wp--preset--color--primary); color: #fff; padding: 0 1rem; font: inherit; font-weight: 600; }
.pg-drawer__body .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pg-dlist { list-style: none; margin: 0; padding: 0; }
.pg-dlist li { border-bottom: 1px solid var(--pg-line); }
.pg-dlist .pg-dlist li { border: 0; }
.pg-dlist a, .pg-dlist summary, .pg-dlist .is-heading { display: block; padding: .8rem 0; color: var(--wp--preset--color--navy); text-decoration: none; font-weight: 600; }
.pg-dlist .pg-dlist { padding-left: 1rem; border-left: 2px solid var(--pg-line); margin-bottom: .5rem; }
.pg-dlist .pg-dlist a, .pg-dlist .pg-dlist summary { font-weight: 500; padding: .5rem 0; color: var(--wp--preset--color--ink); }
.pg-dlist summary { cursor: pointer; list-style: none; position: relative; padding-right: 2rem; }
.pg-dlist summary::-webkit-details-marker { display: none; }
.pg-dlist summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: .55em; height: .55em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.pg-dlist details[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.pg-dlist__all { color: var(--wp--preset--color--primary) !important; font-size: .9375rem; }
.pg-drawer__foot { padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--pg-line); display: grid; gap: .4rem; }
.pg-drawer__foot a { color: var(--wp--preset--color--navy); text-decoration: none; }
.pg-drawer__cta { background: var(--wp--preset--color--primary); color: #fff !important; text-align: center; padding: .8rem; border-radius: 10px; font-weight: 600; margin-bottom: .25rem; }
html.pg-lock, html.pg-lock body { overflow: hidden; }

@media (max-width: 1023px) {
	.pg-nav { display: none; }
	.pg-burger { display: inline-flex; }
	.pg-header .pg-menu { flex: 0 0 auto; order: 3; }
	.pg-header__actions { margin-left: auto; }
	.pg-header__row { flex-wrap: nowrap; }
}
@media (max-width: 480px) { .pg-burger__label { display: none; } .pg-header__logo img { max-height: 38px; } }

/* ---------- Title band, breadcrumbs, layout ---------- */
.pg-titleband { background: linear-gradient(180deg, var(--wp--preset--color--tint), #fff); padding-top: clamp(1rem, 2.2vw, 1.5rem); padding-bottom: clamp(.85rem, 2vw, 1.25rem); border-bottom: 1px solid var(--pg-line); }
.pg-titleband--slim { padding-top: .7rem; padding-bottom: .7rem; background: var(--wp--preset--color--surface); }
/* the title starts where the breadcrumbs start (1.2.0 gave it a 900 px box that the constrained group centred: it stood
   ~170 px in on /e-dokumentai/) */
.pg-titleband .wp-block-post-title, .pg-titleband .wp-block-query-title, .pg-titleband h1 { margin-block: .3rem 0; font-size: clamp(1.6rem, 2.6vw, 2rem); }
.pg-breadcrumbs, .rank-math-breadcrumb { font-size: .875rem; color: var(--wp--preset--color--muted); }
.pg-breadcrumbs a, .rank-math-breadcrumb a { color: var(--wp--preset--color--muted); text-decoration: none; }
.pg-breadcrumbs a:hover, .rank-math-breadcrumb a:hover { color: var(--wp--preset--color--primary); text-decoration: underline; }
.rank-math-breadcrumb p { margin: 0; }
.pg-meta { color: var(--wp--preset--color--muted); font-size: .9375rem; margin-top: .35rem; }
.pg-layout { padding-top: clamp(1.5rem, 3vw, 2.25rem); padding-bottom: var(--wp--preset--spacing--60); }
.pg-is-elementor .pg-content > .elementor { margin-top: 0; }

/* Section nav (sidebar) */
.pg-section-nav { background: #fff; border: 1px solid var(--pg-line); border-radius: var(--pg-radius); padding: 1rem 1.1rem; }
.pg-section-nav__title { margin: 0 0 .5rem; font-weight: 700; font-size: .8125rem; letter-spacing: 0; text-transform: none; }
.pg-section-nav__title a, .pg-section-nav__title span { color: var(--wp--preset--color--muted); text-decoration: none; }
.pg-snav { list-style: none; margin: 0; padding: 0; }
.pg-snav > li { border-top: 1px solid var(--pg-line); }
.pg-snav > li:first-child { border-top: 0; }
.pg-snav a, .pg-snav summary, .pg-snav .is-heading { display: block; padding: .55rem .5rem; border-radius: 8px; color: var(--wp--preset--color--ink); text-decoration: none; font-size: .9375rem; line-height: 1.35; }
.pg-snav a:hover { background: var(--wp--preset--color--surface); color: var(--wp--preset--color--primary-dark); }
.pg-snav .is-current > a, .pg-snav a[aria-current] { background: var(--wp--preset--color--tint); color: var(--wp--preset--color--primary-dark); font-weight: 600; box-shadow: inset 3px 0 0 var(--wp--preset--color--primary); }
.pg-snav summary { cursor: pointer; list-style: none; font-weight: 600; }
.pg-snav summary::-webkit-details-marker { display: none; }
.pg-snav summary::after { content: "+"; float: right; color: var(--wp--preset--color--muted); }
.pg-snav details[open] > summary::after { content: "–"; }
.pg-snav .pg-list--sub { margin-left: .5rem; }
.pg-snav .pg-list--sub a { font-size: .875rem; padding: .35rem .5rem; }

/* ---------- Content typography (converted Elementor pages + new pages) ----------
   Owner 2026-11-25: "some headers looks too big". The homepage keeps its own large section titles; on content pages the
   headings follow a calm scale close to the old pages' (old: H1 about 26 px, H2 20-24 px, H5 16 px), body text 17 px. */
.pg-content { font-size: 1.0625rem; line-height: 1.65; }
.pg-content > * + * { margin-block-start: 1.1em; }
.pg-content h1, .pg-content h2, .pg-content h3 { margin-block-start: 1.1em; margin-block-end: .35em; } /* 1.5em / .5em until 2026-11-30 (text rhythm) */
.pg-content h4, .pg-content h5, .pg-content h6 { margin-block-start: 1em; margin-block-end: .3em; }
.pg-content > :first-child, .pg-content .wp-block-column > :first-child { margin-block-start: 0; }
.pg-content:not(.pg-content--landing) :is(h1, h2, h3, h4, h5, h6) { letter-spacing: 0; line-height: 1.3; }
.pg-content:not(.pg-content--landing) h1 { font-size: clamp(1.5rem, 2.3vw, 1.875rem); }
.pg-content:not(.pg-content--landing) h2 { font-size: clamp(1.3rem, 2vw, 1.5rem); }
/* one main H1 per page (inc/one-h1.php, owner 2026-11-30): an extra H1 is drawn as an H2 and keeps the look it had. Every rule for an H1 below
   also names h2:where(.pg-was-h1) — :where() adds no weight, so nothing else wins or loses (proof: claude/perf/wp_theme_extra/one_h1_probe.cjs) */
.pg-content:not(.pg-content--landing) h2:where(.pg-was-h1) { font-size: clamp(1.5rem, 2.3vw, 1.875rem); }
.pg-content:not(.pg-content--landing) h3 { font-size: clamp(1.15rem, 1.6vw, 1.3rem); }
.pg-content:not(.pg-content--landing) h4 { font-size: 1.15rem; }
.pg-content:not(.pg-content--landing) h5 { font-size: 1.0625rem; }
.pg-content:not(.pg-content--landing) h6 { font-size: 1rem; text-transform: none; letter-spacing: 0; }
/* a title-looking line that was never a heading (Elementor title with the „p“ tag) */
.pg-content .pg-title-text { font-size: 1.15rem; font-weight: 700; color: var(--wp--preset--color--navy); line-height: 1.35; margin-block: 2rem .75rem; }
.pg-content li > p:first-child { margin-top: 0; }
.pg-content li > p:last-child { margin-bottom: 0; }
/* a page's own side column (its old Elementor menu + product cards) stays on the right, next to the text */
.pg-content .wp-block-columns { gap: 1.5rem clamp(1.5rem, 3vw, 2.5rem); }
.pg-content .wp-block-column { min-width: 0; }
.pg-content ul:not(.wp-block-social-links), .pg-content ol { padding-left: 1.3em; }
.pg-content li + li { margin-top: .3em; }
.pg-content table { border-collapse: collapse; width: 100%; }
.pg-content .wp-block-table { overflow-x: auto; }
.pg-content .wp-block-table td, .pg-content .wp-block-table th { border: 1px solid var(--pg-line); padding: .55rem .7rem; }
.pg-content .wp-block-table thead { background: var(--wp--preset--color--surface); }
.pg-content .wp-block-image img { border-radius: var(--pg-radius-s); }
.pg-content--landing > .wp-block-group.alignfull:first-child { margin-top: 0; }
.pg-content--landing > * + * { margin-block-start: 0; }

/* ---------- Block styles ---------- */
.is-style-card { background: #fff; border: 1px solid var(--pg-line); border-radius: var(--pg-radius); padding: clamp(1.1rem, 2.5vw, 1.6rem); box-shadow: var(--pg-shadow); }
.is-style-card > :first-child { margin-top: 0; }
.is-style-card > :last-child { margin-bottom: 0; }
.is-style-tinted { background: var(--wp--preset--color--tint); border-radius: var(--pg-radius); padding: clamp(1.1rem, 2.5vw, 1.75rem); }
.is-style-navy { background: var(--wp--preset--color--navy); color: #fff; border-radius: var(--pg-radius); padding: clamp(1.1rem, 2.5vw, 1.75rem); }
.is-style-navy :where(h1,h2,h3,h4,h5,h6,a) { color: #fff; }
.wp-block-columns.is-style-cards > .wp-block-column { background: #fff; border: 1px solid var(--pg-line); border-radius: var(--pg-radius); padding: 1.25rem; box-shadow: var(--pg-shadow); }
ul.is-style-checks { list-style: none; padding-left: 0 !important; }
ul.is-style-checks li { position: relative; padding-left: 1.85rem; }
ul.is-style-checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--wp--preset--color--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A74ED' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat; }
ul.is-style-links { list-style: none; padding-left: 0 !important; }
ul.is-style-links li + li { margin-top: .35rem; }
ul.is-style-links a { text-decoration: none; }
ul.is-style-links a:hover { text-decoration: underline; }
.wp-block-image.is-style-icon img { width: 48px; height: 48px; border-radius: 0 !important; }
.wp-block-image.is-style-icon { margin-bottom: .75rem; }
p.is-style-eyebrow { font-size: .8125rem !important; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--wp--preset--color--primary); margin-bottom: .5rem; }
p.is-style-lead { font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--muted); line-height: 1.55; }
.wp-block-details { background: #fff; border: 1px solid var(--pg-line); border-radius: 10px; padding: .75rem 1rem; }
.wp-block-details + .wp-block-details { margin-top: .5rem; }
.wp-block-details summary { cursor: pointer; font-weight: 600; font-size: 1rem; line-height: 1.35; color: var(--wp--preset--color--navy); list-style: none; position: relative; padding-right: 2rem; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after, .wp-block-accordion-heading__toggle::after {
	content: ""; position: absolute; right: .2rem; top: .45em; width: .5em; height: .5em; border-right: 2px solid var(--wp--preset--color--primary);
	border-bottom: 2px solid var(--wp--preset--color--primary); transform: rotate(45deg); transition: transform .2s;
}
.wp-block-details[open] summary::after { transform: translateY(.2em) rotate(-135deg); }
.wp-block-details[open] summary { margin-bottom: .6rem; color: var(--wp--preset--color--primary-dark); }
/* a drawing in a gallery (content-r16 12b: the explosion page's two course photos → drawings, 2026-12-03): its caption BELOW it in the text's colour — the
   gallery lays captions over a photo in white, unreadable on a light drawing; the drawing is never cropped */
.wp-block-gallery.has-nested-images figure.wp-block-image:has(> img.pg-drawing) { flex-direction: column; }
.wp-block-gallery.has-nested-images figure.wp-block-image:has(> img.pg-drawing) img { object-fit: contain; height: auto; }
.wp-block-gallery.has-nested-images figure.wp-block-image:has(> img.pg-drawing) figcaption { position: static; background: none; color: var(--wp--preset--color--ink); text-shadow: none; padding: .35rem 0 0; max-height: none; overflow: visible; font-size: .875rem; line-height: 1.35; text-align: center; }
/* a row of pictures with a few words under each (images.php progarantas_picrow, owner 2026-12-03: "3 pictures in a row and text … its not centered to the
   pictures"): every line centred under its picture, whatever alignment the editor stored; the picture itself centred, never floating beside the words */
html body:not(#pg0) .wp-block-columns.pg-picrow > .wp-block-column :is(p, h2, h3, h4, h5, h6, figcaption) { text-align: center !important; } /* :not(#pg0): stronger than the phones' „every paragraph left“ rule */
html body:not(#pg0) .wp-block-columns.pg-picrow > .wp-block-column > :is(figure, .wp-block-image) { float: none !important; margin-left: auto !important; margin-right: auto !important; }
/* an accordion's title is a heading (inc/acc-headings.php, owner 2026-12-03) that looks exactly as the title did */
.wp-block-details > summary > .pg-sum-h { display: inline; margin: 0 !important; padding: 0 !important; border: 0; background: none; font: inherit !important; letter-spacing: inherit !important; color: inherit !important; text-transform: inherit; text-align: inherit; }
.wp-block-details:hover { border-color: #cfdcf5; }
/* Accordion block (converted Elementor accordions whose titles were headings): compact rows — the title keeps its heading
   level (SEO) but reads like a row, 16 px, a chevron drawn here, not inside the heading text (owner 2026-11-25: "accordions on
   pages are a bit mess either lower their font or make each accordion from new row"). */
.wp-block-accordion-item { background: #fff; border: 1px solid var(--pg-line); border-radius: 10px; padding: 0; transition: border-color .15s, box-shadow .15s; }
.wp-block-accordion-item:hover { border-color: #cfdcf5; }
.wp-block-accordion-item + .wp-block-accordion-item { margin-top: .5rem; }
.pg-content :is(h1, h2, h3, h4, h5, h6).wp-block-accordion-heading, .wp-block-accordion-heading { margin: 0 !important; font-size: 1rem !important; line-height: 1.35; letter-spacing: 0; text-transform: none; }
.wp-block-accordion-heading__toggle { position: relative; display: block; width: 100%; padding: .8rem 2.5rem .8rem 1rem !important; border: 0; border-radius: 10px; background: none; text-align: left; font: inherit; font-weight: 600; color: var(--wp--preset--color--navy); cursor: pointer; }
.wp-block-accordion-heading__toggle::after { right: 1.1rem; top: 1.15em; }
.wp-block-accordion-heading__toggle[aria-expanded="true"] { color: var(--wp--preset--color--primary-dark); background: var(--wp--preset--color--tint); border-radius: 10px 10px 0 0; }
.wp-block-accordion-heading__toggle[aria-expanded="true"]::after { transform: translateY(.2em) rotate(-135deg); }
.wp-block-accordion-panel { padding: .75rem 1rem .9rem; font-size: 1rem; }
.wp-block-accordion-panel > :first-child { margin-top: 0; }
.wp-block-accordion-panel > :last-child { margin-bottom: 0; }
.pg-content .wp-block-accordion-panel :is(h2, h3, h4) { font-size: 1.05rem; }
/* side-by-side accordion pairs (Elementor's 50 / 50 rows) become one full-width row each: two rows of different height made a
   ragged grid */
.pg-content .wp-block-columns:has(> .wp-block-column > .wp-block-accordion:only-child, > .wp-block-column > .wp-block-details:only-child) { flex-wrap: wrap !important; row-gap: .5rem; }
.pg-content .wp-block-column:has(> .wp-block-accordion:only-child, > .wp-block-details:only-child) { flex-basis: 100% !important; }
.pg-content .wp-block-columns:has(> .wp-block-column > .wp-block-accordion:only-child) + .wp-block-columns:has(> .wp-block-column > .wp-block-accordion:only-child),
.pg-content .wp-block-accordion + .wp-block-accordion, .pg-content .wp-block-details + .wp-block-columns:has(> .wp-block-column > .wp-block-details:only-child) { margin-top: .5rem; }
.wp-block-table.is-style-clean td, .wp-block-table.is-style-clean th { border-width: 0 0 1px; }
.wp-element-button, .wp-block-button__link { transition: background-color .15s, color .15s, box-shadow .15s, transform .15s; }
.wp-block-button__link:hover { box-shadow: 0 6px 18px rgba(42,116,237,.28); }
.wp-block-button.is-style-outline > .wp-block-button__link { border: 2px solid currentColor; background: transparent; color: var(--wp--preset--color--primary-dark); padding: calc(.8rem - 2px) calc(1.35rem - 2px); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--tint); box-shadow: none; }

/* ---------- Home sections ---------- */
.pg-section :is(h1, h2) { margin-block-start: .25rem; }
.is-style-eyebrow + :is(h1, h2, h3) { margin-block-start: .25rem !important; }
.pg-section__head { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.pg-section__head h2 { margin-top: 0; }
.pg-section__head--row { gap: 1rem; }
.pg-section__intro { color: var(--wp--preset--color--muted); }
.pg-hero { overflow: hidden; }
.pg-hero__title { font-size: clamp(2rem, 4.2vw, 3.25rem) !important; line-height: 1.1; margin-top: .25rem; }
.pg-hero__art img { width: 100%; max-width: 520px; margin-inline: auto; display: block; }
.pg-hero__chips { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-weight: 600; color: var(--wp--preset--color--navy); font-size: .9375rem; margin-top: 1.5rem; }
.pg-hero__chips li + li { margin-top: 0 !important; }
.pg-grid { gap: 1.25rem; }
.pg-service { position: relative; transition: transform .18s, box-shadow .18s, border-color .18s; }
.pg-service:hover { transform: translateY(-3px); box-shadow: var(--wp--preset--shadow--lift); border-color: #cfdcf5; }
.pg-service .pg-card__title { margin: 0 0 .4rem; }
.pg-service .pg-card__title a { color: var(--wp--preset--color--navy); text-decoration: none; }
.pg-service .pg-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--pg-radius); }
.pg-service p { color: var(--wp--preset--color--muted); margin: 0; }
.pg-twocol-list { columns: 2 260px; column-gap: 2rem; }
.pg-twocol-list li { break-inside: avoid; margin-bottom: .45rem; }
.pg-price { border-top: 4px solid var(--wp--preset--color--primary); }
.pg-price__title { font-size: var(--wp--preset--font-size--large); font-weight: 700; color: var(--wp--preset--color--navy); margin: 0 0 .5rem; }
.pg-price__buttons { margin-top: 1.25rem; }
.pg-price__note { color: var(--wp--preset--color--muted); margin-top: 1rem; }
.pg-step { position: relative; padding-top: .25rem; }
.pg-step__num { width: 44px; height: 44px; border-radius: 12px; background: var(--wp--preset--color--primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.125rem; margin: 0 0 .75rem; }
.pg-step__title { margin: 0 0 .3rem; }
.pg-step p:last-child { color: var(--wp--preset--color--muted); }
.pg-postcard { padding: 0 !important; overflow: hidden; display: flex; flex-direction: column; }
.pg-postcard > * { margin-inline: 1.25rem; }
.pg-postcard .wp-block-post-featured-image { margin: 0 0 .75rem; }
.pg-postcard .wp-block-post-featured-image img { border-radius: 0; }
.pg-postcard .wp-block-post-title { margin-top: 1.1rem; }
.pg-postcard .wp-block-post-excerpt { margin-bottom: 1.25rem; color: var(--wp--preset--color--muted); font-size: .9375rem; }
.pg-postcard .wp-block-post-excerpt__more-link { display: inline-block; margin-top: .5rem; font-weight: 600; text-decoration: none; }
.pg-result { padding: 1.1rem 0; border-bottom: 1px solid var(--pg-line); }
.pg-result h2 { margin: 0 0 .3rem; }
.pg-search-big { max-width: 640px; margin-top: 1rem; }
.pg-search-big .wp-block-search__input { padding: .8rem 1rem; border-radius: 10px; border: 1px solid var(--pg-line); }
.pg-search-big .wp-block-search__button { border-radius: 10px; }
.pg-callout { border-left: 4px solid var(--wp--preset--color--primary); }
.pg-callout__title { font-weight: 700; font-size: 1.125rem; color: var(--wp--preset--color--navy); margin: 0; }
.pg-postnav { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--pg-line); gap: 1rem; }
/* „Naujienos“ (inc/news.php, owner 2026-12-02): the list's cards (the date above the title), a news post's source line and its way back */
.pg-news-intro:not(:empty) { margin-bottom: 1.5rem; }
.pg-newscard .pg-newscard__date { margin: 1.1rem 1.25rem 0; font-size: .875rem; }
.pg-newscard .wp-block-post-title { margin-top: .35rem; }
.pg-news-list .wp-block-query-pagination { margin-top: 2rem; gap: .5rem; }
.pg-news-none { color: var(--wp--preset--color--muted); }
.pg-news-source { margin-top: 1.5rem !important; font-size: .9375rem; color: var(--wp--preset--color--muted); text-align: left; }
.pg-news-all { margin-top: 2rem; font-weight: 600; }
.pg-news-all a { text-decoration: none; }

/* ---------- Footer CTA + inquiry form ---------- */
.pg-cta { position: relative; }
.pg-cta p.is-style-eyebrow { color: var(--wp--preset--color--accent); }
.pg-cta__title { font-weight: 700; line-height: 1.2; letter-spacing: -.01em; margin-top: 0; }
.pg-cta__lead { color: rgba(255,255,255,.82); }
.pg-cta__list li::before { background-color: rgba(255,255,255,.14) !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5B400' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") !important; }
.pg-cta__contacts { gap: .5rem 1.5rem; margin-top: 1.5rem; }
.pg-cta__contacts p { margin: 0; }
.pg-cta__contacts a { color: #fff; font-weight: 600; text-decoration: none; }
.pg-cta__contacts a:hover { text-decoration: underline; }
.pg-cta__card { background: #fff; color: var(--wp--preset--color--ink); border-radius: var(--wp--custom--radius--large, 22px); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--wp--preset--shadow--lift); }
.pg-form__heading { font-size: 1.25rem; font-weight: 700; color: var(--wp--preset--color--navy); margin: 0 0 1rem; }
.pg-form { display: grid; gap: .9rem; }
.pg-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 560px) { .pg-form__grid { grid-template-columns: 1fr; } }
.pg-form__row { display: grid; gap: .3rem; }
.pg-form label { font-size: .875rem; font-weight: 600; color: var(--wp--preset--color--navy); }
.pg-form .req { color: #c62828; }
.pg-form input[type="text"], .pg-form input[type="email"], .pg-form input[type="tel"], .pg-form textarea {
	width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; color: var(--wp--preset--color--ink); background: var(--wp--preset--color--surface);
	border: 1px solid var(--pg-line); border-radius: 10px; padding: .7rem .85rem; transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.pg-form input:focus, .pg-form textarea:focus { outline: none; border-color: var(--wp--preset--color--primary); background: #fff; box-shadow: 0 0 0 4px rgba(42,116,237,.15); }
.pg-form textarea { resize: vertical; min-height: 120px; }
.pg-form__consent { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400 !important; color: var(--wp--preset--color--muted) !important; }
.pg-form__consent input { margin-top: .25rem; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--wp--preset--color--primary); }
.pg-form__submit { justify-self: start; border: 0; cursor: pointer; background: var(--wp--preset--color--primary); color: #fff; border-radius: 10px; padding: .85rem 1.5rem; font: inherit; font-weight: 600; }
.pg-form__submit:hover { background: var(--wp--preset--color--primary-dark); }
.pg-form__submit[disabled] { opacity: .6; cursor: progress; }
.pg-form__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.pg-form__anketa { display: inline-block; border-radius: 10px; padding: .85rem 1.25rem; font-weight: 600; text-decoration: none; background: #fff; color: var(--wp--preset--color--primary-dark); border: 2px solid var(--wp--preset--color--primary); margin-left: auto; }
.pg-form__anketa:hover { background: var(--wp--preset--color--tint); color: var(--wp--preset--color--primary-dark); }
/* phones (owner 2026-11-29): the footer's „Siųsti užklausą“ and „Nuolatinių paslaugų užklausos forma“ centred — on two lines space-between put each at the left */
@media (max-width: 781px) { .pg-form__actions { justify-content: center; } .pg-form__anketa { margin-left: 0; } } /* its margin-left: auto (right-aligned on a computer) kept pushing it right on its own line */
.pg-form__notice { border-radius: 10px; padding: .8rem 1rem; margin: 0 0 1rem; font-size: .9375rem; }
.pg-form__notice.is-ok { background: #e8f7ee; color: #14532d; border: 1px solid #bfe6cd; }
.pg-form__notice.is-error { background: #fdecec; color: #7f1d1d; border: 1px solid #f5c2c2; }
.pg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.pg-footer { font-size: .9375rem; }
.pg-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.pg-footer a:hover { color: #fff; text-decoration: underline; }
.pg-footer p { color: rgba(255,255,255,.75); }
.pg-footer__title { color: #fff !important; font-weight: 700; font-size: .8125rem; letter-spacing: 0; text-transform: none; margin: 0 0 .9rem; }
.pg-footer__logo img { filter: brightness(0) invert(1); opacity: .95; }
.pg-footer__legal { line-height: 1.7; }
.pg-footer__sep { border-color: rgba(255,255,255,.14) !important; background: rgba(255,255,255,.14) !important; opacity: 1; margin: 2rem 0 1rem; width: 100% !important; max-width: none !important; height: 1px; border: 0; }
.pg-footer__bottom p { margin: 0; font-size: .875rem; }
.pg-site-footer > * + * { margin-top: 0; }

/* ---------- WooCommerce (classic templates inside the block theme) ---------- */
.pg-shop .woocommerce-breadcrumb { display: none; }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem); align-items: start; }
.woocommerce div.product > * { grid-column: 1 / -1; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; grid-column: auto; }
.woocommerce div.product div.images { grid-column: 1; }
.woocommerce div.product div.summary { grid-column: 2; }
.woocommerce div.product div.images img { border-radius: var(--pg-radius); width: auto !important; max-width: 100%; max-height: 220px; margin: 0 auto; object-fit: contain; }
.woocommerce div.product div.images { background: var(--wp--preset--color--surface); border: 1px solid var(--pg-line); border-radius: var(--pg-radius); padding: 1rem; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { top: .5rem; right: .5rem; }
@media (max-width: 781px) {
	.woocommerce div.product { grid-template-columns: 1fr; }
	.woocommerce div.product div.images, .woocommerce div.product div.summary { grid-column: 1; }
	.woocommerce div.product div.images { max-width: 200px; padding: .75rem; }
	.woocommerce div.product div.images img { max-height: 150px; }
}
.woocommerce div.product .product_title { font-size: clamp(1.5rem, 2.4vw, 1.875rem); line-height: 1.25; letter-spacing: 0; margin: 0 0 .5rem; }
.woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce ul.products li.product .price { color: var(--wp--preset--color--navy) !important; font-weight: 700; }
.woocommerce div.product p.price { font-size: 1.5rem; margin: .25rem 0 .75rem; }
.woocommerce .woocommerce-product-details__short-description { color: var(--wp--preset--color--ink); }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 1.25rem 0; }
.woocommerce .quantity .qty { border: 1px solid var(--pg-line); border-radius: 10px; padding: .6rem; width: 4.5rem; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce .wc-block-components-button:not(.is-link) {
	background: var(--wp--preset--color--primary) !important; color: #fff !important; border-radius: 10px !important; font-weight: 600 !important; padding: .8rem 1.3rem !important; border: 0 !important; line-height: 1.2 !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover { background: var(--wp--preset--color--primary-dark) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 1rem; border-bottom: 1px solid var(--pg-line); display: flex; flex-wrap: wrap; gap: .25rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none !important; border: 0 !important; border-radius: 0 !important; margin: 0 !important; padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: .7rem 1rem !important; color: var(--wp--preset--color--muted) !important; font-weight: 600; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--wp--preset--color--primary-dark) !important; box-shadow: inset 0 -3px 0 var(--wp--preset--color--primary); }
.woocommerce div.product .woocommerce-tabs .panel { margin: 0 0 2rem; }
.woocommerce div.product .woocommerce-tabs .panel :is(h1, h2, h3, h4, h5, h6) { letter-spacing: 0; line-height: 1.3; }
.woocommerce div.product .woocommerce-tabs .panel h1 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin: 0 0 .75rem; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: clamp(1.25rem, 1.9vw, 1.45rem); }
.woocommerce div.product .woocommerce-tabs .panel h2:where(.pg-was-h1) { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin: 0 0 .75rem; }
.woocommerce div.product .woocommerce-tabs .panel h3 { font-size: clamp(1.1rem, 1.5vw, 1.25rem); }
.woocommerce div.product .woocommerce-tabs .panel h4 { font-size: 1.1rem; }
.woocommerce div.product .woocommerce-tabs .panel h5, .woocommerce div.product .woocommerce-tabs .panel h6 { font-size: 1.0625rem; }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; margin: 0 !important; padding: 0 !important; }
.woocommerce ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.woocommerce ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.woocommerce ul.products.columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 900px) { .woocommerce ul.products[class*="columns-"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .woocommerce ul.products[class*="columns-"] { grid-template-columns: 1fr; } }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; background: #fff; border: 1px solid var(--pg-line); border-radius: var(--pg-radius); padding: 1rem !important; box-shadow: var(--pg-shadow); display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.woocommerce ul.products li.product:hover { transform: translateY(-3px); box-shadow: var(--wp--preset--shadow--lift); }
.woocommerce ul.products li.product a img { border-radius: 10px; margin-bottom: .75rem !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1rem !important; font-weight: 600; color: var(--wp--preset--color--navy); padding: 0 !important; line-height: 1.35; }
.woocommerce ul.products li.product .button { margin-top: auto !important; align-self: flex-start; }
.woocommerce ul.products li.product .star-rating { font-size: .8em; }
.woocommerce .woocommerce-ordering select, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce .select2-container .select2-selection--single {
	border: 1px solid var(--pg-line); border-radius: 10px; padding: .6rem .75rem; min-height: 44px; background: #fff;
}
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: 10px; border-top-width: 0 !important; border-left: 4px solid var(--wp--preset--color--primary) !important; background: var(--wp--preset--color--tint) !important; }
.woocommerce-error { border-left-color: #c62828 !important; background: #fdecec !important; }
.woocommerce span.onsale { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--navy); }

/* ---------- Editor tweaks ---------- */
.editor-styles-wrapper .pg-hp { display: none; }

/* ---------- Field tags (list style "Tags (chips)"): hero + „Sritys, kuriose dirbame“ ---------- */
ul.is-style-chips { list-style: none; padding: 0 !important; margin: 1.25rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }
ul.is-style-chips li { margin: 0 !important; }
ul.is-style-chips a, ul.is-style-chips li:not(:has(a)) {
	display: inline-flex; align-items: center; padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--pg-line);
	color: var(--wp--preset--color--navy); font-weight: 600; font-size: .875rem; line-height: 1.2; text-decoration: none; box-shadow: 0 1px 2px rgba(11,30,59,.04);
	transition: border-color .15s, color .15s, background-color .15s;
}
ul.is-style-chips a:hover { border-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--primary-dark); background: var(--wp--preset--color--tint); }
.pg-hero__fields { margin: 1.1rem 0 1.5rem; }
.pg-about__fields a { font-size: .9375rem; padding: .55rem 1rem; }
.pg-about__card-title { font-weight: 700; color: var(--wp--preset--color--navy); font-size: 1.05rem; margin: 0 0 .75rem; }
.pg-about__funcs li + li { margin-top: .55rem; }
.pg-about__ways { margin-top: var(--wp--preset--spacing--50) !important; gap: 1rem !important; }
.pg-way { height: 100%; padding: 1.25rem; border-radius: var(--pg-radius); background: var(--wp--preset--color--tint); }
.pg-way__title { font-weight: 700; color: var(--wp--preset--color--navy); margin: .5rem 0 .25rem; }
.pg-way p { margin-bottom: 0; }
/* news cards: same top line and equal height in the grid */
.pg-cards > li { margin: 0 !important; display: flex; }
.pg-cards > li > .pg-postcard { width: 100%; margin: 0 !important; }
/* a menu item shown as an icon (the training environment) */
.pg-nav__link--icon { padding: .45rem .5rem !important; color: var(--wp--preset--color--primary-dark); }
.pg-nav__link--icon svg { display: block; }
/* „Rodyti dar N“ in a long menu group */
.pg-list__more > details > summary { color: var(--wp--preset--color--primary-dark); font-weight: 600; }
.pg-list__more > details[open] > summary { margin-bottom: .2rem; }

/* ---------- Round 5 (owner 2026-11-24) ---------- */
/* Steps: the number sits next to its title („1 Užklausa arba anketa“) */
.pg-step { display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; align-items: center; }
.pg-step > * { grid-column: 1 / -1; margin: 0 !important; }
.pg-step > .pg-step__num { grid-column: 1; width: 38px; height: 38px; font-size: 1rem; }
.pg-step > .pg-step__title { grid-column: 2; }
.pg-step > p:not(.pg-step__num) { margin-top: .6rem !important; }

/* Two white sections in a row do not stack two full paddings (about → news) */
.pg-section:not(.has-background) + .pg-section:not(.has-background) { padding-top: var(--wp--preset--spacing--40) !important; }

/* News cards: date line; a card without a picture gets a quiet top band */
.pg-postcard__date { margin: 1.1rem 1.25rem 0 !important; font-size: .8125rem; color: var(--wp--preset--color--muted); }
.pg-postcard__date + .wp-block-post-title { margin-top: .25rem !important; }
.pg-postcard:not(:has(.wp-block-post-featured-image))::before { content: ""; display: block; height: 6px; background: linear-gradient(90deg, var(--wp--preset--color--primary), var(--wp--preset--color--primary-dark)); }

/* Section rows: mega-menu panel + sidebar */
html:not(.pg-js) .pg-grp__body[hidden] { display: block; }
.pg-grp__head { display: flex; align-items: center; gap: .25rem; }
.pg-grp__title { flex: 1; min-width: 0; display: block; padding: .5rem .6rem; border: 0; border-radius: 8px; background: none; text-align: left; font: inherit; font-weight: 700; font-size: .875rem; letter-spacing: 0; text-transform: none; color: var(--wp--preset--color--navy); text-decoration: none; cursor: pointer; }
.pg-grp--leaf .pg-grp__title { text-transform: none; letter-spacing: 0; } /* a one-link group's title as bold and as large as the others (owner 2026-11-29: „Nuolatinės paslaugos įmonei should be same bold as … Mokymai“) */
.pg-grp__title:hover { background: var(--wp--preset--color--tint); color: var(--wp--preset--color--primary-dark); }
.pg-grp__toggle { flex: none; width: 32px; height: 32px; border: 1px solid var(--pg-line); border-radius: 8px; background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--wp--preset--color--primary); }
.pg-grp__toggle span::before { content: "+"; font-size: 1.15rem; line-height: 1; }
.pg-grp.is-open > .pg-grp__head .pg-grp__toggle span::before { content: "–"; }
.pg-grp__toggle:hover { border-color: var(--wp--preset--color--primary); }
.pg-grp__body { padding: .25rem .6rem .6rem .9rem; }
.pg-grp.is-current > .pg-grp__head .pg-grp__title { color: var(--wp--preset--color--primary-dark); }
/* panel: three columns of rows */
.pg-panel .pg-grps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem 1.5rem; align-items: start; }
.pg-panel .pg-grp { border-bottom: 1px solid var(--pg-line); padding-bottom: .25rem; }
@media (max-width: 1180px) { .pg-panel .pg-grps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* sidebar: one column */
.pg-section-nav--groups .pg-grp { border-top: 1px solid var(--pg-line); }
.pg-section-nav--groups .pg-grp:first-child { border-top: 0; }
.pg-section-nav--groups .pg-grp__title { padding: .55rem .4rem; font-size: .8125rem; }
.pg-section-nav--groups .pg-grp__body .pg-list a, .pg-section-nav--groups .pg-grp__body .pg-list summary { font-size: .9rem; }

/* Service card icons: the line icon sits in a soft tile that fills with the brand colour on hover */
.pg-service .wp-block-image.is-style-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, var(--wp--preset--color--tint), #fff); border: 1px solid #dbe6fb; box-shadow: 0 4px 10px rgba(42,116,237,.10); transition: background .18s, border-color .18s, box-shadow .18s; margin-bottom: 1rem; }
.pg-service .wp-block-image.is-style-icon img { width: 28px !important; height: 28px; transition: filter .18s; }
.pg-service:hover .wp-block-image.is-style-icon { background: linear-gradient(135deg, var(--wp--preset--color--primary), var(--wp--preset--color--primary-dark)); border-color: transparent; box-shadow: 0 8px 18px rgba(42,116,237,.28); }
.pg-service:hover .wp-block-image.is-style-icon img { filter: brightness(0) invert(1); }
/* the topbar rating links */
.pg-topbar__rating a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Search (inc/search.php) ---------- */
.pg-search-toggle { width: 44px; height: 44px; border: 0; border-radius: 12px; background: none; color: var(--wp--preset--color--navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pg-search-toggle:hover, .pg-search-toggle[aria-expanded="true"] { background: var(--wp--preset--color--tint); color: var(--wp--preset--color--primary-dark); }
.pg-search-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; background: #fff; border-top: 1px solid var(--pg-line); box-shadow: 0 24px 48px rgba(11,30,59,.14); }
.pg-search-panel[hidden] { display: none; }
.pg-search-panel__inner { max-width: 820px; margin: 0 auto; padding: 1rem clamp(1rem, 4vw, 2rem) 1.25rem; }
.pg-search-form { position: relative; display: flex; align-items: center; gap: .5rem; }
.pg-search-form__icon { position: absolute; left: .9rem; color: var(--wp--preset--color--muted); pointer-events: none; }
.pg-search-form input[type=search] { flex: 1; min-width: 0; padding: .8rem 1rem .8rem 2.6rem; border: 1px solid var(--pg-line); border-radius: 12px; font: inherit; font-size: 1rem; background: #fff; }
.pg-search-form input[type=search]:focus { outline: none; border-color: var(--wp--preset--color--primary); box-shadow: 0 0 0 3px rgba(42,116,237,.15); }
.pg-search-form__go { border: 0; border-radius: 12px; padding: .8rem 1.1rem; background: var(--wp--preset--color--primary); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.pg-search-form__go:hover { background: var(--wp--preset--color--primary-dark); }
.pg-search-form--drawer .pg-search-form__go { padding: .7rem .85rem; }
.pg-search-results { position: absolute; left: 0; right: 0; top: calc(100% + .4rem); z-index: 70; max-height: min(70vh, 560px); overflow-y: auto; background: #fff; border: 1px solid var(--pg-line); border-radius: 14px; box-shadow: 0 18px 40px rgba(11,30,59,.16); padding: .4rem; text-align: left; }
.pg-search-results[hidden] { display: none; }
.pg-sr__group { margin: .5rem .6rem .25rem; font-size: .75rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--wp--preset--color--muted); }
.pg-sr__item { display: flex; align-items: center; gap: .75rem; padding: .55rem .6rem; border-radius: 10px; color: var(--wp--preset--color--ink); text-decoration: none; }
.pg-sr__item:hover, .pg-sr__item.is-active { background: var(--wp--preset--color--tint); }
.pg-sr__item img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; flex: none; background: var(--wp--preset--color--surface, #f8fafc); }
.pg-sr__body { flex: 1; min-width: 0; display: grid; }
.pg-sr__title { font-weight: 600; color: var(--wp--preset--color--navy); line-height: 1.3; }
.pg-sr__title mark { background: #fff1b8; color: inherit; border-radius: 3px; padding: 0 1px; }
.pg-sr__text { font-size: .8125rem; color: var(--wp--preset--color--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-sr__price { flex: none; font-weight: 700; font-size: .875rem; color: var(--wp--preset--color--primary-dark); white-space: nowrap; }
.pg-sr__none { margin: .6rem; color: var(--wp--preset--color--muted); }
.pg-sr__all { display: block; margin-top: .25rem; padding: .65rem .6rem; border-top: 1px solid var(--pg-line); font-weight: 600; color: var(--wp--preset--color--primary-dark); text-decoration: none; border-radius: 0 0 10px 10px; }
.pg-sr__all:hover, .pg-sr__all.is-active { background: var(--wp--preset--color--tint); }
.pg-search-form--inline { max-width: 640px; margin: 1rem 0; }

/* ---------- „Naudinga informacija“ link cards ---------- */
.pg-info .pg-info__card { position: relative; height: 100%; display: flex; gap: .85rem; align-items: flex-start; padding: 1.1rem 1.15rem !important; transition: transform .18s, box-shadow .18s, border-color .18s; }
.pg-info .pg-info__card:hover { transform: translateY(-2px); box-shadow: var(--wp--preset--shadow--lift); border-color: #cfdcf5; }
.pg-info .pg-info__card .wp-block-image.is-style-icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--wp--preset--color--tint); margin: 0 !important; }
.pg-info .pg-info__card .wp-block-image.is-style-icon img { width: 22px !important; height: 22px; }
.pg-info .pg-info__title { margin: 0 0 .2rem !important; font-weight: 700; color: var(--wp--preset--color--navy); }
.pg-info .pg-info__title a { color: inherit; text-decoration: none; }
.pg-info .pg-info__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--pg-radius); }
.pg-info .pg-info__card p:not(.pg-info__title) { margin: 0; font-size: .875rem; color: var(--wp--preset--color--muted); }

/* ---------- „Kodėl įmonės renkasi Progarantas“ (founder quote + promises, from the owner's concept v6) ---------- */
.pg-founder__quote-card { background: #fff; border-radius: var(--pg-radius); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--pg-shadow); border: 1px solid var(--pg-line); }
.pg-founder__quote { margin: 0 0 1.25rem !important; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--wp--preset--color--navy); font-weight: 500; }
.pg-founder__who { display: flex; align-items: center; gap: .85rem; }
.pg-founder__avatar { flex: none; width: 52px; height: 52px; margin: 0 !important; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--wp--preset--color--primary), var(--wp--preset--color--primary-dark)); color: #fff; font-weight: 800; }
.pg-founder__name { margin: 0 !important; font-weight: 700; color: var(--wp--preset--color--navy); }
.pg-founder__role { margin: 0 !important; color: var(--wp--preset--color--muted); }
.pg-promise { padding: .9rem 0 .9rem 1rem; border-left: 3px solid var(--wp--preset--color--primary); }
.pg-promise + .pg-promise { margin-top: .75rem; }
.pg-promise__title { margin: 0 0 .2rem !important; font-weight: 700; color: var(--wp--preset--color--navy); }
.pg-promise p:last-child { margin: 0; color: var(--wp--preset--color--muted); }

/* Side menus: a page's own menu ([progarantas_menu], the old Elementor side menu) and the e-shop menu — compact rows,
   the section title links to its page, „+“ opens its links, the section of the current page is open */
.pg-side-menu { background: #fff; border: 1px solid var(--pg-line); border-radius: var(--pg-radius); padding: .5rem .6rem; margin: 0 0 1.25rem; box-shadow: var(--pg-shadow); }
.pg-side-menu__title { margin: .35rem .4rem .45rem; font-weight: 700; font-size: .75rem; letter-spacing: 0; text-transform: none; }
.pg-side-menu__title a { color: var(--wp--preset--color--muted); text-decoration: none; }
.pg-side-menu__title a:hover { color: var(--wp--preset--color--primary); }
.pg-side-menu__title--foot { margin-top: .6rem; padding-top: .6rem; border-top: 1px solid var(--pg-line); }
.pg-side-menu .pg-grp { border-top: 1px solid var(--pg-line); }
.pg-side-menu .pg-grp:first-child { border-top: 0; }
.pg-side-menu .pg-grp__title { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: .9rem; line-height: 1.3; padding: .55rem .4rem; }
.pg-side-menu .pg-grp__toggle { width: 28px; height: 28px; }
.pg-side-menu .pg-grp__body { padding: .1rem .4rem .5rem .7rem; }
.pg-side-menu .pg-list a, .pg-side-menu .pg-list summary { font-size: .875rem; padding: .28rem 0; }
.pg-side-menu .pg-grp.is-current > .pg-grp__head .pg-grp__title, .pg-side-menu .pg-grp--leaf.is-current .pg-grp__title { color: var(--wp--preset--color--primary-dark); background: var(--wp--preset--color--tint); }
.pg-catlist, .pg-catlist .children { list-style: none; margin: 0; padding: 0; }
.pg-catlist .children { padding-left: .8rem; border-left: 2px solid var(--pg-line); margin: .1rem 0 .35rem .4rem; }
.pg-catlist a { display: block; padding: .4rem; color: var(--wp--preset--color--navy); text-decoration: none; font-size: .9rem; font-weight: 600; border-radius: 8px; }
.pg-catlist .children a { font-weight: 400; font-size: .875rem; padding: .25rem .4rem; }
.pg-catlist a:hover, .pg-catlist .current-cat > a { background: var(--wp--preset--color--tint); color: var(--wp--preset--color--primary-dark); }

/* homepage round 10 (owner 2026-11-24): „Įmonių atstovavimas“ card with its own links (no whole-card link) */
.pg-service--list:hover { transform: none; }
.pg-service__links { list-style: none; margin: .65rem 0 0; padding: 0; font-size: .875rem; line-height: 1.35; }
.pg-service__links li { position: relative; padding-left: .95rem; }
.pg-service__links li + li { margin-top: .35rem; }
.pg-service__links li::before { content: ""; position: absolute; left: 0; top: .5em; width: .4rem; height: .4rem; border-radius: 50%; background: var(--wp--preset--color--primary); }
.pg-service__links a { color: var(--wp--preset--color--primary-dark); text-decoration: none; }
.pg-service__links a:hover, .pg-service__links a:focus-visible { text-decoration: underline; }
/* „Įmonės saugos auditas“ — a link card at the bottom of „Atliekame funkcijas jūsų įmonėje“ */
.pg-about__audit { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; margin-top: 1.25rem; padding: 1rem 1.1rem; border-radius: var(--pg-radius); background: var(--wp--preset--color--tint); border: 1px solid #dbe6fb; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pg-about__audit:hover { border-color: var(--wp--preset--color--primary); box-shadow: var(--wp--preset--shadow--lift); transform: translateY(-2px); }
.pg-about__audit .wp-block-image { grid-row: span 2; margin: 0; }
.pg-about__audit p { margin: 0; }
.pg-about__audit-title { font-weight: 700; font-size: 1.05rem; }
.pg-about__audit-title a { color: var(--wp--preset--color--navy); text-decoration: none; }
.pg-about__audit-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--pg-radius); }
.pg-about__audit-title a::before { content: "→"; float: right; margin-left: .5rem; color: var(--wp--preset--color--primary); }
.pg-about__audit-text { color: var(--wp--preset--color--muted); }

/* Parts of converted pages that Elementor hid on desktop / tablet / phone keep doing so (classes written by the migration
   plugin). progarantas.lt's own Elementor breakpoints (stored kit settings 2026-11-24): phone up to 759 px, "tablet" only
   at 760 px, desktop from 761 px — not Elementor's defaults. In this file, not inline: WP Rocket's "Remove Unused CSS"
   strips small inline style blocks. */
@media (max-width: 759px) { .pg-hide-mobile { display: none !important; } }
@media (min-width: 760px) and (max-width: 760px) { .pg-hide-tablet { display: none !important; } }
@media (min-width: 761px) { .pg-hide-desktop { display: none !important; } }

/* ---------- Cookie notice (inc/cookies.php) — ProfileBond's banner look ---------- */
.pg-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 99990; background: #fff; border-top: 1px solid var(--pg-line); box-shadow: 0 -.4rem 1.2rem rgba(11,30,59,.12); padding: 1rem clamp(1rem, 3vw, 1.5rem); }
.pg-cookie[hidden] { display: none; }
.pg-cookie__inner { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; }
.pg-cookie__text { flex: 1 1 420px; min-width: 0; }
.pg-cookie__title { margin: 0 0 .2rem; font-weight: 700; color: var(--wp--preset--color--navy); }
.pg-cookie__body { margin: 0; color: #495057; font-size: .875rem; line-height: 1.5; }
.pg-cookie__body a { color: var(--wp--preset--color--primary-dark); font-weight: 600; }
.pg-cookie__btns { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; flex: 0 0 auto; }
.pg-cookie__more, .pg-cookie__ok { display: inline-flex; align-items: center; border-radius: 999px; padding: .5rem 1.1rem; font: inherit; font-size: .875rem; font-weight: 600; line-height: 1.2; cursor: pointer; text-decoration: none; }
.pg-cookie__more { border: 1px solid #adb5bd; background: #fff; color: #212529; }
.pg-cookie__more:hover { border-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--primary-dark); }
.pg-cookie__ok { border: 1px solid var(--wp--preset--color--primary); background: var(--wp--preset--color--primary); color: #fff; min-width: 6rem; justify-content: center; }
.pg-cookie__ok:hover { background: var(--wp--preset--color--primary-dark); border-color: var(--wp--preset--color--primary-dark); }
@media (max-width: 600px) { .pg-cookie__btns { width: 100%; } .pg-cookie__btns > * { flex: 1; justify-content: center; } }

/* the 404 page's title on the same calm scale as the other page titles */
.error404 .pg-main h1 { font-size: clamp(1.6rem, 2.6vw, 2rem); letter-spacing: 0; }

/* One click (owner 2026-11-25): an open section lists its groups as small titles with their links below — no nested „+“ */
.pg-flat, .pg-flat__sub { list-style: none; margin: 0; padding: 0; }
.pg-flat > li + li { margin-top: .15rem; }
.pg-flat > li > a, .pg-flat__sub a { display: block; padding: .28rem 0; color: var(--wp--preset--color--ink); text-decoration: none; font-size: .9rem; line-height: 1.35; }
.pg-flat a:hover { color: var(--wp--preset--color--primary); }
.pg-flat .is-current > a, .pg-flat a[aria-current] { color: var(--wp--preset--color--primary-dark); font-weight: 600; }
.pg-flat__group { margin: .55rem 0 .35rem; }
.pg-flat__label, a.pg-flat__label { display: block; margin: 0 0 .15rem; padding: 0 !important; font-size: .72rem !important; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--wp--preset--color--muted) !important; }
a.pg-flat__label:hover { color: var(--wp--preset--color--primary) !important; }
.pg-flat__sub { padding-left: .7rem; border-left: 2px solid var(--pg-line); }
/* a group's title with a small arrow that closes / opens its links (owner 2026-11-25) */
.pg-flat__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.pg-flat__head > .pg-flat__label { flex: 1 1 auto; min-width: 0; margin: 0; }
.pg-flat__toggle { flex: none; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--wp--preset--color--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pg-flat__toggle:hover, .pg-flat__toggle:focus-visible { background: var(--wp--preset--color--tint); color: var(--wp--preset--color--primary); }
.pg-flat__toggle span { display: block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s ease; }
.pg-flat__group.is-open > .pg-flat__head .pg-flat__toggle span { transform: translateY(2px) rotate(-135deg); }
.pg-flat__body { margin-top: .15rem; }
.pg-flat__group:not(.is-open) { margin-bottom: .1rem; }
.pg-flat__more > details > summary { cursor: pointer; list-style: none; padding: .28rem 0; font-size: .85rem; font-weight: 600; color: var(--wp--preset--color--primary-dark); }
.pg-flat__more > details > summary::-webkit-details-marker { display: none; }
.pg-flat__more > details[open] > summary { display: none; }
.pg-flat__more .pg-flat__sub { padding-left: 0; border: 0; }
/* the header panel: three columns of sections, each opening to its flat list */
.pg-panel .pg-flat__sub a, .pg-panel .pg-flat > li > a { font-size: .875rem; }
/* phone menu: DETALI INFORMACIJA's sections listed under a small title */
.pg-dlist__label { border-bottom: 0 !important; padding: 1rem 0 .2rem; }
.pg-dlist__label span { font-size: .72rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--wp--preset--color--muted); }
.pg-dlist details > .pg-flat { padding: 0 0 .75rem .85rem; border-left: 2px solid var(--pg-line); margin-bottom: .5rem; }
.pg-dlist .pg-flat > li > a, .pg-dlist .pg-flat__sub a { font-weight: 500; padding: .42rem 0; color: var(--wp--preset--color--ink); font-size: .95rem; }

/* homepage service cards (owner 2026-11-25): the title beside a slightly smaller icon, on one line */
.pg-service { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: .8rem; align-items: center; }
.pg-service > * { grid-column: 1 / -1; }
.pg-service > .wp-block-image.is-style-icon { grid-column: 1; width: 44px !important; height: 44px !important; border-radius: 12px; margin: 0 !important; }
.pg-service > .wp-block-image.is-style-icon img { width: 22px !important; height: 22px; }
.pg-service > .pg-card__title { grid-column: 2; margin: 0 !important; font-size: 1.05rem !important; line-height: 1.25; }
.pg-service > p { margin-top: .75rem !important; }

/* ---------- Page designs (inc/page-designs.php): Kontaktai, Apie mus, Saugos paslaugos (owner 2026-11-25) ---------- */
.pg-design .pg-design__main > * + * { margin-top: clamp(1.1rem, 2vw, 1.5rem); } /* 24–36 px until 2026-11-30 ("too big gaps") */
.pg-dhero { background: linear-gradient(135deg, var(--wp--preset--color--tint), #fff 70%); border: 1px solid #dbe6fb; border-radius: var(--pg-radius); padding: clamp(1.25rem, 3vw, 2rem); }
.pg-dhero > * { margin: 0; }
.pg-dhero > * + * { margin-top: .75rem; }
.pg-dhero :is(h1, h2) { text-align: left !important; margin: 0 !important; }
.pg-dhero__lead { font-size: 1.08rem; color: var(--wp--preset--color--ink); }
.pg-dhero--about { text-align: center; }
.pg-dhero--about :is(h1, h2) { text-align: center !important; }
.pg-dhero--about h1 figure, .pg-dhero--about h1 img { margin: .5rem auto 0; max-width: 100%; height: auto; }
.pg-dhero--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 34%); gap: 1.5rem; align-items: center; }
.pg-dhero--split .pg-dhero__text > * + * { margin-top: .75rem; }
.pg-dhero--split .pg-dhero__pic figure { margin: 0; }
.pg-dhero--split .pg-dhero__pic img { width: 100%; height: auto; border-radius: 12px; box-shadow: var(--pg-shadow); }
@media (max-width: 781px) { .pg-dhero--split { grid-template-columns: 1fr; } }
.pg-dcards { display: grid; gap: 1rem; }
.pg-dcards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg-dcards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .pg-dcards--3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .pg-dcards--2 { grid-template-columns: 1fr; } }
.pg-dcard { background: #fff; border: 1px solid var(--pg-line); border-radius: var(--pg-radius); padding: 1.1rem 1.2rem; box-shadow: var(--pg-shadow); margin: 0 !important; }
.pg-dcard > * { margin: 0 !important; }
.pg-dcard > * + * { margin-top: .45rem !important; }
.pg-dcard__label { font-size: .75rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--wp--preset--color--muted); }
.pg-dcard__value { font-size: 1.05rem; font-weight: 600; color: var(--wp--preset--color--navy); }
.pg-dcard__value a { text-decoration: none; }
.pg-dcard--text h5, .pg-dcard--text h4 { font-size: 1.02rem !important; color: var(--wp--preset--color--navy); }
.pg-dcard--text p { font-size: .97rem; color: var(--wp--preset--color--ink); }
.pg-dtext > * + * { margin-top: 1em; }
@media (min-width: 1024px) { .pg-dtext--cols { columns: 2 320px; column-gap: 2.5rem; } .pg-dtext--cols > * { break-inside: avoid; margin: 0 0 1em; } }
.pg-dsection > * + * { margin-top: 1rem; }
.pg-dsection > :is(h1, h2):first-child { text-align: left !important; padding-bottom: .5rem; border-bottom: 3px solid var(--wp--preset--color--primary); display: inline-block; }
.pg-dsection--services > h2:first-child { font-size: clamp(1.15rem, 1.7vw, 1.3rem); }
.pg-dfeatures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
@media (max-width: 1100px) { .pg-dfeatures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pg-dfeatures { grid-template-columns: 1fr; } }
.pg-dfeature { background: var(--wp--preset--color--tint); border-radius: var(--pg-radius); padding: 1rem 1.1rem; margin: 0 !important; }
.pg-dfeature p { margin: 0; font-size: .93rem; line-height: 1.5; }
.pg-dfeature p strong { display: block; margin-bottom: .3rem; font-size: .85rem; letter-spacing: .04em; color: var(--wp--preset--color--navy); }
.pg-dfeature p br { display: none; }
.pg-dpanel { background: #fff; border: 1px solid var(--pg-line); border-left: 4px solid var(--wp--preset--color--primary); border-radius: var(--pg-radius); padding: 1.1rem 1.3rem; }
.pg-dpanel > * { margin: 0; }
.pg-dpanel > * + * { margin-top: .7rem; }
.pg-dpanel ol { padding-left: 1.4em; }
.pg-dpanel ol li + li { margin-top: .4em; }
.pg-drow { margin: 0 !important; padding: .45rem 0; border-bottom: 1px solid var(--pg-line); }
.pg-drow:last-child { border-bottom: 0; }
.pg-dsplit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; align-items: stretch; }
@media (max-width: 781px) { .pg-dsplit { grid-template-columns: 1fr; } }
.pg-dmap { margin: 0 !important; border-radius: var(--pg-radius); overflow: hidden; min-height: 260px; }
.pg-dmap iframe { height: 100% !important; min-height: 260px; display: block; }
.pg-dcallout { background: var(--wp--preset--color--navy); color: #fff; border-radius: var(--pg-radius); padding: clamp(1.25rem, 3vw, 1.75rem); }
.pg-dcallout :is(h1, h2, h3, strong, p) { color: #fff; }
.pg-dcallout a { color: #fff; text-decoration: underline; }
.pg-dcallout > * { margin: 0; }
.pg-dcallout > * + * { margin-top: .7rem; }
.pg-dcallout h1 { font-size: 1.25rem !important; }
.pg-dpartners p { color: var(--wp--preset--color--muted); }
/* /darbu-sauga/: the numbers as tiles + the work fields as tags (instead of the old banner picture) */
.pg-dstats { margin-top: 1.25rem !important; }
.pg-dstats__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .75rem; }
@media (max-width: 1100px) { .pg-dstats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .pg-dstats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pg-dstat { background: #fff; border: 1px solid #dbe6fb; border-radius: 12px; padding: .9rem .6rem; text-align: center; margin: 0 !important; box-shadow: 0 4px 12px rgba(42,116,237,.08); }
.pg-dstat > * { margin: 0 !important; }
.pg-dstat__num { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 800; line-height: 1.1; color: var(--wp--preset--color--primary-dark); letter-spacing: -.01em; }
.pg-dstat__label { margin-top: .35rem !important; font-size: .72rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--wp--preset--color--muted); line-height: 1.3; }
.pg-dchips { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin-top: 1rem !important; }
.pg-dchip { display: inline-flex; padding: .35rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--pg-line); color: var(--wp--preset--color--navy); font-size: .82rem; font-weight: 600; }
/* a heading shown in normal weight (it stays a heading — owner 2026-11-25, the instructions catalog) */
.pg-content .pg-h-light { font-weight: 400 !important; }
.pg-content .pg-h-light :is(strong, b) { font-weight: 400; }

/* ---------- Round 13 (owner 2026-11-25) ---------- */
/* Tabs (inc/tabs.php): the programmes page by topic, long pages by their own sections */
.pg-tabs { margin-block: 1.5rem; }
.pg-tabs__list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; padding: 0 0 .9rem; border-bottom: 1px solid var(--pg-line); }
.pg-tabs__tab { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border: 1px solid var(--pg-line); border-radius: 999px; background: #fff; color: var(--wp--preset--color--navy); font: inherit; font-size: .92rem; font-weight: 600; line-height: 1.3; text-align: left; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.pg-tabs__tab:hover { border-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--primary-dark); }
.pg-tabs__tab[aria-selected="true"] { background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); color: #fff; }
.pg-tabs__tab:focus-visible { outline: 3px solid rgba(47, 124, 246, .35); outline-offset: 2px; }
.pg-tabs__count { display: inline-block; min-width: 1.5em; padding: 0 .4em; border-radius: 999px; background: var(--wp--preset--color--tint); color: var(--wp--preset--color--primary-dark); font-size: .78rem; text-align: center; }
.pg-tabs__tab[aria-selected="true"] .pg-tabs__count { background: rgba(255, 255, 255, .22); color: #fff; }
.pg-tabs__panel:focus { outline: none; }
.pg-tabs__panel[hidden] { display: none !important; } /* a layout rule (display: flow-root …) must not show a closed panel */
.pg-tabs__panel > :first-child { margin-top: 0 !important; }
.pg-tabs__label { display: none; } /* the tab button carries it */
@media (max-width: 600px) {
	.pg-tabs__list { display: grid; grid-template-columns: 1fr; gap: .4rem; }
	.pg-tabs__tab { justify-content: space-between; border-radius: 10px; }
}
/* /darbu-sauga/: the goal as a quote, icons on the four strengths, numbered cards and steps (owner: "try a little more to improove") */
.pg-dquote { position: relative; padding: 1rem 1.2rem 1rem 1.35rem !important; background: var(--wp--preset--color--tint); border-left: 4px solid var(--wp--preset--color--primary); border-radius: 0 12px 12px 0; }
.pg-dfeature { display: block; background: #fff; border: 1px solid var(--pg-line); box-shadow: var(--pg-shadow); }
.pg-dfeature__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 0 .7rem; border-radius: 12px; background: var(--wp--preset--color--tint); color: var(--wp--preset--color--primary); }
.pg-dfeature p strong { font-size: .8rem; text-transform: none; }
.pg-design--about .pg-dcards--2 { counter-reset: pgcard; }
.pg-design--about .pg-dcard--text { position: relative; padding-top: 1.35rem; counter-increment: pgcard; }
.pg-design--about .pg-dcard--text::before { content: "0" counter(pgcard); display: block; margin: 0 0 .45rem; font-size: 1.6rem; font-weight: 800; line-height: 1; color: var(--wp--preset--color--primary); opacity: .9; }
.pg-dpanel--steps ol { list-style: none; padding: 0; counter-reset: pgstep; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.pg-dpanel--steps ol li { counter-increment: pgstep; position: relative; margin: 0 !important; padding: .8rem .9rem .8rem 3rem; background: var(--wp--preset--color--surface, #f7f9fc); border-radius: 10px; font-size: .95rem; line-height: 1.5; }
.pg-dpanel--steps ol li::before { content: counter(pgstep); position: absolute; left: .8rem; top: .75rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--wp--preset--color--primary); color: #fff; font-size: .8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
@media (max-width: 781px) { .pg-dpanel--steps ol { grid-template-columns: 1fr; } }
/* Saugos paslaugos įmonėms: the drawn picture inside the introduction, on its right */
.pg-dhero--art::after { content: ""; display: block; clear: both; }
.pg-dhero--art .pg-dhero__art { float: right; width: min(42%, 340px); margin: 0 0 .75rem 1.5rem !important; }
.pg-dhero--art .pg-dhero__art img { display: block; width: 100%; height: auto; }
@media (max-width: 640px) { .pg-dhero--art .pg-dhero__art { float: none; width: min(100%, 320px); margin: .25rem auto 1rem !important; } }
/* Pictures in the text (inc/images.php): small / medium ones on the right of the text on a computer, centred on a phone; big
   ones at most 460 px high (owner 2026-11-25: "some of them appears at the middle of the page thats terrible … some of them are
   too big"). Only a picture standing on its own in the main column, a section tab or the product description floats. */
.pg-img--side { max-width: min(100%, var(--pg-img-w, 360px)); margin-inline: auto !important; }
.pg-img--side img { width: 100% !important; height: auto !important; float: none !important; margin: 0 !important; }
.pg-img--side figure, .pg-img--big figure { margin: 0 !important; }
.pg-img--big img { max-height: 460px; width: auto !important; max-width: 100%; height: auto !important; }
.pg-img--big { text-align: center; }
@media (min-width: 782px) {
	:is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p)) > .pg-img--side,
	:is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel) > :is(ul, ol) > li > .pg-img--side { /* a picture an unclosed list item swallowed (old text) */
		float: right; clear: right; width: min(40%, var(--pg-img-w, 360px)); max-width: none; margin: .35rem 0 1rem 1.75rem !important;
	}
	:is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-tabs__panel, .woocommerce-Tabs-panel--description) { display: flow-root; }
	/* lists, accordions and tables next to a picture make room for it instead of running under it */
	/* lists wrap around a picture on their right (a list made to keep clear of it left an empty column beside a long list —
	   owner 2026-11-25 on /psichosocialiniu-rizikos-veiksniu-vertinimas/: "picture layout … looks terrible"); boxed blocks
	   (questions, accordions, tables) start below the picture */
	:is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description) > :is(details, .wp-block-details, .wp-block-accordion, .wp-block-table, table, .wp-block-columns) { clear: right; }
	:is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel) > .pg-tabs { clear: both; }
	/* a list whose last item swallowed a picture lets it out: the next text runs beside the picture, no empty band */
	:is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel) > :is(ul, ol):has(> li > .pg-img--side) { display: block; }
}
/* Homepage zones: half the space between them (owner 2026-11-25: "front page has too big margins between each zone etc. above
   'Naudinga informacija' the gap should be twice as less and on other similar zones") — the hero keeps its own */
.pg-section:not(.pg-hero) { padding-top: calc(var(--wp--preset--spacing--60) / 2) !important; padding-bottom: calc(var(--wp--preset--spacing--60) / 2) !important; }
.pg-section:not(.has-background) + .pg-section:not(.has-background) { padding-top: calc(var(--wp--preset--spacing--40) / 2) !important; }
.pg-section + .pg-section { margin-block-start: 0 !important; }
/* /darbu-sauga/: the competences sentence right below the card (owner 2026-11-25) */
.pg-design .pg-design__main > .pg-dlead { margin-top: 1rem !important; text-align: center; font-size: 1.08rem; line-height: 1.55; color: var(--wp--preset--color--navy); }
/* phones and tablets (owner 2026-11-26: "you should harden images on mobiles … image is in the middle and takes full row, maybe fit
   between text and if not fit properly then reduce size a little to fit it properly"): a small / medium picture of the text sits
   on the right INSIDE the text, at most 38 % of the column and never wider than itself or 170 px — so the words beside it keep
   at least ~60 % of the line (a picture at full size left 80 px: „Moky / mai“). A picture the old text put on the left stays
   left. Boxed blocks (questions, tables, tabs, columns) and headings start below it. Big and wide photos keep the full width. */
@media (max-width: 781px) {
	/* only a picture standing in the page's own text column (as on a computer) — never one inside a small column of its own */
	:is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p)) > :is(.pg-img--side, figure.alignright, .wp-block-image.alignright), :is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p)) > :is(ul, ol) > li > .pg-img--side, :is(.pg-content, .woocommerce-Tabs-panel) :is(p, li, dd) > img.alignright { float: right !important; clear: right; display: block; width: min(38%, var(--pg-img-w, 170px), 170px) !important; max-width: none; margin: .25rem 0 .6rem .9rem !important; }
	:is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p)) > :is(figure.alignleft, .wp-block-image.alignleft), :is(.pg-content, .woocommerce-Tabs-panel) :is(p, li, dd) > img.alignleft { float: left !important; clear: left; display: block; width: min(38%, var(--pg-img-w, 170px), 170px) !important; max-width: none; margin: .25rem .9rem .6rem 0 !important; }
	:is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p)) > :is(.pg-img--side, figure.alignright, figure.alignleft) img, :is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p)) > :is(ul, ol) > li > .pg-img--side img { width: 100% !important; height: auto !important; margin: 0 !important; }
	:is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p)) > :is(.wp-block-image:is(.alignright, .alignleft), .pg-img--side) figcaption { font-size: .75rem; }
	:is(.pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description) :is(details, .wp-block-details, .wp-block-accordion, .wp-block-table, table, .wp-block-columns, .pg-tabs, h1, h2, h3, h4, h5, h6):not(li > *) { clear: both; }
	:is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-tabs__panel, .woocommerce-Tabs-panel--description) { display: flow-root; }
	.pg-img--big img { max-height: 400px; } /* a tall photo never fills a phone's whole screen */
}
/* the old editor's pictures inside a sentence („…ant jų paspaudę. <img class="alignleft" width="130">Suprantame…“, raw HTML of
   /darbu-saugos-instrukcijos-pavyzdziai/) float beside the words on a computer too, instead of breaking the line */
@media (min-width: 782px) {
	:is(.pg-content, .woocommerce-Tabs-panel) :is(p, dd, li) img.alignleft:not(.is-style-icon img) { float: left; margin: .25rem 1.25rem .75rem 0; max-width: min(40%, 360px); height: auto; }
	:is(.pg-content, .woocommerce-Tabs-panel) :is(p, dd, li) img.alignright:not(.is-style-icon img) { float: right; margin: .25rem 0 .75rem 1.25rem; max-width: min(40%, 360px); height: auto; }
	:is(.pg-content, .woocommerce-Tabs-panel) :is(p, dd, li) img.aligncenter { display: block; margin: .75rem auto; height: auto; }
}

/* Links in the text (owner 2026-11-25: "links looks outdated styling … are you sure the color and styling of links meets the most
   modern user UI ?"): the brand blue, a thin underline set off from the letters that fills in on hover; a link to another site
   gets a small ↗ (so „…nuorodoje:“ reads as a link to an outside document) */
:is(.pg-content, .woocommerce-Tabs-panel, .pg-cat-faq, .term-description) :is(p, li, td, dd, figcaption) a:not(.is-style-card a):not(:is(h1, h2, h3, h4, h5, h6) a):not(.shop_table a):not(.woocommerce-cart-form a):not(.woocommerce-checkout-review-order a):not(.wp-element-button):not(.button):not(.pg-tabs__tab):not(.pg-side-menu a):not(.pg-col--side a):not(ul.products a):not(.pg-ptable a):not(.pg-tabs__list a):where(:not(:has(img))) {
	color: var(--wp--preset--color--primary-dark); font-weight: 500; text-decoration: none; text-decoration-thickness: 1px; text-underline-offset: .22em;
	transition: color .15s ease;
}
:is(.pg-content, .woocommerce-Tabs-panel, .pg-cat-faq, .term-description) :is(p, li, td, dd, figcaption) a:not(.is-style-card a):not(:is(h1, h2, h3, h4, h5, h6) a):not(.shop_table a):not(.woocommerce-cart-form a):not(.woocommerce-checkout-review-order a):not(.wp-element-button):not(.button):not(.pg-tabs__tab):not(.pg-side-menu a):not(.pg-col--side a):not(ul.products a):not(.pg-ptable a):not(.pg-tabs__list a):where(:not(:has(img))):hover {
	color: var(--wp--preset--color--primary); text-decoration: underline; text-decoration-color: currentColor;
}
:is(.pg-content, .woocommerce-Tabs-panel) :is(p, li, td, dd, figcaption) a[href^="http"]:not(.is-style-card a):not(:is(h1, h2, h3, h4, h5, h6) a):not(.shop_table a):not(.woocommerce-cart-form a):not(.woocommerce-checkout-review-order a):not([href*="progarantas.lt"]):not([href*="127.0.0.1"]):not(.wp-element-button):not(.button):not(.pg-side-menu a):not(.pg-col--side a):not(ul.products a):not(.pg-ptable a):where(:not(:has(img)))::after {
	content: "↗"; display: inline-block; margin-left: .15em; font-size: .78em; text-decoration: none; vertical-align: .1em;
}
/* a heading inside a list item (the old texts: „<li><h4>Asmens duomenų tvarkymo taisyklės</h4>;</li>“) reads on one line */
/* …in the list's own regular weight (owner 2026-11-26 on /saugos-instrukcijos-ir-dokumentu-sarasas/: "do we need all numbered
   documents to be bold or heavy font … if not, make it regular" — the H4 tags stay, only their look is the list's) */
:is(.pg-content, .woocommerce-Tabs-panel) li > :is(h2, h3, h4, h5, h6) { display: inline; margin: 0 !important; font-size: inherit !important; line-height: inherit; font-weight: inherit; color: inherit; letter-spacing: inherit; text-transform: none; }

/* Tabs as tabs (owner 2026-11-25: "are you sure those badge time tabs are according to the most modern user UI ? its clear to
   the customer that each of them holds text?"): a framed box, its tabs a row on top — the open tab joins its panel, the others
   are grey; on a phone the tabs are a list, the open one marked */
.pg-tabs { border: 1px solid var(--pg-line); border-radius: var(--pg-radius); background: #fff; overflow: hidden; }
.pg-tabs__list { gap: 0; margin: 0; padding: .5rem .5rem 0; border-bottom: 1px solid var(--pg-line); background: var(--wp--preset--color--surface, #f6f8fb); }
.pg-tabs__tab { position: relative; margin: 0 .25rem -1px 0; padding: .6rem 1rem; border: 1px solid transparent; border-bottom: 0; border-radius: 10px 10px 0 0; background: transparent; color: var(--wp--preset--color--muted); font-weight: 600; }
.pg-tabs__tab:hover { color: var(--wp--preset--color--navy); background: rgba(255, 255, 255, .6); border-color: transparent; }
.pg-tabs__tab[aria-selected="true"] { background: #fff; color: var(--wp--preset--color--navy); border-color: var(--pg-line); box-shadow: inset 0 3px 0 var(--wp--preset--color--primary); }
.pg-tabs__tab[aria-selected="true"] .pg-tabs__count { background: var(--wp--preset--color--tint); color: var(--wp--preset--color--primary-dark); }
.pg-tabs__panel { padding: 1.25rem 1.35rem 1.4rem; }
@media (max-width: 600px) {
	.pg-tabs__list { display: grid; grid-template-columns: 1fr; padding: .4rem; gap: .25rem; }
	.pg-tabs__tab { margin: 0; border-radius: 8px; border: 1px solid transparent; justify-content: space-between; }
	.pg-tabs__tab::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); opacity: .5; }
	.pg-tabs__tab[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--wp--preset--color--primary); }
	.pg-tabs__tab[aria-selected="true"]::after { transform: rotate(45deg); opacity: .9; }
	.pg-tabs__panel { padding: 1rem .9rem 1.1rem; }
}
/* Homepage (owner 2026-11-25): the work steps inside the permanent-services card („Kaip pradedame“), numbered */
.pg-price__steps-title { margin: 1rem 0 .4rem !important; font-size: .78rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--wp--preset--color--muted); }
.pg-price__steps { list-style: none; margin: 0 0 1rem; padding: 0; counter-reset: pgps; font-size: .9rem; line-height: 1.45; }
.pg-price__steps li { counter-increment: pgps; position: relative; padding-left: 2rem; }
.pg-price__steps li + li { margin-top: .55rem; }
.pg-price__steps li::before { content: counter(pgps); position: absolute; left: 0; top: .05rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--wp--preset--color--primary); color: #fff; font-size: .75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pg-price__steps strong { color: var(--wp--preset--color--navy); }

/* Homepage icons beside their titles (owner 2026-11-25: "icons are on top of the card to the middle, why not before the title text
   in same row"; "icons before title texts does not look good it should not be that much upper than title text") */
.pg-way { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: .8rem; align-items: center; }
.pg-way > * { grid-column: 1 / -1; }
.pg-way > .wp-block-image.is-style-icon { grid-column: 1; width: 44px !important; height: 44px; display: grid; place-items: center; margin: 0 !important; border-radius: 12px; background: #fff; }
.pg-way > .wp-block-image.is-style-icon img { width: 24px !important; height: 24px; }
.pg-way > .pg-way__title { grid-column: 2; margin: 0 !important; line-height: 1.25; }
.pg-way > p:not(.pg-way__title) { margin-top: .7rem !important; }
.pg-info .pg-info__card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: .85rem; row-gap: 0; align-items: start; }
.pg-info .pg-info__card > .wp-block-group { display: contents; }
.pg-info .pg-info__card .pg-info__title { grid-column: 2; grid-row: 1; align-self: center; margin: 0 !important; line-height: 1.3; }
.pg-info .pg-info__card > .wp-block-image.is-style-icon { grid-column: 1; grid-row: 1; }
.pg-info .pg-info__card p:not(.pg-info__title) { grid-column: 2; margin-top: .3rem !important; }
@media (max-width: 600px) {
	.pg-service, .pg-way { grid-template-columns: 40px minmax(0, 1fr); }
	.pg-service > .wp-block-image.is-style-icon, .pg-way > .wp-block-image.is-style-icon { width: 40px !important; height: 40px !important; }
}
/* tab names in full: a long name wraps inside its tab instead of being cut (owner 2026-11-25) */
.pg-tabs__tab { white-space: normal; max-width: 100%; text-align: left; line-height: 1.3; }
.pg-tabs__name { overflow-wrap: anywhere; }
/* a picture placed before a heading starts level with the heading's text, not above it (the heading's top margin used to push
   only the heading down — owner 2026-11-25: "why picture at that page is upper than title text?") */
@media (min-width: 782px) {
	.pg-img--side:has(+ :is(h1, h2, h3, h4, h5, h6)) { margin-top: 1.6rem !important; }
	.pg-img--side + :is(h1, h2, h3, h4, h5, h6) { margin-top: 1.6rem !important; }
}
/* a big landscape photo spans the column at its own height (capping it left it narrow in the middle) */
.pg-img--wide { text-align: center; }
.pg-img--wide img { width: min(100%, var(--pg-img-w, 100%)) !important; height: auto !important; max-width: 100%; margin-inline: auto; display: block; }
.pg-img--wide figure { margin-inline: 0 !important; }
/* a row of four (or more) cards inside the text column (the order page's price cards, 193 px each) → two per row */
@media (min-width: 782px) {
	.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side) .wp-block-columns:has(> .wp-block-column:nth-child(4)) { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem !important; }
	.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side) .wp-block-columns:has(> .wp-block-column:nth-child(4)) > .wp-block-column { min-width: 0; margin: 0 !important; }
}
/* a long web address or word in a text breaks onto the next line on a phone instead of widening the page */
:is(.pg-content, .woocommerce-Tabs-panel) :is(p, li, td, dd, figcaption, h1, h2, h3, h4, h5, h6) { overflow-wrap: anywhere; }
/* phones: the product picture smaller, so the name and price come into view sooner */
@media (max-width: 781px) {
	.woocommerce div.product div.images { padding: .6rem; }
	.woocommerce div.product div.images img { max-height: 170px; }
}
/* menus never underline (a group title that is a link took WordPress's global link underline) */
:is(.pg-side-menu, .pg-panel, .pg-drawer) a { text-decoration: none !important; }
/* a shop button made from an old „…paspaudę čia“ line (inc/text-fixes.php, 1g) */
.pg-shop-cta { text-align: center; margin: 1rem 0 1.5rem !important; }
.pg-shop-cta .wp-element-button { display: inline-block; text-decoration: none; }
/* Text alignment, one rule for the whole site (owner 2026-11-26: "maybe some texts should be justified or not? … I remember
   avoiding some of justification because on mobiles the gaps between texts appeared too big if justified, solve this in the best
   way"): on a computer the text paragraphs of a page, a tab, a question and a product description are justified, with
   hyphenation (lang="lt") and no lonely last word; on phones and tablets every paragraph is left-aligned — also the ones the old
   editor justified — because a 35-character line cannot be justified without big gaps. Centred texts, cards and the designed
   pages' own blocks keep their alignment. */
:is(.pg-content, .woocommerce-Tabs-panel) :is(p, li) { hyphens: manual; text-wrap: pretty; }
/* a menu is no paragraph: its lines break where they fill (owner 2026-11-27: "at right navbar some text trunctates earlier why ?" —
   „pretty“ pulled „vadovo“ down to keep „mokymai“ company on the last line) */
:is(.pg-content, .woocommerce-Tabs-panel) :is(nav, .pg-side-menu, .pg-col--side, .pg-side-panel) :is(p, li, a) { text-wrap: wrap; }
@media (min-width: 992px) {
	:is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content > .wp-block-group:not(.pg-design), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns > .wp-block-column:first-child, details, .wp-block-accordion-panel) > p:not([class*="text-align"]):not([style*="text-align"]):not(.pg-shop-cta):not(.pg-tabs__label):not(.is-style-eyebrow):not(.pg-nojustify),
	:is(.pg-content, .woocommerce-Tabs-panel) p:is(.has-text-align-justify, [style*="justify"]):not(.pg-nojustify) {
		text-align: justify; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 8 4 4;
	}
}
@media (max-width: 991px) {
	:is(.pg-content, .woocommerce-Tabs-panel) :is(p, li, div):is(.has-text-align-justify, [style*="justify"]) { text-align: left !important; }
}
/* two to four tabs share ONE row on a computer / tablet (owner 2026-11-26: "avoid shifiting DUK tab to second row on the pages
   that has only 3 tabs") — a long name wraps inside its own tab instead of pushing the next tab down; a short name („DUK“) keeps
   its own width. Five or more tabs wrap into rows as before; phones keep the list. */
@media (min-width: 601px) {
	.pg-tabs__list:not(:has(> .pg-tabs__tab:nth-child(5))) { display: flex; flex-wrap: nowrap; align-items: stretch; }
	.pg-tabs__list:not(:has(> .pg-tabs__tab:nth-child(5))) > .pg-tabs__tab { flex: 1 1 0; min-width: 0; }
	.pg-tabs__list:not(:has(> .pg-tabs__tab:nth-child(5))) > .pg-tabs__tab--short { flex: 0 0 auto; }
}
/* Fewer underlines (owner 2026-11-26: "website pages has lots of underlines … probably not the best user UI … replace those where we
   can with something else maybe bold"; "even has double underline where www.progarantas.lt link is inside underlined text"): text the
   old editor UNDERLINED for emphasis (<u>, inline text-decoration: underline — 125 places on 33 pages) reads as semi-bold — an
   underline on words that are not a link looks like a broken link; links in the text are the brand blue in medium weight and show an
   underline only on hover / keyboard focus (above), so a link inside such text never gets two lines. */
:is(.pg-content, .woocommerce-Tabs-panel, .pg-cat-faq, .term-description) :is(u, ins:not(.price ins), [style*="text-decoration: underline"], [style*="text-decoration:underline"]) { text-decoration: none !important; font-weight: 600; }
:is(.pg-content, .woocommerce-Tabs-panel, .pg-cat-faq, .term-description) :is(p, li, td, dd, figcaption) a:focus-visible { text-decoration: underline; outline: 2px solid var(--wp--preset--color--primary); outline-offset: 2px; border-radius: 2px; }
.pg-footer__title a { color: inherit; text-decoration: none; } /* „Kontaktai“: the column title is the link (owner 2026-11-26) */
.pg-footer__title a:hover, .pg-footer__title a:focus-visible { text-decoration: underline; text-underline-offset: .25em; }
/* Pictures of the text: the first on the LEFT, then alternating (owner 2026-11-26: "image at the right side on nowhere, probably best
   ui for the users is at left side and if more images then mixed?") — inc/images.php gives each pg-img--side its side (pg-img--l /
   pg-img--r) in page order; at most 320 px (or its own width) and about a third of the column, the text runs beside it. A list right
   after a left picture keeps its bullets in view (inside markers). Phones: the same sides at their smaller size. */
@media (min-width: 782px) {
	:is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p)) > .pg-img--side,
	:is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel) > :is(ul, ol) > li > .pg-img--side { width: min(36%, var(--pg-img-w, 320px), 320px); }
	:is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p)) > .pg-img--side.pg-img--l,
	:is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel) > :is(ul, ol) > li > .pg-img--side.pg-img--l { float: left; clear: left; margin: .35rem 1.75rem 1rem 0 !important; }
}
@media (max-width: 781px) {
	:is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p)) > .pg-img--side.pg-img--l, :is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p)) > :is(ul, ol) > li > .pg-img--side.pg-img--l { float: left !important; clear: left; margin: .25rem .9rem .6rem 0 !important; }
	:is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p)) > .pg-img--side.pg-img--r, :is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p)) > :is(ul, ol) > li > .pg-img--side.pg-img--r { float: right !important; clear: right; margin: .25rem 0 .6rem .9rem !important; }
}
.pg-img--side.pg-img--l + :is(h1, h2, h3, h4, h5, h6) { margin-top: 0 !important; }
/* a picture alone in a column of its own (an image column beside a text column) stands centred in it at its own size */
.wp-block-column > .pg-img--side:only-child { float: none !important; margin: 0 auto !important; }
/* a menu row given the CSS class „pg-menu-strong“ (Appearance → Menus) is bold — „Mokymo programos“ (owner 2026-11-26; renamed 2026-11-27) */
a.pg-menu-strong, .pg-menu-strong > a { font-weight: 700 !important; }
/* a picture alone in a column of its own (an image column beside a text column — the old two-column layouts): the column takes
   at most 30 % / 280 px and the picture at most 260 px (owner 2026-11-26: "avoid these terrible big images that means nothing shifting
   too much space"); on a phone it stands centred at 200 px */
@media (min-width: 782px) {
	.wp-block-columns > .wp-block-column:has(> .wp-block-image:only-child) { flex: 0 0 min(30%, 280px) !important; }
	.wp-block-columns:has(> .wp-block-column > .wp-block-image:only-child) > .wp-block-column:not(:has(> .wp-block-image:only-child)) { flex: 1 1 0 !important; }
}
.wp-block-column > .wp-block-image:only-child img { max-width: min(100%, 260px) !important; height: auto !important; margin-inline: auto; display: block; }
@media (max-width: 781px) { .wp-block-column > .wp-block-image:only-child img { max-width: 200px !important; } }
/* Five or more tabs (owner 2026-11-26: "very bad design where it has a card space left but trunctates tab text too early, DUK floats
   not good on tab"): an even grid of tab boxes above the text — three per row on a computer, each name in full, wrapping inside its
   box; the open one marked in the brand colour. Two to four tabs keep the folder row above. Phones keep their list. */
/* …and the owner liked it (2026-11-26: "I like what you did with tab design at /pirmosios-pagalbos-mokymai-ir-kursai/ maybe use
   same tab design everywhere") — so EVERY tab row is that grid: two tabs fill the row, three sit side by side, more wrap three by three */
@media (min-width: 601px) {
	.pg-tabs__list { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: .45rem; padding: .6rem; }
	.pg-tabs__list > .pg-tabs__tab { margin: 0; min-width: 0; max-width: none; height: 100%; align-items: center; justify-content: flex-start; padding: .65rem .85rem; border: 1px solid var(--pg-line); border-radius: 10px; background: #fff; color: var(--wp--preset--color--navy); box-shadow: none; }
	.pg-tabs__list > .pg-tabs__tab:hover { border-color: var(--wp--preset--color--primary); }
	.pg-tabs__list > .pg-tabs__tab[aria-selected="true"] { background: var(--wp--preset--color--tint); border-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--primary-dark); box-shadow: inset 3px 0 0 var(--wp--preset--color--primary); }
}
/* the search above long lists (owner 2026-11-26) */
.pg-find { margin: 1rem 0 1.25rem; padding: .9rem 1rem; border: 1px solid var(--pg-line); border-radius: var(--pg-radius); background: var(--wp--preset--color--surface, #f6f8fb); }
.pg-find__label { display: block; margin: 0 0 .4rem; font-weight: 600; color: var(--wp--preset--color--navy); }
.pg-find__input { width: 100%; padding: .7rem .9rem; border: 1px solid var(--pg-line); border-radius: 10px; font: inherit; background: #fff; }
.pg-find__input:focus { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 1px; }
.pg-find__count { margin: .45rem 0 0 !important; font-size: .9rem; color: var(--wp--preset--color--muted); min-height: 1.2em; }
.pg-findlist { columns: 2 260px; column-gap: 2rem; padding-left: 1.1rem; }
.pg-findlist li { break-inside: avoid; margin: 0 0 .25rem; }
/* violations → solutions (inc/content-tidy.php): a light list, always open — the violation with an orange mark, its solution with a
   green tick, thin lines between (the boxed accordions were "too heavy", owner 2026-11-26) */
.pg-issues { list-style: none; margin: 1rem 0 1.5rem; padding: 0; border-top: 1px solid var(--pg-line); }
.pg-issue { padding: .85rem 0 .9rem; border-bottom: 1px solid var(--pg-line); }
.pg-issue__q, .pg-issue__a { position: relative; padding-left: 1.75rem; line-height: 1.55; }
.pg-issue__q { font-weight: 600; color: var(--wp--preset--color--navy); }
.pg-issue__q::before { content: "!"; position: absolute; left: 0; top: .1rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: #fdebe2; color: #d9541e; font-size: .75rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pg-issue__a { margin-top: .35rem; color: var(--wp--preset--color--contrast, #1f2937); }
.pg-issue__a::before { content: ""; position: absolute; left: .28rem; top: .3rem; width: .4rem; height: .7rem; border-right: 2px solid #21a67a; border-bottom: 2px solid #21a67a; transform: rotate(45deg); }
.pg-issue__label { font-weight: 600; color: #178a63; }
.pg-issue__q p, .pg-issue__a p { display: inline; margin: 0; }
/* the page's lead picture (its first, above the first section heading): up to 400 px, using the picture's larger sizes */
@media (min-width: 782px) {
	:is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description) > .pg-img--side.pg-img--lead { width: min(38%, 320px, calc(var(--pg-img-w, 300px) * 1.35)) !important; } /* never a small icon blown up */
}
@media (max-width: 781px) {
	:is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel) > .pg-img--side.pg-img--lead { width: min(46%, 200px, calc(var(--pg-img-w, 200px) * 1.2)) !important; }
}
.pg-img--lead img { width: 100% !important; height: auto !important; }
/* Safety net (owner 2026-11-26, page after page: "image terrible and too big"): ANY picture of a page's text that no rule above
   placed — inside a heading, an old editor paragraph, a bare figure — is at most 320 px wide (its height follows); a picture the old
   editor aligned left / right stands beside the words on a computer. Wide plans and schemes (pg-img--wide), drawings, icons, product
   pictures, tables and the designed pages keep their own sizes. */
:is(.pg-content, .woocommerce-Tabs-panel) img:not(:is(.pg-img--wide, .pg-img--side, .pg-img--big, .is-style-icon, .pg-drawing, ul.products, .pg-ptable, .pg-col--side, .pg-shop__aside, .pg-dhero, .pg-hero, .pg-design, .woocommerce-product-gallery, .pg-dcard, .wp-block-gallery) img):not(.pg-avatar) {
	max-width: min(100%, 320px) !important; height: auto !important;
}
@media (min-width: 782px) {
	:is(.pg-content, .woocommerce-Tabs-panel) img.alignright:not(:is(.pg-img--wide, .pg-img--side, .pg-img--big, .wp-block-column, .pg-col--side) img) { float: right; margin: .3rem 0 1rem 1.5rem; }
	:is(.pg-content, .woocommerce-Tabs-panel) img.alignleft:not(:is(.pg-img--wide, .pg-img--side, .pg-img--big, .wp-block-column, .pg-col--side) img) { float: left; margin: .3rem 1.5rem 1rem 0; }
}
/* a button right under a paragraph of the text sits close to it (owner 2026-11-26 on /sprogimo-rizikos-vertinimas/: "behind nuostatai
   gap too big") */
.pg-content p + .wp-block-buttons { margin-top: .35rem !important; margin-bottom: .75rem !important; }
.pg-content .wp-block-buttons + .wp-block-spacer { display: none; }
/* document lists (the MAXI package, inc/text-fixes.php h): two columns on a computer */
.pg-doclist { columns: 2 280px; column-gap: 2rem; padding-left: 1.1rem; margin: .25rem 0 1.25rem; }
.pg-doclist li { break-inside: avoid; margin: 0 0 .3rem; }
.pg-doclist__head { margin: 1rem 0 .35rem !important; }
/* legislation lists (inc/text-fixes.php i): the act as a link, its number / code small, what it is / what changed under it */
.pg-legis { list-style: none; padding: 0; margin: .5rem 0 1.25rem; border-top: 1px solid var(--pg-line); }
.pg-legis > li { padding: .65rem 0; border-bottom: 1px solid var(--pg-line); line-height: 1.5; }
.pg-legis__meta { font-size: .85rem; color: var(--wp--preset--color--muted); }
.pg-legis__what { display: inline-block; margin-top: .2rem; font-size: .92rem; color: var(--wp--preset--color--contrast, #374151); }
/* pictures inside a row of columns (steps, cards — /profesines-rizikos-vertinimas/): at most 180 px, centred above their text */
.pg-content .wp-block-column .wp-block-columns .pg-img--side, .pg-content .wp-block-columns .wp-block-column .wp-block-columns .wp-block-image { max-width: 180px !important; width: 180px !important; margin-inline: auto !important; float: none !important; }
.pg-content .wp-block-column .wp-block-columns .pg-img--side img { width: 100% !important; height: auto !important; }
.pg-content p.pg-nojustify { text-align: left; } /* never stretched (short / numbered lines) */
/* a row of a text column + a picture-only column: the picture stands level with the middle of the text (owner 2026-11-26 on
   /sprogimo-rizikos-vertinimas/: "first image placement terrible" — it hung at the top while the title sat lower) */
@media (min-width: 782px) {
	.wp-block-columns:has(> .wp-block-column > .wp-block-image:only-child) { align-items: center !important; }
	.wp-block-columns:has(> .wp-block-column > .wp-block-image:only-child) > .wp-block-column { align-self: center !important; }
}

/* ---------- Round 15 (owner 2026-11-26) ---------- */
/* Every page title centred (owner: "some page titles are not centered … doublecheck all pages"); a product's own title stays beside
   its picture */
.pg-content h1:not(.product_title), .pg-content h2:where(.pg-was-h1):not(.product_title), .pg-content .wp-block-post-title, .woocommerce-products-header__title.page-title, .woocommerce-products-header .term-description { text-align: center !important; }
/* a heading never starts beside a picture of the text above it (/darbuotojo-dirbancio-kelimo-irenginiu-lopsiuose-mokymai/: the
   centred heading was shifted by the picture) */
.pg-content :is(h1, h2, h3, h4, h5, h6):not(li *):not(.pg-card-title):not(summary *) { clear: both; }
/* a paragraph that was a „heading“ (inc/content-polish.php 1): ordinary text */
.pg-content p.pg-was-heading { font-size: inherit; font-weight: 400; line-height: inherit; text-align: inherit; }
/* headings inside the tabs: one size (owner: "why first tab title is bigger 'DARBŲ SAUGOS DOKUMENTAI' than the second") */
.pg-tabs__panel :is(h2, h3):not(:where(li, .wp-block-accordion-item, .wp-block-details) *) { font-size: clamp(1.15rem, 1rem + .55vw, 1.4rem) !important; line-height: 1.3 !important; text-transform: none !important; letter-spacing: 0 !important; }
.pg-tabs__panel h4:not(:where(li, .wp-block-accordion-item, .wp-block-details) *) { font-size: 1.1rem !important; }
/* a subtitle right under a product page's title (inc/content-polish.php 7): the size of a category's own subtitle */
.pg-content .pg-subtitle { font-size: 1.05rem !important; font-weight: 500 !important; line-height: 1.5 !important; color: var(--wp--preset--color--muted, #5b6472) !important; text-align: center; margin: .35rem 0 1.25rem !important; }

/* Pictures of the text (inc/images.php): sizes by shape — a drawing / icon (square-ish, pg-img--sq) small, a landscape photo up to
   300 px (owner: "make it twice less on size to be inline with text properly"; /smurto-ir-priekabiavimo-prevencijos-mokymai/ is the
   look he wants). The picture's top is level with the first line of the paragraph beside it, and it adds no gap above that
   paragraph ("the image should not make the gap between title text and paragraph higher, it should start where paragraph text
   starts"). Same rules in the tabs and the product description. */
html body:not(#pg0) :is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p), .pg-merged) > .pg-img--side:is(.pg-img--l, .pg-img--r) { margin-top: .45rem !important; margin-bottom: .6rem !important; }
html body:not(#pg0) :is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p), .pg-merged) > .pg-img--side:is(.pg-img--l, .pg-img--r) + p { margin-top: 0 !important; }
.pg-merged { display: flow-root; margin-block: 0 1.25rem; }
.pg-merged > p:last-child { margin-bottom: 0; }
@media (min-width: 782px) {
	html body:not(#pg0) :is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p), .pg-merged) > .pg-img--side:not(.pg-img--sq) { width: min(36%, 300px, var(--pg-img-w, 300px)) !important; }
	html body:not(#pg0) :is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p), .pg-merged) > .pg-img--side.pg-img--sq { width: min(24%, 160px, var(--pg-img-w, 160px)) !important; }
	html body:not(#pg0) :is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p), .pg-merged) > .pg-img--side.pg-img--l { margin-right: 1.5rem !important; }
	html body:not(#pg0) :is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p), .pg-merged) > .pg-img--side.pg-img--r { margin-left: 1.5rem !important; }
}
/* phones: the same sides, smaller (owner: "on mobile some pictures on the pages should look smaller than now") */
@media (max-width: 781px) {
	html body:not(#pg0) :is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p), .pg-merged) > .pg-img--side { float: left !important; clear: left; width: min(40%, 150px, var(--pg-img-w, 150px)) !important; margin: .4rem 1rem .5rem 0 !important; }
	html body:not(#pg0) :is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p), .pg-merged) > .pg-img--side.pg-img--r { float: right !important; clear: right; margin: .4rem 0 .5rem 1rem !important; }
	html body:not(#pg0) :is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p), .pg-merged) > .pg-img--side.pg-img--sq { width: min(30%, 110px, var(--pg-img-w, 110px)) !important; }
}
.pg-img--side img, .pg-img--strip img, .pg-card-pic img { width: 100% !important; height: auto !important; margin: 0 !important; }
/* a product's wide top photo as a side picture (content-r16 8): exactly 3 text lines tall with its gap (phones 2), the photo cut to fit —
   the line after it starts at the column's edge (owner 2026-11-27: "fix issue below first image") */
html body:not(#pg0) :is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p), .pg-merged) > .pg-img--side.pg-img--band:is(.pg-img--l, .pg-img--r) { margin-top: 0 !important; margin-bottom: calc(.5lh - 4px) !important; } /* (1,7,3): above the side pictures' own margins (1,6,3); 2 px short of the 3rd line's end — the sum of the parts rounded a hair over it and kept the 4th line indented (measured 2026-11-27) */
html body:not(#pg0) .pg-img--side.pg-img--band img { display: block; height: 2.5lh !important; object-fit: cover; }
@media (max-width: 781px) { html body:not(#pg0) .pg-img--side.pg-img--band img { height: 1.5lh !important; } }
/* a strip of icons: its own line, centred, as wide as it reads well (owner: "first picture is terrible probably too small, make it bigger") */
html body:not(#pg0) .pg-content .pg-img--strip { float: none !important; clear: both; display: block; width: min(100%, 420px) !important; max-width: none !important; margin: 1rem auto 1.25rem !important; }
/* a card's title above its picture, both centred (/higienos-igudziu-mokymai-socialiniams-darbuotojams-h2/) */
:is(.pg-content, .woocommerce-Tabs-panel) .pg-card-title { text-align: center !important; margin-bottom: .6rem !important; }
html body:not(#pg0) :is(.pg-content, .woocommerce-Tabs-panel) .pg-card-pic { float: none !important; display: block; width: min(100%, 150px) !important; max-width: none !important; margin: 0 auto .9rem !important; }
/* a picture is not a link any more — no hand cursor on what is left of an old lightbox */
.pg-content figure img { cursor: default; }

/* /darbu-sauga/: a card's icon / number and its title on ONE row (owner: "same as I told before with front page … the title should be
   in the same row as icon") */
.pg-dfeature p { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: .75rem; align-items: center; }
.pg-dfeature p .pg-dfeature__icon { grid-column: 1; grid-row: 1; margin: 0 !important; }
.pg-dfeature p strong { grid-column: 2; grid-row: 1; margin: 0 !important; align-self: center; }
.pg-dfeature p > :not(.pg-dfeature__icon):not(strong):not(br), .pg-dfeature p { row-gap: .45rem; }
.pg-design--about .pg-dcard--text { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .7rem; align-items: center; }
.pg-design--about .pg-dcard--text::before { grid-column: 1; grid-row: 1; margin: 0 !important; }
.pg-design--about .pg-dcard--text > :is(h4, h5) { grid-column: 2; grid-row: 1; margin: 0 !important; }
.pg-design--about .pg-dcard--text > :not(h4):not(h5) { grid-column: 1 / -1; margin-top: .55rem !important; }

/* the e-shop's right column: the same width and place as on every other page (owner: "keep right nav the same placement and size") */
@media (min-width: 782px) {
	.pg-shop__cols { gap: var(--wp--style--block-gap, 2.4rem) !important; }
	.pg-shop__cols > .pg-shop__main { flex: 1 1 0 !important; min-width: 0; }
	.pg-shop__cols > .pg-shop__aside { flex: 0 0 clamp(250px, 24%, 320px) !important; }
}

/* tabs on a phone: the name on the left, its count on the right, both in the middle of the row (owner: "tab numbers … floats
   anywhere in the tab") */
@media (max-width: 600px) {
	.pg-tabs__list > .pg-tabs__tab { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: .6rem; text-align: left; }
	.pg-tabs__list > .pg-tabs__tab .pg-tabs__name { flex: 1 1 auto; min-width: 0; }
	.pg-tabs__list > .pg-tabs__tab .pg-tabs__count { flex: 0 0 auto; margin-left: auto; align-self: center; }
}
@media (min-width: 601px) {
	.pg-tabs__list > .pg-tabs__tab .pg-tabs__name { flex: 1 1 auto; min-width: 0; }
	.pg-tabs__list > .pg-tabs__tab .pg-tabs__count { flex: 0 0 auto; margin-left: auto; }
}
/* never stretched text below a computer's width (product descriptions carried their own „justify“) */
@media (max-width: 991px) {
	:is(.pg-content, .woocommerce-Tabs-panel, .woocommerce-product-details__short-description) :is(p, li:not(.product)):not(.has-text-align-center):not([style*="center"]):not(.pg-card-title):not(.pg-subtitle) { text-align: left !important; }
}
/* phones: the cart right next to the menu button, both 44 px high on one line (owner 2026-11-26) */
@media (max-width: 1023px) {
	.pg-header__row { align-items: center !important; }
	.pg-header__actions { gap: .25rem !important; margin-right: .15rem !important; align-items: center !important; }
	.pg-header .pg-menu { display: flex; align-items: center; height: 44px; }
	.pg-burger { min-height: 44px; min-width: 44px; justify-content: center; padding: 0 .7rem !important; }
}
/* the phone menu marks the page the visitor is on (owner 2026-11-26) */
html body:not(#pg0) .pg-drawer a[aria-current="page"] { color: var(--wp--preset--color--primary-dark) !important; font-weight: 700 !important; background: var(--wp--preset--color--tint) !important; box-shadow: inset 3px 0 0 var(--wp--preset--color--primary); border-radius: 6px; padding-left: .6rem !important; padding-right: .4rem !important; }
html body:not(#pg0) .pg-drawer .pg-flat__group.is-current > .pg-flat__head .pg-flat__label { color: var(--wp--preset--color--primary-dark) !important; }
/* the front page's first zone: half the empty space above „Dirbame visoje Lietuvoje“ and below the three ticks (owner 2026-11-26) */
html body:not(#pg0) .pg-section.pg-hero { padding-top: 2.75rem !important; padding-bottom: 2.75rem !important; }
@media (max-width: 781px) { html body:not(#pg0) .pg-section.pg-hero { padding-top: 1.5rem !important; padding-bottom: 1.75rem !important; } }
html body:not(#pg0) .pg-hero .is-style-eyebrow { margin-top: 0 !important; }
/* the tab row: as many columns as tabs, up to four (inc/tabs.php --pg-tabs-cols) */
@media (min-width: 601px) {
	html body:not(#pg0) .pg-tabs__list[style*="--pg-tabs-cols"] { grid-template-columns: repeat(var(--pg-tabs-cols, 3), minmax(0, 1fr)) !important; }
	html body:not(#pg0) .pg-tabs__list > .pg-tabs__tab { padding: .6rem .75rem; font-size: .9rem; }
}
/* a picture in a merged text (inc/images.php: a text column + a picture-only column made one) floats beside the words like in the page */
@media (min-width: 782px) {
	html body:not(#pg0) .pg-merged > .pg-img--side.pg-img--l { float: left !important; clear: left; }
	html body:not(#pg0) .pg-merged > .pg-img--side.pg-img--r { float: right !important; clear: right; }
}
/* a promoted H1 (content-polish 9) looks like every page title */
.pg-content h1.wp-block-heading:not(.product_title), .pg-content h2:where(.pg-was-h1).wp-block-heading:not(.product_title) { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1.2; }
/* card rows (three or more columns — the product descriptions' „Visual“ cards, the hygiene pages' cards): on a phone the cards stack,
   each picture at most 140 px and centred above its words (owner 2026-11-26: "on mobile some pictures on the pages should look smaller").
   Not the numbered steps (.pg-steps): they keep their own 88 px round pictures at every width — this rule had made them 140 px on a phone. */
@media (max-width: 781px) {
	html body:not(#pg0) .wp-block-columns:not(.pg-steps):has(> .wp-block-column:nth-child(3)) > .wp-block-column > :is(.pg-img--side, .pg-card-pic, .wp-block-image) { float: none !important; width: min(60%, 140px) !important; max-width: none !important; margin: 0 auto .75rem !important; }
	html body:not(#pg0) .wp-block-columns:not(.pg-steps):has(> .wp-block-column:nth-child(3)) > .wp-block-column > :is(.pg-img--side, .pg-card-pic, .wp-block-image) img { width: 100% !important; height: auto !important; }
}
/* the violation lists (owner 2026-11-27: "instead of bold font … make it italic"): the violation italic in normal weight, each legal
   reference on its own line, the solution's paragraphs as lines (content-tidy.php progarantas_issue_question / _answer) */
html body:not(#pg0) .pg-issue__q { font-weight: 400; font-style: italic; }
html body:not(#pg0) .pg-issue__q p, html body:not(#pg0) .pg-issue__a p { display: block; margin: .2rem 0 0; }
html body:not(#pg0) .pg-issue__q p.pg-issue__text { margin: 0; color: var(--wp--preset--color--navy); }
html body:not(#pg0) .pg-issue__q p.pg-issue__law { font-size: .9rem; color: #5b6576; }
html body:not(#pg0) .pg-issue__a .pg-issue__label + p { display: inline; margin: 0; }
/* /darbu-sauga/ strengths (owner 2026-11-27: "text become as narrow as icon size"): icon + title on one row, the words below across the card */
html body:not(#pg0) .pg-dfeature p .pg-dfeature__text { grid-column: 1 / -1; grid-row: 2; }
/* the numbered cards: the number + title row, the words right under it (no stretched gap — „Mūsų tikslas – kad jums būtų paprasčiau:“) */
html body:not(#pg0) .pg-design--about .pg-dcard--text { align-content: start; }
/* a shop category's description written as a big heading („Asmens duomenų apsaugos mokymai, … išduodami pažymėjimai“ — owner 2026-11-27:
   "make these texts … less heavy"): a calm subtitle line under the title; the heading level stays */
html body:not(#pg0) .pg-term-description :is(h2, h3, h4) { font-size: 1.02rem !important; font-weight: 500 !important; line-height: 1.5; color: var(--wp--preset--color--ink, #374151) !important; text-transform: none; letter-spacing: 0; margin: .25rem auto .5rem; max-width: 60rem; }
/* content-r16.php 4: rows of short-title + paragraph columns as even cards */
html body:not(#pg0) .wp-block-columns.pg-featrow { gap: .9rem; align-items: stretch !important; margin: 1.2rem 0 1.4rem; }
html body:not(#pg0) .pg-featrow > .wp-block-column { background: var(--wp--preset--color--tint, #f3f6fb); border: 1px solid var(--pg-line); border-radius: var(--pg-radius, 12px); padding: 1rem 1.1rem; }
html body:not(#pg0) .pg-featrow > .wp-block-column > p { text-align: left !important; margin: 0; font-size: .95rem; line-height: 1.55; hyphens: manual; }
html body:not(#pg0) .pg-featrow > .wp-block-column > p:first-child { margin-bottom: .45rem; color: var(--wp--preset--color--navy); font-size: 1rem; line-height: 1.35; }
/* a second H1 further down a page (old Elementor pages: „Mokymo programos aspektai krovinių kabinėtojo pažymėjimui įgyti“ — owner 2026-11-27:
   "gap before … is too big"): its top space was 1.5 × the H1's large font (≈ 50 px) — now like the other section headings */
html body:not(#pg0) .pg-content h1:not(:first-child):not(.product_title), html body:not(#pg0) .pg-content h2:where(.pg-was-h1):not(:first-child):not(.product_title) { margin-block-start: 1.6rem; margin-block-end: .6rem; }
/* content-r16.php 6 — the modernised pages: intro band, document cards, download cards, check list */
html body:not(#pg0) .pg-pagehero { background: linear-gradient(135deg, var(--wp--preset--color--tint, #eef4ff), #f8fbff); border: 1px solid var(--pg-line); border-radius: calc(var(--pg-radius, 12px) + 4px); padding: 1.4rem 1.6rem 1.2rem; margin: 0 0 1.6rem; }
html body:not(#pg0) .pg-pagehero > h1 { margin: 0 0 .7rem !important; }
html body:not(#pg0) .pg-pagehero > p { margin: 0; font-size: 1.06rem; line-height: 1.6; color: var(--wp--preset--color--ink, #1f2937); }
html body:not(#pg0) .pg-pagehero::after { content: ""; display: block; clear: both; }
html body:not(#pg0) :is(ol, ul).pg-doccards { list-style: none; padding: 0; margin: 1rem 0 1.4rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
html body:not(#pg0) .pg-doccards > li.pg-doccard { position: relative; margin: 0; padding: .8rem .95rem .8rem 3.1rem; background: #fff; border: 1px solid var(--pg-line); border-radius: var(--pg-radius, 12px); box-shadow: var(--pg-shadow); display: flex; flex-direction: column; justify-content: center; gap: .3rem; }
html body:not(#pg0) .pg-doccards > li.pg-doccard::before { content: ""; position: absolute; left: .9rem; top: 50%; width: 1.45rem; height: 1.8rem; margin-top: -.9rem; border-radius: 4px; background: var(--wp--preset--color--tint, #eef4ff); box-shadow: inset 0 0 0 1.6px var(--wp--preset--color--primary, #2f7cf6); }
html body:not(#pg0) .pg-doccards > li.pg-doccard::after { content: ""; position: absolute; left: 1.22rem; top: 50%; width: .8rem; height: 2px; margin-top: -.35rem; background: var(--wp--preset--color--primary, #2f7cf6); box-shadow: 0 .3rem 0 var(--wp--preset--color--primary, #2f7cf6), 0 .6rem 0 var(--wp--preset--color--primary, #2f7cf6); opacity: .65; }
html body:not(#pg0) .pg-doccards > li.pg-doccard > h4 { margin: 0 !important; font-size: .98rem !important; line-height: 1.4; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--wp--preset--color--navy); text-align: left !important; }
html body:not(#pg0) .pg-doccard__note { font-size: .85rem; line-height: 1.45; color: #5b6576; }
html body:not(#pg0) .pg-doccard__note a { display: inline-block; padding: .12rem .55rem; border-radius: 999px; background: #fff4e5; color: #9a5b00 !important; font-weight: 600; font-size: .8rem; text-decoration: none; }
html body:not(#pg0) :is(ol, ul).pg-filecards { list-style: none; padding: 0; margin: 1rem 0 1.4rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
html body:not(#pg0) .pg-filecards > li.pg-filecard { display: flex; align-items: center; gap: .75rem; margin: 0; padding: .75rem .9rem; background: #fff; border: 1px solid var(--pg-line); border-radius: var(--pg-radius, 12px); box-shadow: var(--pg-shadow); text-align: left !important; }
html body:not(#pg0) .pg-filecards > li.pg-filecard--note { grid-column: 1 / -1; background: transparent; border: 0; box-shadow: none; padding: .2rem 0; color: #5b6576; font-size: .92rem; }
html body:not(#pg0) .pg-filecard__type { flex: 0 0 auto; min-width: 2.6rem; padding: .3rem .4rem; border-radius: 6px; background: #e5383b; color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-align: center; }
html body:not(#pg0) .pg-filecards > li.pg-filecard > a { font-weight: 600; text-decoration: none; }
html body:not(#pg0) :is(ol, ul).pg-checklist { list-style: none; padding: 0; margin: .8rem 0 1.4rem; columns: 2; column-gap: 1.6rem; }
html body:not(#pg0) .pg-checklist > li { position: relative; break-inside: avoid; margin: 0 0 .5rem; padding-left: 1.7rem; text-align: left !important; line-height: 1.5; }
html body:not(#pg0) .pg-checklist > li::before { content: ""; position: absolute; left: .15rem; top: .3rem; width: .5rem; height: .85rem; border-right: 2.5px solid #21a67a; border-bottom: 2.5px solid #21a67a; transform: rotate(45deg); }
@media (max-width: 781px) {
	html body:not(#pg0) :is(ol, ul):is(.pg-doccards, .pg-filecards) { grid-template-columns: 1fr; }
	html body:not(#pg0) :is(ol, ul).pg-checklist { columns: 1; }
	html body:not(#pg0) .pg-pagehero { padding: 1.1rem 1rem 1rem; }
}
/* /kontaktai/: the line under „KONTAKTAI“ centred (owner 2026-11-27) — the short-line rule .pg-content p.pg-nojustify set it left */
html body:not(#pg0) .pg-dhero p.pg-dhero__lead.has-text-align-center { text-align: center !important; }
/* /darbu-sauga/ (owner 2026-11-29): the numbers row („+10 metų patirties“ …) centred — the same short-line rule .pg-content p.pg-nojustify set its
   lines left; on a phone the topic badges („Sauga ir sveikata (darbų sauga)“ …) start at the left */
html body:not(#pg0) .pg-content .pg-dstat p { text-align: center !important; }
@media (max-width: 781px) { .pg-content .pg-dchips { justify-content: flex-start; } }
/* the suggested products' title (inc/content-r17.php §19, owner 2026-11-29): only while the right-hand column stands under the text */
.pg-suggest-title { display: none; }
@media (max-width: 781px) { html body:not(#pg0) .pg-suggest-title { display: block; margin: 1.6rem 0 .7rem !important; font-size: 1.15rem; font-weight: 800; line-height: 1.3; color: var(--wp--preset--color--navy, #0B1E3B); text-align: left; } }
/* a merged text + picture block (images.php pg-merged) starts at its first line — no top margin above the page title inside it (/sprogimo-rizikos-vertinimas/, owner 2026-11-27: "too big gap before the title text") */
html body:not(#pg0) .pg-merged > :first-child { margin-top: 0 !important; }
/* core accordions closed from the first paint (owner 2026-11-27: "if page is still loading the accordions on the pages is opened and when page
   fully loads then accortions closes … prevent this user UI glitch"): WordPress draws every panel open and hides the closed ones only when its
   script runs (hidden="until-found"). With the theme's head marker (pg-js, set before anything is drawn) a panel that is not open and not yet
   given its hidden state is not shown; once the script runs, its own state takes over (find-in-page keeps working). No script → all stay open. */
html.pg-js .wp-block-accordion-item:not(.is-open) > .wp-block-accordion-panel:not([hidden]) { display: none; }
/* the right menu's trainings (inc/menu.php progarantas_side_training_panels, owner 2026-11-27): „MOKYMAI →“ is one row with an arrow in
   the same square as the „+“ of the other sections; on training pages the trainings' own menu has its title on top and
   „← Grįžti į visas paslaugas“ at the bottom */
html body:not(#pg0) .pg-side-menu .pg-grp__title.pg-menu-jump { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-right: 0; }
html body:not(#pg0) .pg-side-menu .pg-grp__title.pg-menu-jump::after { content: "→"; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid var(--pg-line); border-radius: 8px; background: #fff; color: var(--wp--preset--color--primary); font-size: 1rem; line-height: 1; font-weight: 600; }
html body:not(#pg0) .pg-side-menu .pg-grp__title.pg-menu-jump:hover::after { border-color: var(--wp--preset--color--primary); background: var(--wp--preset--color--tint); }
html body:not(#pg0) .pg-side-menu__title--train { margin: .2rem .4rem .55rem; padding-bottom: .5rem; border-bottom: 2px solid var(--wp--preset--color--primary); font-size: .95rem; letter-spacing: .05em; }
html body:not(#pg0) .pg-side-menu__title--train a { color: var(--wp--preset--color--navy); }
html body:not(#pg0) .pg-side-menu__back a { display: inline-flex; align-items: center; gap: .4rem; color: var(--wp--preset--color--primary); font-size: .8rem; }
html body:not(#pg0) .pg-side-menu__back a span { font-size: 1rem; line-height: 1; }
html body:not(#pg0) .pg-side-panel[hidden] { display: none !important; }

/* content-r16.php 6e — a numbered row of steps (the risk assessment's five steps) */
html body:not(#pg0) .wp-block-columns.pg-steps { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .8rem; margin: 1.4rem 0 1.6rem; counter-reset: pgstep; }
html body:not(#pg0) .pg-steps > .wp-block-column { position: relative; flex-basis: auto !important; width: auto !important; text-align: center; padding: .9rem .6rem .8rem; background: #fff; border: 1px solid var(--pg-line); border-radius: var(--pg-radius, 12px); box-shadow: var(--pg-shadow); counter-increment: pgstep; }
html body:not(#pg0) .pg-steps > .wp-block-column::before { content: counter(pgstep); position: absolute; top: .55rem; left: .6rem; width: 1.55rem; height: 1.55rem; border-radius: 50%; background: var(--wp--preset--color--primary); color: #fff; font-size: .8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
html body:not(#pg0) .pg-steps > .wp-block-column > figure { float: none !important; margin: 0 auto .55rem !important; width: 88px !important; max-width: 88px !important; }
html body:not(#pg0) .pg-steps > .wp-block-column > figure img { width: 88px !important; height: 88px !important; object-fit: cover; border-radius: 50%; }
html body:not(#pg0) .pg-steps > .wp-block-column > p { margin: 0 !important; font-size: .88rem; line-height: 1.35; font-weight: 600; color: var(--wp--preset--color--navy); text-align: center !important; }
@media (max-width: 560px) { html body:not(#pg0) .wp-block-columns.pg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } } /* two in a row on a phone; a big phone / foldable (561+) keeps the computer's row (five in a row at 750 px, not two 339 px cards) */
/* document cards: a note right after its heading on its own line */
html body:not(#pg0) .pg-doccards > li.pg-doccard > h4 + .pg-doccard__note { display: block; }
/* a row of cards — a title, a picture, a text in every column (43 rows on 2026-11-27: the training cards, the audit cards, the instruction
   lists' block): the columns SHARE their three rows, so the pictures stand level however many lines a title takes (owner 2026-11-27 on the
   data-protection product: „Kursai nuotoliniu ir kontaktiniu būdu“ took two lines and its picture stood lower than the other two) */
@media (min-width: 782px) {
	html body:not(#pg0) .wp-block-columns:has(> .wp-block-column > .pg-card-title + figure) { display: grid !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; row-gap: 0 !important; }
	html body:not(#pg0) .wp-block-columns:has(> .wp-block-column > .pg-card-title + figure) > .wp-block-column { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; min-width: 0; }
}
/* the old list's closing „;“ / „.“ inside a card's heading — kept in the HTML, not shown (a card needs no list punctuation) */
html body:not(#pg0) .pg-doccard .pg-doccard__end { display: none; }

/* the DSS training schedule as text (inc/years.php; owner 2026-11-27 — it was a PDF): one card, the programmes as rows, the year moves
   with the calendar */
html body:not(#pg0) .pg-dss { margin: 1.1rem 0 1.6rem; border: 1px solid var(--pg-line, #e3e9f3); border-radius: 14px; overflow: hidden; background: #fff; }
html body:not(#pg0) .pg-dss__title { margin: 0 !important; padding: .8rem 1.1rem; background: #f3f7ff; color: var(--wp--preset--color--navy, #0b1f45); font-weight: 700; text-align: left !important; }
html body:not(#pg0) .pg-dss__table { width: 100%; margin: 0; border: 0; border-collapse: collapse; font-size: .95rem; line-height: 1.45; }
html body:not(#pg0) .pg-dss__table th { padding: .5rem 1.1rem; border: 0; border-bottom: 1px solid var(--pg-line, #e3e9f3); background: #fff; color: #6b7280; font-size: .78rem; font-weight: 600; text-align: left; }
html body:not(#pg0) .pg-dss__table td { padding: .55rem 1.1rem; border: 0; border-bottom: 1px solid #eef2f8; background: #fff; vertical-align: top; text-align: left; }
html body:not(#pg0) .pg-dss__table th:last-child, html body:not(#pg0) .pg-dss__hours { text-align: right; white-space: nowrap; }
html body:not(#pg0) .pg-dss__hours { font-weight: 600; color: var(--wp--preset--color--navy, #0b1f45); }
html body:not(#pg0) .pg-dss__nr { width: 2.6rem; color: #6b7280; }
html body:not(#pg0) .pg-dss__group td { background: #fafbfd; color: var(--wp--preset--color--navy, #0b1f45); font-size: .88rem; font-weight: 600; }
html body:not(#pg0) .pg-dss__info { padding: .8rem 1.1rem .5rem; background: #fafbfd; }
html body:not(#pg0) .pg-dss--box .pg-dss__info { background: #fff; }
html body:not(#pg0) .pg-dss__info p { margin: 0 0 .4rem !important; text-align: left !important; }
@media (max-width: 600px) {
	html body:not(#pg0) .pg-dss__table th, html body:not(#pg0) .pg-dss__table td { padding: .5rem .65rem; }
	html body:not(#pg0) .pg-dss__nr { width: 2rem; }
}

/* ---------- round 17: the designed pages (inc/content-r17.php 8) ---------- */
/* „Kodėl verta rinktis mus …?“ — the title beside the drawing, the points as cards like the front page's */
html body:not(#pg0) .pg-why { margin: 2rem 0 1.6rem; padding: clamp(1.1rem, 2.6vw, 1.8rem); border: 1px solid var(--pg-line, #e3e9f3); border-radius: calc(var(--pg-radius, 14px) + 4px); background: linear-gradient(160deg, var(--wp--preset--color--tint, #eef4ff), #ffffff 55%); }
html body:not(#pg0) .pg-why__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 1.2rem; align-items: center; margin-bottom: 1.2rem; }
html body:not(#pg0) .pg-why__title { margin: 0 !important; font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.3; font-weight: 800; color: var(--wp--preset--color--navy, #0b1f45); text-align: left !important; }
html body:not(#pg0) .pg-why__art { margin: 0 !important; float: none !important; width: auto !important; max-width: none !important; }
html body:not(#pg0) .pg-why__art img { display: block; width: 100% !important; max-width: 300px; height: auto !important; margin: 0 0 0 auto !important; border-radius: 0 !important; box-shadow: none !important; }
html body:not(#pg0) .pg-why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
html body:not(#pg0) .pg-why__card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: .85rem; row-gap: .25rem; align-content: start; background: #fff; border: 1px solid var(--pg-line, #e3e9f3); border-radius: var(--pg-radius, 14px); padding: 1rem 1.05rem; box-shadow: var(--pg-shadow); transition: transform .18s, box-shadow .18s, border-color .18s; }
html body:not(#pg0) .pg-why__card:hover { transform: translateY(-2px); border-color: #cfdcf5; box-shadow: var(--wp--preset--shadow--lift, 0 10px 24px rgba(11, 31, 69, .10)); }
html body:not(#pg0) .pg-why__icon { grid-row: span 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--wp--preset--color--primary, #1a4fb8); background: linear-gradient(135deg, var(--wp--preset--color--tint, #eef4ff), #ffffff); border: 1px solid #d6e3fb; }
html body:not(#pg0) .pg-why__name { margin: 0 !important; font-weight: 700; color: var(--wp--preset--color--navy, #0b1f45); line-height: 1.35; text-align: left !important; }
html body:not(#pg0) .pg-why__text { margin: 0 !important; color: var(--wp--preset--color--muted, #5b6476); font-size: .95rem; line-height: 1.55; text-align: left !important; hyphens: manual; }
/* the certificates: for whom → which certificate → its page */
html body:not(#pg0) .pg-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .9rem; margin: 1rem 0 1.4rem; }
html body:not(#pg0) .pg-offer { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 1.05rem 1.15rem 1rem; border: 1px solid var(--pg-line, #e3e9f3); border-left: 4px solid var(--wp--preset--color--primary, #1a4fb8); border-radius: var(--pg-radius, 14px); background: #fff; box-shadow: var(--pg-shadow); color: inherit; text-decoration: none !important; transition: transform .18s, box-shadow .18s, border-color .18s; }
html body:not(#pg0) .pg-offer:hover, html body:not(#pg0) .pg-offer:focus-visible { transform: translateY(-2px); box-shadow: var(--wp--preset--shadow--lift, 0 10px 24px rgba(11, 31, 69, .10)); border-color: #cfdcf5; border-left-color: var(--wp--preset--color--primary-dark, #133b8a); }
html body:not(#pg0) .pg-offer__who { font-size: .9rem; font-weight: 600; color: var(--wp--preset--color--muted, #5b6476); } /* normal case — no CAPITALS (owner 2026-11-27) */
html body:not(#pg0) .pg-offer__name { font-size: 1.05rem; font-weight: 700; line-height: 1.35; color: var(--wp--preset--color--navy, #0b1f45); }
html body:not(#pg0) .pg-offer__go { margin-top: auto; padding-top: .3rem; font-size: .92rem; font-weight: 600; color: var(--wp--preset--color--primary, #1a4fb8); }
html body:not(#pg0) .pg-offer::after { display: none !important; } /* no external-link mark on the card */
/* the closing question → a call-out */
html body:not(#pg0) p.pg-cta { margin: 1.6rem 0 .5rem !important; padding: 1rem 1.15rem; border-radius: var(--pg-radius, 14px); background: var(--wp--preset--color--tint, #eef4ff); border: 1px solid #d6e3fb; font-weight: 600; text-align: left !important; }
@media (max-width: 781px) {
	html body:not(#pg0) .pg-why__head { grid-template-columns: minmax(0, 1fr); }
	html body:not(#pg0) .pg-why__art img { max-width: 240px; margin: 0 auto !important; }
	html body:not(#pg0) .pg-why__grid { grid-template-columns: minmax(0, 1fr); }
}
/* a side picture cropped to its drawing (inc/content-r17.php 9): the figure takes the drawing's shape, the picture is drawn larger and moved
   by percentages of the figure's width (a margin in % is measured on the width, also the top one) */
html body:not(#pg0):not(#pg1) figure.pg-trim { display: block !important; overflow: hidden !important; aspect-ratio: var(--pg-trim-ar); height: auto !important; } /* never core's display:table (a table box ignores aspect-ratio) */
html body:not(#pg0):not(#pg1) figure.pg-trim > a { display: block !important; }
html body:not(#pg0):not(#pg1) figure.pg-trim img { display: block !important; width: calc(var(--pg-trim-w) * 100%) !important; max-width: none !important; height: auto !important; aspect-ratio: auto !important; object-fit: fill !important; margin: calc(var(--pg-trim-y) * -100%) 0 0 calc(var(--pg-trim-x) * -100%) !important; border-radius: 0 !important; box-shadow: none !important; }
/* round 17 (owner 2026-11-27: "why I still find pages with all caps somewhere"): no label, title or table head is drawn in CAPITALS
   by the theme any more — text-transform none on every one (the words keep the case they are written in) */
/* a heading has ONE weight (owner 2026-11-29 on /darbuotoju-saugos-ir-sveikatos-specialisto-dirbancio-ii-iii-grupiu-veiklu-imonese-mokymai/:
   „half text is bold half not“): the old editor's <b> / <strong> drew its part one step BOLDER than the heading and its pasted
   „font-weight: bold“ spans one step LIGHTER (700 under a 700–800 heading) — 21 headings on 16 pages and products; inside a heading
   every part now takes the heading's own weight (italic and colours stay) */
html body:not(#pg0) :is(h1, h2, h3, h4, h5, h6) :is(b, strong, [style*="font-weight"]) { font-weight: inherit !important; }
/* /darbu-sauga/ „Saugos paslaugos nėra licencijuojamos“ (owner 2026-11-29: „does not look good, maybe too large spaces or what, make it
   better“): a light card with a blue edge instead of the navy block (its links were dark blue on navy), the title with a shield mark,
   the two legal acts as white items with a document mark, the qualification lines apart at the bottom (inc/page-designs.php) */
html body:not(#pg0) .pg-dcallout { background: #F6F9FF; color: var(--wp--preset--color--navy, #0B1E3B); border: 1px solid #DCE6F7; border-left: 4px solid var(--wp--preset--color--primary, #2A74ED); padding: clamp(1.25rem, 3vw, 1.9rem); }
html body:not(#pg0) .pg-dcallout :is(h1, h2, h3, strong, p, li) { color: inherit; }
html body:not(#pg0) .pg-dcallout a { color: var(--wp--preset--color--primary-dark, #1A56C8); }
html body:not(#pg0) .pg-dcallout > h1, html body:not(#pg0) .pg-dcallout > h2:where(.pg-was-h1) { display: flex; align-items: center; gap: .65rem; text-align: left !important; font-size: 1.35rem !important; line-height: 1.3; }
html body:not(#pg0) .pg-dcallout > h1::before, html body:not(#pg0) .pg-dcallout > h2:where(.pg-was-h1)::before { content: ""; flex: none; width: 2.1rem; height: 2.1rem; border-radius: 10px; background: var(--wp--preset--color--primary, #2A74ED) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center / 1.15rem no-repeat; }
html body:not(#pg0) .pg-dcallout > * + * { margin-top: .75rem; }
html body:not(#pg0) .pg-dcallout .pg-dcallout__lead { font-size: 1.05rem; line-height: 1.5; }
html body:not(#pg0) .pg-dcallout .pg-dcallout__fact { color: #42516B; }
html body:not(#pg0) .pg-dcallout .pg-legal-list { list-style: none; margin: .55rem 0 0 !important; padding: 0 !important; display: grid; gap: .55rem; }
html body:not(#pg0) .pg-dcallout .pg-legal-list > li { position: relative; margin: 0 !important; padding: .8rem 1rem .8rem 2.9rem; background: #fff; border: 1px solid var(--pg-line, #E3E8F0); border-radius: 10px; line-height: 1.55; }
html body:not(#pg0) .pg-dcallout .pg-legal-list > li::before { content: ""; position: absolute; left: 1rem; top: .95rem; width: 1.1rem; height: 1.3rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24' fill='none' stroke='%232A74ED' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M3 2h9l5 5v15H3z'/%3E%3Cpath d='M12 2v5h5M6 12h8M6 16h8'/%3E%3C/svg%3E") center / contain no-repeat; }
html body:not(#pg0) .pg-dcallout .pg-dcallout__foot { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid #DCE6F7; }
html body:not(#pg0) .pg-dcallout .pg-dcallout__foot > * { margin: 0; }
html body:not(#pg0) .pg-dcallout .pg-dcallout__foot > * + * { margin-top: .3rem; }
@media (max-width: 600px) {
	html body:not(#pg0) .pg-dcallout .pg-legal-list > li { padding: .7rem .85rem .7rem 2.6rem; }
	html body:not(#pg0) .pg-dcallout .pg-legal-list > li::before { left: .85rem; }
}
/* one size for titles of the same role (owner 2026-11-29: „normalize all text sizes … the title … is smaller than in 'Svarbi informacija'“ —
   an H3 and an H1 of the old editor in two tabs): an H1 after the content's first one (marked pg-h1-more, inc/content-r17.php) is drawn
   like an H2; in a tab every title of level 1–3 is drawn alike and 4–6 alike — the levels and words stay as they are */
:is(.pg-content, .woocommerce-Tabs-panel) h1.wp-block-heading.pg-h1-more, :is(.pg-content, .woocommerce-Tabs-panel) h1.pg-h1-more:not(.wp-block-heading),
:is(.pg-content, .woocommerce-Tabs-panel) h2:where(.pg-was-h1).wp-block-heading.pg-h1-more, :is(.pg-content, .woocommerce-Tabs-panel) h2:where(.pg-was-h1).pg-h1-more:not(.wp-block-heading) { font-size: var(--wp--preset--font-size--x-large); line-height: 1.25; }
html body:not(#pg0) .pg-tabs__panel :is(h1, h2, h3):not(:where(li, .wp-block-accordion-item, .wp-block-details) *) { font-size: clamp(1.15rem, 1rem + .55vw, 1.4rem) !important; line-height: 1.3 !important; text-transform: none !important; letter-spacing: 0 !important; }
html body:not(#pg0) .pg-tabs__panel :is(h4, h5, h6):not(:where(li, .wp-block-accordion-item, .wp-block-details) *) { font-size: 1.1rem !important; line-height: 1.35 !important; text-transform: none !important; letter-spacing: 0 !important; }
/* round 17, 2026-11-29 — the pages the owner asked to modernize (inc/content-r17.php §13, inc/tabs.php):
   a heading used as a ticked list item („✔ Tikslūs ir aiškūs brėžiniai …“) drawn like text, not bold — it stays a heading */
html body:not(#pg0) :is(h2, h3, h4, h5, h6).pg-tick-head { font-size: 1rem !important; font-weight: 400 !important; line-height: 1.55 !important; margin: 0 0 .35rem !important; text-transform: none !important; letter-spacing: 0 !important; color: inherit; }
html body:not(#pg0) :is(h2, h3, h4, h5, h6).pg-tick-head :is(b, strong) { font-weight: 400 !important; }
/* a part the owner wanted outside the tabs (/evakuacijos-planu-braizymas/: the example plan) — a light card right below them */
html body:not(#pg0) .pg-belowcard { margin: 1.6rem 0 0; padding: clamp(1rem, 2.5vw, 1.5rem); background: #fff; border: 1px solid var(--pg-line, #E3E8F0); border-radius: 16px; box-shadow: 0 1px 2px rgba(11, 30, 59, .04); }
html body:not(#pg0) .pg-belowcard > :first-child { margin-top: 0 !important; }
html body:not(#pg0) .pg-belowcard img { border-radius: 10px; }
/* a note of the old text („**Yra galimybė …“ — the stars go) */
html body:not(#pg0) p.pg-note { position: relative; margin: 1.1rem 0 !important; padding: .85rem 1rem .85rem 2.9rem; background: #F6F9FF; border: 1px solid #DCE6F7; border-radius: 12px; font-size: .95rem; line-height: 1.6; text-align: left !important; }
html body:not(#pg0) p.pg-note::before { content: "i"; position: absolute; left: .95rem; top: .9rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--wp--preset--color--primary, #2A74ED); color: #fff; font: 700 .8rem/1.3rem Georgia, serif; text-align: center; }
/* a price in the text („nuo 70 eur./mėn.“) */
html body:not(#pg0) .pg-price-pill { display: inline-block; padding: .05rem .55rem; border-radius: 999px; background: #E9F7EF; color: #1E7B45; font-weight: 700; white-space: nowrap; line-height: 1.5; }
/* the services the specialist also gives → two columns of ticked cards */
html body:not(#pg0) ol.pg-svc-grid { list-style: none; padding: 0 !important; margin: 1rem 0 1.4rem !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
html body:not(#pg0) ol.pg-svc-grid > li { position: relative; margin: 0 !important; padding: .75rem .9rem .75rem 2.6rem; background: #fff; border: 1px solid var(--pg-line, #E3E8F0); border-radius: 12px; line-height: 1.45; text-align: left !important; }
html body:not(#pg0) ol.pg-svc-grid > li::before { content: ""; position: absolute; left: .95rem; top: .95rem; width: .5rem; height: .85rem; border-right: 2.5px solid #21a67a; border-bottom: 2.5px solid #21a67a; transform: rotate(45deg); }
/* the pay system's two ways → two option cards */
html body:not(#pg0) .pg-options { display: grid; gap: 1rem; margin: 1.2rem 0 1.6rem; }
html body:not(#pg0) .pg-option { padding: clamp(1rem, 2.5vw, 1.4rem); background: #fff; border: 1px solid var(--pg-line, #E3E8F0); border-radius: 16px; box-shadow: 0 1px 2px rgba(11, 30, 59, .04); }
html body:not(#pg0) .pg-option--ours { border-color: #BFD3F6; border-left: 4px solid var(--wp--preset--color--primary, #2A74ED); background: linear-gradient(135deg, #F6F9FF, #fff 60%); }
html body:not(#pg0) .pg-option > p:last-child { margin-bottom: 0 !important; }
html body:not(#pg0) .pg-option p.pg-option__title { margin: 0 0 .6rem !important; font-size: 1.1rem; font-weight: 700; color: var(--wp--preset--color--navy, #0B1E3B); text-align: left !important; }
html body:not(#pg0) .pg-option p.pg-option__cta { margin: .9rem 0 0 !important; padding: .75rem 1rem; background: #E9F7EF; border-radius: 10px; color: #14532D; text-align: left !important; }
/* the instructions page: the three kinds and the three lists → cards */
html body:not(#pg0) .pg-catcards { gap: 1rem !important; align-items: stretch !important; }
html body:not(#pg0) .pg-catcards > .wp-block-column { padding: 1.1rem 1rem 1.15rem; background: #fff; border: 1px solid var(--pg-line, #E3E8F0); border-radius: 16px; box-shadow: 0 1px 2px rgba(11, 30, 59, .04); }
html body:not(#pg0) .pg-catcards > .wp-block-column > * { margin-top: 0 !important; margin-bottom: .55rem !important; }
html body:not(#pg0) .pg-catcards > .wp-block-column > *:last-child { margin-bottom: 0 !important; }
html body:not(#pg0) .pg-catcards > .wp-block-column > :is(figure, .wp-block-image) { max-width: 170px !important; width: 170px !important; margin: 0 auto .75rem !important; float: none !important; }
html body:not(#pg0) .pg-catcards > .wp-block-column > :is(figure, .wp-block-image) img { border-radius: 14px; }
html body:not(#pg0) .pg-catcards > .wp-block-column > p:not(.pg-card-title) { font-size: .93rem; line-height: 1.55; color: #42516B; text-align: center !important; }
html body:not(#pg0) .pg-catcards > .wp-block-column > p:is(:empty, :has(> :is(strong, b, span):empty:only-child)) { display: none; }
html body:not(#pg0) .pg-catcards--lists > .wp-block-column { padding: 1rem; text-align: left; }
/* the personal-data documents page: the title band with the series' drawing, the cards over the whole width */
html body:not(#pg0) .pg-pagehero--pic { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 1.4rem; align-items: center; }
html body:not(#pg0) .pg-pagehero--pic .pg-pagehero__pic { margin: 0 !important; }
html body:not(#pg0) .pg-pagehero--pic .pg-pagehero__pic img { display: block; width: 100%; height: auto; }
html body:not(#pg0) :is(ol, ul).pg-doccards--wide { clear: both; }
@media (min-width: 1100px) {
	html body:not(#pg0) :is(ol, ul).pg-doccards--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
	html body:not(#pg0) ol.pg-svc-grid { grid-template-columns: 1fr; }
	html body:not(#pg0) .pg-pagehero--pic { grid-template-columns: 1fr; }
	html body:not(#pg0) .pg-pagehero--pic .pg-pagehero__pic { max-width: 320px; }
}
/* the example below the tabs keeps its title at a section's size (it is an H1 of the old editor, drawn like an H2 elsewhere) */
html body:not(#pg0) .pg-belowcard :is(h1, h2) { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem) !important; line-height: 1.3 !important; }
/* the smart document system (inc/content-r17.php §14): the section above the tabs of the permanent-services page, the services page's
   accordion item, the front page's one line */
html body:not(#pg0) .pg-sysshow { clear: both; margin: 1.8rem 0 1.6rem; padding: clamp(1.2rem, 3vw, 2rem); background: linear-gradient(135deg, #EEF4FF, #F8FBFF 55%, #fff); border: 1px solid #DCE6F7; border-radius: 20px; }
html body:not(#pg0) .pg-sysshow__kicker { margin: 0 0 .35rem !important; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--primary, #2A74ED); text-align: left !important; }
html body:not(#pg0) .pg-sysshow .pg-sysshow__title { margin: 0 0 .6rem !important; font-size: clamp(1.3rem, 1.1rem + .9vw, 1.75rem) !important; line-height: 1.25 !important; text-align: left !important; }
html body:not(#pg0) .pg-sysshow__lead { margin: 0 0 1rem !important; font-size: 1.02rem; line-height: 1.65; color: #42516B; text-align: left !important; }
html body:not(#pg0) :is(.pg-sysshow__list, .pg-sysitem__list) { list-style: none; padding: 0 !important; margin: 0 0 1.2rem !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem .9rem; }
html body:not(#pg0) :is(.pg-sysshow__list, .pg-sysitem__list) > li { position: relative; margin: 0 !important; padding: .1rem 0 .1rem 1.75rem; line-height: 1.5; text-align: left !important; }
html body:not(#pg0) :is(.pg-sysshow__list, .pg-sysitem__list) > li::before { content: ""; position: absolute; left: .2rem; top: .32rem; width: .48rem; height: .82rem; border-right: 2.5px solid #21a67a; border-bottom: 2.5px solid #21a67a; transform: rotate(45deg); }
html body:not(#pg0) .pg-sysshow__pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
html body:not(#pg0) .pg-sysshow__pic { margin: 0 !important; }
html body:not(#pg0) .pg-sysshow__pic img { display: block; width: 100%; height: auto; border-radius: 14px; }
html body:not(#pg0) .pg-sysitem::after { content: ""; display: table; clear: both; }
html body:not(#pg0) .pg-sysitem__pic { float: right; width: min(46%, 380px); margin: .2rem 0 .8rem 1.4rem !important; }
html body:not(#pg0) .pg-sysitem__pic img { display: block; width: 100%; height: auto; border-radius: 12px; }
html body:not(#pg0) .pg-sysitem__list { grid-template-columns: 1fr; }
html body:not(#pg0) .pg-sysline { display: flex; align-items: center; gap: .9rem; margin: 1.6rem auto 0; padding: .85rem 1.1rem; background: #fff; border: 1px solid var(--pg-line, #E3E8F0); border-radius: 14px; box-shadow: 0 1px 2px rgba(11, 30, 59, .04); }
html body:not(#pg0) .pg-sysline__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 12px; background: var(--wp--preset--color--tint, #EEF4FF); color: var(--wp--preset--color--primary, #2A74ED); }
html body:not(#pg0) .pg-sysline__text { flex: 1; margin: 0 !important; font-size: .95rem; line-height: 1.5; color: #42516B; text-align: left !important; }
html body:not(#pg0) .pg-sysline__text strong { color: var(--wp--preset--color--navy, #0B1E3B); }
html body:not(#pg0) .pg-sysline__link { flex: none; font-weight: 700; text-decoration: none; white-space: nowrap; }
@media (max-width: 700px) {
	html body:not(#pg0) :is(.pg-sysshow__list, .pg-sysitem__list), html body:not(#pg0) .pg-sysshow__pics { grid-template-columns: 1fr; }
	html body:not(#pg0) .pg-sysitem__pic { float: none; width: 100%; margin: 0 0 .8rem !important; }
	html body:not(#pg0) .pg-sysline { flex-wrap: wrap; }
}
/* phones (owner 2026-11-29): pictures big enough, the tabs' names as big as the titles in them, a „Į krepšelį“ button easy to tap */
@media (max-width: 781px) {
	/* a wide picture (pg-img--banner, inc/content-r17.php §15) stands on its own line across the text (it was 143 × 50 px) */
	html body:not(#pg0) :is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p), .pg-merged) > .pg-img--side.pg-img--banner { float: none !important; clear: both; width: 100% !important; max-width: 480px !important; margin: .2rem auto 1rem !important; }
	/* a band picture (pg-img--band: three text lines tall beside the text on a computer, round 16) was a 131–143 × 42 px strip on a phone
	   (whole-site phone check 2026-11-29: 12 products) — on its own line across the text, cut 3 : 1 like the banners */
	html body:not(#pg0) :is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p), .pg-merged) > .pg-img--side.pg-img--band:is(.pg-img--l, .pg-img--r) { float: none !important; clear: both; width: 100% !important; max-width: 480px !important; margin: .2rem auto 1rem !important; }
	html body:not(#pg0) .pg-img--side.pg-img--band img { width: 100% !important; height: auto !important; aspect-ratio: 3 / 1; object-fit: cover; }
	/* the other side pictures a little larger than before (150 → 210 px; a square one 110 → 160 px) — on a phone the old editor's small display size
	   (--pg-img-w: 88–110 px on 30 pages) no longer caps them */
	html body:not(#pg0) :is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p), .pg-merged) > .pg-img--side:not(.pg-img--banner):not(.pg-img--sq):not(.pg-img--band) { width: min(48%, 210px) !important; }
	html body:not(#pg0) :is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:first-child:has(> p), .pg-merged) > .pg-img--side.pg-img--sq { width: min(42%, 160px) !important; }
	/* „shouldn't tab titles … be at least same sized as tab titles inside them?“ — the buttons and the titles of the open tab one size */
	html body:not(#pg0) .pg-tabs__list > .pg-tabs__tab, html body:not(#pg0) .woocommerce div.product .woocommerce-tabs ul.tabs li a { font-size: 1.1rem !important; }
	html body:not(#pg0) :is(.pg-tabs__panel, .woocommerce-Tabs-panel) :is(h1, h2, h3):not(:where(li, .wp-block-accordion-item, .wp-block-details) *) { font-size: 1.1rem !important; line-height: 1.35 !important; }
	html body:not(#pg0) :is(.pg-tabs__panel, .woocommerce-Tabs-panel) :is(h4, h5, h6):not(:where(li, .wp-block-accordion-item, .wp-block-details) *) { font-size: 1.02rem !important; }
}
/* a block of ProfileBond's feed (plugin „ProfileBond jungtis“ 1.5.0 draws it; inc/content-r17.php §17 places it) */
html body:not(#pg0) .pbc-block { display: flex; align-items: center; gap: 1rem; margin: 1.4rem 0; padding: 1rem 1.2rem; background: linear-gradient(135deg, #EEF4FF, #fff 70%); border: 1px solid #DCE6F7; border-radius: 16px; }
html body:not(#pg0) .pbc-block__img { flex: none; width: 4.5rem; height: 4.5rem; object-fit: contain; border-radius: 12px; }
html body:not(#pg0) .pbc-block__body { flex: 1; min-width: 0; }
html body:not(#pg0) .pbc-block__title { margin: 0 0 .25rem !important; font-weight: 700; color: var(--wp--preset--color--navy, #0B1E3B); text-align: left !important; }
html body:not(#pg0) .pbc-block__text { margin: 0 !important; color: #42516B; line-height: 1.55; text-align: left !important; }
html body:not(#pg0) .pbc-block__link { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: .5rem 1.1rem; border-radius: 999px; background: var(--wp--preset--color--primary, #2A74ED); color: #fff !important; font-weight: 700; text-decoration: none; white-space: nowrap; }
html body:not(#pg0) .pg-feed-slot--footer { max-width: 1240px; margin: 0 auto; padding: 0 1rem; }
@media (max-width: 700px) {
	html body:not(#pg0) .pbc-block { flex-wrap: wrap; }
}


/* ---------- big phones and foldables (owner 2026-11-29 on a Galaxy Z Fold 7 — unfolded ≈ 750 px, sideways ≈ 832, folded ≈ 411: "MULTIPLE PAGES AND
   PRODUCTS HAS THESE LAYOUT ISSUES ON BIGGER MOBILES LIKE FOLDABLES, track and find them all"; claude/perf/wp_theme_extra/bigmobile_probe.cjs) ---------- */
@media (max-width: 1023px) {
	/* the search and cart icons right next to „Meniu“: the row's space-between stood them half way (38 px off at 411, 167 px at 750) */
	html body:not(#pg0) .pg-header .pg-header__actions { margin-left: auto !important; }
	html body:not(#pg0) .pg-header .pg-header__row { column-gap: .5rem !important; }
}
@media (min-width: 782px) and (max-width: 1023px) {
	/* the Fold sideways (832 px) shows „Gauti pasiūlymą“ too: it stood between the icons and „Meniu“ (155 px) — it goes first, the icons next to „Meniu“ */
	html body:not(#pg0) .pg-header .pg-header__actions > .pg-header__cta { order: -1; margin-right: .35rem; }
}
@media (min-width: 561px) and (max-width: 781px) {
	/* the front page's top: text and drawing side by side as on a computer (stacked, the drawing stood 200 px wide in the middle of 690) */
	html body:not(#pg0) .wp-block-columns.pg-hero__cols { flex-wrap: nowrap !important; align-items: center !important; }
	html body:not(#pg0) .wp-block-columns.pg-hero__cols > .wp-block-column { flex: 1 1 0 !important; min-width: 0; }
	html body:not(#pg0) .wp-block-columns.pg-hero__cols > .wp-block-column:has(.pg-hero__art) { flex: 0 0 min(36%, 260px) !important; }
	html body:not(#pg0) .pg-hero__art img { width: 100% !important; max-width: 260px !important; }
	html body:not(#pg0) .wp-block-columns.pg-hero__cols :is(h1, h2, .pg-eyebrow) { text-align: left !important; } /* beside the drawing, as on a computer (stacked it was centred) */
	/* card grids two in a row instead of one wide column (the why-cards 649 px, the document cards 690 px) */
	html body:not(#pg0) .pg-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	html body:not(#pg0) :is(ol, ul):is(.pg-doccards, .pg-filecards) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* category cards side by side (the three kinds of instructions: each a 140 px picture in a 690 px card) */
	html body:not(#pg0) .wp-block-columns.pg-catcards { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
	html body:not(#pg0) .wp-block-columns.pg-catcards > .wp-block-column { flex-basis: auto !important; width: auto !important; margin: 0 !important; }
	/* its picture 160 px (it stood 111 px in a 219 px card): the frame is what the phone card rule above caps, so the frame is set here — stronger than that rule */
	html body:not(#pg0) .wp-block-columns.pg-catcards:not(.pg-steps):has(> .wp-block-column:nth-child(2)) > .wp-block-column > :is(.pg-img--side, .pg-card-pic, .wp-block-image) { width: min(100%, 160px) !important; }
	/* card rows (three or more columns, the FIRST and the LAST with a picture — a product's „Visual“ cards, the hygiene pages' cards; a row of texts with
	   one icon stays stacked): side by side as on a computer, three in a row (exactly four: two + two, four in a row from 700 px), the last row centred —
	   stacked, every card stood 690 px wide with its 140 px picture alone in the middle (code review 2026-11-29: four in a row were ~120 px at 561 px) */
	html body:not(#pg0) .wp-block-columns:not(.pg-steps):not(.pg-catcards):has(> .wp-block-column:nth-child(3)):has(> .wp-block-column:first-child > :is(.pg-img--side, .pg-card-pic, .wp-block-image)):has(> .wp-block-column:last-child > :is(.pg-img--side, .pg-card-pic, .wp-block-image)) { flex-wrap: wrap !important; justify-content: center; column-gap: 1rem !important; row-gap: 1.1rem !important; }
	html body:not(#pg0) .wp-block-columns:not(.pg-steps):not(.pg-catcards):has(> .wp-block-column:nth-child(3)):has(> .wp-block-column:first-child > :is(.pg-img--side, .pg-card-pic, .wp-block-image)):has(> .wp-block-column:last-child > :is(.pg-img--side, .pg-card-pic, .wp-block-image)) > .wp-block-column { flex: 0 1 calc((100% - 2rem) / 3) !important; min-width: 0; }
	html body:not(#pg0) .wp-block-columns:not(.pg-steps):not(.pg-catcards):has(> .wp-block-column:nth-child(4):last-child):has(> .wp-block-column:first-child > :is(.pg-img--side, .pg-card-pic, .wp-block-image)):has(> .wp-block-column:last-child > :is(.pg-img--side, .pg-card-pic, .wp-block-image)) > .wp-block-column { flex-basis: calc((100% - 1rem) / 2) !important; }
	@media (min-width: 700px) {
		html body:not(#pg0) .wp-block-columns:not(.pg-steps):not(.pg-catcards):has(> .wp-block-column:nth-child(4):last-child):has(> .wp-block-column:first-child > :is(.pg-img--side, .pg-card-pic, .wp-block-image)):has(> .wp-block-column:last-child > :is(.pg-img--side, .pg-card-pic, .wp-block-image)) > .wp-block-column { flex-basis: calc((100% - 3rem) / 4) !important; }
	}
	/* a lead picture ALONE in the first column of a two-column row (a product's drawing — on a computer 240 px left of its words): beside the words here
	   too; stacked it stood 200 px in the middle of 690 px (/produktas/saugos-auditas-imoneje/). A lead picture that shares its column with words keeps the
	   row stacked (code review 2026-11-29: the first version split such rows 50 / 50 — half-width words beside a floated picture). Not the hero. The
	   columns only: their flex bases put them on one line (WordPress's own wrap stays). */
	html body:not(#pg0) .wp-block-columns:not(.pg-hero__cols) > .wp-block-column:first-child:has(> .pg-img--lead):not(:has(> :not(.pg-img--lead))):has(+ .wp-block-column:last-child) { flex: 0 0 min(34%, 240px) !important; }
	html body:not(#pg0) .wp-block-columns:not(.pg-hero__cols) > .wp-block-column:first-child:has(> .pg-img--lead):not(:has(> :not(.pg-img--lead))) + .wp-block-column:last-child { flex: 1 1 0 !important; min-width: 0; }
	html body:not(#pg0) .wp-block-columns:not(.pg-hero__cols) > .wp-block-column:first-child:not(:has(> :not(.pg-img--lead))):has(+ .wp-block-column:last-child) > .pg-img--lead { float: none !important; width: 100% !important; max-width: calc(var(--pg-img-w, 240px) * 1.2) !important; margin: 0 auto !important; }
}
@media (min-width: 561px) and (max-width: 900px) {
	/* a product grid of the page's main text: 3 in a row (2 cards of 337 px on the Fold — „Populiariausios paslaugos“) */
	html body:not(#pg0) .woocommerce ul.products[class*="columns-"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
	/* a product list in a column standing under the text (the suggestions): its cards fill the row — 3 cards no longer leave room for a 4th */
	@container pgside (min-width: 421px) {
		html body:not(#pg0) ul.products, html body:not(#pg0) ul.products[class*="columns-"] { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important; }
		html body:not(#pg0) ul.products > li.product { width: 100%; max-width: 280px; justify-self: center; }
	}
}


/* ---------- „Mūsų komanda“ on /darbu-sauga/ (inc/team.php, owner 2026-11-30: "quality professional layout", dark portraits; then "do not use large photos
   of colleagues, make them small on the page": low cards, a 104 px portrait beside the words) ---------- */
html body:not(#pg0) .pg-team__lead { margin: .5rem 0 .9rem; }
.pg-team__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; gap: 1rem; }
.pg-team__card { position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 1.1rem; padding: 1rem; background: #fff; border: 1px solid var(--pg-line); border-radius: 16px; box-shadow: var(--pg-shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.pg-team__card:has(.pg-team__more):hover { transform: translateY(-2px); border-color: #bcd3fb; box-shadow: 0 12px 26px rgba(11, 30, 59, .13); }
.pg-team__card.is-open, .pg-team__card.is-open:hover { border-color: var(--wp--preset--color--primary); box-shadow: 0 0 0 1px var(--wp--preset--color--primary), 0 12px 26px rgba(11, 30, 59, .13); }
.pg-team__pic { position: relative; align-self: start; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; background: #1f2024; container-type: inline-size; }
html body:not(#pg0) .pg-team__pic img { display: block; width: 100% !important; max-width: none !important; height: 100% !important; margin: 0 !important; object-fit: cover; border-radius: 0; }
.pg-team__initials { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.9rem; font-size: 30cqi; font-weight: 600; letter-spacing: .06em; text-indent: .06em; color: rgba(255, 255, 255, .72); }
.pg-team__body { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
html body:not(#pg0) .pg-team__body > * { margin: 0 !important; text-align: left !important; }
html body:not(#pg0) .pg-team__body > .pg-team__name { font-size: 1.12rem !important; font-weight: 700; line-height: 1.25; color: var(--wp--preset--color--navy); }
html body:not(#pg0) .pg-team__body > .pg-team__role { margin-top: .25rem !important; font-size: .93rem; font-weight: 600; line-height: 1.35; color: var(--wp--preset--color--primary-dark); }
html body:not(#pg0) .pg-team__body > .pg-team__edu { margin: .35rem 0 .7rem !important; font-size: .87rem; line-height: 1.4; color: var(--wp--preset--color--muted); }
html body:not(#pg0) .pg-team__body > .pg-team__more { display: inline-flex; align-items: center; gap: .7rem; margin-top: auto !important; padding: .42rem .85rem; border: 1px solid #cfe0fb; border-radius: 999px; background: var(--wp--preset--color--tint); color: var(--wp--preset--color--primary-dark); font: inherit; font-size: .86rem; font-weight: 600; line-height: 1.3; cursor: pointer; }
.pg-team__more::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 16px; } /* the whole card opens the profile */
.pg-team__more::after { content: ""; flex: none; width: 7px; height: 7px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s ease; }
.pg-team__more[aria-expanded="true"]::after { margin-top: 3px; transform: rotate(-135deg); }
html body:not(#pg0) .pg-team__card.is-open .pg-team__body > .pg-team__more { border-color: var(--wp--preset--color--primary); background: var(--wp--preset--color--primary); color: #fff; }
html body:not(#pg0) .pg-team__more:focus-visible { outline: 3px solid rgba(42, 116, 237, .5); outline-offset: 2px; }
html body:not(#pg0) .pg-team > .pg-team__note { margin: 1.25rem 0 0; padding: 1rem 1.2rem; border-left: 4px solid var(--wp--preset--color--primary); border-radius: 0 12px 12px 0; background: var(--wp--preset--color--tint); color: var(--wp--preset--color--ink); text-align: left !important; }
.pg-team__profile { grid-column: 1 / -1; min-width: 0; border-radius: 16px; background: #fff; box-shadow: 0 18px 44px rgba(11, 30, 59, .16); overflow: clip; }
.pg-team__profile[hidden] { display: none !important; }
.pg-team__bar { position: sticky; top: var(--pg-team-top, 107px); z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem .8rem 1.35rem; background: linear-gradient(120deg, #17181c, #26282e 60%, #1b2a47); }
html body:not(#pg0) .pg-team__bar > .pg-team__who { margin: 0 !important; font-size: 1.12rem; font-weight: 700; color: #fff; text-align: left !important; }
.pg-team__close { flex: none; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.pg-team__close:hover { background: rgba(255, 255, 255, .2); }
.pg-team__close:focus-visible { outline: 3px solid #7fb0ff; outline-offset: 2px; }
html body:not(#pg0) .pg-team__profile .pg-tabs { margin: 0 !important; border-radius: 0 0 16px 16px; }
html body:not(#pg0) .pg-team__profile p { text-align: left !important; }
html body:not(#pg0) .pg-team__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 1.1rem 0 0; }
.pg-team__facts > div { padding: .8rem 1rem; border: 1px solid var(--pg-line); border-left: 4px solid var(--wp--preset--color--primary); border-radius: 10px; background: var(--wp--preset--color--surface, #f6f8fb); }
.pg-team__facts dt { font-size: .8rem; font-weight: 600; color: var(--wp--preset--color--muted); }
.pg-team__facts dd { margin: .15rem 0 0; font-weight: 600; color: var(--wp--preset--color--navy); }
html body:not(#pg0) .pg-team__profile .pg-team__label { margin: 1.2rem 0 .55rem !important; font-weight: 600; color: var(--wp--preset--color--navy); }
html body:not(#pg0) .pg-team__areas { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 !important; padding: 0 !important; list-style: none !important; }
html body:not(#pg0) .pg-team__areas > li { margin: 0 !important; padding: .35rem .8rem !important; border-radius: 999px; background: var(--wp--preset--color--tint); color: var(--wp--preset--color--primary-dark); font-size: .88rem; font-weight: 600; line-height: 1.4; list-style: none !important; }
html body:not(#pg0) :is(.pg-team__areas, .pg-comp__dates) > li::before { content: none !important; display: none !important; }
html body:not(#pg0) .pg-team__profile .pg-comps__note { margin: 0 0 1.1rem !important; font-size: .92rem; color: var(--wp--preset--color--muted); }
.pg-comps { columns: 2; column-gap: 1rem; }
.pg-comps--one { columns: 1; }
.pg-comps__area { break-inside: avoid; margin: 0 0 1rem; padding: 1rem 1.1rem 1.1rem; border: 1px solid var(--pg-line); border-top: 3px solid var(--wp--preset--color--primary); border-radius: 12px; background: #fff; }
html body:not(#pg0) .pg-comps__area > .pg-comps__title { margin: 0 0 .2rem !important; font-size: 1.02rem !important; font-weight: 700; line-height: 1.35; color: var(--wp--preset--color--navy); text-align: left !important; }
.pg-comp { padding-top: .75rem; }
.pg-comp + .pg-comp { margin-top: .75rem; border-top: 1px dashed var(--pg-line); }
html body:not(#pg0) .pg-comp > .pg-comp__name { margin: 0 !important; font-size: .95rem; font-weight: 600; line-height: 1.42; color: var(--wp--preset--color--ink); }
html body:not(#pg0) .pg-comp > .pg-comp__info { margin: .2rem 0 0 !important; font-size: .87rem; line-height: 1.5; color: var(--wp--preset--color--muted); }
html body:not(#pg0) .pg-comp > .pg-comp__dates { display: grid; gap: .35rem; margin: .5rem 0 0 !important; padding: 0 !important; list-style: none !important; }
html body:not(#pg0) .pg-comp > .pg-comp__dates--row { display: flex; flex-wrap: wrap; }
html body:not(#pg0) .pg-comp__dates > li { margin: 0 !important; padding: 0 !important; font-size: .85rem; line-height: 1.5; list-style: none !important; }
.pg-comp__dates time { display: inline-block; padding: .08rem .55rem; border-radius: 7px; background: var(--wp--preset--color--tint); color: var(--wp--preset--color--primary-dark); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pg-comp__what { color: var(--wp--preset--color--muted); }
@media (max-width: 1100px) { .pg-team__card { grid-template-columns: 84px minmax(0, 1fr); gap: .85rem; padding: .85rem; } }
@media (max-width: 900px) { .pg-comps { columns: 1; } }
@media (max-width: 700px) {
	.pg-team__grid { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
	.pg-team__card { grid-template-columns: 88px minmax(0, 1fr); gap: .9rem; padding: .85rem; }
	html body:not(#pg0) .pg-team__facts { grid-template-columns: 1fr; }
	html body:not(#pg0) .pg-team__profile .pg-tabs__panel { padding: 1rem; }
	.pg-team__bar { padding-left: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .pg-team__card, .pg-team__more::after { transition: none; } }

/* ---------- the top of /saugos-mokymo-kursu-programos-ir-mokymo-grafikai/ (inc/trainings-top.php, owner 2026-11-30: "a better picture and layout") ---------- */
html body:not(#pg0) .pg-ttop { grid-template-columns: minmax(0, 1fr) minmax(0, 45%); gap: 1.6rem; padding: 1.5rem 1.5rem 1.5rem 1.75rem; margin-bottom: 1.1rem; }
html body:not(#pg0) .pg-ttop::after { display: none; } /* the box has no floats: its clearing element stood as an empty grid row */
html body:not(#pg0) .pg-ttop .pg-pagehero__text > * { margin: 0 !important; text-align: left !important; }
html body:not(#pg0) .pg-ttop .pg-pagehero__text > h1 { font-size: clamp(1.55rem, 2.3vw, 2.05rem) !important; line-height: 1.2; }
html body:not(#pg0) .pg-ttop .pg-pagehero__text > p { margin-top: .85rem !important; line-height: 1.62; }
.pg-tfacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0 0 2rem; }
.pg-tfact { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .95rem; align-items: start; padding: 1.1rem 1.2rem; border: 1px solid var(--pg-line); border-radius: var(--pg-radius); background: #fff; box-shadow: var(--pg-shadow); }
.pg-tfact__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(145deg, #3f87f7, #1a56c8); color: #fff; }
html body:not(#pg0) .pg-tfact__text > p { margin: 0 !important; font-size: .97rem; line-height: 1.55; text-align: left !important; }
html body:not(#pg0) .pg-tfact__text > .pg-tfact__label { margin-bottom: .25rem !important; font-size: 1.02rem; font-weight: 700; color: var(--wp--preset--color--navy); }
@media (max-width: 781px) {
	html body:not(#pg0) .pg-ttop { grid-template-columns: 1fr; gap: 1.1rem; padding: 1.15rem 1.1rem; }
	html body:not(#pg0) .pg-ttop .pg-pagehero__pic { width: 100%; max-width: 460px; margin-inline: auto !important; }
}
@media (max-width: 640px) { .pg-tfacts { grid-template-columns: 1fr; } }


/* ---------- text rhythm (owner 2026-11-30: "why so many gaps between sentences? … doublecheck all other pages … is it really necesary ?", "do we need
   to separate those paragraphs by gaps at all? for me it seems that … no separation would look better, probably on most other pages also"): ordinary
   paragraphs follow each other without a gap (it was 20 px on every page); a title, a list and a picture keep a small room. A paragraph that is all bold
   (a small title, class pg-boldline from inc/page-tops.php), a centred line, one with a picture or a button, the notes and the parts of a block
   („…__…“ classes) keep theirs. Measured by claude/perf/wp_theme_extra/gap_scan.cjs ---------- */
html body:not(#pg0) :is(.pg-content, .woocommerce-Tabs-panel--description, .term-description, .pg-cat-faq) p:where(:not([class*="__"], .pg-note, .pg-subtitle, .pg-title-text, .pg-boldline, .has-text-align-center, .has-background, :has(img, iframe, .button, .wp-element-button))) + p:where(:not([class*="__"], .pg-note, .pg-subtitle, .pg-title-text, .pg-boldline, .has-text-align-center, .has-background, :has(img, iframe, .button, .wp-element-button))) { margin-block-start: 0; }
html body:not(#pg0) :is(.pg-content, .woocommerce-Tabs-panel--description, .term-description, .pg-cat-faq) p:where(:not([class*="__"], .pg-note, .pg-subtitle, .pg-title-text, .has-text-align-center, .has-background, :has(img, iframe, .button, .wp-element-button))):has(+ p) { margin-block-end: 0; }
html body:not(#pg0) :is(.pg-content, .woocommerce-Tabs-panel--description, .term-description, .pg-cat-faq) p + p:where(.pg-boldline) { margin-block-start: .75em; }
html body:not(#pg0) :is(.pg-content, .woocommerce-Tabs-panel--description, .term-description, .pg-cat-faq) p:where(.pg-boldline) + :where(p, ul, ol) { margin-block-start: .1em; }
html body:not(#pg0) :is(.pg-content, .woocommerce-Tabs-panel--description, .term-description, .pg-cat-faq) p:where(:not([class*="__"], .pg-note, .has-background)):has(+ :is(ul, ol)) { margin-block-end: 0; }
html body:not(#pg0) :is(.pg-content, .woocommerce-Tabs-panel--description, .term-description, .pg-cat-faq) p:where(:not([class*="__"], .pg-note, .has-background)) + :is(ul, ol):where(:not([class*="pg-"], .wp-block-social-links, .products)) { margin-block-start: .35em; }
html body:not(#pg0) :is(.pg-content, .woocommerce-Tabs-panel--description, .term-description, .pg-cat-faq) :is(ul, ol):where(:not([class*="pg-"], .wp-block-social-links, .products)):has(+ p) { margin-block-end: 0; }
html body:not(#pg0) :is(.pg-content, .woocommerce-Tabs-panel--description, .term-description, .pg-cat-faq) :is(ul, ol):where(:not([class*="pg-"], .wp-block-social-links, .products)) + p:where(:not([class*="__"], .pg-note, .has-background, .pg-boldline)) { margin-block-start: .5em; }
/* a title and its text, a card's picture and its words, the questions and the product table below them */
html body:not(#pg0) :is(.pg-content, .woocommerce-Tabs-panel--description, .term-description, .pg-cat-faq) :is(h1, h2, h3, h4, h5, h6):where(:not([class*="__"], .wp-block-accordion-heading, .pg-outtitle)) + :where(p:not([class*="__"], .pg-note, .has-background), ul:not([class*="pg-"], .products), ol:not([class*="pg-"])) { margin-block-start: .35em; }
html body:not(#pg0) :is(.pg-content, .woocommerce-Tabs-panel--description) .pg-card-pic + p { margin-block-start: 0; }
html body:not(#pg0) .pg-content .pg-keep-below:not(#pg1) { margin-block-start: 1.5rem !important; }
html body:not(#pg0) :is(.pg-content, .woocommerce-Tabs-panel--description, .term-description, .pg-cat-faq) :is(details > summary + :where(p, ul, ol)) { margin-block-start: .5em; }
/* an opened accordion: only the panel's own 12 px stand between its title and its first line, like under a question (owner 2026-12-01: "too big gap
   after the accordion title"). WordPress put 20 px above the panel as the second block of its item, and the rule above 8 px more: 42 px together.
   Measured by claude/perf/wp_theme_extra/acc_gap.cjs */
html body:not(#pg0) .wp-block-accordion-item > .wp-block-accordion-panel { margin-block: 0; }
html body:not(#pg0) .wp-block-accordion-panel > :first-child, html body:not(#pg0) .wp-block-accordion-panel > .pg-sysitem:first-child > :is(:first-child, .pg-sysitem__pic + p) { margin-block-start: 0 !important; }
/* the cart page's suggestions: five rows at most, so no search, no pages and no „1–3 iš 3“ below them */
html body:not(#pg0) .pg-cart-suggest .pg-ptable__foot { display: none; }
html body:not(#pg0) .pg-cart-suggest[hidden] { display: none; }
/* /darbu-sauga/: the first words and the rest of the text are one text; the numbers stand at the top of their box (its title stands above it now) */
html body:not(#pg0) .pg-design__main > .pg-dlead + .pg-dtext { margin-top: 0; }
html body:not(#pg0) .pg-design__main > .pg-dlead:has(+ .pg-dtext) { font-size: inherit; line-height: inherit; color: inherit; }
html body:not(#pg0) .pg-design__main .pg-dsection > :is(h1, h2):first-child { margin-top: 0; } /* an inline-block title: its room was added to the section's own */
html body:not(#pg0) .pg-dhero > .pg-dstats:first-child { margin-top: 0 !important; }
/* justified text on a computer also inside a block of plain text (owner 2026-11-30: "justify on desktop devices remember? doublecheck all pages") */
@media (min-width: 992px) {
	html body:not(#pg0) :is(.pg-content, .woocommerce-Tabs-panel--description) :is(.pg-option, .pg-dtext, .pg-merged, .pg-extra-text, .pg-pagehero, .pg-pagehero__text, .pg-dhero, .pg-belowcard, .pg-issue__a, .pg-issue__q, .pg-sysitem, .pg-dss__info, li) > p:not([class*="text-align"], [style*="text-align"], .pg-nojustify, .pg-boldline), html body:not(#pg0) :is(.pg-content > .wp-block-columns > .wp-block-column:not(.pg-col--side), .pg-content, .pg-tabs__panel, .woocommerce-Tabs-panel--description, details, .wp-block-accordion-panel) > p.has-text-align-left:not(.pg-nojustify, .pg-boldline), html body:not(#pg0) .woocommerce-Tabs-panel--description > .wp-block-columns:not(:has(> .wp-block-column:nth-child(3))) > .wp-block-column:last-child > p:not([class*="text-align"], [style*="text-align"], .pg-nojustify, .pg-boldline), html body:not(#pg0) .pg-design__main > .pg-dlead, html body:not(#pg0) .pg-team > .pg-team__note { text-align: justify !important; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 8 4 4; }
}
/* a narrow column beside a drawing (about 440 px): justified words stood far apart there */
html body:not(#pg0):not(#pg1) :is(.pg-ttop .pg-pagehero__text, .pg-dhero--art) > p { text-align: left !important; }
html body:not(#pg0):not(#pg1) .pg-ttop .pg-pagehero__text > p + p { margin-top: 0 !important; }
/* a page's main title above its coloured box (inc/page-tops.php) */
html body:not(#pg0) .pg-content h1.pg-outtitle { margin: 0 0 1.1rem !important; text-align: center !important; }

/* ---------- text sizes (owner 2026-11-30: "'Kvalifikuoti specialistai' and other card titles seems too small text font on mobile", "categories there
   like 'dss programos ir grafikai' seems too small", "on other all pages and products review the text font sizes"). On a phone nothing a person reads is
   under 14 px, a card's title is at least 17 px (the text is 17 px) and the phone menu's lines 16 px; on a computer nothing is under 12 px. Measured by
   claude/perf/wp_theme_extra/font_scan.cjs. Google's old check was „60 % of the text is 12 px or bigger“ (removed in Lighthouse 13) ---------- */
html body:not(#pg0) .pg-dfeature p strong { font-size: 1.0625rem; letter-spacing: 0; line-height: 1.3; }
html body:not(#pg0) :is(.pg-dstat__label, .pg-dcard__label, .pg-filecard__type, .pg-tabs__count, .pg-dss__table th, .pg-sr__group) { font-size: .8125rem; }
html body:not(#pg0) .pg-price__steps-title { font-size: .9375rem; }
html body:not(#pg0) :is(.pg-flat__label, a.pg-flat__label) { font-size: .875rem !important; }
html body:not(#pg0) .pg-cart-count { font-size: .75rem; }
/* the phone menu: a section's small titles as big as its links and darker; no „Visa informacija“ any more (inc/menu.php) */
html body:not(#pg0) .pg-dlist__label span { font-size: .9375rem; }
html body:not(#pg0) .pg-dlist .pg-flat__label { font-size: 1.0625rem !important; color: var(--wp--preset--color--navy) !important; }
html body:not(#pg0) .pg-dlist .pg-flat__head { min-height: 44px; }
html body:not(#pg0) .pg-dlist .pg-flat__toggle { width: 44px; height: 44px; margin-right: -.35rem; }
html body:not(#pg0) .pg-dlist .pg-flat__toggle span { width: 9px; height: 9px; }
html body:not(#pg0) .pg-dlist :is(.pg-flat > li > a, .pg-flat__sub a) { font-size: 1rem; padding: .55rem 0; }
html body:not(#pg0) .pg-dlist__all { font-size: 1.0625rem; padding: .55rem 0 .55rem .85rem; border-left: 2px solid var(--pg-line); }
@media (max-width: 781px) {
	html body:not(#pg0) .pg-dfeature p strong { font-size: 1.125rem; }
	html body:not(#pg0) :is(.pg-dstat__label, .pg-dcard__label, .pg-dchip, .pg-filecard__type, .pg-tabs__count, .pg-dss__table th, .pg-dss__group td, .pg-sr__group, .pg-legis__meta, .pg-doccard__note, .pg-doccard__note a, .pg-team__facts dt, .pg-team__areas > li, .pg-sysshow__kicker) { font-size: .875rem; }
	html body:not(#pg0) :is(.pg-comp__dates > li, .pg-comp__dates > li *, .pg-comp > .pg-comp__info, .pg-team__body > .pg-team__edu, .pg-team__body > .pg-team__more, .pg-content figcaption, .pg-steps > .wp-block-column > p) { font-size: .875rem; }
	html body:not(#pg0) :is(.pg-side-menu__title, .pg-side-menu__back a) { font-size: .9375rem; }
	html body:not(#pg0) p.is-style-eyebrow { font-size: .9375rem !important; }
	html body:not(#pg0) .pg-footer__title { font-size: 1rem; }
	html body:not(#pg0) .pg-flat__label, html body:not(#pg0) .pg-side-menu .pg-grp__title { font-size: 1rem !important; }
	html body:not(#pg0) .pg-side-menu .pg-flat a:not(.pg-flat__label) { font-size: .9375rem; }
	/* card titles: never smaller than the text below them */
	html body:not(#pg0) :is(.pg-price__steps-title, .pg-price__steps strong) { font-size: 1.0625rem; }
	html body:not(#pg0) .pg-price__steps { font-size: 1rem; }
	html body:not(#pg0) :is(.pg-service > .pg-card__title, .pg-about__card-title, .pg-about__audit-title, .pg-offer__name, .pg-dcard--text > h5, .pg-dcard--text > h4) { font-size: 1.125rem !important; }
	html body:not(#pg0) .pg-doccards > li.pg-doccard > h4 { font-size: 1.0625rem !important; }
	html body:not(#pg0) p.pg-boldline > :is(strong, b) { font-size: max(1em, 1.0625rem); }
	html body:not(#pg0) :is(.wp-block-accordion-heading, .wp-block-accordion-heading__toggle, .wp-block-accordion-heading__toggle-title, .pg-sysitem__list strong, .pg-tfact__text > .pg-tfact__label) { font-size: 1.0625rem; }
}
/* /darbu-sauga/ on a phone: the fields stand in the order that puts the most of them on a row, and fill it ("should be switched places in order to
   fit as much to one row as possible"). The stored order stays for computers and for readers. 1 Sauga ir sveikata · 2 Gaisrinė · 3 Civilinė · 4 Asmens
   duomenų · 5 Profesinė sveikata · 6 Rizikos vertinimas · 7 Statinių priežiūra · 8 Mokymai */
@media (max-width: 480px) {
	html body:not(#pg0) .pg-dhero { padding: 1.1rem .8rem; }
	html body:not(#pg0) .pg-content .pg-dchips { gap: .375rem; justify-content: center; }
	html body:not(#pg0) .pg-dchip { flex: 1 0 auto; justify-content: center; padding: .34rem .6rem; }
	.pg-dchip:nth-child(1) { order: 1; } .pg-dchip:nth-child(4) { order: 2; } .pg-dchip:nth-child(6) { order: 3; } .pg-dchip:nth-child(7) { order: 4; }
	.pg-dchip:nth-child(2) { order: 5; } .pg-dchip:nth-child(3) { order: 6; } .pg-dchip:nth-child(5) { order: 7; } .pg-dchip:nth-child(8) { order: 8; }
}
@media (min-width: 388px) and (max-width: 480px) {
	.pg-dchip:nth-child(3) { order: 4; } .pg-dchip:nth-child(7) { order: 5; } .pg-dchip:nth-child(2) { order: 6; }
}
@media (min-width: 429px) and (max-width: 480px) {
	.pg-dchip:nth-child(1) { order: 1; } .pg-dchip:nth-child(8) { order: 2; } .pg-dchip:nth-child(4) { order: 3; } .pg-dchip:nth-child(3) { order: 4; }
	.pg-dchip:nth-child(6) { order: 5; } .pg-dchip:nth-child(5) { order: 6; } .pg-dchip:nth-child(7) { order: 7; } .pg-dchip:nth-child(2) { order: 8; }
}
/* a price never breaks in the middle (owner 2026-11-30, the checkout on a phone: „€139.0“ and „0“ below it): the rule for long words above let the
   price's column shrink to nothing. A shop table still breaks a long word, but a column never gets narrower than its longest word */
html body :is(.woocommerce-Price-amount, .woocommerce-Price-amount bdi, .amount) { white-space: nowrap; overflow-wrap: normal; word-break: normal; }
html body:not(#pg0) :is(.pg-content, .woocommerce) table.shop_table :is(td, th) { overflow-wrap: break-word; }

/* ---------- LT / EN / RU (inc/language.php, owner 2026-11-30): a button at the end of the top bar, three buttons in the phone menu, the small
   message at the bottom ---------- */
.pg-topbar { position: relative; z-index: 3; } /* above the header's row, so the button can be tapped below the bar's edge too */
html body .pg-topbar .pg-topbar__links { margin-left: auto !important; } /* the reviews stay on the right, beside the language */
.pg-lang--bar { position: relative; flex: none; }
.pg-lang__btn { position: relative; display: inline-flex; align-items: center; gap: .35rem; min-height: 28px; padding: .1rem .55rem; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; background: none; color: #fff; font: inherit; font-size: .875rem; font-weight: 700; line-height: 1.2; cursor: pointer; }
.pg-lang__btn::before { content: ""; position: absolute; inset: -9px -8px; } /* easy to tap: 46 px high */
.pg-lang__btn:hover, .pg-lang__btn[aria-expanded="true"] { background: rgba(255, 255, 255, .16); }
.pg-lang__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.pg-lang__list[hidden] { display: none; }
.pg-lang__list { position: absolute; z-index: 120; top: calc(100% + .5rem); right: 0; min-width: 11rem; margin: 0; padding: .35rem; list-style: none; background: #fff; border: 1px solid var(--pg-line); border-radius: 12px; box-shadow: 0 14px 34px rgba(11, 30, 59, .22); }
.pg-lang__list button, .pg-lang--menu button { min-height: 44px; border: 1px solid transparent; border-radius: 8px; background: none; color: var(--wp--preset--color--navy); font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2; cursor: pointer; }
.pg-lang__list button { display: block; width: 100%; padding: .5rem .8rem; text-align: left; }
.pg-lang__list button:hover, .pg-lang--menu button:hover { background: var(--wp--preset--color--tint); }
.pg-lang :is(.pg-lang__list button, button[data-pg-lang-to])[aria-pressed="true"] { background: var(--wp--preset--color--tint); color: var(--wp--preset--color--primary-dark); font-weight: 700; }
.pg-lang__list button:focus-visible, .pg-lang--menu button:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 1px; }
.pg-lang--menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; margin: 0 0 .75rem; }
.pg-lang--menu button { border-color: var(--pg-line); padding: .4rem .25rem; }
.pg-lang--menu button[aria-pressed="true"] { border-color: var(--wp--preset--color--primary); }
.pg-lang-note[hidden] { display: none; }
.pg-lang-note { position: fixed; z-index: 99995; /* above the cookie notice (it also stands higher than it), below the side cart */ left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; box-sizing: border-box; width: max-content; max-width: min(560px, calc(100vw - 24px)); padding: .8rem 3.2rem .8rem 1rem; border-radius: 14px; background: var(--wp--preset--color--navy); color: #fff; font-size: 1rem; line-height: 1.4; box-shadow: 0 14px 34px rgba(11, 30, 59, .32); }
.pg-lang-note p { margin: 0; }
.pg-lang-note__go { min-height: 44px; padding: .5rem 1rem; border: 0; border-radius: 10px; background: #fff; color: var(--wp--preset--color--primary-dark); font: inherit; font-weight: 700; cursor: pointer; }
.pg-lang-note__x { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; border: 0; background: none; color: #fff; font: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.pg-lang-note button:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
/* one row at every width: up to 900 px without „Dirbame visoje Lietuvoje“ (it stands in the footer), up to 700 px also without the reviews */
@media (min-width: 601px) and (max-width: 900px) { .pg-topbar__contacts .pg-hide-mobile { display: none; } }
@media (max-width: 700px) {
	.pg-topbar__links { display: none !important; }
	.pg-topbar > .wp-block-group { flex-wrap: nowrap !important; gap: .6rem; }
	.pg-topbar__contacts { flex-wrap: nowrap !important; min-width: 0; }
	.pg-topbar .pg-topbar__contacts.wp-block-group { gap: .9rem; }
	.pg-topbar__contacts p { white-space: nowrap; }
	.pg-lang-note { width: calc(100vw - 24px); bottom: 12px; }
}
@media (max-width: 374px) { /* a small phone: the number and the address stay whole, the button shows only the letters */
	.pg-topbar .pg-topbar__contacts.wp-block-group { gap: .55rem; }
	.pg-lang__btn { padding: .1rem .4rem; }
	.pg-lang__btn svg { display: none; }
}
@media (max-width: 345px) { /* the header's row was 18 px too wide on a 320 px phone: the menu button stood partly outside the screen */
	html body .pg-header__logo img { width: 142px !important; height: auto !important; }
}
