/* Landing pages: site brand + page title */

.landing-header .landing-brand {
  margin: 0 0 10px;
}

/* Паритет с .header h1 на главной */
.landing-header .landing-brand .header-home-link {
  margin: 0;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: var(--font-weight-boldest);
  color: var(--color-brand-accent);
  text-shadow: var(--text-shadow-header-title);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.landing-header .landing-brand .header-home-link:hover,
.landing-header .landing-brand .header-home-link:focus-visible {
  text-decoration: underline;
}

.landing-header h1.landing-page-title {
  margin: 0;
  font-size: clamp(1.75rem, 6vw, 3rem);
  font-weight: var(--font-weight-boldest);
  line-height: 1.15;
  color: #191970;
  text-shadow: var(--text-shadow-header-title);
}

/* Individual station landing (/station/{uuid}/) */
.station-hero {
  padding: 1.25rem 0 2rem;
}

.station-hero-title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  font-weight: var(--font-weight-boldest);
  line-height: 1.2;
  color: #191970;
}

html.dark-theme .station-hero-title {
  color: #e0e0e0;
}

.station-hero-card {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  align-items: flex-start;
}

.station-hero-logo-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1cm;
  width: auto;
  max-width: 100%;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.station-hero-logo-row .station-actions {
  margin-left: 0;
}

.station-hero-logo {
  display: block;
  width: 120px;
  max-width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.06);
  flex: 0 0 120px;
}

html.dark-theme .station-hero-logo {
  background: rgba(255, 255, 255, 0.06);
}

.station-hero-info {
  flex: 1 1 100%;
  min-width: 0;
}

.station-hero-lead {
  margin: 0 0 0.75rem;
  line-height: 1.45;
}

.station-hero-meta {
  margin: 0 0 0.75rem;
  padding-left: 1.15rem;
  line-height: 1.5;
}

.station-hero-meta a {
  word-break: break-all;
}

.station-hero-related,
.station-hero-home {
  margin: 0.35rem 0 0;
}

body.station-landing-page .stations-container,
body.station-landing-page #station-list,
body.station-landing-page #station-count,
body.station-landing-page #loading-spinner {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Favorites tab on station landing: same interactive list as home */
body.station-landing-page.favorites-view .station-landing-list.stations-container,
body.station-landing-page.favorites-view .station-landing-list .container,
body.station-landing-page.favorites-view .station-landing-list #station-list,
body.station-landing-page.favorites-view .station-landing-list #station-count {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
}

body.station-landing-page.favorites-view .station-hero {
  display: none !important;
}

