:root {
  --color-main-background: #FFFFFF;
  --color-main-text: #191D23;
  --color-primary: #30E9A7;
  --color-button: #00B0AC;
  --color-green: #006980;
  --color-error: #FF4144;
  --color-light-gray: #F5F5F5;
  --color-gray: #888888;
  --color-neutralis-dark: #2E2E3C;
  --color-border: #8B8D90;
  --color-purple: #BFB0FF;

  --indent-container: clamp(15px, calc(100vw * 30 / 1440), 30px);

  --layout-negative: -1;
  --layout-default: 1;
  --layout-interaction: 5;
  --layout-dropdown: 10;
  --layout-sticky: 100;
  --layout-tooltip: 500;
  --layout-modal: 1000;
}

@font-face {
  font-family: "Helios";
  src: url("../fonts/helios_regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helios";
  src: url("../fonts/helios_light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

html {
  height: 100%;
  overflow-x: hidden;
}

body {
  background: var(--color-main-background);
  font: 300 18px "Helios", sans-serif;
  line-height: 1.29;
  color: var(--color-main-text);
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;

  @media (hover: none) {
    overflow-x: hidden;
  }

}

main {
  height: auto;
  min-height: 100vh;

  @supports (min-height: 100dvh) {
    min-height: 100dvh;
  }
}

section {
  position: relative;
}

.container,
.container.is-layout-flex {
  display: block !important;
  width: 100%;
  max-width: 1440px;
  padding-inline: var(--indent-container);
  margin-inline: auto;
}

.breadcrumbs {
  margin-bottom: 1rem;
  font-size: 12px;

  @media (max-width: 1200px) {
    padding-top: 1rem;
  }

}

/*# Reset Guntenberg: ---------------------- */

.is-layout-flex:not(.wp-block-columns) {
  align-items: initial !important;
  flex-wrap: initial !important;
}

:where(.is-layout-flex) {
  gap: initial;
}

/*# Colors: -------------------------------- */

.accent {
  color: var(--color-primary);
}

.color--white {
  color: white;
}

/* # Component: Hover Cloud */
/* Зелёное свечение следует за курсором. JS (initHoverClouds) обновляет --x, --y. */
.hover-cloud {
  position: relative;
  overflow: hidden;

  span {
    position: relative;
    z-index: 1;
  }

  &::after {
    content: "";
    position: absolute;
    top: var(--y, 50%); /* задаётся через JS: initHoverClouds() */
    left: var(--x, 50%); /* задаётся через JS: initHoverClouds() */
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, #00ff88 0%, transparent 70%);
    transition: opacity 0.2s ease;
    pointer-events: none;
    opacity: 0;
    z-index: 0;
  }

  &:hover::after {
    opacity: 1;
  }
}

.accent-button {
  color: var(--color-button);
}

.white-button {
  padding: 15px;
  background: var(--color-main-background);
  font-weight: 400;
  color: var(--color-main-text);
  text-decoration: none !important;
}

.green-button {
  padding: 10px 14px;
  background: var(--color-primary);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-main-text);
  text-align: center;
  text-decoration: none !important;
  transition: filter .25s ease-in;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
  will-change: filter;

  @media (hover: hover) {
    &:hover {
      filter: brightness(0.85)
    }
  }

}

.accent-green {
  color: var(--color-green);
}

.accent-purple {
  color: var(--color-purple);
}

.alter-bg {
  background-color: var(--color-button);
}

/*# Typography: ---------------------------- */

.h1, h1.wp-block-heading {
  font: 400 clamp(50px, 6.25vw, 90px) "Helios", sans-serif;
  line-height: 1;
  letter-spacing: -0.12rem;

  @media (max-width: 520px) {
    line-height: 1.08;
    letter-spacing: 0.07rem;
  }

  @media (max-width: 370px) {
    font-size: calc(100vw * 50 / 370);
  }
}

.h2, h2.wp-block-heading {
  font: 400 clamp(40px, 3.472vw, 50px) "Helios", sans-serif;
  line-height: 1;

  @media (max-width: 370px) {
    font-size: calc(100vw * 40 / 370);
  }
}

.h3, h3.wp-block-heading {
  font: 400 clamp(24px, 2.083vw, 30px) "Helios", sans-serif;
  line-height: 1.1;
  letter-spacing: -0.036rem;

  @media (max-width: 370px) {
    font-size: calc(100vw * 24 / 370);
  }
}

.h4, h4.wp-block-heading {
  font: 400 20px "Helios", sans-serif;
  line-height: 1.2;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
  text-wrap: balance;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

a {
  @media (hover: hover) {
    &:hover {
      text-decoration: underline;
      text-decoration-color: inherit;
      text-underline-offset: 0.2rem;
      text-decoration-thickness: 0.01rem;
    }
  }
}

/*# Fields: -------------------------------- */

.search-field {
  display: flex;
  align-items: center;
  width: 100%;
  height: 32px;
  border-bottom: 1px solid var(--color-border);

  input {
    width: 100%;
    height: 100%;
    padding: 8px 0;
    font-size: 20px;
  }

  input::placeholder {
    color: rgba(25, 29, 35, 0.5);
  }

  .button-clear {
    width: 24px;
    aspect-ratio: 1 / 1;
    background: url("../images/icons/icon_close.svg") no-repeat 50% 50%/contain;
    transition: opacity .1s linear, scale .1s linear;
    opacity: 0;
    cursor: pointer;
    scale: 0;
    will-change: opacity, scale;
  }

  .button-clear:active {
    scale: 0.8;
  }

  @media (hover: hover) {
    .header-middle .search-button:hover {
      scale: 1.1;
    }
  }

  &.has-value .button-clear {
    opacity: 1;
    scale: 1;
  }

}

/*# Buttons: ------------------------------- */

button {
  padding: initial;
}

.button {
  padding: 16px 15px 15px;
}

.button-search {
  width: 24px;
  aspect-ratio: 1 / 1;
  background: url("../images/icons/icon_search.svg") no-repeat 50% 50%/contain;
  transition: scale .2s ease-in;
  will-change: scale;

  @media (hover: hover) {
    &:hover {
      scale: 1.1;
    }
  }

  &:active {
    scale: 0.8;
  }
}

.more-detailed {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  cursor: pointer;

  &::after {
    content: "";
    position: relative;
    top: 9%;
    width: 16px;
    aspect-ratio: 1/1;
    background: url("../images/icons/more_detailed.svg") no-repeat 50% 50%/contain;
    transition: transform .25s ease-in;
    will-change: transform;
  }

  @media (hover: hover) {
    &:hover {
      &::after {
        transform: rotate(45deg);
      }
    }
  }

  &:active::after {
    transform: translateX(15%) rotate(45deg);
  }

  a {
    text-decoration: none;
  }

}

.wp-block-file {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;

  &::after {
    content: "";
    position: relative;
    top: 2%;
    display: block;
    width: 24px;
    aspect-ratio: 1/1;
    background: url("../images/icons/icon_download.svg") no-repeat 50% 50%/contain;
    transition: transform .15s ease-in;
    will-change: transform;
  }

  a {
    font-size: 20px;
    font-weight: 400;
    text-decoration: none;
  }

  @media (hover: hover) {
    &:hover::after {
      transform: translateY(2px) scaleY(0.85);
    }
  }

}

.h3.more-detailed,
h3.wp-block-heading.more-detailed {
  align-items: flex-start;
  width: min-content;

  &::after {
    top: 6px;
    width: 30px;
  }
}

.drop-down__list-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  &::after {
    content: "";
    width: 12px;
    height: 12px;
    border-bottom: 2px solid #000;
    border-left: 2px solid #000;
    transition: transform .15s ease-in;
    rotate: -45deg;
    will-change: transform;
  }

  &:not(.active)::after {
    transform: translate(-37%, 52%) scale(-1, -1);
  }
}

.drop-down__list {
  max-height: 0;
  transition: max-height .25s ease-in;
  overflow: hidden;
  will-change: max-height;
}

.drop-down__button-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  background: #D9D9D9;

  span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 400;
    color: #000;

    &::after {
      content: "";
      display: block;
      flex-shrink: 0;
      width: 12px;
      height: 12px;
      border-bottom: 2px solid #000;
      border-left: 2px solid #000;
      transform: rotate(-45deg);
    }
  }

  &.active span:after {
    transform: translateY(5px) scale(-1, -1) rotate(-45deg)
  }

}

.--copy {
  position: relative;
  padding-right: 34px;
  cursor: pointer;

  &::before,
  &::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    aspect-ratio: 1/1;
    background: url("../images/icons/icon_copy.svg") no-repeat 50% 50%/contain;
    opacity: 0.8;
  }

  &::after {
    opacity: 0.5;
  }

  &:active::before {
    transform: scale(0.8);
  }

  @media (hover: hover) {
    &:hover::before {
      transition: opacity .25s ease-in;
      opacity: 1;
      will-change: opacity;
    }
  }

  &.copied {
    pointer-events: none;
    cursor: not-allowed;

    &::after {
      transition: opacity .25s ease-in, transform .25s ease-in;
      transform: scale(1.8);
      opacity: 0;
      will-change: opacity, transform;
    }

  }
}

/*# Result Post: ---------------------------- */

.result-post {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--color-border);

  .result-post__header {
    display: flex;
    align-items: center;
    gap: clamp(10px, calc(100vw * 20 / 1440), 20px);
  }

  .result-post__type {
    display: inline-block;
    font-size: 14px;
    color: #191D23;
  }

  .result-post__header .result-post__type {
    margin-left: auto;
  }

  .result-post__icon {
    position: relative;
    flex-shrink: 0;
    width: clamp(24px, calc(100vw * 32 / 1440), 32px);
    aspect-ratio: 1 / 1;
  }

  .result-post__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: 50% 50%;
  }

  .result-post__title {
    line-height: 1.1;
    text-wrap: balance;
  }

  .result-post__excerpt {
    font-size: 14px;
    line-height: 1.1;
    color: #191D23;
    text-wrap: balance;
  }

  .result-post__excerpt :is(b, span) {
    font-weight: 400;
  }

}

/*# Header: --------------------------------- */

.header {
  position: relative;
  padding: clamp(10px, calc(100vw * 20 / 1440), 20px) 0;
  z-index: var(--layout-default);

  .content {
    display: flex;
    flex-direction: column;
    gap: clamp(14px, calc(100vw * 18 / 1440), 18px);
  }

  .header-layer {
    display: flex;
    gap: 20px;
  }

  .header-top {
    justify-content: space-between;

    .header-logo img {
      width: 290px;
    }

    .header-contacts {
      display: flex;
      gap: clamp(10px, calc(100vw * 33 / 1440), 33px);
    }

    .icon-link {
      display: flex;
      align-items: center;
      gap: 5px;
      text-decoration: none;

      img {
        width: auto;
        height: 24px;
        object-fit: contain;
        object-position: 50% 50%;
      }

      span {
        position: relative;
        font-size: 14px;

        &::after {
          content: "";
          position: absolute;
          bottom: -2px;
          left: 0;
          width: 100%;
          height: 1px;
          background: var(--color-border);
          transition: opacity .1s linear, bottom .1s linear;
          opacity: 0;
          will-change: opacity, bottom;
        }
      }
    }
  }

  .header-middle {

    .header-logo {
      margin-right: auto;
    }

    .search-field {
      max-width: clamp(400px, calc(100vw * 474 / 1440), 474px);
      margin-top: auto;

      input {
        padding: 12px 0;
        font-family: 'Helios', sans-serif;
        font-size: 18px;

        &::placeholder {
          font-size: inherit;
        }
      }
    }

    .header-logo img {
      width: clamp(120px, calc(100vw * 169 / 1440), 169px);
      height: auto;
    }
  }

  .header-bottom {
    justify-content: space-between;
    padding: 12px 0 4px;
    border-bottom: 1px solid var(--color-border);
    font: 400 20px "Helios", sans-serif;

    .main-navigation {
      ul {
        display: flex;
        gap: clamp(10px, calc(100vw * 50 / 1440), 50px);
      }

      a:hover {
        text-decoration: none;
      }
    }

    .main-navigation li,
    .header-admin .icon-link {
      position: relative;
      letter-spacing: -0.025rem;
      list-style: none;

      &::after {
        content: "";
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 100%;
        height: 2px;
        background: #30E9A7;
        transition: opacity .2s linear;
        opacity: 0;
        will-change: opacity;
      }
    }

    .header-admin {
      display: flex;
      gap: clamp(10px, 2.639vw, 38px);

      .icon-link {
        display: flex;
        align-items: center;
        gap: 5px;
        text-decoration: none;

        &::after {
          left: 25px;
          width: calc(100% - 25px);
        }

        img {
          width: 20px;
          height: 20px;
          object-fit: contain;
          object-position: 50% 50%;
        }
      }
    }
  }

  /* ------- Media queries -------- */

  @media (hover: hover) {
    .header-top .icon-link span:hover::after {
      bottom: -3px;
      opacity: 1;
    }
  }

  @media (hover: hover) and (min-width: 1021px) {
    .header-bottom .main-navigation li:hover::after,
    .header-bottom .header-admin .icon-link:hover::after {
      opacity: 1;
    }
  }

  @media (hover: hover) and (min-width: 1201px) {
    .main-navigation li:hover::after,
    .header-admin .icon-link:hover::after {
      opacity: 1;
    }
  }

  @media (min-width: 1201px) {
    .header-middle .search-field + .button-search,
    .menu-toggle {
      display: none;
    }
  }

  @media (max-width: 1200px) {
    .header-top .header-contacts {
      display: none;
    }

    .header-middle {
      gap: clamp(10px, calc(100vw * 15 / 1200), 15px);

      .search-field {
        display: none;
      }

      .button-search {
        width: clamp(20px, calc(52px - 100vw * 32 / 1440), 32px);
      }

    }

    .header-bottom {
      display: none;
    }

  }

}

/*# Mobile menu: ---------------------------- */

.mobile-menu {
  position: fixed;
  visibility: hidden;
  transition: visibility 0s 0.35s;
  pointer-events: none;
  z-index: calc(var(--layout-sticky) + 10);
  inset: 0;
}

.mobile-menu.is-open {
  visibility: visible;
  transition: visibility 0s 0s;
  pointer-events: auto;
}

.mobile-menu__backdrop {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  transition: opacity 0.35s ease;
  opacity: 0;
  inset: 0;
  backdrop-filter: blur(4px);
}

.mobile-menu.is-open .mobile-menu__backdrop {
  opacity: 1;
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 520px;
  height: 100vh;
  height: 100dvh;
  background: var(--color-main-background);
  transition: transform 0.35s cubic-bezier(0.25, 0, 0.75, 1);
  transform: translateX(100%);
  overflow-y: auto;
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__close {
  display: flex;
  align-items: center;
  align-self: flex-end;
  flex-shrink: 0;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 12px 12px 0 0;
  border: none;
  background: none;
  color: var(--color-neutralis-dark);
  cursor: pointer;
}

.mobile-menu__nav {
  flex: 1;
  padding: 0 20px;
}

.mobile-menu__list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.mobile-menu__nav .menu-item {
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu__nav .menu-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font: 400 22px/1.2 'Helios', sans-serif;
  color: var(--color-main-text);
  text-decoration: none;
  cursor: pointer;
}

.mobile-menu__chevron {
  display: flex;
  flex-shrink: 0;
  margin-left: 12px;
  color: var(--color-border);
  transition: transform 0.3s ease;
}

.mobile-menu__nav .menu-item-has-children.is-open > a .mobile-menu__chevron {
  transform: rotate(180deg);
}

.mobile-menu__nav .sub-menu {
  display: none;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 0 0 18px;
  margin: 0;
  list-style: none;
}

.mobile-menu__nav .sub-menu .menu-item {
  width: calc(50% - 12px);
  border-bottom: none;
}

.mobile-menu__nav .sub-menu .menu-item > a {
  padding: 6px 0;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-menu__nav .menu-item-has-children.is-open > .sub-menu {
  display: flex;
}

.mobile-menu__footer {
  padding: 20px;
  border-top: 1px solid var(--color-border);
}

.mobile-menu__footer .header-admin {
  display: flex;
  gap: 24px;
}

.mobile-menu__footer .icon-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--color-main-text);
  text-decoration: none;
}

.mobile-menu__footer .icon-link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/*# Sticky header: -------------------------- */

.header-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: clamp(10px, calc(100vw * 14 / 1440), 14px) 0;
  background: white;
  transform: translateY(-100%);
  box-shadow: 0 0 18px -1px rgba(0, 0, 0, .1);
  z-index: var(--layout-sticky);

  .content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font: 400 18px "Helios", sans-serif;
  }

  .header-logo {
    flex-shrink: 0;

    img {
      width: clamp(120px, calc(100vw * 169 / 1440), 169px);
      height: auto;
    }
  }

  .main-navigation {

    ul {
      display: flex;
      gap: clamp(10px, calc(100vw * 50 / 1440), 50px);
    }

    a {
      text-decoration: none;
    }
  }

  .main-navigation li,
  .header-admin .icon-link {
    position: relative;
    letter-spacing: -0.025rem;

    &::after {
      content: "";
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 100%;
      height: 2px;
      background: #30E9A7;
      transition: opacity .2s linear;
      opacity: 0;
      will-change: opacity;
    }
  }

  .header-admin {
    display: flex;
    gap: clamp(10px, 2.639vw, 38px);

    .icon-link {
      display: flex;
      align-items: center;
      gap: 5px;
      text-decoration: none;

      &::after {
        left: 25px;
        width: calc(100% - 25px);
      }

      img {
        width: 20px;
        height: 20px;
        object-fit: contain;
      }
    }
  }

  .menu-toggle {
    display: none;
  }

  @media (hover: hover) and (min-width: 1021px) {
    .main-navigation li:hover::after,
    .header-admin .icon-link:hover::after {
      opacity: 1;
    }
  }

  @media (max-width: 1200px) {
    #site-navigation-sticky,
    .header-admin {
      display: none;
    }

    .menu-toggle {
      display: flex;
    }
  }
}

/*# Search section: ------------------------- */

.search-section {

  .intro-block__heading {
    margin-bottom: 35px;
  }

  .intro-block .search-field {
    display: none;
  }

  .categories-panel {
    position: sticky;
    top: 20px;
  }

  .categories-panel__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
  }

  .categories-panel__item {
    position: relative;
    display: flex;
    gap: 10px;
    width: fit-content;
    font-size: clamp(14px, calc(100vw * 16 / 1440), 16px);
    cursor: pointer;
  }

  .categories-panel__item-title {
    position: relative;
    font-weight: 400;
    text-wrap: balance;
  }

  .categories-panel__item-title::before,
  :where(.categories-panel__item, .categories-panel__item-title)::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    transition: max-width .5s linear;
    overflow: hidden;
    will-change: max-width;
  }

  .categories-panel__item::after {
    bottom: -4px;
    max-width: 0;
    height: 3px;
    background: var(--color-primary);
  }

  .categories-panel__item-title::after,
  .categories-panel__item-title::before {
    bottom: -2px;
    height: 1px;
  }

  .categories-panel__item-title::after {
    max-width: 200px;
    background: #000;
  }

  .categories-panel__item-title::before {
    max-width: 0;
    background: var(--color-primary);
  }

  .categories-panel__item-count {
    font-weight: 300;
  }

  .categories-panel__item.active::after {
    max-width: 200px;
    transition-delay: .5s;
  }

  .categories-panel__item.active .categories-panel__item-title::after {
    max-width: 0;
    transition: max-width .5s linear;
  }

  @media (hover: hover) {
    .categories-panel__item:hover .categories-panel__item-title::after {
      max-width: 0;
      transition: max-width .5s linear;
    }

    .categories-panel__item:hover .categories-panel__item-title::before {
      max-width: 200px;
      transition-delay: .4s;
    }
  }

  .search-field input {
    font: 400 clamp(16px, 1.389vw, 20px) "Helios", sans-serif;
  }

  .search-results {
    padding-top: 50px;
    margin-bottom: 50px;
  }

  .search-results__list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
  }

  .search-results .button-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 34px;
    background: var(--color-light-gray);
    font: 400 16px "Helios", sans-serif;
  }

  .not-found {
    font-weight: 400;
  }

  @media (max-width: 920px) {

    .intro-block .search-field {
      display: flex;
      margin-bottom: 20px;
    }

    .content-block .search-field {
      display: none;
    }

    .categories-panel {
      display: flex;
      gap: 20px;
    }

    .categories-panel__list {
      flex-direction: row;
      gap: 20px;
      padding-top: initial;
    }

    .search-results {
      padding-top: initial;
    }
  }
  @media (max-width: 390px) {
    .categories-panel,
    .categories-panel__list {
      gap: 10px;
    }

    .categories-panel__item {
      gap: 5px;
    }
  }

}

/*# Tabs: ----------------------------------- */

.tabs-list {
  display: flex;
  gap: 40px;

  button {
    position: relative;
    padding: 0 0 16px;
    font: 400 20px "Helios", sans-serif;
    z-index: var(--layout-default);

    &::after {
      content: "";
      position: absolute;
      bottom: -1px;
      left: 0;
      width: 100%;
      height: 3px;
      background: #30E9A7;
      transition: opacity .2s linear;
      opacity: 0;
      will-change: opacity;
    }

    &.active-js::after {
      opacity: 1;
    }
  }
}

/*# Forms: --------------------------------- */

.form-row {
  width: 100%;
  margin-bottom: 20px;

  input, textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--color-main-background);

    &.error {
      border: 1px solid var(--color-error);
    }

    &::placeholder {
      color: var(--color-main-background);
    }
  }
}

/*# Footer: --------------------------------- */

.site-footer .content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 20px 0 40px;
  border-top: 1px solid var(--color-border);
}

.socials {
  display: flex;
  align-items: center;
  gap: 16px;

  .icon-link {
    display: flex;
    align-items: center;
    text-decoration: none;

    img {
      width: auto;
      height: 24px;
      object-fit: contain;
    }
  }
}

.footer-layer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;

  @media (max-width: 920px) {
    flex-wrap: wrap;
  }
}

.footer-contacts {

  .footer-contacts__brand {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    max-width: 250px;
    margin-bottom: 30px;

    @media (max-width: 520px) {
      flex-direction: row-reverse;
      max-width: initial;
    }
  }

  .footer-contacts__links {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 14px;

    p {
      letter-spacing: -0.02rem;
    }

    p.address b {
      @media (max-width: 520px) {
        display: block;
      }
    }
  }

  @media (max-width: 520px) {
    width: 100%;
  }

}

#footer-menu {
  @media (min-width: 921px) {
    display: grid;
    grid-template-columns: repeat(2, fit-content(100%));
    grid-gap: 20px 60px;
  }

  @media (max-width: 920px) {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
}

.footer-nav {
  width: 100%;
  max-width: 560px;
  font: 400 16px 'Helios', sans-serif;

  li {
    list-style: none;
  }

  @media (max-width: 920px) {
    order: -1;
    width: 100%;
    max-width: initial;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
  }
}

.footer-layer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;

  @media (max-width: 768px) {
    flex-direction: column;
  }
}

.policy-links {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 8px;
  width: 249px;
  font-size: 14px;
}

.footer-disclaimer {
  flex: 1;
  max-width: 560px;
  font-size: 12px;
  line-height: 1.55;
  color: color-mix(in srgb, var(--color-border) 70%, transparent);

  @media (max-width: 768px) {
    max-width: 100%;
    order: 3;
  }
}

.copyright {
  width: 241px;
  font-size: 14px;
}

/*# Scroll-to-top button: ------------------- */

.scroll-top-btn {
  position: fixed;
  right: 30px;
  bottom: 30px;
  padding: 0;
  border: none;
  background: none;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: translateY(20px);
  pointer-events: none;
  opacity: 0;
  cursor: pointer;
  z-index: 90;

  &.is-visible {
    transform: translateY(0);
    pointer-events: auto;
    opacity: 1;
  }

  svg {
    display: block;
  }
}

/* Градиентные блобы — глобальный фон, правая часть страницы */
#page {
  position: relative;
  isolation: isolate;
}

#page::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url("../images/main-screen/bg-gradient--desktop.svg") no-repeat 100% 0 / contain;
  animation: gradient-fade-in 1.2s ease forwards;
  pointer-events: none;
  z-index: -1;

  @media (max-width: 768px) {
    width: 100%;
    height: 510px;
    background: url("../images/main-screen/bg-gradient--mobile.svg") no-repeat 100% 50% / contain;
  }
}

@keyframes gradient-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/*# ---------------------------------------- */
/*# Page: "Главная страница" */
/*# ---------------------------------------- */

.page-id-2 .heading-block {
  padding-top: 30px;
}

.page-id-2 #intro .heading-block {
  max-width: clamp(530px, calc(100vw * 980 / 1440), 980px);

  @media (max-width: 425px) {
    .wp-block-heading {
      font-size: 11.76vw;
    }
  }
}

.page-id-2 #intro .content-block .textual .wp-block-group__inner-container {
  display: grid;
  max-width: 915px;
  grid-template-columns: minmax(auto, 423px) auto;
  grid-gap: clamp(20px, calc(100vw * 55 / 1440), 55px);
  grid-template-rows: auto;

  p {
    font-family: "Helios", sans-serif;
    line-height: 1.29;
  }

  @media (max-width: 520px) {
    grid-template-columns: auto;

    p {
      letter-spacing: 0.02rem;
      text-wrap: balance;
    }
  }

}

.page-id-2 #company-overview .content-block .rudata-block-feature-item-icon {
  gap: 33px;

  .feature-item {
    max-width: 277px;
  }

}

.page-id-2 #company-overview .content-block .description p {
  font-size: clamp(16px, calc(100vw * 28 / 1440), 28px);

  @media (max-width: 920px) {
    font-size: clamp(18px, calc(100vw * 24 / 920), 24px);
  }

  @media (max-width: 605px) {
    font-size: clamp(16px, calc(100vw * 18 / 605), 18px);

    code {
      display: inline-block;

      &:not(:last-child) {
        margin-bottom: 5px;
      }
    }
  }

}

/*# ---------------------------------------- */
/*# Page: "Контакты" */
/*# ---------------------------------------- */

.page-id-20 #page::before {
  @media (max-width: 768px) {
    top: -50px;
  }
}

.page-id-20 .heading-block {
  padding-top: initial;
  margin-bottom: clamp(127px, calc(300px - 100vw * 190 / 1440), 190px);
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.page-id-20 .content--split {

  @media (max-width: 920px) {
    gap: 10px;
  }
}

.page-id-20 .content--split .links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap !important;

  .wp-block-file {
    width: fit-content;
    padding: 8px;
    background: var(--color-light-gray);
  }

  @media (min-width: 921px) {
    display: none;
  }
}

.page-id-20 .content--split .intro-block h2.wp-block-heading {
  letter-spacing: -0.055rem;

  @media (max-width: 920px) {
    width: initial;
  }
  @media (max-width: 520px) {
    padding-bottom: clamp(10px, calc(100vw * 20 / 1440), 20px);
    border-bottom: 1px solid var(--color-border);
  }
}

.page-id-20 .intro-block__info {
  @media (max-width: 920px) {
    display: none;
  }
}

.page-id-20 .section-sidebar-split:not(#cards):not(#learning) .content--split {
  @media (min-width: 521px) {
    padding-top: clamp(10px, calc(100vw * 20 / 1440), 20px);
    border-top: 1px solid var(--color-border);
  }
}

.page-id-20 .section-sidebar-split .content--split .content-block .wp-block-group {

  @media (max-width: 370px) {
    flex-direction: column;
    p {
      text-align: initial;
    }
  }

  &:not(:first-child) {
    padding-top: clamp(10px, calc(100vw * 20 / 1440), 20px);
    border-top: 1px solid var(--color-border);
  }

  p {
    font-size: clamp(16px, calc(100vw * 30 / 1440), 30px);
  }

  p:first-child {
    font-weight: 400;
  }

  p:last-child {
    font-weight: 300;
  }

  a {
    @media (hover: hover) {
      &:hover {
        text-decoration: underline;
        text-decoration-color: inherit;
        text-underline-offset: 0.2rem;
        text-decoration-thickness: 0.01rem;
      }
    }
  }

  .organization-data__list {
    padding-top: initial;
    border-top: none;

    p {
      font-size: 16px;
    }
  }

}

.page-id-20 #phone .content-block {
  height: min-content;

  @media (max-width: 520px) {
    justify-content: initial;
  }
}

.page-id-20 #phone .number {
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.055rem;

  @media (max-width: 520px) {
    font-size: calc(100vw * 40 / 520);
  }
}

.page-id-20 #email .content-block .wp-block-group:nth-of-type(1) {
  @media (max-width: 520px) {
    justify-content: initial;
    p {
      font-size: calc(100vw * 40 / 520);
      font-weight: 400;
      text-align: initial;
    }
  }
}

.page-id-20 #address .content-block .wp-block-group {

  p {
    text-wrap: balance;
  }

  &:nth-of-type(1) {

    p {
      @media (max-width: 520px) {
        text-align: left;
      }
    }

    p:nth-of-type(1) {
      font: 400 clamp(16px, calc(100vw * 30 / 1440), 30px) "Helios", sans-serif;
    }

    p:nth-of-type(2) {
      font-size: clamp(14px, calc(100vw * 16 / 1440), 16px) !important;
    }

    @media (min-width: 521px) {
      max-width: 640px;
      margin-left: auto;
    }

    @media (max-width: 520px) {
      gap: 20px;
    }

  }

}

.page-id-20 :is(#phone, #email, #networks, #address) .contact-email__link {
  font-size: 30px;
  letter-spacing: -0.055rem;
}

.page-id-20 :is(#phone, #email, #networks, #address) .wp-block-heading {
  @media (max-width: 920px) {
    font-size: 24px;
  }
  @media (max-width: 520px) {
    font-size: calc(100vw * 24 / 520);
  }
}

.page-id-20 #networks a {
  font-size: clamp(16px, calc(100vw * 30 / 1440), 30px);
}

.page-id-20 #address .contact-address__value {
  max-width: 400px;
  margin-left: auto;
  font-size: clamp(16px, calc(100vw * 30 / 1440), 30px);
  font-style: initial;
  text-align: right;
  letter-spacing: -0.055rem;
}

.page-id-20 #address .contact-address-note__value {
  font-size: clamp(14px, calc(100vw * 18 / 1440), 18px) !important;
  font-weight: 300;
  text-align: right;
  letter-spacing: -0.055rem;
}

.page-id-20 #map {
  display: grid;
  grid-template-columns: minmax(0, 886px) auto;
  grid-template-rows: minmax(auto, 475px);
  grid-gap: 10px;

  @media (max-width: 768px) {
    grid-template-columns: auto;
    grid-template-rows: 240px 240px;
  }

  .wp-block-group:nth-of-type(1) {

    .wp-block-group__inner-container, p {
      width: 100%;
      height: 100%;
    }

    iframe {
      width: 100%;
      height: 100%;
    }

  }

  .wp-block-group:nth-of-type(2) .wp-block-group__inner-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: hidden;

    figure,
    picture,
    picture img {
      width: 100%;
      height: 100%;
    }

    picture img {
      object-fit: cover;
      object-position: 50% 50%;
    }
  }
}

/* ============================================================
   Page: "О компании"
   ============================================================ */
.page-id-15 {
  #page::before {
    @media (max-width: 768px) {
      top: -80px;
    }
  }

  #page .background-image svg {
    @media (max-width: 768px) {
      transform: translate(20%, -4%);
    }
  }

  .section-intro {
    .heading-block {
      margin-bottom: clamp(110px, calc(110px + (210 - 110) * ((100vw - 390px) / (1440 - 390))), 210px);
    }

    .heading-block + .wp-block-columns.is-layout-flex {
      gap: clamp(20px, calc(100vw * 60 / 1440), 1440px);
    }

    .description {
      max-width: 930px;
    }
  }
}

/* ============================================================
   Page: "Данные"
   ============================================================ */
.page-id-1240 {
  .content--split .intro-block {
    .intro-block__content {
      gap: 40px;
    }

    .selected-data {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .selected-data__title {
      margin-bottom: 15px;
      font: 400 12px/1.4 'Helios', sans-serif;
      color: var(--color-border);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      text-box-trim: trim-both;
      text-box-edge: cap alphabetic;
    }

    .selected-list-data {
      display: flex;
      flex-direction: column;
      padding-top: 5px;
    }

    .selected-data__empty {
      font-size: 14px;
      color: var(--color-border);
    }

    .selected-data__item {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      font-size: 18px;
      cursor: pointer;

      &[data-id]:not(:first-child) {
        padding-top: 5px;
        border-top: 1px solid rgba(25, 29, 35, 0.5);
      }

      &:not(:last-child) {
        margin-bottom: 15px;
      }

      &::after {
        content: '×';
        flex-shrink: 0;
        font-size: 18px;
        color: var(--color-border);
        transition: opacity .25s ease-in;
        opacity: 0;
      }

      @media (hover: hover) {
        &:hover::after {
          color: var(--color-neutralis-dark);
          opacity: 1;
        }
      }
    }

    @media (max-width: 920px) {
      .wp-block-heading {
        width: auto;
      }
    }
  }

  .data-filter {
    padding-top: 20px;
    border-top: 1px solid var(--color-border);

    .data-filter__header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--color-border);
      user-select: none;
      cursor: pointer;

      &.active .data-filter__chevron {
        transform: rotate(180deg);
      }
    }

    .data-filter__title {
      font: 400 20px/1.3 'Helios', sans-serif;
    }

    .data-filter__right {
      display: flex;
      align-items: center;
      flex-shrink: 0;
      gap: 16px;
    }

    .data-filter__counter {
      font-size: 14px;
      color: var(--color-border);
    }

    .data-filter__chevron {
      width: 20px;
      height: 20px;
      background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
      transition: transform .3s ease;
    }

    .data-filter__list {
      display: none;
      gap: 14px 30px;
      padding-top: 16px;
      grid-template-columns: 1fr 1fr;

      &.active {
        display: grid;
      }
    }

    .data-filter__item {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 16px;
      cursor: pointer;

      input[type="checkbox"] {
        width: 16px;
        height: 16px;
        border: 1px solid var(--color-border);
        border-radius: 2px;
        transition: background-color .15s ease, border-color .15s ease;
        cursor: pointer;
        appearance: none;

        &:checked {
          background: center/7px no-repeat url("data:image/svg+xml,%3Csvg width='7' height='7' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='7' height='7' fill='%2330E9A7'/%3E%3C/svg%3E");
        }
      }
    }

    .data-filter__reset {
      padding: 0;
      border: none;
      background: none;
      font-size: 14px;
      color: var(--color-neutralis-dark);
      text-decoration: underline;
      cursor: pointer;
      text-underline-offset: 3px;

      &:hover {
        color: var(--color-button);
      }
    }
  }

  .data-filter__empty-state {
    font-size: 18px;
    color: var(--color-border);
  }

  @media (min-width: 921px) {
    .content--split {
      justify-content: space-between;
    }

    .intro-block {
      max-width: 365px;
    }

    .content-block {
      max-width: 890px;
    }
  }
}

/* ============================================================
   Shared: вертикальный ритм — .content-block
   Pages: 1283, 1343
   ============================================================ */
.page-id-1283,
.page-id-1343 {
  .content-block {
    * + * {
      margin-top: 20px;
    }

    p + p {
      margin-top: 16px;
    }

    p:has(strong) + .wp-block-list {
      margin-top: 8px;
    }

    .wp-block-list {
      padding-left: 20px;

      li {
        margin-bottom: 6px;

        &:last-child {
          margin-bottom: 0;
        }
      }
    }

    .wp-block-list + p {
      margin-top: 24px;
    }

    .wp-block-image {
      margin: 24px 0;

      img {
        max-width: 100%;
        border: 1px solid color-mix(in srgb, var(--color-border) 30%, transparent);
        border-radius: 6px;
      }
    }

    .wp-block-image + p,
    .wp-block-image + .wp-block-list {
      margin-top: 16px;
    }
  }
}

/* ============================================================
   Page: "Терминал ЭФИР"
   ============================================================ */
.page-id-1343 .heading-block {
  margin-bottom: 60px;
}

/* ============================================================
   Page: "Efir Add-In — Документация"
   ============================================================ */
.page-id-1346 {
  .intro-block {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .1) transparent;

    &::-webkit-scrollbar {
      width: 3px;
    }

    &::-webkit-scrollbar-thumb {
      border-radius: 2px;
      background: rgba(255, 255, 255, .1);
    }
  }

  .sidebar-nav {
    ul {
      padding: 0;
      margin: 0;
      list-style: none;
    }

    ul ul {
      display: none;
      padding-left: 14px;
      margin-left: 4px;
      border-left: 1px solid rgba(255, 255, 255, .08);
    }

    li.submenu.open > ul {
      display: block;
    }

    li.submenu {
      cursor: pointer;

      a,
      span {
        cursor: pointer;
      }

      :not(ul),
      a {
        display: block;
        padding: 5px 0;
        font-size: 13px;
        font-weight: 600;
        color: rgba(255, 255, 255, .65);
        user-select: none;
      }
    }

    ul > li.submenu > :not(ul) {
      padding: 8px 0 3px;
      margin-top: 6px;
      font-size: 12px;
      font-weight: 700;
      color: var(--color-button);
      letter-spacing: .07em;
      text-transform: uppercase;
    }

    li:not(.submenu) a,
    li.submenu > a {
      display: block;
      padding: 4px 0;
      font-size: 13px;
      color: rgba(255, 255, 255, .45);
      text-decoration: none;
      transition: color .15s;

      &:hover {
        color: rgba(255, 255, 255, .9);
      }
    }

    li.active > a,
    li.active.submenu > a {
      font-weight: 500;
      color: var(--color-primary);
    }
  }
}

/* ============================================================
   Page: "API для разработчиков"
   ============================================================ */
.page-id-1286 {
  h1.wp-block-heading {
    @media (max-width: 400px) {
      font-size: calc(100vw * 45 / 400);
    }
  }

  .content-block {
    @media (max-width: 768px) {
      width: 100vw;
      transform: translateX(-15px);
      overflow-x: auto;
    }
  }

  .api-blocks-table {
    width: 100%;
    min-width: 670px;
    border-collapse: collapse;
    font-size: 16px;
    line-height: 1.5;

    thead tr {
      border-bottom: 1px solid #dcdcdc;
    }

    th {
      padding: 12px 16px;
      font-size: 13px;
      font-weight: 600;
      color: var(--color-border);
      text-align: left;
      letter-spacing: .05em;
      text-transform: uppercase;
    }

    td {
      padding: 16px;
      border-bottom: 1px solid color-mix(in srgb, var(--color-border) 25%, transparent);
      vertical-align: top;
    }

    tr:nth-child(odd) td {
      background: color-mix(in srgb, var(--color-light-gray) 60%, transparent);
    }

    td:first-child {
      width: 180px;
      font-weight: 600;
      color: var(--color-neutralis-dark);
      white-space: nowrap;
    }

    td:last-child {
      width: 160px;
      font-size: 14px;
      white-space: nowrap;
    }

    p {
      margin-bottom: 8px;
    }

    ul {
      padding-left: 18px;
      margin-top: 6px;
    }

    li {
      margin-bottom: 4px;
    }

    @media (max-width: 768px) {
      font-size: 14px;

      td:first-child,
      td:last-child {
        width: auto;
        white-space: normal;
      }
    }
  }
}

/* ============================================================
   Page: "Политика конфиденциальности"
   ============================================================ */
.page-id-3 .entry-content {
  p:nth-child(-n+2) {
    margin-bottom: 32px;
    color: var(--color-border);
  }

  .wp-block-heading {
    padding: 40px 0 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid color-mix(in srgb, var(--color-border) 30%, transparent);
    text-transform: uppercase;
  }

  p {
    margin-bottom: 14px;
    line-height: 1.45;
  }

  .wp-block-list {
    padding-left: 20px;
    margin: 8px 0 16px;

    li {
      margin-bottom: 8px;
    }
  }

  p:has(strong:only-child) {
    margin-bottom: 6px;
  }
}

/* ============================================================
   Shared: документальные страницы
   Pages: 1364, 1373, 1377
   ============================================================ */
.page-id-1364,
.page-id-1373,
.page-id-1377 {
  .wp-block-group.container {
    p {
      margin: 16px 0;
      line-height: 1.6;

      &:first-child {
        margin-top: 0;
      }

      &:last-child {
        margin-bottom: 0;
      }
    }

    ul.wp-block-list {
      padding-left: 24px;
      margin: 12px 0 16px;

      li {
        line-height: 1.55;
      }
    }
  }
}


/* ============================================================
   Page: "Правила использования информации"
   ============================================================ */
.page-id-1364 .wp-block-group.container .wp-block-list {
  padding-left: 20px;
  margin: 40px 0 12px;

  &:first-child {
    margin-top: 0;
  }

  li {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
  }
}

/* ============================================================
   Page: "Правила обращения в тех. поддержку"
   ============================================================ */
.page-id-1373 .wp-block-group.container {
  ol.wp-block-list {
    padding-left: 0;
    margin: 40px 0 12px;
    list-style: none;

    li {
      font-size: 18px;
      font-weight: 600;
      line-height: 1.4;
    }
  }

  ul.wp-block-list li {
    margin-bottom: 8px;
  }

  p:has(strong:only-child) {
    margin: 20px 0 -4px;
  }
}

/* ============================================================
   Page: "Кодекс этики поставщиков"
   ============================================================ */
.page-id-1377 .wp-block-group.container {
  h2 {
    margin: 48px 0 20px;
    font-size: clamp(20px, 1.8vw, 24px);

    &:first-child {
      margin-top: 0;
    }
  }

  ul.wp-block-list li {
    margin-bottom: 10px;
  }

  ol.wp-block-list {
    padding-left: 20px;
    margin: 16px 0 12px;
    list-style: decimal;

    li {
      font-weight: 600;
      line-height: 1.4;
    }
  }
}

/* ============================================================
   Page: "Карта сайта"
   ============================================================ */
.page-sitemap .sitemap-container {
  padding: 80px 0 120px;

  @media (max-width: 1024px) { padding: 60px 0 90px; }
  @media (max-width: 768px)  { padding: 40px 0 60px; }
}

.sitemap-heading {
  margin-bottom: 24px;
  font: 400 clamp(20px, 1.8vw, 24px) 'Helios', sans-serif;
}

.sitemap-list {
  padding-left: 40px;
  margin: 0;
  list-style: disc;

  > li {
    margin-bottom: 8px;

    > a {
      font: 400 18px/1.2 'Helios', sans-serif;
      color: var(--color-neutralis-dark);
      text-decoration: none;

      &:hover { color: var(--color-button); }
    }
  }

  ul {
    padding-left: 20px;
    margin: 6px 0 0;
    list-style: disc;

    li + li { margin-top: 4px; }

    a {
      font-size: 15px;
      color: var(--color-border);
      text-decoration: none;
      transition: color .2s;

      &:hover { color: var(--color-neutralis-dark); }
    }
  }
}

/* ============================================================
   Page: "Add-In Версии"
   ============================================================ */
.page-id-1381 .intro-block .addin-toc {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
  width: max-content;

  li {
    border-top: 1px solid color-mix(in srgb, var(--color-border) 20%, transparent);

    &:last-child {
      border-bottom: 1px solid color-mix(in srgb, var(--color-border) 20%, transparent);
    }
  }

  a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: var(--color-border);
    text-decoration: none;
    transition: color .2s;

    &:hover { color: var(--color-primary); }
  }
}

.page-id-1381 .content-block {

  > h2 {
    margin: 56px 0 16px;
    font-size: clamp(18px, 1.5vw, 22px);
    padding-top: 32px;
    border-top: 1px solid color-mix(in srgb, var(--color-border) 25%, transparent);

    &:first-child { margin-top: 0; padding-top: 0; border-top: none; }
  }

  > h3 {
    margin: 28px 0 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--color-button);
  }

  > h4 {
    margin: 16px 0 4px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-neutralis-dark);
  }

  > p {
    margin: 8px 0;
    line-height: 1.6;
    font-size: 15px;

    &:first-child { margin-top: 0; }
    &:last-child  { margin-bottom: 0; }
  }

  > ul.wp-block-list,
  > ol.wp-block-list {
    padding-left: 20px;
    margin: 4px 0 8px;

    li {
      margin-bottom: 5px;
      line-height: 1.5;
      font-size: 15px;

      &:last-child { margin-bottom: 0; }
    }
  }
}
