.color-warm-white {
  color: #F7F6F2 !important;
}

.color-ivory {
  color: #EFEDE5 !important;
}

.color-dark-blue {
  color: #3B424A !important;
}

.color-olive-green {
  color: #4B472A !important;
}

.color-gray-blue {
  color: #434B54 !important;
}

.color-dark-olive {
  color: #423E24 !important;
}

.color-olive {
  color: #4B472A !important;
}

.color-burgundy {
  color: #913232 !important;
}

.color-dark-burgundy {
  color: #7D2828 !important;
}

.bg-warm-white {
  background-color: #F7F6F2 !important;
}

.bg-ivory {
  background-color: #EFEDE5 !important;
}

.bg-dark-blue {
  background-color: #3B424A !important;
}

.bg-olive-green {
  background-color: #4B472A !important;
}

.bg-gray-blue {
  background-color: #434B54 !important;
}

.bg-dark-olive {
  background-color: #423E24 !important;
}

.bg-olive {
  background-color: #4B472A !important;
}

.bg-burgundy {
  background-color: #913232 !important;
}

.bg-dark-burgundy {
  background-color: #7D2828 !important;
}

.border-warm-white {
  border-color: #F7F6F2 !important;
}

.border-ivory {
  border-color: #EFEDE5 !important;
}

.border-dark-blue {
  border-color: #3B424A !important;
}

.border-olive-green {
  border-color: #4B472A !important;
}

.border-gray-blue {
  border-color: #434B54 !important;
}

.border-dark-olive {
  border-color: #423E24 !important;
}

.border-olive {
  border-color: #4B472A !important;
}

.border-burgundy {
  border-color: #913232 !important;
}

.border-dark-burgundy {
  border-color: #7D2828 !important;
}

.color-primary-light {
  color: #F7F6F2 !important;
}

.color-primary-dark {
  color: #3B424A !important;
}

.color-primary-darker {
  color: #2A2525 !important;
}

.color-accent-gold {
  color: #423E24 !important;
}

.color-accent-red {
  color: #7D2828 !important;
}

.bg-primary-light {
  background-color: #F7F6F2 !important;
}

.bg-primary-dark {
  background-color: #3B424A !important;
}

.bg-primary-darker {
  background-color: #2A2525 !important;
}

.bg-accent-gold {
  background-color: #423E24 !important;
}

.bg-accent-red {
  background-color: #7D2828 !important;
}

.border-primary-light {
  border-color: #F7F6F2 !important;
}

.border-primary-dark {
  border-color: #3B424A !important;
}

.border-primary-darker {
  border-color: #2A2525 !important;
}

.border-accent-gold {
  border-color: #423E24 !important;
}

.border-accent-red {
  border-color: #7D2828 !important;
}

@font-face {
  font-family: "ST-Nizhegorodsky";
  src: url("./ST-Nizhegorodsky.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Tenor Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #F7F6F2;
  background: linear-gradient(180deg, #2A2525, rgb(63.6911392405, 56.1088607595, 56.1088607595));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1 {
  font-family: "ST-Nizhegorodsky", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #F7F6F2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2, h3, h4, h5, h6 {
  font-family: "Tenor Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: rgba(247, 246, 242, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

h2 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

p, li, span, div {
  font-family: "Tenor Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

p {
  color: #F7F6F2;
  font-size: 1.1rem;
  line-height: 1.7;
}

a {
  font-family: "Tenor Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: rgba(247, 246, 242, 0.8);
  text-decoration: none;
}
a:hover {
  color: #F7F6F2;
  text-decoration: underline;
}

main.container {
  flex: 1 0 auto;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  isolation: isolate;
  background: rgba(42, 37, 37, 0.8);
  border-bottom: 1px solid rgba(247, 246, 242, 0.1);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(42, 37, 37, 0.8);
  backdrop-filter: saturate(150%) blur(8px);
  -webkit-backdrop-filter: saturate(150%) blur(8px);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-header .brand a {
  color: #F7F6F2;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
}
.site-header .logo {
  height: 100px;
  width: auto;
}
.site-header .nav a {
  color: rgba(247, 246, 242, 0.7);
  margin-right: 16px;
  text-decoration: none;
}
.site-header .nav a:hover {
  color: #F7F6F2;
}
.site-header .burger {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  margin-left: auto;
}
.site-header .burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #F7F6F2;
}

@media (min-width: 1024px) {
  .site-header {
    margin-bottom: 20px;
  }
}
.hero {
  padding: 48px 0;
}

.fis-rules {
  margin-top: 32px;
}

.rules-list {
  padding-left: 20px;
  line-height: 1.8;
}

.rules-list li {
  margin-bottom: 12px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #3B424A;
  border: 1px solid rgba(247, 246, 242, 0.1);
  border-radius: 8px;
  overflow: hidden;
}
.table th, .table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(247, 246, 242, 0.1);
}
.table thead {
  background: rgba(247, 246, 242, 0.05);
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.news-list li {
  background: #3B424A;
  border: 1px solid rgba(247, 246, 242, 0.1);
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.vacancies-list {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.vacancy {
  background: #3B424A;
  border: 1px solid rgba(247, 246, 242, 0.1);
  padding: 20px;
  border-radius: 8px;
}

.streams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.stream-box {
  background: #2A2525;
  border: 1px solid rgba(247, 246, 242, 0.15);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(247, 246, 242, 0.7);
  border-radius: 8px;
}

.contacts .map {
  width: 100%;
  height: 320px;
  border: 1px solid rgba(247, 246, 242, 0.15);
  border-radius: 8px;
}

main.container {
  padding-top: 8px;
}

.site-footer {
  border-top: 1px solid rgba(247, 246, 242, 0.1);
  margin-top: 24px;
  padding: 16px 0;
  color: rgba(247, 246, 242, 0.7);
  text-align: center;
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn {
  cursor: pointer;
  border: 1px solid rgba(247, 246, 242, 0.2);
  background: #423E24;
  color: #F7F6F2;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
}

.btn.secondary {
  background: transparent;
  color: #F7F6F2;
  border-color: rgba(247, 246, 242, 0.3);
}

.btn.accent-red {
  background: #7D2828;
  color: #F7F6F2;
  border-color: #7D2828;
}

.btn.olive {
  background: #4B472A;
  color: #F7F6F2;
  border-color: #4B472A;
}

.btn.dark-olive {
  background: #423E24;
  color: #F7F6F2;
  border-color: #423E24;
}

.btn.burgundy {
  background: #913232;
  color: #F7F6F2;
  border-color: #913232;
}

.btn.dark-burgundy {
  background: #7D2828;
  color: #F7F6F2;
  border-color: #7D2828;
}

.btn.gray-blue {
  background: #434B54;
  color: #F7F6F2;
  border-color: #434B54;
}

.btn.ivory {
  background: #EFEDE5;
  color: #3B424A;
  border-color: #EFEDE5;
}

/* Social links */
.social-link {
  display: inline-block;
  text-decoration: none;
  color: #F7F6F2;
  margin-left: 8px;
  transition: all 0.3s ease;
}

.social-link:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

.vk-link .vk-logo {
  height: 32px;
  width: auto;
  vertical-align: middle;
  transition: all 0.3s ease;
}

.vk-link:hover .vk-logo {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.telegram-link .telegram-logo {
  height: 32px;
  width: auto;
  vertical-align: middle;
  transition: all 0.3s ease;
}

.telegram-link:hover .telegram-logo {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(42, 37, 37, 0.96);
  display: none;
  align-items: flex-start;
  justify-content: center;
  z-index: 1000;
  overflow: auto;
  padding: 24px;
  padding-top: calc(24px + env(safe-area-inset-top));
}

.mobile-menu[aria-hidden=false], .mobile-menu.active {
  display: flex;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  width: 100%;
  max-width: 420px;
}

.mobile-menu__nav a {
  color: #F7F6F2;
  font-size: 22px;
  text-decoration: none;
}

@media (min-width: 768px) {
  .site-header .burger {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
  .site-header .nav {
    margin-left: auto;
    display: block;
  }
}
@media (max-width: 767.98px) {
  .site-header .nav {
    display: none;
  }
}
.text-no-wrap {
  white-space: nowrap;
}

.coming-soon {
  text-align: center;
  padding: 2rem 0;
}
.coming-soon h2 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.fis-rules h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.price-list-container {
  background: #F7F6F2;
  color: #3B424A;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}
.price-list-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(75, 71, 42, 0.03) 1px, transparent 1px), radial-gradient(circle at 80% 80%, rgba(145, 50, 50, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}
.price-list-container > * {
  position: relative;
  z-index: 1;
}

.price-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #4B472A;
}

.price-title {
  flex: 1;
}
.price-title h1 {
  font-family: "ST-Nizhegorodsky", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu;
  font-size: 1.8rem;
  font-weight: bold;
  color: #3B424A;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
  text-shadow: none;
}
.price-title .validity-period {
  font-size: 1rem;
  color: #434B54;
  margin: 0;
  font-weight: normal;
}

.resort-name {
  text-align: right;
}
.resort-name h2 {
  font-family: "ST-Nizhegorodsky", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu;
  font-size: 2.5rem;
  font-weight: bold;
  color: #434B54;
  margin: 0;
  text-shadow: none;
}
.resort-name p {
  font-size: 0.9rem;
  color: #434B54;
  margin: 0;
  font-weight: normal;
}

.section-banner {
  background: #434B54;
  color: #F7F6F2;
  padding: 0.8rem 1.5rem;
  margin: 2rem 0 1rem 0;
  border-radius: 4px;
  text-align: center;
}
.section-banner h3 {
  font-family: "Tenor Sans", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
  text-shadow: none;
  color: #F7F6F2;
}

.category-switcher {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}
.category-switcher .category-btn {
  padding: 0.8rem 2rem;
  border: 2px solid #4B472A;
  background: transparent;
  color: #4B472A;
  border-radius: 6px;
  font-family: "Tenor Sans", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.category-switcher .category-btn:hover {
  background: rgba(75, 71, 42, 0.1);
}
.category-switcher .category-btn.active {
  background: #4B472A;
  color: #F7F6F2;
}

.price-grid-container {
  margin-bottom: 2rem;
  display: table;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0.5rem;
}

.price-grid-header {
  display: table-row;
}

.price-row {
  display: table-row;
}

.equipment-grid .price-grid-header .header-item:first-child {
  width: 20%;
}
.equipment-grid .price-grid-header .header-item:not(:first-child) {
  width: 13.33%;
}
.equipment-grid .price-row .price-item:first-child {
  width: 20%;
}
.equipment-grid .price-row .price-item:not(:first-child) {
  width: 13.33%;
}

.header-item {
  display: table-cell;
  padding: 0.8rem;
  border-radius: 6px;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  border: 1px solid rgba(59, 66, 74, 0.1);
  vertical-align: middle;
}

.item-header {
  background: rgba(75, 71, 42, 0.2);
  color: #3B424A;
}

.category-header {
  color: #F7F6F2;
}
.category-header.adult {
  background: #4B472A;
}
.category-header.child {
  background: #913232;
}

.time-header {
  background: rgba(75, 71, 42, 0.15);
  color: #3B424A;
  font-weight: 600;
  font-size: 0.9rem;
}

.category-labels .header-item {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

.price-item {
  display: table-cell;
  padding: 0.8rem;
  border-radius: 6px;
  border: 1px solid rgba(59, 66, 74, 0.1);
  vertical-align: middle;
  min-height: 60px;
}

.item-name {
  background: rgba(75, 71, 42, 0.1);
  font-weight: 500;
  color: #3B424A;
  text-align: left;
  width: 25%;
}
.item-name .item-title {
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.item-name .item-subtitle {
  font-size: 0.85rem;
  color: #434B54;
  font-weight: normal;
}

.price-cell {
  text-align: center;
  width: 12.5%;
}
.price-cell.adult {
  background: rgba(75, 71, 42, 0.05);
}
.price-cell.child {
  background: rgba(145, 50, 50, 0.05);
}
.price-cell.single {
  background: rgba(75, 71, 42, 0.05);
}

.notes-section, .other-info-section {
  margin: 2rem 0;
}
.notes-section h4, .other-info-section h4 {
  font-family: "Tenor Sans", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu;
  font-size: 1.1rem;
  font-weight: bold;
  color: #3B424A;
  margin: 0 0 1rem 0;
  text-shadow: none;
}
.notes-section ul, .other-info-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.notes-section ul li, .other-info-section ul li {
  background: rgba(75, 71, 42, 0.05);
  padding: 0.8rem 1rem;
  margin-bottom: 0.5rem;
  border-left: 3px solid #4B472A;
  border-radius: 0 4px 4px 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #3B424A;
}

.additional-equipment-section {
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .price-list-container {
    padding: 1rem;
    margin: 1rem 0;
  }
  .price-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .price-title h1 {
    font-size: 1.4rem;
  }
  .resort-name h2 {
    font-size: 2rem;
  }
  .category-switcher {
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
  }
  .category-switcher .category-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  .price-grid-container {
    display: block;
    border-spacing: 0;
  }
  .price-grid-header {
    display: none;
  }
  .price-row {
    display: block;
    background: #F7F6F2;
    border: 1px solid rgba(59, 66, 74, 0.1);
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  .price-item {
    display: block;
    width: 100% !important;
    padding: 0.5rem 0;
    border: none;
    border-radius: 0;
    margin: 0;
    min-height: auto;
  }
  .price-item.item-name {
    background: rgba(75, 71, 42, 0.1);
    padding: 0.8rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    text-align: center;
  }
  .price-item.item-name .item-title {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
  }
  .price-item.item-name .item-subtitle {
    font-size: 0.9rem;
  }
  .price-item.price-cell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem;
    border-bottom: 1px solid rgba(59, 66, 74, 0.1);
  }
  .price-item.price-cell:last-child {
    border-bottom: none;
  }
  .price-item.price-cell::before {
    content: attr(data-period);
    font-weight: 600;
    color: #3B424A;
    font-size: 0.9rem;
  }
  .price-item.price-cell.adult {
    background: rgba(75, 71, 42, 0.05);
  }
  .price-item.price-cell.child {
    background: rgba(145, 50, 50, 0.05);
  }
  .price-cell[style*="display: none"] {
    display: none !important;
  }
  .notes-section, .other-info-section {
    margin: 1.5rem 0;
  }
  .notes-section h4, .other-info-section h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }
  .notes-section ul li, .other-info-section ul li {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }
}
.news-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.news-card, .news-article, .news-item {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  transition: none;
  box-shadow: none;
}
.news-card:hover, .news-article:hover, .news-item:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}
.news-card--full, .news-article {
  max-width: none;
  margin: 0;
  box-shadow: none;
}
.news-card--preview, .news-item {
  display: block;
}

.news-card__header, .news-header {
  margin-bottom: 1.5rem;
  padding-bottom: 0;
  border-bottom: none;
}
.news-card--full .news-card__header, .news-card--full .news-header, .news-article .news-card__header, .news-article .news-header {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.news-card__title, .news-header .news-title, .news-content .news-title {
  margin: 0 0 0.8rem 0;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  color: #F7F6F2;
}
.news-card__title a, .news-header .news-title a, .news-content .news-title a {
  color: inherit;
  text-decoration: none;
}
.news-card__title a:hover, .news-header .news-title a:hover, .news-content .news-title a:hover {
  color: rgba(247, 246, 242, 0.8);
  text-decoration: underline;
}
.news-card--full .news-card__title, .news-card--full .news-header .news-title, .news-header .news-card--full .news-title, .news-article .news-card__title, .news-article .news-header .news-title, .news-header .news-article .news-title, .news-card--full .news-content .news-title, .news-article .news-content .news-title, .news-content .news-card--full .news-title, .news-content .news-article .news-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: "ST-Nizhegorodsky", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.news-card__meta, .news-header .news-meta, .news-content .news-meta {
  margin-bottom: 1rem;
}

.news-card__date, .news-header .news-meta .news-date, .news-content .news-date {
  color: rgba(247, 246, 242, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
}
.news-card--full .news-card__date, .news-card--full .news-header .news-meta .news-date, .news-header .news-meta .news-card--full .news-date, .news-article .news-card__date, .news-article .news-header .news-meta .news-date, .news-header .news-meta .news-article .news-date, .news-card--full .news-content .news-date, .news-article .news-content .news-date, .news-content .news-card--full .news-date, .news-content .news-article .news-date {
  font-size: 1rem;
}

.news-card__gallery {
  margin: 1.5rem 0;
}
.news-card--full .news-card__gallery, .news-article .news-card__gallery {
  margin-top: 0;
}

.news-card__content, .news-content {
  margin-bottom: 1.5rem;
  position: relative;
}
.news-card__content p, .news-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(247, 246, 242, 0.9);
  margin: 0 0 1rem 0;
}
.news-card--full .news-card__content p, .news-article .news-card__content p, .news-card--full .news-content p, .news-article .news-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 0;
}
.news-card--preview .news-card__content::after, .news-card--preview .news-content::after, .news-item .news-card__content::after, .news-item .news-content::after {
  content: "";
  position: absolute;
  bottom: -1.5rem;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(247, 246, 242, 0.1);
}

.news-card__short, .news-content .news-short {
  color: rgba(247, 246, 242, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.news-card__text {
  color: rgba(247, 246, 242, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}
.news-card--full .news-card__text, .news-article .news-card__text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.news-card__read-more, .news-content .news-read-more {
  display: inline-block;
  color: #F7F6F2;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  background: rgba(66, 62, 36, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(66, 62, 36, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 1rem;
}
.news-card__read-more:hover, .news-content .news-read-more:hover {
  color: #F7F6F2;
  background: rgba(66, 62, 36, 0.2);
  border-color: #423E24;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(66, 62, 36, 0.2);
}

.news-card__footer, .news-footer {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(247, 246, 242, 0.1);
  margin-top: 2rem;
}

.news-card__back, .news-footer .back-to-news {
  color: #F7F6F2;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  background: rgba(66, 62, 36, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(66, 62, 36, 0.3);
  display: inline-block;
  transition: all 0.3s ease;
}
.news-card__back:hover, .news-footer .back-to-news:hover {
  color: #F7F6F2;
  background: rgba(66, 62, 36, 0.2);
  border-color: #423E24;
  text-decoration: none;
  transform: translateY(-1px);
}

.news-gallery, .news-card__gallery {
  margin: 2rem 0;
}

.gallery-container {
  max-width: 100%;
}

.gallery-main {
  position: relative;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(247, 246, 242, 0.05);
}
.gallery-main .gallery-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1);
  opacity: 1;
}
.gallery-main .gallery-image.changing {
  opacity: 0;
  transform: scale(0.95);
}
.gallery-main .gallery-image.active {
  opacity: 1;
  transform: scale(1);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(42, 37, 37, 0.8);
  color: #F7F6F2;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
}
.gallery-nav:hover {
  background: rgba(42, 37, 37, 0.9);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.gallery-nav.gallery-prev {
  left: 15px;
}
.gallery-nav.gallery-next {
  right: 15px;
}

.gallery-main:hover .gallery-nav {
  opacity: 1;
  visibility: visible;
  animation: fadeInScale 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}
.gallery-thumbnails {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.gallery-thumbnails .gallery-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.7;
  transform: scale(1);
}
.gallery-thumbnails .gallery-thumb:hover {
  opacity: 1;
  border-color: rgba(247, 246, 242, 0.3);
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.gallery-thumbnails .gallery-thumb.active {
  opacity: 1;
  border-color: #423E24;
  box-shadow: 0 0 0 2px rgba(66, 62, 36, 0.3);
  transform: scale(1.1);
  animation: pulseActive 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulseActive {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(66, 62, 36, 0.4);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 4px rgba(66, 62, 36, 0.2);
  }
  100% {
    transform: scale(1.1);
    box-shadow: 0 0 0 2px rgba(66, 62, 36, 0.3);
  }
}
@media (max-width: 768px) {
  .news-list {
    gap: 1rem;
    margin-top: 1.5rem;
  }
  .news-item {
    padding: 1rem;
  }
  .news-content .news-title a {
    font-size: 1.2rem;
  }
  .news-article {
    padding: 1.5rem;
    margin: 0 1rem;
  }
  .news-header .news-title {
    font-size: 1.6rem;
  }
  .gallery-main .gallery-image {
    max-height: 300px;
  }
  .gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .gallery-nav.gallery-prev {
    left: 10px;
  }
  .gallery-nav.gallery-next {
    right: 10px;
  }
  .gallery-thumbnails {
    gap: 0.3rem;
  }
  .gallery-thumbnails .gallery-thumb {
    width: 60px;
    height: 60px;
  }
}
@media (max-width: 480px) {
  .news-article {
    padding: 1rem;
    margin: 0 0.5rem;
  }
  .news-header .news-title {
    font-size: 1.4rem;
  }
  .gallery-main .gallery-image {
    max-height: 250px;
  }
  .gallery-thumbnails .gallery-thumb {
    width: 50px;
    height: 50px;
  }
}
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.modal.show {
  opacity: 1;
  visibility: visible;
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal.show .modal-content {
  transform: scale(1);
}

.modal-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1);
}
.modal-image.changing {
  opacity: 0;
  transform: scale(0.9);
}
.modal-image.loaded {
  opacity: 1;
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 10001;
}
.modal-close:hover {
  opacity: 0.7;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(42, 37, 37, 0.8);
  color: #F7F6F2;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
}
.modal-nav:hover {
  background: rgba(42, 37, 37, 0.9);
  transform: translateY(-50%) scale(1.1);
}
.modal-nav.modal-prev {
  left: -60px;
}
.modal-nav.modal-next {
  right: -60px;
}

.modal-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: #F7F6F2;
  font-size: 1rem;
  font-weight: 500;
  background: rgba(42, 37, 37, 0.8);
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .modal {
    padding: 10px;
  }
  .modal-close {
    top: -30px;
    font-size: 1.5rem;
  }
  .modal-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .modal-nav.modal-prev {
    left: -50px;
  }
  .modal-nav.modal-next {
    right: -50px;
  }
  .modal-counter {
    bottom: -30px;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
}
.news-card__thumbnail {
  margin: 1rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.news-card__thumbnail a {
  display: block;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.news-card__thumbnail a:hover {
  transform: scale(1.02);
}

.news-card__thumbnail-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .news-card__thumbnail {
    margin: 0.8rem 0;
  }
  .news-card__thumbnail-img {
    height: 150px;
  }
}
@media (max-width: 480px) {
  .news-card__thumbnail-img {
    height: 120px;
  }
}
.articles-section {
  margin: 3rem 0;
  padding: 2rem 0;
}
.articles-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #F7F6F2;
  font-family: "ST-Nizhegorodsky", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.article-tile {
  background: linear-gradient(135deg, rgba(247, 246, 242, 0.08) 0%, rgba(247, 246, 242, 0.03) 100%);
  border: 1px solid rgba(247, 246, 242, 0.15);
  border-radius: 16px;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}
.article-tile:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  border-color: rgba(66, 62, 36, 0.3);
  text-decoration: none;
  color: inherit;
}
.article-tile:hover .article-tile__title {
  color: #F7F6F2;
  text-shadow: 0 0 6px rgba(247, 246, 242, 0.3);
}
.article-tile:hover .article-tile__category {
  background: rgba(247, 246, 242, 0.25);
  border-color: rgba(247, 246, 242, 0.4);
}
.article-tile:hover .article-tile__link {
  opacity: 1;
  background: rgba(247, 246, 242, 0.1);
  border-color: rgba(247, 246, 242, 0.3);
  transform: translateX(1px);
}
.article-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #423E24 0%, rgba(66, 62, 36, 0.6) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.article-tile:hover::before {
  opacity: 1;
}

.article-tile__content {
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-tile__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.article-tile__category {
  background: rgba(247, 246, 242, 0.2);
  color: #F7F6F2;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(247, 246, 242, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-tile__date {
  color: rgba(247, 246, 242, 0.6);
  font-size: 0.8rem;
  font-weight: 500;
  font-family: "Tenor Sans", sans-serif;
}

.article-tile__title {
  margin: 0 0 1rem 0;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
  flex-grow: 1;
  color: #F7F6F2;
  transition: color 0.3s ease;
}

.article-tile__excerpt {
  color: rgba(247, 246, 242, 0.8);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-tile__link {
  display: inline-flex;
  align-items: center;
  color: #F7F6F2;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  background: rgba(247, 246, 242, 0.05);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  border: 1px solid rgba(247, 246, 242, 0.2);
  transition: all 0.2s ease;
  align-self: flex-start;
  opacity: 0.8;
  pointer-events: none;
}

.articles-more {
  text-align: center;
  margin-top: 2rem;
}

.article-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  transition: none;
  box-shadow: none;
}
.article-card:hover {
  transform: none;
  box-shadow: none;
}
.article-card--preview {
  display: block;
}
.article-card--full {
  display: block;
}

.article-card__header {
  margin-bottom: 1.5rem;
  padding-bottom: 0;
  border-bottom: none;
}
.article-card--full .article-card__header {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.article-card__title {
  margin: 0 0 0.8rem 0;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  color: #F7F6F2;
}
.article-card__title a {
  color: inherit;
  text-decoration: none;
}
.article-card__title a:hover {
  text-decoration: underline;
}
.article-card--full .article-card__title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: "ST-Nizhegorodsky", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.article-card__meta {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.article-card__date {
  color: rgba(247, 246, 242, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
}
.article-card--full .article-card__date {
  font-size: 1rem;
}

.article-card__gallery {
  margin: 1.5rem 0;
}
.article-card--full .article-card__gallery {
  margin-top: 0;
}

.article-card__content {
  margin-bottom: 1.5rem;
  position: relative;
}
.article-card__content p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(247, 246, 242, 0.9);
  margin: 0 0 1rem 0;
}
.article-card--full .article-card__content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 0;
}
.article-card--preview .article-card__content::after {
  content: "";
  position: absolute;
  bottom: -1.5rem;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(247, 246, 242, 0.1);
}

.article-card__text {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(247, 246, 242, 0.9);
  margin: 0 0 1rem 0;
}
.article-card--full .article-card__text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.article-card__short {
  color: rgba(247, 246, 242, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.article-card__read-more {
  display: inline-block;
  color: #F7F6F2;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  background: rgba(66, 62, 36, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(66, 62, 36, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.article-card__read-more:hover {
  background: rgba(66, 62, 36, 0.2);
  border-color: rgba(66, 62, 36, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(66, 62, 36, 0.2);
}

.article-card__footer {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(247, 246, 242, 0.1);
  margin-top: 2rem;
}

.article-card__back {
  color: #F7F6F2;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  background: rgba(66, 62, 36, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(66, 62, 36, 0.3);
  display: inline-block;
  transition: all 0.3s ease;
}
.article-card__back:hover {
  background: rgba(66, 62, 36, 0.2);
  border-color: rgba(66, 62, 36, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(66, 62, 36, 0.2);
}

.article-card__thumbnail {
  margin: 1rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.article-card__thumbnail-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.article-card__thumbnail-img:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .articles-section {
    margin: 2rem 0;
    padding: 1.5rem 0;
  }
  .articles-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  .article-tile__content {
    padding: 1.5rem;
  }
  .article-tile__title {
    font-size: 1.2rem;
  }
  .article-tile__excerpt {
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
  }
  .article-card__thumbnail {
    margin: 0.8rem 0;
  }
  .article-card__thumbnail-img {
    height: 150px;
  }
  .article-card__meta {
    gap: 0.8rem;
  }
}
@media (max-width: 480px) {
  .articles-grid {
    gap: 1rem;
  }
  .article-tile__content {
    padding: 1.2rem;
  }
  .article-tile__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .article-tile__title {
    font-size: 1.1rem;
  }
  .article-tile__excerpt {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
  }
  .article-tile__link {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
  .article-card__thumbnail-img {
    height: 120px;
  }
  .article-card__title {
    font-size: 1.2rem;
  }
  .article-card--full .article-card__title {
    font-size: 2rem;
  }
}
