.euro-guide-page {
  --vermilion: #d9574d;
  --vermilion-dark: #a33434;
  --sky: #dfe7f8;
  --gold: #f2cd67;
  --country-accent: #3157a5;
  --country-accent-dark: #20366f;
  --country-accent-soft: #dfe7f8;
}

.euro-guide-page.cbc-country-article-page .article-hero {
  background: linear-gradient(130deg, #fffefa 0%, #edf1fa 74%, #e3ece9 145%);
}

.euro-guide-page.cbc-country-article-page .article-hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
}

.euro-guide-page.cbc-country-article-page .article-hero h1 {
  max-width: 11ch;
}

.euro-guide-hero-visual {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--guide-line-strong, #8b9994);
  border-radius: var(--guide-radius, 7px);
  background: #e7ecf7;
  box-shadow: var(--guide-shadow-2, 0 12px 30px rgba(23, 35, 33, 0.1));
}

.euro-guide-hero-visual::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: var(--country-accent-dark);
  content: "";
}

.euro-guide-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .euro-guide-hero:hover .euro-guide-hero-visual img {
    transform: scale(1.035);
  }
}

.article-opening {
  font-size: 1.2rem;
  line-height: 1.62;
}

.euro-key-answer {
  background: #fff8d9;
}

.euro-number-strip {
  display: grid;
  margin: 32px 0 48px;
  overflow: hidden;
  border: 1px solid var(--guide-line, #c8d2ce);
  border-radius: var(--guide-radius, 7px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--guide-line, #c8d2ce);
  box-shadow: var(--guide-shadow-1, 0 1px 2px rgba(23, 35, 33, 0.08));
}

.euro-number-strip > div {
  display: grid;
  min-height: 108px;
  padding: 20px 12px;
  place-content: center;
  background: var(--guide-surface, #fffefa);
  text-align: center;
}

.euro-number-strip > div:nth-child(2) {
  background: #f5f1db;
}

.euro-number-strip > div:nth-child(3) {
  background: #edf1fa;
}

.euro-number-strip > div:nth-child(4) {
  background: #e8f0ed;
}

.euro-number-strip strong {
  color: var(--country-accent-dark);
  font-family: var(--cbc-font-display, "Arial Black", Arial, sans-serif);
  font-size: 1.85rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.euro-number-strip span {
  margin-top: 8px;
  color: var(--guide-muted, #64716d);
  font-size: 0.64rem;
  font-weight: 760;
  line-height: 1.25;
  text-transform: uppercase;
}

.euro-country-grid {
  display: grid;
  margin: 24px 0 42px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.euro-country-grid.is-compact {
  margin: 20px 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.euro-country-link {
  display: grid;
  min-width: 0;
  min-height: 82px;
  padding: 11px 13px 11px 11px;
  border: 1px solid var(--guide-line, #c8d2ce);
  border-radius: 6px;
  align-items: center;
  gap: 10px;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  background: var(--guide-surface, #fffefa);
  box-shadow: var(--guide-shadow-1, 0 1px 2px rgba(23, 35, 33, 0.08));
  color: var(--guide-ink, #172321);
  text-decoration: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.euro-country-link:hover,
.euro-country-link:focus-visible {
  border-color: var(--country-accent);
  box-shadow: 0 10px 24px rgba(32, 54, 111, 0.11);
  transform: translateY(-2px);
}

.euro-country-flag {
  display: block;
  width: 50px;
  height: 34px;
  overflow: hidden;
  border: 1px solid rgba(23, 35, 33, 0.34);
  border-radius: 4px;
  background: #fff;
  box-shadow: 2px 3px 0 color-mix(in srgb, var(--country-accent) 22%, transparent);
}

.euro-country-flag img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.euro-country-link > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.euro-country-link strong {
  overflow-wrap: anywhere;
  font-size: 0.84rem;
  line-height: 1.1;
}

.euro-country-link small {
  color: var(--guide-muted, #64716d);
  font-size: 0.62rem;
  line-height: 1.2;
}

.euro-country-link > b {
  color: var(--country-accent-dark);
  font-size: 0.95rem;
}

.euro-news-note,
.euro-not-everywhere {
  display: grid;
  margin: 38px 0 48px;
  padding: 22px;
  border: 1px solid #d8c987;
  border-radius: var(--guide-radius, 7px);
  align-items: center;
  gap: 20px;
  grid-template-columns: 86px minmax(0, 1fr);
  background: #fff8d9;
  box-shadow: var(--guide-shadow-1, 0 1px 2px rgba(23, 35, 33, 0.08));
}

.euro-news-note > span,
.euro-not-everywhere > span {
  display: grid;
  width: 76px;
  aspect-ratio: 1;
  border: 1px solid var(--guide-line-strong, #8b9994);
  border-radius: 50%;
  place-items: center;
  background: var(--guide-surface, #fffefa);
  color: var(--country-accent-dark);
  font-size: 0.62rem;
  font-weight: 820;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.euro-news-note strong {
  font-size: 1.04rem;
}

.euro-news-note p,
.euro-not-everywhere p {
  margin: 6px 0 0;
  color: var(--guide-ink-soft, #34433f);
  font-size: 0.9rem;
  line-height: 1.55;
}

.euro-use-section {
  margin: 30px 0;
  padding: 25px;
  border: 1px solid var(--guide-line, #c8d2ce);
  border-radius: var(--guide-radius, 7px);
  background: #f1f5f3;
}

.euro-use-heading {
  display: grid;
  align-items: start;
  gap: 18px;
  grid-template-columns: 122px minmax(0, 1fr);
}

.euro-use-heading h3,
.euro-use-heading p {
  margin: 0;
}

.euro-use-heading h3 {
  font-size: 1.12rem;
}

.euro-use-heading p {
  margin-top: 6px;
  color: var(--guide-ink-soft, #34433f);
  font-size: 0.9rem;
  line-height: 1.55;
}

.euro-use-badge {
  padding: 8px 9px;
  border: 1px solid #c7ae54;
  border-radius: 4px;
  background: #fff1bd;
  color: #5b4a13;
  font-size: 0.61rem;
  font-weight: 820;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.euro-use-badge.is-de-facto {
  border-color: #c8a8a3;
  background: #f6e4e1;
  color: #713b37;
}

.euro-territory-note {
  margin: 32px 0 44px;
  padding: 18px 20px;
  border-left: 4px solid var(--country-accent);
  background: #eef3f8;
  color: var(--guide-ink-soft, #34433f);
  font-size: 0.92rem;
  line-height: 1.62;
}

.euro-not-everywhere {
  border-color: #bdc9df;
  background: #f1f4fb;
}

.euro-not-everywhere h2,
.euro-not-everywhere p {
  margin: 0;
}

.euro-not-everywhere h2 {
  font-family: var(--cbc-font-display, "Arial Black", Arial, sans-serif);
  font-size: 1.55rem;
}

.euro-money-explorer {
  margin: 42px 0 52px;
  padding: 26px;
  border: 1px solid var(--guide-line, #c8d2ce);
  border-radius: var(--guide-radius, 7px);
  background: #eef3f1;
  box-shadow: var(--guide-shadow-1, 0 1px 2px rgba(23, 35, 33, 0.08));
}

.euro-history {
  position: relative;
  display: grid;
  margin: 28px 0 46px;
}

.euro-history::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 48px;
  width: 1px;
  background: var(--guide-line-strong, #8b9994);
  content: "";
}

.euro-history > div {
  position: relative;
  display: grid;
  min-height: 86px;
  padding: 15px 12px 15px 76px;
  align-items: center;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
}

.euro-history > div::before {
  position: absolute;
  top: 50%;
  left: 42px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--country-accent-dark);
  border-radius: 50%;
  background: var(--gold);
  content: "";
  transform: translateY(-50%);
}

.euro-history > div:nth-child(even) {
  background: rgba(232, 240, 237, 0.65);
}

.euro-history strong {
  color: var(--country-accent-dark);
  font-family: var(--cbc-font-display, "Arial Black", Arial, sans-serif);
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
}

.euro-history span {
  color: var(--guide-ink-soft, #34433f);
  font-size: 0.9rem;
  line-height: 1.5;
}

.euro-travel-points {
  display: grid;
  margin: 28px 0 46px;
  overflow: hidden;
  border: 1px solid var(--guide-line, #c8d2ce);
  border-radius: var(--guide-radius, 7px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--guide-line, #c8d2ce);
  gap: 1px;
}

.euro-travel-points section {
  display: grid;
  min-height: 172px;
  padding: 22px;
  align-content: start;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 5px 14px;
  background: var(--guide-surface, #fffefa);
}

.euro-travel-points section > span {
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid #c7ae54;
  border-radius: 50%;
  place-items: center;
  background: #fff1bd;
  color: var(--country-accent-dark);
  font-family: var(--cbc-font-display, "Arial Black", Arial, sans-serif);
  grid-row: 1 / span 2;
}

.euro-travel-points h3,
.euro-travel-points p {
  margin: 0;
}

.euro-travel-points h3 {
  font-size: 1rem;
}

.euro-travel-points p {
  margin-top: 5px;
  color: var(--guide-ink-soft, #34433f);
  font-size: 0.84rem;
  line-height: 1.55;
}

.euro-faq {
  display: grid;
  margin-bottom: 30px;
  gap: 9px;
}

.euro-faq details {
  border: 1px solid var(--guide-line, #c8d2ce);
  border-radius: 6px;
  background: var(--guide-surface, #fffefa);
}

.euro-faq summary {
  padding: 15px 17px;
  cursor: pointer;
  font-weight: 760;
}

.euro-faq details p {
  margin: 0;
  padding: 0 17px 17px;
}

.euro-page-nav {
  display: grid;
  gap: 0;
}

.euro-page-nav a {
  padding-block: 8px;
  border-top: 1px solid rgba(139, 153, 148, 0.45);
  color: var(--country-accent-dark);
  font-size: 0.8rem;
  font-weight: 680;
}

.euro-page-nav a:first-child {
  border-top: 0;
}

.euro-aside-stamp {
  display: grid;
  justify-items: start;
  background: #fff8d9;
  text-align: left;
}

.euro-aside-stamp > span {
  color: var(--country-accent-dark);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.euro-aside-stamp > strong {
  margin: 5px 0;
  color: var(--country-accent-dark);
  font-family: var(--cbc-font-display, "Arial Black", Arial, sans-serif);
  font-size: 1.8rem;
}

.euro-aside-stamp > small {
  color: var(--guide-muted, #64716d);
  line-height: 1.45;
}

@media (max-width: 980px) {
  .euro-guide-page.cbc-country-article-page .article-hero-inner {
    grid-template-columns: 1fr;
  }

  .euro-guide-hero-visual {
    width: min(100%, 480px);
  }

  .euro-country-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .euro-guide-page.cbc-country-article-page .article-hero h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .euro-number-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .euro-country-grid,
  .euro-country-grid.is-compact,
  .euro-use-heading,
  .euro-news-note,
  .euro-not-everywhere,
  .euro-travel-points {
    grid-template-columns: 1fr;
  }

  .euro-news-note > span,
  .euro-not-everywhere > span {
    width: 64px;
  }

  .euro-use-badge {
    width: fit-content;
  }

  .euro-money-explorer {
    margin-inline: -4px;
    padding: 20px 12px;
  }

  .euro-history::before {
    left: 18px;
  }

  .euro-history > div {
    padding-left: 44px;
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .euro-history > div::before {
    left: 12px;
  }

  .euro-travel-points section {
    min-height: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .euro-country-link,
  .euro-guide-hero-visual img {
    transition: none;
  }
}
