/* Flooding shared shell components: nav + hero base. */
.site-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 300;
}

.site-nav .container {
  display: flex;
  align-items: center;
  height: 52px;
  gap: 0;
}

.nav-brand {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  padding-right: 1.5rem;
  border-right: 1px solid var(--border);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-tabs {
  display: flex;
  align-items: stretch;
  height: 100%;
  flex: 1;
  padding-left: 0.25rem;
}

.nav-tab {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}

.nav-tab.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
  font-weight: 600;
  cursor: default;
}

.nav-tab.disabled {
  opacity: 0.4;
  cursor: default;
  position: relative;
}

.nav-tab.disabled:hover::after {
  content: 'Coming soon';
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: #374151;
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 10;
}

.nav-cta {
  margin-left: auto;
  flex-shrink: 0;
  padding: 0.35rem 0.9rem;
  background: var(--blue);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 5px;
  text-decoration: none;
  opacity: 0.92;
  cursor: pointer;
}

.nav-cta:hover {
  opacity: 1;
  background: var(--blue-mid);
}

.nav-cta.disabled {
  background: #9ca3af;
  opacity: 0.55;
  cursor: default;
}

.nav-cta.disabled:hover {
  background: #9ca3af;
  opacity: 0.55;
}

.hero {
  background: var(--blue);
  color: #fff;
  padding: 3.5rem 0 3rem;
}

.hero-sub {
  margin-top: 1.25rem;
  font-size: 1.1rem;
  opacity: 0.78;
  color: #fff;
}

.hero-sub a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.hero-report-cta-btn {
  border: none;
  background: transparent;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.hero-country-chip {
  display: inline-block;
  padding: 0.12rem 0.58rem;
  margin: 0 0.2rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  line-height: 1.25;
  vertical-align: baseline;
}

.hero-country-chip.c-UK {
  background: rgba(31, 111, 139, 0.78);
  border-color: rgba(31, 111, 139, 0.98);
}

.hero-country-chip.c-DE {
  background: rgba(76, 111, 191, 0.78);
  border-color: rgba(76, 111, 191, 0.98);
}

.hero-country-chip.c-NL {
  background: rgba(138, 94, 167, 0.8);
  border-color: rgba(138, 94, 167, 0.98);
}

.country-filter-section {
  padding: var(--country-filter-top, 1rem) 0 var(--country-filter-bottom, 0.4rem);
  border-bottom: var(--country-filter-border, 1px solid var(--border));
  background: #fff;
}

.country-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.country-filter-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.country-filter-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.country-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.country-pill {
  padding: 0.4rem 1.1rem;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 0;
  transition: border-color .12s, color .12s, background .12s;
}

.country-pill:hover {
  border-color: #9ca3af;
  color: var(--text);
}

.country-pill.active {
  border-color: transparent;
  color: #fff;
}

.country-pill[data-country="ALL"].active {
  background: #374151;
}

.country-pill[data-country="UK"].active {
  background: var(--uk);
}

.country-pill[data-country="DE"].active {
  background: var(--de);
}

.country-pill[data-country="NL"].active {
  background: var(--nl);
}

.country-pill[data-country="UK"] {
  --country-pill-c: var(--uk);
}

.country-pill[data-country="DE"] {
  --country-pill-c: var(--de);
}

.country-pill[data-country="NL"] {
  --country-pill-c: var(--nl);
}

.country-pill[data-country]:not([data-country="ALL"])::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--country-pill-c);
  margin-left: 6px;
  flex-shrink: 0;
}

.country-pill.active::after {
  background: rgba(255, 255, 255, 0.75);
}

.featured-cases-widget {
  display: none;
  margin-bottom: 1.6rem;
  padding: 0.9rem;
  border: 1px solid #d7e3ea;
  border-radius: 10px;
  background: linear-gradient(180deg, #f5fafc 0%, #f9fbfc 100%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--featured-accent, #275265) 11%, transparent);
}

.featured-cases-widget.on {
  display: block;
}

.featured-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.9rem;
}

.featured-cases-widget[data-country="UK"] {
  background: linear-gradient(180deg, #f4fafc 0%, #f7fbfc 100%);
}

.featured-cases-widget[data-country="DE"] {
  background: linear-gradient(180deg, #f5f8ff 0%, #f8faff 100%);
}

.featured-cases-widget[data-country="NL"] {
  background: linear-gradient(180deg, #faf6fc 0%, #fcf9fe 100%);
}

.featured-report-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 8px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color .14s, box-shadow .14s, transform .14s;
}

.featured-report-card:hover,
.featured-report-card:focus-visible {
  border-color: #93c5fd;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.16);
  transform: translateY(-1px);
  outline: none;
}

.featured-report-chart {
  position: relative;
  aspect-ratio: 7/4;
}

.featured-report-chart svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.featured-report-footer {
  border-top: 1px solid var(--border, #e5e7eb);
  padding: 0.5rem 0.65rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.featured-report-name {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text, #111827);
  line-height: 1.35;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-report-acronym {
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  display: inline-block;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  width: fit-content;
}
