:root {
  --black: #213551;
  --black50: #213551b0;
  --ping-pong-blue: #247aae;
  --black30: #08274d4c;
  --white50: #ffffff7d;
  --ping-pong-green: #408053;
  --page-background: #cde4e7;
}

*:target {
  scroll-margin-top: 62px; /* Высота вашего фиксированного меню */
}

[v-cloak] {
  display: none !important;
}

* {
  box-sizing: border-box;
}

/* Общие стили */
body {
  margin: 0;
  padding: 0;
  font-family: "SF Pro", sans-serif;
  color: var(--black);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  /* 27px */
}

h1,
p {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  word-wrap: break-word;
}

h2 {
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  margin-top: 8px;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.text ul {
  list-style: inside;
  padding: 22px;
}

a {
  text-decoration: none;
  color: var(--ping-pong-blue);
}

/* Навигационное меню */
.navbar {
  display: flex;
  top: 0px;
  position: fixed;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  background-color: var(--black);
  padding: 8px 0;
  z-index: 1100;
}
.nav-content {
  display: flex;
  width: 100%;
  max-width: 1440px;
  justify-content: space-between;
  align-items: center;
  padding: 0 32px;
  margin: 0 auto;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 16px;
}

.logo-text span {
  display: block;
  background: radial-gradient(
    115.6% 84.31% at 17.11% 50%,
    #51c276 0%,
    #47a99d 38.39%,
    #3783d7 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: bold;
  line-height: 1.3;
}

.nav-links {
  display: flex;
  justify-content: space-evenly;
  flex-grow: 1;
  color: white;
  font-size: 16px;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 500;
}

.nav-links li:not(:last-child) {
  margin-right: 1%;
}

.nav-links.active {
  display: flex;
  flex-direction: column;
  gap: 32px;
  font-size: 18px;
  width: 100%;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--black);
  z-index: 999;
  padding: 16px;
  overflow-y: auto;
}

.nav-close.active {
  display: flex;
}

.nav-hamburger.active {
  display: none;
}

.nav-phone {
  display: flex;
  align-items: center;
  color: white;
  flex-shrink: 0;
}

.navbar a {
  color: white;
  text-decoration: none;
}

.navbar a:hover {
  text-decoration: underline;
}

.nav-icon {
  width: 24px;
  height: 24px;
  margin-right: 12px;
  filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.345));
}

.nav-hamburger,
.nav-close {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
  flex-shrink: 0;
}

@media (max-width: 1180px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: block;
  }

  .nav-close {
    position: absolute;
    top: 12px;
    right: 27px;
    font-size: 30px;
    z-index: 1002;
  }
}

@media (max-width: 600px) {
  .nav-phone {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
  }

  .nav-links li:not(:last-child) {
    margin-right: 0;
  }

  .nav-phone {
    margin-left: 0;
  }

  .nav-content {
    padding: 0 20px;
  }
}
.main-section {
  margin-top: 58px;
  background: radial-gradient(
    100.87% 79.74% at 79.74% 39.96%,
    #80dea5 0%,
    #1e4096 100%
  );
}

.main-section-content {
  display: grid;
  grid-template-columns: 1fr; /* Одна колонка по умолчанию для мобильных устройств */
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 32px 0 32px;
  min-height: 400px;
}

.main-section-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1044px;
  height: fit-content;
  margin: auto 0;
}

.trainer-image {
  width: 100%;
  grid-column: 2;
}

.signup-button {
  width: fit-content !important;
}

h1,
.trainer-name {
  color: white;
}

h1 {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 600;
}

.trainer-name {
  font-size: 24px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .main-section-content {
    grid-template-columns: 1fr 300px; /* Две колонки на широких экранах */
  }

  .trainer-image {
    display: block; /* Показываем изображение */
  }
}

@media (max-width: 767px) {
  .main-section-content {
    grid-template-columns: 1fr; /* Одна колонка на мобильных */
  }

  .trainer-image {
    display: none; /* Скрываем изображение */
  }

  h1 {
    font-size: 32px;
  }

  .trainer-name {
    font-size: 20px;
  }

  .main-section-content {
    padding: 20px;
  }
}

.schedule-block {
  padding: 32px 0px 32px 32px;
  width: 100%;
  overflow: hidden;
}

.schedule-container {
  overflow-x: auto;
}

.schedule {
  display: grid;
  grid-template-columns: 60px repeat(7, 1fr);
  font-family: "SF Pro", sans-serif;
  max-width: 1200px;
  min-width: 900px;
  margin: 0 auto;
  height: fit-content;
}

.schedule-block p {
  text-align: center;
  color: var(--black);
  margin-bottom: 24px;
}

.header-row {
  display: grid;
  grid-template-columns: 60px repeat(7, 1fr);
  position: sticky;
  top: 0;
  background-color: #f0f0f0;
  z-index: 10;
}

.header-row,
.event-row {
  display: contents;
}

.day,
.event-time-row,
.event {
  border: 1px solid #ddd;
  padding: 2px;
  text-align: center;
  font-size: 14px;
  background-color: white;
  max-width: 200px;
}

.fixed-trainings {
  padding: 32px;
  background-color: rgba(255, 255, 255, 0.292);
}

.header-row > div {
  background-color: #f0f0f0;

  padding: 6px;
  z-index: 10;
}

.event-row > .time {
  position: sticky;
  left: 0;
  background-color: #f0f0f0;
  z-index: 10;
  color: black;
}

.event-detail {
  padding: 8px;
  border: 1px solid #247aae;
  border-left: 5px solid #247aae;
  text-decoration: none;
  border-radius: 8px;
  border-left-color: #247aae;
  background-color: #247aae33;
}

.event-detail .event-type {
  color: grey;
  font-size: small;
}

.event-detail .event-name {
  color: black;
  font-weight: 600;
  margin: 5px 0px;
}

.day-events .event-name {
  font-size: 16px;
}

.day-events .event-time {
  margin-right: 8px;
}

.day-events .info-item {
  margin-top: 8px;
}

.event-detail .event-more-details {
  color: rgb(18, 18, 65);
  font-size: smaller;
}

.event-time {
  color: rgb(84, 84, 84);
  font-size: 13px;
}

.tournament {
  border-left-color: #408053;
  background-color: #40805333;
  border-color: #408053;
  text-decoration: none;
}

.event-location {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

day-selector,
.day-events,
.day-selector {
  display: none;
}

@media (max-width: 430px) {
  .schedule-block {
    padding: 16px;
  }

  .schedule,
  .header-row,
  .event-row {
    display: none;
  }

  .fixed-trainings {
    padding: 16px;
  }

  .day-selector {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 16px;
  }

  .day-events {
    display: block;
  }

  .day-selector button {
    flex-grow: 1;
    height: 44px;
    text-align: center;
    border-radius: 8px;
    border: none;
    background-color: #2b549a14;
    font-size: 14px;
    font-weight: normal;
    color: var(--black);
  }

  .no-events-message {
    text-align: center;
    color: var(--black50);
    margin-top: 24px;
  }

  .day-selector button {
    transition: transform 0.2s;
  }

  .day-selector button:active {
    transform: scale(0.9);
  }

  .day-selector button.selected-day {
    background-color: var(--ping-pong-blue);
    color: white;
    font-weight: bold;
  }

  .event-detail {
    margin: 8px 0px;
  }
}

.title-container {
  text-align: center;
  padding: 0 16px;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px;
  /* gap: 24px; */
}

.photo-text-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  width: 100%;
  /* min-height: 300px; */
}

.photo {
  max-width: 500px;
  margin: 0 auto;
  width: auto;
  flex: 0 1 auto;
}

.photo img {
  max-height: 500px;
  max-width: 500px;
  height: auto;
  width: 100%;
  border-radius: 16px;
}

.text {
  flex: 1;
  min-width: 320px;
}

.achievements {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
  margin-top: 32px;
}

.achievement {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 30%;
  flex: 1;
  margin-top: 16px;
}

.emoji {
  font-size: 30px;
  color: var(--black);
  margin-bottom: 16px;
}

.achievement .achievement-text {
  font-size: 16px;
  line-height: 1.4;
}

@media (max-width: 700px) {
  .photo-text-block {
    flex-direction: column;
    justify-content: center;
  }

  .achievements {
    justify-content: center;
  }

  .achievement {
    min-width: 40%;
  }
}

@media (max-width: 700px) {
  .container {
    padding: 20px;
  }

  .photo {
    max-width: none;
    margin: 0 auto;
    width: auto;
  }

  .photo {
    order: 2;
  }
  .text {
    order: 1;
  }

  .achievements {
    gap: 16px;
  }
}
.training-sessions {
  padding: 0px 16px;
}

.session-days {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding: 0px 16px;
}

.day-button {
  background-color: #08274d11;
  color: var(--black50);
  padding: 8px 12px;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  line-height: 19px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.day-button span.weekday {
  font-size: 14px;
  text-align: center;
  color: var(--black);
}

.active-day {
  background-color: white;
  font-weight: bold;
}

.training-schedule-container {
  display: flex;
  overflow-x: scroll;
  width: 100%;
  padding: 16px;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.training-day {
  margin-right: 16px;
  flex-shrink: 0;
}

.training-day:last-child {
  margin-right: 0;
}

.training-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.training-card {
  display: flex;
  min-width: 300px;
  max-width: 400px;
  font-size: 16px;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
  background: #fff;
}

.training-time {
  display: flex;
  width: 64px;
  max-width: 64px;
  padding: 8px 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background: var(--ping-pong-blue);
  color: #fff;
  align-self: stretch;
}

.time {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.duration {
  font-size: 12px;
  color: var(--white50);
}

.training-details {
  padding: 12px;
  width: 100%;
  max-width: calc(100% - 64px);
}

.training-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  hyphens: auto;
  white-space: normal;
  color: var(--ping-pong-blue);
}

.training-info {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  flex-shrink: 1;
  color: var(--black50);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 30px;
}

.info-item:last-child {
  min-width: 60px;
}

.icon {
  width: 14px;
  height: 14px;
}

.training-date {
  font-size: 18px;
}

.training-location,
.training-participants,
.training-price {
  font-size: 12px;
}

.training-location {
  /* flex-grow: 1; */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

@media (max-width: 430px) {
  .training-schedule-container {
    display: block;
    overflow-x: hidden;
  }

  .training-day {
    width: 100%;
    margin-right: 0;
  }

  .training-date {
    display: none;
  }
}

@media (min-width: 430px) {
  .session-days {
    display: none;
  }

  .training-schedule-container {
    display: flex;
    overflow-x: auto;
    padding-bottom: 20px;
  }

  .training-day {
    display: block;
    flex: 0 0 auto;
    margin-right: 16px;
    flex-shrink: 0;
  }

  .training-day:last-child {
    margin-right: 0;
  }

  .training-card {
    flex-direction: row;
    width: 400px;
    margin: 0 auto;
  }

  .training-time,
  .training-info {
    flex: 1;
  }
}

.training-topics-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
}

.bullet-title {
  font-size: 18px;
  margin-bottom: 16px;
  font-weight: bold;
}

.center-aligned {
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.training-points {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 250px !important;
  flex: 1;
  max-width: 400px;
}

.training-points .point-text {
  font-size: 16px;
  line-height: 1.5;
}

#card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  /* padding: 16px; */
}

.personal-training-card {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 32px 16px 16px 16px;
  text-align: center;
  gap: 24px;
  width: 300px;
}

.personal-training-time {
  color: #333;
  font-size: 18px;
  font-weight: bold;
}

.prices-block {
  background: #aed8ec;
  padding: 16px 16px 16px 16px;
}

.personal-training-price {
  display: block;
  background: radial-gradient(
    115.6% 84.31% at 17.11% 50%,
    #51c276 0%,
    #47a99d 38.39%,
    #3783d7 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 30px;
  font-weight: bold;
  line-height: 1.3;
}

.training-features {
  color: var(--black50);
  line-height: 1.5;
  flex-grow: 1;
}

.training-features li {
  margin-bottom: 16px;
}

.signup-button {
  background-color: var(--ping-pong-green);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  margin-top: auto;
}

.signup-button:hover {
  background-color: #43a047;
}

.average-rating {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-weight: bold;
  align-items: center;
}

.average-rating-icon {
  width: 24px;
  height: 24px;
}

.reviews-container {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 16px;
  align-items: flex-start;
  scroll-behavior: smooth;
}

.reviews-container-wrapper {
  position: relative;
  overflow: hidden;
}

.scroll-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  z-index: 10;
  background-color: #4b9fb2;
  border: 1px solid white;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 40px;
  filter: drop-shadow(0px 3px 4px grey);
  font-size: 24px;
}

.scroll-button.left {
  left: 10px;
}

.scroll-button.right {
  right: 10px;
}

.reviews-container::-webkit-scrollbar {
  display: none;
}
.review-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 16px;
  width: 100%;
  max-width: 360px;
  min-width: 320px;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid transparent;
  background-image: linear-gradient(white, white),
    radial-gradient(circle at top, #51c276, #47a99d, #3783d7);
  background-origin: border-box;
  background-clip: content-box, border-box;
}

.reviewer-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reviewer-name-and-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.reviewer-name {
  font-weight: bold;
  color: var(--ping-pong-blue);
  flex-grow: 1;
  font-size: 14px;
  max-width: 166px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.player-rating {
  width: 50px;
  display: flex;
  align-items: center; /* Выравнивание по центру по вертикали */
  justify-content: center; /* Выравнивание по центру по горизонтали */
  background: radial-gradient(
    116.2% 116.2% at 10% 11.25%,
    #51c276 0%,
    #47a99d 40.63%,
    #3783d7 100%
  );
  border-radius: 4px;
  padding: 3px 4px;
  font-size: 12px;
  font-weight: 600;
  gap: 2px;
  color: white;
  position: relative; /* Для правильного позиционирования псевдоэлемента */
}

.player-rating-icon {
  height: 14px; /* Размер вашей звезды */
  width: 14px; /* Размер вашей звезды */
}

.review-rating {
  display: flex;
  align-items: center;
  font-size: 20px;
  color: #ffd700;
}

.review-date {
  color: #999;
  font-size: 14px;
}
.cursor-pointer {
  cursor: pointer;
}

.review-comment {
  font-size: 16px;
  color: var(--black);
  margin-top: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-comment.expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.locations-block {
  background-color: #e6f7ff;
  padding: 16px;
}

.locations-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.clubs-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  max-width: 500px;
  margin-right: 20px;
  min-width: 300px;
  gap: 32px;
}

.club-name {
  font-weight: bold;
  color: var(--ping-pong-blue);
  text-decoration: none;
  font-size: 21px;
}

.club-address {
  margin: 8px 0;
  font-size: 16px;
  line-height: 1.5;
}

.club-metro-container {
  display: flex;
  align-items: center;
}

.metro-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.club-metro {
  color: var(--black50);
  font-size: 14px;
}

.map-container {
  width: 100%;
  border-radius: 8px;
  max-width: 500px;
  height: 320px;
}

.benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 130px;
  flex: 1;
  margin-top: 16px;
}

.benefit-text {
  font-size: 16px;
  line-height: 1.4;
}

@media (min-width: 700px) {
  .benefit {
    min-width: 20%;
  }
}

.faq-container {
  background-color: #e6f7ff;
  padding: 16px;
}

.faq-item {
  margin-bottom: 10px;
}

.faq-section {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-question {
  border: none;
  padding: 16px 40px 8px 0px;
  text-align: left;
  width: 100%;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  position: relative;
  color: var(--black);
  background: none;
}

.faq-question .arrow {
  position: absolute;
  right: 10px;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  font-size: 16px;
  margin-top: 16px;
}

.arrow.active {
  transform: rotate(180deg);
}

.faq-question.active + .faq-answer {
  max-height: 1000px;
}

.video-block {
  padding: 0;
}

.metro-color-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
  display: inline-block;
}

.m-red {
  background-color: rgb(204, 0, 0);
}
.m-green {
  background-color: rgb(10, 111, 32);
}
.m-blue {
  background-color: rgb(0, 51, 153);
}
.m-light-blue {
  background-color: rgb(0, 153, 204);
}
.m-brown {
  background-color: rgb(127, 0, 0);
}
.m-orange {
  background-color: rgb(255, 90, 0);
}
.m-purple {
  background-color: rgb(146, 0, 123);
}
.m-yellow {
  background-color: rgb(255, 221, 3);
}
.m-grey {
  background-color: rgb(162, 165, 180);
}
.m-lime {
  background-color: rgb(153, 204, 51);
}
.m-teal {
  background-color: rgb(41, 177, 166);
}
.m-blue-grey {
  background-color: rgb(178, 218, 231);
}
.m-gold {
  background-color: rgb(255, 215, 0);
}
.m-teal {
  background-color: rgb(0, 128, 128);
}
.m-violet {
  background-color: rgb(199, 21, 133);
}

.metro-icon-special {
  margin-right: 4px;
  height: 16px;
}

.video-container {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  width: 100vw;
  padding: 0 20px;
}

.video-container::-webkit-scrollbar {
  display: none;
}

.video-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.video-container iframe {
  flex: 0 0 auto;
  border: none;
  border-radius: 10px;
  width: 420px;
  height: calc(420px / (16 / 9));
  flex: 0 0 auto;
}

@media (max-width: 520px) {
  .video-container iframe {
    width: 85vw;
    height: calc(85vw / (16 / 9));
  }
}
.lazy-video,
.video-iframe {
  flex: 0 0 auto;
  width: 420px;
  height: calc(420px / (16 / 9));
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.lazy-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30%;
  height: 30%;
  background: url("images/play-button.svg") no-repeat center center;
  background-size: contain;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.play-button:hover {
  opacity: 1;
}

@media (max-width: 520px) {
  .lazy-video,
  .video-iframe {
    width: 85vw;
    height: calc(85vw / (16 / 9));
  }
}

/* Медиа-запросы для адаптивного дизайна */
@media (max-width: 520px) {
  .lazy-video {
    width: 85vw;
    height: calc(85vw / (16 / 9));
  }
}

.padding-16 {
  padding: 0px 16px;
}

.contacts-block {
  padding: 16px;
}

.contact-info {
  display: flex;
  min-width: 300px;
  max-width: 300px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex: 1 0 0;
}

.reviews-block {
  padding: 16px 0 !important;
}

.block-bg:nth-child(odd) {
  background-color: white;
}

.block-bg:nth-child(even) {
  background: var(--page-background);
}

.contact-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
}

.contact-photo {
  width: 100%;
  max-width: 300px;
  border-radius: 16px;
}

.contact-form {
  flex-basis: 60%;
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-container {
  display: flex;
  flex-direction: column;
  min-width: 300px;
  max-width: 500px;
  gap: 24px;
  flex: 1 0 0;
}

.contact-form-fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.align-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bold {
  font-weight: bold;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}

/* Стили для контейнера с полями телефона и email */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Стили для поля телефона */
.contact-details .input-group.phone {
  width: 200px; /* Фиксированная ширина для телефона */
  flex-grow: 0; /* Не позволяет полю расти */
  flex-shrink: 0; /* Предотвращает уменьшение поля */
}

/* Стили для поля email */
.contact-details .input-group.email {
  flex-grow: 1; /* Позволяет полю расти и занимать доступное пространство */
}

.no-top-padding {
  margin: 0;
}

.rttf-link {
  display: flex;
  padding: 6px 8px;
  justify-content: center;
  align-items: center;
  gap: 0px;
  width: fit-content;
  border: 1px solid lightgrey;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.error-message {
  color: red;
  display: none;
  position: absolute;
  bottom: -20px;
  left: 0;
  font-size: 14px;
}

label {
  font-size: 16px;
}

/* Общие стили для всех полей ввода */
input {
  height: 38px;
  width: 100%;
  border: 1px solid var(--black30);
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
}

select {
  height: 38px;
  width: 100%;
  border: 1px solid var(--black30);
  border-radius: 8px;
  padding: 0 12px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("images/arrow.svg");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  font-size: 16px;
}

/* Стили для textarea */
textarea {
  height: 100px; /* Высота изменена на 100 пикселей */
  width: 100%;
  border: 1px solid var(--black30);
  border-radius: 8px;
  padding: 12px;
  resize: none;
  font-family: "SF Pro", sans-serif;
  font-size: 16px;
}

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  background-color: white;
}

.modal-message {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.modal-content {
  padding: 24px;
  width: fit-content;
  font-weight: bold;
  margin: 200px auto;
  font-size: 21px;
  background-color: white;
  color: var(--ping-pong-green);
  border-radius: 8px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.modal-content p {
  margin-top: 16px;
  font-weight: normal;
  color: var(--black);
  font-size: 16px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.footer-logo {
  width: 91px;
  height: 24px;
}

.footer-text {
  font-size: 14px;
  color: #333; /* Цвет текста */
  text-align: center;
}

.save-success-message {
  color: #155724;
  background-color: #ffffff;
  position: fixed;
  top: 50%;
  left: 50%;
  border: 2px solid #155724;
  line-height: 1.4;
  transform: translate(-50%, -50%);
  padding: 1rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
  z-index: 1000;
  min-width: 300px;
  text-align: center;
  box-sizing: border-box;
  max-width: 80%;
  font-weight: 500;
}

.save-error-message {
  color: #d94e4c;
  border: 2px solid #d94e4c;
}

.fade-out {
  transition: transform 0.3s ease-out;
  transform: scaleY(0);
}

.ok-button {
  padding: 12px;
  width: 100%;
  margin-bottom: 0;
  border-radius: 8px;
  border: none;
  background-color: #155724;
  font-size: 16px;
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.ok-button:hover {
  background-color: green;
}

.ok-button:active {
  transform: scale(0.98);
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
