.hero-wrap {
  padding: 0;
  overflow-x: hidden;
  /* background: linear-gradient(90deg, #dff7ee 0%, #b7eedc 48%, #63d4b4 100%); */
  /* background: rgb(75,166,203); */
}
.hero-grid {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 360px;
  background: #fff;
  overflow: visible;
  box-shadow: var(--shadow);
}
.sidenav {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 0;
  overflow-x: hidden;
  overflow-y: auto;
  box-shadow: none;
  position: relative;
  z-index: 8;
  border-right: 1px solid #eef3f6;
}
.sidenav__list {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}
.sidenav__list > li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 15px 16px 15px;
  border-bottom: 1px solid #eef3f6;
}
.sidenav__list > li:last-child { border-bottom: 0; }
.sidenav__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
}
.sidenav__title:hover { color: var(--red-dark); border-bottom-color: var(--red-dark);}
.sidenav__icon {
  display: block;
  width: 15px;
  height: 20px;
  flex: none;
  border-radius: 4px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.sidenav__subs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding-left: 28px;
}
.sidenav__subs a,
.sidenav__popup a {
  color: #6a7882;
  font-size: 13px;
  line-height: 1.5;

  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.sidenav__subs a:hover,
.sidenav__popup a:hover {
  color: #069538;
  border-bottom-color: #069538;
}

.sidenav__popup {
  display: none;
  position: fixed;
  z-index: 999999999999999999;
  box-sizing: border-box;
  width: min(240px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  max-height: min(260px, calc(100vh - 24px));
  overflow: auto;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #eef3f6;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(28, 43, 58, .12);
  flex-wrap: wrap;
  gap: 8px 12px;
  pointer-events: auto;
  left: 100%;
}
.sidenav__popup.is-open {
  display: flex;
}

.hero-banner {
  position: relative;
  min-width: 0;
  min-height: 360px;
  border-radius: 0;
  box-shadow: none;
}
.hero-banner.is-intro-pending {
  visibility: hidden;
}
body.is-banner-intro {
  overflow: hidden;
}
.hero-banner-intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  overflow: hidden;
  background: #0f1a22;
  transition:
    top .75s cubic-bezier(.22, .61, .36, 1),
    left .75s cubic-bezier(.22, .61, .36, 1),
    width .75s cubic-bezier(.22, .61, .36, 1),
    height .75s cubic-bezier(.22, .61, .36, 1);
  will-change: top, left, width, height;
}
.hero-banner-intro img,
.hero-banner-intro video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-banner-intro.is-shrink {
  top: var(--intro-top, 0);
  left: var(--intro-left, 0);
  width: var(--intro-width, 100vw);
  height: var(--intro-height, 100vh);
}
.carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  border-radius: 0;
  overflow: hidden;
}
.carousel.is-single .swiper-pagination,
.carousel.is-single .swiper-button-prev,
.carousel.is-single .swiper-button-next {
  display: none !important;
}
.carousel .swiper-wrapper,
.carousel .swiper-slide { height: 100%; }
.slide {
  position: relative;
  padding: 0;
  background: #ece6dc;
}
.slide__link {
  display: block;
  width: 100%;
  height: 100%;
}
.slide__media,
.slide__img,
.slide__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 0;
  background: #ece6dc;
}
.slide__video {
  pointer-events: none;
}
.carousel .swiper-button-prev,
.carousel .swiper-button-next {
  width: 40px; height: 40px; margin-top: -20px;
  background-color: rgba(255,255,255,.18);
  background-size: 12px 20px;
  border-radius: 50%;
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.carousel:hover .swiper-button-prev,
.carousel:hover .swiper-button-next {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.carousel .swiper-button-prev { left: 14px; }
.carousel .swiper-button-next { right: 14px; }
.carousel .swiper-button-prev:hover,
.carousel .swiper-button-next:hover { background-color: rgba(255,255,255,.32); }
.carousel .swiper-pagination { bottom: 16px; }
.carousel .swiper-pagination-bullet {
  width: 8px; height: 8px; opacity: 1;
  background: rgba(255,255,255,.45);
  transition: width .2s ease;
  vertical-align: middle;
}
.carousel .swiper-pagination-bullet-active {
  width: 22px; border-radius: 99px; background: #fff;
}

.cities { padding: 18px 0 6px; }
.cities__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff; border-radius: 5px; padding: 16px; box-shadow: 0 8px 24px rgba(28,43,58,.05);
}
.cities__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}
.cities__label::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: var(--red);
}
.cities__list { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.cities__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: #f2f3f5;
  color: #666;
  font-size: 13px;
  line-height: 1;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.cities__list a:hover {
  color: #fff;
  background: #069538;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(6, 149, 56, .18);
}
.cities__list a.is-active {
  background: #069538;
  border-color: #069538;
  color: #fff;
}
.cities__list a.is-active:hover {
  background: #058a33;
  border-color: #058a33;
  color: #fff;
}
.cities__list a.cities__more {
  min-width: auto;
  background: transparent;
  color: var(--red);
  /* font-weight: 600; */
  padding: 0 8px;
}
.cities__list a.cities__more:hover {
  background: rgba(11, 122, 94, .08);
  color: var(--red-dark);
  box-shadow: none;
  transform: translateY(-1px);
}

.section { padding: 42px 0; }
.section.news .news__grid,
.section.qa .qa-layout,
.section.certs .certs__showcase,
.cities .cities__inner {
  background: #fff;
  box-sizing: border-box;
  padding: 28px;
}
.section.news .news-list,
.section.news .news-cat,
.section.qa .qa-main,
.section.qa .qa-side {
  min-width: 0;
  background: #fff;
}
.section__head {
  display: flex; justify-content: space-between; align-items: end; margin-bottom: 22px;
  font-size: 1.25rem;
}

.section__head.center {
  justify-content: center;
  text-align: center;
  position: relative;
}

.section__head.center > div {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
  background: #f4f5f7;
  z-index: 1;
}

.section__head.center::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--red) 20%, var(--red) 80%, transparent 100%);
  z-index: 0;
}

.section__head div {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
  /* margin-bottom: 0.5rem; */
  color: #333;
}
.section__head span{
  color: var(--red);
}
.section__head p {
  color: var(--red);
  letter-spacing: 2px;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-top: 0.25rem;
}
.more { color: var(--red); font-size: 0.875rem; }

.news__grid { display: grid; grid-template-columns: 260px minmax(0, 1fr) 260px; gap: 18px; align-items: start;   border-radius: 5px;}
.news-cats {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;

}
.news-cat {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  /* box-shadow: var(--shadow); */
  transition: transform .2s ease;
}
.news-cat:hover { transform: translateY(-3px); }
.news-cat img {
  display: block;
  width: 100%;
  height: auto;
  background: linear-gradient(160deg, #ece6dc, #d8cfc3);
}
.news-cat span {
  padding: 12px 10px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  border-top: 1px solid #f3eee6;

}
.news-cat:hover span { color: var(--red); }
.news-list {
  width: 100%;
  min-width: 0;
  height: 606px;
  overflow: hidden;
  background: #fff;
  border-radius: 5px;
  padding: 0 12px;
  /* box-shadow: var(--shadow); */
}
.news-list .swiper-slide {
  height: 42px;
  opacity: 1;
  transition: opacity .5s ease;
}
.news-list .swiper-slide.is-entering {
  opacity: 0;
}
.news-list a {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  height: 42px;
  padding: 0 14px 0 22px;
  border-radius: 5px;
  color: #666666;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.news-list a::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c5ccd3;
  transform: translateY(-50%);
  transition: background .2s ease, box-shadow .2s ease;
}
.news-list a span {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  transition: color .2s ease;
}
.news-list time {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  /* background: #f5f7f9; */
  color: #9aa7b0;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.news-list a:hover {
  background: #E6FFF9;
  color: var(--red);
  transform: translateX(2px);
  box-shadow: inset 0 0 0 1px #E6FFF9;
}
.news-list a:hover::before {
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(196, 69, 54, .12);
}
.news-list a:hover span { color: var(--red); }
.news-list a:hover time {
  /* background: #ffe8e2; */
  color: var(--red);
}


.qa-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start;   border-radius: 5px;}
.qa-main, .qa-side {
  background: #fff;
  border-radius: 18px;
  /* box-shadow: var(--shadow); */
  /* padding: 18px; */

}
.qa-main .qa-title{
  font-size: 18px;
  color: #666;
  margin-bottom: 14px;
  font-weight: 700;
}
.qa-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 16px;
  background: #fafafa;
  border-radius: 0;
}
.qa-tabs button {
  position: relative;
  height: 42px;
  padding: 0 20px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #333;
  cursor: pointer;
  font-size: 15px;
  /* font-weight: bold; */
  transition: color .2s ease;
}
.qa-tabs button:hover { color: var(--red); }
.qa-tabs button.is-active {
  color: var(--red);
  /* font-weight: 600; */
  background: #fff;
}
.qa-tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--red);
}
.qa-panel { display: none; }
.qa-panel.is-active { display: block; }
.qa-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  border-bottom: #e4e4e4 dashed 1px;
  padding-bottom: 8px;
}
.qa-list li {
  min-width: 0;
  overflow: hidden;
}
.qa-list a {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 8px 0 8px 14px;
  color: #666;
  font-size: 14px;
}
.qa-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c5ccd3;
  transform: translateY(-50%);
}
.qa-list a span {
  display: inline-block;
  min-width: 0;
  flex: 0 1 auto;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.qa-list a:hover,
.qa-list a:hover span {
  color: var(--red);
}
.qa-list a:hover span {
  border-bottom-color: var(--red);
}
.qa-list a:hover::before {
  background: var(--red);
}
.qa-list em {
  flex: none;
  margin-left: auto;
  font-style: normal;
  color: #9aa7b0;
  font-size: 12px;
}
.qa-more {
  display: block;
  margin-top: 14px;
  text-align: right;
  color: #666666;
  font-size: 12px;
}
.qa-more em {
  font-style: normal;
  color: #666666;
}
.qa-more span {
  /* font-weight: 300; */
  color: var(--red);
  margin: 0 2px;
}
.qa-more:hover {
  color: var(--red);
}
.qa-more:hover em,
.qa-more:hover spna {
  color: var(--red);
}
.qa-side__stat {
  color: #666666;
  font-size: 18px;
  margin-bottom: 14px;
}
.qa-side__stat span {
  color: var(--red);
  /* font-size: 28px;
  margin: 0 4px; */
  font-size: 22px;
  font-weight: bold;
}
.qa-featured {
  padding-bottom: 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid #f3eee6;
}
.qa-featured__title { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.qa-featured__title a { color: inherit; }
.qa-featured__title a:hover { color: var(--red); }
.qa-featured p:not(.qa-featured__title) { color: var(--muted); font-size: 13px; }
.qa-recent {
  height: 250px;
  overflow: hidden;
  margin-bottom: 16px;
  min-width: 0;
  width: 100%;
}
.qa-recent .swiper-slide {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  min-width: 0;
  line-height: 36px;
  border-bottom: 1px solid #f7f2ea;
  font-size: 14px;
  color: #334048;
  white-space: nowrap;
  overflow: hidden;
}
.qa-recent__name {
  flex: none;
  color: var(--ink);
  /* font-weight: 600; */
}
.qa-recent__action {
  flex: none;
  color: #292929;
}
.qa-recent a {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  /* color: var(--red); */
}
.qa-recent a:hover { color: var(--red);}
.qa-subs { display: flex; flex-wrap: wrap; gap: 18px; }
.qa-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  /* border: 1px solid #f9fbfd; */
  /* border-radius: 8px; */
  background: #f9fbfd;
  color: var(--muted);
  font-size: 13px;
}
.qa-sub:hover {
  /* border-color: var(--red); */
  color: #fff;
  background: var(--red);
}

.certs-band { background: var(--navy); color: #fff; }
.certs-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0;
}
.certs-band strong { font-size: 36px; display: block; margin: 4px 0; }
.certs-band p { color: #c5d0da; }
.certs-band dl { display: flex; gap: 36px; }
.certs-band dt { color: #93a3b2; font-size: 13px; }
.certs-band dd { font-size: 28px; font-weight: 700; }
.eyebrow.light { letter-spacing: 3px; font-size: 12px; color: #f0c9a5; }

.certs__showcase {
  display: flex;
  justify-content: center;
  background: #fff;
  border-radius: 5px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.certs__showcase img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1024px) {
  .news__grid, .qa-layout { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .sidenav { display: none; }
  .certs-band__inner { flex-wrap: wrap; }
  .news-cats { flex-direction: row; }
}
@media (max-width: 720px) {
  .qa-list { grid-template-columns: 1fr; }
  .hero-grid,
  .hero-banner { min-height: 200px; }
}
