:root {
  --eu-blue: #003399;
  --eu-blue-light: #0055A4;
  --eu-gold: #FFD700;
  --bg: #F7F8FC;
  --bg-white: #FFFFFF;
  --text: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-lg: 0 4px 12px rgba(0,0,0,.08);
  --font: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;
  --transition: .15s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--eu-blue-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--eu-blue); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 800px; }

/* ── Header ────────────────────────────────────────── */
.site-header {
  background: var(--eu-blue);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,51,153,.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: #fff;
  font-size: 1rem;
}
.logo:hover { color: var(--eu-gold); }
.logo-stars { color: var(--eu-gold); font-size: 1.1rem; letter-spacing: 2px; }
.logo-text strong { font-size: 1.25rem; letter-spacing: 1px; }
.logo-sub { display: block; font-size: .7rem; font-weight: 300; opacity: .85; letter-spacing: .5px; }
.main-nav { display: flex; gap: 1.5rem; }
.main-nav a {
  color: rgba(255,255,255,.8);
  font-weight: 500;
  font-size: .95rem;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  color: #fff;
  border-bottom-color: var(--eu-gold);
}

/* ── Hero ──────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--eu-blue) 0%, #001a4d 100%);
  color: #fff;
  padding: 4rem 0 3.5rem;
  text-align: center;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-title .accent { color: var(--eu-gold); }
.hero-lead {
  font-size: 1.1rem;
  font-weight: 300;
  opacity: .9;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.hero-search { max-width: 640px; margin: 0 auto; position: relative; }
.search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50px;
  padding: .35rem .35rem .35rem 1.2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.search-icon { color: var(--text-muted); flex-shrink: 0; }
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: var(--font);
  color: var(--text);
  padding: .6rem .8rem;
  background: transparent;
}
.search-box input::placeholder { color: var(--text-light); }

/* ── Autocomplete ──────────────────────────────────── */
.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  margin-top: .5rem;
  display: none;
  z-index: 50;
  max-height: 320px;
  overflow-y: auto;
}
.autocomplete-dropdown.open { display: block; }
.ac-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 1rem;
  cursor: pointer;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition);
}
.ac-item:hover { background: var(--border-light); }
.ac-item-name { font-weight: 500; }
.ac-item-meta { font-size: .8rem; color: var(--text-muted); }

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .55rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--eu-blue);
  color: #fff;
}
.btn-primary:hover { background: var(--eu-blue-light); color: #fff; }
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text-muted);
}
.btn-outline:hover { border-color: var(--eu-blue); color: var(--eu-blue); }

/* ── Sections ──────────────────────────────────────── */
.section { padding: 3rem 0; }
.section-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--eu-blue);
}
.section-title .subtitle { font-family: var(--font); font-size: .9rem; color: var(--text-muted); font-weight: 400; }

/* ── Stat Cards (entity types) ─────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.stat-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--eu-blue);
  transition: width var(--transition);
}
.stat-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--eu-blue-light);
}
.stat-card:hover::before { width: 6px; }
.stat-count { font-size: 1.8rem; font-weight: 700; color: var(--eu-blue); }
.stat-label { font-size: .9rem; font-weight: 500; margin-top: .25rem; }
.stat-code { font-size: .75rem; color: var(--text-light); margin-top: .15rem; font-family: monospace; }

/* ── Country Grid ──────────────────────────────────── */
.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .75rem;
}
.country-card {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: all var(--transition);
}
.country-card:hover { border-color: var(--eu-blue-light); box-shadow: var(--shadow-sm); }
.country-flag { font-weight: 700; color: var(--eu-blue); min-width: 1.5rem; }
.country-name { flex: 1; font-size: .88rem; font-weight: 500; }
.country-count { font-size: .8rem; color: var(--text-muted); font-weight: 600; }

/* ── About ─────────────────────────────────────────── */
.about-text { line-height: 1.8; color: var(--text-muted); }
.about-text p + p { margin-top: .8rem; }
.about-text strong { color: var(--text); }
.disclaimer-note {
  margin-top: 1.2rem;
  padding: 1rem 1.25rem;
  background: #FFFBEB;
  border-left: 4px solid var(--eu-gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .9rem;
}

/* ── Search / Filter ───────────────────────────────── */
.page-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--eu-blue);
  margin-bottom: 1.5rem;
}
.filter-form {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.filter-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-end;
}
.filter-group { display: flex; flex-direction: column; gap: .3rem; }
.filter-group.search-filter { flex: 2; min-width: 200px; }
.filter-group label { font-size: .8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.filter-group input,
.filter-group select {
  padding: .5rem .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
}
.filter-group input:focus,
.filter-group select:focus {
  outline: none;
  border-color: var(--eu-blue-light);
  box-shadow: 0 0 0 3px rgba(0,85,164,.1);
}
.filter-actions { flex-direction: row; gap: .5rem; align-items: flex-end; }

/* ── Results Table ─────────────────────────────────── */
.results-header { margin-bottom: 1rem; }
.results-count { color: var(--text-muted); font-size: .95rem; }
.results-table-wrap { overflow-x: auto; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.results-table th {
  text-align: left;
  padding: .75rem 1rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
  background: var(--border-light);
  border-bottom: 2px solid var(--border);
}
.results-table td {
  padding: .6rem 1rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}
.results-table tbody tr:hover { background: #f8faff; }
.col-name a { font-weight: 600; color: var(--eu-blue); }
.col-name a:hover { text-decoration: underline; }
.commercial-name { display: block; font-size: .8rem; color: var(--text-muted); font-style: italic; }
.col-date, .col-ref { white-space: nowrap; font-size: .85rem; }

/* ── Badges ────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: .15rem .55rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
  white-space: nowrap;
}
.badge-lg { font-size: .85rem; padding: .3rem .8rem; }
.badge-sm { font-size: .65rem; padding: .1rem .4rem; }
.badge-psd-pi  { background: #DBEAFE; color: #1E40AF; }
.badge-psd-emi { background: #D1FAE5; color: #065F46; }
.badge-psd-aisp { background: #EDE9FE; color: #5B21B6; }
.badge-psd-eemi { background: #E0F2FE; color: #0369A1; }
.badge-psd-epi { background: #FEF3C7; color: #92400E; }
.badge-psd-exc { background: #FEE2E2; color: #991B1B; }
.badge-psd-enl { background: #F3F4F6; color: #6B7280; }
.badge-psd-br  { background: #FCE7F3; color: #9D174D; }
.badge-psd-ag  { background: #F0FDF4; color: #166534; }

/* ── Pagination ────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .25rem;
  padding: 1.5rem 0;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 .5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-white);
  transition: all var(--transition);
}
.page-btn:hover { border-color: var(--eu-blue-light); color: var(--eu-blue); }
.page-btn.active {
  background: var(--eu-blue);
  color: #fff;
  border-color: var(--eu-blue);
}
.page-ellipsis { color: var(--text-light); padding: 0 .25rem; }

/* ── Entity Detail ─────────────────────────────────── */
.breadcrumb {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--eu-blue-light); }
.breadcrumb .sep { margin: 0 .4rem; opacity: .5; }

.entity-header { margin-bottom: 2rem; }
.entity-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  color: var(--eu-blue);
  margin-bottom: .5rem;
}
.entity-commercial { font-size: 1.05rem; color: var(--text-muted); margin-bottom: .25rem; }
.entity-alt-name { font-size: .95rem; color: var(--text-light); font-style: italic; margin-bottom: .75rem; }

.entity-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.entity-info-card,
.entity-address-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.entity-info-card h2,
.entity-address-card h2,
.entity-section h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--eu-blue);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--border-light);
}

.info-list { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; }
.info-list dt { font-weight: 600; font-size: .85rem; color: var(--text-muted); }
.info-list dd { font-size: .9rem; }
.info-list code { background: var(--border-light); padding: .1rem .4rem; border-radius: 4px; font-size: .8rem; }

.entity-address {
  font-style: normal;
  line-height: 1.8;
  color: var(--text);
}
.country-tag {
  display: inline-block;
  margin-top: .5rem;
  padding: .2rem .6rem;
  background: var(--eu-blue);
  color: #fff;
  border-radius: 4px;
  font-size: .8rem;
  font-weight: 600;
}

.entity-section { margin-bottom: 2rem; }

.parent-card {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.parent-card a { color: var(--eu-blue); font-weight: 600; }

/* ── Services Grid ─────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
.service-country-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}
.service-country-card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.country-flag-sm { font-weight: 800; color: var(--eu-blue); font-size: .85rem; }
.service-list { list-style: none; }
.service-list li {
  display: flex;
  gap: .5rem;
  padding: .25rem 0;
  font-size: .82rem;
  border-bottom: 1px solid var(--border-light);
}
.service-list li:last-child { border-bottom: none; }
.svc-code { font-weight: 700; color: var(--eu-blue-light); font-family: monospace; min-width: 3.5rem; }
.svc-label { color: var(--text-muted); }

/* ── Children Table ────────────────────────────────── */
.children-table-wrap { max-height: 500px; overflow-y: auto; }

/* ── No Results ────────────────────────────────────── */
.no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

/* ── Footer ────────────────────────────────────────── */
.site-footer {
  background: #0a1628;
  color: rgba(255,255,255,.7);
  padding: 2rem 0;
  margin-top: 3rem;
  font-size: .85rem;
}
.footer-inner { text-align: center; }
.footer-disclaimer { max-width: 700px; margin: 0 auto .75rem; line-height: 1.6; }
.footer-disclaimer a { color: var(--eu-gold); }
.footer-copy { opacity: .5; font-size: .75rem; }

/* ── Contribute Toggle & Form ─────────────────────── */
.entity-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.contribute-toggle {
  flex-shrink: 0;
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
  margin-top: .4rem;
}
.contribute-toggle:hover {
  color: var(--eu-blue);
  border-color: var(--eu-blue);
  background: rgba(0,51,153,.05);
}

.contribute-form {
  background: var(--bg-white);
  border: 1px solid var(--eu-blue-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.contribute-form h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--eu-blue);
  margin-bottom: .25rem;
}
.contribute-hint {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.contrib-field-group {
  margin-bottom: .75rem;
}
.contrib-field-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
  margin-bottom: .3rem;
}
.contrib-field-group select,
.contrib-field-group input {
  width: 100%;
  max-width: 400px;
  padding: .5rem .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
}
.contrib-field-group select:focus,
.contrib-field-group input:focus {
  outline: none;
  border-color: var(--eu-blue-light);
  box-shadow: 0 0 0 3px rgba(0,85,164,.1);
}
.contrib-actions {
  display: flex;
  gap: .5rem;
  margin-top: .75rem;
}
.btn-sm { padding: .4rem 1rem; font-size: .85rem; }
.contrib-feedback {
  margin-top: .75rem;
  padding: .5rem .75rem;
  border-radius: var(--radius);
  font-size: .85rem;
}
.contrib-feedback-ok { background: #D1FAE5; color: #065F46; }
.contrib-feedback-err { background: #FEE2E2; color: #991B1B; }

/* ── Community Data ───────────────────────────────── */
.community-data {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.community-data-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--eu-blue);
  margin-bottom: .75rem;
}

/* ── User Contributions Status ────────────────────── */
.user-contributions {
  margin-bottom: 1.5rem;
}
.user-contributions h4 {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: .5rem;
}
.contrib-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .75rem;
  border-radius: var(--radius);
  font-size: .85rem;
  margin-bottom: .3rem;
}
.contrib-pending { background: #FEF3C7; color: #92400E; }
.contrib-rejected { background: #FEE2E2; color: #991B1B; }
.contrib-field { font-weight: 600; }
.contrib-status-badge {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  padding: .1rem .4rem;
  border-radius: 50px;
  margin-left: auto;
}
.contrib-status-badge.pending { background: #FDE68A; color: #78350F; }
.contrib-status-badge.rejected { background: #FECACA; color: #7F1D1D; }

/* ── Stars ─────────────────────────────────────────── */
.star { font-size: 1.1rem; margin-right: 1px; }
.star-filled { color: #F59E0B; }
.star-empty { color: #D1D5DB; }
.mini-stars .star { font-size: .85rem; }

/* ── Reviews Section ──────────────────────────────── */
.reviews-section { margin-top: 2rem; }

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}
.reviews-summary-score {
  display: flex;
  align-items: baseline;
  gap: .3rem;
}
.reviews-big-score {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.reviews-out-of {
  font-size: .9rem;
  color: var(--text-muted);
  font-weight: 500;
}
.reviews-summary-stars .star { font-size: 1.5rem; }
.reviews-summary-count {
  font-size: .9rem;
  color: var(--text-muted);
  margin-left: auto;
}

.reviews-user-notice {
  margin-bottom: 1rem;
}
.reviews-user-notice h4 {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: .4rem;
}

/* ── Review Cards ─────────────────────────────────── */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.5rem;
}
.review-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: .75rem;
  overflow: hidden;
}
.review-main {
  padding: 1.25rem 1.5rem;
}
.review-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .6rem;
}
.review-stars .star { font-size: 1.15rem; }
.review-date {
  font-size: .8rem;
  color: var(--text-light);
  margin-left: auto;
}
.review-text {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--text);
}
.reply-btn {
  background: none;
  border: none;
  color: var(--eu-blue-light);
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  padding: .3rem 0;
  margin-top: .4rem;
  transition: color var(--transition);
}
.reply-btn:hover { color: var(--eu-blue); }

/* ── Replies ──────────────────────────────────────── */
.review-replies {
  background: var(--bg);
  border-top: 1px solid var(--border-light);
  padding: .75rem 1.5rem .75rem 2.5rem;
}
.reply-card {
  padding: .6rem 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}
.reply-card:last-child { border-bottom: none; }
.reply-card::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: .75rem;
  width: .6rem;
  height: 1px;
  background: var(--border);
}
.reply-pending { opacity: .7; }
.reply-rejected { opacity: .5; }
.reply-date {
  font-size: .75rem;
  color: var(--text-light);
}
.reply-text {
  font-size: .88rem;
  line-height: 1.6;
  color: var(--text);
  margin-top: .15rem;
}

.reply-form-wrap {
  background: var(--bg);
  border-top: 1px solid var(--border-light);
  padding: .75rem 1.5rem .75rem 2.5rem;
}
.reply-form textarea {
  width: 100%;
  padding: .5rem .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .88rem;
  color: var(--text);
  background: var(--bg-white);
  resize: vertical;
  transition: border-color var(--transition);
}
.reply-form textarea:focus {
  outline: none;
  border-color: var(--eu-blue-light);
  box-shadow: 0 0 0 3px rgba(0,85,164,.1);
}
.reply-form-actions {
  display: flex;
  gap: .4rem;
  margin-top: .4rem;
}
.reply-feedback {
  margin-top: .4rem;
  padding: .4rem .6rem;
  border-radius: var(--radius);
  font-size: .82rem;
}
.btn-xs { padding: .3rem .75rem; font-size: .8rem; }

.no-comments {
  color: var(--text-muted);
  font-size: .95rem;
  padding: 2rem 0;
  text-align: center;
}

/* ── Review Form ──────────────────────────────────── */
.review-form-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-top: 1rem;
}
.review-form-wrap h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--eu-blue);
  margin-bottom: 1.25rem;
}
.review-form-rating {
  margin-bottom: 1rem;
}
.review-form-rating label,
.review-form-comment label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
  margin-bottom: .4rem;
}
.star-input {
  display: flex;
  align-items: center;
  gap: .15rem;
}
.star-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: #D1D5DB;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color .1s, transform .1s;
}
.star-btn:hover { transform: scale(1.15); }
.star-btn.active { color: #F59E0B; }
.star-input-label {
  font-size: .85rem;
  color: var(--text-muted);
  margin-left: .75rem;
  font-weight: 500;
}
.review-form-comment {
  margin-bottom: 1rem;
}
.review-form textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .95rem;
  color: var(--text);
  background: var(--bg);
  resize: vertical;
  transition: border-color var(--transition);
}
.review-form textarea:focus {
  outline: none;
  border-color: var(--eu-blue-light);
  box-shadow: 0 0 0 3px rgba(0,85,164,.1);
}
.review-form-submit {
  display: flex;
  gap: .5rem;
}

/* ── Removed Banner ────────────────────────────────── */
.removed-banner {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-left: 4px solid #DC2626;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin-bottom: 1.5rem;
  color: #991B1B;
  align-items: flex-start;
}
.removed-banner svg { flex-shrink: 0; margin-top: 2px; color: #DC2626; }
.removed-banner strong { display: block; margin-bottom: .25rem; }
.removed-banner span { font-size: .85rem; display: block; margin-bottom: .25rem; }
.removed-banner p { font-size: .85rem; margin-top: .35rem; color: #7F1D1D; }
.removed-banner a { color: #991B1B; text-decoration: underline; }
.removed-banner a:hover { color: #450A0A; }

.badge-removed {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
}
.badge-active {
  background: #D1FAE5;
  color: #065F46;
}

/* ── Hero Update Date ─────────────────────────────── */
.hero-update-date {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  margin-top: .5rem;
}
.hero-update-date strong { color: #fff; }

/* ── Update Entity Sections (homepage) ────────────── */
.updates-section { padding: 2rem 0; }
.update-entity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: .75rem;
}
.update-entity-card {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: .85rem 1rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  color: var(--text);
  position: relative;
}
.update-entity-card:hover { border-color: var(--eu-blue-light); box-shadow: var(--shadow); transform: translateY(-1px); }
.update-card-added { border-left: 3px solid #10B981; }
.update-card-removed { border-left: 3px solid #EF4444; }
.update-entity-name { font-weight: 600; font-size: .9rem; color: var(--eu-blue); }
.update-entity-meta { display: flex; align-items: center; gap: .5rem; }
.update-entity-country { font-size: .8rem; color: var(--text-muted); }
.update-entity-badge-removed {
  position: absolute;
  top: .5rem;
  right: .5rem;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  padding: .1rem .4rem;
  background: #FEE2E2;
  color: #991B1B;
  border-radius: 50px;
}
.update-view-all {
  text-align: center;
  margin-top: 1.25rem;
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 768px) {
  .header-inner { height: 54px; }
  .logo-sub { display: none; }
  .hero { padding: 2.5rem 0 2rem; }
  .filter-row { flex-direction: column; }
  .entity-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .results-table { font-size: .8rem; }
  .results-table th, .results-table td { padding: .5rem .6rem; }
}
