.home-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.home-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.home-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.home-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.home-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.home-section-title {
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
}

.home-section-link {
  font-size: 0.95rem;
  color: var(--primary);
  text-decoration: none;
}

.home-section-link:hover {
  text-decoration: underline;
}

.spotlight-card {
  position: relative;
  min-height: 420px;
}

.spotlight-media {
  position: absolute;
  inset: 0;
}

.spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spotlight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.36) 45%,
    rgba(0, 0, 0, 0.12) 100%
  );
}

.spotlight-content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 28px;
  color: white;
}

.spotlight-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
  margin-bottom: 10px;
}

.spotlight-title {
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.05;
  font-weight: 800;
  margin: 0;
  max-width: 900px;
}

.spotlight-desc {
  margin-top: 14px;
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.55;
  opacity: 0.96;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spotlight-cta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  background: var(--primary);
  color: var(--primary-contrast);
  padding: 11px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.spotlight-cta:hover {
  opacity: 0.92;
}

.trending-rail {
  padding: 20px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.trending-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trending-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding: 8px;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.trending-item:hover {
  background: var(--step-bg);
}

.trending-thumb {
  width: 96px;
  height: 78px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  background: var(--step-bg);
}

.trending-title {
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trending-date {
  margin-top: 6px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

@media (min-width: 1024px) {
  .home-shell {
    padding-inline: 24px;
  }

  .home-top-grid {
    grid-template-columns: minmax(0, 2fr) minmax(320px, 380px);
    align-items: stretch;
  }
}

@media (max-width: 1023px) {
  .spotlight-card,
  .trending-rail {
    min-height: auto;
  }

  .spotlight-card {
    min-height: 360px;
  }

  .spotlight-content {
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .home-shell {
    padding: 18px 14px 28px;
  }

  .home-stack {
    gap: 24px;
  }

  .home-section-title {
    font-size: 1.45rem;
  }

  .spotlight-card {
    min-height: 300px;
  }

  .spotlight-content {
    padding: 18px;
  }

  .spotlight-title {
    font-size: 1.85rem;
  }

  .trending-item {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
  }

  .trending-thumb {
    width: 88px;
    height: 72px;
  }
}

.latest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.news-media {
  width: 100%;
  height: 170px;
  overflow: hidden;
  background: var(--step-bg);
}

.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-body {
  padding: 16px;
}

.news-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: var(--text);

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-desc {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-date {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .latest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .latest-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.event-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.event-media-wrap {
  position: relative;
}

.event-media {
  width: 100%;
  height: 150px;
  overflow: hidden;
  background: var(--step-bg);
}

.event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  min-width: 54px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  padding: 10px 8px 8px;
  text-align: center;
}

.event-date-day {
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 800;
  color: var(--text);
}

.event-date-month {
  margin-top: 4px;
  font-size: 0.72rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.event-body {
  padding: 16px;
}

.event-title {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: var(--text);

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-desc {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-meta {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .events-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.figures-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.figure-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.figure-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.figure-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.figure-avatar {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--step-bg);
}

.figure-copy {
  min-width: 0;
}

.figure-title {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: var(--text);

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.figure-role {
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--text-muted);

  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.figure-desc {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .figures-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .figures-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.map-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.map-strip-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.map-strip-media {
  min-height: 160px;
  background: var(--step-bg);
}

.map-strip-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.map-strip-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-strip-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.map-strip-title {
  font-size: 1.6rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}

.map-strip-desc {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 680px;
}

.map-strip-actions {
  margin-top: 16px;
}

.map-strip-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--primary);
  color: var(--primary-contrast);
  padding: 11px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.18s ease;
}

.map-strip-button:hover {
  opacity: 0.92;
}

@media (min-width: 900px) {
  .map-strip-grid {
    grid-template-columns: 240px minmax(0, 1fr);
    min-height: 180px;
  }

  .map-strip-media {
    min-height: 180px;
  }

  .map-strip-body {
    padding: 26px 28px;
  }
}

@media (max-width: 640px) {
  .map-strip-title {
    font-size: 1.35rem;
  }

  .map-strip-desc {
    font-size: 0.9rem;
  }
}