@charset "UTF-8";
html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 0;
  margin: 0;
}
body > * {
  flex: 0 0 auto;
}
body > main {
  flex: 1 0 auto;
}

* {
  box-sizing: border-box;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section {
  display: block;
}

/*
 * Set z-index on main to contain all content layers.
 */
main {
  z-index: 1;
}

button {
  border: 0;
  background: transparent;
}

a,
button {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  transition: all 0.3s;
}

img {
  max-width: 100%;
  height: auto;
}

iframe {
  border: 0;
}

.text-404 {
  padding-top: 8rem;
  padding-bottom: 20rem;
}

/*
 * Page
 */
.no-padding {
  padding: 0;
}

/* Image utils */
.image-fillarea {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* WP fixes */
@media screen and (max-width: 600px) {
  #wpadminbar {
    position: fixed;
    overflow: hidden;
  }
}

.wp-site-blocks {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
}
.wp-site-blocks main {
  flex-grow: 1;
}

/*
 * Content on the left (templates with the class is-content-left): the 872px
 * content column starts at the wide layout's left edge, under the page title,
 * instead of in the middle. Wide and full blocks are unchanged. Core's
 * constrained layout centres with !important, so this needs it too.
 */
.wp-block-group.is-content-left > :where(:not(.alignleft):not(.alignright):not(.alignfull):not(.alignwide)),
.wp-block-post-content.is-content-left > :where(:not(.alignleft):not(.alignright):not(.alignfull):not(.alignwide)) {
  margin-left: max(0px, (100% - var(--wp--style--global--wide-size)) / 2) !important;
  margin-right: auto !important;
}

:root {
  --jcore-font-family: var(--wp--preset--font-family--inter);
  --jcore-heading-font-family: var(--wp--preset--font-family--playfair-display);
}

/* Any heading with pre-text in mini-font-size (use css: "mini" on the H-element for right margins)*/
h1.wp-block-heading.mini,
h2.wp-block-heading.mini,
h3.wp-block-heading.mini,
h4.wp-block-heading.mini {
  margin-top: 0.5rem;
}

/* Any paragraph with pre-text in mini-font-size (use css: "mini" on the p-element for right margins)*/
p.mini {
  margin-top: 0.5rem;
}

/* Links in running text: Inter Medium, as in the Figma pages (navy and
 * underlined from theme.json). Menus, cards, buttons and the footer keep their own weight. */
main :where(p, li, td, dd, figcaption) > a:not([class]) {
  font-weight: 500;
}

a {
  text-underline-offset: 3px;
  text-decoration-thickness: from-font;
}

/*
 * A heading set to another size (e.g. the front page hero's h1 in the giant
 * size, section titles as h2 in the H1 size) takes that size's line height
 * and letter spacing too, as in the Figma text variables (theme.json
 * styles.elements.h1–h6; giant = Figma "H1 – etusivu").
 */
:is(h1, h2, h3, h4, h5, h6).has-giant-font-size {
  line-height: 1.095;
  letter-spacing: -0.019em;
}
:is(h1, h2, h3, h4, h5, h6).has-heading-1-font-size {
  line-height: 1.233;
  letter-spacing: -0.022em;
}
:is(h1, h2, h3, h4, h5, h6).has-heading-2-font-size {
  line-height: 1.333;
  letter-spacing: -0.036em;
}
:is(h1, h2, h3, h4, h5, h6).has-heading-3-font-size {
  line-height: 1.286;
  letter-spacing: 0;
}
:is(h1, h2, h3, h4, h5, h6).has-heading-4-font-size {
  line-height: 1.333;
  letter-spacing: 0;
}
:is(h1, h2, h3, h4, h5, h6).has-heading-5-font-size, :is(h1, h2, h3, h4, h5, h6).has-heading-6-font-size {
  line-height: 1.3;
  letter-spacing: 0;
}

/* 
* Add Project Specific Gutenberg Block Styling here! 
*
*/
/* 
* A little hack to cover the whole content column with one link from below. Add the linkall class to the surrounding div, and the the high class to the p contianing the link
*
*/
.linkall {
  position: relative;
}

p.high a::before {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  content: "";
}

.wp-block-lohko-navigation,
#jcore-nav {
  margin: 0 calc((100vw - var(--wp--style--global--content-size)) / 2);
  /* Submenu theme styling */
}
.wp-block-lohko-navigation .menu-level-1,
.wp-block-lohko-navigation .menu-1,
#jcore-nav .menu-level-1,
#jcore-nav .menu-1 {
  background-color: var(--wp--preset--color--dark);
  border-radius: 1rem;
  padding: 1rem;
}

/* Mobile navigation theme background */
@media (width < 992px) {
  .wp-block-lohko-navigation .menu-level-0,
  .wp-block-lohko-navigation .menu-0,
  #jcore-nav .menu-level-0,
  #jcore-nav .menu-0 {
    background-color: var(--wp--preset--color--dark);
  }
}
/* Admin-bar offset fixes */
body.admin-bar .navbar.scrollActive,
body.admin-bar .navbar.sticky,
body.admin-bar .wp-block-lohko-nav-header.scrollActive,
body.admin-bar .wp-block-lohko-nav-header.sticky,
body.admin-bar .skip-to-content a {
  top: 46px;
}
@media screen and (min-width: 781px) {
  body.admin-bar .navbar.scrollActive,
  body.admin-bar .navbar.sticky,
  body.admin-bar .wp-block-lohko-nav-header.scrollActive,
  body.admin-bar .wp-block-lohko-nav-header.sticky,
  body.admin-bar .skip-to-content a {
    top: 32px;
  }
}

/*
 * Mega navigation (Lohko): navy logo on light headers, the mega panel and the
 * mobile menu. On the dark header (light text, over a hero) the logo follows
 * the text colour.
 */
.wp-block-lohko-mega-navigation {
  --lohko-mega-logo: var(--wp--preset--color--secondary);
  /* The menu button and close X centred on the logo, not 6px below (ad, 2026-11). */
}
.wp-block-lohko-mega-navigation .lohko-mega-navigation__hamburger,
.wp-block-lohko-mega-navigation .lohko-mega-navigation__close {
  margin-top: calc((var(--lohko-mega-logo-height) - 44px) / 2);
}

.wp-block-lohko-nav-header.has-light-color .wp-block-lohko-mega-navigation:not(.is-mega-open) > .lohko-mega-navigation__bar {
  --lohko-mega-logo: currentColor;
}

/*
 * Mobile menu (design November 2026): navy layer, white logo and close X
 * without a circle, the top-level items in the body font with thin lines
 * between them, the language spelled out and underlined at the end. The
 * behaviour is Lohko's: the services' categories are always listed, each
 * category's chevron opens its links.
 */
.wp-block-lohko-mega-navigation .lohko-mega-navigation__mobile {
  --lohko-mega-logo: var(--wp--preset--color--light);
  --hhp-mobile-line: rgb(255 255 255 / 15%);
  background: var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--light);
}
.wp-block-lohko-mega-navigation .lohko-mega-navigation__mobile .lohko-mega-navigation__close {
  border: 0 !important;
  border-radius: 0;
  margin-right: -13px;
}
.wp-block-lohko-mega-navigation .lohko-mega-navigation__mobile .lohko-mega-navigation__close svg {
  width: 18px;
  height: 18px;
}
.wp-block-lohko-mega-navigation .lohko-mega-navigation__mobile .lohko-mega-navigation__mobile-nav {
  margin-top: 0;
}
.wp-block-lohko-mega-navigation .lohko-mega-navigation__mobile .lohko-mega-navigation__mobile-menu {
  gap: 0;
}
.wp-block-lohko-mega-navigation .lohko-mega-navigation__mobile .lohko-mega-navigation__mobile-item {
  padding-block: 23px 24px;
  border-bottom: 1px solid var(--hhp-mobile-line);
}
.wp-block-lohko-mega-navigation .lohko-mega-navigation__mobile .lohko-mega-navigation__mobile-item:first-child {
  padding-top: 0;
}
.wp-block-lohko-mega-navigation .lohko-mega-navigation__mobile .lohko-mega-navigation__mobile-item {
  /* The language: no line, set apart below the menu. */
}
.wp-block-lohko-mega-navigation .lohko-mega-navigation__mobile .lohko-mega-navigation__mobile-item:has(.lohko-mega-navigation__mobile-lang) {
  padding-top: 48px;
  border-bottom: 0;
}
.wp-block-lohko-mega-navigation .lohko-mega-navigation__mobile .lohko-mega-navigation__mobile-link {
  display: block;
  color: inherit;
  font-family: var(--lohko-mega-body-font);
  font-size: 18px;
  line-height: 20px;
  letter-spacing: 0.04em;
}
.wp-block-lohko-mega-navigation .lohko-mega-navigation__mobile .lohko-mega-navigation__mobile-link.lohko-mega-navigation__mobile-lang {
  margin-top: 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.wp-block-lohko-mega-navigation .lohko-mega-navigation__mobile .lohko-mega-navigation__mobile-link.lohko-mega-navigation__mobile-lang::before {
  display: none;
}
.wp-block-lohko-mega-navigation .lohko-mega-navigation__mobile {
  /* Services: the categories one step in, their links two steps in. */
}
.wp-block-lohko-mega-navigation .lohko-mega-navigation__mobile .lohko-mega-navigation__mobile-categories {
  gap: 0;
  margin-top: 24px !important;
  padding-left: 24px !important;
  border-left: 0;
}
.wp-block-lohko-mega-navigation .lohko-mega-navigation__mobile .lohko-mega-navigation__mobile-categories .lohko-mega-navigation__title {
  color: inherit;
  font-family: var(--lohko-mega-body-font);
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0.04em;
}
.wp-block-lohko-mega-navigation .lohko-mega-navigation__mobile .lohko-mega-navigation__mobile-categories .lohko-mega-navigation__column-links {
  gap: 0;
  margin-top: 4px !important;
  padding-bottom: 12px !important;
  padding-left: 24px !important;
}
.wp-block-lohko-mega-navigation .lohko-mega-navigation__mobile .lohko-mega-navigation__mobile-categories .lohko-mega-navigation__column-link {
  display: block;
  padding-block: 12px;
  color: inherit;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.04em;
}
.wp-block-lohko-mega-navigation .lohko-mega-navigation__mobile .lohko-mega-navigation__mobile-toggle {
  color: inherit;
}
.wp-block-lohko-mega-navigation .lohko-mega-navigation__mobile a:hover,
.wp-block-lohko-mega-navigation .lohko-mega-navigation__mobile a[aria-current=page] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/*
 * Site footer: the footer template part (navy group) holding lohko/footer.
 * Four columns: the logo (block setting) on its own, global content
 * "footer-middle" (empty in the current design, so the logo column
 * widens), global content "footer-center" (addresses, contact details and
 * social links) and the footer_right menu. Copyright and
 * the footer_bottom menu share one centred row below.
 */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(3.5rem, 4vw, 4.8rem);
  padding-bottom: 3.25rem;
  /* HH mark pattern along the bottom edge, its top part showing. */
}
.site-footer::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: max(5rem, 15.7vw);
  background-image: url("../../assets/images/footer-pattern-1.svg"), url("../../assets/images/footer-pattern-2.svg"), url("../../assets/images/footer-pattern-3.svg");
  background-position: -0.35vw 0, 33.76vw 0, 67.87vw 0;
  background-repeat: no-repeat;
  background-size: 32.49vw auto;
  opacity: 0.6;
  pointer-events: none;
}
.site-footer > * {
  position: relative;
  z-index: 1;
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover, .site-footer a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer .wp-block-lohko-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem 0;
}
.site-footer .wp-block-lohko-footer .lohko-footer__section {
  flex: 0 0 100%;
}
.site-footer .wp-block-lohko-footer {
  /* An area with nothing in it (Twig leaves whitespace, so not just :empty). */
}
.site-footer .wp-block-lohko-footer .lohko-footer__section:not(.lohko-footer__copyright):not(:has(*)) {
  display: none;
}
@media (min-width: 992px) {
  .site-footer .wp-block-lohko-footer {
    row-gap: clamp(6rem, 15vw, 18rem);
    /* Column starts from the design: 0, 34%, 59.5% and 83% of the row. */
  }
  .site-footer .wp-block-lohko-footer .lohko-footer__left {
    flex-basis: 34%;
  }
  .site-footer .wp-block-lohko-footer .lohko-footer__middle {
    flex-basis: 25.5%;
  }
  .site-footer .wp-block-lohko-footer .lohko-footer__center {
    flex-basis: 23.5%;
  }
  .site-footer .wp-block-lohko-footer .lohko-footer__middle,
  .site-footer .wp-block-lohko-footer .lohko-footer__center {
    padding-right: 1.5rem;
  }
  .site-footer .wp-block-lohko-footer .lohko-footer__right {
    flex: 1 1 0;
  }
  .site-footer .wp-block-lohko-footer {
    /*
     * Design November 2026: footer-middle empty, all contact content in
     * footer-center, which starts at 51% of the row (the menu stays at 83%).
     */
    /* (:has() can't nest, so: no child element in the middle area.) */
  }
  .site-footer .wp-block-lohko-footer:not(:has(.lohko-footer__middle > *)) .lohko-footer__left {
    flex-basis: 51%;
  }
  .site-footer .wp-block-lohko-footer:not(:has(.lohko-footer__middle > *)) .lohko-footer__center {
    flex-basis: 32%;
  }
}
.site-footer .wp-block-lohko-footer {
  /* Logo */
}
.site-footer .wp-block-lohko-footer .lohko-footer__logo img {
  display: block;
  width: 240px;
  height: auto;
}
.site-footer .wp-block-lohko-footer {
  /* Tablets and phones: the logo centred, the rest on the left (ad, 2026-11). */
}
@media (width < 992px) {
  .site-footer .wp-block-lohko-footer .lohko-footer__logo {
    margin-inline: auto;
  }
}
.site-footer .wp-block-lohko-footer {
  /*
   * Global content in the middle columns: an eyebrow heading, then
   * addresses (middle) or contact details and social links (center).
   */
  /* Full width, so on tablets and phones the column starts at the left
   * edge (the footer centres its items); the text keeps a readable width. */
}
.site-footer .wp-block-lohko-footer .lohko-footer__middle > *,
.site-footer .wp-block-lohko-footer .lohko-footer__center > * {
  max-width: 420px;
}
.site-footer .wp-block-lohko-footer .lohko-footer__middle p,
.site-footer .wp-block-lohko-footer .lohko-footer__center p {
  margin: 0;
  font-size: var(--wp--preset--font-size--paragraph);
  line-height: 1.5;
}
.site-footer .wp-block-lohko-footer .lohko-footer__middle p.has-heading-6-font-size,
.site-footer .wp-block-lohko-footer .lohko-footer__center p.has-heading-6-font-size {
  font-size: var(--wp--preset--font-size--heading-6);
  line-height: normal;
}
.site-footer .wp-block-lohko-footer .lohko-footer__middle p + p,
.site-footer .wp-block-lohko-footer .lohko-footer__center p + p {
  margin-top: 1.5rem;
}
.site-footer .wp-block-lohko-footer .lohko-footer__middle .is-style-eyebrow,
.site-footer .wp-block-lohko-footer .lohko-footer__center .is-style-eyebrow {
  letter-spacing: 0.02em;
}
.site-footer .wp-block-lohko-footer .lohko-footer__middle .is-style-eyebrow + p,
.site-footer .wp-block-lohko-footer .lohko-footer__center .is-style-eyebrow + p {
  margin-top: 1.25rem;
}
.site-footer .wp-block-lohko-footer .lohko-footer__middle,
.site-footer .wp-block-lohko-footer .lohko-footer__center {
  /* Contact details after the addresses: a larger gap, as in the design. */
}
.site-footer .wp-block-lohko-footer .lohko-footer__middle p.is-contact,
.site-footer .wp-block-lohko-footer .lohko-footer__center p.is-contact {
  margin-top: 2.8rem;
}
.site-footer .wp-block-lohko-footer {
  /* Footer navigation (footer_right menu). */
}
.site-footer .wp-block-lohko-footer .lohko-footer__right .menu {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-size: var(--wp--custom--text-style--footer-navigation--font-size);
  line-height: var(--wp--custom--text-style--footer-navigation--line-height);
  font-weight: var(--wp--custom--text-style--footer-navigation--font-weight);
  letter-spacing: var(--wp--custom--text-style--footer-navigation--letter-spacing);
}
.site-footer .wp-block-lohko-footer .lohko-footer__right .menu a {
  position: relative;
  display: inline-block;
}
.site-footer .wp-block-lohko-footer .lohko-footer__right .menu a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: currentcolor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.site-footer .wp-block-lohko-footer .lohko-footer__right .menu a:hover {
  text-decoration: none;
}
.site-footer .wp-block-lohko-footer .lohko-footer__right .menu a:hover::after {
  transform: scaleX(1);
}
.site-footer .wp-block-lohko-footer {
  /* Copyright and the footer_bottom menu on one centred row. */
}
.site-footer .wp-block-lohko-footer .lohko-footer__copyright,
.site-footer .wp-block-lohko-footer .lohko-footer__bottom {
  flex: 0 0 auto;
  font-size: var(--wp--preset--font-size--paragraph);
  line-height: 1.5;
  opacity: 0.6;
}
.site-footer .wp-block-lohko-footer .lohko-footer__copyright {
  order: 1;
}
@media (width < 600px) {
  .site-footer .wp-block-lohko-footer .lohko-footer__copyright {
    flex-basis: 100%;
    text-align: center;
  }
}
.site-footer .wp-block-lohko-footer .lohko-footer__bottom {
  order: 2;
  display: flex;
  align-items: baseline;
}
.site-footer .wp-block-lohko-footer .lohko-footer__bottom::before {
  content: "|";
  margin-inline: 0.4em;
}
.site-footer .wp-block-lohko-footer .lohko-footer__bottom {
  /* On narrow screens the two lines stack, centred, without the separator. */
}
@media (width < 600px) {
  .site-footer .wp-block-lohko-footer .lohko-footer__bottom {
    flex-basis: 100%;
    justify-content: center;
    margin-top: -2.5rem;
  }
  .site-footer .wp-block-lohko-footer .lohko-footer__bottom::before {
    display: none;
  }
}
.site-footer .wp-block-lohko-footer .lohko-footer__bottom .menu {
  display: inline-flex;
  gap: 1rem;
}

/* Social links: links to X or LinkedIn in a paragraph with the class is-social-links. */
.is-social-links {
  display: flex;
  gap: 1.75rem;
  margin-top: 2.25rem !important;
}
.is-social-links a {
  display: block;
  width: 23px;
  height: 23px;
  background-color: currentcolor;
  font-size: 0;
  mask: center/contain no-repeat;
}
.is-social-links a[href*="x.com"], .is-social-links a[href*="twitter.com"] {
  mask-image: url("../../assets/images/icon-x.svg");
}
.is-social-links a[href*="linkedin.com"] {
  mask-image: url("../../assets/images/icon-linkedin.svg");
}
.is-social-links a:hover {
  opacity: 0.75;
}

/*
 * Page heroes. The header overlays the top of every page, so each hero leaves
 * room for it. Template parts: hero-plain, hero-photo, hero-navy; the front
 * page hero is a pattern (patterns/hero-front.php).
 */
/*
 * Shared: the HH mark pattern in a band at the bottom of a hero. The images
 * scale with the screen width, so they sit on the hero's bottom edge (y 100%)
 * at every width; $top only limits how high the band may reach.
 */
/* Ilme pads and spaces every group; the heroes set their own spacing. */
:is(.hero-plain, .hero-navy, .hero-photo) .wp-block-group {
  margin-block: 0;
  padding: 0;
}

/* ---------- Plain: title on the page background ---------- */
.hero-plain {
  margin-block: 0;
  padding-top: clamp(9.5rem, 14.4vw, 13rem);
}
.hero-plain .wp-block-post-title,
.hero-plain .wp-block-heading,
.hero-plain .wp-block-query-title {
  margin: 0;
}
.hero-plain .is-style-eyebrow + * {
  margin-top: 1rem;
}
.hero-plain {
  /*
   * Archive intro (articles, references, people): global content
   * "<archive>-intro" under the title, the content width, ingress size.
   * Nothing written there: no gap either.
   */
}
.hero-plain .archive-intro {
  max-width: var(--wp--style--global--content-size, 872px);
  margin-top: 20px;
  color: var(--wp--preset--color--dark);
  font-size: var(--wp--preset--font-size--ingress);
  line-height: 1.45;
}
.hero-plain .archive-intro:not(:has(*)) {
  display: none;
}
.hero-plain .archive-intro > * {
  margin-block: 0;
}
.hero-plain .archive-intro > * + * {
  margin-top: 1em;
}

/* ---------- Photo: featured image, title at the bottom ---------- */
.wp-block-cover.hero-photo {
  min-height: clamp(480px, 39.95vw, 767px);
  margin-block: 0;
  /* Under the title: 34px on phones (the mobile mock), 73px at 1920px. */
  padding: 0 0 clamp(34px, 3.8vw, 73px);
  background-color: var(--wp--preset--color--dark);
  padding-inline: 0;
}
.wp-block-cover.hero-photo.has-custom-content-position .wp-block-cover__inner-container {
  width: 100% !important;
}
.wp-block-cover.hero-photo .wp-block-cover__inner-container > .alignwide {
  width: 100%;
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto !important;
}
.wp-block-cover.hero-photo .wp-block-post-title {
  margin: 6px 0 0;
  color: inherit;
}

/* ---------- Navy: breadcrumbs, title, excerpt, pattern ---------- */
.hero-navy {
  --hero-navy-top: clamp(9rem, 12.2vw, 11rem);
  --hero-navy-gap: clamp(3.5rem, 5.1vw, 4.6rem);
  position: relative;
  overflow: hidden;
}
.hero-navy::before {
  content: "";
  position: absolute;
  top: calc(var(--hero-navy-top) + var(--hero-navy-gap));
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("../../assets/images/footer-pattern-1.svg"), url("../../assets/images/footer-pattern-2.svg"), url("../../assets/images/footer-pattern-3.svg");
  background-position: -0.21vw 100%, 33.9vw 100%, 68.02vw 100%;
  background-repeat: no-repeat;
  background-size: 32.49vw auto;
  opacity: 0.6;
  pointer-events: none;
}
.hero-navy > * {
  position: relative;
  z-index: 1;
}
.hero-navy {
  min-height: 571px;
  margin-block: 0;
  padding-top: var(--hero-navy-top);
  padding-bottom: clamp(4rem, 8.2vw, 7.4rem);
}
.hero-navy .wp-block-post-title {
  margin: calc(var(--hero-navy-gap) + 0.5rem) 0 0;
  color: inherit;
}
.hero-navy .hero-intro {
  max-width: 646px;
  margin-top: 2rem;
  font-size: var(--wp--custom--text-style--ingress--font-size);
  line-height: var(--wp--custom--text-style--ingress--line-height);
}
.hero-navy .hero-intro p {
  margin: 0;
}

/*
 * Reference page hero (patterns/reference-page.php): the navy hero with the
 * date, the title and small expertise chips instead of breadcrumbs and an
 * intro. At 1920px: date at 223px, title at 264px, chips at 457px, 567px high.
 */
.hero-navy.is-reference {
  --hero-navy-top: clamp(9rem, 11.6vw, 14rem);
  --hero-navy-gap: 0.7rem;
  min-height: 0;
  padding-bottom: clamp(3rem, 4.06vw, 4.9rem);
}
.hero-navy.is-reference .hero-reference__date {
  margin: 0;
  font-size: var(--wp--preset--font-size--paragraph);
  line-height: 24px;
}
.hero-navy.is-reference .wp-block-post-title {
  margin: 17px 0 0;
  line-height: 1.233;
  hyphens: auto;
  /* Long Finnish words don't fit a phone at the H2 size. */
}
@media (max-width: 600px) {
  .hero-navy.is-reference .wp-block-post-title {
    font-size: var(--wp--preset--font-size--heading-2) !important;
    line-height: 1.333;
  }
}
.hero-navy.is-reference .wp-block-lohko-term-chips {
  margin-top: 45px;
}

/* ---------- Front page: full-width photo, headline and buttons at the bottom left ---------- */
.wp-block-cover.hero-front {
  /* 655px on phones (the mobile mock), 1100px at 1920px. */
  min-height: clamp(655px, 57.28vw, 1100px);
  margin-block: 0;
  padding-top: 9rem;
  /* 144px below the buttons at 1920px, as in the design. */
  padding-bottom: clamp(3rem, 7.5vw, 9rem);
  /* Content at the bottom; the wide group lines up with the header's logo. */
  align-items: flex-end;
  padding-inline: 0;
  /*
   * The site's side padding on the inner container, none on the group, so
   * the wide group lines up with the header's logo at every width.
   */
}
.wp-block-cover.hero-front .wp-block-cover__inner-container {
  padding-inline: var(--wp--style--root--padding-left) var(--wp--style--root--padding-right);
}
.wp-block-cover.hero-front .wp-block-cover__inner-container > .alignwide {
  width: 100%;
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto !important;
  padding-inline: 0;
}
.wp-block-cover.hero-front h1 {
  margin: 0;
  text-shadow: 0 4px 16px rgba(22, 33, 46, 0.2);
}
.wp-block-cover.hero-front .wp-block-buttons {
  gap: 16px;
  margin-top: clamp(1.5rem, 2.15vw, 2.6rem);
}
.wp-block-cover.hero-front {
  /*
   * Text and buttons lower: only the cover's own bottom padding below the
   * buttons, not the group's and the buttons' margins too (ad, 2026-11).
   */
}
.wp-block-cover.hero-front .wp-block-cover__inner-container > .alignwide {
  margin-block: 0;
  padding-block: 0;
}
.wp-block-cover.hero-front .wp-block-buttons,
.wp-block-cover.hero-front .wp-block-button__link {
  margin-bottom: 0;
}
.wp-block-cover.hero-front {
  /*
   * Phones: the light part of the photo is behind the text, so a soft dark
   * fade from the bottom keeps the white headline readable. Not in the
   * design (no mobile hero there).
   */
}
@media (width < 768px) {
  .wp-block-cover.hero-front {
    /* A little more room between the headline and the buttons (ad, 2026-11). */
  }
  .wp-block-cover.hero-front .wp-block-buttons {
    margin-top: 40px;
  }
  .wp-block-cover.hero-front .wp-block-cover__background {
    background: linear-gradient(0deg, rgba(22, 33, 46, 0.65) 0%, rgba(22, 33, 46, 0.35) 55%, rgba(22, 33, 46, 0) 85%) !important;
    opacity: 1 !important;
  }
}

/*
 * ---------- Team band (patterns/team-band.php) ----------
 * A full-width photo, darkened from below; heading and button at the
 * bottom left. Heights as in the design's front page.
 */
.wp-block-cover.team-band {
  min-height: clamp(560px, 38.68vw, 743px);
  margin-block: 0;
  padding: 1em var(--wp--style--root--padding-right) 78px var(--wp--style--root--padding-left);
  /* Core gives a positioned cover's container width: auto. */
}
.wp-block-cover.team-band .wp-block-cover__inner-container {
  width: 100% !important;
}
.wp-block-cover.team-band {
  /* The text lines up with the wide content. */
}
.wp-block-cover.team-band .wp-block-cover__inner-container > .alignwide {
  width: 100%;
  max-width: var(--wp--style--global--wide-size);
  margin: 0 auto;
  padding: 0;
}
.wp-block-cover.team-band .wp-block-heading {
  max-width: 1098px;
  margin: 0;
}
.wp-block-cover.team-band .wp-block-buttons {
  margin-top: 44px;
}
.wp-block-cover.team-band {
  /* Phones: the button nearer the bottom edge (ad, 2026-11). */
}
@media (width < 768px) {
  .wp-block-cover.team-band {
    padding-bottom: 48px;
  }
  .wp-block-cover.team-band .wp-block-buttons,
  .wp-block-cover.team-band .wp-block-button__link {
    margin-bottom: 0;
  }
}

.archive-posts,
.wp-block-jcore-dynamic-archive-posts__inner,
.wp-block-jcore-latest-posts__inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 360px) {
  .archive-posts.columns-2,
  .wp-block-jcore-dynamic-archive-posts__inner.columns-2,
  .wp-block-jcore-latest-posts__inner.columns-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Person cards: 77px between the rows, as in the design's staff list. */
.wp-block-jcore-dynamic-archive-posts__inner:has(.tease-henkilo__card) {
  gap: 56px 32px;
}
@media (min-width: 992px) {
  .wp-block-jcore-dynamic-archive-posts__inner:has(.tease-henkilo__card) {
    row-gap: 77px;
  }
}

/*
 * People archive role groups (views/dynamic-archive/archive.twig): the role
 * as an h2 that looks like the theme's h3, 24px above the cards, the groups
 * a little further apart than the card rows.
 */
.people-group__title {
  margin: 0 0 24px;
  font-size: var(--wp--preset--font-size--heading-2);
  line-height: 1.333;
  letter-spacing: -0.036em;
}

.people-group + .people-group {
  margin-top: 56px;
}
@media (min-width: 992px) {
  .people-group + .people-group {
    margin-top: 80px;
  }
}

/* Reference cards (image beside the text) need the width: one per row below 992px. */
.wp-block-jcore-dynamic-archive-posts__inner.columns-2:has(.tease-reference),
.wp-block-jcore-latest-posts__inner.columns-2:has(.tease-reference) {
  gap: 24px 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 992px) {
  .wp-block-jcore-dynamic-archive-posts__inner.columns-2:has(.tease-reference),
  .wp-block-jcore-latest-posts__inner.columns-2:has(.tease-reference) {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .archive-posts.columns-3,
  .wp-block-jcore-dynamic-archive-posts__inner.columns-3,
  .wp-block-jcore-latest-posts__inner.columns-3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 992px) {
  .archive-posts.columns-3,
  .wp-block-jcore-dynamic-archive-posts__inner.columns-3,
  .wp-block-jcore-latest-posts__inner.columns-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 360px) {
  .archive-posts.columns-4,
  .wp-block-jcore-dynamic-archive-posts__inner.columns-4,
  .wp-block-jcore-latest-posts__inner.columns-4 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 992px) {
  .archive-posts.columns-4,
  .wp-block-jcore-dynamic-archive-posts__inner.columns-4,
  .wp-block-jcore-latest-posts__inner.columns-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

/* JCORE DYNAMIC ARCHIVE */
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters {
  margin-bottom: 3rem;
  /* No filters set on the block: no empty row above the posts. */
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters:not(:has(*)) {
  display: none;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters {
  /*
   * The filter boxes and the search box side by side on desktop, one
   * under the other on mobile; the chosen chips and the result count on
   * their own rows below. (The taxonomies wrapper steps aside so the
   * search box joins the boxes' row.)
   */
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  gap: 1.5rem;
}
@media (min-width: 782px) {
  .wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.5rem 2rem;
  }
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__taxonomies {
  display: contents;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__taxonomies__type h3 {
  font-weight: 400;
  text-transform: uppercase;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__taxonomies__type select {
  background-color: var(--wp--preset--color--additional-1);
  border-radius: none;
  border: 1px solid black;
  shadow: none;
  padding: 1rem;
  max-width: 360px;
  min-width: 280px;
  text-transform: uppercase;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__taxonomies__type label.wp-block-jcore-dynamic-archive-filters__radio {
  width: max-content;
  padding: 4px 16px;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__taxonomies__type input.wp-block-jcore-dynamic-archive-filters__radio__input {
  visibility: hidden;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__taxonomies__type.taxonomy-type-category__children {
  margin-top: 1.5rem;
}

/*
 * Dynamic Archive filter boxes, crude version of the Figma ones (Reference
 * archive): rounded 24px outline boxes in a row, the label as the placeholder
 * (the heading is kept for screen readers only), the chosen terms as small
 * sand chips. Not pixel-exact; the dropdown list itself is still the plugin's.
 */
@media (min-width: 782px) {
  .wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__taxonomies > .wp-block-jcore-dynamic-archive__filters__taxonomies__type {
    flex: 1 1 280px;
  }
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__taxonomies > .wp-block-jcore-dynamic-archive__filters__taxonomies__type {
  min-width: 0;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__taxonomies > .wp-block-jcore-dynamic-archive__filters__taxonomies__type > h3 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__taxonomies > .wp-block-jcore-dynamic-archive__filters__taxonomies__type {
  /*
   * Two-level filter (e.g. osaamisalue): the main area box and the
   * sub-area box come in one wrapper, which would stack them, and the
   * open main area list would cover the sub-areas. The wrapper steps
   * aside so both boxes sit in the row like the other filters.
   */
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__taxonomies > .wp-block-jcore-dynamic-archive__filters__taxonomies__type:has(> [class*=__parents]) {
  display: contents;
}
@media (min-width: 782px) {
  .wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__taxonomies > .wp-block-jcore-dynamic-archive__filters__taxonomies__type > [class*=__parents],
  .wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__taxonomies > .wp-block-jcore-dynamic-archive__filters__taxonomies__type > [class*=__children] {
    flex: 1 1 280px;
  }
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__taxonomies > .wp-block-jcore-dynamic-archive__filters__taxonomies__type > [class*=__parents],
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__taxonomies > .wp-block-jcore-dynamic-archive__filters__taxonomies__type > [class*=__children] {
  min-width: 0;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters {
  /*
   * Filter boxes as the design (Figma "Block"): a 56px rounded box with a
   * thin chevron; open, the list belongs to the same box (Additional 3),
   * square checkboxes (Primary when chosen) and a count after each option.
   */
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .jcore-multiselect {
  width: 100%;
  max-width: none;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .jcore-multiselect.is-open {
  z-index: 20;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .jcore-multiselect__selection {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 56px 0 23px;
  background: transparent;
  border: 1px solid var(--wp--preset--color--additional-2);
  border-radius: 24px;
  font-size: var(--wp--preset--font-size--paragraph);
  color: var(--wp--preset--color--dark);
  cursor: pointer;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .jcore-multiselect__selection:focus-visible {
  outline: 2px solid var(--wp--preset--color--brand);
  outline-offset: 2px;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .jcore-multiselect.is-open > .jcore-multiselect__selection {
  border-color: transparent;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .jcore-multiselect__placeholder {
  color: var(--wp--preset--color--dark);
  font-size: var(--wp--preset--font-size--paragraph);
  line-height: 20px;
  opacity: 1;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters {
  /* A thin chevron instead of the plugin's triangle; up when open. */
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .jcore-multiselect__arrow {
  right: 24px;
  width: 18px;
  height: 18px;
  border: 0;
  background-color: var(--wp--preset--color--dark);
  mask: url("../../assets/images/chevron-thin.svg") center/10px 18px no-repeat;
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.2s;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .jcore-multiselect.is-open .jcore-multiselect__arrow {
  border: 0;
  transform: translateY(-50%) rotate(-90deg);
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters {
  /* Name search (people): a box like the others, magnifier on the left. */
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__search {
  position: relative;
}
@media (min-width: 782px) {
  .wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__search {
    flex: 1 1 280px;
  }
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__search {
  min-width: 0;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__search::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 22px;
  width: 20px;
  height: 20px;
  translate: 0 -50%;
  background: currentcolor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Ccircle cx='10.5' cy='10.5' r='7'/%3E%3Cpath d='m15.5 15.5 6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events: none;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__search__label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__search__input {
  width: 100%;
  min-height: 56px;
  padding: 0 24px 0 56px;
  background: transparent;
  border: 1px solid var(--wp--preset--color--additional-2);
  border-radius: 24px;
  font: inherit;
  font-size: var(--wp--preset--font-size--paragraph);
  color: var(--wp--preset--color--dark);
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__search__input::placeholder {
  color: var(--wp--preset--color--dark);
  opacity: 1;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__search__input:focus-visible {
  outline: 2px solid var(--wp--preset--color--brand);
  outline-offset: 2px;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters {
  /* The chosen terms of every box as small sand chips, then "Clear filters". */
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__chosen {
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: var(--wp--preset--color--additional-1);
  border: 0;
  border-radius: 6px;
  color: var(--wp--preset--color--dark-lighter);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  cursor: pointer;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__chip:focus-visible {
  outline: 2px solid var(--wp--preset--color--brand);
  outline-offset: 2px;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__chip__remove {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--wp--preset--color--additional-2);
  color: var(--wp--preset--color--site-bg);
  font-size: 11px;
  line-height: 1;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__clear {
  margin-left: 14px;
  color: var(--wp--preset--color--dark);
  font-size: var(--wp--preset--font-size--mini);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .wp-block-jcore-dynamic-archive__filters__count {
  flex: 1 1 100%;
  margin: 0;
  color: var(--wp--preset--color--dark);
  font-size: var(--wp--preset--font-size--paragraph);
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters {
  /* The open list: the same box, under the header. */
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .jcore-multiselect__dropdown {
  top: 0;
  z-index: 1;
  max-height: none;
  padding: 56px 0 29px;
  background: var(--wp--preset--color--additional-3);
  border: 1px solid var(--wp--preset--color--additional-2);
  border-radius: 24px;
  box-shadow: none;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .jcore-multiselect__search {
  display: none;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .jcore-multiselect__options {
  padding: 0 23px;
  overflow: visible;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .jcore-multiselect__option {
  gap: 17px;
  padding: 8px 0;
  background: none;
  color: var(--wp--preset--color--dark);
  font-size: var(--wp--preset--font-size--paragraph);
  line-height: 20px;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .jcore-multiselect__option:hover, .wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .jcore-multiselect__option.is-active {
  background: none;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .jcore-multiselect__option:hover .jcore-multiselect__option-label {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .jcore-multiselect__option:focus-visible {
  outline: 2px solid var(--wp--preset--color--brand);
  outline-offset: 2px;
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .jcore-multiselect__option-checkbox {
  flex: none;
  width: 19px;
  height: 19px;
  border: 1px solid var(--wp--preset--color--brand);
  border-radius: 3px;
  background: var(--wp--preset--color--white);
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .jcore-multiselect__option.is-active .jcore-multiselect__option-checkbox {
  background: var(--wp--preset--color--brand);
  box-shadow: inset 0 0 0 2px var(--wp--preset--color--white);
}
.wp-block-jcore-dynamic-archive .wp-block-jcore-dynamic-archive__filters .jcore-multiselect__option.is-active .jcore-multiselect__option-checkbox::after {
  content: none;
}

/*
 * Dynamic Archive pagination. Not in the design; built from it (agreed plan):
 * page numbers in round buttons, the current one navy; previous and next as
 * round outline arrows; first and last hidden.
 */
.wp-block-jcore-dynamic-archive-posts__pagination {
  display: flex;
  justify-content: center;
  margin-top: var(--wp--custom--spacing-sizes--large);
}
.wp-block-jcore-dynamic-archive-posts__pagination nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.wp-block-jcore-dynamic-archive-posts__pagination nav a,
.wp-block-jcore-dynamic-archive-posts__pagination nav > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--wp--preset--color--dark);
  font-size: var(--wp--preset--font-size--paragraph);
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.wp-block-jcore-dynamic-archive-posts__pagination nav a:hover {
  background-color: var(--wp--preset--color--additional-1);
}
.wp-block-jcore-dynamic-archive-posts__pagination nav a:focus-visible {
  outline: 2px solid var(--wp--preset--color--secondary);
  outline-offset: 2px;
}
.wp-block-jcore-dynamic-archive-posts__pagination .wp-block-jcore-dynamic-archive__pagination__link.is-current {
  background-color: var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--white);
  font-weight: 500;
}
.wp-block-jcore-dynamic-archive-posts__pagination {
  /* First and last: not needed with few pages. */
}
.wp-block-jcore-dynamic-archive-posts__pagination .wp-block-jcore-dynamic-archive__pagination__link-first,
.wp-block-jcore-dynamic-archive-posts__pagination .wp-block-jcore-dynamic-archive__pagination__link-last {
  display: none !important;
}
.wp-block-jcore-dynamic-archive-posts__pagination {
  /* Previous and next: round navy outline with a thin chevron. */
}
.wp-block-jcore-dynamic-archive-posts__pagination .wp-block-jcore-dynamic-archive__pagination__link-previous,
.wp-block-jcore-dynamic-archive-posts__pagination .wp-block-jcore-dynamic-archive__pagination__link-next {
  width: 44px;
  padding: 0;
  border-color: var(--wp--preset--color--secondary);
}
.wp-block-jcore-dynamic-archive-posts__pagination .wp-block-jcore-dynamic-archive__pagination__link-previous:hover,
.wp-block-jcore-dynamic-archive-posts__pagination .wp-block-jcore-dynamic-archive__pagination__link-next:hover {
  background-color: color-mix(in srgb, var(--wp--preset--color--secondary) 10%, transparent);
}
.wp-block-jcore-dynamic-archive-posts__pagination .wp-block-jcore-dynamic-archive__pagination__link-previous .wp-block-jcore-dynamic-archive__pagination__link__icon,
.wp-block-jcore-dynamic-archive-posts__pagination .wp-block-jcore-dynamic-archive__pagination__link-next .wp-block-jcore-dynamic-archive__pagination__link__icon {
  display: block;
  width: 10px;
  height: 18px;
  background-color: var(--wp--preset--color--secondary);
  mask: url("../../assets/images/chevron-thin.svg") center/contain no-repeat;
}
.wp-block-jcore-dynamic-archive-posts__pagination .wp-block-jcore-dynamic-archive__pagination__link-previous .wp-block-jcore-dynamic-archive__pagination__link__text,
.wp-block-jcore-dynamic-archive-posts__pagination .wp-block-jcore-dynamic-archive__pagination__link-next .wp-block-jcore-dynamic-archive__pagination__link__text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.wp-block-jcore-dynamic-archive-posts__pagination .wp-block-jcore-dynamic-archive__pagination__link-previous {
  margin-right: 8px;
}
.wp-block-jcore-dynamic-archive-posts__pagination .wp-block-jcore-dynamic-archive__pagination__link-previous .wp-block-jcore-dynamic-archive__pagination__link__icon {
  transform: rotate(180deg);
}
.wp-block-jcore-dynamic-archive-posts__pagination .wp-block-jcore-dynamic-archive__pagination__link-next {
  margin-left: 8px;
}
.wp-block-jcore-dynamic-archive-posts__pagination {
  /* No previous page on the first page, no next page on the last. */
}
.wp-block-jcore-dynamic-archive-posts__pagination .is-first-page .wp-block-jcore-dynamic-archive__pagination__link-previous,
.wp-block-jcore-dynamic-archive-posts__pagination .is-last-page .wp-block-jcore-dynamic-archive__pagination__link-next {
  visibility: hidden;
}
.wp-block-jcore-dynamic-archive-posts__pagination {
  /* Load more: the design's outline button. */
  /* Load more: the dark button, as on the design's reference and person pages. */
}
.wp-block-jcore-dynamic-archive-posts__pagination a.wp-block-jcore-dynamic-archive-posts__load_more {
  width: max-content;
  height: auto;
  padding: var(--jcore-button-padding);
  border: 1px solid var(--wp--preset--color--dark);
  border-radius: var(--jcore-button-radius);
  background-color: var(--wp--preset--color--dark);
  color: var(--wp--preset--color--light);
  font-weight: 500;
  line-height: 22px;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
}
.wp-block-jcore-dynamic-archive-posts__pagination a.wp-block-jcore-dynamic-archive-posts__load_more:hover {
  border-color: var(--wp--preset--color--secondary);
  background-color: var(--wp--preset--color--secondary);
}

/*
 * Articles section (patterns/front-articles.php): a sand band with the
 * heading and "all articles" at its right, then three cards; the front page
 * references (patterns/front-references.php) the same on the page background.
 */
.front-articles,
.front-references {
  margin-block: 0;
  padding: 87px var(--wp--style--root--padding-right) 130px var(--wp--style--root--padding-left);
  /* Phones: the same 56px above the heading as the white below the services (ad, 2026-11). */
}
@media (width < 768px) {
  .front-articles,
  .front-references {
    padding-top: 56px;
  }
}
.front-articles > .alignwide,
.front-references > .alignwide {
  margin-block: 0;
  padding: 0;
}
.front-articles .front-articles__head,
.front-references .front-articles__head {
  gap: 16px 32px;
  margin: 0;
  padding: 0;
}
.front-articles .front-articles__head .wp-block-heading,
.front-references .front-articles__head .wp-block-heading {
  max-width: 1098px;
  margin: 0;
}
.front-articles .front-articles__head .wp-block-buttons,
.front-references .front-articles__head .wp-block-buttons {
  margin: 0 0 13px;
}
.front-articles .front-articles__head,
.front-references .front-articles__head {
  /*
   * Wider screens: the link on the heading's (last) line, text on the
   * same baseline (2026-11).
   */
}
@media (width >= 768px) {
  .front-articles .front-articles__head,
  .front-references .front-articles__head {
    align-items: baseline;
    align-items: last baseline;
  }
  .front-articles .front-articles__head .wp-block-buttons,
  .front-references .front-articles__head .wp-block-buttons {
    margin-bottom: 0;
  }
}
.front-articles .front-articles__head,
.front-references .front-articles__head {
  /* Phones: "all ..." always under the heading, also after a short one (ad, 2026-11). */
}
@media (width < 768px) {
  .front-articles .front-articles__head,
  .front-references .front-articles__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .front-articles .front-articles__head .wp-block-buttons,
  .front-references .front-articles__head .wp-block-buttons {
    margin-bottom: 0;
  }
}
.front-articles .wp-block-jcore-latest-posts,
.front-references .wp-block-jcore-latest-posts {
  margin-top: 44px;
}

/*
 * Services section (patterns/front-services.php): "Osaamisemme" on the left
 * and the intro on the right, then the services boxes (their own spacing
 * below). As on the design's front page.
 */
.front-services {
  margin-block: 0;
  padding: clamp(3.5rem, 5.1vw, 6.1rem) var(--wp--style--root--padding-right) 0 var(--wp--style--root--padding-left);
}
.front-services .front-services__intro {
  margin-block: 0;
  padding: 0;
}
.front-services .front-services__intro .wp-block-jcore-grid {
  margin: 0;
}
.front-services .front-services__intro .wp-block-heading {
  margin: 0;
}
.front-services .front-services__intro p {
  margin: 0;
}
.front-services .front-services__intro p + p {
  margin-top: 1.5em;
}
.front-services .wp-block-lohko-services {
  margin-top: clamp(2.5rem, 3.9vw, 4.6rem);
}

/*
 * Article page (patterns/article-page.php), as the design: the date, title
 * and small expertise chips on the light background; then the featured image,
 * the content and the author on the left (868px at 1920px) and the contact
 * people and other experts on the right (357px). One column on phones.
 */
.article-page {
  margin-block: 0;
  /* Below the overlaid header: the date at 223px at 1920px. */
  padding-top: clamp(9.5rem, 11.6vw, 14rem);
  padding-bottom: clamp(5rem, 6.25vw, 7.5rem);
}

/* Groups get padding from theme.json and a gap from the layout; not these. */
.article-page__head,
.article-page__grid,
.article-page__main,
.article-page__side {
  padding: 0;
}

.article-page > * {
  margin-block: 0;
}

.article-page__head .article-page__date {
  margin: 0;
  color: var(--wp--preset--color--dark);
  font-size: var(--wp--preset--font-size--paragraph);
  line-height: 24px;
}
.article-page__head .wp-block-post-title {
  margin: 16px 0 0;
  line-height: 1.233;
  hyphens: auto;
  /* Long Finnish words don't fit a phone at the H2 size. */
}
@media (max-width: 600px) {
  .article-page__head .wp-block-post-title {
    font-size: var(--wp--preset--font-size--heading-2) !important;
    line-height: 1.333;
  }
}
.article-page__head {
  /* Half of the desktop gap on phones (ad, 2026-11). */
}
.article-page__head .wp-block-lohko-term-chips {
  margin-top: 22px;
}
@media (min-width: 768px) {
  .article-page__head .wp-block-lohko-term-chips {
    margin-top: 44px;
  }
}

.article-page > .article-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 64px;
  /* Twice the title-to-chips gap (ad, 2026-11). */
  margin-top: 44px;
}
@media (min-width: 768px) {
  .article-page > .article-page__grid {
    margin-top: 88px;
  }
}
@media (min-width: 992px) {
  .article-page > .article-page__grid {
    grid-template-columns: minmax(0, 868fr) minmax(0, 357fr);
    column-gap: clamp(2rem, 19.2%, 291px);
    align-items: start;
  }
}

.article-page__grid > *,
.article-page__main > *,
.article-page__side > * {
  margin-block: 0;
}

.article-page__image {
  margin: 0 0 32px !important;
  aspect-ratio: 865/487;
}
@media (min-width: 768px) {
  .article-page__image {
    margin-bottom: 48px !important;
  }
}
.article-page__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-page__content > :first-child {
  margin-top: 0;
}

/* The author: a heading, the person card and their intro beside it. */
.article-page .is-article-author {
  margin-top: 80px !important;
}
.article-page .is-article-author .wp-block-jcore-latest-posts__heading {
  margin: 0 0 52px;
  font-size: var(--wp--preset--font-size--heading-3);
  line-height: 36px;
  letter-spacing: 0;
}
.article-page .is-article-author .tease-henkilo__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 0;
  justify-items: center;
}
@media (min-width: 768px) {
  .article-page .is-article-author .tease-henkilo__card {
    grid-template-columns: minmax(0, 354fr) minmax(0, 434fr);
    grid-template-rows: auto auto auto 1fr;
    column-gap: clamp(2rem, 8.5%, 75px);
  }
}
.article-page .is-article-author .tease-henkilo__photo,
.article-page .is-article-author .tease-henkilo__name,
.article-page .is-article-author .tease-henkilo__role {
  grid-column: 1;
}
.article-page .is-article-author .tease-henkilo__bio {
  display: block;
  margin-top: 24px;
  color: var(--wp--preset--color--dark-lighter);
  font-size: var(--wp--preset--font-size--mini);
  line-height: 22px;
  text-align: left;
}
@media (min-width: 768px) {
  .article-page .is-article-author .tease-henkilo__bio {
    grid-row: 1;
    grid-column: 2;
    align-self: center;
    margin-top: 0;
  }
}

/* Elsewhere the card doesn't show the intro. */
.tease-henkilo__bio {
  display: none;
}

/* The sidebar's people: a heading and compact cards (photo beside the name). */
.article-page__side .wp-block-jcore-latest-posts .wp-block-jcore-latest-posts__heading {
  margin: 0 0 8px;
  font-size: var(--wp--preset--font-size--heading-6);
  line-height: 30px;
  letter-spacing: 0;
}
.article-page__side .wp-block-jcore-latest-posts .wp-block-jcore-latest-posts__inner {
  gap: 8px;
}
.article-page__side .wp-block-jcore-latest-posts + .wp-block-jcore-latest-posts {
  margin-top: 51px !important;
}
.article-page__side .wp-block-jcore-latest-posts .tease-henkilo__card {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: 21px;
  min-height: 100px;
  padding: 8px 10px;
  border-radius: 24px;
  background: var(--wp--preset--color--additional-1);
  text-align: left;
  transition: background-color 0.2s;
  /* Same as the contact people cards (Lohko contact-people). */
}
.article-page__side .wp-block-jcore-latest-posts .tease-henkilo__card:hover, .article-page__side .wp-block-jcore-latest-posts .tease-henkilo__card:focus-visible {
  background: var(--wp--preset--color--additional-2);
}
.article-page__side .wp-block-jcore-latest-posts .tease-henkilo__card:hover .tease-henkilo__photo img, .article-page__side .wp-block-jcore-latest-posts .tease-henkilo__card:focus-visible .tease-henkilo__photo img {
  transform: none;
}
.article-page__side .wp-block-jcore-latest-posts .tease-henkilo__photo {
  grid-row: 1/span 2;
  width: 80px;
  aspect-ratio: 1;
}
.article-page__side .wp-block-jcore-latest-posts .tease-henkilo__name {
  align-self: end;
  margin: 0;
  color: var(--wp--preset--color--secondary);
  line-height: 30px;
}
.article-page__side .wp-block-jcore-latest-posts .tease-henkilo__role {
  align-self: start;
  margin: 0;
}

/*
 * Reference page (patterns/reference-page.php): the article page's two
 * columns under the navy hero (the content starts 82px below it), then the
 * related articles and references on a sand band.
 */
.article-page.reference-page {
  /* No gap between the hero and the content, and room above the columns. */
  margin-top: 0;
  padding-top: clamp(3rem, 4.27vw, 5.1rem);
}

.article-page.reference-page > .article-page__grid {
  margin-top: 0;
}

.reference-related {
  margin-block: 0;
  padding: clamp(3rem, 3.4vw, 4.1rem) var(--wp--style--root--padding-right) clamp(4rem, 5.9vw, 7rem) var(--wp--style--root--padding-left);
  /* No related articles or references: no empty band. */
}
.reference-related:not(:has(.tease)) {
  display: none;
}
.reference-related .wp-block-jcore-latest-posts__heading {
  margin: 0 0 44px;
  font-size: var(--wp--preset--font-size--heading-3);
  line-height: 36px;
  letter-spacing: 0;
}
.reference-related .wp-block-jcore-latest-posts + .wp-block-jcore-latest-posts {
  margin-top: 80px;
}

/*
 * Topic sections (patterns/topic-references.php, topic-articles.php; the
 * Palvelut and service pages): the heading with "All …" at its right, then
 * the cards. References on a sand band, articles on the page background.
 * Nothing to show: no section.
 */
.topic-section {
  margin-block: 0;
  padding: clamp(3rem, 4.4vw, 5.25rem) var(--wp--style--root--padding-right) clamp(4rem, 5.2vw, 6.25rem) var(--wp--style--root--padding-left);
}
.topic-section:not(:has(.tease)) {
  display: none;
}
.topic-section > .alignwide {
  margin-block: 0;
  padding: 0;
}
.topic-section .topic-section__head {
  gap: 16px 32px;
  margin: 0;
  padding: 0;
}
.topic-section .topic-section__head .wp-block-heading {
  margin: 0;
  font-size: var(--wp--preset--font-size--heading-2);
  line-height: 1.333;
}
.topic-section .topic-section__head .wp-block-buttons {
  margin: 0 0 10px;
}
.topic-section .wp-block-jcore-latest-posts {
  margin-top: clamp(2.5rem, 3.6vw, 4.4rem);
}

/* Two topic sections in a row on the same background: no double gap. */
.topic-section:not(.has-background) + .topic-section:not(.has-background) {
  padding-top: 0;
}

/*
 * The image that zooms a little when its card is hovered. A small, slow 2D
 * scale wobbles, most at the slow end of the transition: Firefox snaps a
 * scaled image to whole pixels, so it stands still for a few frames and then
 * jumps a pixel, each edge at its own moment (measured frame by frame). A 3D
 * transform is not snapped while it animates: the image keeps an invisible
 * tilt (rotateX 0.02deg in perspective) at rest and when zoomed, and only
 * the scale changes between the two. Not a bigger tilt: from 0.1deg the still
 * image isn't snapped either, and it turns soft.
 *
 * When a transition ends, the still image is snapped again: a small shift at
 * the end of the zoom, in view while the pointer stays on the card. So the
 * zoom in doesn't end there: zoom-in-hold is the same 0.5s ease, in the first
 * 2.5% of a 20s transition that then holds still. Zooming out is a plain
 * 0.5s ease (the transition of the state being entered is the one used).
 * will-change keeps the image on a layer of its own, so Chromium doesn't
 * redraw it when a zoom ends.
 */
/*
 * The boxes that clip the zooming image: their own stacking context, so the
 * rounded corners keep clipping the image's layer during the zoom (Safari).
 */
.tease-card__image,
.tease-henkilo__photo,
.tease-reference__image {
  isolation: isolate;
}

/*
 * Post lift (views/partials/tease-content.twig), as the design's article card:
 * a white card with 16px corners, the image 5:4 (zooms a little on hover),
 * the date in navy and the title in the H6 style,
 * underlined on hover. Lists: Dynamic Archive, latest and related posts.
 */
.tease {
  display: block;
  height: 100%;
  text-align: left;
}

.tease-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  background-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--dark);
  text-decoration: none;
}
.tease-card:hover .tease-card__image img {
  transform: perspective(2000px) rotateX(0.02deg) scale(1.03);
}
@supports (transition-timing-function: linear(0, 1)) {
  .tease-card:hover .tease-card__image img {
    transition: transform 20s linear(0, 0.033 0.125%, 0.0948 0.25%, 0.1855 0.375%, 0.2952 0.5%, 0.4085 0.625%, 0.5133 0.75%, 0.6048 0.875%, 0.6825 1%, 0.7479 1.125%, 0.8024 1.25%, 0.8478 1.375%, 0.8852 1.5%, 0.9159 1.625%, 0.9408 1.75%, 0.9605 1.875%, 0.9756 2%, 0.9868 2.125%, 0.9943 2.25%, 0.9986 2.375%, 1 2.5%, 1 100%);
  }
}
.tease-card:hover .tease-card__title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.tease-card:focus-visible {
  outline: 2px solid var(--wp--preset--color--secondary);
  outline-offset: 3px;
}

.tease-card__image {
  overflow: hidden;
  aspect-ratio: 420/336;
  /* No featured image: the HH mark, light, on the card's white. */
}
.tease-card__image.placeholder {
  position: relative;
  border-bottom: 1px solid var(--wp--preset--color--additional-1);
}
.tease-card__image.placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--wp--preset--color--additional-2);
  mask: url("../../assets/images/mark.svg") center/23% auto no-repeat;
}
.tease-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: perspective(2000px) rotateX(0.02deg) scale(1);
  transition: transform 0.5s ease;
  will-change: transform;
  backface-visibility: hidden;
}

.tease-card__body {
  flex: 1;
  padding: 24px 19px 32px;
}
@media (min-width: 1024px) {
  .tease-card__body {
    min-height: 211px;
  }
}

.tease-card__date {
  margin: 0;
  color: var(--wp--preset--color--secondary);
  font-size: var(--wp--preset--font-size--paragraph);
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.04em;
}

.tease-card__title {
  margin: 13px 0 0;
  color: var(--wp--preset--color--dark);
  font-family: var(--wp--preset--font-family--inter);
  font-size: var(--wp--preset--font-size--heading-6);
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0;
}

/*
 * Person card (views/partials/tease-henkilo.twig), as the design's staff
 * list: the photo (354 x 368, 16px corners) on a coloured background, the
 * name in the heading-5 style and the title in small capitals, centred.
 */
.tease-henkilo__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--wp--preset--color--dark-lighter);
  text-align: center;
  text-decoration: none;
}
.tease-henkilo__card:hover .tease-henkilo__photo img {
  transform: perspective(2000px) rotateX(0.02deg) scale(1.03);
}
@supports (transition-timing-function: linear(0, 1)) {
  .tease-henkilo__card:hover .tease-henkilo__photo img {
    transition: transform 20s linear(0, 0.033 0.125%, 0.0948 0.25%, 0.1855 0.375%, 0.2952 0.5%, 0.4085 0.625%, 0.5133 0.75%, 0.6048 0.875%, 0.6825 1%, 0.7479 1.125%, 0.8024 1.25%, 0.8478 1.375%, 0.8852 1.5%, 0.9159 1.625%, 0.9408 1.75%, 0.9605 1.875%, 0.9756 2%, 0.9868 2.125%, 0.9943 2.25%, 0.9986 2.375%, 1 2.5%, 1 100%);
  }
}
.tease-henkilo__card:hover .tease-henkilo__name {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.tease-henkilo__card:focus-visible {
  outline: 2px solid var(--wp--preset--color--secondary);
  outline-offset: 3px;
}

.tease-henkilo__photo {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 354/368;
}
.tease-henkilo__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  transform: perspective(2000px) rotateX(0.02deg) scale(1);
  transition: transform 0.5s ease;
  will-change: transform;
  backface-visibility: hidden;
}

/*
 * No photo: the HH mark, light, on sand, as the contact people cards (Lohko
 * contact-people). Also the person page's photo (_person.scss).
 */
.tease-henkilo__photo.is-placeholder,
.person-page__photo.is-placeholder {
  position: relative;
  background-color: var(--wp--preset--color--additional-2);
}
.tease-henkilo__photo.is-placeholder::before,
.person-page__photo.is-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--wp--preset--color--white);
  opacity: 0.6;
  mask: url("../../assets/images/mark.svg") center/58% auto no-repeat;
}

.tease-henkilo__name {
  display: block;
  margin-top: 22px;
  font-family: var(--wp--preset--font-family--playfair-display);
  font-size: 20px;
  line-height: 30px;
}

.tease-henkilo__role {
  display: block;
  margin-top: 12px;
  font-size: var(--wp--custom--text-style--over-heading--font-size);
  line-height: var(--wp--custom--text-style--over-heading--line-height);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/*
 * Reference card (views/partials/tease-referenssi.twig), as the design's
 * reference lists: a square-ish image (258 x 268, 16px corners) beside the
 * date, the title and "Lue lisää". Without an image: navy, sand or gold with
 * the HH mark at 10%. The title is underlined on hover.
 */
.tease-reference {
  display: grid;
  grid-template-columns: 34.8% 1fr;
  align-items: center;
  column-gap: clamp(1rem, 6.3%, 47px);
  color: var(--wp--preset--color--dark);
  text-decoration: none;
}
.tease-reference:hover .tease-reference__image img {
  transform: perspective(2000px) rotateX(0.02deg) scale(1.03);
}
@supports (transition-timing-function: linear(0, 1)) {
  .tease-reference:hover .tease-reference__image img {
    transition: transform 20s linear(0, 0.033 0.125%, 0.0948 0.25%, 0.1855 0.375%, 0.2952 0.5%, 0.4085 0.625%, 0.5133 0.75%, 0.6048 0.875%, 0.6825 1%, 0.7479 1.125%, 0.8024 1.25%, 0.8478 1.375%, 0.8852 1.5%, 0.9159 1.625%, 0.9408 1.75%, 0.9605 1.875%, 0.9756 2%, 0.9868 2.125%, 0.9943 2.25%, 0.9986 2.375%, 1 2.5%, 1 100%);
  }
}
.tease-reference:hover .tease-reference__title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.tease-reference:hover .tease-reference__more::after {
  transform: translateX(4px);
}
.tease-reference:focus-visible {
  outline: 2px solid var(--wp--preset--color--secondary);
  outline-offset: 3px;
}
.tease-reference {
  /*
   * One per row (below lg): a light line between the cards, so they don't
   * run together, and a smaller image (ad, 2026-11).
   */
}
@media (width < 992px) {
  .tease-reference {
    grid-template-columns: 28% 1fr;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--wp--preset--color--additional-1);
  }
  .tease:last-child > .tease-reference {
    padding-bottom: 0;
    border-bottom: 0;
  }
}

.tease-reference__image {
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 258/268;
}
.tease-reference__image.placeholder {
  position: relative;
  background-color: var(--wp--preset--color--secondary);
}
.tease-reference__image.placeholder.is-sand {
  background-color: var(--wp--preset--color--additional-2);
}
.tease-reference__image.placeholder.is-gold {
  background-color: var(--wp--preset--color--brand);
}
.tease-reference__image.placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--wp--preset--color--additional-1);
  opacity: 0.1;
  mask: url("../../assets/images/mark.svg") center/59.5% auto no-repeat;
}
.tease-reference__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: perspective(2000px) rotateX(0.02deg) scale(1);
  transition: transform 0.5s ease;
  will-change: transform;
  backface-visibility: hidden;
}

.tease-reference__date {
  margin: 0;
  color: var(--wp--preset--color--secondary);
  font-size: var(--wp--preset--font-size--paragraph);
  font-weight: 500;
  line-height: 24px;
}

.tease-reference__title {
  margin: 7px 0 0;
  color: var(--wp--preset--color--dark);
  font-family: var(--wp--preset--font-family--inter);
  font-size: var(--wp--preset--font-size--paragraph);
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0;
}
@media (min-width: 768px) {
  .tease-reference__title {
    font-size: var(--wp--preset--font-size--heading-6);
    line-height: 26px;
  }
}

.tease-reference__more {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  font-size: var(--wp--preset--font-size--mini);
  font-weight: 500;
  line-height: 16px;
}
.tease-reference__more::after {
  content: "";
  width: 25.641px;
  height: 14.664px;
  background-color: currentcolor;
  mask: url("../../assets/images/arrow-long.svg") center/contain no-repeat;
  transition: transform 0.2s ease;
}

/*
 * Person page (patterns/person-page.php): the hero and the content (text,
 * expertise chips, accordions) on the left (868px at 1920px), the photo and the person's
 * references on the right (484px); the person's articles on a sand band.
 * On phones the photo comes first, the references after the text.
 */
.person-page {
  margin-block: 0;
  /* Below the overlaid header: the photo at 154px, the name at 220px at 1920px. */
  padding-top: clamp(9rem, 8vw, 9.6rem);
  padding-bottom: clamp(5rem, 9.7vw, 11.7rem);
}

/* Groups get padding from theme.json and a gap from the layout; not these. */
.person-page__grid,
.person-page__main,
.person-page__side {
  padding: 0;
}

.person-page > .person-page__grid {
  margin-block: 0;
}

.person-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  /* Phones: photo, text, references (the side column's children join the grid). */
}
.person-page__grid .person-page__side {
  display: contents;
}
.person-page__grid .person-page__photo {
  order: -1;
}
@media (min-width: 992px) {
  .person-page__grid {
    grid-template-columns: minmax(0, 868fr) minmax(0, 484fr);
    column-gap: clamp(2rem, 10.8%, 164px);
    align-items: start;
  }
  .person-page__grid .person-page__side {
    display: block;
  }
  .person-page__grid .person-page__main {
    padding-top: 66px;
  }
}

.person-page__grid > *,
.person-page__main > * {
  margin-block: 0;
}

/* The content under the intro: text, expertise chips and accordions. */
.person-page__content {
  margin-top: 32px !important;
  color: var(--wp--preset--color--dark-lighter);
}
.person-page__content > :first-child {
  margin-top: 0;
}
.person-page__content > p {
  max-width: 742px;
}

/* Expertise chips under a semibold label. */
.person-page .wp-block-lohko-term-chips {
  margin-top: 53px !important;
}
.person-page .wp-block-lohko-term-chips .lohko-term-chips__label {
  color: var(--wp--preset--color--dark);
  font-size: var(--wp--preset--font-size--paragraph);
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0;
  text-transform: none;
}
.person-page .wp-block-lohko-term-chips .lohko-term-chips__list {
  gap: 16px;
  margin-top: 16px;
}
.person-page .wp-block-lohko-term-chips .lohko-term-chips__chip {
  height: 44px;
  padding: 0 16px;
}

.person-page__content .wp-block-lohko-accordions {
  margin-top: 46px !important;
}

/* The photo (its background is in the image itself). */
.person-page__photo {
  overflow: hidden;
  margin: 0 !important;
  border-radius: 16px;
  aspect-ratio: 484/503;
}
.person-page__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
@media (min-width: 0) and (max-width: 359px) {
  .person-page__photo {
    max-width: 420px;
  }
}

/* The person's references: a heading and compact reference cards with lines between. */
@media (min-width: 992px) {
  .person-page .is-person-references {
    margin-top: 90px;
  }
}
.person-page .is-person-references .wp-block-jcore-latest-posts__heading {
  margin: 0 0 38px;
  font-size: var(--wp--preset--font-size--heading-2);
}
.person-page .is-person-references .wp-block-jcore-latest-posts__inner {
  gap: 27px;
}
.person-page .is-person-references .tease-reference {
  grid-template-columns: 97px minmax(0, 1fr);
  align-items: start;
  column-gap: 32px;
  padding-bottom: 27px;
  border-bottom: 1px solid var(--wp--preset--color--additional-1);
}
.person-page .is-person-references .tease-reference__image {
  aspect-ratio: 97/101;
}
.person-page .is-person-references .tease-reference__date {
  color: var(--wp--preset--color--dark);
  font-weight: 400;
}
.person-page .is-person-references .tease-reference__title {
  margin-top: 8px;
  font-size: var(--wp--preset--font-size--paragraph);
  line-height: 24px;
}
.person-page .is-person-references .tease-reference__more {
  flex-direction: row-reverse;
  margin-top: 18px;
}

/* The person's articles on a sand band; hidden when there are none. */
.person-articles {
  margin-block: 0;
  padding-top: clamp(3.5rem, 4.2vw, 5rem);
  padding-bottom: clamp(3.5rem, 4vw, 4.8rem);
}
.person-articles:not(:has(.tease)) {
  display: none;
}
.person-articles .person-articles__heading {
  margin: 0 auto 69px;
}
.person-articles .wp-block-jcore-dynamic-archive__filters {
  display: none;
}

/*
 * Style guide page (patterns/style-guide.php): the colour swatches, each a
 * paragraph with the colour as its background and its name and slug.
 */
.style-guide-colours {
  display: grid;
  padding: 0;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}
.style-guide-colours > p {
  margin: 0 !important;
  padding: 64px 12px 12px;
  border: 1px solid rgba(22, 33, 46, 0.08);
  border-radius: 12px;
  font-size: var(--wp--preset--font-size--mini);
  line-height: 20px;
}

.masonry-grid {
  display: grid;
  grid-row-gap: 2rem !important;
  grid-template-columns: 1fr;
  grid-auto-rows: 20px;
}
.masonry-grid > * {
  width: auto !important;
  grid-row-end: span 20; /* Somewhat sane default. */
}
@media (min-width: 768px) {
  .masonry-grid {
    grid-row-gap: 3rem !important;
  }
  .masonry-grid.columns-2, .masonry-grid.columns-3, .masonry-grid.columns-4 {
    grid-template-columns: 1fr 1fr;
  }
  .masonry-grid .tease-nr-2 .image-container {
    margin-top: 6rem;
    margin-bottom: 2rem;
  }
}
@media (min-width: 992px) {
  .masonry-grid.columns-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .masonry-grid.columns-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

/*
 * 404 page (patterns/404.php). Not in the design; built from it (agreed plan):
 * the plain hero with a "404" eyebrow, an ingress, the search and two buttons.
 */
.page-404 {
  padding-top: var(--wp--custom--spacing-sizes--large);
  padding-bottom: var(--wp--custom--spacing-sizes--xlarge);
}
.page-404 .wp-block-search {
  margin-block: var(--wp--custom--spacing-sizes--medium);
}

/*
 * Page content in two columns at the wide width (patterns/service-page.php,
 * subarea-page.php and base-page.php): the text on the left, the contact
 * people (or nothing, on a base page) on the right.
 */
.service-content {
  /* Ilme pads every group; this one is only a wrapper. */
  padding: 0;
  /* The design's gap between the text and the sidebar (about 95px). */
}
.service-content > .jgrid {
  --jcore-gap: var(--wp--custom--spacing-sizes--xlarge);
}
.service-content .wp-block-lohko-contact-people + .wp-block-lohko-contact-people {
  margin-top: var(--wp--custom--spacing-sizes--medium);
}

/*
 * A base page (default template, plain title): the content starts a step
 * closer to the title, without the wrapper's own top margin.
 */
.page-template-default .wp-block-post-content > .service-content:first-child {
  margin-top: 0;
}

/*
 * Room above the related references / articles band that follows (Figma: about
 * 92px on a service area page, 124px on a sub-area page, at 1920px). Only when
 * a section is shown: an empty one is hidden.
 */
.service-content:has(+ .topic-section .tease) {
  margin-bottom: clamp(3.5rem, 4.8vw, 5.75rem);
}

/**
* Gravity Forms minimalistics if using default base theme in GF settings.
* The theme framework uses root settings, if nothing else defined.
* Add more gernral settings to root by inspecting the element styling you want to change.
* The button styling is set from Ilme root button styles found in blocks/buttons.css
*/
/**
* Gravity Forms minimalistics if using default base theme in GF settings.
* The theme framework uses root settings, if nothing else defined.
* Add more gernral settings to root by inspecting the element styling you want to change.
* The button styling is set from Ilme root button styles found in blocks/buttons.css.
* For style changes to take effect: MAKE BUILD!!!
*/
:root .gform-theme--framework {
  --gf-color-primary: var(--wp--preset--color--brand);
  --gf-color-primary-darker: var(--wp--preset--color--secondary-dark);
  --gf-ctrl-bg-color: var(--wp--preset--color--white);
  --gf-color-out-ctrl-light-darker: var(--wp--preset--color--lightgrey);
  --gf-ctrl-border-color: var(--wp--preset--color--lightgrey);
  --gf-ctrl-border-color-hover: var(--wp--preset--color--lightgrey);
  --gf-ctrl-radius: 12px;
  --gf-ctrl-textarea-radius: 12px;
  --gf-ctrl-border-width: 1px;
  --gf-ctrl-border-style: solid;
  --gf-ctrl-color: var(--wp--preset--color--black);
  --gf-ctrl-outline-color: var(--wp--preset--color--lightblue);
  --gf-ctrl-outline-color-focus: var(--wp--preset--color--lightblue);
  --gf-ctrl-border-color-focus: var(--wp--preset--color--brand);
  --gf-ctrl-accent-color: var(--wp--preset--color--brand);
  --gf-ctrl-btn-bg-color-ctrl: var(--jcore-button-bg-color);
  --gf-ctrl-btn-color-primary: var(--jcore-button-text-color);
  --gf-ctrl-btn-color-hover-primary: var(--jcore-button-hover-text-color);
  --gf-ctrl-btn-color-hover-ctrl: var(--jcore-button-hover-text-color);
  --gf-ctrl-btn-bg-color-primary: var(--jcore-button-bg-color);
  --gf-ctrl-btn-bg-color-hover-primary: var(--jcore-button-hover-bg-color);
  --gf-ctrl-btn-bg-color-hover-ctrl: var(--jcore-button-hover-bg-color);
  --gf-ctrl-btn-radius: var(--jcore-button-radius);
  --gf-ctrl-btn-font-weight: var(--jcore-button-font-weight);
  --gf-ctrl-btn-text-transform: none;
  --gf-ctrl-btn-font-size: var(--jcore-button-font-size);
  --gf-ctrl-btn-font-style: normal;
  --gf-ctrl-btn-font-family: var(--jcore-heading-font-family);
  --gf-ctrl-btn-font-size-md: var(--wp--preset--font-size--paragraph);
  --gf-ctrl-btn-padding-y: 1rem;
  --gf-ctrl-btn-padding-x-md: 2rem;
  --gf-ctrl-choice-check-color: var(--wp--preset--color--brand);
  --gf-field-pg-prog-bar-bg-color-blue: var(--wp--preset--color--brand);
  --gf-field-pg-prog-bar-bg-color-orange: var(--wp--preset--color--brand);
  --gf-ctrl-label-font-size-primary: var(--wp--preset--font-size--paragraph);
  --gf-ctrl-label-font-size-tertiary: var(--wp--preset--font-size--mini);
  --gf-color-in-ctrl-primary: var(--wp--preset--color--brand);
  --gf-color-in-ctrl-primary-darker: var(--wp--preset--color--brand);
  --gf-ctrl-file-zone-icon-color: var(--wp--preset--color--brand);
  --gf-form-footer-margin-y-start: 2.5rem;
  --gf-field-prod-quant-width: 65px;
}

body .gform_wrapper .gform_fields {
  gap: 1.5rem;
}
@media (min-width: 360px) {
  body .gform_wrapper .gform-footer {
    display: flex;
    justify-content: flex-end;
  }
}
body .gform-theme--framework.prodlist_wrapper .prod {
  max-width: 500px;
}
body .gform-theme--framework .gfield--type-product .ginput_quantity {
  margin-block-end: var(--gf-field-prod-quant-margin-y-end);
  order: 3;
  flex-basis: 10%;
}
body .gform-theme--framework .gfield--type-product .ginput_container_singleproduct {
  display: flex;
  flex-direction: row;
  align-content: center;
}
body .gform-theme--framework .ginput_quantity_label.gform-field-label {
  order: 4;
  flex-basis: 10%;
  font-size: 18px;
  margin-left: 1rem;
  align-self: center;
}
body .gform-theme--framework .gform-field-label.gform-field-label--type-sub-large.ginput_product_price_label {
  display: none;
}
body .gform-theme--framework .gform-field-label.gform-field-label--type-sub-large.ginput_product_price {
  font-size: 20px;
  font-weight: 500;
  color: var(--wp--preset--color--brand);
}
body .gform-theme--framework .ginput_product_price_wrapper {
  flex-basis: 70%;
}

/*
 * Search page (patterns/search.php). Not in the design; built from it (agreed
 * plan): results like the RSS list: the type as an eyebrow, the title with
 * the text link's navy arrow, a short excerpt, tan lines between results.
 */
.search-results {
  padding-top: var(--wp--custom--spacing-sizes--large);
  padding-bottom: var(--wp--custom--spacing-sizes--xlarge);
}
.search-results > .wp-block-search {
  margin-bottom: var(--wp--custom--spacing-sizes--large);
}
.search-results .search-results__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.search-results .search-results__list > li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 24px 0;
  border-bottom: 1px solid var(--wp--preset--color--additional-2);
}
.search-results .search-results__list > li:first-child {
  border-top: 1px solid var(--wp--preset--color--additional-2);
}
.search-results .search-results__list > li > * {
  margin: 0;
}
.search-results .search-results__title {
  font-family: var(--wp--preset--font-family--inter);
  line-height: 26px;
  letter-spacing: 0;
}
.search-results .search-results__title a {
  color: var(--wp--preset--color--black);
  text-decoration: none;
  /* The arrow follows the last word when the title wraps. */
}
.search-results .search-results__title a::after {
  content: "";
  display: inline-block;
  width: 19.339px;
  height: 11.06px;
  margin-left: 12px;
  vertical-align: middle;
  background-color: var(--wp--preset--color--secondary);
  mask: url("../../assets/images/arrow-long.svg") center/contain no-repeat;
  transition: transform 0.2s;
}
.search-results .search-results__title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.search-results .search-results__title a:hover::after {
  transform: translateX(4px);
}
.search-results .wp-block-post-excerpt__excerpt {
  margin: 0;
  color: var(--wp--preset--color--dark-lighter);
}
.search-results .wp-block-query-pagination {
  margin-top: var(--wp--custom--spacing-sizes--large);
}
.search-results .wp-block-query-pagination a {
  color: var(--wp--preset--color--dark);
}
.search-results .wp-block-query-pagination .page-numbers.current {
  color: var(--wp--preset--color--secondary);
  font-weight: 500;
}

/* Ilme's search markup for PHP templates. */
.search-items {
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
.search-items article {
  background-color: var(--wp--preset--color--additional-1);
  border-radius: 1rem;
  padding: 1rem;
}

.pagination-block {
  --jcore-button-bg-color: transparent; /* because a-tag is styles here as btn, and .btn is one level up */
  --jcore-button-hover-bg-color: transparent;
  padding: 2rem;
  display: flex;
  justify-content: space-evenly;
}
.pagination-block > section {
  display: flex;
  align-items: center;
}
.pagination-block div {
  padding: 0;
}
.pagination-block div a {
  color: var(--wp--preset--color--black);
  background-color: var(--wp--preset--color--brand);
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin: 1rem;
}
.pagination-block div a:hover {
  text-decoration: none;
  background-color: var(--wp--preset--color--additional-1);
}
.pagination-block div.current a {
  background-color: var(--wp--preset--color--additional-1);
  color: var(--jcore-button-active-txt-color);
}

/*
 * Paragraph styles (includes/gutenberg.php). Eyebrow (also on post dates):
 * the small uppercase line above a title. Ingress: the intro paragraph at
 * the top of an article or a reference.
 */
/* Eyebrow: the small uppercase line above a title (Figma "Over heading"). */
.is-style-eyebrow {
  margin: 0;
  color: var(--wp--preset--color--secondary);
  font-family: var(--wp--preset--font-family--inter);
  font-size: var(--wp--custom--text-style--over-heading--font-size);
  line-height: var(--wp--custom--text-style--over-heading--line-height);
  letter-spacing: var(--wp--custom--text-style--over-heading--letter-spacing);
  text-transform: uppercase;
}
.has-light-color .is-style-eyebrow {
  color: inherit;
}
.is-style-eyebrow:empty {
  display: none;
}

/* Ingress: the ingress size and line height, dark and a step bolder (500). */
p.is-style-ingress {
  color: var(--wp--preset--color--dark);
  font-size: var(--wp--custom--text-style--ingress--font-size);
  font-weight: 500;
  line-height: var(--wp--custom--text-style--ingress--line-height);
}

/*
 * Buttons. theme.json sets the base core/button style and the outline
 * variation; everything else is here: the arrow, hover and focus states, and
 * the Outline light and Text link styles (registered in includes/gutenberg.php).
 * Values from the design prototype.
 */
.wp-block-button .wp-block-button__link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  /* Text wrapped on two lines stays on the left, not centred (ad, 2026-11). */
  text-align: left;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  /* Gold arrow after the text, nudged on hover. */
}
.wp-block-button .wp-block-button__link::after {
  content: "";
  flex: none;
  width: 13.333px;
  height: 7.273px;
  background: url("../../assets/images/arrow-button.svg") center/contain no-repeat;
  transition: transform 0.2s;
}
.wp-block-button .wp-block-button__link:hover::after {
  transform: translateX(3px);
}
.wp-block-button .wp-block-button__link:focus-visible {
  outline: 2px solid var(--wp--preset--color--secondary);
  outline-offset: 3px;
}
.wp-block-button {
  /* Default (dark): Secondary on hover. */
}
.wp-block-button:not([class*=is-style-]) .wp-block-button__link:hover {
  border-color: var(--wp--preset--color--secondary);
  background-color: var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--light);
}
.wp-block-button {
  /* Outline: a faint dark tint on hover. */
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: color-mix(in srgb, var(--wp--preset--color--dark) 6%, transparent);
}
.wp-block-button {
  /* Light: a near-white fill with dark text, e.g. over the front page photo. */
}
.wp-block-button.is-style-light .wp-block-button__link {
  border-color: var(--wp--preset--color--light);
  background-color: var(--wp--preset--color--light);
  color: var(--wp--preset--color--black);
}
.wp-block-button.is-style-light .wp-block-button__link:hover {
  border-color: var(--wp--preset--color--additional-1);
  background-color: var(--wp--preset--color--additional-1);
}
.wp-block-button.is-style-light .wp-block-button__link:focus-visible {
  outline-color: var(--wp--preset--color--light);
}
.wp-block-button {
  /* Outline light, for dark backgrounds. */
}
.wp-block-button.is-style-outline-light .wp-block-button__link {
  border-color: var(--wp--preset--color--light);
  background-color: transparent;
  color: var(--wp--preset--color--light);
}
.wp-block-button.is-style-outline-light .wp-block-button__link:hover {
  background-color: color-mix(in srgb, var(--wp--preset--color--light) 12%, transparent);
}
.wp-block-button.is-style-outline-light .wp-block-button__link:focus-visible {
  outline-color: var(--wp--preset--color--light);
}
.wp-block-button {
  /* Text link with a navy arrow: "Lue lisää →", "Kaikki artikkelit →". */
}
.wp-block-button.is-style-text-arrow .wp-block-button__link {
  gap: 8.5px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--wp--preset--color--black);
  font-size: var(--wp--custom--text-style--tag-cloud--font-size);
  font-weight: var(--wp--custom--text-style--tag-cloud--font-weight);
  line-height: var(--wp--custom--text-style--tag-cloud--line-height);
}
.wp-block-button.is-style-text-arrow .wp-block-button__link::after {
  width: 19.339px;
  height: 11.06px;
  background: var(--wp--preset--color--secondary);
  mask: url("../../assets/images/arrow-long.svg") center/contain no-repeat;
}
.wp-block-button.is-style-text-arrow .wp-block-button__link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.wp-block-button.is-style-text-arrow .wp-block-button__link:hover::after {
  transform: translateX(4px);
}

/* Keyboard focus on dark sections: a light outline. */
:is(.has-secondary-background-color, .has-dark-background-color, .hero-photo, .hero-navy) .wp-block-button__link:focus-visible {
  outline-color: var(--wp--preset--color--light);
}

/**
* Set buttons colors and font variables for use elsewhere in theme where not G-berg,for example btn-class for form submit or tease-link or pagination?
*/
:root {
  --jcore-button-bg-color: var(--wp--preset--color--dark);
  --jcore-button-border-color: var(--wp--preset--color--dark);
  --jcore-button-text-color: var(--wp--preset--color--light);
  --jcore-button-active-bg-color: var(--wp--preset--color--dark);
  --jcore-button-active-txt-color: var(--wp--preset--color--light);
  --jcore-button-hover-bg-color: var(--wp--preset--color--secondary);
  --jcore-button-hover-text-color: var(--wp--preset--color--light);
  --jcore-button-hover-border-color: var(--wp--preset--color--secondary);
  --jcore-button-font-size: var(--wp--preset--font-size--paragraph);
  --jcore-button-padding: 18px 24px;
  --jcore-button-radius: 32px;
}

.btn {
  background-color: var(--jcore-button-bg-color);
  color: var(--jcore-button-text-color);
  border-color: var(--jcore-button-border-color);
  padding: var(--jcore-button-padding);
  font-size: var(--jcore-button-font-size);
  border-radius: var(--jcore-button-radius);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover {
  background-color: var(--jcore-button-hover-bg-color);
  color: var(--jcore-button-hover-text-color);
  border-color: var(--jcore-button-hover-border-color);
}
.btn:focus-visible {
  outline: 2px solid var(--wp--preset--color--secondary);
  outline-offset: 3px;
}

/**
 * Search form and search block theme styling.
 */
.toggle-search svg,
.toggle-search .fa-search {
  color: var(--wp--preset--color--white);
}

.searchbar-container.toggle {
  background-color: var(--wp--preset--color--dark);
}

/* Not in the design; built from it (agreed plan): a field with a tan border
 * and a navy focus ring, and the primary button as the submit. */
.search-form,
.searchform,
.wp-block-search {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 0 2rem;
}
.search-form .wp-block-search__label,
.searchform .wp-block-search__label,
.wp-block-search .wp-block-search__label {
  display: block;
  margin-bottom: 8px;
  color: var(--wp--preset--color--dark);
  font-weight: 500;
}
.search-form label,
.searchform label,
.wp-block-search label {
  display: flex;
  flex-grow: 1;
  margin: 0;
}
.search-form .wp-block-search__inside-wrapper,
.searchform .wp-block-search__inside-wrapper,
.wp-block-search .wp-block-search__inside-wrapper {
  display: flex;
  gap: 8px;
  width: 100%;
  padding: 0;
  border: 0;
}
.search-form input[type=search],
.search-form input[type=text],
.search-form .search-field,
.searchform input[type=search],
.searchform input[type=text],
.searchform .search-field,
.wp-block-search input[type=search],
.wp-block-search input[type=text],
.wp-block-search .search-field {
  flex-grow: 1;
  min-width: 3rem;
  margin: 0;
  padding: 17px 20px;
  border: 1px solid var(--wp--preset--color--additional-2);
  border-radius: 8px;
  background-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--black);
  font-size: var(--jcore-button-font-size);
  line-height: 22px;
  text-decoration: unset !important;
  appearance: none;
}
.search-form input[type=search]::placeholder,
.search-form input[type=text]::placeholder,
.search-form .search-field::placeholder,
.searchform input[type=search]::placeholder,
.searchform input[type=text]::placeholder,
.searchform .search-field::placeholder,
.wp-block-search input[type=search]::placeholder,
.wp-block-search input[type=text]::placeholder,
.wp-block-search .search-field::placeholder {
  color: var(--wp--preset--color--dark-lighter);
}
.search-form input[type=search]:focus,
.search-form input[type=text]:focus,
.search-form .search-field:focus,
.searchform input[type=search]:focus,
.searchform input[type=text]:focus,
.searchform .search-field:focus,
.wp-block-search input[type=search]:focus,
.wp-block-search input[type=text]:focus,
.wp-block-search .search-field:focus {
  border-color: var(--wp--preset--color--secondary);
  outline: 2px solid var(--wp--preset--color--secondary);
  outline-offset: 0;
}
.search-form .wp-block-search__button,
.search-form .search-submit,
.search-form .btn[type=submit],
.search-form button[type=submit],
.search-form input[type=submit],
.searchform .wp-block-search__button,
.searchform .search-submit,
.searchform .btn[type=submit],
.searchform button[type=submit],
.searchform input[type=submit],
.wp-block-search .wp-block-search__button,
.wp-block-search .search-submit,
.wp-block-search .btn[type=submit],
.wp-block-search button[type=submit],
.wp-block-search input[type=submit] {
  flex: none;
  margin: 0;
  padding: var(--jcore-button-padding);
  border: 1px solid var(--jcore-button-border-color);
  border-radius: var(--jcore-button-radius);
  background-color: var(--jcore-button-bg-color);
  color: var(--jcore-button-text-color);
  font-size: var(--jcore-button-font-size);
  font-weight: 500;
  line-height: 22px;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.search-form .wp-block-search__button:hover,
.search-form .search-submit:hover,
.search-form .btn[type=submit]:hover,
.search-form button[type=submit]:hover,
.search-form input[type=submit]:hover,
.searchform .wp-block-search__button:hover,
.searchform .search-submit:hover,
.searchform .btn[type=submit]:hover,
.searchform button[type=submit]:hover,
.searchform input[type=submit]:hover,
.wp-block-search .wp-block-search__button:hover,
.wp-block-search .search-submit:hover,
.wp-block-search .btn[type=submit]:hover,
.wp-block-search button[type=submit]:hover,
.wp-block-search input[type=submit]:hover {
  border-color: var(--jcore-button-hover-border-color);
  background-color: var(--jcore-button-hover-bg-color);
  color: var(--jcore-button-hover-text-color);
}
.search-form .wp-block-search__button:focus-visible,
.search-form .search-submit:focus-visible,
.search-form .btn[type=submit]:focus-visible,
.search-form button[type=submit]:focus-visible,
.search-form input[type=submit]:focus-visible,
.searchform .wp-block-search__button:focus-visible,
.searchform .search-submit:focus-visible,
.searchform .btn[type=submit]:focus-visible,
.searchform button[type=submit]:focus-visible,
.searchform input[type=submit]:focus-visible,
.wp-block-search .wp-block-search__button:focus-visible,
.wp-block-search .search-submit:focus-visible,
.wp-block-search .btn[type=submit]:focus-visible,
.wp-block-search button[type=submit]:focus-visible,
.wp-block-search input[type=submit]:focus-visible {
  outline: 2px solid var(--wp--preset--color--secondary);
  outline-offset: 3px;
}

.wp-block-search {
  flex-direction: column;
  align-items: stretch;
}

/*
 * Details: the design's accordion row. Title in the Paragraph Bold style, the
 * round sand chevron on the right (down when closed, up when open), and the
 * title underlined on hover.
 */
details.wp-block-details {
  margin: 0;
  /* The design's faint line between the items. */
  border-bottom: 1px solid var(--wp--preset--color--additional-1);
}
details.wp-block-details summary {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  color: var(--wp--preset--color--black);
  font-size: var(--wp--preset--font-size--paragraph);
  font-weight: 600;
  line-height: 24px;
  list-style: none;
  cursor: pointer;
}
details.wp-block-details summary::-webkit-details-marker {
  display: none;
}
details.wp-block-details summary::after {
  content: "";
  flex: none;
  width: 49px;
  height: 49px;
  background: url("../../assets/images/chevron-accordion.svg") center/contain no-repeat;
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}
details.wp-block-details summary:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
details.wp-block-details summary:focus-visible {
  outline: 2px solid var(--wp--preset--color--secondary);
  outline-offset: 3px;
}
details.wp-block-details[open] {
  padding-bottom: 34px;
}
details.wp-block-details[open] summary::after {
  transform: rotate(-90deg);
}
details.wp-block-details > :where(:not(summary)) {
  margin-top: 8px;
}

/*
 * Embeds. Not in the design; built from it (agreed plan): videos in a 16/9
 * frame with the design's 16px corners. Add the videowrapper class to any
 * other iframe that should behave the same.
 */
.wp-block-embed.is-type-video .wp-block-embed__wrapper,
.videowrapper .wp-block-embed__wrapper {
  overflow: hidden;
  aspect-ratio: 16/9;
  border-radius: 16px;
}
.wp-block-embed.is-type-video .wp-block-embed__wrapper::before,
.videowrapper .wp-block-embed__wrapper::before {
  display: none;
}
.wp-block-embed.is-type-video .wp-block-embed__wrapper iframe,
.videowrapper .wp-block-embed__wrapper iframe {
  position: static;
  width: 100%;
  height: 100%;
}

.wp-block-embed figcaption {
  margin-top: 12px;
  color: var(--wp--preset--color--dark-lighter);
  font-size: var(--wp--preset--font-size--mini);
}

/*
 * File. Not in the design; built from it (agreed plan): the file name as a
 * dark text link, the download button as the design's outline button with a
 * downward arrow.
 */
.wp-block-file {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  margin: 0 0 2rem;
}
.wp-block-file > a:not(.wp-block-file__button) {
  color: var(--wp--preset--color--dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.wp-block-file > a:not(.wp-block-file__button):hover {
  color: var(--wp--preset--color--secondary);
}
.wp-block-file .wp-block-file__button {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 13px 24px;
  border: 1px solid var(--wp--preset--color--dark);
  border-radius: var(--jcore-button-radius);
  background-color: transparent;
  color: var(--wp--preset--color--black);
  font-size: var(--jcore-button-font-size);
  font-weight: 500;
  line-height: 22px;
  text-decoration: none;
  transition: background-color 0.2s;
}
.wp-block-file .wp-block-file__button::after {
  content: "";
  flex: none;
  width: 19.339px;
  height: 11.06px;
  background-color: currentcolor;
  mask: url("../../assets/images/arrow-long.svg") center/contain no-repeat;
  transform: rotate(90deg);
  transition: transform 0.2s;
}
.wp-block-file .wp-block-file__button:hover {
  background-color: color-mix(in srgb, var(--wp--preset--color--dark) 6%, transparent);
  opacity: 1;
}
.wp-block-file .wp-block-file__button:hover::after {
  transform: rotate(90deg) translateX(3px);
}
.wp-block-file .wp-block-file__button:focus-visible {
  outline: 2px solid var(--wp--preset--color--secondary);
  outline-offset: 3px;
}

/* Media and images */
.wp-block-image.alignleft {
  float: left;
}
.wp-block-image.alignright {
  float: right;
}
.wp-block-image.aligncenter {
  margin-left: auto;
  margin-right: auto;
}
.wp-block-image {
  border-radius: 0;
}
.wp-block-image img {
  border-radius: 0;
}
.wp-block-image img.no-radius {
  border-radius: 0;
}
.wp-block-image {
  /* Rounded corners style (includes/gutenberg.php): the design's 16px. */
}
.wp-block-image.is-style-rounded-corners img {
  border-radius: 16px;
}

/* Cover: the design's 16px corners, except full-width covers (heroes). */
.wp-block-cover {
  margin-block: 0 var(--wp--custom--spacing-sizes--medium);
}
.wp-block-cover:not(.alignfull, .no-radius) {
  overflow: hidden;
  border-radius: 16px;
}

/*Lightbox enabled, but no icon on the image on hover.*/
figure button.lightbox-trigger {
  display: none;
}

/*
* A class for zooming images on hover *
*/
.img-hover-zoom {
  overflow: hidden;
}

.img-hover-zoom img {
  transition: transform 0.5s ease;
  filter: brightness(90%);
}

.img-hover-zoom:hover img {
  transform: scale(1.1);
  filter: brightness(100%);
}

/*
* A class for zooming images on hover with brightness reversed compared to normal image-zoom *
*/
.img-hover-zoom-reverse {
  overflow: hidden;
}

.img-hover-zoom-reverse img {
  transition: transform 0.5s ease;
  filter: brightness(100%);
}

.img-hover-zoom-reverse:hover img {
  transform: scale(1.1);
  filter: brightness(85%);
}

/*
 * Gallery. Not in the design; built from it (agreed plan): 16px corners and
 * the captions below the images in the eyebrow style, not over them.
 */
.wp-block-gallery.has-nested-images figure.wp-block-image {
  flex-direction: column;
}
.wp-block-gallery.has-nested-images figure.wp-block-image img {
  border-radius: 16px;
}
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  position: static;
  max-height: none;
  margin: 12px 0 0;
  padding: 0;
  background: none;
  color: var(--wp--preset--color--dark);
  font-size: var(--wp--custom--text-style--over-heading--font-size) !important;
  line-height: var(--wp--custom--text-style--over-heading--line-height);
  letter-spacing: var(--wp--custom--text-style--over-heading--letter-spacing);
  text-align: left;
  text-shadow: none;
  text-transform: uppercase;
}
.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before {
  display: none;
}
.wp-block-gallery.has-nested-images > figcaption {
  margin-top: 12px;
  color: var(--wp--preset--color--dark-lighter);
  font-size: var(--wp--preset--font-size--mini);
}

/*
 * Media & text. Not in the design; built from it (agreed plan): the image with
 * the design's 16px corners, the gap from the spacing presets, and the same
 * space below the image when stacked on mobile.
 */
.wp-block-media-text {
  margin-block: 0 var(--wp--custom--spacing-sizes--medium);
  gap: var(--wp--custom--spacing-sizes--large);
}
.wp-block-media-text .wp-block-media-text__media img {
  border-radius: 16px;
}
.wp-block-media-text .wp-block-media-text__content {
  /* Core's 8% side padding; the gap does that here. */
  padding: 0;
}
.wp-block-media-text .wp-block-media-text__content > :first-child {
  margin-top: 0;
}
.wp-block-media-text .wp-block-media-text__content > :last-child {
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .wp-block-media-text.is-stacked-on-mobile {
    gap: var(--wp--custom--spacing-sizes--medium);
  }
}

/*
 * Quote and pullquote: the design's testimonial. The HH mark above, the quote
 * in navy Playfair (text style "quote") and the cite as an uppercase line.
 */
.wp-block-quote,
.wp-block-pullquote blockquote {
  margin: 0 0 2rem;
  padding: 0;
  border: 0;
  color: var(--wp--preset--color--secondary-dark);
  font-family: var(--wp--preset--font-family--playfair-display);
  font-size: var(--wp--custom--text-style--quote--font-size);
  font-weight: var(--wp--custom--text-style--quote--font-weight);
  font-style: normal;
  line-height: var(--wp--custom--text-style--quote--line-height);
  text-align: left;
  /* Room above the mark, also after a list (ad, 2026-11). */
}
.wp-block-quote:not(:first-child),
.wp-block-pullquote blockquote:not(:first-child) {
  margin-top: clamp(2.5rem, 4vw, 4rem);
}
.wp-block-quote::before,
.wp-block-pullquote blockquote::before {
  content: "";
  display: block;
  width: 58.594px;
  height: 31.269px;
  margin-bottom: 32px;
  background-color: currentcolor;
  mask: url("../../assets/images/mark.svg") center/contain no-repeat;
}
.wp-block-quote p,
.wp-block-pullquote blockquote p {
  margin: 0;
  font: inherit;
}
.wp-block-quote p + p,
.wp-block-pullquote blockquote p + p {
  margin-top: 1em;
}
.wp-block-quote cite,
.wp-block-pullquote blockquote cite {
  display: block;
  margin-top: 27px;
  color: var(--wp--preset--color--dark);
  font-family: var(--wp--preset--font-family--inter);
  font-size: var(--wp--custom--text-style--over-heading--font-size);
  font-style: normal;
  font-weight: var(--wp--custom--text-style--over-heading--font-weight);
  line-height: var(--wp--custom--text-style--over-heading--line-height);
  letter-spacing: var(--wp--custom--text-style--over-heading--letter-spacing);
  text-transform: uppercase;
}

.wp-block-pullquote {
  margin: 0 0 2rem;
  padding: 0;
  border: 0;
}
.wp-block-pullquote:not(:first-child) {
  margin-top: clamp(2.5rem, 4vw, 4rem);
}
.wp-block-pullquote blockquote:not(:first-child) {
  margin-top: 0;
}

/*
 * RSS. Not in the design; built from it (agreed plan): items between tan
 * lines, the date in the eyebrow style above the title, the title in the
 * H6 style with the text link's navy arrow.
 */
ul.wp-block-rss {
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}
ul.wp-block-rss .wp-block-rss__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--wp--preset--color--additional-2);
}
ul.wp-block-rss .wp-block-rss__item:first-child {
  border-top: 1px solid var(--wp--preset--color--additional-2);
}
ul.wp-block-rss .wp-block-rss__item-publish-date {
  order: -1;
  color: var(--wp--preset--color--secondary);
  font-size: var(--wp--custom--text-style--over-heading--font-size);
  line-height: var(--wp--custom--text-style--over-heading--line-height);
  letter-spacing: var(--wp--custom--text-style--over-heading--letter-spacing);
  text-transform: uppercase;
}
ul.wp-block-rss {
  /* The arrow follows the last word when the title wraps. */
}
ul.wp-block-rss .wp-block-rss__item-title a {
  color: var(--wp--preset--color--black);
  font-size: var(--wp--preset--font-size--heading-6);
  line-height: 26px;
  text-decoration: none;
}
ul.wp-block-rss .wp-block-rss__item-title a::after {
  content: "";
  display: inline-block;
  margin-left: 12px;
  vertical-align: middle;
  width: 19.339px;
  height: 11.06px;
  background-color: var(--wp--preset--color--secondary);
  mask: url("../../assets/images/arrow-long.svg") center/contain no-repeat;
  transition: transform 0.2s;
}
ul.wp-block-rss .wp-block-rss__item-title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
ul.wp-block-rss .wp-block-rss__item-title a:hover::after {
  transform: translateX(4px);
}
ul.wp-block-rss .wp-block-rss__item-excerpt,
ul.wp-block-rss .wp-block-rss__item-author {
  margin: 0;
  color: var(--wp--preset--color--dark-lighter);
}

/*
 * Table. Not in the design; built from its tokens (agreed plan): tan lines
 * between rows as in the separator, the header row in the eyebrow style on
 * sand. Stripes: white and sand rows, starting with white under the header.
 */
.wp-block-table {
  margin: 0 0 2rem;
}
.wp-block-table table {
  border-collapse: collapse;
  color: var(--wp--preset--color--dark-lighter);
  line-height: 30px;
}
.wp-block-table thead,
.wp-block-table tfoot {
  border: 0;
}
.wp-block-table th,
.wp-block-table td {
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid var(--wp--preset--color--additional-2);
  text-align: left;
  vertical-align: top;
}
.wp-block-table thead th {
  background-color: var(--wp--preset--color--additional-1);
  color: var(--wp--preset--color--dark);
  font-size: var(--wp--custom--text-style--over-heading--font-size);
  font-weight: var(--wp--custom--text-style--over-heading--font-weight);
  line-height: var(--wp--custom--text-style--over-heading--line-height);
  letter-spacing: var(--wp--custom--text-style--over-heading--letter-spacing);
  text-transform: uppercase;
}
.wp-block-table tfoot td {
  color: var(--wp--preset--color--dark);
  font-weight: 500;
}
.wp-block-table figcaption {
  margin-top: 12px;
  color: var(--wp--preset--color--dark-lighter);
  font-size: var(--wp--preset--font-size--mini);
}
.wp-block-table.is-style-stripes {
  border-bottom: 0;
  /* White rows; :nth-child(odd) as well, over core's grey odd rows. */
}
.wp-block-table.is-style-stripes tbody tr,
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background-color: var(--wp--preset--color--white);
}
.wp-block-table.is-style-stripes tbody tr {
  /* Sand from the second row, so the first row differs from the sand header. */
}
.wp-block-table.is-style-stripes tbody tr:nth-child(even) {
  background-color: var(--wp--preset--color--additional-1);
}
.wp-block-table.is-style-stripes td {
  border-bottom: 0;
}

/*
 * Yoast breadcrumbs block. Follows the text colour of what it sits on (light in
 * the navy hero). The separator is set in Yoast (Settings > Breadcrumbs): "→".
 */
.yoast-breadcrumbs {
  color: inherit;
  font-size: var(--wp--preset--font-size--mini);
  line-height: 1.6;
  word-spacing: 0.85em;
}
.yoast-breadcrumbs span {
  word-spacing: normal;
}
.yoast-breadcrumbs a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.yoast-breadcrumbs a:hover, .yoast-breadcrumbs a:focus-visible {
  text-decoration: none;
}

/*
 * Lists. Unordered lists get the design's chevron bullets; the Dots style
 * (includes/gutenberg.php) has round bullets, as in accordions. .arrow-list is
 * the arrow link list (e.g. sub-services).
 */
ul.wp-block-list,
ol.wp-block-list {
  margin-bottom: 2rem;
  padding-left: 21px;
  color: var(--wp--preset--color--dark-lighter);
  line-height: 30px;
}
ul.wp-block-list li > ul,
ul.wp-block-list li > ol,
ol.wp-block-list li > ul,
ol.wp-block-list li > ol {
  margin-bottom: 0 !important;
}

ol.wp-block-list li::marker {
  color: var(--wp--preset--color--dark-lighter);
}

/* Chevron bullets. */
ul.wp-block-list:not(.wp-block-rss, .arrow-list, .is-style-dots) {
  padding-left: 21px;
}
ul.wp-block-list:not(.wp-block-rss, .arrow-list, .is-style-dots) li {
  position: relative;
  padding-left: 21px;
  list-style-type: none;
}
ul.wp-block-list:not(.wp-block-rss, .arrow-list, .is-style-dots) li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 4.366px;
  height: 8.151px;
  background-color: var(--wp--preset--color--dark);
  mask: url("../../assets/images/bullet-chevron.svg") center/contain no-repeat;
}

/* Dots: round bullets with more air, as in the accordions. */
ul.wp-block-list.is-style-dots {
  padding-left: 22px;
  line-height: 24px;
  list-style: disc;
}
ul.wp-block-list.is-style-dots li + li {
  margin-top: 14px;
}
ul.wp-block-list.is-style-dots li::marker {
  color: var(--wp--preset--color--dark-lighter);
}

/* Arrow list: thin dark arrows, as in the design's service lists. */
ul.wp-block-list.arrow-list {
  padding-left: 0;
}
ul.wp-block-list.arrow-list li {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 2.375rem !important;
  color: var(--wp--preset--color--dark);
  font-size: var(--wp--preset--font-size--paragraph);
  line-height: 30px;
  list-style-type: none;
}
ul.wp-block-list.arrow-list li::before {
  content: "";
  position: absolute;
  top: 0.4em;
  left: 0;
  width: 19.339px;
  height: 11.06px;
  background-color: currentcolor;
  mask: url("../../assets/images/arrow-long.svg") center/contain no-repeat;
  transition: transform 0.2s;
}
ul.wp-block-list.arrow-list li:hover::before {
  transform: translateX(4px);
}
ul.wp-block-list.arrow-list li::marker {
  display: none !important;
}

/* Separator: a 1px line in Additional 2 (the design's tan line). */
.wp-block-separator {
  margin-block: var(--wp--custom--spacing-sizes--large);
  color: var(--wp--preset--color--additional-2);
  border: 0;
  border-top: 1px solid currentcolor;
  opacity: 1;
}
.wp-block-separator:not(.is-style-dots) {
  height: 0;
}

/* Group block styles (includes/gutenberg.php): the design's highlight boxes. */
.wp-block-group.is-style-box,
.wp-block-group.is-style-box-light {
  padding: 30px 27px;
  border-radius: 24px;
}
.wp-block-group.is-style-box > :first-child,
.wp-block-group.is-style-box-light > :first-child {
  margin-top: 0;
}
.wp-block-group.is-style-box > :last-child,
.wp-block-group.is-style-box-light > :last-child {
  margin-bottom: 0;
}

.wp-block-group.is-style-box {
  background-color: var(--wp--preset--color--white);
}

.wp-block-group.is-style-box-light {
  background-color: var(--wp--preset--color--additional-1);
}

/*
 * Spacer styles (Ydin's jcore_spacer_styles): the height is the theme's fluid
 * spacing size, 390px -> 1440px wide: Small 12 -> 16, Medium 20 -> 32,
 * Large 32 -> 48, X-Large 48 -> 96. The spacer's own height (1rem by
 * default) is ignored, so the steps stay distinct on mobile too.
 */
.wp-block-spacer[class*=is-style-] {
  height: 0 !important;
}

/* Spacer Block XL */
.wp-block-spacer.is-style-xl {
  padding-top: var(--wp--custom--spacing-sizes--xlarge);
}

/* Spacer Block LG */
.wp-block-spacer.is-style-lg {
  padding-top: var(--wp--custom--spacing-sizes--large);
}

/* Spacer Block MD */
.wp-block-spacer.is-style-md {
  padding-top: var(--wp--custom--spacing-sizes--medium);
}

/* Spacer Block SM */
.wp-block-spacer.is-style-sm {
  padding-top: var(--wp--custom--spacing-sizes--small);
}

/* Style guide (patterns/style-guide.php): show the spacers' heights. */
.style-guide-spacers {
  padding: 0;
  margin: 0;
}
.style-guide-spacers .wp-block-spacer {
  margin: 0 0 var(--wp--custom--spacing-sizes--medium);
  background-color: var(--wp--preset--color--additional-1);
}
.style-guide-spacers p {
  margin-bottom: 8px;
}

/*# sourceMappingURL=theme.css.map */
