:root {
  --bg: #ffffff;
  --card: #ffffff;
  --text: #202F4C;
  --muted: #6b7280;
  --soft: #f3f4f6;
  --line: #e5e7eb;
  --shadow: 0 18px 35px rgba(0,0,0,.12);
  --radius: 22px;
  --primary: #202F4C;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

/* ── HERO ── */
.hero {
  height: 320px;
  position: relative;
  overflow: hidden;
  z-index: -1;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center 30%; /* двигаем вниз */
  filter: brightness(0.8);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.6) 100%);
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;  /* по центру вертикально */
  align-items: flex-start;  /* по левому краю горизонтально */
  padding: 0 24px;
  max-width: 1072px;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
}
.hero__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.hero__title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 10px;
}

.hero__meta {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* ── WRAP ── */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}


.activity-item img {
  object-fit: cover;
  height: 200px;
  width: 100%;
  border-radius: 10px;
}

/* ── ARTICLE ── */
.article {
  min-width: 0;
}

/* Intro block */
.article__intro {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  background: var(--soft);
}

.article__intro p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  font-weight: 500;
}

/* Section */
.article__section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  margin-bottom: 20px;
}

.article__section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.section-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  background: var(--soft);
}

.article__section-header h2 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.article__section-body {
  padding: 20px 22px;
}

.article__section-body p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 14px;
}

.article__section-body p:last-child { margin-bottom: 0; }

/* Image inside section */
.section-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  object-position: center 35%; /* двигаем вниз */
  border-bottom: 1px solid var(--line);
}

/* Tips list */
.tips-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.tips-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
  background: var(--soft);
}

.tips-list li strong {
  color: var(--text);
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.tip-img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid var(--line);
}

/* Activity grid */
.activity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
  margin-bottom: 20px;
}

.activity-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: var(--soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}

.activity-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.activity-item__icon { font-size: 22px; margin-bottom: 8px; display: block; }

.activity-item h4 {
  font-size: 13px;
  font-weight: 800;
  margin: 10px 0 0;
  color: var(--text);
}

.activity-item p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 !important;
}

/* Photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 20px 22px;
}

.photo-spot {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 2/3;
  cursor: pointer;
}

.photo-spot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.photo-spot:hover img { transform: scale(1.06); }

.photo-spot__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── SIDEBAR ── */
.sidebar {
  position: sticky;
  top: 60px;
}

.sidebar-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  margin-bottom: 16px;
}

.sidebar-card__header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Related posts */
.related-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 7px;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
}

.related-item:last-child { border-bottom: none; }
.related-item:hover { background: var(--soft); }

.related-item img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.related-item__tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 3px;
}

.related-item__title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.related-item__date {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.related-more{
  margin-top: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: transparent;
  cursor: pointer;
}

.related-more:hover{
  border-color: rgba(0,0,0,.25);
}


/* Quick facts */
.facts-body {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tip-img{
  font-size: 30px;
  width: 48px;
  height: 48px;
  background: white;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.fact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.fact-row:last-child { border-bottom: none; padding-bottom: 0; }

.fact-row__label { color: var(--muted); }
.fact-row__value { font-weight: 800; color: var(--text); }

/* CTA */
.cta-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--primary);
  padding: 24px 18px;
  text-align: center;
}

.cta-card h3 {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.cta-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
  margin-bottom: 18px;
}

.cta-btn {
  display: block;
  width: 100%;
  padding: 13px;
  background: #fff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
  margin-bottom: 8px;
}

.cta-btn:hover { opacity: 0.88; }

.cta-btn-outline {
  display: block;
  width: 100%;
  padding: 13px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.cta-btn-outline:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .wrap {
    grid-template-columns: 1fr;
  }
  .sidebar { position: static; }
  .hero { height: 320px; }
}

@media (max-width: 600px) {
  .hero { height: 260px;  }
  .activity-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .wrap { padding: 24px 14px 20px; gap: 10px; }
  .article__intro {padding: 14px;}
}

