/* Tovari section: Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--wp--preset--color--contrast);
}

p, li {
  font-family: var(--wp--preset--font-family--body);
  line-height: 1.38;
}

.custom--display {
  font-size: var(--wp--preset--font-size--display);
  max-width: 19ch;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-block: 0 0.35em;
  text-wrap: balance;
}

.custom--section-title {
  font-size: var(--wp--preset--font-size--x-large);
  text-wrap: balance;
  margin-block: 0 0.12em;
}

.custom--page-title {
  font-size: var(--wp--preset--font-size--display);
  text-wrap: balance;
  margin: 0;
}

.custom--lead, .custom--body {
  font-size: var(--wp--preset--font-size--large);
  line-height: 1.34;
}

.custom--eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--wp--custom--tovari--interaction--action);
}

.custom--card-title {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.custom--footer-title {
  font-size: 1rem;
}

.custom--main, .custom--navigation, .custom--footer {
  font-synthesis: none;
}

/* Tovari section: Buttons */
.wp-block-buttons {
  gap: 0.85rem;
}

.wp-block-button__link {
  padding: 0.9rem 1.6rem;
  min-height: 3rem;
  border-radius: var(--wp--custom--button--border-radius);
  border: 1px solid var(--wp--custom--tovari--interaction--action);
  background: var(--wp--custom--tovari--interaction--action);
  color: var(--wp--preset--color--accent-contrast);
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transform: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.wp-block-button__link:visited {
  color: var(--wp--preset--color--accent-contrast);
}

.wp-block-button__link:hover {
  background: var(--wp--preset--color--contrast);
  border-color: var(--wp--preset--color--contrast);
  color: var(--wp--preset--color--accent-contrast);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transform: none;
}

.wp-block-button__link:focus-visible {
  outline: 3px solid var(--wp--preset--color--focus);
  outline-offset: 4px;
  transform: none;
}

.wp-block-button__link:active {
  background: var(--wp--custom--tovari--interaction--pressed);
  border-color: var(--wp--custom--tovari--interaction--pressed);
  color: var(--wp--preset--color--accent-contrast);
  box-shadow: inset 0 0 0 2px var(--wp--preset--color--accent-contrast);
  transform: none;
}

.wp-block-button.is-style-outline .wp-block-button__link {
  color: var(--wp--preset--color--contrast);
  background: transparent;
  border-color: var(--wp--custom--tovari--interaction--action);
}

.wp-block-button.is-style-outline .wp-block-button__link:visited {
  color: var(--wp--preset--color--contrast);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--wp--custom--tovari--interaction--action);
  color: var(--wp--preset--color--accent-contrast);
  border-color: var(--wp--custom--tovari--interaction--action);
}

.wp-block-button.is-style-outline .wp-block-button__link:active {
  background: var(--wp--custom--tovari--interaction--pressed);
  color: var(--wp--preset--color--accent-contrast);
  border-color: var(--wp--custom--tovari--interaction--pressed);
}

@media (prefers-reduced-motion: reduce) {
  .wp-block-button__link {
    transition: none;
  }
}
/* Tovari section: Hero */
.custom--home-hero {
  position: relative;
  isolation: isolate;
  container: talvitie-hero/inline-size;
  background: var(--wp--preset--color--base);
}

.custom--home-hero > .wp-block-group:not(.custom--atmosphere) {
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.custom--home-hero .custom--copy {
  position: relative;
  z-index: 1;
}

.custom--home-hero > .wp-block-group > .wp-block-image {
  margin: 0;
}

.custom--home-hero > .wp-block-group > .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.custom--home-hero.is-style-tovari-split {
  min-height: clamp(30rem, 58.3vw, 42rem);
  padding-block: clamp(3.25rem, 7.2vw, 6.5rem) clamp(2rem, 4vw, 4rem);
  display: flex;
  align-items: center;
}

.custom--home-hero.is-style-tovari-split > .wp-block-group {
  display: block;
  position: static;
}

.custom--home-hero.is-style-tovari-split .custom--copy {
  max-width: 46rem;
  width: 66%;
}

.custom--home-hero.is-style-tovari-split > .wp-block-group > .wp-block-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.custom--home-hero.is-style-tovari-split > .wp-block-group > .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.custom--home-hero.is-style-tovari-centered .custom--copy {
  max-width: 52rem;
  margin-inline: auto;
}

.custom--home-hero.is-style-tovari-centered > .wp-block-group > .wp-block-image {
  margin-top: 2rem;
  max-height: 30rem;
  overflow: hidden;
}

.custom--home-hero.is-style-tovari-centered > .wp-block-group > .wp-block-image img {
  max-height: 30rem;
  object-fit: cover;
}

.custom--home-hero .custom--eyebrow {
  font-size: 0.72rem;
  margin-bottom: 1.2rem;
}

.custom--home-hero .custom--display {
  max-width: 100%;
  overflow-wrap: normal;
}

.custom--home-hero .custom--lead {
  max-width: clamp(27.5rem, 50vw, 32rem);
  font-size: clamp(1.125rem, 1.92vw, 1.25rem);
  line-height: 1.22;
}

.custom--home-hero .wp-block-buttons {
  margin-top: 1.7rem;
}

.custom--benefits {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.12fr) minmax(0, 1.23fr);
  width: 35rem;
  max-width: calc(100vw - 7.5rem);
  gap: 1rem;
  margin-top: 2.25rem;
}

.custom--benefit {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.custom--benefit > * {
  margin-block: 0;
}

.custom--benefit-symbol {
  display: block;
  width: 3.75rem;
  height: 3.75rem;
  flex: 0 0 3.75rem;
  padding: 0.8rem;
  border-radius: 50%;
  background: var(--wp--custom--tovari--surface--soft);
}

.custom--benefit-symbol .wp-block-image {
  margin: 0;
  width: 100%;
  height: 100%;
}

.custom--benefit-symbol img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.custom--benefits p {
  font-size: 0.875rem;
  line-height: 1.4;
  margin: 0;
  padding: 0;
}

@media (max-width: 781px) {
  .custom--home-hero.is-style-tovari-split {
    min-height: 0;
    padding-block: 3rem;
  }
  .custom--home-hero.is-style-tovari-split .custom--copy {
    width: 100%;
    max-width: 38rem;
  }
  .custom--home-hero.is-style-tovari-split > .wp-block-group > .wp-block-image img {
    object-position: 35% center;
    opacity: 0.2;
  }
  .custom--home-hero .custom--display {
    max-width: 18ch;
  }
  .custom--benefits {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
  }
  .custom--benefit {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  .custom--benefits p {
    font-size: 0.78rem;
  }
}
.custom--home-hero .wp-block-button__link {
  min-height: 3rem;
  font-size: 1rem;
  padding: 0.7rem 1.8rem;
}

.custom--home-hero .wp-block-button:first-child .wp-block-button__link {
  min-width: 11.375rem;
}

@media (min-width: 782px) {
  .custom--home-hero.is-style-tovari-split {
    overflow: visible;
  }
  .custom--home-hero.is-style-tovari-split > .wp-block-group > .wp-block-image {
    top: calc(-1 * var(--custom-header-underlay, 0px));
    height: calc(100% + var(--custom-header-underlay, 0px));
  }
}
@container talvitie-hero (min-width: 0px) {
  .custom--home-hero .custom--display {
    font-size: clamp(2.125rem, 5.85cqw, 4rem);
  }
  .custom--home-hero .custom--lead {
    font-size: clamp(1.0625rem, 1.92cqw, 1.25rem);
  }
}
/* Tovari section: Header */
.custom--navigation {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--wp--preset--color--line);
  background: rgba(255, 255, 255, 0.74);
  padding-block: 1rem;
  padding-inline: var(--custom-content-gutter);
}

.custom--nav-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto;
  padding-inline: 0;
}

.custom--nav-row > * {
  margin-block: 0;
}

.custom--site-logo {
  width: clamp(10rem, 23vw, 17rem);
  flex: 0 0 auto;
}

.custom--navigation .custom--site-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.custom--site-logo a {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 0.2rem;
}

.custom--site-logo a:hover {
  box-shadow: 0 0 0 3px var(--wp--preset--color--line);
}

.custom--site-logo a:active {
  background: var(--wp--preset--color--line);
  box-shadow: 0 0 0 3px var(--wp--custom--tovari--interaction--action);
}

.custom--navigation .wp-block-navigation {
  font-size: 0.8125rem;
  min-width: 0;
  margin-left: auto;
}

.custom--navigation .wp-block-navigation-item {
  font-size: inherit;
}

.custom--navigation .wp-block-navigation__container {
  gap: clamp(0.8rem, 1.5vw, 1.8rem);
}

.custom--navigation .wp-block-navigation-item__content {
  padding-block: 0.6rem;
  color: var(--wp--preset--color--contrast);
  box-shadow: inset 0 -2px transparent;
  text-decoration: none;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
  transition: color 160ms ease, box-shadow 160ms ease;
}

.custom--navigation .wp-block-navigation-item__content:visited {
  color: var(--wp--preset--color--contrast);
}

.custom--navigation .wp-block-navigation-item__content:hover {
  background: var(--wp--custom--tovari--surface--soft);
  color: var(--wp--custom--tovari--interaction--action);
  box-shadow: inset 0 -2px var(--wp--custom--tovari--interaction--action);
}

.custom--navigation .wp-block-navigation-item__content:active {
  background: var(--wp--preset--color--line);
  color: var(--wp--preset--color--contrast);
  box-shadow: inset 0 -3px var(--wp--preset--color--contrast);
}

.custom--navigation .current-menu-item > .wp-block-navigation-item__content,
.custom--navigation .current-menu-ancestor > .wp-block-navigation-item__content,
.custom--navigation .wp-block-navigation-item__content[aria-current=page] {
  box-shadow: inset 0 -3px var(--wp--custom--tovari--interaction--action);
  color: var(--wp--custom--tovari--interaction--action);
  text-decoration: none;
}

.custom--navigation a:focus-visible,
.custom--navigation button:focus-visible {
  outline: 3px solid var(--wp--preset--color--focus);
  outline-offset: 4px;
}

.custom--navigation .wp-block-navigation__responsive-container-open,
.custom--navigation .wp-block-navigation__responsive-container-close {
  min-height: 44px;
  min-width: 44px;
  border-radius: 0.2rem;
}

.custom--navigation .wp-block-navigation__responsive-container-open:hover,
.custom--navigation .wp-block-navigation__responsive-container-close:hover {
  background: var(--wp--preset--color--base);
}

.custom--navigation .wp-block-navigation__responsive-container-open:active,
.custom--navigation .wp-block-navigation__responsive-container-close:active {
  background: var(--wp--custom--tovari--interaction--pressed);
  color: var(--wp--preset--color--accent-contrast);
}

.custom--navigation .wp-block-navigation__responsive-container-open[aria-expanded=true] {
  background: var(--wp--custom--tovari--surface--soft);
  box-shadow: inset 0 -3px var(--wp--custom--tovari--interaction--action);
}

.custom--navigation .wp-block-navigation__submenu-container {
  background: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 0.3rem;
  box-shadow: 0 0.5rem 1.5rem rgba(23, 63, 115, 0.0784313725);
}

.custom--navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  padding: 0.8rem 1rem;
}

.custom--navigation .wp-block-navigation-submenu__toggle {
  border-radius: 0.2rem;
  min-width: 28px;
  min-height: 44px;
}

.custom--navigation .wp-block-navigation-submenu__toggle[aria-expanded] svg {
  transform: none;
  transition: none;
}

.custom--navigation .wp-block-navigation-submenu__toggle:hover {
  background: var(--wp--custom--tovari--surface--soft);
}

.custom--navigation .wp-block-navigation-submenu__toggle:active {
  background: var(--wp--custom--tovari--interaction--pressed);
  color: var(--wp--preset--color--accent-contrast);
}

.custom--navigation .wp-block-navigation-submenu__toggle[aria-expanded=true] {
  background: var(--wp--preset--color--line);
  color: var(--wp--preset--color--contrast);
}

.custom--navigation .wp-block-navigation-submenu__toggle[aria-expanded=true]:active,
.custom--navigation .wp-block-navigation__responsive-container-open[aria-expanded=true]:active {
  background: var(--wp--custom--tovari--interaction--pressed);
  color: var(--wp--preset--color--accent-contrast);
}

.custom--navigation .wp-block-buttons {
  flex: 0 0 auto;
}

.custom--navigation .wp-block-button__link {
  min-height: 2.75rem;
  min-width: 10rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.8125rem;
}

.custom--shell-intro {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding: clamp(2rem, 4vw, 3.5rem) var(--custom-content-gutter) 0;
  margin-block: 0;
}

.custom--shell-intro > div {
  width: 100%;
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto;
}

.custom--shell-intro .custom--page-title {
  max-width: 25ch;
  margin-inline: 0;
}

@media (min-width: 782px) and (max-width: 1000px) {
  .custom--nav-row {
    gap: 1rem;
  }
  .custom--navigation .wp-block-navigation__container {
    gap: 0.75rem;
  }
}
@media (max-width: 781px) {
  .custom--navigation .wp-block-buttons {
    display: none;
  }
  .custom--navigation {
    padding-block: 1.1rem;
  }
  .custom--site-logo {
    width: 11.5rem;
  }
  .custom--shell-intro {
    padding-top: 2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .custom--navigation .wp-block-navigation-item__content {
    transition: none;
  }
}
/* Tovari section: Content */
.custom--cards {
  padding-block: var(--wp--custom--tovari--layout--section-space);
}

.custom--cards > .wp-block-group:not(.custom--atmosphere) {
  gap: 1.25rem;
}

.custom--cards .custom--copy {
  max-width: none;
}

.custom--cards .custom--copy .custom--body {
  margin-block: 0;
  font-size: 1rem;
}

.custom--home-hero ~ .custom--cards .custom--services {
  --custom-card-bleed-start: max(0px, calc(var(--custom-content-gutter) - 4.8vw));
  --custom-card-bleed-end: max(0px, calc(var(--custom-content-gutter) - 3.8vw));
  width: min(100% + var(--custom-card-bleed-start) + var(--custom-card-bleed-end), var(--wp--style--global--wide-size));
  margin-inline-start: clamp(-1 * var(--custom-card-bleed-start), (100% - var(--wp--style--global--wide-size)) / 2, 0px);
}

.custom--services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
}

.custom--services > .custom--service-card {
  flex: 1 1 14rem;
}

.custom--service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--wp--preset--color--line);
  background: var(--wp--preset--color--surface);
  border-radius: var(--wp--custom--tovari--card--radius);
  padding: var(--wp--custom--tovari--card--padding);
  box-shadow: none;
  min-width: 0;
}

.custom--card-number {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wp--custom--tovari--surface--soft);
  color: var(--wp--preset--color--contrast);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.8rem;
}

.custom--service-symbol {
  width: 4rem;
  height: 4rem;
  margin: 0 0 0.55rem;
  padding: 0.7rem;
  border-radius: 50%;
  background: var(--wp--custom--tovari--surface--soft);
}

.custom--service-symbol .wp-block-image {
  margin: 0;
  width: 100%;
  height: 100%;
}

.custom--service-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.custom--service-card .custom--card-title {
  margin-block: 0 0.3rem;
}

.custom--service-card p {
  font-size: clamp(0.8125rem, 1.46vw, 1rem);
  line-height: 1.36;
  margin-block: 0.4rem 0;
}

.custom--service-card .wp-block-buttons {
  margin-top: auto;
  padding-top: 0.55rem;
  width: 100%;
}

.custom--service-card .wp-block-button {
  max-width: 100%;
}

.custom--service-card .wp-block-button__link {
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  text-align: left;
  border-radius: 0.35rem;
  min-height: 2rem;
}

.custom--story {
  background: var(--wp--preset--color--base);
  padding-block: 0;
}

.custom--story.is-style-tovari-split > .wp-block-group:not(.custom--atmosphere) {
  grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-inline: 0;
}

.custom--story.is-style-tovari-split > .wp-block-group:not(.custom--atmosphere) > .wp-block-image {
  order: -1;
  margin: 0;
}

.custom--story > .wp-block-group:not(.custom--atmosphere) > .wp-block-image img {
  aspect-ratio: 1.067;
  max-height: none;
  object-fit: contain;
  border-radius: 0;
}

.custom--story.is-style-tovari-centered > .wp-block-group:not(.custom--atmosphere) > .wp-block-image {
  max-width: 25rem;
  margin: 2rem auto 0;
}

.custom--story .custom--copy {
  max-width: 48rem;
  padding-block: 1.75rem;
}

.custom--story .custom--body {
  margin-block: 0.8rem;
}

.custom--story .custom--eyebrow {
  margin-bottom: 0.8rem;
}

.custom--credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.5rem;
  margin-top: 1.25rem;
}

.custom--credentials .custom--credential {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  padding-inline-end: 0.75rem;
  border-inline-end: 1px solid var(--wp--preset--color--line);
}

.custom--credentials .custom--credential:last-child {
  border-inline-end: 0;
}

.custom--form-caption {
  margin-block: 0.75rem 0;
  font-size: 0.8rem;
  text-align: center;
}

.custom--contact {
  background: var(--wp--custom--tovari--surface--warm);
  padding-block: 1.5rem;
}

.custom--contact .custom--copy {
  max-width: 46rem;
}

.custom--contact .wp-block-buttons {
  margin-top: 1.6rem;
}

.custom--contact.is-style-tovari-split > .wp-block-group:not(.custom--atmosphere) {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3.4vw, 3rem);
  align-items: start;
}

.custom--contact.is-style-tovari-split .custom--copy {
  padding-top: 1rem;
}

.custom--contact-form {
  padding: 1rem 1.25rem 0.8rem;
  border: 1px solid var(--wp--preset--color--line);
  border-radius: var(--wp--custom--tovari--card--radius);
  background: var(--wp--preset--color--surface);
}

.custom--contact-form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=hidden]),
.custom--contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 0.3rem;
  font: inherit;
  color: var(--wp--preset--color--contrast);
  background: var(--wp--preset--color--surface);
}

.custom--contact-form textarea {
  resize: vertical;
  min-height: 3.75rem;
}

.custom--contact-form input:focus-visible,
.custom--contact-form textarea:focus-visible {
  border-color: var(--wp--preset--color--accent);
  outline: 3px solid var(--wp--preset--color--focus);
  outline-offset: 3px;
}

.custom--contact-form .gform-theme.gform-theme--framework.gform_wrapper {
  --gf-form-gap-y: 8px;
  --gf-form-footer-margin-y-start: 10px;
  --gf-field-gap-y: 0.5rem;
  --gf-ctrl-size: 32px;
  --gf-ctrl-textarea-height: 3.75rem;
  --gf-ctrl-textarea-resize: vertical;
  --gf-ctrl-font-size: 1rem;
  --gf-ctrl-btn-font-size: 1rem;
  --gf-ctrl-btn-radius: 100px;
}

.custom--contact-form .gform-theme.gform-theme--framework.gform_wrapper .gform_footer .gform_button {
  width: 100%;
  inline-size: 100%;
  min-height: 40px;
  padding: 0.5rem 1.25rem;
  background: var(--wp--custom--tovari--interaction--action);
  color: var(--wp--preset--color--accent-contrast);
  border: 1px solid var(--wp--custom--tovari--interaction--action);
  border-radius: var(--wp--custom--button--border-radius);
  transform: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.custom--contact-form .gform-theme.gform-theme--framework.gform_wrapper .gform_footer .gform_button:hover {
  background: var(--wp--preset--color--contrast);
  border-color: var(--wp--preset--color--contrast);
  transform: none;
}

.custom--contact-form .gform-theme.gform-theme--framework.gform_wrapper .gform_footer .gform_button:focus-visible {
  outline: 3px solid var(--wp--preset--color--focus);
  outline-offset: 4px;
}

.custom--contact-form .gform-theme.gform-theme--framework.gform_wrapper .gform_footer .gform_button:active {
  background: var(--wp--custom--tovari--interaction--pressed);
  border-color: var(--wp--custom--tovari--interaction--pressed);
  box-shadow: inset 0 0 0 2px var(--wp--preset--color--accent-contrast);
  transform: none;
}

.custom--contact-form .gform-theme.gform-theme--framework.gform_wrapper .gform_footer .gform_button:disabled {
  background: var(--wp--preset--color--line);
  border-color: var(--wp--preset--color--line);
  color: var(--wp--preset--color--muted);
  cursor: wait;
}

@media (prefers-reduced-motion: reduce) {
  .custom--contact-form .gform-theme.gform-theme--framework.gform_wrapper .gform_footer .gform_button {
    transition: none;
  }
}
@media (min-width: 782px) and (max-width: 1100px) {
  .custom--services > .custom--service-card {
    flex-basis: 22%;
    padding: 0.875rem;
  }
}
@media (max-width: 781px) {
  .custom--services > .custom--service-card {
    flex-basis: 17rem;
  }
  .custom--story.is-style-tovari-split > .wp-block-group:not(.custom--atmosphere),
  .custom--contact.is-style-tovari-split > .wp-block-group:not(.custom--atmosphere) {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .custom--contact.is-style-tovari-split .custom--copy {
    padding-top: 0;
  }
  .custom--story > .wp-block-group:not(.custom--atmosphere) > .wp-block-image {
    max-width: 25rem;
  }
  .custom--story .custom--copy {
    padding-block: 0 1.5rem;
  }
  .custom--home-hero ~ .custom--cards .custom--services {
    width: 100%;
    margin-inline-start: 0;
  }
  .custom--service-card .custom--card-title {
    min-height: 0;
  }
}
.custom--contact .custom--copy > .wp-block-buttons {
  gap: 1.2rem;
  margin-top: 1rem;
}

.custom--contact .custom--copy > .wp-block-buttons .wp-block-button__link {
  background: transparent;
  color: var(--wp--preset--color--contrast);
  border-color: transparent;
  padding: 0.3rem 0;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.custom--contact .custom--copy > .wp-block-buttons .wp-block-button__link:hover {
  color: var(--wp--custom--tovari--interaction--action);
  background: var(--wp--custom--tovari--surface--soft);
}

.custom--contact .custom--copy > .wp-block-buttons .wp-block-button__link:active {
  background: var(--wp--preset--color--line);
}

.custom--contact-form .gform-theme.gform-theme--framework.gform_wrapper .ginput_container input {
  min-height: 32px;
  height: 32px;
  padding-block: 0.25rem;
}

.custom--contact-form .gform-theme.gform-theme--framework.gform_wrapper .ginput_container textarea {
  min-height: 60px;
  height: 60px;
}

.custom--contact-form .gform-theme.gform-theme--framework.gform_wrapper .gform_fields {
  row-gap: 8px;
}

.custom--credentials .custom--credential-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-inline-end: 0.5rem;
  border-inline-end: 1px solid var(--wp--preset--color--line);
}

.custom--credentials .custom--credential-item:last-child {
  border-inline-end: 0;
  padding-inline-end: 0;
}

.custom--credential-item .wp-block-image {
  flex: 0 0 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
}

.custom--credential-item .wp-block-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.custom--credentials .custom--credential-item p {
  padding: 0;
  border: 0;
  margin: 0;
  font-size: clamp(0.6875rem, 1.24vw, 0.875rem);
}

.custom--credentials > * {
  margin-block: 0;
}

.custom--cards, .custom--story, .custom--contact {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

.custom--atmosphere {
  max-width: none;
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
  pointer-events: none;
  opacity: 0.08;
}

.custom--atmosphere .wp-block-image {
  margin: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

.custom--atmosphere .wp-block-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 30% 70%;
  border-radius: 0;
}

.custom--story .custom--atmosphere {
  opacity: 0.07;
}

.custom--contact .custom--contact-plant {
  inset: auto auto -7rem -3rem;
  width: 18rem;
  height: 25rem;
  opacity: 0.3;
  filter: blur(4px);
}

.custom--contact-plant .wp-block-image img {
  object-position: right top;
  object-fit: none;
  width: 160%;
  max-width: none;
  height: 160%;
  transform: scaleX(-1);
}

.custom--contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  align-items: center;
  margin-top: 1.25rem;
}

.custom--contact-detail {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  min-width: 0;
  flex: 1 1 7rem;
}

.custom--contact-detail > * {
  margin-block: 0;
}

.custom--contact-detail .wp-block-image {
  flex: 0 0 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
}

.custom--contact-detail .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.custom--contact-detail p {
  font-size: 0.75rem;
  line-height: 1.5;
}

.custom--contact-detail a {
  display: inline-block;
  min-height: 2.75rem;
  align-content: center;
  overflow-wrap: anywhere;
}

@media (max-width: 781px) {
  .custom--contact-details {
    max-width: 38rem;
  }
  .custom--contact-detail {
    flex-basis: 9rem;
  }
}
.custom--story .custom--body, .custom--contact .custom--body {
  font-size: 1rem;
  line-height: 1.45;
}

.custom--contact-detail:nth-child(2) {
  flex-grow: 1.3;
}

.custom--contact-detail:first-child {
  flex-grow: 1.1;
}

@media (min-width: 782px) {
  .custom--story.is-style-tovari-split > .wp-block-group:not(.custom--atmosphere) > .wp-block-image {
    width: calc(100% + var(--custom-content-gutter));
    margin-inline-start: calc(-1 * var(--custom-content-gutter));
  }
  .custom--contact-details {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 0.7rem;
  }
  .custom--contact-detail p {
    font-size: 0.6875rem;
  }
  .custom--contact-detail a {
    white-space: nowrap;
    overflow-wrap: normal;
  }
}
/* Tovari section: Custom */
.custom--site > .wp-site-blocks {
  min-height: calc(100svh - var(--wp-admin--admin-bar--height, 0px));
  display: flex;
  flex-direction: column;
}

.custom--site > .wp-site-blocks > .wp-block-template-part {
  flex: 0 0 auto;
}

.custom--site .custom--main {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
}

.custom--site .custom--main > .wp-block-post-content {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
}

.custom--site .custom--main > .wp-block-post-content > .custom--section {
  flex-shrink: 0;
}

.custom--site .custom--main > .wp-block-post-content > .custom--section:last-child {
  display: grid;
  align-content: center;
  flex-grow: 1;
}

.custom--main {
  padding: 0;
  margin-block: 0;
}

.custom--main > .wp-block-post-content {
  max-width: none;
  min-height: 0;
  margin: 0;
}

.custom--section, .custom--navigation, .custom--shell-intro, .custom--footer {
  --custom-content-gutter: var(--wp--custom--tovari--layout--gutter, clamp(1.25rem, 6.76vw, 6rem));
}

.custom--section {
  margin-block: 0;
}

:where(.custom--section) {
  padding-block: var(--wp--custom--tovari--layout--section-space);
  padding-inline: var(--custom-content-gutter);
}

.custom--section > .wp-block-group:not(.custom--atmosphere) {
  width: 100%;
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto;
}

.custom--section.is-style-tovari-split:not(.custom--home-hero):not(.custom--story) > .wp-block-group:not(.custom--atmosphere) {
  align-items: start;
}

.custom--section.is-style-tovari-split:not(.custom--home-hero):not(.custom--story):not(.custom--contact) .custom--section-title {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
}

.custom--section.is-style-tovari-split:not(.custom--home-hero):not(.custom--story):not(.custom--contact) > .wp-block-group:not(.custom--atmosphere) > .wp-block-image {
  aspect-ratio: 4/3;
  width: 100%;
  margin: 0;
}

.custom--section.is-style-tovari-split:not(.custom--home-hero):not(.custom--story):not(.custom--contact) > .wp-block-group:not(.custom--atmosphere) > .wp-block-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.custom--copy {
  min-width: 0;
}

.custom--copy > :first-child {
  margin-top: 0;
}

.custom--copy > :last-child {
  margin-bottom: 0;
}

.custom--copy a:not(.wp-element-button) {
  color: var(--wp--preset--color--contrast);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.custom--copy a:not(.wp-element-button):visited {
  color: var(--wp--preset--color--contrast);
}

.custom--copy a:not(.wp-element-button):hover {
  color: var(--wp--custom--tovari--interaction--action);
  text-decoration-thickness: 2px;
}

.custom--copy a:not(.wp-element-button):focus-visible {
  outline: 3px solid var(--wp--preset--color--focus);
  outline-offset: 3px;
}

.custom--copy a:not(.wp-element-button):active {
  color: var(--wp--custom--tovari--interaction--pressed);
  background: var(--wp--preset--color--line);
}

.custom--preview-notice {
  background: var(--wp--preset--color--contrast);
  color: var(--wp--preset--color--surface);
  font-size: 0.75rem;
  text-align: center;
  padding: 0.45rem 1rem;
}

.custom--preview-notice p {
  margin: 0;
}

.custom--skip {
  position: absolute;
  top: -8rem;
  left: 1rem;
  z-index: 100;
  padding: 0.8rem 1.2rem;
  background: var(--wp--preset--color--surface);
  color: var(--wp--preset--color--contrast);
}

.custom--skip:focus {
  top: 1rem;
}

@media (max-width: 544px) {
  .custom--section, .custom--navigation, .custom--shell-intro, .custom--footer {
    --custom-content-gutter: 1.25rem;
  }
  .custom--benefits {
    gap: 0.6rem;
  }
}
/* Tovari section: Footer */
.custom--footer {
  background: var(--wp--preset--color--contrast);
  color: #fffefa;
  padding: 0 var(--custom-content-gutter);
  font-size: 0.875rem;
  line-height: 1.6;
}

.custom--footer-part {
  margin-block: 0;
}

.custom--footer-row {
  width: 100%;
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto;
}

.custom--footer-row > *, .custom--footer-main > *, .custom--footer-links > *, .custom--footer-contact > *, .custom--footer-contact-details > *, .custom--footer-detail > *, .custom--footer-bottom > *, .custom--footer-legal > *, .custom--credits > * {
  min-width: 0;
  margin-block: 0;
}

.custom--footer-main {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr 1.2fr;
  gap: 2.625rem;
  align-items: start;
  padding-block: 2.875rem 2.25rem;
}

.custom--footer-brand .wp-block-image {
  margin: 0;
  width: 14.75rem;
  max-width: 100%;
}

.custom--footer-brand img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.custom--footer-brand .custom--footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.75;
  max-width: 29ch;
  margin-block: 1.4375rem 0.875rem;
  color: #e2e9ed;
}

.custom--footer-brand .custom--footer-signature {
  color: #accabc;
  font-size: 0.625rem;
  letter-spacing: 0.025em;
  margin: 0;
}

.custom--footer-links {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.625rem;
  padding-top: 0.3125rem;
}

.custom--footer-heading {
  font-size: 0.625rem;
  color: #b8d3c7;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.75rem;
}

.custom--footer-link-group .wp-block-navigation {
  margin: 0;
  font-size: 0.75rem;
}

.custom--footer .wp-block-navigation__container {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.125rem;
}

.custom--footer .wp-block-navigation-item {
  font-size: inherit;
  width: 100%;
}

.custom--footer .wp-block-navigation-item__content {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding-block: 0.3125rem;
  border-radius: 2px;
  line-height: 1.55;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2196078431);
  text-underline-offset: 0.3em;
  text-decoration-thickness: 1px;
}

.custom--footer a, .custom--footer a:visited {
  color: inherit;
}

.custom--footer a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.0705882353);
  text-decoration-color: currentColor;
}

.custom--footer a:active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1450980392);
}

.custom--footer .current-menu-item > .wp-block-navigation-item__content, .custom--footer .wp-block-navigation-item__content[aria-current=page] {
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
}

.custom--footer button:focus-visible, .custom--footer a:focus-visible {
  outline: 3px solid #c4dfcf;
  outline-offset: 4px;
}

.custom--footer-contact {
  border-left: 1px solid rgba(255, 255, 255, 0.1882352941);
  padding-left: 1.875rem;
}

.custom--footer .custom--footer-title {
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: #fffefa;
  margin: 0 0 1rem;
}

.custom--footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.3125rem;
}

.custom--footer-detail {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 38px;
}

.custom--footer-detail .wp-block-image {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  margin: 0;
}

.custom--footer-detail img {
  display: block;
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.custom--footer-detail p {
  font-size: 1.1875rem;
  line-height: 1.55;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}

.custom--footer-detail a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding-block: 4px;
  border-radius: 2px;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2196078431);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

.custom--footer-detail-phone p {
  font-size: 1.125rem;
}

.custom--footer-detail-pin {
  min-height: 30px;
}

.custom--footer-detail-pin p {
  font-size: 0.6875rem;
  color: #d0dfe6;
  letter-spacing: 0;
}

.custom--footer .wp-block-social-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin: 1rem 0 0;
  padding: 0;
  font-size: 2rem;
}

.custom--footer .wp-social-link {
  margin: 0;
  color: white;
  background: transparent;
  border: 0;
  border-radius: 50%;
  transform: none;
  transition: background-color 150ms, border-color 150ms;
}

.custom--footer .wp-social-link:hover {
  transform: none;
}

.custom--footer .wp-block-social-link-anchor {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.2509803922);
  background: rgba(255, 255, 255, 0.0705882353);
  border-radius: inherit;
  font-size: inherit;
  line-height: 1;
}

.custom--footer .wp-block-social-link-anchor svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.custom--footer .wp-block-social-link-anchor:hover {
  background: rgba(255, 255, 255, 0.168627451);
  border-color: white;
  color: white;
}

.custom--footer .wp-block-social-link-anchor:active {
  background: rgba(255, 255, 255, 0.2509803922);
}

.custom--footer-partner-band {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.0625rem 1.625rem;
  border-radius: 5px;
  background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--contrast);
}

.custom--footer-partner-band > * {
  margin-block: 0;
  min-width: 0;
}

.custom--footer-partner-label {
  max-width: 12ch;
  flex-shrink: 0;
  color: #5d7076;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  line-height: 1.7;
}

.custom--partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
  flex: 1;
  width: 100%;
  padding: 0;
}

.custom--partners .wp-block-image {
  display: flex;
  flex: 1 1 110px;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 158px;
  min-width: 0;
  height: 58px;
  margin: 0;
}

.custom--partners img {
  display: block;
  max-width: 100%;
  object-fit: contain;
}

.custom--partners .custom--partner-procountor img {
  width: 110px;
  height: 48px;
}

.custom--partners .custom--partner-netvisor img {
  width: 100px;
  height: 58px;
}

.custom--partners .custom--partner-fennoa img {
  width: 158px;
  height: 58px;
}

.custom--partners .custom--partner-tal img {
  width: 142px;
  height: 43px;
}

.custom--partners .custom--partner-member img {
  width: 108px;
  height: 54px;
}

.custom--footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.375rem;
  padding-block: 0.875rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1882352941);
}

.custom--credits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.125rem;
  color: #cfdae2;
}

.custom--credits p {
  font-size: 0.625rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.custom--footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem 1.625rem;
  flex-shrink: 0;
}

.custom--footer-legal p {
  font-size: 0.75rem;
  line-height: 1.7;
}

.custom--footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
  border-radius: 2px;
}

@media (max-width: 1050px) {
  .custom--footer-main {
    grid-template-columns: 1fr 1.15fr;
    gap: 1.75rem 2.75rem;
    padding-top: 2.25rem;
  }
  .custom--footer-brand {
    grid-column: 1;
    grid-row: 1;
  }
  .custom--footer-contact {
    grid-column: 2;
    grid-row: 1;
  }
  .custom--footer-links {
    grid-column: 1/-1;
    grid-row: 2;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1490196078);
    padding-top: 1.375rem;
  }
  .custom--footer .wp-block-navigation__container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 1.375rem;
  }
  .custom--footer .wp-block-navigation-item {
    width: auto;
  }
  .custom--footer-heading {
    margin-bottom: 0.375rem;
  }
  .custom--footer-brand .custom--footer-tagline {
    margin-block: 1.125rem 0.75rem;
  }
  .custom--footer .custom--footer-title {
    font-size: 1.6875rem;
  }
  .custom--footer-detail-mail p {
    font-size: 1.25rem;
  }
  .custom--credits {
    max-width: 25rem;
  }
}
@media (max-width: 620px) {
  .custom--footer-main {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding-block: 2rem 1.75rem;
  }
  .custom--footer-brand {
    grid-column: 1;
    grid-row: 1;
  }
  .custom--footer-brand .wp-block-image {
    width: 14.0625rem;
  }
  .custom--footer-brand .custom--footer-tagline {
    font-size: 0.875rem;
    margin-block: 1.125rem 0.625rem;
  }
  .custom--footer-contact {
    grid-column: 1;
    grid-row: 2;
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1490196078);
    padding-top: 1.5rem;
  }
  .custom--footer .custom--footer-title {
    margin-bottom: 0.875rem;
  }
  .custom--footer-links {
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.375rem;
    padding-top: 1.5rem;
  }
  .custom--footer-heading {
    margin-bottom: 0.625rem;
  }
  .custom--footer .wp-block-navigation__container {
    flex-direction: column;
    gap: 0.125rem;
  }
  .custom--footer .wp-block-navigation-item__content {
    min-height: 38px;
  }
  .custom--footer-partner-band {
    display: block;
    padding: 1.25rem 1.125rem;
  }
  .custom--footer-partner-label {
    max-width: none;
    font-size: 0.5625rem;
    margin-bottom: 1.125rem;
  }
  .custom--partners {
    gap: 1.125rem 0.875rem;
  }
  .custom--partners .wp-block-image {
    flex-basis: calc((100% - 0.875rem) / 2);
    max-width: calc((100% - 0.875rem) / 2);
  }
  .custom--partners .custom--partner-procountor img {
    width: 104px;
    height: 48px;
  }
  .custom--partners .custom--partner-netvisor img {
    width: 96px;
    height: 56px;
  }
  .custom--partners .custom--partner-tal img {
    width: 127px;
    height: 40px;
  }
  .custom--partners .custom--partner-member img {
    width: 106px;
    height: 53px;
  }
  .custom--footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-block: 1rem 1.125rem;
  }
  .custom--credits {
    display: block;
  }
  .custom--credits p + p {
    margin-top: 3px;
  }
  .custom--footer-legal {
    justify-content: flex-start;
  }
}
@media (max-width: 350px) {
  .custom--footer-detail-mail p {
    font-size: 1.125rem;
  }
  .custom--footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .custom--footer-link-group .wp-block-navigation {
    font-size: 0.6875rem;
  }
  .custom--footer-brand .wp-block-image {
    width: 13.25rem;
  }
  .custom--footer-partner-band {
    padding-inline: 0.875rem;
  }
  .custom--partners {
    gap: 1.125rem 0.75rem;
  }
  .custom--partners .wp-block-image {
    flex-basis: calc((100% - 0.75rem) / 2);
    max-width: calc((100% - 0.75rem) / 2);
  }
}
@media (prefers-reduced-motion: reduce) {
  .custom--footer .wp-social-link {
    transition: none;
  }
}
/* Tovari section: Backgrounds */
.editor-styles-wrapper .custom--home-hero.is-style-tovari-split {
  min-height: 0;
  padding-block: 0;
}
.editor-styles-wrapper .custom--home-hero.is-style-tovari-split > .wp-block-group {
  padding-block: clamp(3rem, 7.2cqw, 6.5rem) clamp(2rem, 4cqw, 4rem);
}
.editor-styles-wrapper .custom--home-hero.is-style-tovari-split > .wp-block-group > .wp-block-image {
  inset: 0;
  height: 100%;
}
.editor-styles-wrapper .custom--home-hero.is-style-tovari-split > .wp-block-group > .wp-block-image img {
  height: 100%;
  object-fit: cover;
}
.editor-styles-wrapper .custom--section .custom--atmosphere.block-editor-block-list__block {
  position: absolute;
  margin: 0;
}
.editor-styles-wrapper .custom--section .custom--atmosphere.block-editor-block-list__block > .wp-block-image {
  margin: 0;
  height: 100%;
  max-width: none;
}
.editor-styles-wrapper .custom--section .custom--atmosphere.block-editor-block-list__block > .wp-block-image img {
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}
.editor-styles-wrapper .custom--section .custom--contact-plant > .wp-block-image img {
  width: 160%;
  height: 160%;
  object-fit: none;
}
.editor-styles-wrapper .custom--section {
  margin-block: 0;
}
.editor-styles-wrapper .custom--story {
  container: talvitie-editor-story/inline-size;
}
.editor-styles-wrapper .custom--contact {
  container: talvitie-editor-contact/inline-size;
}
.editor-styles-wrapper .custom--services > .custom--service-card,
.editor-styles-wrapper .custom--benefits > .custom--benefit,
.editor-styles-wrapper .custom--credentials > .custom--credential-item,
.editor-styles-wrapper .custom--contact-details > .custom--contact-detail,
.editor-styles-wrapper .custom--contact-detail > .wp-block-image,
.editor-styles-wrapper .custom--contact-detail > p,
.editor-styles-wrapper .custom--benefit > .custom--benefit-symbol,
.editor-styles-wrapper .custom--benefit > p,
.editor-styles-wrapper .custom--credential-item > .wp-block-image,
.editor-styles-wrapper .custom--credential-item > p {
  margin-block: 0;
}
.editor-styles-wrapper .custom--contact-detail > p {
  min-width: 0;
  flex: 1 1 auto;
}

@container talvitie-hero (max-width: 781px) {
  .editor-styles-wrapper .custom--home-hero.is-style-tovari-split .custom--copy {
    width: 100%;
    max-width: 38rem;
  }
  .editor-styles-wrapper .custom--home-hero.is-style-tovari-split > .wp-block-group > .wp-block-image img {
    object-position: 35% center;
    opacity: 0.2;
  }
  .editor-styles-wrapper .custom--home-hero.is-style-tovari-split .custom--display {
    max-width: 18ch;
  }
  .editor-styles-wrapper .custom--home-hero.is-style-tovari-split .custom--benefits {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
  }
  .editor-styles-wrapper .custom--home-hero.is-style-tovari-split .custom--benefit {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  .editor-styles-wrapper .custom--home-hero.is-style-tovari-split .custom--benefits p {
    font-size: 0.78rem;
  }
}
@container talvitie-editor-story (max-width: 781px) {
  .editor-styles-wrapper .custom--story.is-style-tovari-split > .wp-block-group {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding-inline: 1.25rem;
  }
  .editor-styles-wrapper .custom--story.is-style-tovari-split > .wp-block-group > .wp-block-image {
    width: 100%;
    max-width: 25rem;
    margin-inline: auto;
  }
  .editor-styles-wrapper .custom--story .custom--copy {
    padding-block: 0 1.5rem;
  }
}
@container talvitie-editor-contact (max-width: 781px) {
  .editor-styles-wrapper .custom--contact.is-style-tovari-split > .wp-block-group {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .editor-styles-wrapper .custom--contact.is-style-tovari-split .custom--copy {
    padding-top: 0;
  }
  .editor-styles-wrapper .custom--contact.is-style-tovari-split .custom--contact-details {
    display: flex;
    flex-wrap: wrap;
    max-width: 38rem;
    gap: 0.5rem 0.85rem;
  }
  .editor-styles-wrapper .custom--contact.is-style-tovari-split .custom--contact-detail {
    flex-basis: 9rem;
  }
  .editor-styles-wrapper .custom--contact.is-style-tovari-split .custom--contact-detail p {
    font-size: 0.75rem;
  }
  .editor-styles-wrapper .custom--contact.is-style-tovari-split .custom--contact-detail a {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
/* Tovari section: Overrides */
