.home-hero {
  margin: 6px 0 38px;
}

.home-hero__panel {
  padding: 34px 36px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.home-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 30px;
  align-items: stretch;
  min-width: 0;
}

.home-hero__content {
  max-width: 580px;
  min-width: 0;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-hero__title {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.home-hero__subtitle {
  max-width: 620px;
  margin: 0;
  color: var(--text-muted);
  font-size: 19px;
  line-height: 1.65;
}

.home-hero__actions {
  margin-top: 28px;
}

.home-hero__button {
  min-width: 240px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 14px 26px rgba(var(--accent-rgb), 0.2);
}

.home-hero__button:hover,
.home-hero__button:focus {
  box-shadow: 0 18px 32px rgba(var(--accent-rgb), 0.24);
}

.home-hero__media {
  min-height: 300px;
  min-width: 0;
}

.home-slider,
.home-hero__placeholder {
  position: relative;
  min-height: 300px;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top right, rgba(var(--accent-rgb), 0.18), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.16) 100%),
    var(--surface-2);
}

.home-slider__viewport {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.home-slider__track {
  position: relative;
  height: 100%;
}

.home-slider__slide {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    opacity 1280ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1280ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
  z-index: 1;
}

.home-slider__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.24) 100%);
  opacity: 0;
  transition: opacity 1280ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.home-slider__slide.is-active,
.home-slider__slide.is-entering {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  z-index: 3;
}

.home-slider__slide.is-active::after,
.home-slider__slide.is-entering::after {
  opacity: 0.08;
}

.home-slider__slide.is-prep-next {
  opacity: 0;
  transform: translate3d(4%, 0, 0) scale(0.985);
  z-index: 4;
}

.home-slider__slide.is-prep-prev {
  opacity: 0;
  transform: translate3d(-4%, 0, 0) scale(0.985);
  z-index: 4;
}

.home-slider__slide.is-exiting-next {
  opacity: 0;
  transform: translate3d(-4%, 0, 0) scale(1.015);
  z-index: 2;
}

.home-slider__slide.is-exiting-prev {
  opacity: 0;
  transform: translate3d(4%, 0, 0) scale(1.015);
  z-index: 2;
}

.home-slider__slide.is-prep-next::after,
.home-slider__slide.is-prep-prev::after,
.home-slider__slide.is-exiting-next::after,
.home-slider__slide.is-exiting-prev::after {
  opacity: 0.18;
}

.home-slider__surface {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.home-slider__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-slider__overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px 26px 24px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.88) 100%);
  color: var(--bg-invert-color);
  transition:
    opacity 1100ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1100ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-slider__slide.is-prep-next .home-slider__overlay,
.home-slider__slide.is-prep-prev .home-slider__overlay,
.home-slider__slide.is-exiting-next .home-slider__overlay,
.home-slider__slide.is-exiting-prev .home-slider__overlay {
  opacity: 0.68;
  transform: translateY(10px);
}

.home-slider__title {
  margin: 0 0 8px;
  color: inherit;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.home-slider__subtitle {
  max-width: 84%;
  margin: 0;
  color: inherit;
  opacity: 0.82;
  font-size: 15px;
  line-height: 1.55;
}

.home-slider__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: rgba(20, 20, 20, 0.44);
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
}

.home-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.76);
  color: var(--text-main-color);
  box-shadow: var(--shadow-xs);
  transform: translateY(-50%);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.home-slider__arrow:hover,
.home-slider__arrow:focus {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transform: translateY(-50%) scale(1.04);
}

.home-slider__arrow:focus,
.home-slider__arrow:focus-visible,
.home-slider__dot:focus,
.home-slider__dot:focus-visible {
  outline: 0;
  box-shadow: var(--focus-ring);
}

.home-slider__arrow span {
  display: block;
  line-height: 1;
  font-size: 28px;
  font-weight: 700;
}

.home-slider__arrow--prev {
  left: 14px;
}

.home-slider__arrow--next {
  right: 14px;
}

.home-slider__dots {
  position: absolute;
  right: 22px;
  bottom: 18px;
  left: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.home-slider__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(245, 245, 245, 0.22);
  transition: width 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.home-slider__dot:hover,
.home-slider__dot:focus {
  background: rgba(245, 245, 245, 0.5);
  transform: translateY(-1px);
}

.home-slider__dot.is-active {
  width: 28px;
  background: var(--bg-invert-color);
}

@media (prefers-reduced-motion: reduce) {
  .home-slider__slide,
  .home-slider__slide::after,
  .home-slider__overlay {
    transition: none;
  }
}

.home-hero__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px;
  text-align: center;
}

.home-hero__placeholder-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: rgba(var(--accent-rgb), 0.16);
  color: var(--link);
  font-size: 32px;
  box-shadow: var(--shadow-xs);
}

.home-hero__placeholder-icon svg,
.home-feature-card__icon svg {
  width: 1em;
  height: 1em;
  display: block;
  flex: 0 0 auto;
}

.home-hero__placeholder-title {
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.home-hero__placeholder-text {
  max-width: 340px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.home-features {
  margin-bottom: 56px;
}

.home-feature-card {
  height: 100%;
  padding: 30px 28px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.home-feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 31px;
}

.home-feature-card__title {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
}

.home-feature-card__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.home-events-section {
  margin-bottom: 30px;
}

.home-news-section {
  margin-bottom: 30px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.home-news-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.home-news-section__intro {
  max-width: 680px;
}

.home-news-section__title {
  margin-bottom: 8px;
}

.home-news-section__subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.home-news-tabs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.home-news-tabs__button {
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-news-tabs__button:hover,
.home-news-tabs__button:focus {
  background: var(--surface-2);
  box-shadow: var(--shadow-xs);
}

.home-news-tabs__button.is-active {
  border-color: #111827;
  background: #111827;
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.home-news-tabs__button.is-active:hover,
.home-news-tabs__button.is-active:focus {
  background: #111827;
  color: #ffffff;
}

.home-news-panel {
  display: none;
}

.home-news-panel.is-active {
  display: block;
}

.home-reviews-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.home-reviews-header__title {
  margin: 0;
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
}

.home-reviews-header__subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}

.home-review-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  padding: 22px 22px 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.home-review-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.home-review-card__author-group {
  min-width: 0;
}

.home-review-card__author {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.home-review-card__date {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
}

.home-review-card__rating {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.home-review-card__stars {
  color: #f0b429;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.home-review-card__score {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.home-review-card__text {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.home-review-card__footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.home-review-card__event-label {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-review-card__event-title {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.home-reviews-empty {
  padding: 30px 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.home-reviews-empty__title {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
}

.home-reviews-empty__text {
  max-width: 560px;
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.feed-events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.feed-event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 388px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feed-event-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.feed-event-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.feed-event-card__image {
  width: 100%;
  height: 176px;
  flex: 0 0 176px;
  object-fit: cover;
  display: block;
}

.feed-event-card__image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 176px;
  flex: 0 0 176px;
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.feed-event-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 18px;
}

.feed-event-card__date {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.4;
}

.feed-event-card__title {
  display: -webkit-box;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  min-height: 45px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.feed-event-card__description {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
  min-height: 67px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.feed-empty {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.5;
}

.feed-empty p {
  margin: 0;
}

.home-section-title {
  margin: 0 0 30px;
  color: var(--text);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.home-bottom-cta {
  padding: 50px 0 12px;
  text-align: center;
}

.home-bottom-cta__button {
  font-size: 16px;
  padding: 15px 40px;
}

@media (max-width: 1199px) {
  .home-hero__panel {
    padding: 30px 30px 32px;
  }

  .home-hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.86fr);
    gap: 24px;
  }

  .home-slider,
  .home-hero__placeholder,
  .home-hero__content,
  .home-hero__media {
    min-height: 280px;
  }

  .home-slider__title {
    font-size: 24px;
  }
}

@media (max-width: 991px) {
  .home-hero {
    margin-bottom: 34px;
  }

  .home-hero__panel {
    padding: 30px 26px;
  }

  .home-hero__layout {
    grid-template-columns: 1fr;
  }

  .home-hero__content {
    max-width: none;
    min-height: 0;
  }

  .home-hero__title {
    font-size: 40px;
  }

  .home-slider,
  .home-hero__placeholder,
  .home-hero__media {
    min-height: 320px;
  }

  .home-feature-card {
    margin-bottom: 24px;
  }

  .home-features {
    margin-bottom: 32px;
  }

  .home-news-section__header,
  .home-reviews-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .feed-events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .home-hero {
    margin-top: 2px;
    margin-bottom: 28px;
  }

  .home-hero__panel {
    padding: 22px 18px;
    border-radius: 20px;
    min-width: 0;
  }

  .home-hero__layout {
    gap: 22px;
  }

  .home-hero__title {
    font-size: clamp(30px, 9vw, 34px);
    line-height: 1.12;
    overflow-wrap: normal;
  }

  .home-hero__subtitle {
    font-size: 17px;
    line-height: 1.55;
  }

  .home-hero__actions {
    margin-top: 24px;
  }

  .home-hero__button {
    width: 100%;
    min-width: 0;
    padding: 14px 22px;
    white-space: normal;
  }

  .home-slider,
  .home-hero__placeholder,
  .home-hero__media {
    min-height: 260px;
    border-radius: 18px;
  }

  .home-slider__overlay {
    padding: 22px 18px 20px;
  }

  .home-slider__title {
    font-size: 22px;
  }

  .home-slider__subtitle {
    max-width: 100%;
    font-size: 14px;
  }

  .home-slider__arrow {
    width: 38px;
    height: 38px;
  }

  .home-slider__arrow span {
    font-size: 24px;
  }

  .home-feature-card {
    padding: 28px 24px;
  }

  .home-feature-card__title {
    font-size: 22px;
  }

  .home-section-title {
    margin-bottom: 24px;
    font-size: 28px;
  }

  .home-news-section__header {
    gap: 18px;
    margin-bottom: 20px;
  }

  .home-news-section {
    padding: 22px 18px;
    border-radius: 20px;
    min-width: 0;
  }

  .home-news-section__subtitle {
    font-size: 15px;
  }

  .home-news-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .home-news-tabs__button {
    width: 100%;
    min-height: 44px;
    padding: 11px 16px;
    font-size: 14px;
  }

  .home-review-card {
    padding: 18px;
    border-radius: 18px;
  }

  .home-review-card__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-review-card__rating {
    align-items: flex-start;
  }

  .home-review-card__author {
    font-size: 17px;
  }

  .home-review-card__text,
  .home-review-card__event-title,
  .home-reviews-header__subtitle,
  .home-reviews-empty__text {
    font-size: 14px;
  }

  .home-reviews-empty {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .home-bottom-cta {
    padding-top: 40px;
  }

  .home-bottom-cta .btn {
    width: 100%;
    padding: 14px 20px !important;
  }
}

@media (max-width: 479px) {
  .home-hero__panel {
    padding: 20px 14px;
  }

  .home-hero__title {
    font-size: clamp(28px, 8.4vw, 32px);
  }

  .home-hero__subtitle {
    font-size: 16px;
  }

  .home-feature-card {
    padding: 24px 20px;
  }

  .home-news-tabs {
    grid-template-columns: 1fr;
  }

  .home-news-tabs__button {
    min-height: 42px;
  }

  .feed-events-grid {
    grid-template-columns: 1fr;
  }

  .feed-event-card {
    min-height: 0;
  }

  .home-review-card__text {
    -webkit-line-clamp: 3;
  }

  .home-slider__arrow--prev {
    left: 10px;
  }

  .home-slider__arrow--next {
    right: 10px;
  }

  .home-slider__dots {
    bottom: 14px;
    gap: 8px;
  }

  .home-slider__dot.is-active {
    width: 22px;
  }

  .home-hero__placeholder {
    padding: 24px 18px;
  }

  .home-hero__placeholder-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }

  .home-hero__placeholder-title {
    font-size: 20px;
  }

  .feed-event-card__image,
  .feed-event-card__image-placeholder {
    height: 168px;
    flex-basis: 168px;
  }

  .feed-event-card__title,
  .feed-event-card__description {
    min-height: 0;
  }
}
