/* ============================================================
   CARGOBOARD — rebuilt SUBPAGE template (cbp-*)
   Shares palette + Manrope with home.css. Loaded per subpage.
   ============================================================ */
.cbp { color: #11132a; overflow-x: clip; }
.cbp * { box-sizing: border-box; }
.cbp h1, .cbp h2, .cbp h3, .cbp h4 { font-family: Manrope, system-ui, sans-serif; color: #11132a; margin: 0 0 .4em; line-height: 1.12; }
.cbp p { line-height: 1.7; margin: 0 0 1.5em; }
.cbp a { color: #5865f1; }
.cbp img { max-width: 100%; height: auto; }

.cbp-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #5865f1; margin-bottom: 12px; }

/* section shell — centered islands */
.cbp-sec { max-width: 1200px; margin: 30px auto; padding: 52px 46px; background: #fff; border-radius: 24px; box-shadow: 0 14px 40px rgba(17,19,42,.07); }
.cbp-sec:nth-of-type(even) { background: #edf1f4; }
.cbp-h { font-size: clamp(24px, 3vw, 38px); letter-spacing: -.5px; font-family: Manrope, system-ui, sans-serif; font-weight: 800; color: #11132a; }
.cbp-h span { font-size: inherit; font-weight: inherit; }
.cbp-text { font-size: 16.5px; }
/* article-flow vertical rhythm: space headings off the block above, and separate stacked text blocks (scoped to direct children so cards/tiles/chips are unaffected) */
.cbp-sec > .cbp-h, .cbp-prose > .cbp-h, .cbp-split-txt > .cbp-h { margin-top: 1.7em; }
.cbp-sec > .cbp-h:first-child, .cbp-prose > .cbp-h:first-child, .cbp-split-txt > .cbp-h:first-child { margin-top: 0; }
.cbp-sec > .cbp-text, .cbp-prose > .cbp-text, .cbp-split-txt > .cbp-text { margin-bottom: 1.5em; }
.cbp-text span, .cbp-prose span { background-color: transparent !important; }
.cbp-text span[style*="808080"] { color: inherit !important; }
.cbp-btnrow { margin: 22px 0 0; }
.cbp-btnrow .elementor-button, .cbp-btnrow a.button, .cbp-btnrow a { display: inline-block; background: #5865f1; color: #fff !important; border-radius: 999px; padding: 14px 30px; font-weight: 700; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.cbp-btnrow a:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0,0,0,.2); }
.cbp-fig { margin: 24px 0 18px; }
/* paveikslai: nedidinti virs natyvaus dydzio (kitaip logotipai/iliustracijos issipucia) */
.cbp-fig img { border-radius: 16px; box-shadow: 0 18px 46px rgba(17,19,42,.14); width: auto; max-width: 100%; display: block; margin-inline: auto; }
/* dideles fotografijos uzpildo ploti, bet ribojamas aukstis */
.cbp-fig img[src*="1024x"], .cbp-fig img[src*="-scaled"] { width: 100%; max-height: 420px; object-fit: cover; }
/* logotipai / badge / ikonos — be seselio, natyvus dydis, inline juosta */
.cbp-fig img[src*="/2024/06/logo-"], .cbp-fig img[src*="google-review"], .cbp-fig img[src*="/redesign/icons/"] { box-shadow: none; border-radius: 0; }
.cbp-prose figure.cbp-fig:has(img[src*="/2024/06/logo-"]) { display: inline-block; margin: 14px 22px 0 0; vertical-align: middle; }
.cbp-fig img[src*="/2024/06/logo-"] { height: 36px; width: auto; }
.cbp-fig img[src*="google-review"] { width: 198px; }
@media (max-width: 767px) { .cbp-sec { padding: 34px 20px; border-radius: 16px; margin: 16px 10px; } }

/* shared button helper (reused from home) */
.cbh-btn { display: inline-block; border-radius: 999px; padding: 15px 32px; font-weight: 700; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.cbh-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.22); }
.cbh-btn-red { background: #5865f1; color: #fff !important; }
.cbh-btn-xl { padding: 18px 42px; font-size: 18px; }

/* ---------- HERO (dark diagonal band) ---------- */
.cbp-hero { position: relative; isolation: isolate; background: linear-gradient(160deg, #0d0b36 0%, #1e1b5a 55%, #393a9d 130%); color: #fff; max-width: min(1856px, calc(100% - 64px)); margin: 14px auto 30px; border-radius: 28px; padding: 72px 56px; overflow: clip; }
.cbp-hero::before { content: ""; position: absolute; z-index: -1; inset: -40% -10% auto auto; width: 720px; height: 720px; background: radial-gradient(closest-side, rgba(88,101,241,.35), transparent); filter: blur(40px); }
.cbp-hero::after { content: ""; position: absolute; z-index: -1; inset: auto auto -50% -12%; width: 640px; height: 640px; background: radial-gradient(closest-side, rgba(33,211,237,.14), transparent); filter: blur(40px); }
/* hero turinys centruotas (kaip titulinio makete); teksto puslapiams (.cbp-text) — kaire lygiuota centruota kolona */
.cbp-hero { text-align: center; }
.cbp-hero-in { max-width: 920px; margin: 0 auto; }
.cbp-hero:has(.cbp-hero-in > .cbp-text) { text-align: left; }
.cbp-hero:has(.cbp-hero-in > .cbp-text) .cbp-hero-in { max-width: 860px; }
/* opt-in centered hero (overrides the left-align applied to heroes with body text) */
.cbp-hero.cbp-hero--center:has(.cbp-hero-in > .cbp-text) { text-align: center; }
.cbp-hero h1 { color: #fff; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.05; letter-spacing: -1.1px; }
.cbp-hero .cbp-sub { color: rgba(255,255,255,.82); font-size: 19px; margin: 16px 0 0; }
.cbp-hero .cbp-text { color: rgba(255,255,255,.8); }
.cbp-crumbs, .custom-breadcrumbs, .breadcrumb-navigation { display: none !important; }
.cbp-crumbs { font-size: 13px; opacity: .7; margin-bottom: 20px; }
.cbp-crumbs a { color: #c3b4fd; }
.cbp-form { margin: 28px auto 0; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 24px; max-width: 660px; text-align: left; }
/* price calculator: match the homepage form design — white card + darker-grey search bars
   (#mx is the booking-form root, nested INSIDE .cbp-form; overrides the legacy booking-form CSS) */
.cbp-form.cbh-form-card { background: #fff !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border: none !important; border-radius: 22px !important; padding: 28px !important; box-shadow: 0 30px 70px rgba(13,11,54,.28) !important; max-width: 720px; }
#mx .booking-form .form-fields-wrapper { background: transparent !important; border: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: none !important; border-radius: 14px !important; padding: 0 !important; min-height: 0 !important; align-items: center !important; }
/* legacy .form-fields-wrapper is min-height:70px; the fixed-52px inputs then top-align inside it
   (button stretches to 70 -> juts out below the bars; floating label centres in 70 -> sits below
   the 52px box). Force everything to 52px so bars + button line up and label text is centred. */
#mx .booking-form .input-wrapper { min-height: 0 !important; }
#mx .booking-form .floating-label { min-height: 0 !important; height: 52px !important; }
#mx .booking-form .submit-button { height: 52px !important; min-height: 52px !important; }
#mx .cbp-form .booking-form .form-input.autocomplete-input,
#mx .cbp-form .booking-form .form-input.autocomplete-input:not(:placeholder-shown) { background-color: var(--color-neutral-300) !important; border-color: var(--color-neutral-400) !important; }
#mx .booking-form .submit-button { border-radius: 999px !important; }
/* remove the legacy booking-form min-height so the calculator card hugs the form
   (kills the big empty white space below the fields) — matches the homepage card */
#mx .cbp-form .booking-form { min-height: 0 !important; margin: 0 !important; }
/* the form note sits on the WHITE card now, so make it grey/visible (out-specify the
   old dark-hero rule that forced it white -> invisible) */
#mx .cbp-hero .cbp-form .info-text p, .cbp-form .info-text p { color: var(--color-neutral-600) !important; }
.cbp-trust { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); opacity: .92; font-size: 14px; }
.cbp-trust img { vertical-align: middle; }
@media (max-width: 767px) { .cbp-hero { padding: 48px 24px; } }

/* ---------- CARD DECK ---------- */
.cbp-deck { display: grid; gap: 22px; margin-top: 30px; }
.cbp-deck-2 { grid-template-columns: repeat(2, 1fr); }
.cbp-deck-3 { grid-template-columns: repeat(3, 1fr); }
.cbp-deck-4 { grid-template-columns: repeat(4, 1fr); }
.cbp-deck-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1024px) { .cbp-deck-5 { grid-template-columns: repeat(2, 1fr); } }
.cbp-card { background: #fff; border: 1px solid #d7d3d3; border-radius: 16px; padding: 28px 24px; box-shadow: 0 8px 26px rgba(17,19,42,.06); transition: transform .22s ease, box-shadow .22s ease; }
.cbp-sec:nth-of-type(even) .cbp-card { background: #fff; }
.cbp-card:hover { transform: translateY(-7px); box-shadow: 0 22px 48px rgba(0,0,0,.13); }
.cbp-card .cbp-h { font-size: 21px; }
.cbp-card .cbp-fig { margin: 0 0 14px; }
.cbp-card .cbp-fig img { border-radius: 12px; box-shadow: none; }
.cbp-card img[src*="/redesign/icons/"], .cbp-card img[src*="menu-icons"] { width: 58px; height: 58px; }
/* equal-height cards (grid stretches them) + button pinned to the bottom, so every
   card's button lines up on the same level regardless of text length */
.cbp-card { display: flex; flex-direction: column; }
.cbp-card .cbp-btnrow { margin-top: auto; margin-bottom: 0; }
@media (max-width: 1024px) { .cbp-deck-3, .cbp-deck-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cbp-deck { grid-template-columns: 1fr !important; } }

/* ---------- ICON TILES ---------- */
.cbp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 30px; }
.cbp-tile { background: #fff; border-radius: 16px; padding: 26px 22px; box-shadow: 0 8px 24px rgba(17,19,42,.06); }
.cbp-sec:nth-of-type(even) .cbp-tile { border: 1px solid #d7d3d3; }
.cbp-tile img[src*="/redesign/icons/"], .cbp-tile img[src*="menu-icons"] { width: 64px; height: 64px; margin-bottom: 10px; }
.cbp-tile .cbp-h { font-size: 18.5px; }
.cbp-tile .cbp-text { font-size: 14.5px; color: #605d5d; }

/* ---------- ZIGZAG SPLIT ---------- */
.cbp-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.cbp-split-rev { direction: rtl; }
.cbp-split-rev > * { direction: ltr; }
.cbp-split-media .elementor-widget-container, .cbp-split-media figure { margin: 0; }
.cbp-split-media img { width: 100%; border-radius: 16px; box-shadow: 0 22px 54px rgba(17,19,42,.16); }
@media (max-width: 900px) { .cbp-split { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- PROSE ---------- */
.cbp-prose { max-width: 820px; margin: 0 auto; }
.cbp-prose ul, .cbp-prose ol { line-height: 1.7; padding-left: 1.2em; }
.cbp-prose img { border-radius: 12px; }

/* verbatim blocks keep their own markup but lose elementor spacing */
.cbp-verbatim { margin: 18px 0; }
.cbp-verbatim .elementor-widget { margin: 0 !important; }

/* accordions / toggles inside verbatim */
.cbp .elementor-accordion, .cbp .e-n-accordion { border-radius: 12px; overflow: hidden; }

/* ---------- CTA ---------- */
.cbp-cta { max-width: min(1856px, calc(100% - 64px)); margin: 30px auto; background: #5865f1; color: #fff; border-radius: 28px; text-align: center; padding: 74px 32px; }
.cbp-cta h2 { color: #fff; font-size: clamp(28px, 3.6vw, 46px); }
.cbp-cta .cbp-eyebrow { color: rgba(255,255,255,.85); }
.cbp-cta .cbh-btn-red { margin-top: 20px; background: #5865f1; }
.cbp-cta .cbh-btn-red:hover { background: #4750e5; }

/* ============================================================
   Audito pataisos (2026-07-24): bendri komponentai
   ============================================================ */

/* Jet listing (miestu/saliu korteles) — grid vietoj vienos kolonos */
.cbp .jet-listing-grid__items { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1024px) { .cbp .jet-listing-grid__items { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cbp .jet-listing-grid__items { grid-template-columns: 1fr; } }
.cbp-sec .cbp-prose:has(.jet-listing-grid__items) { max-width: 1140px; }
.cbp .card-listing-item { border-radius: 16px; overflow: hidden; box-shadow: 0 8px 26px rgba(17,19,42,.06); background: #fff; }
.cbp .jet-listing-grid__item img { width: 100%; height: auto; }

/* sugriuves Elementor TOC (amzinas spinner) — slepiam */
.cbp .elementor-widget-table-of-contents, .cbp .elementor-toc__header, .cbp .elementor-toc__body { display: none !important; }

/* lenteles (pvz. pavojingu kroviniu klases) */
.cbp-text table { width: 100%; border-collapse: collapse; border-radius: 12px; overflow: hidden; margin: 18px 0; }
.cbp-text th, .cbp-text td { padding: 10px 14px; border: 1px solid #e8eaf3; text-align: left; }
.cbp-text thead th, .cbp-text tr:first-child td { background: #f5f6fb; font-family: Manrope, sans-serif; font-weight: 700; }

/* klientu citata (buvo baltas tekstas ant baltos korteles) */
.cbp-sec .customer-quote { background: #11132a; color: #fff; border-radius: 18px; padding: 42px 34px; }
.cbp-sec .customer-quote * { color: #fff; }

/* atsiliepimu korteles (es/it/pl/pt) */
#mx .customer-review { background: #fff; border: 0; border-radius: 16px; box-shadow: 0 10px 30px rgba(17,19,42,.08); padding: 24px; margin-bottom: 18px; }
#mx .customer-review__stars--5:empty::before { content: "★★★★★"; color: #f5b942; font-size: 20px; letter-spacing: 3px; }

/* istorijos timeline (about-us): brand spalvos, mazesni tarpai */
#cd-timeline::before, .cd-timeline-dot { background: #5865f1 !important; }
.cd-timeline-block { margin: 1.6em 0 !important; }

/* flip-box korteles (career, sales benefits): staticos navy korteles vietoj zaliu */
.cbp .elementor-flip-box { height: auto !important; min-height: 240px; margin-bottom: 20px; }
/* flip-box korteles i 3 stulpelius: grid ant prose, ne-korteles per visa ploti */
.cbp-prose:has(> .cbp-verbatim > .elementor-widget-flip-box) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
.cbp-prose:has(> .cbp-verbatim > .elementor-widget-flip-box) > * { grid-column: 1 / -1; min-width: 0; }
.cbp-prose > .cbp-verbatim:has(> .elementor-widget-flip-box) { grid-column: auto !important; margin: 18px 0 0; }
.cbp-verbatim .elementor-flip-box { margin-bottom: 0; height: 100% !important; }
.cbp-prose > .cbp-verbatim:has(> .elementor-widget-flip-box) ~ h2, .cbp-prose > .cbp-verbatim:has(> .elementor-widget-flip-box) ~ .cbp-h { margin-top: 32px; }
@media (max-width: 1024px) { .cbp-prose:has(> .cbp-verbatim > .elementor-widget-flip-box) { grid-template-columns: 1fr; } }
.cbp .elementor-flip-box__front { background: #11132a !important; border-radius: 16px; }
.cbp .elementor-flip-box__layer__overlay { background: transparent !important; border-radius: 16px; }
.cbp .elementor-flip-box__back { background: #4e45e4 !important; border-radius: 16px; }
.cbp .elementor-flip-box__layer__title, .cbp .elementor-flip-box__layer__description { color: #fff !important; }
.cbp .elementor-flip-box__layer__overlay { display: flex; align-items: center; justify-content: center; }
.cbp .elementor-flip-box__layer__inner { padding: 24px; }
.cbp .elementor-flip-box__image { height: auto; margin-bottom: 14px; }
.cbp .elementor-flip-box__image img { height: 72px; width: auto; margin-inline: auto; }

/* tuscia split media kolona — nerodyti tuscio ploto */
.cbp-split-media:empty { display: none; }
.cbp-split:has(.cbp-split-media:empty) { grid-template-columns: 1fr; }

/* kategoriju "chips" juosta (We are the number 1...) */
.cbp-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.cbp-chips .cbp-h, .cbp-chips p { font-size: 15.5px !important; font-weight: 700; background: #eef0fe; color: #2f309b !important; border-radius: 999px; padding: 10px 20px; margin: 0 !important; letter-spacing: 0; }

/* atsiliepimo autoriaus parasas splituose — ne H2 dydzio */
.cbp-split-txt .cbp-text ~ p.cbp-h { font-size: 18px; margin: 10px 0 0; letter-spacing: 0; }

/* virsutinis temos tarpas pries .cbp hero */
.site-main .inside-article, .site-main .entry-content { margin-top: 0; padding-top: 0; }

/* korteliu ikonu dydis (ne nuotraukos) */
.cbp-card .cbp-fig img:not([src*="1024x"]):not([src*="-scaled"]):not([width="833"]) { height: 56px; width: auto; }
.cbp-card .cbp-fig img[width="833"] { width: 100%; max-height: 420px; object-fit: cover; }
.cbp-card .cbp-text p { text-align: left !important; }

/* hero antrastes visada sviesios (press, reviews) */
.cbp-hero .elementor-heading-title { color: #fff !important; }
