/* Shared presentation for generated country pages; the homepage is unaffected. */
.country-page main > .section { padding-block: 64px; }
.country-page .hero { padding-block: 48px; }
.country-page .hero > .wrap { position: relative; z-index: 1; }
.country-page .hero::before, .country-page .hero::after { pointer-events: none; }
.country-page main h1, .country-page main h2, .country-page main h3,
.country-page main p, .country-page main li { overflow-wrap: anywhere; }
.country-page main h2 { margin-bottom: 20px; }
.country-page main p { max-width: 72ch; }
.country-page main .btn { max-width: 100%; white-space: normal; text-align: center; }
.country-page .hero ul {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  margin: 20px 0; padding: 0; list-style: none;
}
.country-page .hero li { display: flex; align-items: baseline; gap: 8px; }
.country-page .hero li::before { content:"";display:inline-block;width:1em;height:1em;background:currentColor;mask:url("icons/check.svg") center/contain no-repeat;-webkit-mask:url("icons/check.svg") center/contain no-repeat; color: var(--green); }
.country-page .hero .actions { margin: 24px 0 0; }
.country-page #transport-berekenen { scroll-margin-top: 100px; }
.country-page #transport-berekenen iframe { display: block; width: 100%; border: 0; }
.country-page .country-overview ul {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px; max-width: 850px; margin: 20px 0 0; padding: 0; list-style: none;
}
.country-page .country-overview li {
  padding: 16px 20px; border: 1px solid var(--line);
  border-radius: var(--r-sm); background: var(--mist);
}
.country-page .country-services { background: var(--mist); }
.country-page .country-service-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
}
.country-page .country-service-grid article {
  min-width: 0; padding: 28px; border: 1px solid var(--line);
  border-radius: var(--r); background: #fff;
}
.country-page .country-service-grid h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.country-page .country-service-grid p { margin-bottom: 0; }
.country-page .country-faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.country-page .country-faq summary {
  display: grid; grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center; gap: 16px; list-style: none;
  font-weight: 750; line-height: 1.45; cursor: pointer;
}
.country-page .country-faq summary::-webkit-details-marker { display: none; }
.country-page .country-faq summary::after {
  display: grid; width: 28px; height: 28px; place-items: center;
  border-radius: 50%; background: var(--mint); color: var(--green);
  content: '+'; font-size: 1.25rem; line-height: 1;
}
.country-page .country-faq details[open] summary::after { content: '−'; }
.country-page .country-faq details p { margin: 12px 0 0; padding-right: 44px; }
.country-page .country-final-cta { background: var(--mint); }
.country-page .footer { padding-block: 28px; }
.country-page .footer > .wrap { width: min(1200px, 100%); }
.country-page .footer p { max-width: none; margin: 0; }

/* The original calculator keeps its scripts and cards, with only its frame layout adapted. */
html.country-calculator { scroll-behavior: auto; }
.country-calculator body > .header,
.country-calculator body > .footer,
.country-calculator main > :not(#calculator) { display: none !important; }
.country-calculator #calculator { padding: 0; background: transparent; }
.country-calculator #calculator::before { display: none; }
.country-calculator #calculator > .wrap { width: 100% !important; max-width: none; padding: 0 !important; }
.country-calculator #calculator > .wrap > .eyebrow,
.country-calculator #calculator > .wrap > h2 { display: none; }
.country-calculator .booking { margin: 0; box-shadow: none; }
.country-calculator .cookie-consent,
.country-calculator .cookie-consent__manage {
  position: relative; inset: auto; max-width: 100%; margin: 20px 0 0;
}
.country-calculator .cookie-consent { width: 100%; }
.country-calculator .cookie-modal {
  position: relative; inset: auto; padding: 16px 0; margin-top: 16px;
  scroll-margin-top: 100px;
}
.country-calculator .cookie-modal__panel { max-height: none; }
.country-calculator .btn { max-width: 100%; white-space: normal; text-align: center; }

@media (max-width: 720px) {
  /* A filtered ancestor otherwise clips the fixed mobile menu to the header's height. */
  .country-page .header.menu-open { backdrop-filter: none; }
  .country-page .header.menu-open .nav { width: auto; margin: 0; }
  .country-page main > .section { padding-block: 36px !important; }
  .country-page .hero { padding-block: 32px !important; }
  .country-page .hero h1 { font-size: clamp(2rem, 8vw, 2.35rem) !important; line-height: 1.15 !important; }
  .country-page main h2 { font-size: clamp(1.5rem, 6.4vw, 1.85rem) !important; line-height: 1.2 !important; }
  .country-page .hero ul { gap: 6px 18px; font-size: .94rem; }
  .country-page .country-service-grid, .country-page .country-overview ul { grid-template-columns: minmax(0, 1fr); }
  .country-page .country-service-grid { gap: 16px; }
  .country-page .country-service-grid article { padding: 20px; }
  .country-page .country-overview li { padding: 12px 16px; }
  .country-page .country-faq details p { padding-right: 0; }
  .country-page .country-final-cta .btn { width: 100%; }
  .country-calculator .booking { padding: 20px 16px !important; }
  .country-calculator .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 20px; padding-bottom: 16px;
  }
  .country-calculator .steps span { padding: 8px 0; line-height: 1.35; }
}
@media (min-width: 601px) and (max-width: 720px) {
  .country-calculator #vehicles .choice {
    display: flex; flex-direction: column; align-items: center;
    padding: 16px !important; text-align: center;
  }
  .country-calculator #vehicles .vehicle-photo {
    position: static; width: 120px; max-width: 100%;
    height: 64px !important; margin: 0 0 10px !important;
  }
}
@media (max-width: 360px) {
  /* Remove the illustration's 105px minimum only where it squeezes the text column. */
  .country-calculator .booking #vehicles .choice {
    grid-template-columns: minmax(0, 34%) minmax(0, 1fr) !important;
    gap: 12px !important; padding: 14px 12px !important;
  }
}
