.intro {
  position: relative;
  padding-bottom: 60px;
  margin-bottom: -2px;

}

._block {
  padding: 30px;

}

.top-img {
   display: block;
   width: 100%;
}


.round_block {
  border-radius: 0px;
  overflow: hidden;
  color: white;
}

.round_block h2 {
  color: White;
}

.nye2027-page {
  --bg-dark: #1a0505;
  --bg-red: #3a0c0c;
  --card-bg: rgba(58, 12, 12, 0.55);
  --card-border: #8a3030;
  --gold: #d9b46a;
  --gold-soft: #e8c98a;
  --text-light: #f4e8da;
  --text-muted: #d8bfa8;
  --radius: 6px;
  --max-width: 1180px;

  font-size: 18px;
  color: var(--text-light);
  background-color: var(--bg-dark);
  background-image: url("images/bg-empty.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  line-height: 1.5;
}

.nye2027-page,
.nye2027-page * {
  box-sizing: border-box;
}

.nye2027-page img {
  max-width: 100%;
  display: block;
}

.nye-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
}

/* ==== Hero ==== */
.nye-hero {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 220px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 40px 24px;
}

.nye-hero__camera {
  position: absolute;
  top: 50px;
  left: 50px;
  width: 400px;
}

.nye-hero__intro {
  max-width: 560px;
  width: 100%;
  min-width: 0;
  font-size: 1.05em;
  color: var(--text-light);
  padding: 20px 28px;
}

.nye-hero__lead {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 16px;
}

/* ==== Buttons ==== */
.nye-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.nye-btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
  color: white;
}

.nye-btn--gold {
  background-color: var(--gold);
  color: #3a1010;

}

.nye-btn--gold:hover {

  color: black;
}


.nye-btn--ghost {
  background-color: rgba(20, 4, 4, 0.6);
  color: var(--gold-soft);
  border-color: var(--gold);
}

/* ==== Tariff cards ==== */
.nye-tariffs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.nye-tariff-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.nye-tariff-card__icon {
  width: 56px;
  height: auto;
  margin: 0 auto 12px;
}

.nye-tariff-card__badge {
  color: var(--text-light);
  font-weight: bold;
  margin: 0 0 6px;
}

.nye-tariff-card__title {
  color: var(--gold);
  font-size: 1.4em;
  margin: 0 0 16px;
}

.nye-tariff-card__text {
  margin: 0 0 24px;
  color: var(--text-muted);
}

.nye-u {
  text-decoration: underline;
}

.nye-tariff-card__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==== Banner ==== */
.nye-banner {
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  font-size: 1.25em;
  font-weight: bold;
  color: var(--gold-soft);
  background: rgba(0, 0, 0, 0.2);
}

/* ==== Section titles ==== */
.nye-section-title {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--gold);
  font-size: 1.6em;
  margin: 0 0 8px;
}

.nye-section-title::before,
.nye-section-title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--gold);
}

.nye-section-title span {
  flex: 0 0 auto;
  white-space: nowrap;
}

.nye-section-title--left {
  display: block;
  text-align: left;
}

.nye-section-title--left::before,
.nye-section-title--left::after {
  content: none;
}

.nye-section-date {
  text-align: center;
  color: var(--text-light);
  font-size: 1.3em;
  font-weight: bold;
  margin: 0 0 32px;
}

/* ==== Perks ==== */
.nye-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
}

.nye-perk {
  text-align: center;
  font-size: 0.85em;
  color: var(--text-muted);
}

.nye-perk__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  margin: 0 auto 12px;
}

.nye-perk__icon img {
  width: 52px;
  height: 52px;
  filter: brightness(0) invert(1);
}

/* ==== Timeline ==== */
.nye-timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: -1px;
}

.nye-timeline li {
  border: 1px solid var(--card-border);
  padding: 14px 20px;
  margin-top: -1px;
}

.nye-timeline time {
  display: block;
  font-weight: bold;
  color: var(--gold-soft);
  margin-bottom: 4px;
}

.nye-timeline p {
  margin: 0;
  color: var(--text-light);
}

/* ==== Sights ==== */
.nye-sights__subtitle {
  text-align: left;
  color: var(--gold-soft);
  font-weight: bold;
  margin: 0 0 32px;
}

.nye-sights__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.nye-sights__grid li {
  text-align: center;
}

.nye-sights__grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  padding: 15px 0px;
}

.nye-sights__grid figcaption {
  color: var(--text-light);
  font-size: 0.95em;
}

/* ==== Responsive ==== */
@media (max-width: 900px) {
  .nye-perks {
    grid-template-columns: repeat(4, 1fr);
  }

  .nye-sights__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nye-hero {
    display: block;
    min-height: 0;
    padding: 160px 20px 40px;
  }

  .nye-hero__camera {
    width: 200px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
  }

  .nye-hero__intro {
    width: auto;
    max-width: none;
    margin: 0;
    text-align: center;
    font-size: 0.95em;
  }

  .nye-tariffs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nye-container {
    padding: 36px 16px;
  }

  .nye-perks {
    grid-template-columns: repeat(2, 1fr);
  }

  .nye-sights__grid {
    grid-template-columns: 1fr 1fr;
  }

  .nye-section-title {
    font-size: 1.3em;
  }

  .nye-banner {
    font-size: 1.05em;
  }
}

@media (max-width: 400px) {
  .nye-sights__grid {
    grid-template-columns: 1fr;
  }
}