.content {
  /*override*/
  background-color: rgba(255, 255, 255, 0.4) !important;
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 600px;
}

.name_box {
  position: relative;
  bottom: 90px;
  left: -50px;
  width: 40%;
}

.name_box > p {
  position: absolute;
  white-space: nowrap;
  color: #7fc4c9 !important;
  font-family: sans-serif !important;
  font-weight: 400 !important;
  font-size: 50px !important;
}

/*
.info-cards-section {
  margin-top: 50px;

  width: 100%;
  aspect-ratio: 1920 / 600;
  background-image: url("/static/img/infocards/bg.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;

  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;

  box-shadow:
    0 1px 1px #bcb4cb,
    0 -1px 1px #bcb4cb;
}
*/
.info-cards-section {
  margin-top: 50px;

  width: 100%;
  height: 455px;
  background-image: url("/static/img/infocards/bg.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4vw;

  box-shadow:
    0 1px 1px #bcb4cb,
    0 -1px 1px #bcb4cb;
}

.info-cards-subsection {
  display: flex;
  justify-content: center;
  gap: 4vw;
}

.info-card {
  background-color: rgba(251, 253, 253, 0.4);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.36);

  width: 220px;
  height: 250px;

  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 1px, 2px, 1px, rgba(0, 0, 0, 0.25);
}

@media (max-width: 1036px) {
  .info-cards-section {
    height: unset;
    padding: 40px 0;
  }
}

@media (max-width: 550px) {
  .info-cards-subsection {
    flex-wrap: wrap;
  }
}

.info-card > img {
  width: 50%;
}

.card-text {
  font-size: 44px;
}
.card-subtext {
  font-family: sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  margin-bottom: 5px;
}

/* ХЕДЕР НАД КАРУСЕЛЬЮ */
.product-header {
  display: flex;
  justify-content: space-between;

  margin: 40px;
}

.product-header > p {
  font-family: sans-serif !important;
  font-size: 36px !important;
  font-weight: 400 !important;
}

.product-header > a {
  font-size: 25px !important;
  text-decoration: none;
}

.product-categories {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 60px;
}

.product-categories > button {
  color: #03656b !important;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;

  background-color: transparent;
  border: none;
  font-size: 25px;
}
.product-categories > button.active {
  color: #22c6c9 !important;
  text-decoration: none;
}
.product-categories > button:hover {
  cursor: pointer;
  color: #22c6c9 !important;
}
.product-categories > button.active:hover {
  cursor: default;
}

/* КАРУСЕЛЬ */

.product-section {
  width: 100%;
}

.product-carusel {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  width: 100%;
}
.product-carusel-port {
  position: relative;
  width: 1365px;
}
.product-carusel-track {
  display: flex;
  gap: 20px;
  position: relative;
  left: 0;
}

.product-card {
  position: relative;
  display: flex;
  gap: 10px;
  min-width: 455px;
  width: 455px;
  opacity: 0;
  text-decoration: none;
  transition: opacity 0.5s ease;
  transition-behavior: allow-discrete;
  pointer-events: none;
}

@starting-style {
  .product-card {
    opacity: 0;
    pointer-events: none;
  }
}

.product-card.active-view {
  opacity: 1;
  pointer-events: unset;
}

.product-thumbnail {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: white;

  border: solid 2px #00939d;
  border-radius: 12px;

  /* box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25); баг рендера, разобраться, почему X тень игнорируется */

  width: 140px;
  min-width: 140px;
  height: 196px;
  z-index: 2;
}

.product-text-container {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
}

.product-name {
  font-size: 28px;
  color: #02646a !important;
}

.product-description {
  color: #03656b !important;
  font-family: sans-serif;
  font-weight: 400;
  font-size: 15px;
  max-height: 121px;
  overflow: hidden;
}

.product-text-bg {
  position: absolute;
  min-width: 455px;
  width: 455px;
  height: 121px;
  background-color: white;
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.25);
  border: 4px solid white;
  border-radius: 26px;
  bottom: 15%;
  z-index: 1;
}

.product-carusel-btns {
  display: flex;
  justify-content: flex-end;
  margin-right: 40px;
  gap: 10px;
}

.product-btn {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 35px;
  height: 35px;
  border-radius: 8px;
  border: none;
  background-color: white;
  font-size: 30px;

  font-family: sans-serif !important;
  font-weight: 600 !important;
}

.product-btn:not(.disabled):hover {
  background-color: #ededed;
  cursor: pointer;
}
.product-btn:not(.disabled):active {
  background-color: white;
}

.product-btn.disabled {
  filter: grayscale(1) opacity(0.6);
}
.product-btn.disabled:hover {
  cursor: default;
}

/* ABOUT US */

.about-us-section {
  display: flex;

  margin-top: 100px;

  width: 100%;
  background-image: url("/static/img/infocards/bg2.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.about-us-section > img {
  height: 846px;
  min-height: 846px;
  width: auto;
}

.about-us-text-container {
  width: 90%;
  margin: 0 5%;
}
.about-us-text-container > h4 {
  color: #02646a !important;
  font-family: sans-serif;
  font-weight: 500;
  font-size: 25px;

  margin: 60px 0 40px 0;
}

.about-us-text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-us-text-container > p {
  color: #02646a !important;
  font-family: sans-serif;
  font-weight: 300;
  font-size: 23px;

  margin: 20px 0;
}

.about-link {
  position: relative;
  width: 100%;
  text-decoration: none;
}
.about-link > div {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  justify-content: space-between;
  width: 100px;
}

.about-link > div > p:first-child {
  border-bottom: 1px solid #02646a;
}

.about-link p {
  font-family: bold;
  font-size: 18px;
  color: #02646a !important ;
}

/* Новости */

.news-section > h4 {
  margin: 40px;
  font-family: sans-serif !important;
  font-weight: 400;

  font-size: 36px;
}

.news-section {
  width: 100%;
}

.news-carusel {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  width: 100%;
}
.news-carusel-port {
  position: relative;
  margin-bottom: 40px;
}
.news-carusel-track {
  display: flex;
  gap: 20px;
  position: relative;
  left: 0;
}

.news-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-width: 350px;
  width: 345px;
  height: 535px;

  opacity: 0;
  background-color: white;
  border-radius: 14px;
  text-decoration: none;
  transition: opacity 0.5s ease;
  transition-behavior: allow-discrete;
  pointer-events: none;
}

@starting-style {
  .news-card {
    opacity: 0;
    pointer-events: none;
  }
}

.news-card.active-view {
  opacity: 1;
  pointer-events: unset;
}

.news-thumbnail {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;

  /* box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25); баг рендера, разобраться, почему X тень игнорируется */

  aspect-ratio: 318 / 238;
  max-width: 318px;
  max-height: 238px;
  height: auto;

  margin: 20px 0;
}

.news-text-container {
  position: relative;
  display: flex;
  flex: 1;
  justify-content: center;
  margin-top: 20px;
}

.news-text {
  font-size: 19px;
  font-family: sans-serif !important;
  color: black !important;
  font-weight: 300 !important;
  width: 90%;
}

.news-learn-more {
  position: absolute;
  bottom: 0;
  right: 20px;
  font-size: 19px;
  color: #02646a !important;
  text-decoration: underline;
  text-decoration-color: #02646a;
  text-underline-offset: 6px;
  text-align: right;
  margin-bottom: 18px;
  margin-left: 40px;
}

.news-carusel-btns {
  display: flex;
  justify-content: flex-end;
  margin-right: 40px;
  gap: 10px;
}

.news-btn {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 35px;
  height: 35px;
  border-radius: 8px;
  border: none;
  background-color: white;
  font-size: 30px;

  font-family: sans-serif !important;
  font-weight: 600 !important;
}

.news-btn:not(.disabled):hover {
  background-color: #ededed;
  cursor: pointer;
}
.news-btn:not(.disabled):active {
  background-color: white;
}

.news-btn.disabled {
  filter: grayscale(1) opacity(0.6);
}
.news-btn.disabled:hover {
  cursor: default;
}

@media (max-width: 1600px) {
  .about-us-text-container > h4 {
    color: #02646a !important;
    font-family: sans-serif;
    font-weight: 500;
    font-size: 23px;

    margin: 60px 0 20px 0;
  }

  .about-us-text-container > p {
    color: #02646a !important;
    font-family: sans-serif;
    font-weight: 300;
    font-size: 20px;

    margin: 10px 0;
  }
}

@media (max-width: 1200px) {
  .about-us-section {
    height: 800px;
  }
  .about-us-section > img {
    display: none;
  }
  .about-us-text-container > h4 {
    font-size: 25px;
  }
  .about-us-text-container > p {
    font-size: 22px;
  }
}

@media (max-width: 700px) {
  .about-us-text-container > h4 {
    font-size: 21px;
  }
  .about-us-text-container > p {
    font-size: 18px;
  }
}
@media (max-width: 500px) {
  .about-us-text-container > h4 {
    font-size: 20px;
  }
  .about-us-text-container > p {
    font-size: 16px;
  }
  .about-link p {
    font-size: 16px;
  }
}
