@font-face {
  font-family: "Quicksand";
  src: url("../fonts/Quicksand-Latin-Ext.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 300 700;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Quicksand";
  src: url("../fonts/Quicksand-Latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 300 700;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --hp-blue: #005596;
  --hp-blue-dark: #004b87;
  --hp-blue-light: #6093c2;
  --hp-yellow: #ffc21b;
  --hp-mist: #edf4fa;
  --hp-line: #d3e0eb;
  --hp-white: #fff;
  --hp-radius: 36px;
  --hp-shadow: 0 15px 32px rgba(21, 75, 113, 0.11);
  --hp-container: 1280px;
  --hp-header-height: 110px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hp-header-height) + 20px);
}

body {
  max-width: 100%;
  padding-top: var(--hp-header-height);
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--hp-blue);
  background: #fff;
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.22;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: 0.005em;
}

.hp-container {
  width: min(var(--hp-container), calc(100% - 64px));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 18px;
  background: #fff;
  color: var(--hp-blue);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border: 2px solid var(--hp-blue);
  border-radius: 13px;
  color: #fff;
  background: var(--hp-blue);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  color: #fff;
  background: var(--hp-blue-dark);
  box-shadow: 0 8px 20px rgba(0, 85, 150, 0.18);
  transform: translateY(-2px);
}

.button--outline {
  color: var(--hp-blue);
  background: rgba(255, 255, 255, 0.7);
}

.button--outline:hover,
.button--outline:focus-visible {
  color: #fff;
}

.button--small {
  min-height: 45px;
  padding: 10px 29px;
  border-radius: 12px;
  font-size: 16px;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--hp-header-height);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 0 rgba(16, 77, 115, 0);
  backdrop-filter: blur(14px);
  transition: height 260ms cubic-bezier(.22, 1, .36, 1), box-shadow 220ms ease, background-color 220ms ease;
}

.site-header.is-scrolled {
  height: 82px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(16, 77, 115, 0.12);
}

.site-header__inner {
  width: min(1392px, calc(100% - 72px));
  height: 100%;
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.site-brand__logo,
.custom-logo {
  display: block;
  width: 205px;
  height: auto;
  transition: width 260ms cubic-bezier(.22, 1, .36, 1);
}

.site-header.is-scrolled .site-brand__logo,
.site-header.is-scrolled .custom-logo {
  width: 172px;
}

.primary-nav {
  margin-left: auto;
}

.primary-nav .menu,
.primary-nav ul,
.mobile-nav .menu,
.mobile-nav ul,
.site-footer .menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav > .menu,
.primary-nav > ul {
  display: flex;
  align-items: center;
  gap: 38px;
}

.primary-nav li {
  position: relative;
}

.primary-nav a {
  position: relative;
  display: block;
  padding: 16px 0;
  color: var(--hp-blue-dark);
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}

.primary-nav > ul > .current-menu-item > a,
.primary-nav > ul > .current_page_item > a {
  font-weight: 700;
}

.primary-nav > ul > li > a:hover,
.primary-nav > ul > li > a:focus-visible {
  color: #0874a5;
}

.primary-nav > ul > li > a::after {
  position: absolute;
  right: 50%;
  bottom: 8px;
  left: 50%;
  height: 3px;
  content: "";
  border-radius: 999px;
  background: var(--hp-yellow);
  transition: right 180ms ease, left 180ms ease;
}

.primary-nav > ul > .current-menu-item > a::after,
.primary-nav > ul > .current_page_item > a::after,
.primary-nav > ul > li:not(.menu-item-has-children) > a:hover::after,
.primary-nav > ul > li:not(.menu-item-has-children) > a:focus-visible::after {
  right: 0;
  left: 0;
}

.primary-nav .menu-item-has-children > a {
  padding-right: 24px;
}

.primary-nav .menu-item-has-children > a::before {
  position: absolute;
  top: 50%;
  right: 3px;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-70%) rotate(45deg);
}

.primary-nav .sub-menu {
  position: absolute;
  top: calc(100% - 3px);
  left: -26px;
  width: 250px;
  padding: 18px 14px 14px;
  border: 2px solid var(--hp-yellow);
  border-radius: 24px 8px 24px 24px;
  opacity: 0;
  visibility: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.99), rgba(239,247,251,.99));
  box-shadow: 0 20px 42px rgba(16, 77, 115, 0.18);
  transform: translateY(9px);
  transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease;
}

.primary-nav .sub-menu::before {
  position: absolute;
  top: -9px;
  left: 39px;
  width: 16px;
  height: 16px;
  border-top: 2px solid #e7c938;
  border-left: 2px solid #e7c938;
  content: "";
  background: #fff;
  transform: rotate(45deg);
}

.primary-nav .sub-menu a {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 12px 13px;
  border-radius: 13px;
  white-space: normal;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.primary-nav .sub-menu li + li {
  border-top: 1px solid rgba(0, 85, 150, 0.14);
}

.primary-nav .sub-menu a:hover,
.primary-nav .sub-menu a:focus-visible {
  color: var(--hp-blue-dark);
  background: rgba(255,255,255,.82);
  box-shadow: 0 8px 18px rgba(0, 85, 150, .09);
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-header__contact {
  margin-left: 4px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 7px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--hp-blue);
}

.mobile-menu {
  position: fixed;
  z-index: 1100;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(0, 43, 76, 0.54);
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(88vw, 390px);
  height: 100%;
  padding: 22px 26px 36px;
  overflow-y: auto;
  background: #fff;
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--hp-line);
}

.mobile-menu__top .site-brand__logo,
.mobile-menu__top .custom-logo {
  width: 170px;
}

.mobile-menu__close {
  position: relative;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-menu__close::before,
.mobile-menu__close::after {
  position: absolute;
  top: 17px;
  left: 6px;
  width: 25px;
  height: 2px;
  content: "";
  background: var(--hp-blue);
  transform: rotate(45deg);
}

.mobile-menu__close::after {
  transform: rotate(-45deg);
}

.mobile-nav {
  padding: 20px 0;
}

.mobile-nav a {
  display: block;
  padding: 12px 2px;
  border-bottom: 1px solid #e8eff5;
  font-size: 19px;
}

.mobile-nav .sub-menu {
  padding-left: 17px;
}

.mobile-nav .sub-menu a {
  color: var(--hp-blue-light);
  font-size: 16px;
}

.mobile-menu__contact {
  width: 100%;
}

/* Hero */
.hp-hero {
  position: relative;
  width: min(1392px, calc(100% - 120px));
  height: 484px;
  margin: 0 auto;
  overflow: visible;
  border-radius: 0 104px 0 0;
  background-color: #eef2f5;
  background-image: var(--hero-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hp-hero::after {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 0;
  width: 24%;
  height: min(33px, calc(2.49vw - 5px));
  content: "";
  background: #fff;
  pointer-events: none;
}

.hp-hero__content {
  position: relative;
  z-index: 2;
  width: 610px;
  padding: 86px 0 0 58px;
}

.hp-hero h1 {
  max-width: 570px;
  margin-bottom: 30px;
  color: var(--hp-blue-dark);
  font-size: clamp(46px, 3.7vw, 56px);
  font-weight: 600;
  line-height: 1.06;
}

.hp-hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hp-hero__actions .button:first-child {
  min-width: 138px;
}

.hp-hero__actions .button:last-child {
  min-width: 244px;
}

.hp-hero__wave {
  position: absolute;
  z-index: 3;
  right: auto;
  bottom: -2px;
  left: 24%;
  width: calc(76% + 2px);
  height: auto;
  clip-path: inset(0 2px 0 0);
  transform: translateZ(0);
  backface-visibility: hidden;
  pointer-events: none;
}

/* Shared home headings and sliders */
.home-section {
  padding-top: 72px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-heading h2,
.about-section h2,
.benefits-section h2 {
  margin-bottom: 0;
  font-size: 34px;
  line-height: 1.1;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-controls[hidden] {
  display: none;
}

.slider-controls button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 2px solid var(--hp-blue);
  border-radius: 50%;
  color: var(--hp-blue);
  background: #fff;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.slider-controls button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.slider-controls button.is-prev svg {
  transform: rotate(180deg);
}

.slider-controls button:hover,
.slider-controls button:focus-visible,
.slider-controls button.is-primary {
  color: #fff;
  background: var(--hp-blue);
}

.slider-controls button:hover {
  transform: translateY(-2px);
}

/* News */
.latest-news {
  padding-top: 29px;
}

.news-track,
.testimonial-track {
  --slider-gap: 26px;
  display: flex;
  width: 100%;
  max-width: 100%;
  gap: var(--slider-gap);
  padding: 24px 0 52px;
  margin: -24px 0 -38px;
  overflow-x: auto;
  overflow-y: visible;
  overscroll-behavior-inline: contain;
  scroll-behavior: auto;
  scroll-padding-inline: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.news-track.is-fast-scrolling,
.testimonial-track.is-fast-scrolling {
  scroll-snap-type: none;
}

.news-track::-webkit-scrollbar,
.testimonial-track::-webkit-scrollbar {
  display: none;
}

.news-card {
  width: calc((100% - (var(--slider-gap) * 2)) / 3);
  flex: 0 0 calc((100% - (var(--slider-gap) * 2)) / 3);
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border: 1px solid var(--hp-line);
  border-radius: 36px;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
  transition: transform 220ms ease, border-color 220ms ease;
}

.news-card:hover,
.news-card:focus-within {
  border-color: rgba(61, 145, 184, .42);
  box-shadow: none;
  transform: translateY(-8px);
}

.news-card__link {
  display: flex;
  height: 430px;
  flex-direction: column;
}

.news-card__media {
  position: relative;
  display: block;
  height: 190px;
  flex: 0 0 190px;
  border-radius: 0 0 36px 0;
  overflow: hidden;
  background: linear-gradient(135deg, #c9e8ef, #6eaac5 45%, #0f5f91);
}

.news-card__media--1 {
  background: linear-gradient(140deg, #eff5f8, #b5d0d6 42%, #387b9b);
}

.news-card__media--2 {
  background: linear-gradient(140deg, #e9d9c4, #b5a58d 50%, #315978);
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.news-card__link:hover .news-card__media img {
  transform: scale(1.035);
}

.news-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background-image: radial-gradient(circle at 68% 20%, rgba(255,255,255,.35), transparent 35%), linear-gradient(120deg, transparent, rgba(0,67,111,.16));
}

.news-card__placeholder svg {
  width: 92px;
  height: 92px;
  fill: none;
  stroke: rgba(255,255,255,.76);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.news-card__placeholder > span {
  font-size: 90px;
  font-weight: 300;
  color: rgba(255,255,255,.74);
}

.news-card__status {
  position: absolute;
  top: 20px;
  right: 74px;
  padding: 9px 20px;
  border-radius: 999px;
  color: var(--hp-blue);
  background: #fff;
  font-size: 15px;
  font-weight: 600;
}

.news-card__open {
  position: absolute;
  top: 18px;
  right: 20px;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 31, 56, 0.18);
  box-shadow: 0 5px 18px rgba(0, 31, 56, 0.16);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.news-card:hover .news-card__open,
.news-card:focus-within .news-card__open {
  color: var(--hp-blue);
  background: #fff;
  transform: rotate(4deg);
}

.news-card__open svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transform: rotate(-45deg);
}

.news-card__body {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 23px 30px 24px;
  overflow: hidden;
}

.news-card__body h3 {
  display: -webkit-box;
  max-height: 3.24em;
  margin-bottom: 13px;
  overflow: hidden;
  color: var(--hp-blue-dark);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.08;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.news-card__body p {
  display: -webkit-box;
  max-height: 4.48em;
  margin-bottom: 14px;
  overflow: hidden;
  color: var(--hp-blue-light);
  font-size: 16px;
  line-height: 1.12;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.news-card__tags {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: auto;
}

.news-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border: 1.5px solid var(--hp-blue);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1;
}

/* About */
.about-section {
  position: relative;
  min-height: 574px;
  margin-top: 64px;
  border-radius: 48px 0 48px 48px;
  overflow: visible;
}

.about-section__clip {
  display: grid;
  min-height: inherit;
  grid-template-columns: 50% 50%;
  padding: 51px 43px 47px;
  border-radius: inherit;
  background: linear-gradient(114deg, #f3f7fa 0%, #e8f1f8 58%, #dfebf2 100%);
  overflow: hidden;
}

.about-section__cross {
  position: absolute;
  z-index: 2;
  top: -20px;
  right: -13px;
  width: 63px;
  height: 63px;
  filter: drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff);
  transform: rotate(45deg);
}

.about-section__cross::before,
.about-section__cross::after {
  position: absolute;
  content: "";
  border-radius: 2px;
  background: var(--hp-yellow);
}

.about-section__cross::before {
  top: 0;
  left: 22.5px;
  width: 18px;
  height: 63px;
}

.about-section__cross::after {
  top: 22.5px;
  left: 0;
  width: 63px;
  height: 18px;
}

.about-section__content {
  padding-right: 46px;
}

.about-section__logo {
  width: 205px;
  margin-bottom: 25px;
}

.about-section h2 {
  margin-bottom: 23px;
  font-size: 52px;
  font-weight: 600;
}

.about-section__lead {
  max-width: 545px;
  margin-bottom: 27px;
  color: var(--hp-blue-light);
  font-size: 24px;
  line-height: 1.08;
}

.about-list {
  padding: 0;
  margin: 0 0 43px;
  list-style: none;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  color: var(--hp-blue-light);
  font-size: 22px;
}

.about-list li span {
  display: inline-flex;
  color: var(--hp-blue);
}

.about-list li:nth-child(2) span {
  color: #3bbba1;
}

.about-list li:nth-child(3) span {
  color: var(--hp-yellow);
}

.about-list svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.about-section__actions {
  display: flex;
  gap: 15px;
}

.about-section__actions .button {
  min-width: 178px;
}

.about-gallery-clip {
  position: relative;
  width: 100%;
  align-self: stretch;
  justify-self: start;
  min-height: 476px;
  overflow: visible;
}

.about-gallery-clip::before {
  position: absolute;
  inset: -28px -43px -26px 9%;
  border-radius: 104px 0 0 104px;
  background: linear-gradient(105deg, rgba(170, 211, 234, .72), rgba(210, 241, 222, .88));
  content: "";
}

.about-social-links {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 0;
  width: 46%;
  justify-content: center;
}

.social-links.about-social-links {
  gap: 8px;
}

.social-links.about-social-links a {
  width: 40px;
  height: 40px;
  background: #3bbba1;
}

.social-links.about-social-links a:hover,
.social-links.about-social-links a:focus-visible {
  background: #239b85;
}

.about-gallery {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  width: 100%;
  min-width: 0;
  height: 100%;
  grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
  grid-template-rows: 62px minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  overflow: visible;
}

.about-gallery__item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 4px solid #fff;
  background: #d7e6ed;
}

.about-gallery.is-shuffling .about-gallery__item {
  will-change: transform;
}

.about-gallery__item[data-gallery-slot="0"] {
  grid-column: 2;
  grid-row: 2;
  border-radius: 14px 32px 32px 14px;
}

.about-gallery__item[data-gallery-slot="1"] {
  grid-column: 2;
  grid-row: 3;
  border-radius: 14px 32px 32px 14px;
}

.about-gallery__item[data-gallery-slot="2"] {
  grid-column: 1;
  grid-row: 1 / -1;
  margin: 27px 0 49px;
  border-radius: 42px;
}

.about-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,.7), rgba(89,155,182,.3)), radial-gradient(circle at 70% 30%, #e4dcb2, #a9cbd7 58%, #73a2ba);
}

.about-gallery__item--2 .gallery-placeholder {
  background: linear-gradient(145deg, #cce5ea, #67a4b8);
}

.about-gallery__item--3 .gallery-placeholder {
  background: linear-gradient(120deg, #e0e7d5, #9ec4c0 52%, #558ca7);
}

.gallery-placeholder svg {
  width: 86px;
  height: 86px;
  fill: none;
  stroke: rgba(255,255,255,.9);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

/* Benefits */
.benefits-section {
  margin-top: 77px;
  padding: 78px 0 86px;
  border-radius: 0 108px 0 0;
  background: linear-gradient(106deg, #f1f5f8 0%, #e8f1f8 56%, #d9e9f6 100%);
}

.benefits-section__inner {
  display: grid;
  grid-template-columns: 68% 32%;
  gap: 22px;
}

.benefits-section__header {
  margin-bottom: 37px;
}

.benefits-section__header h2 {
  margin-bottom: 12px;
}

.benefits-section__header p {
  max-width: 870px;
  margin: 0;
  color: var(--hp-blue-light);
  font-size: 21px;
  line-height: 1.1;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 37px 28px;
}

.benefit-card {
  display: flex;
  min-height: 238px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 27px 36px;
  border-radius: 31px;
  text-align: center;
  background: #fff;
  box-shadow: var(--hp-shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.benefit-card:hover,
.benefit-card:focus-within {
  box-shadow: 0 22px 42px rgba(21, 75, 113, 0.16);
  transform: translateY(-6px);
}

.benefit-card__icon {
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #eaf2f8;
}

.benefit-card__icon svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: var(--hp-blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.benefit-card__icon svg circle,
.benefit-card__icon svg path:last-child {
  stroke: var(--hp-yellow);
}

.benefit-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.12;
}

.benefit-card p {
  max-width: 335px;
  margin: 0;
  font-size: 17px;
  line-height: 1.08;
}

.benefits-section__image {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-top: 62px;
}

.benefits-section__image img {
  width: 100%;
  max-width: 455px;
}

/* Testimonials */
.testimonials {
  padding-top: 60px;
  padding-bottom: 70px;
}

.testimonial-track {
  --slider-gap: 27px;
}

.testimonial-card {
  width: calc((100% - (var(--slider-gap) * 2)) / 3);
  flex: 0 0 calc((100% - (var(--slider-gap) * 2)) / 3);
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  height: 270px;
  display: flex;
  flex-direction: column;
  padding: 34px 31px 27px;
  border: 1px solid var(--hp-line);
  border-radius: 33px;
  background: #fff;
  box-shadow: none;
  transition: transform 220ms ease, border-color 220ms ease;
}

@media (min-width: 981px) {
  .news-card {
    width: calc((100% - (var(--slider-gap) * 2)) / 3.5);
    flex-basis: calc((100% - (var(--slider-gap) * 2)) / 3.5);
  }

  .news-card:first-child {
    width: calc(((100% - (var(--slider-gap) * 2)) / 3.5) * 1.5);
    flex-basis: calc(((100% - (var(--slider-gap) * 2)) / 3.5) * 1.5);
  }
}

.testimonial-card:hover,
.testimonial-card:focus-within {
  border-color: rgba(61, 145, 184, .42);
  box-shadow: none;
  transform: translateY(-6px);
}

.testimonial-card__quote {
  display: block;
  width: 42px;
  height: 30px;
  flex: 0 0 30px;
  margin-bottom: 20px;
  color: var(--hp-yellow);
}

.testimonial-card__quote svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.testimonial-card blockquote {
  display: -webkit-box;
  height: 80px;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--hp-blue-light);
  font-size: 16px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.testimonial-card h3 {
  margin-top: auto;
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 700;
}

.testimonial-card p {
  margin: 0;
  font-size: 16px;
}

/* Footer */
.site-footer {
  color: var(--hp-blue);
}

.site-footer__art {
  position: relative;
  min-height: 590px;
  padding: 60px 0 205px;
  overflow: hidden;
  border-radius: 0 105px 0 0;
  background-color: #e7f1f8;
  background-image: url("../images/footer-background-blue.webp");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% 100%;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 2.1fr .75fr 1fr 1fr;
  gap: 62px;
}

.site-footer__about .site-brand__logo,
.site-footer__about .custom-logo {
  width: 320px;
  max-width: 100%;
}

.site-footer__about p {
  max-width: 475px;
  margin: 36px 0 29px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links a {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--hp-blue);
  transition: transform 160ms ease, background 160ms ease;
}

.social-links .social-link--instagram {
  display: inline-flex;
  width: auto;
  gap: 10px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.social-links.about-social-links .social-link--instagram {
  width: auto;
  padding-inline: 18px;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: var(--hp-blue-dark);
  transform: translateY(-2px);
}

.social-icon {
  display: block;
  width: 22px;
  height: 22px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icon__fill {
  fill: currentColor;
  stroke: none;
}

.site-footer__column {
  padding-top: 13px;
}

.site-footer__column h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 11px;
  margin-bottom: 19px;
  font-size: 24px;
  font-weight: 700;
}

.site-footer__column h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  content: "";
  background: var(--hp-yellow);
}

.site-footer__column li {
  margin-bottom: 13px;
}

.site-footer__column a {
  font-size: 18px;
}

.site-footer__column a:hover,
.site-footer__column a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer__bottom {
  display: flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  text-align: center;
  background: #fff;
}

.site-footer__bottom p {
  margin: 0;
  font-size: 18px;
}

.site-footer__bottom a:hover {
  text-decoration: underline;
}

/* Inner content templates */
.content-page {
  min-height: 58vh;
  padding: 70px 0 105px;
  background: linear-gradient(180deg, #f6f9fb, #fff 360px);
}

.content-page__inner--narrow {
  max-width: 960px;
}

.content-page__header {
  margin-bottom: 35px;
}

.content-page__header h1 {
  margin-bottom: 15px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.04;
}

.content-page__subtitle {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--hp-blue-light);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
}

.entry-content-card {
  padding: clamp(28px, 5vw, 65px);
  border: 1px solid var(--hp-line);
  border-radius: 36px;
  background: #fff;
  box-shadow: var(--hp-shadow);
}

.entry-content-plain {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.page .content-page,
.single .content-page {
  padding: 52px 0 90px;
  background: #fff;
}

.page .content-page__header,
.single .content-page__header {
  margin: 0;
}

/* Keep the news listing identical whether WordPress resolves it as a posts
   index or through the page-vesti.php fallback. */
.content-page.news-listing-page {
  padding: 70px 0 105px;
  background: linear-gradient(180deg, #f6f9fb, #fff 360px);
}

.news-listing-page .content-page__header {
  margin-bottom: 35px;
}

.news-listing-page .content-page__header h1 {
  margin-bottom: 15px;
}

.single .content-page__inner {
  max-width: 1040px;
}

.single .content-page__header {
  padding-bottom: 24px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--hp-line);
}

.single .content-page__header h1 {
  margin-bottom: 0;
  font-size: clamp(36px, 4vw, 56px);
}

.page .content-page__header h1 {
  margin: 0;
}

.page .entry-content:empty {
  display: none;
}

.entry-content {
  color: #245e8e;
  line-height: 1.6;
}

.entry-content > * {
  max-width: 100%;
}

.entry-content a {
  text-decoration: underline;
}

.entry-content img,
.entry-hero img {
  border-radius: 24px;
}

.entry-hero {
  margin-bottom: 35px;
}

.entry-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--hp-blue-light);
  font-weight: 700;
}

.entry-kicker a {
  color: inherit;
}

.entry-kicker__categories {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.entry-kicker a:hover,
.entry-kicker a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

/* 404 */
.not-found-page {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 36%, rgba(112, 199, 204, .16), transparent 31%),
    radial-gradient(circle at 8% 82%, rgba(255, 194, 27, .1), transparent 22%),
    linear-gradient(180deg, #f7fbfe 0%, #fff 84%);
}

.not-found-page::before,
.not-found-page::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.not-found-page::before {
  top: 9%;
  right: -120px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(0, 85, 150, .08);
}

.not-found-page::after {
  bottom: -180px;
  left: -130px;
  width: 350px;
  height: 350px;
  border: 70px solid rgba(255, 194, 27, .045);
}

.not-found-hero {
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
  padding-top: 50px;
  padding-bottom: 64px;
}

.not-found-hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.not-found-hero h1 {
  max-width: 620px;
  margin-bottom: 23px;
  color: var(--hp-blue);
  font-size: clamp(48px, 4.8vw, 72px);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.not-found-hero__lead {
  max-width: 560px;
  margin-bottom: 34px;
  color: #3d739f;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  line-height: 1.5;
}

.not-found-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.not-found-hero__visual {
  display: grid;
  min-width: 0;
  place-items: center;
}

.medical-404 {
  display: block;
  width: min(100%, 640px);
  height: auto;
  overflow: visible;
}

.medical-404__orbit {
  fill: none;
  stroke: #005596;
  stroke-dasharray: 4 14;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: center;
}

.medical-404__orbit--outer {
  stroke-opacity: .12;
  animation: hp-404-orbit 28s linear infinite;
}

.medical-404__orbit--inner {
  stroke-opacity: .08;
  animation: hp-404-orbit 22s linear infinite reverse;
}

.medical-404__number text {
  fill: #005596;
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 174px;
  font-weight: 700;
  letter-spacing: -12px;
}

.medical-404__pulse-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.medical-404__pulse-line--ghost {
  stroke: #86cfcf;
  stroke-opacity: .16;
  stroke-width: 13;
}

.medical-404__pulse-line--active {
  stroke: url(#hp-404-line);
  stroke-dasharray: 720;
  stroke-dashoffset: 720;
  stroke-width: 5;
  animation: hp-404-heartbeat 4.6s cubic-bezier(.65, 0, .35, 1) infinite;
}

.medical-404__plus {
  transform-box: fill-box;
  transform-origin: center;
  animation: hp-404-pulse 2.6s ease-in-out infinite;
}

.medical-404__dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: hp-404-particle 4s ease-in-out infinite;
}

.medical-404__dot--two {
  animation-delay: -1s;
}

.medical-404__dot--three {
  animation-delay: -2s;
}

@keyframes hp-404-orbit {
  to { transform: rotate(360deg); }
}

@keyframes hp-404-heartbeat {
  0%, 8% { opacity: 0; stroke-dashoffset: 720; }
  16% { opacity: 1; }
  74% { opacity: 1; stroke-dashoffset: 0; }
  86%, 100% { opacity: 0; stroke-dashoffset: 0; }
}

@keyframes hp-404-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes hp-404-particle {
  0%, 100% { opacity: .38; transform: translateY(0) scale(.92); }
  50% { opacity: .9; transform: translateY(-10px) scale(1.08); }
}

@media (max-width: 980px) {
  .not-found-page,
  .not-found-hero {
    min-height: 590px;
  }

  .not-found-hero {
    grid-template-columns: minmax(0, 1fr) minmax(350px, .9fr);
    gap: 12px;
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .not-found-hero h1 {
    font-size: clamp(44px, 7vw, 60px);
  }
}

@media (max-width: 760px) {
  .not-found-page,
  .not-found-hero {
    min-height: 0;
  }

  .not-found-page::before {
    top: 40%;
    right: -190px;
  }

  .not-found-hero {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 62px;
    padding-bottom: 58px;
    text-align: center;
  }

  .not-found-hero__content {
    max-width: 610px;
    margin-inline: auto;
  }

  .not-found-hero__actions {
    justify-content: center;
  }

  .not-found-hero__lead {
    margin-right: auto;
    margin-left: auto;
  }

  .not-found-hero__visual {
    width: min(100%, 480px);
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .not-found-hero {
    gap: 16px;
    padding-top: 48px;
    padding-bottom: 44px;
  }

  .not-found-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(38px, 12vw, 48px);
    line-height: 1.02;
  }

  .not-found-hero__lead {
    margin-bottom: 27px;
    font-size: 17px;
    line-height: 1.45;
  }

  .not-found-hero__visual {
    width: min(116%, 390px);
    margin-right: -8%;
    margin-left: -8%;
  }
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 35px;
}

.page-numbers {
  display: grid;
  min-width: 42px;
  min-height: 42px;
  place-items: center;
  border: 1px solid var(--hp-line);
  border-radius: 50%;
}

.page-numbers.current {
  color: #fff;
  background: var(--hp-blue);
}

/* Motion */
.hp-motion-ready.hp-header-intro .site-header {
  animation: hp-header-in 520ms cubic-bezier(.22, 1, .36, 1) both;
}

.hp-motion-ready .hp-hero__content {
  animation: hp-hero-content-in 760ms 100ms cubic-bezier(.22, 1, .36, 1) both;
}

.hp-motion-ready .reveal-item {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(.985);
  transition: opacity 680ms cubic-bezier(.22, 1, .36, 1),
    transform 680ms cubic-bezier(.22, 1, .36, 1),
    box-shadow 220ms ease,
    border-color 220ms ease;
  transition-delay: var(--reveal-delay, 0ms),
    var(--reveal-delay, 0ms),
    0ms,
    0ms;
}

.hp-motion-ready .reveal-item.reveal-from-left {
  transform: translate3d(-32px, 0, 0) scale(.985);
}

.hp-motion-ready .reveal-item.reveal-from-right {
  transform: translate3d(32px, 0, 0) scale(.985);
}

.hp-motion-ready .reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.hp-motion-ready .news-track.reveal-item,
.hp-motion-ready .testimonial-track.reveal-item {
  transform: translate3d(0, 18px, 0);
  transition-duration: 560ms, 560ms, 220ms, 220ms;
  transition-delay: 0ms, 0ms, 0ms, 0ms;
}

.hp-motion-ready .news-track.reveal-item.is-visible,
.hp-motion-ready .testimonial-track.reveal-item.is-visible {
  transform: translate3d(0, 0, 0);
}

.hp-lightweight-motion.hp-motion-ready .reveal-item {
  transform: translate3d(0, 14px, 0);
  transition-duration: 420ms, 420ms, 180ms, 180ms;
}

.hp-lightweight-motion.hp-motion-ready .reveal-item.reveal-from-left {
  transform: translate3d(-14px, 0, 0);
}

.hp-lightweight-motion.hp-motion-ready .reveal-item.reveal-from-right {
  transform: translate3d(14px, 0, 0);
}

.hp-lightweight-motion.hp-motion-ready .reveal-item.is-visible {
  transform: translate3d(0, 0, 0);
}

@keyframes hp-header-in {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hp-hero-content-in {
  from {
    opacity: 0;
    transform: translate3d(-28px, 10px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 1200px) {
  .primary-nav > .menu,
  .primary-nav > ul {
    gap: 22px;
  }

  .primary-nav a {
    font-size: 16px;
  }

  .hp-hero__content {
    padding-left: 45px;
  }

  .about-section__clip {
    grid-template-columns: 50% 50%;
  }

  .about-section h2 {
    font-size: 44px;
  }

  .about-section__lead {
    font-size: 21px;
  }

  .about-list li {
    font-size: 19px;
  }

  .site-footer__inner {
    grid-template-columns: 1.7fr .8fr 1fr 1fr;
    gap: 34px;
  }
}

@media (max-width: 980px) {
  :root {
    --hp-header-height: 88px;
  }

  .site-header {
    height: var(--hp-header-height);
  }

  .site-header.is-scrolled {
    height: 72px;
  }

  .site-header.is-scrolled .site-brand__logo,
  .site-header.is-scrolled .custom-logo {
    width: 150px;
  }

  .site-header__inner {
    width: min(100% - 42px, 900px);
  }

  .site-header .site-brand__logo,
  .site-header .custom-logo {
    width: 176px;
  }

  .primary-nav,
  .site-header__contact {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .hp-hero {
    width: 100%;
    border-radius: 0 80px 0 0;
  }

  .news-track,
  .testimonial-track {
    display: flex;
    width: calc(100vw - ((100vw - min(var(--hp-container), calc(100vw - 64px))) / 2) + 18px);
    max-width: none;
    gap: 18px;
    padding: 12px 25px 36px 18px;
    margin: -12px 0 -14px -18px;
    overflow-x: auto;
    scroll-padding-left: 18px;
    scroll-padding-right: 25px;
    scroll-behavior: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .news-track::-webkit-scrollbar,
  .testimonial-track::-webkit-scrollbar {
    display: none;
  }

  .testimonial-track {
    width: calc(100vw - ((100vw - min(var(--hp-container), calc(100vw - 64px))) / 2) + 34px);
    padding: 24px 34px 48px;
    margin: -24px 0 -30px -34px;
    scroll-padding-left: 34px;
    scroll-padding-right: 34px;
  }

  .news-card {
    width: 370px;
    flex: 0 0 370px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .about-section {
    min-height: 520px;
  }

  .about-section__clip {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 24px;
    padding: 40px 30px 38px;
  }

  .about-section__content {
    padding-right: 0;
  }

  .about-section__logo {
    width: 170px;
    margin-bottom: 18px;
  }

  .about-section h2 {
    margin-bottom: 18px;
    font-size: 38px;
  }

  .about-section__lead {
    margin-bottom: 20px;
    font-size: 18px;
  }

  .about-list {
    margin-bottom: 28px;
  }

  .about-list li {
    gap: 12px;
    font-size: 17px;
  }

  .about-section__actions {
    gap: 10px;
  }

  .about-section__actions .button {
    min-width: 0;
    flex: 1 1 50%;
    padding-inline: 14px;
  }

  .about-gallery-clip {
    width: 100%;
    min-height: 440px;
  }

  .about-gallery-clip::before {
    inset: -18px -30px -20px 9%;
  }

  .benefits-section__inner {
    grid-template-columns: 1fr;
  }

  .benefits-section__image {
    justify-content: center;
    padding-top: 35px;
  }

  .testimonial-card {
    width: 370px;
    flex: 0 0 370px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .site-footer__inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer__about {
    grid-column: 1 / -1;
  }

  .site-footer__about p {
    max-width: 650px;
  }

  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --hp-radius: 30px;
  }

  body {
    font-size: 16px;
  }

  .hp-container {
    width: calc(100% - 42px);
  }

  .button {
    min-height: 44px;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 15px;
  }

  .site-header .site-brand__logo,
  .site-header .custom-logo {
    width: 175px;
  }

  .menu-toggle span:nth-child(2) {
    width: 16px;
    margin-right: 1px;
    margin-left: auto;
  }

  .hp-hero {
    height: 440px;
    background-position: 80% bottom;
    background-size: auto 200px;
  }

  .hp-hero::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    background:
      linear-gradient(90deg, #eef2f5 0%, rgba(238,242,245,.94) 10%, rgba(238,242,245,.55) 18%, transparent 28%),
      linear-gradient(180deg, #eef2f5 0%, rgba(238,242,245,.98) 50%, rgba(238,242,245,.92) 54%, rgba(238,242,245,.45) 55%, transparent 56%);
    border-radius: inherit;
    pointer-events: none;
  }

  .hp-hero__content {
    width: 100%;
    padding: 41px 41px 0;
  }

  .hp-hero h1 {
    max-width: 330px;
    margin-bottom: 23px;
    font-size: 32px;
    line-height: 1.03;
  }

  .hp-hero__actions {
    gap: 10px;
  }

  .hp-hero__actions .button:first-child,
  .hp-hero__actions .button:last-child {
    min-width: 0;
  }

  .hp-hero__actions .button:first-child {
    flex: 0 0 111px;
  }

  .hp-hero__actions .button:last-child {
    flex: 1 1 auto;
    max-width: 197px;
  }

  .hp-hero__wave {
    right: auto;
    bottom: -2px;
    left: 0;
    width: calc(100% + 2px);
    height: auto;
  }

  .hp-hero::after {
    display: none;
  }

  .home-section,
  .latest-news {
    padding-top: 36px;
  }

  .section-heading {
    margin-bottom: 15px;
  }

  .section-heading h2,
  .about-section h2,
  .benefits-section h2 {
    font-size: 25px;
  }

  .slider-controls {
    gap: 9px;
  }

  .slider-controls button {
    width: 31px;
    height: 31px;
    font-size: 19px;
  }

  .news-track,
  .testimonial-track {
    width: calc(100vw - 3px);
    gap: 15px;
    padding-right: 20px;
    scroll-padding-right: 20px;
  }

  .testimonial-track {
    width: calc(100vw + 13px);
    padding-right: 34px;
    scroll-padding-right: 34px;
  }

  .news-card:hover,
  .news-card:focus-within,
  .testimonial-card:hover,
  .testimonial-card:focus-within {
    border-color: var(--hp-line);
    box-shadow: none;
    transform: none;
  }

  .news-card__link:hover .news-card__media img {
    transform: none;
  }

  .news-card {
    width: 302px;
    flex-basis: 302px;
    border-radius: 32px;
  }

  .news-card__link {
    height: 431px;
  }

  .news-card__media {
    height: 189px;
    flex-basis: 189px;
    border-bottom-right-radius: 32px;
  }

  .news-card__status {
    top: 18px;
    right: 62px;
    padding: 8px 18px;
    font-size: 14px;
  }

  .news-card__open {
    top: 17px;
    right: 17px;
    width: 39px;
    height: 39px;
  }

  .news-card__body {
    padding: 17px 19px 18px;
  }

  .news-card__body h3 {
    margin-bottom: 12px;
    font-size: 20px;
  }

  .news-card__body p {
    font-size: 16px;
  }

  .about-section {
    width: calc(100% - 34px);
    min-height: 0;
    margin-top: 37px;
    border-radius: 50px 0 50px 50px;
  }

  .about-section__clip {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 31px 24px 24px;
  }

  .about-section__cross {
    top: -10px;
    right: -7px;
    width: 48px;
    height: 48px;
  }

  .about-section__cross::before {
    left: 17px;
    width: 14px;
    height: 48px;
  }

  .about-section__cross::after {
    top: 17px;
    width: 48px;
    height: 14px;
  }

  .about-section__logo {
    width: 149px;
    margin-bottom: 12px;
  }

  .about-section h2 {
    margin-bottom: 8px;
    font-size: 32px;
  }

  .about-section__lead {
    margin-bottom: 17px;
    font-size: 15.5px;
    line-height: 1.08;
  }

  .about-list {
    margin-bottom: 20px;
  }

  .about-list li {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.07;
  }

  .about-list svg {
    width: 24px;
    height: 24px;
  }

  .about-section__actions {
    gap: 10px;
  }

  .about-section__actions .button {
    min-width: 0;
    flex: 1 1 50%;
    padding-inline: 10px;
  }

  .about-gallery-clip {
    width: calc(100% - 28px);
    height: 250px;
    min-height: 250px;
    justify-self: center;
  }

  .about-gallery-clip::before {
    inset: 43px -18px -24px;
    border-radius: 48px 48px 0 0;
    background: linear-gradient(145deg, rgba(181, 218, 235, .82), rgba(211, 242, 222, .94));
  }

  .about-social-links {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    justify-content: center;
    gap: 9px;
  }

  .about-gallery {
    inset: 0 0 auto;
    width: 100%;
    height: 190px;
    grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .about-gallery__item {
    border-width: 3px;
  }

  .about-gallery__item[data-gallery-slot="0"] {
    grid-column: 2;
    grid-row: 1;
    border-radius: 8px 22px 22px 8px;
  }

  .about-gallery__item[data-gallery-slot="1"] {
    grid-column: 2;
    grid-row: 2;
    border-radius: 8px 22px 22px 8px;
  }

  .about-gallery__item[data-gallery-slot="2"] {
    grid-column: 1;
    grid-row: 1 / -1;
    margin: 0;
    border-radius: 28px;
  }

  .gallery-placeholder svg {
    width: 55px;
    height: 55px;
  }

  .benefits-section {
    margin-top: 68px;
    padding: 37px 0 0;
    border-radius: 0 82px 0 0;
  }

  .benefits-section__inner {
    width: calc(100% - 62px);
    gap: 0;
  }

  .benefits-section__header {
    margin-bottom: 25px;
  }

  .benefits-section__header h2 {
    margin-bottom: 10px;
  }

  .benefits-section__header p {
    font-size: 16px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .benefit-card {
    min-height: 246px;
    padding: 27px 24px;
    border-radius: 20px;
  }

  .benefit-card__icon {
    width: 68px;
    height: 68px;
    margin-bottom: 25px;
  }

  .benefit-card__icon svg {
    width: 45px;
    height: 45px;
  }

  .benefit-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
  }

  .benefit-card p {
    font-size: 16px;
  }

  .benefits-section__image {
    width: calc(100% + 62px);
    height: 370px;
    align-items: flex-start;
    margin-left: -31px;
    padding-top: 34px;
    overflow: hidden;
  }

  .benefits-section__image img {
    max-width: 390px;
  }

  .testimonials {
    padding-top: 45px;
    padding-bottom: 50px;
  }

  .testimonial-card {
    width: 305px;
    height: 260px;
    flex-basis: 305px;
    padding: 31px 28px 25px;
    border-radius: 31px;
  }

  .testimonial-card__quote {
    margin-bottom: 18px;
  }

  .testimonial-card blockquote {
    min-height: 0;
    margin-bottom: 15px;
    font-size: 16px;
  }

  .site-footer__art {
    min-height: 0;
    padding: 35px 0 145px;
    border-radius: 0 80px 0 0;
    background-size: auto 330px;
  }

  .site-footer__art::after {
    position: absolute;
    right: 0;
    bottom: 210px;
    left: 0;
    height: 120px;
    content: "";
    background: linear-gradient(180deg, #e7f1f8 0%, rgba(231, 241, 248, .72) 48%, rgba(231, 241, 248, 0) 100%);
    pointer-events: none;
  }

  .site-footer__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 25px;
  }

  .site-footer__about {
    grid-column: 1 / -1;
  }

  .site-footer__about .site-brand__logo,
  .site-footer__about .custom-logo {
    width: 181px;
  }

  .site-footer__about p {
    margin: 25px 0 21px;
    font-size: 16px;
    line-height: 1.2;
  }

  .social-links a {
    width: 42px;
    height: 42px;
  }

  .site-footer__column {
    padding-top: 0;
  }

  .site-footer__column--info {
    grid-column: 1 / -1;
  }

  .site-footer__column--info .menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
  }

  .site-footer__column h2 {
    margin-bottom: 18px;
    font-size: 21px;
  }

  .site-footer__column li {
    margin-bottom: 13px;
  }

  .site-footer__column a {
    font-size: 16px;
  }

  .site-footer__bottom {
    min-height: 44px;
    padding: 8px 12px;
  }

  .site-footer__bottom p {
    font-size: 14px;
  }

  .content-page {
    padding: 35px 0 70px;
  }

  .page .content-page {
    padding: 32px 0 65px;
  }

  .content-page.news-listing-page {
    padding: 35px 0 70px;
  }

  .single .content-page {
    padding: 32px 0 65px;
  }

  .single .content-page__header {
    padding-bottom: 18px;
    margin-bottom: 22px;
  }

  .single .content-page__header h1 {
    font-size: clamp(28px, 8vw, 32px);
    line-height: 1.08;
  }

  .content-page__header h1 {
    font-size: 38px;
  }

  .content-page__subtitle {
    font-size: 17px;
  }

  .entry-content-card {
    padding: 26px 21px;
    border-radius: 28px;
  }

  .archive-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 641px) and (max-width: 800px) {
  .about-section {
    width: calc(100% - 48px);
    min-height: 0;
    border-radius: 50px 0 50px 50px;
  }

  .about-section__clip {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 36px 32px 30px;
  }

  .about-section__lead {
    max-width: 600px;
  }

  .about-list {
    margin-bottom: 24px;
  }

  .about-section__actions {
    max-width: 430px;
  }

  .about-gallery-clip {
    width: min(460px, calc(100% - 36px));
    height: 340px;
    min-height: 340px;
    justify-self: center;
  }

  .about-gallery-clip::before {
    inset: 58px -26px -30px;
    border-radius: 70px 70px 0 0;
    background: linear-gradient(145deg, rgba(181, 218, 235, .82), rgba(211, 242, 222, .94));
  }

  .about-social-links {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    justify-content: center;
  }

  .about-gallery {
    inset: 0 0 auto;
    width: 100%;
    height: 260px;
    grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .about-gallery__item[data-gallery-slot="0"] {
    grid-column: 2;
    grid-row: 1;
    border-radius: 10px 26px 26px 10px;
  }

  .about-gallery__item[data-gallery-slot="1"] {
    grid-column: 2;
    grid-row: 2;
    border-radius: 10px 26px 26px 10px;
  }

  .about-gallery__item[data-gallery-slot="2"] {
    grid-column: 1;
    grid-row: 1 / -1;
    margin: 0;
    border-radius: 34px;
  }
}

@media (max-width: 374px) {
  .hp-hero {
    height: 510px;
    background-size: auto 190px;
  }

  .hp-hero::before {
    background:
      linear-gradient(90deg, #eef2f5 0%, rgba(238,242,245,.94) 10%, rgba(238,242,245,.55) 18%, transparent 28%),
      linear-gradient(180deg, #eef2f5 0%, rgba(238,242,245,.98) 62.5%, rgba(238,242,245,.45) 64%, transparent 66%);
  }

  .hp-hero__content {
    padding: 36px 32px 0;
  }

  .hp-hero h1 {
    margin-bottom: 20px;
    font-size: 30px;
  }

  .hp-hero__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hp-hero__actions .button:first-child,
  .hp-hero__actions .button:last-child {
    width: 100%;
    max-width: none;
    flex: 0 0 auto;
  }
}

/* Managed galleries */
.has-gallery-lightbox {
  overflow: hidden;
}

.entry-content > .healthplus-gallery {
  margin-top: 38px;
}

.healthplus-gallery {
  display: grid;
  gap: 36px;
}

.entry-content .empty-state {
  margin-top: 32px;
  padding: 30px;
  border: 1px solid var(--hp-line);
  border-radius: 22px;
  background: var(--hp-mist);
  text-align: center;
}

.entry-content .empty-state h2 {
  margin: 0;
  color: var(--hp-blue);
  font-size: 24px;
}

.healthplus-gallery__section {
  display: grid;
  gap: 20px;
}

.healthplus-gallery__section-title {
  margin: 0;
  color: var(--hp-blue);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.healthplus-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.healthplus-gallery__item {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--hp-line);
  border-radius: 22px;
  background: var(--hp-mist);
  box-shadow: var(--hp-shadow);
  cursor: zoom-in;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.healthplus-gallery__item:hover,
.healthplus-gallery__item:focus-visible {
  border-color: var(--hp-blue-light);
  outline: 0;
  box-shadow: 0 20px 42px rgba(21, 75, 113, 0.2);
  transform: translateY(-3px);
}

.healthplus-gallery__item img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  transition: transform 260ms ease;
}

.healthplus-gallery__item:hover img,
.healthplus-gallery__item:focus-visible img {
  transform: scale(1.04);
}

.healthplus-gallery__pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.entry-content .healthplus-gallery__pagination a {
  display: inline-grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  padding: 0 13px;
  border: 1px solid var(--hp-line);
  border-radius: 999px;
  color: var(--hp-blue);
  background: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.healthplus-gallery__pagination-ellipsis {
  display: inline-grid;
  min-width: 32px;
  min-height: 44px;
  place-items: center;
  color: var(--hp-blue-light);
  font-weight: 700;
}

.entry-content .healthplus-gallery__pagination a:hover,
.entry-content .healthplus-gallery__pagination a:focus-visible,
.entry-content .healthplus-gallery__pagination a.is-active {
  border-color: var(--hp-blue);
  outline: 0;
  color: #fff;
  background: var(--hp-blue);
}

.healthplus-gallery-lightbox {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 76px;
  align-items: center;
  gap: 16px;
  padding: 76px 28px 32px;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.healthplus-gallery-lightbox.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.healthplus-gallery-lightbox__figure {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 16px;
  margin: 0;
}

.healthplus-gallery-lightbox__figure img {
  max-width: 100%;
  max-height: calc(100vh - 150px);
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
}

.healthplus-gallery-lightbox__counter {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.healthplus-gallery-lightbox__close,
.healthplus-gallery-lightbox__nav {
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: transparent;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease;
}

.healthplus-gallery-lightbox__close:hover,
.healthplus-gallery-lightbox__close:focus-visible,
.healthplus-gallery-lightbox__nav:hover,
.healthplus-gallery-lightbox__nav:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.healthplus-gallery-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--hp-yellow);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.3);
}

.healthplus-gallery-lightbox__close::before,
.healthplus-gallery-lightbox__close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 23px;
  height: 3px;
  border-radius: 999px;
  background: var(--hp-blue-dark);
  content: "";
}

.healthplus-gallery-lightbox__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.healthplus-gallery-lightbox__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.healthplus-gallery-lightbox__nav {
  position: relative;
  width: 62px;
  height: 62px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.healthplus-gallery-lightbox__nav::before {
  width: 15px;
  height: 15px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  content: "";
  transform: rotate(45deg) translate(-2px, 2px);
}

.healthplus-gallery-lightbox__nav--prev::before {
  transform: rotate(-135deg) translate(-2px, 2px);
}

.healthplus-gallery-lightbox__nav--next {
  justify-self: end;
}

@media (max-width: 980px) {
  .healthplus-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .healthplus-gallery-lightbox {
    grid-template-columns: 1fr 1fr;
    align-content: center;
    padding: 76px 18px 24px;
  }

  .healthplus-gallery-lightbox__figure {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .healthplus-gallery-lightbox__nav {
    grid-row: 2;
    width: 52px;
    height: 52px;
    margin-top: 10px;
  }

  .healthplus-gallery-lightbox__nav--prev {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .entry-content > .healthplus-gallery {
    margin-top: 28px;
  }

  .healthplus-gallery {
    gap: 28px;
  }

  .healthplus-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .healthplus-gallery__item {
    border-radius: 15px;
  }

  .healthplus-gallery-lightbox__figure img {
    max-height: calc(100vh - 190px);
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hp-motion-ready .reveal-item {
    opacity: 1;
    transform: none;
  }
}

/* Client-approved blue theme — September 2026. */
:root {
  --hp-blue: #3379f5;
  --hp-blue-dark: #2867df;
  --hp-blue-light: #95baff;
  --hp-yellow: #fff04a;
  --hp-mist: #122c63;
  --hp-line: rgba(97, 140, 238, 0.2);
  --hp-white: #fff;
  --hp-surface: #0c204d;
  --hp-surface-raised: #122c63;
  --hp-section: #153574;
  --hp-blue-glow: rgba(51, 121, 245, 0.18);
  --hp-page: #0a1c48;
  --hp-footer: #06152f;
  --hp-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

body {
  color: var(--hp-white);
  background: var(--hp-page);
}

.site-main,
.site-main--home {
  background: var(--hp-page);
}

h1,
h2,
h3 {
  color: var(--hp-white);
}

.screen-reader-text:focus {
  color: var(--hp-white);
  background: var(--hp-surface-raised);
}

.button {
  border-color: var(--hp-blue-dark);
  background: var(--hp-blue-dark);
}

.button:hover,
.button:focus-visible {
  background: #3e82ff;
  box-shadow: 0 8px 22px rgba(51, 121, 245, 0.36);
}

.button--yellow {
  border-color: var(--hp-yellow);
  color: #07101c;
  background: var(--hp-yellow);
}

.button--yellow:hover,
.button--yellow:focus-visible {
  border-color: #fff575;
  color: #07101c;
  background: #fff575;
  box-shadow: 0 8px 22px rgba(255, 240, 74, 0.2);
}

.button--outline {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--hp-white);
  background: transparent;
}

/* Header */
.site-header,
.site-header.is-scrolled {
  background: rgba(10, 28, 72, 0.94);
  box-shadow: none;
}

.site-header.is-scrolled {
  border-bottom: 1px solid var(--hp-line);
}

.primary-nav a {
  color: var(--hp-white);
}

.primary-nav > ul > li > a:hover,
.primary-nav > ul > li > a:focus-visible,
.primary-nav > .menu > li > a:hover,
.primary-nav > .menu > li > a:focus-visible {
  color: var(--hp-white);
}

.primary-nav .sub-menu {
  border-color: rgba(255, 240, 74, 0.72);
  background: linear-gradient(145deg, rgba(16, 41, 87, 0.99), rgba(12, 32, 77, 0.99));
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.38);
}

.primary-nav .sub-menu::before {
  border-color: var(--hp-yellow);
  background: var(--hp-surface-raised);
}

.primary-nav .sub-menu li + li,
.mobile-menu__top,
.mobile-nav a {
  border-color: var(--hp-line);
}

.primary-nav .sub-menu a:hover,
.primary-nav .sub-menu a:focus-visible {
  color: var(--hp-white);
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle span:not(.screen-reader-text),
.mobile-menu__close::before,
.mobile-menu__close::after {
  background: var(--hp-white);
}

.mobile-menu__backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.mobile-menu__panel {
  color: var(--hp-white);
  background: var(--hp-surface);
}

.mobile-nav .sub-menu a {
  color: var(--hp-white);
}

/* Hero */
.hp-hero {
  --hero-left-radius: 32px;
  --hero-bottom-trim: min(33px, calc(2.49vw - 5px));
  border-radius: var(--hero-left-radius) 104px 0 var(--hero-left-radius);
  background-color: var(--hp-page);
  background-position: right center;
}

.hp-hero::before {
  display: none;
}

/* Round the visible lower edge above the strip hidden by the wave mask. */
.hp-hero::after {
  height: calc(var(--hero-bottom-trim) + var(--hero-left-radius));
  background:
    radial-gradient(circle at 100% 0, transparent calc(var(--hero-left-radius) - 0.5px), var(--hp-page) var(--hero-left-radius)) top left / var(--hero-left-radius) var(--hero-left-radius) no-repeat,
    linear-gradient(var(--hp-page), var(--hp-page)) bottom left / 100% var(--hero-bottom-trim) no-repeat;
}

.hp-hero h1 {
  max-width: 10.3em;
  color: var(--hp-white);
}

.hp-hero__title-accent {
  color: var(--hp-white);
}

/* Home headings and sliders */
.section-heading h2,
.about-section h2,
.benefits-section h2 {
  color: var(--hp-white);
}

.slider-controls button {
  border-color: var(--hp-white);
  color: var(--hp-white);
  background: transparent;
}

.slider-controls button:hover,
.slider-controls button:focus-visible,
.slider-controls button.is-primary {
  color: var(--hp-page);
  background: var(--hp-white);
}

/* News */
.news-card__media,
.news-card__media--1,
.news-card__media--2 {
  background: linear-gradient(135deg, #739eff, #3265d5 48%, var(--hp-section));
}

.news-card__placeholder {
  background-image: radial-gradient(circle at 68% 20%, rgba(255, 255, 255, 0.15), transparent 45%);
}

.news-card {
  border-color: var(--hp-line);
  background: #06152f;
}

.news-card:hover,
.news-card:focus-within {
  border-color: rgba(149, 186, 255, 0.5);
}

.news-card__body h3 {
  color: var(--hp-white);
}

.news-card__body p,
.news-empty {
  color: var(--hp-white);
}

.news-card__status {
  color: #07101c;
  background: var(--hp-yellow);
}

.news-card__tag {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--hp-white);
}

.news-card:hover .news-card__open,
.news-card:focus-within .news-card__open {
  color: var(--hp-page);
}

/* About */
.about-section__clip {
  border: 1px solid var(--hp-line);
  background:
    radial-gradient(circle at 78% 54%, var(--hp-blue-glow), transparent 48%),
    linear-gradient(115deg, var(--hp-surface) 0%, var(--hp-surface-raised) 65%, var(--hp-section) 100%);
}

.about-section__cross {
  filter: drop-shadow(0 3px 0 var(--hp-page)) drop-shadow(0 -3px 0 var(--hp-page)) drop-shadow(3px 0 0 var(--hp-page)) drop-shadow(-3px 0 0 var(--hp-page));
}

.about-section__lead,
.about-list li {
  color: var(--hp-white);
}

.about-gallery-clip::before {
  background: rgba(51, 121, 245, 0.08);
}

.about-gallery__item {
  border-color: var(--hp-yellow);
  background: var(--hp-surface-raised);
}

/* Benefits */
.benefits-section {
  border-top: 1px solid var(--hp-line);
  background:
    radial-gradient(circle at 82% 58%, var(--hp-blue-glow), transparent 46%),
    linear-gradient(108deg, var(--hp-surface-raised) 0%, var(--hp-section) 100%);
}

.benefits-section__inner {
  grid-template-columns: minmax(0, 62fr) minmax(0, 38fr);
  gap: 28px;
}

.benefits-section__header p,
.benefit-card p {
  color: var(--hp-white);
}

.benefit-card {
  border: 1px solid var(--hp-line);
  background: var(--hp-surface);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.benefit-card:hover,
.benefit-card:focus-within {
  border-color: rgba(149, 186, 255, 0.48);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.28);
}

.benefit-card__icon {
  background: rgba(255, 255, 255, 0.06);
}

.benefit-card__icon svg {
  stroke: var(--hp-white);
}

.benefits-section__image img {
  max-width: 510px;
}

.benefits-membership {
  display: flex;
  min-height: 112px;
  align-items: center;
  gap: 22px;
  padding: 24px 28px;
  margin: 0 0 32px;
  border: 2px solid var(--hp-yellow);
  border-radius: 18px;
  background: linear-gradient(110deg, var(--hp-section), var(--hp-surface-raised));
  transition: border-color 180ms ease, transform 180ms ease;
}

.benefits-membership:hover,
.benefits-membership:focus-visible {
  border-color: #fff575;
  transform: translateY(-2px);
}

.benefits-membership__logo {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  object-fit: contain;
}

.benefits-membership strong,
.benefits-membership small {
  display: block;
}

.benefits-membership strong {
  color: var(--hp-white);
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.2;
}

.benefits-membership strong::first-letter {
  color: inherit;
}

.benefits-membership small {
  margin-top: 8px;
  color: var(--hp-white);
  font-size: 17px;
  line-height: 1.35;
}

/* Testimonials */
.testimonials {
  border-bottom: 0;
}

.testimonial-card {
  border-color: var(--hp-line);
  background: linear-gradient(145deg, var(--hp-surface-raised), var(--hp-surface));
}

.testimonial-card:hover,
.testimonial-card:focus-within {
  border-color: rgba(149, 186, 255, 0.48);
}

.testimonial-card blockquote {
  color: var(--hp-white);
}

/* Footer */
.site-footer {
  --footer-radius: 105px;
  overflow: hidden;
  border-radius: 0 var(--footer-radius) 0 0;
  color: var(--hp-white);
  background: var(--hp-footer);
}

.site-footer__art {
  min-height: 0;
  border-radius: inherit;
  padding-bottom: 220px;
  border-top: 0;
  background:
    linear-gradient(180deg, var(--hp-footer) 0%, transparent 25%, transparent 80%, var(--hp-footer) 100%),
    var(--hp-footer) url("../images/footer-background-blue.webp") center bottom / cover no-repeat;
}

/* Narrow layouts keep the artwork below the content, at its natural proportions. */
.site-footer__art::before {
  display: none;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: var(--footer-art-height);
  content: "";
  background: url("../images/footer-background-blue.webp") center bottom / cover no-repeat;
  --footer-image-mask: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.08) 12%, rgba(0, 0, 0, 0.35) 28%, rgba(0, 0, 0, 0.72) 45%, #000 65%, #000 82%, transparent 100%);
  -webkit-mask-image: var(--footer-image-mask);
  mask-image: var(--footer-image-mask);
  pointer-events: none;
}

.site-footer__art::after {
  display: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
}

.site-footer__about p,
.site-footer__column a {
  color: var(--hp-white);
}

.social-links a {
  color: var(--hp-blue-dark);
  background: var(--hp-white);
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--hp-page);
  background: var(--hp-yellow);
}

.social-links.about-social-links a {
  color: var(--hp-white);
  background: var(--hp-blue);
}

.site-footer__bottom {
  border-top: 0;
  color: var(--hp-white);
  background: var(--hp-footer);
}

/* Inner templates */
.content-page,
.page .content-page,
.single .content-page,
.content-page.news-listing-page,
.not-found-page {
  --hp-content-bg: var(--hp-page);
  background: var(--hp-content-bg);
}

.content-page__subtitle,
.entry-content,
.entry-kicker,
.not-found-hero__lead {
  color: var(--hp-white);
}

.entry-content-card {
  border-color: var(--hp-line);
  background: var(--hp-surface-raised);
  box-shadow: var(--hp-shadow);
}

.entry-content-plain {
  background: transparent;
}

.single .content-page__header {
  border-color: var(--hp-line);
}

.not-found-page {
  background:
    radial-gradient(circle at 77% 36%, rgba(0, 75, 135, 0.2), transparent 31%),
    radial-gradient(circle at 8% 82%, rgba(255, 240, 74, 0.08), transparent 22%),
    var(--hp-page);
}

.not-found-hero h1,
.medical-404__number text {
  color: var(--hp-white);
  fill: var(--hp-white);
}

.healthplus-gallery__pagination a,
.healthplus-gallery__pagination span {
  border-color: var(--hp-line);
  color: var(--hp-white);
  background: var(--hp-surface-raised);
}

@media (max-width: 980px) {
  .hp-hero {
    --hero-left-radius: 0px;
  }

  .hp-hero::after {
    height: var(--hero-bottom-trim);
    background: var(--hp-page);
  }

  .benefits-section__inner {
    grid-template-columns: 1fr;
  }

  .benefits-section {
    padding-bottom: 0;
  }

  .benefits-section__image {
    height: 370px;
    align-items: flex-start;
    padding-top: 34px;
    overflow: hidden;
  }

  .site-footer__art {
    --footer-art-height: clamp(240px, 34vw, 340px);
    padding-bottom: clamp(150px, 19vw, 185px);
    background: var(--hp-footer);
  }

  .site-footer__art::before {
    display: block;
  }
}

@media (max-width: 640px) {
  .site-footer {
    --footer-radius: 80px;
  }

  .site-footer__art {
    padding-bottom: 100px;
  }

  .hp-hero {
    height: 300px;
    overflow: hidden;
    border-radius: 0 72px 0 0;
    background-position: 78% center;
    background-size: auto 100%;
  }

  /* Keep the artwork behind the heading and actions on phones. */
  .hp-hero::before {
    display: block;
    background: linear-gradient(90deg, rgba(3, 19, 46, 0.78) 0%, rgba(3, 19, 46, 0.62) 48%, rgba(3, 19, 46, 0.18) 100%);
  }

  .hp-hero__wave {
    left: -3px;
    width: calc(100% + 6px);
    max-width: none;
    clip-path: none;
  }

  .news-track {
    align-items: flex-start;
  }

  .news-card__link {
    height: auto;
  }

  .news-card__body {
    flex: 0 0 auto;
  }

  .news-card__tags {
    margin-top: 12px;
  }

  .news-card__body p {
    margin-bottom: 0;
  }

  .news-card__tag {
    padding: 5px 12px;
    border-radius: 999px;
  }

  .about-gallery-clip::before {
    background: rgba(51, 121, 245, 0.1);
  }

  .benefits-membership {
    gap: 16px;
    padding: 20px 18px;
    margin-bottom: 26px;
  }

  .benefits-membership__logo {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .benefits-membership strong {
    font-size: 20px;
  }

  .benefits-membership small {
    font-size: 15px;
  }

}

@media (max-width: 440px) {
  .hp-hero {
    height: 370px;
  }

  .hp-hero__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hp-hero__actions .button:first-child,
  .hp-hero__actions .button:last-child {
    width: 100%;
    max-width: none;
    flex: 0 0 auto;
  }
}

/* Consistent foregrounds and checks. */
.about-list li span,
.about-list li:nth-child(2) span,
.about-list li:nth-child(3) span {
  color: var(--hp-blue-light);
}

.social-links.about-social-links a {
  color: var(--hp-white);
  background: var(--hp-blue);
}

.social-links.about-social-links a:hover,
.social-links.about-social-links a:focus-visible {
  color: var(--hp-white);
  background: #3e82ff;
}

.healthplus-gallery__section-title,
.entry-content .empty-state h2,
.entry-content .healthplus-gallery__pagination a,
.healthplus-gallery__pagination-ellipsis {
  color: var(--hp-white);
}

.entry-content .empty-state,
.entry-content .healthplus-gallery__pagination a {
  background: var(--hp-surface-raised);
}

/* Fade after half a viewport, regardless of the inner page content length. */
.site-main.content-page {
  --hp-pattern-offset: 24px;
  background-image:
    linear-gradient(to bottom, var(--hp-content-bg) 0 var(--hp-pattern-offset), transparent var(--hp-pattern-offset), var(--hp-content-bg) 50vh),
    url("../images/inner-page-crosses.svg?v=6");
  background-position: left top, left var(--hp-pattern-offset);
  background-size: 100% 100%, 84px 84px;
  background-repeat: no-repeat, repeat;
}

@media (max-width: 640px) {
  .site-main.content-page {
    --hp-pattern-offset: 20px;
    background-size: 100% 100%, 60px 60px;
  }
}

/* Archive cards use their grid column, independently of the homepage slider. */
.archive-grid > .news-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: none;
}

.archive-grid .news-card__link {
  height: 100%;
  min-width: 0;
}

.archive-grid .news-card__media {
  height: auto;
  flex: 0 0 auto;
  aspect-ratio: 16 / 9;
}

.archive-grid .news-card__body {
  flex: 1 1 auto;
  padding: 24px;
  overflow: visible;
  overflow-wrap: anywhere;
}

.archive-grid .news-card__body h3 {
  display: block;
  max-height: none;
  overflow: visible;
  line-height: 1.25;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.archive-grid .news-card__body p {
  max-height: 4.2em;
  margin-bottom: 20px;
  line-height: 1.4;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.archive-grid .news-card__tags {
  margin-top: auto;
}

.archive-grid .news-card__tag {
  max-width: 100%;
  line-height: 1.2;
}

@media (max-width: 640px) {
  .archive-grid {
    gap: 24px;
  }

  .archive-grid .news-card__body {
    padding: 20px;
  }
}

/* Subtle crosses run from the top of the homepage up to benefits. */
.hp-hero {
  --hero-wave-width: calc(76% + 2px);
  --hero-wave-right: -2px;
  /* Cut away the navy wave base and lower-left trim to reveal the pattern. */
  mask-image:
    linear-gradient(#000, #000),
    linear-gradient(#000, #000),
    radial-gradient(circle at 100% 0, transparent calc(var(--hero-left-radius) - 0.5px), #000 var(--hero-left-radius)),
    url("../images/hero-wave-cutout.svg");
  mask-size:
    100% 100%,
    24% var(--hero-bottom-trim),
    var(--hero-left-radius) var(--hero-left-radius),
    var(--hero-wave-width) auto;
  mask-position:
    left top,
    left bottom,
    left 0 bottom var(--hero-bottom-trim),
    right var(--hero-wave-right) bottom 0;
  mask-repeat: no-repeat;
  mask-composite: exclude;
}

.hp-hero::after {
  display: none;
}

.hp-hero__wave {
  bottom: 0;
}

.home-intro {
  background:
    linear-gradient(to bottom, var(--hp-page), rgba(10, 28, 72, 0.45) 140px),
    url("../images/inner-page-crosses.svg?v=6") left top / 84px 84px repeat;
}

.home-news-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  isolation: isolate;
  padding-bottom: 77px;
}

.home-news-about > .latest-news {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
}

.home-news-about > .about-section {
  grid-area: 2 / 1;
}

.home-intro + .benefits-section {
  margin-top: 0;
}

@media (max-width: 640px) {
  .hp-hero {
    --hero-bottom-trim: 0px;
    --hero-wave-width: calc(100% + 6px);
    --hero-wave-right: -3px;
  }

  .home-intro {
    background-size: 100% 100%, 60px 60px;
  }

  .home-news-about {
    padding-bottom: 68px;
  }
}

/* Education catalogue, bundled with the theme and available as a shortcode. */
.content-page--educations .education-page-heading {
  margin-bottom: 32px;
}
.education-page-heading .content-page__subtitle {
  max-width: 820px;
  line-height: 1.45;
}

.education-page-content {
  margin-bottom: 32px;
}

.education-catalogue {
  min-width: 0;
}

.education-updates {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px 30px;
  margin-bottom: 48px;
  border: 1px solid rgba(149, 186, 255, .28);
  border-radius: 26px;
  background: linear-gradient(115deg, #142f65, #102551);
}

.education-updates__text {
  flex: 1;
  min-width: 0;
}

.education-catalogue .education-updates h2,
.education-catalogue .education-contact h2 {
  margin: 0 0 8px;
  color: var(--hp-white);
  font-size: clamp(21px, 1.8vw, 25px);
  line-height: 1.25;
}

.education-catalogue .education-updates p,
.education-catalogue .education-contact p {
  margin: 0;
  color: #cbd9f4;
  font-size: 16px;
  line-height: 1.5;
}

.education-catalogue a.button {
  text-decoration: none;
  flex-shrink: 0;
}

.education-updates__button {
  gap: 10px;
}

.education-updates__button > span {
  display: flex;
}

.education-updates__button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.education-catalogue .education-updates h2 {
  margin-bottom: 4px;
  line-height: 1.2;
}

.education-catalogue .education-updates p {
  line-height: 1.3;
}

.education-catalogue__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.education-catalogue__label h2 {
  margin: 0;
  color: var(--hp-white);
  font-size: clamp(26px, 2.3vw, 32px);
  line-height: 1.2;
}

.education-catalogue__label > span {
  color: #b1c9f4;
  font-size: 15px;
  white-space: nowrap;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.education-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hp-line);
  border-radius: 28px;
  background: #06152f;
}

.education-card__visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-bottom-right-radius: 36px;
  background: #142f65;
}

.education-catalogue .education-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}

.education-card__body {
  padding: 23px 25px 28px;
}

.education-catalogue .education-card__description {
  margin: 10px 0 0;
  color: #bdcce7;
  font-size: 16px;
  line-height: 1.4;
}

.education-catalogue .education-card h3 {
  margin: 0;
  color: var(--hp-white);
  font-size: clamp(20px, 1.65vw, 23px);
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.education-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 32px;
  margin-top: 42px;
  border-top: 1px solid var(--hp-line);
}

@media (max-width: 980px) {
  .education-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .education-updates {
    flex-wrap: wrap;
  }

  .education-updates__text {
    flex-basis: 100%;
  }
}

@media (max-width: 640px) {
  .education-updates {
    padding: 22px;
    gap: 16px;
    margin-bottom: 34px;
  }

  .education-updates__text {
    flex-basis: 100%;
  }

  .education-catalogue .education-updates__button {
    width: 100%;
    margin-left: 0;
  }

  .education-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .education-card__body {
    padding: 21px 22px 25px;
  }

  .education-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}

/* Keep page intro spacing consistent for both page and archive body classes. */
.site-main.content-page:is(.news-listing-page, .content-page--educations) .content-page__header > h1 {
  margin-bottom: 0;
}

.site-main.content-page:is(.news-listing-page, .content-page--educations) .content-page__header > h1 + .content-page__subtitle {
  margin-top: 20px;
}

/* Contact page. */
.site-main.content-page--contact .contact-page-heading {
  margin-bottom: 38px;
}
.site-main.content-page--contact .contact-page-heading h1 {
  margin-bottom: 0;
}
.site-main.content-page--contact .contact-page-heading .content-page__subtitle {
  margin-top: 20px;
}
.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.contact-detail {
  min-width: 0;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--hp-line);
  border-radius: 28px;
  background: #06152f;
}
.contact-detail__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 16px;
  color: var(--hp-yellow);
  background: #163368;
}
.contact-detail__icon svg,
.contact-instagram-button svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.content-page--contact .contact-detail h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.25;
}
.content-page--contact .contact-detail__value,
.contact-detail address {
  color: var(--hp-white);
  font-size: clamp(17px, 1.6vw, 22px);
  font-style: normal;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.content-page--contact .contact-detail__value {
  text-decoration: none;
}
.content-page--contact .contact-detail p {
  margin: 12px 0 0;
  color: #bdcce7;
  font-size: 16px;
  line-height: 1.45;
}
.content-page--contact .contact-detail__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--hp-blue-light);
  text-decoration: none;
}
.content-page--contact .contact-detail__value:hover,
.content-page--contact .contact-detail__link:hover {
  color: var(--hp-yellow);
  text-decoration: underline;
}
.contact-detail--instagram {
  background: #102957;
}
.content-page--contact .contact-instagram-button {
  gap: 10px;
  margin-top: 22px;
  text-decoration: none;
}
.contact-instagram-button > span {
  display: flex;
}
.contact-instagram-button svg {
  width: 22px;
  height: 22px;
}
.contact-page-content {
  margin-top: 38px;
}
@media (max-width: 700px) {
  .contact-details-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .contact-detail {
    border-radius: 24px;
  }
}

.contact-detail__arrow {
  display: inline-flex;
  flex-shrink: 0;
}
.contact-detail__arrow svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transform: rotate(-45deg);
}

/* About page */
.site-main.content-page--about .about-page-heading {
  margin-bottom: 44px;
}
.site-main.content-page--about .about-page-heading h1 {
  margin-bottom: 0;
}
.site-main.content-page--about .about-page-heading .content-page__subtitle {
  margin-top: 20px;
  max-width: 850px;
}
.about-page-intro {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
}
.about-page-intro__copy,
.about-page-photos,
.about-page-value,
.about-page-audience > div,
.about-page-connect > div {
  min-width: 0;
}
.about-page-intro h2,
.about-page-approach > h2,
.about-page-audience h2,
.about-page-connect h2 {
  margin: 0 0 20px;
  font-size: clamp(27px, 2.7vw, 38px);
  line-height: 1.2;
  color: var(--hp-white);
}
.about-page-intro p,
.about-page-audience p,
.about-page-connect p {
  margin: 0 0 18px;
  color: #d4dff3;
  font-size: 18px;
  line-height: 1.55;
}
.about-page-intro .button {
  margin-top: 10px;
  text-decoration: none;
}
.about-page-photos {
  position: relative;
  padding-bottom: 52px;
}
.about-page-photos img {
  display: block;
  object-fit: cover;
  border: 3px solid var(--hp-yellow);
}
.about-page-photos__main {
  width: 88%;
  height: 420px;
  border-radius: 36px 72px 36px 36px;
}
.about-page-photos__inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  height: 210px;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}
.about-page-approach {
  margin-top: 72px;
}
.about-page-approach > h2 {
  margin-bottom: 26px;
}
.about-page-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.about-page-value {
  padding: 30px;
  border: 1px solid var(--hp-line);
  border-radius: 28px;
  background: #06152f;
}
.about-page-value__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 22px;
  border-radius: 18px;
  color: var(--hp-yellow);
  background: #163368;
}
.about-page-value__icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.about-page-value h3 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.25;
}
.about-page-value p {
  margin: 0;
  color: #bdcce7;
  font-size: 17px;
  line-height: 1.45;
}
.about-page-audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: clamp(26px, 4vw, 50px);
  margin-top: 48px;
  border: 1px solid var(--hp-line);
  border-radius: 32px;
  background: #142f65;
}
.about-page-audience h2 {
  font-size: clamp(26px, 2.4vw, 34px);
}
.about-page-audience ul {
  display: grid;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.about-page-audience li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 19px;
  line-height: 1.35;
}
.about-page-audience li span {
  display: flex;
  flex: 0 0 28px;
}
.about-page-audience li svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--hp-yellow);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.about-page-gallery-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hp-yellow);
  font-size: 16px;
  text-decoration: none;
}
.about-page-gallery-link span {
  display: flex;
  flex: 0 0 23px;
}
.about-page-gallery-link svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(-45deg);
}
.about-page-gallery-link:hover {
  text-decoration: underline;
}
.about-page-extra {
  margin-top: 40px;
}
.about-page-connect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 34px;
  border-top: 1px solid var(--hp-line);
}
.about-page-connect h2 {
  font-size: clamp(25px, 2.3vw, 32px);
  margin-bottom: 12px;
}
.about-page-connect p {
  max-width: 660px;
  margin-bottom: 0;
  font-size: 17px;
}
.about-page-connect__actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.about-page-connect .button {
  text-decoration: none;
}
.about-page-instagram {
  gap: 10px;
}
.about-page-instagram span {
  display: flex;
}
.about-page-instagram svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
@media (max-width: 980px) {
  .about-page-intro {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-page-photos {
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
  }
  .about-page-values {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .about-page-audience {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .about-page-connect {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 640px) {
  .site-main.content-page--about .about-page-heading {
    margin-bottom: 30px;
  }
  .about-page-intro p,
  .about-page-audience p {
    font-size: 17px;
  }
  .about-page-photos {
    padding-bottom: 36px;
  }
  .about-page-photos__main {
    height: 300px;
    border-radius: 26px 52px 26px 26px;
  }
  .about-page-photos__inset {
    height: 150px;
    border-radius: 20px;
  }
  .about-page-approach {
    margin-top: 44px;
  }
  .about-page-value {
    padding: 25px;
  }
  .about-page-audience {
    margin-top: 32px;
    border-radius: 26px;
  }
  .about-page-audience li {
    font-size: 17px;
  }
  .about-page-connect__actions {
    width: 100%;
  }
  .about-page-connect__actions .button {
    width: 100%;
  }
}
