.guide-topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(248, 252, 250, 0.82);
  backdrop-filter: blur(10px);
}

.guide-topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.country-hero {
  padding: 1.8rem 0 1.2rem;
}

.country-hub-hero {
  padding: 1.8rem 0 1rem;
}

.country-hub-copy {
  background: rgba(248, 252, 250, 0.94);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 2rem;
}

.country-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 1.1rem;
  align-items: stretch;
}

.country-hero-copy,
.country-hero-panel,
.country-copy-block,
.table-shell,
.country-hub-card,
.related-country {
  background: rgba(248, 252, 250, 0.94);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.country-hero-copy {
  padding: 2rem;
}

.country-hero-copy h1 {
  max-width: 12.5ch;
}

.country-intro {
  margin: 1rem 0 0;
  color: var(--muted);
}

.country-hero-panel {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(18, 59, 61, 0.96) 0%, rgba(28, 96, 90, 0.95) 100%);
  color: #f7fbfa;
}

.country-hero-panel article {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem 1rem 1.05rem;
}

.country-hero-panel strong,
.country-hero-panel span {
  display: block;
}

.country-hero-panel strong {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.country-hero-panel span {
  color: rgba(247, 251, 250, 0.84);
}

.country-table-section,
.country-content-section,
.country-hub-list,
.country-cta {
  padding: 1.1rem 0;
}

.table-shell {
  overflow: auto;
  padding: 0.4rem;
}

.country-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.country-table th,
.country-table td {
  padding: 0.9rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.country-table thead th {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.country-table tbody tr:last-child td {
  border-bottom: 0;
}

.country-table a {
  color: var(--brand);
  font-weight: 600;
}

.country-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.country-hub-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 1rem;
  text-align: center;
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.country-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.country-copy-block {
  padding: 1.25rem;
}

.country-copy-block h2 {
  margin: 0.1rem 0 0.75rem;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.country-copy-block p {
  margin: 0.58rem 0;
  color: var(--muted);
}

.check-list {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.check-list li + li {
  margin-top: 0.45rem;
}

.related-country {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 1rem;
  text-align: center;
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.related-country:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 157, 138, 0.3);
}

.country-cta-shell {
  background: linear-gradient(135deg, rgba(18, 59, 61, 0.97) 0%, rgba(24, 96, 90, 0.95) 100%);
  color: #f7fbfa;
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.country-cta-shell h2 {
  margin: 0.12rem 0 0.65rem;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.country-cta-shell p {
  margin: 0 0 1rem;
  color: rgba(247, 251, 250, 0.84);
  max-width: 62ch;
}

.guide-footer {
  padding: 1.2rem 0 2rem;
}

.guide-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.guide-footer-grid h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.guide-footer-links {
  display: grid;
  gap: 0.45rem;
}

.guide-footer-links .related-country {
  min-height: auto;
  justify-content: flex-start;
  text-align: left;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  font-weight: 500;
}

.guide-footer-links .related-country:hover {
  transform: none;
  border-color: transparent;
}

@media (max-width: 980px) {
  .country-hero-grid,
  .country-content-grid,
  .country-hub-grid,
  .guide-footer-grid {
    grid-template-columns: 1fr;
  }
}
