﻿/* ==========================================================================
   PK Design System ā€” Global CSS Custom Properties and Shared Utilities
   Extracted from PK-v1-light-hero design export. Do not convert to Tailwind.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties
   -------------------------------------------------------------------------- */

:root {
  /* Blue palette */
  --pu-blue-950: #0E1A3A;
  --pu-blue-900: #16264D;
  --pu-blue-800: #1F3066;
  --pu-blue-700: #2B4287;
  --pu-blue-600: #3A56A8;
  --pu-blue-500: #5C7DCC;
  --pu-blue-400: #8AA4DE;
  --pu-blue-300: #B5C5EA;
  --pu-blue-200: #D5DEF3;
  --pu-blue-100: #E8EDF8;
  --pu-blue-50:  #F3F6FC;

  /* Sea palette */
  --pu-sea-800: #143E4A;
  --pu-sea-600: #2A6E7E;
  --pu-sea-500: #3A8B9C;
  --pu-sea-400: #6FB3C2;
  --pu-sea-200: #C7E2E7;
  --pu-sea-100: #E5F1F3;

  /* Sand palette */
  --pu-sand-700: #8F6F40;
  --pu-sand-600: #B6925E;
  --pu-sand-500: #D4B176;
  --pu-sand-400: #E2C28C;
  --pu-sand-300: #ECD4A8;
  --pu-sand-200: #F1E0BD;
  --pu-sand-100: #F8EED4;

  /* Neutrals */
  --pu-white:  #fff;
  --pu-off:    #F7F8FB;
  --pu-off-2:  #EEF1F6;
  --pu-paper:  #fff;
  --pu-ink:    #14182A;
  --pu-ink-2:  #424A65;
  --pu-ink-3:  #767E95;
  --pu-line:   #DEE3EE;
  --pu-line-2: #E8ECF3;

  /* Border radii */
  --r-xs:   6px;
  --r-sm:   10px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-pill: 999px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(20,30,80,.06), 0 1px 0 rgba(20,30,80,.02);
  --sh-2: 0 4px 16px rgba(20,30,80,.08), 0 1px 2px rgba(20,30,80,.04);
  --sh-3: 0 12px 32px rgba(20,30,80,.14), 0 2px 6px rgba(20,30,80,.06);

  /* Typography stacks */
  --f-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --f-body:    'Inter', system-ui, -apple-system, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --pk-container: 1240px;
  --pk-gutter:    32px;
}

/* --------------------------------------------------------------------------
   2. Container
   Tailwind v4 sets .container max-width with !important via @layer utilities.
   Unlayered !important beats layered !important per CSS Cascade Level 5.
   -------------------------------------------------------------------------- */

.container {
  max-width: var(--pk-container) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--pk-gutter) !important;
  padding-right: var(--pk-gutter) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* --------------------------------------------------------------------------
   2b. Body base
   -------------------------------------------------------------------------- */

body {
  background: var(--pu-off);
  font-family: var(--f-body);
  color: var(--pu-ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* WordPress post-content wrapper ā€” reset default margins/gaps */
.wp-block-post-content.is-layout-flow > *,
.entry-content.is-layout-flow > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* Footer template-part wrapper gets margin-block-start from :where(.wp-site-blocks) > * ā€” reset it */
.wp-block-template-part:has(> footer.site) {
  margin-block-start: 0 !important;
}

/* Ensure WordPress doesn't constrain full-width PK sections */
.wp-block-post-content > .hero,
.wp-block-post-content > .quick-cats,
.wp-block-post-content > section.band,
.entry-content > .hero,
.entry-content > .quick-cats,
.entry-content > section.band {
  max-width: none !important;
  width: 100% !important;
}

/* --------------------------------------------------------------------------
   3. Typography Utilities
   -------------------------------------------------------------------------- */

.kicker {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pu-blue-700);
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   4. Button System
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font: 500 15px/1 var(--f-body);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: 0.18s;
  white-space: nowrap;
  letter-spacing: 0.005em;
  text-decoration: none;
}

.btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  background: var(--pu-blue-800);
  color: #fff;
}

.btn-primary:hover {
  background: var(--pu-blue-700);
  transform: translateY(-1px);
  box-shadow: var(--sh-2);
}

.btn-secondary {
  background: #fff;
  color: var(--pu-blue-900);
  border-color: var(--pu-line);
}

.btn-secondary:hover {
  background: var(--pu-blue-50);
  border-color: var(--pu-blue-200);
}

.btn-ghost {
  background: transparent;
  color: var(--pu-blue-800);
  border-color: var(--pu-blue-800);
}

.btn-ghost:hover {
  background: var(--pu-blue-800);
  color: #fff;
}

.btn-soft {
  background: var(--pu-blue-50);
  color: var(--pu-blue-800);
  border-color: var(--pu-blue-100);
}

.btn-soft:hover {
  background: var(--pu-blue-100);
}

.btn-sea {
  background: var(--pu-sea-600);
  color: #fff;
}

.btn-sea:hover {
  background: var(--pu-sea-500);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 13.5px;
}

.btn-lg {
  padding: 18px 30px;
  font-size: 16.5px;
}

/* --------------------------------------------------------------------------
   5. Section Band ā€” shared base for content sections
   -------------------------------------------------------------------------- */

section.band {
  padding: 100px 0;
  position: relative;
}

section.band.tint  { background: var(--pu-off-2); }
section.band.light { background: #fff; }

section.band.deep {
  background: var(--pu-blue-900);
  color: #fff;
}

section.band.deep .section-head h2  { color: #fff; }
section.band.deep .section-head p   { color: var(--pu-blue-200); }
section.band.deep .kicker           { color: var(--pu-sand-400); }

/* --------------------------------------------------------------------------
   6. Section Head ā€” shared header for content sections
   -------------------------------------------------------------------------- */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.section-head .left  { max-width: 640px; }

.section-head h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--pu-blue-900);
  margin: 14px 0 12px;
}

.section-head h2 em { font-style: normal; color: inherit; font-weight: 600; }

.section-head p {
  color: var(--pu-ink-2);
  font-size: 16.5px;
  margin: 0;
  max-width: 55ch;
}

.section-head .right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.section-head .right .arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--pu-line);
  background: #fff;
  color: var(--pu-blue-800);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.15s;
}

.section-head .right .arrow-btn:hover {
  background: var(--pu-blue-800);
  color: #fff;
  border-color: var(--pu-blue-800);
}

.section-head .right .arrow-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   7. Accessibility utility
   -------------------------------------------------------------------------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --------------------------------------------------------------------------
   8. Top Strip
   -------------------------------------------------------------------------- */

/* Base styles for popup-enabled meta items */
.meta-popup {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  font: inherit;
  font-size: inherit;
  text-decoration: none;
  padding: 0;
}

.meta-address-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  font-size: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
.meta-address-link:hover { color: var(--pu-blue-800); }
.meta-address-link svg {
  width: 16px;
  height: 16px;
  stroke: var(--pu-blue-800);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.top-strip {
  background: var(--pu-off-2);
  color: var(--pu-ink-2);
  font-size: 12.5px;
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--pu-line);
}

.top-strip .inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  padding-top: 9px !important;
  padding-bottom: 9px !important;
  padding-left: var(--pk-gutter) !important;
  padding-right: var(--pk-gutter) !important;
  flex-wrap: wrap;
}

.top-strip .meta {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: center;
  margin-left: auto;
}

.top-strip .meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.top-strip .meta .meta-text {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.top-strip .meta svg {
  width: 16px;
  height: 16px;
  stroke: var(--pu-blue-800);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}


.top-strip .right {
  display: flex;
  gap: 18px;
  align-items: center;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.top-strip .right a {
  color: var(--pu-ink-2);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.top-strip .right a:hover { color: var(--pu-blue-800); }

.top-strip .right .lang {
  color: var(--pu-blue-800);
  font-weight: 600;
}

.top-strip .pipe { opacity: 0.4; }

/* "Avarinė 24/7" button, first item of the top strip (pk-header).
   19px tall, the height of the meta row, so the strip keeps its height. */
.top-emergency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 12px 2px 10px;
  border-radius: 999px;
  background: var(--pu-blue-900);
  color: #fff;
  font: 600 11px/15px var(--f-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.top-emergency:hover,
.top-emergency:focus-visible {
  background: var(--pu-sand-500);
  color: var(--pu-blue-950);
  outline: none;
}

.top-emergency .pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pu-sand-400);
  flex-shrink: 0;
}

.top-emergency .pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--pu-sand-400);
  animation: pkEmergencyPulse 1.8s ease-out infinite;
}

.top-emergency:hover .pulse,
.top-emergency:focus-visible .pulse { background: var(--pu-blue-900); }

.top-emergency:hover .pulse::after,
.top-emergency:focus-visible .pulse::after { border-color: var(--pu-blue-900); }

@keyframes pkEmergencyPulse {
  0%   { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .top-emergency .pulse::after { animation: none; opacity: 0; }
}

/* --------------------------------------------------------------------------
   9. Site Header
   -------------------------------------------------------------------------- */

/* "Unwrap" the WordPress template-part so .top-strip and .site-header participate
   in the page flow directly ā€” this lets position:sticky on .site-header work
   exactly as in the design (top strip scrolls away, nav stays). */
header.wp-block-template-part {
  display: contents;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 var(--pu-line);
}

.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

.site-header .nav-upper {
  background: #fff;
  color: var(--pu-ink);
  border-bottom: 1px solid var(--pu-line);
  position: relative;
}

.site-header .nav-upper .inner,
.top-strip .inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.site-header .nav-upper .inner {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
  position: relative;
}

.top-strip .inner {
  gap: 24px;
  padding-top: 9px !important;
  padding-bottom: 9px !important;
}

/* 1025–1199px still shows the meta texts: tighter gaps keep the "Avarinė 24/7"
   button and the four items on one line. At 1024px and below the meta turns
   into icons and the later media blocks set their own gaps. */
@media (max-width: 1199px) {
  .top-strip .inner { gap: 16px; }
  .top-strip .meta { gap: 18px; }
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand img {
  height: 64px;
  width: auto;
  display: block;
}

.brand-text {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--pu-blue-900);
  letter-spacing: -0.01em;
  line-height: 1;
}

/* The nav fills the full header height: the negative margins cancel the 16px
   padding of .nav-upper .inner. Dropdown items stretch over it, so the dropdown
   opens anywhere above or below an item's text, and the pointer moves straight
   from the item into it. */
.primary-nav {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 2px;
  margin: -16px auto;
}

.primary-nav a.parent {
  position: relative;
  align-self: stretch;
  padding: 0 18px;
  color: var(--pu-blue-900);
  font: 500 15px var(--f-body);
  display: inline-flex;
  gap: 7px;
  align-items: center;
  transition: color 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a.parent:hover { color: var(--pu-blue-700); }

.primary-nav a.parent .chev {
  width: 7px;
  height: 7px;
  border-right: 1.6px solid;
  border-bottom: 1.6px solid;
  transform: rotate(45deg);
  margin-top: -3px;
  opacity: 0.7;
  transition: transform 0.2s;
}

.primary-nav a.parent.active { color: var(--pu-blue-800); }

.primary-nav a.parent.active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  background: var(--pu-blue-800);
}

.search-wrap {
  flex: 0 0 120px;
  position: relative;
  align-self: stretch;
}

.site-search {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 120px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--pu-off);
  border: 1px solid var(--pu-line);
  border-radius: var(--r-pill);
  padding: 9px 16px;
  outline: none;
  transition: width 0.25s ease, background 0.2s 0.05s, border-color 0.15s, box-shadow 0.25s;
  z-index: 1;
}

.site-search:hover {
  background: #fff;
  border-color: var(--pu-blue-400);
}

.site-search:focus-within {
  background: #fff;
  border-color: var(--pu-blue-400);
  width: 380px;
  z-index: 20;
  box-shadow: 0 4px 20px rgba(20, 30, 80, .12);
}

.site-search svg {
  width: 16px;
  height: 16px;
  stroke: var(--pu-blue-700);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.site-search input {
  flex: 1 1 0;
  min-width: 0; /* shrink to the pill; the default min-width (~20ch) pushed long queries past its edge */
  text-overflow: ellipsis;
  background: none;
  border: 0;
  outline: 0;
  color: var(--pu-ink);
  font: 14px var(--f-body);
  -webkit-appearance: none;
  appearance: none;
}

.site-search input[type="search"]::-webkit-search-cancel-button,
.site-search input[type="search"]::-webkit-search-decoration,
.site-search input[type="search"]::-webkit-search-results-button,
.site-search input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  display: none;
}

.site-search input::placeholder { color: var(--pu-ink-3); }

.site-search kbd {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--pu-ink-3);
  border: 1px solid var(--pu-line);
  border-radius: 4px;
  padding: 2px 6px;
  text-transform: uppercase;
  background: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  display: none;
}

.site-search:focus-within kbd {
  display: block;
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 30;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pu-off);
  transition: background 0.15s;
  color: var(--pu-blue-800);
  position: relative;
  border: 1px solid var(--pu-line);
  cursor: pointer;
}

.icon-btn:hover {
  background: var(--pu-blue-50);
  border-color: var(--pu-blue-200);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn .dot {
  position: absolute;
  top: 9px;
  right: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pu-blue-800);
  border: 2px solid #fff;
}

.portal-cta {
  background: var(--pu-blue-800);
  color: #fff;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  font: 600 13.5px var(--f-body);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.portal-cta:hover { background: var(--pu-blue-700); }

.portal-cta svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   10. Mega Menu
   -------------------------------------------------------------------------- */

.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  box-shadow: var(--sh-3);
  border-top: 2px solid var(--pu-sand-500);
  display: block;
  z-index: 60;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
}

.mega.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.mega .mega-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 36px var(--pk-gutter);
}

.mega .promo {
  background: var(--pu-blue-900);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}

.mega .promo h5 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 8px;
  color: #fff;
}

.mega .promo p {
  font-size: 13.5px;
  color: var(--pu-blue-200);
  margin: 0 0 14px;
  line-height: 1.45;
}

.mega .promo { cursor: pointer; }
.mega .promo .btn { align-self: flex-start; }
.mega .promo .btn::after { content: ""; position: absolute; inset: 0; }

.mega .col h6 {
  font: 500 11px/1 var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pu-sea-600);
  margin: 0 0 16px;
}

.mega .col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega .col li { margin-bottom: 10px; position: relative; }

.mega .col li a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--pu-blue-900);
  font-size: 14.5px;
  transition: color 0.15s;
  text-decoration: none;
}

.mega .col li a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pu-blue-500);
  flex-shrink: 0;
  transition: transform 0.15s;
}

.mega .col li a::after {
  content: "";
  position: absolute;
  inset: -4px 0;
}

.mega .col li a:hover { color: var(--pu-sea-600); }
.mega .col li a:hover::before { transform: scale(1.6); }

.mega .col li small {
  display: block;
  margin-left: 13px;
  color: var(--pu-ink-3);
  font-size: 12px;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   10b. Mega close button (visible on mobile only)
   -------------------------------------------------------------------------- */

.mega-close {
  display: none;
}

@media (max-width: 760px) {
  .mega-close {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    margin: 16px var(--pk-gutter) 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--pu-off-2);
    border: 1.5px solid var(--pu-line);
    color: var(--pu-ink-2);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s;
  }
  .mega-close:hover { background: var(--pu-line); border-color: var(--pu-ink-3); }
  .mega-close svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

/* --------------------------------------------------------------------------
   10c. Meta tooltip (position:fixed, appended to body via JS)
   -------------------------------------------------------------------------- */

.meta-tooltip {
  position: fixed;
  background: var(--pu-blue-900);
  color: #fff;
  font: 500 13.5px/1.3 var(--f-body);
  letter-spacing: 0;
  text-transform: none;
  padding: 11px 12px 11px 14px;
  border-radius: var(--r-md);
  white-space: nowrap;
  z-index: 9999;
  pointer-events: auto;
  box-shadow: var(--sh-3);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.meta-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.meta-tooltip::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: var(--arrow-x, 50%);
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-bottom-color: var(--pu-blue-900);
  margin-bottom: -1px;
}

.meta-tooltip svg {
  width: 15px;
  height: 15px;
  stroke: rgba(255,255,255,.75);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.meta-tooltip-close {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  margin-left: 2px;
  transition: background 0.15s;
}
.meta-tooltip-close:hover { background: rgba(255,255,255,.3); }

/* --------------------------------------------------------------------------
   11. Mobile header toggle
   -------------------------------------------------------------------------- */

.nav-mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  border: 1px solid var(--pu-line);
  background: var(--pu-off);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--pu-blue-800);
  flex-shrink: 0;
}

.nav-mobile-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #fff;
  overflow-y: auto;
  padding: 20px var(--pk-gutter) 40px;
}

.nav-mobile-drawer.open { display: block; }

.nav-mobile-drawer .drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--pu-line);
  margin-bottom: 24px;
}

.nav-mobile-drawer .drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--pu-line);
  background: var(--pu-off);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  color: var(--pu-ink-3);
}

.nav-mobile-drawer nav a {
  display: block;
  padding: 14px 0;
  font: 500 18px var(--f-body);
  color: var(--pu-blue-900);
  border-bottom: 1px solid var(--pu-line-2);
  text-decoration: none;
}

.nav-mobile-drawer nav a:hover { color: var(--pu-blue-700); }

.nav-mobile-drawer .drawer-portal {
  margin-top: 28px;
}

/* --------------------------------------------------------------------------
   12. Quick Categories
   -------------------------------------------------------------------------- */

.quick-cats {
  padding: 36px 0 0;
  background: var(--pu-off-2);
  margin-top: -32px;
  position: relative;
  z-index: 2;
}

.pk-qc-wrap {
  max-width: var(--pk-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pk-gutter);
}

/* Vizualinis wrapper ā€” gradientai Ä¨ia, scrollLeft niekada nesikeiÄ¨ia */
.quick-cats .panel-outer {
  background: #fff;
  border: 1px solid var(--pu-line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
}

.quick-cats .panel-outer::before,
.quick-cats .panel-outer::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.quick-cats .panel-outer::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
}

.quick-cats .panel-outer::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 100%);
}

/* Scroll container ā€” tik overflow ir padding, be vizualiniÅ³ stiliÅ³ */
.quick-cats .panel {
  padding: 14px 0;
  overflow: hidden;
  touch-action: pan-y;
}

@media (max-width: 760px) {
  .pk-qc-wrap { padding-left: var(--pk-gutter); }
  .quick-cats .panel-outer::before,
  .quick-cats .panel-outer::after { width: 48px; }
}

.quick-cats .track {
  display: flex;
  gap: 0;
  width: max-content;
  will-change: transform;
  user-select: none;
  cursor: grab;
}

.quick-cats .track.grabbing { cursor: grabbing; }

/* NeleidÅ¾ia browser'iui pradÄ—ti native drag ant link'Å³/paveikslÄ—liÅ³ */
.quick-cats .track a,
.quick-cats .track img {
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
}

/* Cursor: pointer ant link'Å³ (perdengia .track cursor: grab) */
.quick-cats .track a { cursor: pointer; }
.quick-cats .track.grabbing a { cursor: grabbing; }

/* Auto scroll valdomas per JS rAF ā€” CSS animacija nenaudojama */

.quick-cats a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border-radius: var(--r-lg);
  transition: background 0.15s, transform 0.15s;
  text-align: left;
  flex: 0 0 auto;
  width: 260px;
  margin-right: 8px;
  text-decoration: none;
}

.quick-cats a:hover {
  background: var(--pu-blue-50);
  transform: translateY(-1px);
}

.quick-cats a .ic {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--pu-blue-50);
  color: var(--pu-blue-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}

.quick-cats a:hover .ic {
  background: var(--pu-blue-800);
  color: #fff;
}

.quick-cats a svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-cats a .label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.quick-cats a .label b {
  font: 500 14.5px var(--f-body);
  color: var(--pu-blue-900);
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-cats a .label span {
  font: 400 11.5px var(--f-mono);
  color: var(--pu-ink-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quick-cats a .arr {
  margin-left: auto;
  color: var(--pu-ink-3);
  font-size: 18px;
  transition: transform 0.15s, color 0.15s;
  flex-shrink: 0;
}

.quick-cats a:hover .arr {
  color: var(--pu-blue-800);
  transform: translateX(3px);
}

@keyframes qc-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   13. About section
   -------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-grid .photo-stack {
  position: relative;
  aspect-ratio: 5 / 6;
}

.about-grid .photo-stack .ph {
  position: absolute;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-2);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}

.about-grid .photo-stack .ph.main {
  inset: 0 30% 24% 0;
  background: var(--pu-blue-800);
}

.about-grid .photo-stack .ph.bot {
  right: 0;
  bottom: 0;
  width: 62%;
  height: 42%;
  background: var(--pu-blue-700);
  border: 6px solid var(--pu-off-2);
}

.about-grid .photo-stack .ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-grid .quote-mark {
  position: absolute;
  top: -20px;
  left: -12px;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 600;
  font-size: 140px;
  color: var(--pu-blue-200);
  line-height: 0.8;
  opacity: 0.7;
  z-index: 0;
}

.about-grid .copy h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.05;
  color: var(--pu-blue-900);
  letter-spacing: -0.015em;
  margin: 14px 0 18px;
}

.about-grid .copy h2 em { font-style: normal; color: inherit; }

.about-grid .copy .kicker { color: var(--pu-blue-700); }

.about-grid .copy p {
  color: var(--pu-ink-2);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 14px;
  max-width: 52ch;
}

.about-grid .copy .actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.about-grid .signature {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.about-grid .signature .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pu-blue-800);
  flex-shrink: 0;
  font-family: var(--f-display);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.about-grid .signature .who b {
  display: block;
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--pu-blue-900);
  font-size: 15px;
}

.about-grid .signature .who span {
  font: 400 12px var(--f-mono);
  color: var(--pu-ink-3);
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   14. Why Us
   -------------------------------------------------------------------------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--pu-line);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}

.why::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--pu-blue-800);
}

.why:nth-child(2)::before { background: var(--pu-blue-700); }
.why:nth-child(3)::before { background: var(--pu-blue-600); }

.why .num {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 38px;
  color: var(--pu-blue-800);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 14px;
  display: block;
}

.why:nth-child(2) .num { color: var(--pu-blue-700); }
.why:nth-child(3) .num { color: var(--pu-blue-600); }

.why h4 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--pu-blue-900);
  margin: 0 0 8px;
  line-height: 1.25;
  letter-spacing: -0.005em;
}

.why h4 em { font-style: italic; color: inherit; }

.why p {
  font-size: 13.5px;
  color: var(--pu-ink-2);
  margin: 0;
  line-height: 1.5;
}

.why .meta {
  font: 500 11px var(--f-mono);
  color: var(--pu-blue-700);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   15. Partners
   -------------------------------------------------------------------------- */

.partners-group {
  margin-bottom: 28px;
}

.partners-group-label {
  font: 500 11px var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pu-blue-700);
  margin-bottom: 12px;
  padding-left: 4px;
}

.partners {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.partner {
  height: 90px;
  border: 1px solid var(--pu-line);
  border-radius: var(--r-md);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--pu-ink-3);
  font-size: 16px;
  letter-spacing: 0.02em;
  transition: 0.15s;
  position: relative;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  padding: 10px;
  text-decoration: none;
  cursor: pointer;
}

.partner:hover {
  color: var(--pu-blue-800);
  border-color: var(--pu-blue-200);
  background: var(--pu-blue-50);
}

.partner img {
  max-width: 100%;
  max-height: 68px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.7);
  transition: filter 0.15s;
}

.partner:hover img { filter: grayscale(0) opacity(1); }

.partner .partner-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--pu-ink-3);
}

.partner small {
  font-family: var(--f-mono);
  font-size: 9.5px;
  color: var(--pu-ink-3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  display: block;
}

/* --------------------------------------------------------------------------
   16. Contact Strip
   -------------------------------------------------------------------------- */

.contact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--pu-line);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.contact-strip .cell {
  padding: 28px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-right: 1px solid var(--pu-line);
  transition: background 0.15s;
}

.contact-strip .cell:last-child { border-right: 0; }
.contact-strip .cell:hover { background: var(--pu-blue-50); }

.contact-strip .cell .ic {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--pu-blue-50);
  color: var(--pu-blue-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-strip .cell .ic svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-strip .cell .text { flex: 1 1 0; }

.contact-strip .cell .text .lbl {
  font: 500 11px var(--f-mono);
  color: var(--pu-blue-700);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact-strip .cell .text .val {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 17px;
  color: var(--pu-blue-900);
  line-height: 1.2;
  letter-spacing: 0;
}

.contact-strip .cell .text .sub {
  font-size: 12.5px;
  color: var(--pu-ink-3);
  margin-top: 3px;
  font-family: var(--f-mono);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   17. CTA Band (Portal CTA)
   -------------------------------------------------------------------------- */

.cta-band {
  background: var(--pu-blue-50);
  border: 1px solid var(--pu-blue-100);
  border-radius: var(--r-xl);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-band .copy { position: relative; max-width: 520px; }

.cta-band .copy .kicker { color: var(--pu-blue-700); }

.cta-band .copy h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.1;
  color: var(--pu-blue-900);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.cta-band .copy h3 em { font-style: normal; color: inherit; }

.cta-band .copy p {
  margin: 0;
  color: var(--pu-ink-2);
  font-size: 15px;
}

.cta-band .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */

footer.site {
  background: var(--pu-blue-950);
  color: #fff;
  position: relative;
  overflow: hidden;
  font-family: var(--f-body);
}

footer.site .top {
  padding: 64px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  position: relative;
}

footer.site .brand-col .footer-logo {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 6px;
}

footer.site .brand-col .footer-brand-text {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 26px;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  display: block;
}

footer.site .brand-col p {
  color: var(--pu-blue-200);
  font-size: 13.5px;
  max-width: 34ch;
  margin: 0 0 22px;
  line-height: 1.5;
}

footer.site .brand-col .shield-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 11px var(--f-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--pu-blue-300);
  margin-bottom: 14px;
}

footer.site .brand-col .shield-tag::before {
  content: "◆";
  color: var(--pu-blue-400);
  font-size: 14px;
}

footer.site .col h5,
.footer-acc-hd {
  font: 500 11px var(--f-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--pu-blue-300);
  margin: 0 0 18px;
}

.footer-acc-hd {
  background: none;
  border: none;
  padding: 0;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
}

.footer-acc-chevron {
  display: none;
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.footer-acc-body { display: block; }

footer.site .col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer.site .col li { margin-bottom: 10px; }

footer.site .col a {
  color: rgba(255,255,255,.82);
  font-size: 14px;
  transition: color 0.15s;
  text-decoration: none;
}

footer.site .col a:hover { color: #fff; }

footer.site .col p {
  color: rgba(255,255,255,.82);
  font-size: 14px;
  margin: 0 0 6px;
  line-height: 1.5;
}

footer.site .col p strong {
  color: #fff;
  font-weight: 500;
}

footer.site .bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
  position: relative;
}

footer.site .bottom a {
  color: rgba(255,255,255,.7);
  transition: color 0.15s;
  text-decoration: none;
}

footer.site .bottom a:hover { color: #fff; }
footer.site .bottom .legal a { margin-left: 18px; }
footer.site .bottom .bottom-left { display: flex; align-items: center; gap: 20px; }

footer.site .socials {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

footer.site .socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  text-decoration: none;
  color: #fff;
}

footer.site .socials a:hover {
  background: #fff;
  color: var(--pu-blue-900);
}

footer.site .socials svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   19. Accessibility + body base
   -------------------------------------------------------------------------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Ensure PK blocks inherit the correct body font */
.pk-page {
  font-family: var(--f-body);
  color: var(--pu-ink);
  background: var(--pu-off);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   20. Responsive — 4-tier: laptop (≤1280px) → tablet (≤1024px) → mobile (≤760px)
   (782px is a WP admin-bar quirk kept in section 9)
   -------------------------------------------------------------------------- */

/* ── LAPTOP ─────────────────────────────────────────────────── max 1280px ── */
@media (max-width: 1280px) {
  /* Nav items slightly tighter */
  .primary-nav a.parent { padding: 0 14px; }

  /* Search a touch narrower */
  .search-wrap { flex: 0 0 100px; }
  /* section.band inherits 100px from base — same as desktop */

  .brand img { height: 55px; }
  .partner img { max-height: 60px; }
  .partner { padding: 15px; }
  .contact-strip { grid-template-columns: repeat(2, 1fr); }
  .contact-strip .cell:nth-child(2n) { border-right: 0; }
}

/* ── TABLET ─────────────────────────────────────────────────── max 1024px ── */
@media (max-width: 1024px) {
  /* Top strip: icon-only, no text labels */
  .top-strip .meta .meta-text { display: none; }
  .top-strip .meta { gap: 6px; }
  .top-strip .right { display: none; }
  .top-strip .inner { padding-top: 5px !important; padding-bottom: 5px !important; }
  .meta-popup {
    padding: 3px 6px;
    cursor: pointer;
    gap: 0;
    border-radius: var(--r-xs);
    transition: background 0.15s;
  }
  .meta-popup:hover,
  .meta-popup:focus-visible { background: var(--pu-off-2); outline: none; }
  .meta-address-link:hover { color: inherit; }

  /* Header: smaller logo, hide search + portal CTA */
  .brand img        { height: 48px; }
  .search-wrap      { display: none; }
  .site-search      { display: none; }
  .nav-actions      { display: none; }

  /* Sections: same padding as mobile */
  section.band { padding: 60px 0; }

  /* Layouts */
  .mega .mega-grid          { grid-template-columns: 1fr 1fr; gap: 24px; }
  .mega .promo              { min-height: auto; order: 99; }
  .about-grid               { grid-template-columns: 1fr; gap: 40px; }
  .about-grid .copy         { order: -1; }
  .about-grid .photo-stack  { order: 1; }
  .about-grid .copy .actions { display: grid; grid-template-columns: 1fr 1fr; }
  .about-grid .copy .actions .btn { justify-content: center; }
  .why-grid                 { grid-template-columns: repeat(2, 1fr); }
  .partners                 { grid-template-columns: repeat(3, 1fr); }
  .contact-strip            { grid-template-columns: repeat(2, 1fr); }
  .contact-strip .cell:nth-child(2n) { border-right: 0; }
  footer.site .top          { grid-template-columns: 1fr 1fr; gap: 40px; }
  footer.site .brand-col .footer-logo { height: 50px; }
  footer.site .bottom { justify-content: center; align-items: center; gap: 20px; }
  footer.site .top > *:nth-child(3) { order: 4; }
  footer.site .top > *:nth-child(4) { order: 3; }
  .pk-query-area .wp-block-post-template { grid-template-columns: repeat(2, 1fr) !important; }

  /* Partners: slightly smaller logos on tablet */
  .partner img              { max-height: 54px; }
  .partner                  { padding: 30px; }
}

@media (max-width: 760px) {
  :root { --pk-gutter: 18px; }

  /* Top strip */
  .top-strip { font-size: 11.5px; }
  .top-strip .inner { justify-content: center; gap: 10px; padding-top: 3px !important; padding-bottom: 3px !important; }
  .top-strip .right { display: none; }

  /* Header */
  .search-wrap         { display: none; }
  .site-search         { display: none; }
  .nav-actions         { display: none; }
  .nav-mobile-toggle   { display: none; }
  .nav-mobile-drawer   { display: none !important; }

  /* Logo ā€” smaller, centered, breathing room before nav */
  .brand {
    width: 100%;
    justify-content: center;
    padding-bottom: 2px;
  }
  .brand img { height: 36px; }

  /* Nav wraps to new row */
  .site-header .nav-upper .inner {
    flex-wrap: wrap;
    row-gap: 10px;
    padding-top: 12px !important;
    padding-bottom: 0 !important;
  }

  .primary-nav {
    width: 100%;
    margin: 0;
    gap: 0;
    border-top: 1px solid var(--pu-line-2);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .primary-nav::-webkit-scrollbar { display: none; }

  .primary-nav a.parent {
    flex: 1;
    justify-content: center;
    padding: 9px 8px;
    font-size: 13px;
  }

  /* Top strip ā€” icon-only popup buttons on mobile */
  /* The "Avarinė" button and the four icons share one line as long as they
     fit: the icon group starts at its content width (4 × 28px, no gaps) and
     grows to 20px gaps (172px) when there is room. With the label
     "Avarinė tarnyba 24/7" that holds down to 354px; narrower, the icons
     move to a second line (centred, see max-width: 353px). */
  .top-strip .meta {
    flex: 1 1 auto;
    max-width: calc(4 * 28px + 3 * 20px);
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0;
  }
  .top-strip .meta svg { width: 18px; height: 18px; }

  .top-strip .meta .meta-text { display: none; }

  .meta-popup {
    padding: 3px 5px;
    cursor: pointer;
    gap: 0;
    border-radius: var(--r-xs);
    transition: background 0.15s;
  }
  .meta-popup:hover,
  .meta-popup:focus-visible { background: var(--pu-off-2); outline: none; }
  .meta-address-link:hover { color: inherit; }

  /* Bands */
  section.band { padding: 60px 0; }

  /* Quick cats */
  .quick-cats          { padding-top: 20px; }
  .quick-cats a        { width: 220px; padding: 14px 12px; }

  /* Mega ā€” full-screen overlay, animated open/close */
  .mega {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 200;
    border-top: none;
    display: flex !important;
    flex-direction: column;
    /* Closed state */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.26s ease, transform 0.26s ease, visibility 0s linear 0.26s;
  }
  .mega.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.26s ease, transform 0.26s ease;
  }
  .mega .mega-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--pk-gutter) 32px;
    flex: 1;
  }

  /* Menu cols first, promo block last */
  .mega .col   { order: 1; padding: 12px 0; border-bottom: 1px solid var(--pu-line-2); }
  .mega .promo { order: 2; margin-top: auto; padding-top: 20px; min-height: auto; border-radius: var(--r-lg); }

  .mega .col:last-of-type { border-bottom: none; }

  .mega .col h6 { margin-bottom: 10px; }
  .mega .col li { margin-bottom: 7px; }

  /* Grids */
  .why-grid,
  .contact-strip,
  .partners            { grid-template-columns: 1fr; }

  .contact-strip .cell {
    border-right: 0;
    border-bottom: 1px solid var(--pu-line);
  }
  .contact-strip .cell:last-child { border-bottom: 0; }

  /* Partners */
  .partners            { grid-template-columns: repeat(2, 1fr); }
  /* The tablet 30px padding leaves 2-column cards only ~100px for a logo, so wide logos shrank to ~25px tall */
  .partner             { padding: 10px 12px; }
  .partner img         { max-height: 60px; }

  /* Contact strip */
  .contact-strip .cell .text .val { font-size: 15px; }

  /* CTA band */
  .cta-band { padding: 32px 24px; flex-direction: column; align-items: stretch; text-align: center; }
  .cta-band .copy { max-width: none; }
  .cta-band .actions { flex-direction: column; }
  .cta-band .actions .btn { width: 100%; justify-content: center; }

  /* Footer */
  footer.site .top { grid-template-columns: 1fr; gap: 0; padding: 40px 0 0; }

  /* Brand column — centered */
  footer.site .brand-col {
    padding-bottom: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  footer.site .brand-col .footer-logo { margin-left: auto; margin-right: auto; }
  footer.site .brand-col p { max-width: none; }
  footer.site .brand-col .socials { justify-content: center; }

  /* Footer accordion */
  .footer-acc-hd {
    cursor: pointer;
    margin-bottom: 0;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    position: relative;
    justify-content: center;
  }
  footer.site .col:last-child .footer-acc-hd { border-bottom: 1px solid rgba(255,255,255,.1); }
  footer.site .col:last-child .footer-acc-hd[aria-expanded="true"] { border-bottom: none; }
  .footer-acc-chevron {
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.28s ease;
  }
  .footer-acc-hd[aria-expanded="true"] .footer-acc-chevron { transform: translateY(-50%) rotate(180deg); }

  /* Accordion animation — grid-template-rows trick */
  .footer-acc-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
  }
  .footer-acc-inner { overflow: hidden; }
  .footer-acc-hd[aria-expanded="true"] + .footer-acc-body { grid-template-rows: 1fr; }
  .footer-acc-inner { padding-top: 0; padding-bottom: 0; transition: padding-top 0.3s ease, padding-bottom 0.3s ease; }
  .footer-acc-hd[aria-expanded="true"] + .footer-acc-body .footer-acc-inner { padding-top: 20px; padding-bottom: 20px; }

  /* Centered menu links and contact text */
  footer.site .col ul { display: flex; flex-direction: column; align-items: center; }
  footer.site .col .footer-acc-inner p { text-align: center; }

  /* Bottom bar */
  footer.site .bottom { flex-direction: column; align-items: center; text-align: center; gap: 22px; padding: 24px 0 28px; }
  footer.site .bottom .bottom-left { flex-direction: column; align-items: center; gap: 8px; }
  footer.site .bottom .legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  footer.site .bottom .legal a { margin-left: 0; }

  /* Section head */
  .section-head .right .arrow-btn { display: none; }

  /* Search results */
  .search-thumb { width: 72px; height: 54px; }
  .search-results__container article a { gap: 12px; }

  /* Post grid */
  .pk-query-area .wp-block-post-template { grid-template-columns: 1fr !important; }
  .pk-post-card .wp-block-post-featured-image { aspect-ratio: 2/1; }
  .pk-page-hero { text-align: left; }
  .pk-post-meta { gap: 12px; }
  .pk-404-section { text-align: center; }
}

/* Narrowest phones: with a long button label the icons wrap to a second line
   (see the top strip rules at max-width: 760px). Centre that line under the
   button instead of pushing it to the right edge. */
@media (max-width: 353px) {
  .top-strip .meta { margin-right: auto; }
}

/* ==========================================================================
   21. Post / Archive / Search / 404 Page Templates
   ========================================================================== */

/* ā”€ā”€ Section layout helpers ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ */

/* Outer vertical padding for hero sections */
.pk-hero-outer {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Single-post hero gets a little more room */
.pk-post-hero {
  padding-top: 64px;
  padding-bottom: 64px;
}

/* Outer vertical padding for content sections */
.pk-content-outer {
  padding-top: 60px;
  padding-bottom: 80px;
  background: var(--pu-off);
}

/* 404 outer gets extra breathing room */
.pk-404-outer {
  padding-top: 100px;
  padding-bottom: 120px;
}

/* ā”€ā”€ Page Hero (dark banner for all inner pages) ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ */

.pk-page-hero {
  color: #fff;
  margin-block-start: 0 !important;
}

/* Plain hero sections get the dark navy solid background */
.pk-page-hero:not(.pk-post-cover) {
  background: var(--pu-blue-900);
}

/* ā”€ā”€ Single-post cover hero (featured image + dark overlay) ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ */

.pk-post-cover {
  background-color: var(--pu-blue-950); /* shows when post has no featured image */
}

/* Allow inner-container to span full width so our .container class can align */
.pk-post-cover .wp-block-cover__inner-container {
  width: 100% !important;
  max-width: 100% !important;
  padding: 64px 0 !important;
}

/* The featured image itself: full cover */
.pk-post-cover .wp-block-cover__image-background {
  object-position: center 30%;
}

/* Inner content container inside the cover */
.pk-cover-inner {
  padding-bottom: 0;
}

.pk-page-hero .wp-block-post-title,
.pk-page-hero .wp-block-query-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 16px;
}

/* The search title repeats the query: break a long word instead of widening the page */
.pk-page-hero .wp-block-query-title { overflow-wrap: anywhere; }

.pk-page-hero h1.wp-block-heading {
  font-family: var(--f-display) !important;
  font-weight: 700 !important;
  font-size: clamp(26px, 4vw, 48px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
  margin: 0 0 12px;
}

/* Category badges in hero */
.pk-page-hero .wp-block-post-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.pk-page-hero .wp-block-post-terms a {
  font: 500 10.5px/1 var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pu-sand-400);
  text-decoration: none;
  background: rgba(255,255,255,.08);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.15);
  transition: background .15s;
}

.pk-page-hero .wp-block-post-terms a:hover {
  background: rgba(255,255,255,.16);
}

/* Post meta row (date + author) in hero */
.pk-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 10px;
}

.pk-post-meta .wp-block-post-date,
.pk-post-meta .wp-block-post-date time {
  color: var(--pu-blue-200);
  font: 400 13px var(--f-mono);
  letter-spacing: 0.04em;
}

.pk-post-meta .wp-block-post-author {
  color: var(--pu-blue-200);
  font-size: 13px;
}

.pk-post-meta .wp-block-post-author__name { color: var(--pu-blue-200); }

/* Archive term description */
.pk-page-hero .wp-block-term-description {
  color: var(--pu-blue-200);
  font-size: 16px;
  max-width: 60ch;
  line-height: 1.6;
  margin: 10px 0 0;
}

/* Blog / archive hero sub-heading */
.pk-hero-sub {
  color: var(--pu-blue-200);
  font-size: 16px;
  max-width: 60ch;
  line-height: 1.6;
  margin: 8px 0 0;
}

/* ā”€ā”€ Post Content Area ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ */

.pk-post-content-wrap,
.pk-page-content-wrap {
  background: var(--pu-off);
}

.pk-post-featured-image { margin-bottom: 40px; }

.pk-post-featured-image img {
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
  display: block;
}

/* Body prose typography for single posts */
.pk-post-content {
  font-size: 17px;
  line-height: 1.78;
  color: var(--pu-ink);
}

.pk-post-content > * + * { margin-top: 1.2em; }

.pk-post-content h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 28px);
  color: var(--pu-blue-900);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-top: 2em;
}

.pk-post-content h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(17px, 2vw, 22px);
  color: var(--pu-blue-900);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-top: 1.8em;
}

.pk-post-content h4 {
  font-weight: 600;
  font-size: 17px;
  color: var(--pu-blue-900);
  margin-top: 1.5em;
}

.pk-post-content p { margin: 0; }

.pk-post-content a {
  color: var(--pu-blue-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pk-post-content a:hover { color: var(--pu-blue-900); }

.pk-post-content blockquote {
  border-left: 3px solid var(--pu-blue-500);
  margin: 0;
  padding: 14px 24px;
  background: var(--pu-blue-50);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic;
  color: var(--pu-ink-2);
}

.pk-post-content ul,
.pk-post-content ol { padding-left: 1.6em; }

.pk-post-content li + li { margin-top: 0.4em; }

.pk-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-sm);
  display: block;
}

.pk-post-content figure { margin: 0; }

.pk-post-content figcaption {
  font: 400 13px var(--f-mono);
  color: var(--pu-ink-3);
  text-align: center;
  margin-top: 8px;
  letter-spacing: .02em;
}

.pk-post-content code {
  font-family: var(--f-mono);
  font-size: 14px;
  background: var(--pu-off-2);
  padding: 2px 6px;
  border-radius: var(--r-xs);
  color: var(--pu-blue-800);
}

.pk-post-content pre {
  background: var(--pu-blue-950);
  color: var(--pu-blue-100);
  padding: 20px 24px;
  border-radius: var(--r-md);
  overflow-x: auto;
  font-family: var(--f-mono);
  font-size: 14px;
  line-height: 1.6;
}

.pk-post-content pre code { background: none; color: inherit; padding: 0; }

.pk-post-content hr {
  border: none;
  border-top: 1px solid var(--pu-line);
  margin: 2em 0;
}

.pk-post-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.pk-post-content th,
.pk-post-content td {
  padding: 10px 14px;
  border: 1px solid var(--pu-line);
  text-align: left;
}

.pk-post-content th {
  background: var(--pu-off-2);
  font-weight: 600;
  color: var(--pu-blue-900);
}

/* Post content fills the full container width ā€” no artificial reading-width cap */

/* 404 inner: centre-align all children */
.pk-404-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Page content (generic pages) */
.pk-page-content-wrap .wp-block-post-content {
  font-size: 16px;
  line-height: 1.72;
  color: var(--pu-ink);
}

.pk-page-content-wrap .wp-block-post-content h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 28px);
  color: var(--pu-blue-900);
  letter-spacing: -0.01em;
  margin-top: 2em;
}

.pk-page-content-wrap .wp-block-post-content h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(17px, 2vw, 22px);
  color: var(--pu-blue-900);
  letter-spacing: -0.01em;
  margin-top: 1.8em;
}

.pk-page-content-wrap .wp-block-post-content a {
  color: var(--pu-blue-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ā”€ā”€ Query Area (archive / blog listing grid) ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ */

.pk-query-area { background: var(--pu-off); }

/* Override WordPress flex/grid so we control the column count */
.pk-query-area .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pk-query-area .wp-block-post-template > li {
  display: flex;
  flex-direction: column;
}

/* ā”€ā”€ Post Card ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ */

.pk-post-card {
  background: #fff;
  border: 1px solid var(--pu-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex !important;
  flex-direction: column !important;
  transition: box-shadow .18s, transform .18s;
  height: 100%;
}

.pk-post-card:hover {
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
}

.pk-post-card .wp-block-post-featured-image {
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: 16/9;
}

.pk-post-card .wp-block-post-featured-image a { display: block; height: 100%; }

.pk-post-card .wp-block-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.pk-post-card:hover .wp-block-post-featured-image img { transform: scale(1.04); }

/* Empty image placeholder */
.pk-post-card .wp-block-post-featured-image:not(:has(img)) {
  background: var(--pu-blue-100);
}

.pk-card-body {
  padding: 22px 24px 28px;
  flex: 1;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px;
}

/* Category badge */
.pk-card-cat .wp-block-post-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.pk-card-cat .wp-block-post-terms a {
  font: 500 10.5px/1 var(--f-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pu-blue-700);
  text-decoration: none;
  background: var(--pu-blue-50);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  transition: background .15s;
}

.pk-card-cat .wp-block-post-terms a:hover { background: var(--pu-blue-100); }

/* Card title */
.pk-card-title .wp-block-post-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin: 0;
}

.pk-card-title .wp-block-post-title a {
  color: var(--pu-blue-900);
  text-decoration: none;
  transition: color .15s;
}

.pk-card-title .wp-block-post-title a:hover { color: var(--pu-blue-700); }

/* Card date */
.pk-card-date .wp-block-post-date,
.pk-card-date .wp-block-post-date time {
  font: 400 12px var(--f-mono);
  color: var(--pu-ink-3);
  letter-spacing: .03em;
}

/* Card excerpt */
.pk-card-excerpt .wp-block-post-excerpt__excerpt {
  font-size: 14px;
  color: var(--pu-ink-2);
  line-height: 1.58;
  margin: 4px 0 0;
}

.pk-card-excerpt .wp-block-post-excerpt__more-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font: 500 13px var(--f-body);
  color: var(--pu-blue-700);
  text-decoration: none;
  margin-top: 12px;
}

.pk-card-excerpt .wp-block-post-excerpt__more-link:hover { color: var(--pu-blue-900); }

/* ā”€ā”€ Pagination ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ */

.wp-block-query-pagination {
  margin-top: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.wp-block-query-pagination a,
.wp-block-query-pagination .page-numbers,
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  border: 1.5px solid var(--pu-line);
  border-radius: var(--r-pill);
  font: 500 14px var(--f-body);
  color: var(--pu-blue-900);
  text-decoration: none;
  background: #fff;
  transition: .15s;
}

.wp-block-query-pagination a:hover,
.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover {
  background: var(--pu-blue-50);
  border-color: var(--pu-blue-300);
  color: var(--pu-blue-800);
}

.wp-block-query-pagination .page-numbers.current {
  background: var(--pu-blue-800);
  border-color: var(--pu-blue-800);
  color: #fff;
}

.wp-block-query-no-results {
  padding: 48px 0;
  text-align: center;
  color: var(--pu-ink-2);
  font-size: 16px;
}

/* ā”€ā”€ Search Results (ACF block) ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ */

.search-results { width: 100%; }

.search-results__container article {
  border-bottom: 1px solid var(--pu-line);
}

.search-results__container article:last-child { border-bottom: 0; }

.search-results__container article a {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  text-decoration: none;
}

.search-results__container article a:hover h3 { color: var(--pu-blue-700); }

/* Thumbnail */
.search-thumb {
  flex-shrink: 0;
  width: 96px;
  height: 72px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--pu-blue-100);
}

.search-thumb__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.search-results__container article a:hover .search-thumb__img { transform: scale(1.05); }

/* Info text */
.search-results__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.search-result-date,
.search-results__info .font-semibold,
.search-results__container .text-lg {
  font: 400 12px var(--f-mono) !important;
  color: var(--pu-ink-3) !important;
  letter-spacing: .04em;
  display: block;
}

.search-results__container h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--pu-blue-900);
  margin: 0;
  transition: color .15s;
  letter-spacing: -0.005em;
  line-height: 1.3;
}

.search-result-excerpt {
  font-size: 13.5px;
  color: var(--pu-ink-2);
  line-height: 1.5;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.search-results__container > p {
  color: var(--pu-ink-2);
  font-size: 15px;
  padding: 40px 0;
}


/* Posts pagination inside searchresults ACF block */
.search-results .pagination,
.search-results nav.wp-pagenavi {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.search-results .page-numbers,
.search-results nav.wp-pagenavi a,
.search-results nav.wp-pagenavi span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  border: 1.5px solid var(--pu-line);
  border-radius: var(--r-pill);
  font: 500 14px var(--f-body);
  color: var(--pu-blue-900);
  text-decoration: none;
  background: #fff;
  transition: .15s;
}

.search-results .page-numbers.current,
.search-results nav.wp-pagenavi span.current {
  background: var(--pu-blue-800);
  border-color: var(--pu-blue-800);
  color: #fff;
}

/* ā”€ā”€ 404 Page ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ */

.pk-404-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--pu-off);
}

.pk-404-code {
  font-family: var(--f-display) !important;
  font-weight: 700 !important;
  font-size: clamp(80px, 18vw, 176px) !important;
  color: var(--pu-blue-100) !important;
  line-height: 1 !important;
  letter-spacing: -0.04em !important;
  margin: 0 0 4px !important;
}

.pk-404-section .wp-block-heading {
  font-family: var(--f-display) !important;
  font-weight: 700 !important;
  font-size: clamp(24px, 4vw, 38px) !important;
  color: var(--pu-blue-900) !important;
  letter-spacing: -0.015em !important;
  line-height: 1.15 !important;
  margin: 0 0 14px;
}

.pk-404-section > div > .wp-block-paragraph:not(.pk-404-code),
.pk-404-section p:not(.pk-404-code) {
  color: var(--pu-ink-2) !important;
  font-size: 16px !important;
  max-width: 46ch;
  line-height: 1.65 !important;
  margin: 0 0 32px !important;
}

/* ā”€ā”€ WP Core Button ā€” override theme.json red ā†’ PK blue ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ */

.wp-block-button .wp-block-button__link,
.wp-element-button {
  background-color: var(--pu-blue-800) !important;
  color: #fff !important;
  border-radius: var(--r-pill) !important;
  font-family: var(--f-body) !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  padding: 14px 28px !important;
  transition: background .18s, transform .18s, box-shadow .18s !important;
  border: none !important;
  text-decoration: none !important;
}

.wp-block-button .wp-block-button__link:hover,
.wp-element-button:hover {
  background-color: var(--pu-blue-700) !important;
  transform: translateY(-1px);
  box-shadow: var(--sh-2) !important;
  color: #fff !important;
}

/* ā”€ā”€ Focus states (accessibility) ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ */

.wp-block-post-title a:focus-visible,
.pk-post-card a:focus-visible,
.wp-block-query-pagination a:focus-visible {
  outline: 2px solid var(--pu-blue-600);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ā”€ā”€ Responsive overrides ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ */

