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

html {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: #1e1e1e;
  background: #f8f8f6;
  line-height: 1.6;
  font-size: 1.05rem;
}

.top-bar {
  background: #fff;
  padding: 15px 0;
}

.top-bar__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
}

.logo {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
}

.feed {
  flex: 1 0 auto;
  padding: 24px;
}

.feed__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer {
  flex-shrink: 0;
  background: #2c3e50;
  color: #ecf0f1;
  padding: 30px 20px;
  margin-top: 40px;
}

.footer__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.footer__info {
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer__info p {
  margin: 4px 0;
}

.footer__copy {
  font-size: 0.9rem;
  opacity: 0.8;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}

@media (max-width: 600px) {
  .footer {
    padding: 20px 15px;
  }
  .footer__info {
    font-size: 0.85rem;
  }
}

/* ===== БЛОКИ ===== */
.block-meaning,
.block-invite,
.block-reg,
.block-participation,
.block-gallery,
.block-map,
.block-video,
.block-videos {
  background: #fff;
  border-radius: 16px;
  padding: 30px 25px;
  margin-bottom: 30px;
}

.block-meaning__title,
.block-invite__title,
.block-reg__title,
.block-participation__title,
.block-gallery__title,
.block-map__title,
.block-video__title,
.block-videos__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(244, 164, 96, 0.3);
  padding-bottom: 12px;
}

.block-meaning__content p,
.block-invite__content p,
.block-reg__content p,
.block-participation__content p {
  margin: 10px 0;
  line-height: 1.7;
}

.block-meaning__image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 15px 0;
}

.block-reg__content a,
.block-invite__content a {
  color: #e67e22;
  text-decoration: none;
  font-weight: 600;
}

.block-reg__content a:hover,
.block-invite__content a:hover {
  color: #d35400;
  text-decoration: underline;
}

.block-participation__content ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.block-participation__content ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 1rem;
  line-height: 1.5;
}

.block-participation__content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #f4a460;
  font-weight: 700;
}

.block-gallery__slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 15px;
}

.block-gallery__slider img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s;
  cursor: pointer;
}

.block-gallery__slider img:hover {
  transform: scale(1.03);
}

.block-map__container {
  border-radius: 12px;
  overflow: hidden;
}

.block-video__container {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.block-video__container iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

.block-videos__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.block-videos__item {
  background: #f8f8f6;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s;
}

.block-videos__item:hover {
  transform: scale(1.02);
}

.block-videos__item iframe {
  width: 100%;
  height: 250px;
  border: none;
  display: block;
}

/* ===== КНОПКА ЗАКАЗАТЬ ЗВОНОК ===== */
.block-reg__button-wrap {
  text-align: center;
  margin-top: 25px;
  margin-bottom: 21px;
}

.block-reg__button {
  display: inline-block;
  padding: 16px 40px;
  background: #f4a460;
  color: #2c3e50 !important;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none !important;
  transition: background 0.3s;
  box-shadow: 0 4px 15px rgba(244, 164, 96, 0.3);
  border: none;
  cursor: pointer;
  line-height: 1.2;
}

.block-reg__button:hover {
  background: #e67e22;
  color: #2c3e50 !important;
  text-decoration: none !important;
  transform: none !important;
  box-shadow: 0 4px 15px rgba(244, 164, 96, 0.3);
}

.block-reg__consent {
  margin-top: 15px;
  font-size: 0.85rem;
  color: #888;
  text-align: center;
}

.block-reg__consent a {
  color: #e67e22;
  text-decoration: none;
  font-weight: 600;
}

.block-reg__consent a:hover {
  color: #d35400;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .block-meaning,
  .block-invite,
  .block-reg,
  .block-participation,
  .block-gallery,
  .block-map,
  .block-video,
  .block-videos {
    padding: 20px 15px;
  }

  .block-meaning__title,
  .block-invite__title,
  .block-reg__title,
  .block-participation__title,
  .block-gallery__title,
  .block-map__title,
  .block-video__title,
  .block-videos__title {
    font-size: 1.4rem;
  }

  .block-gallery__slider {
    grid-template-columns: 1fr;
  }

  .block-gallery__slider img {
    height: 200px;
  }

  .block-video__container iframe {
    height: 280px;
  }

  .block-videos__grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .block-videos__item iframe {
    height: 200px;
  }

  .block-reg__button {
    display: block;
    padding: 14px 20px;
    font-size: 1rem;
  }
}

/* ===== ЦЕНЫ В БЛОКЕ УЧАСТИЯ ===== */
.block-participation__prices {
  background: #fef9f0;
  border-radius: 8px;
  padding: 15px 20px;
  margin: 15px 0;
}

.block-participation__prices ul {
  list-style: none;
  padding: 0;
  margin: 5px 0 0 0;
}

.block-participation__prices ul li {
  padding: 4px 0;
  font-size: 1rem;
}

/* ===== ЦЕНЫ В БЛОКЕ УЧАСТИЯ ===== */
.block-participation__prices {
  background: #fef9f0;
  border-left: 4px solid #f4a460;
  border-radius: 0;
  padding: 15px 20px;
  margin: 15px 0;
}

.block-participation__prices p {
  margin: 6px 0;
  font-size: 1rem;
}

.block-participation__prices p:first-child {
  margin-top: 0;
}

.block-participation__prices p:last-child {
  margin-bottom: 0;
}

/* ===== ЦЕНЫ В БЛОКЕ УЧАСТИЯ ===== */
.block-participation__prices {
  background: #fef9f0;
  border-radius: 0;
  padding: 15px 20px;
  margin: 15px 0;
}

.block-participation__prices p {
  margin: 6px 0;
  font-size: 1rem;
}

.block-participation__prices p:first-child {
  margin-top: 0;
}

.block-participation__prices p:last-child {
  margin-bottom: 0;
}

/* ===== СРОКИ В БЛОКЕ УЧАСТИЯ ===== */
.block-participation__deadlines {
  background: #fef9f0;
  border-left: 4px solid #f4a460;
  padding: 15px 20px;
  margin: 15px 0;
}

.block-participation__deadlines p {
  margin: 6px 0;
  font-size: 1rem;
}

.block-participation__deadlines p:first-child {
  margin-top: 0;
}

.block-participation__deadlines p:last-child {
  margin-bottom: 0;
}

/* ===== УБИРАЕМ ПОДЧЁРКИВАНИЕ У ВСЕХ ССЫЛОК ===== */
a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
  text-decoration: none !important;
}

/* ===== НО ДЛЯ СОГЛАСИЯ В РЕГИСТРАЦИИ МОЖНО ОСТАВИТЬ ЦВЕТ ===== */
.block-reg__consent a {
  color: #e67e22;
  font-weight: 600;
}

.block-reg__consent a:hover {
  color: #d35400;
}

/* ===== ДЛЯ ТЕЛЕФОНОВ И МЕССЕНДЖЕРОВ ===== */
.block-reg__content a {
  color: #e67e22;
  font-weight: 600;
}

.block-reg__content a:hover {
  color: #d35400;
}

/* ===== ДЛЯ ГОСТИНИЦЫ ===== */
.block-participation__content a {
  color: #e67e22;
  font-weight: 600;
}

.block-participation__content a:hover {
  color: #d35400;
}

/* ===== БЛОК С ТЕГАМИ (ОБЛАКО) ===== */
.block-tags {
  padding: 20px 0 10px 0;
  margin-bottom: 10px;
}

.block-tags__cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  padding: 10px;
}

.block-tags__tag {
  font-size: 1.2rem;
  font-weight: 500;
  color: #888;
  letter-spacing: 0.5px;
  transition: color 0.3s, transform 0.2s;
  cursor: pointer;
}

.block-tags__tag:hover {
  color: #555;
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .block-tags__tag {
    font-size: 1rem;
  }
  
  .block-tags__cloud {
    gap: 8px 14px;
  }
}

/* ===== РАСПИСАНИЕ В БЛОКЕ УЧАСТИЯ ===== */
.block-participation__schedule {
  background: #fef9f0;
  border-left: 4px solid #f4a460;
  padding: 15px 20px;
  margin: 15px 0;
}

.block-participation__schedule p {
  margin: 6px 0;
  font-size: 1rem;
}

.block-participation__schedule p:first-child {
  margin-top: 0;
}

.block-participation__schedule p:last-child {
  margin-bottom: 0;
}

/* ===== БЛОК ВИДЕО ===== */
.block-video {
  background: #fff;
  border-radius: 16px;
  padding: 30px 25px;
  margin-bottom: 30px;
}

.block-video__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(244, 164, 96, 0.3);
  padding-bottom: 12px;
}

.block-video__container {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.block-video__container iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

@media (max-width: 600px) {
  .block-video {
    padding: 20px 15px;
  }
  
  .block-video__title {
    font-size: 1.4rem;
  }
  
  .block-video__container iframe {
    height: 280px;
  }
}

/* ===== БЛОК РАДИОЭФИРА ===== */
.block-radio {
  background: #fff;
  border-radius: 16px;
  padding: 30px 25px;
  margin-bottom: 30px;
}

.block-radio__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(244, 164, 96, 0.3);
  padding-bottom: 12px;
}

.block-radio__container {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.block-radio__container iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

@media (max-width: 600px) {
  .block-radio {
    padding: 20px 15px;
  }
  
  .block-radio__title {
    font-size: 1.4rem;
  }
  
  .block-radio__container iframe {
    height: 280px;
  }
}
