/* Cormorant Garamond — self-hosted, latin-ext first so it wins for Lithuanian chars */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../../fonts/cormorant-garamond/cg-latin-ext-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../../fonts/cormorant-garamond/cg-latin-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500 700;
  font-display: swap;
  src: url('../../fonts/cormorant-garamond/cg-latin-ext-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500 700;
  font-display: swap;
  src: url('../../fonts/cormorant-garamond/cg-latin-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
    display: flex;
    flex-direction: column; /* used to affix footer to bottom of page */
    min-height: 100vh;
}


html {
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
  scroll-behavior: smooth;
}


/* Removes default webkit form styling */
input:not([type="radio"]):not([type="checkbox"]),
button,
textarea {
    -webkit-appearance: none;
}

input:focus,
textarea:focus,
select:focus {
    outline: none; /* Removes blue border on focus */
    border: 1px solid var(--wp--preset--color--accent-4); /* TODO: Please add a branded border for focus */
}

/* Removes inconsistent padding from Firefox buttons */
button::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border: none;
    padding:0;
}

@-ms-viewport { width: device-width; }

.wp-block-button .wp-block-button__link {
    font-weight: 600;
    transition: background-color .25s ease-in-out;
}

.wp-block-button .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--base);
}


/*
*   SCROLL DESIGN
*/

*:before, *:after {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.wp-block-button .wp-block-button__link {
    background-color: var(--wp--preset--color--accent-1);
    border-radius: 0px;
    color: var(--wp--preset--color--accent-2);
}
* {
    scrollbar-width: thin;
    scrollbar-color: var(--pu-blue-400) var(--pu-off-2);
}
*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
*::-webkit-scrollbar-track {
    background-color: var(--pu-off-2);
}
*::-webkit-scrollbar-thumb {
    background-color: var(--pu-blue-400);
    border-radius: var(--r-pill);
    border: 2px solid var(--pu-off-2);
}
*::-webkit-scrollbar-thumb:hover {
    background-color: var(--pu-blue-600);
}

.social-icons.wp-block-social-links {
    .wp-social-link svg {
       height: 24px !important;
       width: 24px !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


.swiper-button-prev,
.swiper-button-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--wp--preset--color--accent-2);
    color: var(--wp--preset--color--accent-1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .25s ease-in-out, color .25s ease-in-out;
    &:hover {
        background-color: var(--wp--preset--color--accent-1);
        color: var(--wp--preset--color--accent-2);
    }
}

.swiper-button-prev:after {
    transform: translateX(-2px);
}

.swiper-button-next:after {
    transform: translateX(2px);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.5rem;
}

:root :where(.is-layout-flow) > div,
:root :where(.entry-content) {
    margin-block-start: 0;
}

/* ── Page content (page.html → .pk-post-content) ── */
.pk-page-content-wrap { padding: 72px 0 110px; }

/* Headings — force display font, WP adds its own family via block styles */
.pk-post-content .wp-block-heading,
.pk-post-content h1,
.pk-post-content h2,
.pk-post-content h3,
.pk-post-content h4 {
  font-family: var(--f-display) !important;
  color: var(--pu-blue-900);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-top: 0;
  font-variant: normal;
}

.pk-post-content h1,
.pk-post-content .wp-block-heading:where(h1) {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 32px;
}

.pk-post-content h2,
.pk-post-content .wp-block-heading:where(h2) {
  font-size: clamp(26px, 2.8vw, 36px) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  margin: 0 !important;
  padding: 32px 0 14px !important;
  border: none !important;
}

/* Border line with symmetric spacing via ::before */
.pk-post-content h2::before,
.pk-post-content .wp-block-heading:where(h2)::before {
  content: '';
  display: block;
  border-top: 1.5px solid var(--pu-line);
  margin-bottom: 24px;
}

/* First h2 — no border line */
.pk-post-content > .wp-block-heading:first-child,
.pk-post-content > *:first-child > .wp-block-heading {
  padding: 0 0 14px !important;
}
.pk-post-content > .wp-block-heading:first-child::before,
.pk-post-content > *:first-child > .wp-block-heading::before {
  display: none !important;
}

/* H2 immediately after the #slapuku-politika anchor div — hr separator already provides the visual break */
.pk-post-content #slapuku-politika + .wp-block-heading,
.pk-post-content #slapuku-politika + h2 {
  padding-top: 40px !important;
}
.pk-post-content #slapuku-politika + .wp-block-heading::before,
.pk-post-content #slapuku-politika + h2::before {
  display: none !important;
}

.pk-post-content h3,
.pk-post-content .wp-block-heading:where(h3) {
  font-size: clamp(20px, 2.2vw, 26px) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  padding: 32px 0 16px !important;
}

.pk-post-content h4,
.pk-post-content .wp-block-heading:where(h4) {
  font-size: 19px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  padding: 20px 0 12px !important;
}

/* Body text */
.pk-post-content p {
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--pu-ink-2);
  margin: 0 0 20px;
}

.pk-post-content ul,
.pk-post-content ol { padding-left: 22px; margin: 0 0 22px; }
.pk-post-content ul,
.pk-post-content .wp-block-list:not(ol) { list-style-type: disc; }
.pk-post-content ol,
.pk-post-content .wp-block-list:is(ol) { list-style-type: decimal; }
.pk-post-content ul ul { list-style-type: circle; margin: 6px 0 6px; }
.pk-post-content li {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--pu-ink-2);
  margin-bottom: 8px;
}

.pk-post-content strong { color: var(--pu-blue-900); font-weight: 600; }
.pk-post-content em { font-style: italic; }
.pk-post-content a { color: var(--pu-blue-600); text-underline-offset: 3px; }
.pk-post-content a:hover { color: var(--pu-blue-800); }

/* Tables */
.pk-post-content .wp-block-table { margin: 0 0 32px; overflow-x: auto; }
.pk-post-content .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.65;
  border: 1.5px solid var(--pu-line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.pk-post-content .wp-block-table thead th {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pu-blue-800);
  background: var(--pu-blue-50);
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1.5px solid var(--pu-line);
  line-height: 1.4;
}
.pk-post-content .wp-block-table td {
  padding: 14px 18px;
  color: var(--pu-ink-2);
  border-bottom: 1px solid var(--pu-line-2);
  vertical-align: top;
  line-height: 1.65;
}
.pk-post-content .wp-block-table tr:last-child td { border-bottom: none; }
.pk-post-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) td { background: var(--pu-off); }

/* Code */
.pk-post-content code {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  background: var(--pu-blue-50);
  color: var(--pu-blue-700);
  border-radius: 4px;
  padding: 2px 7px;
}

/* Separator — WP zeros margins, so we use padding via a wrapper trick */
.pk-post-content hr.wp-block-separator {
  border: none !important;
  background: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 64px 0 0 !important;
  position: relative;
}
.pk-post-content hr.wp-block-separator::after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 2px solid var(--pu-line);
}

/* h1 inside content (Slapukų politika) — large breathing room after hr separator */
.pk-post-content h1,
.pk-post-content .wp-block-heading:where(h1) {
  font-size: clamp(34px, 4vw, 48px) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  margin: 0 !important;
  padding: 56px 0 8px !important;
  border: none !important;
}

@media (max-width: 1024px) {
  .pk-page-content-wrap { padding: 56px 0 88px; }
  .pk-post-content h2,
  .pk-post-content .wp-block-heading:where(h2) { padding: 40px 0 14px !important; }
}
@media (max-width: 760px) {
  .pk-page-content-wrap { padding: 40px 0 60px; }
  .pk-post-content h2,
  .pk-post-content .wp-block-heading:where(h2) { padding: 32px 0 12px !important; }
  .pk-post-content h3,
  .pk-post-content .wp-block-heading:where(h3) { padding: 24px 0 10px !important; }
  .pk-post-content .wp-block-table { overflow-x: auto; display: block; }
}

/*
    (phones landscape / small tablets)
    * Mobile needs to be reviewed and responsive from 400px and higher
*/
@media ( min-width: 640px) {

}

/*
    768px (tablets)
*/
@media( min-width: 768px) {

}

/*
    1024px (small laptops)
*/
@media( min-width: 1024px) {

}

/*
    1280px (desktop)
*/
@media( min-width: 1280px) {

}

/*
    1536px (wide desktop)
*/
@media( min-width: 1536px) {

}

/* ── Privacy policy: cookie settings button ── */
.pk-cookie-settings-wrap {
  padding-top: 40px !important;
}

/* ── Cookie consent: 3-button layout ── */
#cm {
  max-width: 500px !important;
}
#c-bns {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 8px !important;
}
#c-bns .c-bn {
  flex: 1 !important;
  text-align: center !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 10px 8px !important;
  font-size: 13.5px !important;
  border-radius: var(--r-pill) !important;
  white-space: normal !important;
  line-height: 1.3 !important;
}
@media (max-width: 480px) {
  #c-bns {
    flex-direction: column !important;
  }
  #c-bns .c-bn {
    width: 100% !important;
    white-space: nowrap !important;
  }
}


