.cbc-euro-hub-page {
  --euro-blue: #3157a5;
  --euro-blue-dark: #20366f;
  --euro-blue-soft: #dfe7f8;
  --euro-coral: #d9574d;
  --euro-yellow: #f2cd67;
  --euro-mist: #e9efed;
  --guide-ink: #172321;
  --guide-ink-soft: #34433f;
  --guide-muted: #64716d;
  --guide-paper: #f4f6f2;
  --guide-surface: #fffefa;
  --guide-line: #c8d2ce;
  --guide-line-strong: #8b9994;
  --country-accent: var(--euro-blue);
  --country-accent-dark: var(--euro-blue-dark);
  --country-accent-soft: var(--euro-blue-soft);
  --gold: var(--euro-yellow);
  background: var(--guide-paper);
  color: var(--guide-ink);
}

.cbc-euro-hub-page :focus-visible {
  outline: 3px solid color-mix(in srgb, var(--euro-blue) 72%, white);
  outline-offset: 3px;
}

.cbc-euro-hub-page :where(a, button) {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(49, 87, 165, 0.14);
}

.cbc-euro-hub-page :where(h1, h2, h3) {
  color: var(--guide-ink);
  text-wrap: balance;
}

.cbc-euro-hub-page :where(p) {
  text-wrap: pretty;
}

.euro-hub-section-inner,
.euro-hub-hero-inner {
  width: min(calc(100% - 48px), 1280px);
  margin-inline: auto;
}

.cbc-euro-hub-page .site-masthead,
.euro-guide-page.cbc-country-article-page .site-masthead {
  border-bottom-color: var(--guide-line);
  background: rgba(244, 246, 242, 0.96);
}

/* Hero: one integrated travel scene, rather than a text column beside a card. */
.euro-hub-hero {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  overflow: hidden;
  border-bottom: 1px solid var(--guide-line);
  background: var(--guide-surface);
}

.euro-hub-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 254, 250, 0.99) 0 35%, rgba(255, 254, 250, 0.91) 47%, rgba(255, 254, 250, 0.25) 69%, rgba(255, 254, 250, 0.04) 100%),
    linear-gradient(0deg, rgba(23, 35, 33, 0.08), transparent 32%);
  content: "";
}

.euro-hub-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% center;
}

.euro-hub-hero-inner {
  position: relative;
  display: grid;
  min-height: 650px;
  padding-block: 56px 62px;
  align-items: center;
}

.euro-hub-hero-copy {
  width: min(100%, 690px);
}

.euro-hub-hero .breadcrumb {
  display: flex;
  margin: 0 0 40px;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--guide-muted);
  font-size: 0.76rem;
  font-weight: 680;
}

.euro-hub-hero .breadcrumb a {
  color: inherit;
}

.euro-hub-hero .breadcrumb a:hover,
.euro-hub-hero .breadcrumb a:focus-visible {
  color: var(--euro-blue-dark);
}

.cbc-euro-hub-page .eyebrow {
  color: var(--euro-blue-dark);
  letter-spacing: 0;
}

.euro-hub-hero h1 {
  max-width: 700px;
  margin: 12px 0 24px;
  font-family: var(--cbc-font-display, "Arial Black", Arial, sans-serif);
  font-size: clamp(3.8rem, 5.3vw, 5.5rem);
  font-weight: 850;
  line-height: 0.93;
  letter-spacing: 0;
}

.euro-hub-hero-copy > p {
  max-width: 610px;
  margin: 0;
  color: var(--guide-ink-soft);
  font-size: 1.22rem;
  line-height: 1.58;
}

.euro-hub-actions {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 11px;
}

.euro-hub-actions :where(.primary-button, .secondary-button),
.euro-depth-inner .secondary-button {
  min-height: 50px;
  border-width: 1px;
  border-radius: 6px;
  box-shadow: none;
}

.euro-hub-actions .primary-button {
  --cbc-button-bg: var(--euro-blue);
  --cbc-button-border: var(--euro-blue-dark);
  --cbc-button-hover: var(--euro-blue-dark);
  background: var(--euro-blue);
  color: #fff;
}

.euro-hub-stamp {
  position: absolute;
  right: 2px;
  bottom: 30px;
  display: grid;
  width: 116px;
  aspect-ratio: 1;
  border: 2px solid var(--euro-blue-dark);
  border-radius: 50%;
  place-content: center;
  background: rgba(255, 246, 201, 0.94);
  box-shadow: 0 10px 26px rgba(32, 54, 111, 0.18);
  color: var(--euro-blue-dark);
  font-size: 0.62rem;
  font-weight: 820;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-5deg);
}

.euro-hub-stamp strong {
  font-family: var(--cbc-font-display, "Arial Black", Arial, sans-serif);
  font-size: 1.85rem;
  line-height: 1;
}

.euro-hub-stats {
  display: grid;
  border-bottom: 1px solid var(--guide-line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #edf1ee;
}

.euro-hub-stats span {
  display: grid;
  min-height: 88px;
  padding: 16px 22px;
  place-content: center;
  color: var(--guide-ink-soft);
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1.25;
  text-align: center;
}

.euro-hub-stats span + span {
  border-left: 1px solid var(--guide-line);
}

.euro-hub-stats strong {
  margin-bottom: 4px;
  color: var(--euro-blue-dark);
  font-family: var(--cbc-font-display, "Arial Black", Arial, sans-serif);
  font-size: 1.58rem;
  line-height: 1;
}

.euro-border-notes,
.euro-destinations,
.euro-depth-band {
  padding-block: clamp(4rem, 7vw, 6.5rem);
}

.euro-border-notes {
  background: var(--guide-surface);
}

.euro-border-heading,
.euro-destination-heading {
  display: grid;
  margin-bottom: 38px;
  align-items: end;
  gap: 30px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.euro-border-heading h2,
.euro-destination-heading h2,
.euro-depth-inner h2 {
  max-width: 18ch;
  margin: 9px 0 0;
  font-family: var(--cbc-font-display, "Arial Black", Arial, sans-serif);
  font-size: clamp(2.5rem, 4.4vw, 4.4rem);
  font-weight: 830;
  line-height: 0.98;
  letter-spacing: 0;
}

.euro-border-grid {
  display: grid;
  border-block: 1px solid var(--guide-line-strong);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.euro-border-grid article {
  padding: 28px 25px 31px;
}

.euro-border-grid article + article {
  border-left: 1px solid var(--guide-line);
}

.euro-border-grid > article > span {
  display: inline-grid;
  min-width: 46px;
  min-height: 30px;
  padding: 5px 8px;
  border: 1px solid var(--guide-line-strong);
  border-radius: 4px;
  place-items: center;
  background: var(--euro-blue-soft);
  color: var(--euro-blue-dark);
  font-size: 0.58rem;
  font-weight: 820;
}

.euro-border-grid article:nth-child(2) > span {
  background: #e2efeb;
}

.euro-border-grid article:nth-child(3) > span {
  background: #fff0bd;
}

.euro-border-grid article:nth-child(4) > span {
  background: #f4e5e2;
}

.euro-border-grid h3 {
  margin: 20px 0 9px;
  font-size: 1.05rem;
  line-height: 1.2;
}

.euro-border-grid p {
  margin: 0;
  color: var(--guide-muted);
  font-size: 0.86rem;
  line-height: 1.58;
}

.euro-destinations {
  border-block: 1px solid var(--guide-line);
  background: var(--euro-mist);
}

.euro-destination-heading > p {
  max-width: 540px;
  margin: 0;
  color: var(--guide-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.euro-hub-filters {
  display: flex;
  margin: 0 0 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.euro-hub-filters button {
  display: inline-flex;
  min-height: 44px;
  padding: 8px 12px 8px 14px;
  border: 1px solid var(--guide-line-strong);
  border-radius: 6px;
  align-items: center;
  background: var(--guide-surface);
  color: var(--guide-ink-soft);
  font-size: 0.74rem;
  font-weight: 760;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.euro-hub-filters button:hover {
  border-color: var(--euro-blue);
  color: var(--euro-blue-dark);
  transform: translateY(-1px);
}

.euro-hub-filters button:active {
  transform: translateY(0);
}

.euro-hub-filters button.is-active {
  border-color: var(--euro-blue-dark);
  background: var(--euro-blue-dark);
  color: #fff;
}

.euro-hub-filters button span {
  display: inline-grid;
  min-width: 25px;
  margin-left: 7px;
  padding: 2px 5px;
  border-radius: 10px;
  place-items: center;
  background: var(--euro-yellow);
  color: var(--guide-ink);
  font-size: 0.6rem;
}

.euro-hub-result {
  margin: 0 0 24px;
  color: var(--guide-muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.euro-depth-band {
  background: #f7edbf;
}

.euro-depth-inner {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
}

.euro-depth-inner > img {
  width: 100%;
  max-height: 310px;
  border: 1px solid var(--guide-line-strong);
  border-radius: 7px;
  object-fit: cover;
  object-position: center 58%;
  box-shadow: 0 16px 38px rgba(62, 59, 42, 0.14);
}

.euro-depth-inner p {
  max-width: 650px;
  margin: 18px 0 26px;
  color: #4f5047;
  font-size: 1.02rem;
  line-height: 1.62;
}

@media (max-width: 980px) {
  .euro-hub-hero::before {
    background: linear-gradient(90deg, rgba(255, 254, 250, 0.98) 0 46%, rgba(255, 254, 250, 0.72) 72%, rgba(255, 254, 250, 0.15) 100%);
  }

  .euro-hub-hero-copy {
    width: min(100%, 610px);
  }

  .euro-hub-stamp {
    right: 12px;
  }

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

  .euro-border-grid article:nth-child(3) {
    border-left: 0;
  }

  .euro-border-grid article:nth-child(n + 3) {
    border-top: 1px solid var(--guide-line);
  }
}

@media (max-width: 720px) {
  .cbc-euro-hub-page .masthead-inner {
    width: min(calc(100% - 28px), 1280px);
    min-height: 70px;
    gap: 10px;
  }

  .cbc-euro-hub-page .cash-logo {
    width: 148px;
  }

  .cbc-euro-hub-page .masthead-brand {
    gap: 8px;
  }

  .cbc-euro-hub-page .masthead-brand .country-destination-logo.is-mini {
    width: 49px;
    padding-left: 8px;
  }

  .cbc-euro-hub-page .masthead-brand .country-logo-copy {
    display: none;
  }

  .cbc-euro-hub-page .site-nav a:not(.tool-link) {
    display: none;
  }

  .cbc-euro-hub-page .site-nav .tool-link {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 0.72rem;
  }

  .euro-hub-section-inner,
  .euro-hub-hero-inner {
    width: min(calc(100% - 28px), 1280px);
  }

  .euro-hub-hero,
  .euro-hub-hero-inner {
    min-height: 690px;
  }

  .euro-hub-hero::before {
    background:
      linear-gradient(180deg, rgba(255, 254, 250, 0.98) 0 55%, rgba(255, 254, 250, 0.8) 68%, rgba(255, 254, 250, 0.18) 100%),
      linear-gradient(0deg, rgba(32, 54, 111, 0.12), transparent 42%);
  }

  .euro-hub-hero-image {
    object-position: 63% center;
  }

  .euro-hub-hero-inner {
    padding-block: 32px 230px;
    align-items: start;
  }

  .euro-hub-hero .breadcrumb {
    margin-bottom: 28px;
  }

  .euro-hub-hero h1 {
    font-size: clamp(3rem, 13vw, 4rem);
  }

  .euro-hub-hero-copy > p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .euro-hub-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .euro-hub-actions :where(.primary-button, .secondary-button) {
    width: 100%;
  }

  .euro-hub-stamp {
    right: 10px;
    bottom: 18px;
    width: 88px;
  }

  .euro-hub-stats span {
    min-height: 78px;
    padding: 12px 7px;
    font-size: 0.61rem;
  }

  .euro-hub-stats strong {
    font-size: 1.3rem;
  }

  .euro-border-notes,
  .euro-destinations,
  .euro-depth-band {
    padding-block: 58px;
  }

  .euro-border-heading,
  .euro-destination-heading,
  .euro-depth-inner {
    grid-template-columns: 1fr;
  }

  .euro-border-grid {
    grid-template-columns: 1fr;
  }

  .euro-border-grid article + article,
  .euro-border-grid article:nth-child(3) {
    border-top: 1px solid var(--guide-line);
    border-left: 0;
  }

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

  .euro-hub-filters button {
    justify-content: space-between;
  }

  .euro-depth-inner > img {
    max-height: 240px;
  }
}

@media (max-width: 430px) {
  .euro-hub-hero,
  .euro-hub-hero-inner {
    min-height: 710px;
  }

  .euro-hub-hero-inner {
    padding-bottom: 220px;
  }

  .euro-hub-hero h1 {
    font-size: clamp(2.75rem, 13vw, 3.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .euro-hub-filters button {
    transition: none;
  }
}
