[data-country-master] { overflow-wrap: anywhere; }
[data-country-master] :is(h1,h2,h3,p) { max-width: 70ch; }
[data-country-master] [hidden] { display: none !important; }
.country-pilot-navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  width: var(--country-width);
  margin: .75rem auto;
}
[data-country-master] a:focus-visible { outline: 2px solid white; outline-offset: 3px; }
[data-country-master] :is(.brand-grid,.model-grid,.value-grid,.faq-grid,.signal-bar,.dest-grid) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
  gap: 14px;
}
[data-country-master] :is(.brand-card,.model-card,.value-card,.signal-card,.dest-card,.cta,details) {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
[data-country-master] :is(.brand-card,.model-card):hover { border-color: var(--red); }
[data-country-master] :is(.brand-card,.model-card,.value-card) :is(h3,p) { margin: 0 0 8px; }
[data-country-master] details + details { margin-top: 7px; }
[data-country-master] summary { cursor: pointer; }
[data-country-master] :is(.country,.country-line) img { max-width: 76px; }
[data-country-master] [data-country-section="related_guides_and_markets"] {
  width: min(1240px, 92vw);
  margin: 30px auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-top-color: var(--red);
  border-radius: 12px;
}
.country-global {
  width: min(1240px, 92vw);
  margin: 42px auto;
  padding: clamp(18px, 4vw, 44px);
  border: 1px solid #4a4a4a;
  border-top: 3px solid var(--red);
  border-radius: 14px;
  background: linear-gradient(135deg, #252525, #111 70%);
}
.country-global-masthead { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.country-global h2 { margin: 0; font-size: clamp(34px, 6vw, 64px); line-height: 1; letter-spacing: -.06em; }
.country-global h2 span { color: #ff555c; }
.country-global-edition { color: #ddd; border-bottom: 1px solid #555; padding-bottom: 12px; }
.country-global-stories { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr)); gap: 16px; }
.country-global-story { min-width: 0; border-top: 1px solid var(--red); padding: 14px; background: #151515; border-radius: 8px; }
.country-global-story h3 { margin: 10px 0 4px; }
.country-global-story h3 a { text-decoration: underline; text-decoration-color: #ff555c; text-underline-offset: .2em; }
.country-global-story p { margin: 0; color: #ddd; }
.country-global-story figure { margin: 0; }
.country-global-story img { width: 100%; height: auto; max-height: 360px; object-fit: contain; background: #090909; }
.country-global-story figcaption { font-size: 12px; color: #ddd; margin-top: 5px; }
[data-country-master] :is(.trust-card,.find-panel,.port-card,.process-card) {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
[data-country-master] .find-panel { border-top: 2px solid var(--red); }
[data-country-master] :is(.port-grid,.logistics-grid,.locations-grid) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr));
  gap: 14px;
}
[data-country-master] :is(.hero,.hero-copy,.hero-media) { min-width: 0; }
[data-country-master] :is(.hero-note,.notice) { margin-top: 14px; }
[data-country-master] :is(.interest-tags,.tag-list,.chip-row) { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 640px) {
  [data-country-master] .hero { min-height: 0; }
  [data-country-master] .hero-media { min-height: 0; aspect-ratio: 4 / 3; }
  [data-country-master] .hero-copy { padding: 34px 4vw; }
  [data-country-master] .hero h1 { font-size: clamp(32px, 11vw, 48px); }
  [data-country-master] .btn { max-width: 100%; }
}
.country-model-search,.country-popular-models {
  padding: clamp(16px, 4vw, 30px);
  margin: 26px auto;
  border: 1px solid #4a4a4a;
  border-top: 2px solid var(--red);
  border-radius: 12px;
  background: var(--panel);
}
.country-model-search h2,.country-popular-models h2 { margin: 0 0 12px; }
.country-model-search form > div { display: flex; gap: 8px; margin-top: 6px; }
.country-model-search input[type="search"] {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 8px 12px;
  background: #080808;
  border: 1px solid #777;
  border-radius: 8px;
  color: #fff;
  font: inherit;
}
.country-model-search > a { text-decoration: underline; }
.country-model-links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.country-model-links a { display: block; padding: 8px 12px; border: 1px solid #777; border-radius: 999px; }
.country-model-links a:hover { border-color: var(--red); }

/* Keep the country hero and the content below it on the same page grid. */
[data-country-master] {
  --red: #ed1c24;
  --panel: #171717;
  --line: #414141;
  --country-width: min(1320px, calc(100% - 48px));
  color: #fff;
}
[data-country-master] .wrap { width: var(--country-width); }
[data-country-master] > .section { padding: clamp(21px, 3.4vw, 46px) 0; }
[data-country-master] .section-head { margin-bottom: 18px; }
[data-country-master] .section-head h2 { font-size: clamp(25px, 3vw, 42px); line-height: 1.09; margin: 5px 0 8px; }
[data-country-master] .section-head p { font-size: clamp(15px, 1.5vw, 17px); color: #d0d0d0; }
[data-country-master] .country-fact-source,
[data-country-master] .country-facts-gallery figcaption a { text-decoration: underline; text-underline-offset: .16em; }
[data-country-master] .country-fact-source { font-size: .8rem; color: #ddd; }
[data-country-master] .country-tour-source { text-decoration: underline; text-underline-offset: .16em; }
[data-country-master] .value-grid.country-tour-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
[data-country-master] .country-facts-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 12px;
  margin: 0 0 16px;
}
[data-country-master] .country-facts-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #141414;
}
[data-country-master] .country-facts-gallery img { width: 100%; aspect-ratio: 16 / 9; max-height: 175px; object-fit: cover; }
[data-country-master] .country-facts-gallery figcaption { padding: 8px 12px; color: #ccc; font-size: .8rem; }
[data-country-master] .country-facts-gallery figcaption strong { display: block; color: #fff; font-size: .95rem; }
[data-country-master] > .hero {
  width: var(--country-width);
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  border-radius: 14px;
  background: #090909;
}
[data-country-master] > .hero:not(:has(.hero-media)) { grid-template-columns: minmax(0, 1fr); }
[data-country-master] > .hero > .hero-copy,
[data-country-master] > .hero > .wrap { width: auto; min-height: 0; margin: 0; padding: clamp(22px, 3.5vw, 48px); }
[data-country-master] .hero-content { width: 100%; }
[data-country-master] .hero .country-line { margin-bottom: 12px; }
[data-country-master] .hero h1 { margin: 7px 0 12px; font-size: clamp(32px, 4.3vw, 66px); line-height: .99; }
[data-country-master] .hero p { margin: 0; font-size: clamp(15px, 1.6vw, 19px); }
[data-country-master] .hero .btn-row { margin-top: 16px; gap: 8px; }
[data-country-master] .hero .hero-media {
  position: relative;
  display: block;
  min-height: clamp(300px, 32vw, 470px);
  aspect-ratio: auto;
  overflow: hidden;
}
[data-country-master] .hero .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 1;
}
[data-country-master] .hero .hero-media img[data-missing-hero] { object-fit: contain; padding: 28px; }
[data-country-master] .btn { min-height: 43px; padding: 9px 16px; font-size: 14px; color: #fff; }
[data-country-master] .btn-primary { background: var(--red); border-color: var(--red); }
[data-country-master] :is(.brand-grid,.model-grid,.process-grid,.port-grid,.value-grid,.trust-grid) {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr));
  gap: 12px;
}
[data-country-master] :is(.brand-card,.model-card,.process-card,.port-card,.value-card,.trust-card,.cta,.find-panel) { padding: 16px; }
[data-country-master] :is(.brand-card,.model-card,.process-card,.port-card,.value-card,.trust-card) p { color: #d0d0d0; }
[data-country-master] :is(.area-list,.port-list,.tag-list,.chip-row) { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
[data-country-master] :is(.area-list,.tag-list,.chip-row) > :is(span,a) { padding: 3px 8px; border: 1px solid #565656; border-radius: 999px; font-size: .85rem; }
[data-country-master] .faq details { padding: 10px 14px; }
[data-country-master] :is(.country-model-search,.country-popular-models,.country-global,[data-country-section="related_guides_and_markets"]) {
  width: var(--country-width);
  margin: 16px auto;
  padding: clamp(16px, 2.2vw, 30px);
}
[data-country-master] .country-global { background: #171717; }
[data-country-master] .country-global h2 { font-size: clamp(31px, 4vw, 53px); }
[data-country-master] .country-global h2 span { color: var(--red); }
[data-country-master] .country-global-story:only-child { max-width: 730px; }
[data-country-master] .country-global-story img { max-height: 285px; }
[data-country-master] .country-footer-ads {
  width: var(--country-width);
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(8px,1.5vw,20px);
  margin: 24px auto 32px;
}
.country-footer-ads figure { margin: 0; min-width: 0; }
.country-footer-ads a { display: block; overflow: hidden; aspect-ratio: 1; border-radius: 12px; background: #171717; }
.country-footer-ads a:hover,.country-footer-ads a:focus-visible { outline: 2px solid #ed1c24; outline-offset: 2px; }
.country-footer-ads img { display: block; width: 100%; height: 100%; object-fit: cover; }
.country-footer-ads figcaption { color: #c4c4c4; text-align: center; margin-top: 5px; font-size: 12px; }
@media (max-width: 720px) {
  [data-country-master] { --country-width: calc(100% - 24px); }
  [data-country-master] > .hero { grid-template-columns: 1fr; margin-top: 12px; }
  [data-country-master] .hero .hero-media { min-height: 0; aspect-ratio: 16 / 9; }
  [data-country-master] .hero .hero-copy { padding: 21px; }
  [data-country-master] .hero h1 { font-size: clamp(32px, 8.5vw, 49px); }
}
@media (max-width: 480px) {
  [data-country-master] .country-footer-ads { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  [data-country-master] .hero .country-flag { width: 54px; height: 34px; }
  [data-country-master] .hero .country-line strong { font-size: 20px; }
  [data-country-master] .hero .btn-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  [data-country-master] .hero .btn-row .btn { padding-inline: 7px; font-size: 12px; text-align: center; }
  [data-country-master] .hero .btn-row .btn:first-child { grid-column: 1 / -1; }
}

.country-directories { width: var(--country-width); margin: 16px auto; display: grid; gap: 14px; }
.country-directory-panel { min-width: 0; padding: clamp(16px,2.2vw,28px); border: 1px solid var(--line); border-top-color: var(--red); border-radius: 12px; background: var(--panel); }
.country-directory-panel h2 { margin: 0 0 12px; font-size: clamp(21px,2vw,28px); }
.country-directory-panel h3 { margin: 14px 0 6px; font-size: 17px; }
.country-pills { display: flex; gap: 7px; flex-wrap: wrap; }
.country-pills + .country-pills { margin-top: 10px; }
.country-pills a { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 12px; border: 1px solid var(--red); border-radius: 999px; background: #242424; color: #fff; font-size: .875rem; font-weight: 700; }
.country-pills a:hover { background: #363636; }
.country-region-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,210px),1fr)); gap: 9px; margin-top: 12px; align-items: start; }
[data-country-master] .country-region-grid details { margin: 0; padding: 9px 12px; background: #101010; }
.country-region-grid .country-pills { margin-top: 9px; }
[data-country-master] .trust-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
@media (max-width: 780px) { [data-country-master] .trust-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 480px) { [data-country-master] .trust-grid { grid-template-columns: 1fr; } }

/* Research, stock and FAQs use the same compact panels as the country directories. */
[data-country-master] > :is([data-country-section="model_guides"],[data-country-section="available_stock"],[data-country-section="faq"]) {
  width: var(--country-width);
  margin: 16px auto;
  padding: clamp(16px,2vw,26px);
  border: 1px solid var(--line);
  border-top-color: var(--red);
  border-radius: 12px;
  background: var(--panel);
}
[data-country-master] > :is([data-country-section="model_guides"],[data-country-section="available_stock"],[data-country-section="faq"]) > .wrap { width: 100%; }
[data-country-master] :is([data-country-section="model_guides"],[data-country-section="available_stock"],[data-country-section="faq"]) .section-head { margin-bottom: 12px; }
[data-country-master] [data-country-section="model_guides"] .model-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
[data-country-master] [data-country-section="model_guides"] .model-card { background: #101010; padding: 12px; }
[data-country-master] [data-country-section="model_guides"] .model-card h3 { font-size: 16px; }
[data-country-master] [data-country-section="model_guides"] .model-card p { font-size: 14px; }
[data-country-master] [data-country-section="model_guides"] .model-card a { display: inline-block; border: 1px solid var(--red); border-radius: 999px; padding: 4px 10px; font-size: 13px; }
[data-country-master] [data-country-section="available_stock"] .btn-row { margin-top: 12px; }
[data-country-master] [data-country-section="available_stock"] .stock-grid { gap: 10px; }
[data-country-master] [data-country-section="available_stock"] .stock-grid > p { grid-column: 1 / -1; margin: 0 0 8px; }
[data-country-master] [data-country-section="available_stock"] .stock-card { background: #101010; }
[data-country-master] [data-country-section="faq"] .faq { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 10px; align-items: start; }
[data-country-master] [data-country-section="faq"] details { margin: 0; padding: 8px 11px; background: #101010; }
[data-country-master] [data-country-section="faq"] summary { color: #fff; font-size: 14px; }
[data-country-master] [data-country-section="faq"] summary::marker { color: var(--red); }
@media (max-width: 860px) {
  [data-country-master] [data-country-section="model_guides"] .model-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px) {
  [data-country-master] [data-country-section="faq"] .faq { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  [data-country-master] [data-country-section="model_guides"] .model-grid { grid-template-columns: 1fr; }
}

[data-country-master] > :is([data-country-section="buying_services"],[data-country-section="uk_handover"],[data-country-section="destination_planning"]) {
  width: var(--country-width);
  margin: 16px auto;
  padding: clamp(16px,2vw,26px);
  border: 1px solid var(--line);
  border-top-color: var(--red);
  border-radius: 12px;
  background: var(--panel);
}
[data-country-master] [data-country-section="destination_planning"] .wrap { width: 100%; }
[data-country-master] :is(.ab-market-eyebrow,.ab-local-eyebrow) { color: var(--red); font-size: 12px; font-weight: 800; text-transform: uppercase; }
[data-country-master] :is(.ab-market-head,.ab-local-card) p { color: #d0d0d0; margin: 7px 0 12px; }
[data-country-master] .ab-market-head h2 { margin: 6px 0; font-size: clamp(25px,3vw,40px); line-height: 1.1; }
[data-country-master] :is(.ab-link-grid,.local-grid,.market-local-grid) {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,225px),1fr));
  gap: 9px;
}
[data-country-master] .ab-link-card { display: grid; gap: 5px; background: #101010; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
[data-country-master] .ab-link-card:hover { border-color: var(--red); }
[data-country-master] .ab-link-card span { color: #d0d0d0; font-size: 14px; }
[data-country-master] :is(.ab-tags,.local-pills,[data-country-section="manufacturer_heritage"] nav) { display: flex; gap: 7px; flex-wrap: wrap; }
[data-country-master] :is(.ab-tags,.local-pills,[data-country-section="manufacturer_heritage"] nav) a {
  display: inline-flex;
  align-items: center;
  min-height: 33px;
  padding: 4px 11px;
  border: 1px solid var(--red);
  border-radius: 999px;
  background: #242424;
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
}
[data-country-master] [data-country-section="manufacturer_heritage"] { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
[data-country-master] [data-country-section="manufacturer_heritage"] nav > div { display: grid; justify-items: start; gap: 4px; }

/* Shared AnyBike palette and section pinstripe. */
[data-country-master] {
  background: #090909;
  --country-ink: #101010;
}
[data-country-master] > :is(.hero,.section,.country-model-search,.country-popular-models,.country-global),
[data-country-master] .country-directory-panel {
  border-top: 1px solid var(--red);
}
[data-country-master] > .section:not([hidden]) {
  width: var(--country-width);
  margin: 16px auto;
  padding: clamp(16px,2vw,26px);
  border-inline: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
[data-country-master] > .section > .wrap { width: 100%; }
[data-country-master] :is(.trust-card,.brand-card,.model-card,.port-card,.process-card,.value-card,.ab-link-card,.faq details,.country-global-story,.stock-card) {
  background: var(--country-ink);
  border-top: 1px solid var(--red);
}
[data-country-master] :is(.eyebrow,.ab-market-eyebrow,.ab-local-eyebrow,.process-number,.hero h1 span,.country-global h2 span) { color: var(--red); }
[data-country-master] :is(.btn:not(.btn-primary),.country-model-links a,.country-pills a,.ab-tags a,.area-list > span,.tag-list > a) {
  color: #fff;
  background: #242424;
  border-color: var(--red);
}
[data-country-master] :is(button,a,summary):focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
[data-country-master] .country-region-grid summary::marker { color: var(--red); }
[data-country-master] .country-global-stories:has(> .country-global-story:only-child) { grid-template-columns: 1fr; }
[data-country-master] .country-global-story:only-child { max-width: none; }
[data-country-master] .country-global-story:only-child:has(figure) {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,1fr);
  gap: clamp(14px,2vw,30px);
  align-items: center;
}
[data-country-master] .country-global-story:only-child img { max-height: 220px; }
[data-country-master] .country-global-story:only-child h3 { font-size: clamp(18px,2.2vw,29px); }
[data-country-master] .stock-grid:has(> .stock-card:only-child) { display: block; }
[data-country-master] .stock-grid > .stock-card:only-child {
  display: grid;
  grid-template-columns: minmax(100px, 32%) minmax(0,1fr);
  align-items: center;
  max-width: 560px;
}
[data-country-master] .stock-grid > .stock-card:only-child img { width: 100%; height: 105px; object-fit: cover; }
[data-country-master] .stock-grid > .stock-card:only-child h3 { font-size: clamp(14px,1.7vw,20px); }
[data-country-master] .stock-grid > .stock-card:only-child .stock-copy { padding: 12px; }
@media (min-width: 721px) {
  [data-country-master] [data-country-section="available_stock"] > .wrap:has(> .btn-row) {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    column-gap: 16px;
  }
  [data-country-master] [data-country-section="available_stock"] > .wrap > .btn-row { grid-column: 2; grid-row: 1; margin: 0; align-self: start; }
  [data-country-master] [data-country-section="available_stock"] .stock-grid { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  [data-country-master] .country-global-story:only-child:has(figure) { grid-template-columns: 1fr; }
}

[data-country-master] .country-page-jumps { width: var(--country-width); margin: 14px auto; }
[data-country-master] :is(.country-search-results,.country-checklist) { margin: 10px 0; padding: 0; }
[data-country-master] .country-search-summary,
[data-country-master] .country-search-compare {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 14px;
}
[data-country-master] .country-search-summary { justify-content: space-between; }
[data-country-master] .country-search-summary:has([role="status"]:not(:empty)) { margin-top: 12px; }
[data-country-master] .country-search-compare:empty { display: none; }
[data-country-master] .country-search-summary p { margin: 0; font-size: .875rem; }
[data-country-master] .country-search-summary [role="status"] { font-weight: 700; }
[data-country-master] .country-search-compare p { color: #d0d0d0; }
[data-country-master] .country-search-results { list-style: none; display: grid; gap: 8px; }
@media (min-width: 800px) {
  [data-country-master] .country-search-results { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
[data-country-master] .country-search-results li { min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-top-color: var(--red); border-radius: 9px; background: #101010; }
[data-country-master] .country-search-results li:has(input:checked) { border-color: var(--red); background: #211517; }
[data-country-master] .country-search-results h3 { margin: 0 0 7px; font-size: 16px; }
[data-country-master] .country-search-actions { gap: 6px; }
[data-country-master] .country-search-actions :is(a,.country-compare-choice) { min-height: 44px; padding: 6px 10px; font-size: .875rem; }
[data-country-master] .country-compare-choice { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--red); border-radius: 999px; cursor: pointer; }
[data-country-master] .country-compare-choice input { width: 16px; height: 16px; margin: 0; accent-color: var(--red); }
[data-country-master] .country-compare-choice:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }
[data-country-master] .country-compare-choice:has(input:disabled) { opacity: .6; cursor: default; }
[data-country-master] .country-model-search nav { margin-top: 12px; }
[data-country-master] .country-journey-card {
  width: var(--country-width);
  margin: 16px auto;
  padding: clamp(16px,2vw,26px);
  border: 1px solid var(--line);
  border-top-color: var(--red);
  border-radius: 12px;
  background: var(--panel);
}
[data-country-master] .country-journey-card > h2 { margin: 0 0 12px; font-size: clamp(24px,3vw,38px); }
[data-country-master] .country-checklist { padding-left: 20px; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,200px),1fr)); gap: 6px 18px; }
[data-country-master] .country-checklist li::marker { color: var(--red); }
[data-country-master] .country-journey-card > .btn { margin-top: 12px; }
[data-country-master] .country-handover-part { padding: 12px 0; border-top: 1px solid var(--line); }
[data-country-master] .country-handover-part h3 { margin: 0 0 10px; }
[data-country-master] .country-handover-part .section { padding: 0; border: 0; }
[data-country-master] .country-handover-part .wrap { width: 100%; }
[data-country-master] .country-handover-part [data-country-section] + [data-country-section] { margin-top: 14px; }

[data-country-master] [data-country-section="model_guides"] .country-ranked-guide-grid { display: block; }
.country-directory-guides > .country-pills:empty { display: none; }

[data-country-master] > .section:has(.find-panel) .find-panel { border: 0; background: transparent; padding: 0; }
[data-country-master] .find-panel h2 { font-size: clamp(22px,2.3vw,33px); margin: 5px 0 7px; }
[data-country-master] .find-panel p { margin: 0; }
[data-country-master] .find-panel .btn-row { margin: 10px 0 0; }
[data-country-master] .country-ranked-guide-grid .country-model-links { margin: 6px 0 0; }
[data-country-master] .country-ranked-guide-grid + p { margin: 6px 0; }
[data-country-master] .country-handover > h2 { margin-bottom: 8px; }
[data-country-master] .country-handover-part { padding: 8px 0; }
[data-country-master] .country-handover-part :is(.section-head,.ab-market-head) { margin-bottom: 8px; max-width: none; }
[data-country-master] .country-handover-part :is(.section-head,.ab-market-head) h4 { margin: 4px 0 6px; font-size: clamp(18px,1.8vw,25px); line-height: 1.15; }
[data-country-master] .country-handover-part :is(.section-head,.ab-market-head) p { max-width: 100ch; margin: 0 0 7px; }
[data-country-master] .country-handover-part [data-country-section] + [data-country-section] { margin-top: 10px; }
.country-enquiry-checklist > p { margin: 0 0 8px; color: #d0d0d0; }
[data-country-master] .country-enquiry-checklist .country-checklist { list-style: none; padding-left: 0; }
.country-checklist label { display: flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; }
.country-checklist input { accent-color: var(--red); }
.country-enquiry-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
[data-country-master] .country-handover-uk {
  margin-top: 12px;
  padding: clamp(14px,2.2vw,24px);
  border: 1px solid var(--line);
  border-top-color: var(--red);
  border-radius: 10px;
  background: #131313;
}
[data-country-master] .country-handover-uk > h3 { margin: 0 0 8px; font-size: clamp(18px,2vw,25px); }
[data-country-master] .country-delivery-options > h3 { margin: 0 0 10px; font-size: clamp(18px,2vw,25px); }
[data-country-master] .country-delivery-grid { display: grid; gap: 8px; }
@media (min-width: 720px) {
  [data-country-master] .country-delivery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
[data-country-master] .country-delivery-grid > article {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-top-color: var(--red);
  border-radius: 8px;
  background: var(--country-ink);
}
[data-country-master] .country-delivery-grid h4 { margin: 0 0 5px; font-size: 1rem; }
[data-country-master] .country-delivery-grid p { margin: 0; color: #d0d0d0; }
[data-country-master] .country-delivery-quote { display: flex; align-items: start; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
[data-country-master] .country-delivery-quote p { flex: 1 1 18rem; margin: 0; }
[data-country-master] > .country-delivery-options { width: var(--country-width); margin: 16px auto; }
[data-country-master] .country-handover-uk .ab-market-head h4 { font-size: clamp(16px,1.55vw,21px); }
[data-country-master] .country-handover-uk .ab-market-head p { max-width: 85ch; }
[data-country-master] .country-handover-uk > [data-country-section="uk_handover"] + .country-port-directory {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.country-port-directory h4,.country-port-directory h5 { margin: 0 0 6px; }
.country-port-directory h4 { font-size: clamp(16px,1.45vw,20px); }
.country-port-directory h5 { font-size: .9rem; }
.country-port-directory p { margin: 0 0 12px; color: #d0d0d0; }
.country-port-regions { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); gap: 9px; }
@media (min-width: 960px) {
  .country-port-regions { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
.country-port-regions > div { min-width: 0; padding: 10px; border: 1px solid var(--line); border-top-color: var(--red); border-radius: 8px; background: #101010; }
.country-port-directory > a { display: inline-block; margin-top: 10px; text-decoration: underline; text-underline-offset: 3px; font-size: .875rem; }
@media (min-width: 950px) {
  [data-country-master] > .section:has(.country-ranked-guide-grid) > .wrap,
  [data-country-master] .find-panel { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0 18px; align-items: center; }
  [data-country-master] > .section:has(.country-ranked-guide-grid) .section-head { margin: 0; }
  [data-country-master] .find-panel > :not(.btn-row) { grid-column: 1; }
  [data-country-master] .find-panel .btn-row { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
}

[data-country-master] .country-preferences { width: var(--country-width); margin: 12px auto; justify-content: flex-end; align-items: center; gap: 10px; }
[data-country-master] .country-pilot-navigation > .country-pills:first-child { margin-inline-end: auto; }
[data-country-master] .country-pilot-navigation > .country-preferences { width: auto; margin: 0; }
[data-country-master] .country-pilot-navigation > .country-page-jumps { width: auto; margin: 0 auto 0 0; }
.country-preferences label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.country-preferences select { color: white; background: #242424; border: 1px solid #ed1c24; border-radius: 8px; height: 36px; padding: 0 9px; font: inherit; }

[data-country-master] > .country-port-directory {
  width: var(--country-width);
  margin: 16px auto;
  padding: clamp(16px, 2.2vw, 30px);
  border: 1px solid var(--line);
  border-top-color: var(--red);
  border-radius: 12px;
  background: var(--panel);
}
[data-country-master] :is(.market-manufacturer-pills,[data-country-section="related_guides_and_markets"] nav) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 8px 0 12px;
}
[data-country-master] :is(.market-manufacturer-pills,[data-country-section="related_guides_and_markets"] nav) > a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 12px;
  border: 1px solid var(--red);
  border-radius: 999px;
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
}
[data-country-master] :is(.market-manufacturer-pills,[data-country-section="related_guides_and_markets"] nav) > a:hover {
  background: #363636;
}

.country-pilot-navigation a[aria-current="page"] { border-color: var(--red); background: #3c1013; }
.country-stays {
  width: var(--country-width);
  margin: 16px auto;
  padding: clamp(12px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #111;
}
.country-stays p { margin: 0 0 8px; color: #d0d0d0; font-size: .82rem; }
.country-stays h2 { margin: 0 0 8px; }
.country-stays .eg-affiliate-banners { margin-top: 12px; }
.country-stays iframe { display: block; max-width: 100%; border: 0; border-radius: 8px; }
.country-stays .eg-widget iframe { width: 100% !important; }
.country-stays [data-layout="leaderboard"] {
  position: relative;
  aspect-ratio: 728 / 90;
  overflow: hidden;
  border-radius: 8px;
}
.country-stays [data-layout="leaderboard"] iframe {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0 !important;
  width: 728px !important;
  height: 90px !important;
  max-width: none;
  transform: scale(var(--expedia-leaderboard-scale, 1));
  transform-origin: top left;
}

.country-footer-affiliate {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 12px;
  background: #191e37;
}
.country-footer-affiliate::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 2px solid #ed1c24;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
}
@media (hover: hover) {
  .country-footer-affiliate:hover::after { opacity: 1; }
}
.country-footer-affiliate:focus-within::after { opacity: 1; }
.country-footer-affiliate iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 250px;
  border: 0;
  transform: translate(-50%, -50%) scale(var(--affiliate-scale, 1));
}

/* Market pages provide their own database-backed language and currency controls. */
#publicHeader[data-country-header] .public-select-wrap { display: none !important; }

/* Market-master flags are already resolved by the country record. */
[data-country-master] .country-flag { visibility: visible; }

[data-country-master] .hero .market-hero-photo { margin: 0; }
[data-country-master] .hero .market-hero-photo img { object-position: 50% 67%; }
[data-country-master] .hero .market-hero-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 4px 9px;
  color: #fff;
  background: #000c;
  font-size: .72rem;
}
[data-country-master] .hero .market-hero-photo figcaption a { text-decoration: underline; }

[data-country-master] > .hero:has(> .market-hero-photo--scenic) {
  gap: 0;
  padding: 0;
}
[data-country-master] .hero .market-hero-photo--scenic {
  margin: 0;
  padding: 0;
}
[data-country-master] .hero .market-hero-photo--scenic img {
  object-position: 50% 72%;
}

.market-site-footer {
  box-sizing: border-box;
  width: min(1485px, calc(100% - 36px));
  margin: 16px auto 24px;
  padding: 16px 20px;
  border: 1px solid #363636;
  border-top-color: #ed1c24;
  border-radius: 12px;
  background: #111;
  color: #ccc;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  text-align: start;
  font-size: .875rem;
}
.market-site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.market-site-footer a { color: #fff; text-decoration: underline; text-underline-offset: .18em; }
.market-site-footer a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

[data-country-master] .market-legacy-guide { margin-top: 16px; }
[data-country-master] .market-legacy-guide ul { margin-bottom: 0; }
[data-country-master] .market-legacy-guide a { text-decoration: underline; text-underline-offset: .18em; }

[data-country-master] #country-facts .country-fact-gallery {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin-block: 1rem;
}

[data-country-master] #country-facts .country-fact-image {
  max-inline-size: 100%;
  margin: 0;
  text-align: center;
}

[data-country-master] #country-facts .country-fact-image img {
  display: block;
  max-inline-size: 100%;
  height: auto;
  margin-inline: auto;
}
