/*
 THE LOWER HALF OF A DESTINATION PAGE (owner, 18 Oct 2026, evening — the "Lower Pages Pack")
 ==========================================================================================
 Every rule here is scoped to [data-destination-lower] — the module apps/api/src/redesign/lower.ts draws below the
 store — so nothing above it (the hero, the store, its cards and controls) can move. No global h2, button, img, body
 or root variable is touched. Matched to the pack's references: 01 (the alternatives), 02 (Know your connection,
 Unlimited explained, Ready before you travel, the questions, Need help choosing?) and 03 (a regional and a global
 bundle: its countries as chips, the networks by destination). The pack's values: content up to ~1200px, cream
 #F6F4EC, forest #073D31, sage #EAF0EA, orange #B65332, pale peach #F5DFD1; sections ~64px apart on a desktop and
 ~40px on a phone; headings ~36/28px; cards with 16px corners, a subtle border and no large shadow, two equal columns
 24px apart on a desktop, one column on a phone; card artwork in a ~2:1 crop.
*/
[data-destination-lower] {
  --rdl-cream: #F6F4EC;
  --rdl-card: #FBFAF5;
  --rdl-forest: #073D31;
  --rdl-ink: #0B2E27;
  --rdl-sage: #EAF0EA;
  --rdl-sage-panel: #EEF2EB;
  --rdl-orange: #B65332;
  --rdl-peach: #F5DFD1;
  --rdl-white: #FFFFFF;
  --rdl-line: rgba(7, 61, 49, 0.13);
  --rdl-line-strong: rgba(7, 61, 49, 0.28);
  --rdl-muted: #52665F;
  --rdl-r: 16px;
  --rdl-gap: 24px;
  --rdl-space: 64px;
  max-width: 1200px;
  margin-inline: auto;
  color: var(--rdl-ink);
  font-size: 16.5px;
  line-height: 1.55;
}
@media (max-width: 760px) { [data-destination-lower] { --rdl-space: 40px; font-size: 16px; } }
[data-destination-lower] [hidden] { display: none !important; }
[data-destination-lower] .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[data-destination-lower] p { max-width: none; }

/* Section rhythm and headings. A ruled section opens with a thin line, as in reference 02. */
[data-destination-lower] .rdl-section,
[data-destination-lower] > .rd-section { margin: var(--rdl-space) 0 0; }
[data-destination-lower] .rdl-ruled { padding-top: calc(var(--rdl-space) * 0.75); margin-top: calc(var(--rdl-space) * 0.75) !important; border-top: 1px solid var(--rdl-line); }
[data-destination-lower] .rdl-section > h2,
[data-destination-lower] > .rd-section h2 {
  margin: 0 0 8px; font-size: clamp(28px, calc(3 * var(--rd-vw)), 36px); line-height: 1.15; letter-spacing: -0.02em; color: var(--rdl-forest);
  overflow-wrap: break-word;
}
[data-destination-lower] .rdl-lede { margin: 0 0 24px; max-width: 720px; font-size: 18px; color: var(--rdl-muted); }
[data-destination-lower] .rdl-fine { margin: 16px 0 0; font-size: 14px; color: var(--rdl-muted); }
[data-destination-lower] h3 { color: var(--rdl-forest); }
[data-destination-lower] .rdl-link-btn {
  appearance: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--rdl-forest); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
[data-destination-lower] .rdl-link-btn:hover { text-decoration-thickness: 2px; }

/* ------------------------------------------------------------------ A. the alternatives (reference 01) */
[data-destination-lower] .rdl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--rdl-gap); align-items: start; }
@media (max-width: 760px) { [data-destination-lower] .rdl-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
[data-destination-lower] .rdl-card {
  min-width: 0; display: flex; flex-direction: column; overflow: hidden; margin: 0; padding: 0;
  background: var(--rdl-card); border: 1px solid var(--rdl-line); border-radius: var(--rdl-r);
}
[data-destination-lower] .rdl-card:focus { outline: none; }
[data-destination-lower] .rdl-card:focus-visible { outline: 3px solid var(--rdl-orange); outline-offset: 2px; }
[data-destination-lower] .rdl-art { aspect-ratio: 2 / 1; overflow: hidden; background: var(--rdl-sage); }
[data-destination-lower] .rdl-art img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; border-radius: 0; object-fit: cover; object-position: 50% 55%; }
[data-destination-lower] .rdl-body { display: flex; flex-direction: column; gap: 6px; padding: 22px 26px 26px; flex: 1; min-width: 0; }
[data-destination-lower] .rdl-name { margin: 0; font-size: clamp(22px, calc(2.2 * var(--rd-vw)), 27px); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; overflow-wrap: anywhere; }
[data-destination-lower] .rdl-cover { margin: 0; font-size: 16px; color: var(--rdl-muted); overflow-wrap: anywhere; }
[data-destination-lower] .rdl-offer { margin: 4px 0 0; font-size: 17.5px; color: var(--rdl-muted); }
[data-destination-lower] .rdl-offer strong { font-size: 23px; font-weight: 800; color: var(--rdl-ink); letter-spacing: -0.01em; }
[data-destination-lower] .rdl-offer-speed { display: block; font-size: 14px; color: var(--rdl-muted); }
[data-destination-lower] .rdl-countries-btn {
  appearance: none; align-self: flex-start; min-height: 44px; margin: 0; padding: 6px 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 16.5px; font-weight: 500; color: var(--rdl-forest);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
[data-destination-lower] .rdl-countries-btn:hover { text-decoration-thickness: 2px; }
[data-destination-lower] .rdl-countries-btn span { display: inline-block; margin-inline-start: 4px; transition: transform 180ms ease; }
[data-destination-lower] .rdl-countries-btn[aria-expanded="true"] span { transform: rotate(90deg); }
[data-destination-lower] .rdl-countries { margin: 0 0 8px; padding-top: 12px; border-top: 1px solid var(--rdl-line); }
[data-destination-lower] .rdl-countries-for { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--rdl-muted); }
[data-destination-lower] .rdl-countries .rd-search { min-height: 46px; box-shadow: none; }
[data-destination-lower] .rdl-countries .rd-country-list { margin-top: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
[data-destination-lower] .rdl-view {
  align-self: stretch; margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 10px 18px;
  border: 1.5px solid var(--rdl-forest); border-radius: 10px; background: transparent;
  color: var(--rdl-forest); font-weight: 700; font-size: 17px; text-align: center; text-decoration: none; overflow-wrap: anywhere;
}
[data-destination-lower] .rdl-view:hover { background: var(--rdl-sage); }
/* Two at first while the script runs; without it every card shows (and the buttons are not drawn). */
[data-destination-lower][data-rdl-js] .rdl-extra:not(.rdl-shown) { display: none; }
[data-destination-lower]:not([data-rdl-js]) .rdl-more-row { display: none; }
[data-destination-lower] .rdl-card.rdl-shown { animation: rdl-in 200ms ease-out; }
@keyframes rdl-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
[data-destination-lower] .rdl-more-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 22px; }
[data-destination-lower] .rdl-more, [data-destination-lower] .rdl-fewer {
  appearance: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 4px; cursor: pointer; border: 0; background: none;
  font: inherit; font-size: 17px; font-weight: 500; color: var(--rdl-forest); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
[data-destination-lower] .rdl-more:hover, [data-destination-lower] .rdl-fewer:hover { text-decoration-thickness: 2px; }
[data-destination-lower] .rdl-more-n { font-weight: 500; color: var(--rdl-muted); text-decoration: none; }
[data-destination-lower] .rdl-alts > .rdl-fine { text-align: center; margin-top: 10px; }

/* ------------------------------------------------------------------ B. a bundle's countries (reference 03) */
[data-destination-lower] .rdl-covers.rdl-panel { padding: 28px 30px 24px; background: var(--rdl-sage-panel); border: 1px solid var(--rdl-line); border-radius: var(--rdl-r); }
@media (max-width: 760px) { [data-destination-lower] .rdl-covers.rdl-panel { padding: 22px 18px 18px; } }
[data-destination-lower] .rdl-covers .rdl-lede { font-size: 16px; margin-bottom: 18px; }
[data-destination-lower] .rdl-covers .rd-search { max-width: 640px; min-height: 52px; box-shadow: none; }
[data-destination-lower] .rdl-chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
[data-destination-lower] .rdl-chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 20px; border-radius: 999px;
  background: var(--rdl-sage); border: 1px solid rgba(7, 61, 49, 0.10); color: var(--rdl-ink); font-size: 16px; text-decoration: none;
}
[data-destination-lower] .rdl-panel .rdl-chip { background: #E3EAE2; }
[data-destination-lower] .rdl-chip:hover { border-color: var(--rdl-forest); }
[data-destination-lower][data-rdl-js] .rdl-chips:not([data-open]) .rdl-chip-more { display: none; }
[data-destination-lower] .rdl-covers .rd-filter-none { margin: 12px 0 0; }
[data-destination-lower] .rdl-covers .rdl-link-btn { margin-top: 10px; }
[data-destination-lower]:not([data-rdl-js]) [data-rdl-all] { display: none; }

/* ------------------------------------------------------------------ C. know your connection (reference 02) */
[data-destination-lower] .rdl-for { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 18px; font-size: 17px; color: var(--rdl-ink); }
[data-destination-lower] .rdl-for > span { color: var(--rdl-muted); }
[data-destination-lower] .rdl-for strong { color: var(--rdl-ink); font-weight: 600; }
[data-destination-lower] .rdl-conn-card {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch;
  background: var(--rdl-sage-panel); border: 1px solid var(--rdl-line); border-radius: var(--rdl-r); overflow: hidden;
}
[data-destination-lower] .rdl-conn-rows { min-width: 0; padding: 8px 28px 22px; }
[data-destination-lower] .rdl-conn-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--rdl-line); }
[data-destination-lower] .rdl-conn-row:last-of-type { border-bottom: 0; }
[data-destination-lower] .rdl-conn-ico { width: 40px; height: 40px; display: grid; place-items: center; color: var(--rdl-forest); }
[data-destination-lower] .rdl-conn-ico svg { width: 32px; height: 32px; stroke-width: 1.6; }
[data-destination-lower] .rdl-conn-row h3 { margin: 0 0 4px; font-size: 19px; line-height: 1.3; }
[data-destination-lower] .rdl-conn-v p { margin: 0; font-size: 16px; color: var(--rdl-muted); overflow-wrap: anywhere; }
[data-destination-lower] .rdl-conn-rows > .rdl-fine { margin: 6px 0 0; font-size: 13.5px; }
[data-destination-lower] .rdl-maps { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px !important; }
[data-destination-lower] .rdl-maps a { font-size: 15.5px; }
[data-destination-lower] .rdl-conn-art { display: flex; align-items: center; justify-content: center; padding: 24px; border-inline-start: 1px solid var(--rdl-line); }
[data-destination-lower] .rdl-conn-art img { display: block; width: 100%; max-width: 440px; height: auto; margin: 0; border-radius: 12px; }
@media (max-width: 900px) {
  [data-destination-lower] .rdl-conn-card { grid-template-columns: minmax(0, 1fr); }
  [data-destination-lower] .rdl-conn-rows { padding: 4px 18px 16px; }
  [data-destination-lower] .rdl-conn-art { border-inline-start: 0; border-top: 1px solid var(--rdl-line); padding: 18px; }
  [data-destination-lower] .rdl-conn-art img { max-width: 320px; }
}
/* A bundle's country picker (reference 03): one wide field, a hint, the networks of the country chosen. */
[data-destination-lower] .rdl-net-pick { margin: 6px 0 28px; max-width: 640px; }
[data-destination-lower] .rdl-net-pick label { display: block; }
[data-destination-lower] .rdl-net-pick select {
  width: 100%; min-height: 54px; padding: 0 16px; border: 1px solid var(--rdl-line-strong); border-radius: 12px;
  background: var(--rdl-white); color: var(--rdl-ink); font: inherit; font-size: 17px;
}
[data-destination-lower] .rdl-hint { margin: 10px 0 0; font-size: 15.5px; color: var(--rdl-muted); }
[data-destination-lower] .rdl-net-pick .rdl-net-list { margin: 10px 0 0; font-size: 16.5px; font-weight: 600; color: var(--rdl-ink); }
[data-destination-lower] .rdl-net-pick .rdl-net-list:empty { display: none; }

/* ------------------------------------------------------------------ D. the plan explained (reference 02) */
[data-destination-lower] .rdl-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
[data-destination-lower] .rdl-col { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; align-items: start; min-width: 0; padding-inline-end: 40px; }
[data-destination-lower] .rdl-col + .rdl-col { padding-inline: 40px 0; border-inline-start: 1px solid var(--rdl-line); }
@media (max-width: 760px) {
  [data-destination-lower] .rdl-cols { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  [data-destination-lower] .rdl-col, [data-destination-lower] .rdl-col + .rdl-col { padding-inline: 0; border-inline-start: 0; }
  [data-destination-lower] .rdl-col + .rdl-col { padding-top: 24px; border-top: 1px solid var(--rdl-line); }
}
[data-destination-lower] .rdl-col-ico { width: 48px; height: 48px; display: grid; place-items: center; color: var(--rdl-forest); }
[data-destination-lower] .rdl-col-ico svg { width: 40px; height: 40px; }
[data-destination-lower] .rdl-col h3 { margin: 0 0 6px; font-size: 20px; line-height: 1.3; }
[data-destination-lower] .rdl-col p { margin: 0 0 6px; color: var(--rdl-muted); }
[data-destination-lower] .rdl-ip { font-weight: 700; color: var(--rdl-forest) !important; }
[data-destination-lower] .rdl-back { margin: 22px 0 0; }
[data-destination-lower] a[href="#plans"] { scroll-margin-top: 90px; }

/* ------------------------------------------------------------------ E. ready before you travel (reference 02) */
[data-destination-lower] .rdl-steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 64px; counter-reset: none; }
[data-destination-lower] .rdl-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
[data-destination-lower] .rdl-step + .rdl-step::before {
  content: "→"; position: absolute; inset-inline-start: -46px; top: 54px; font-size: 26px; line-height: 1; color: var(--rdl-forest);
}
[dir="rtl"] [data-destination-lower] .rdl-step + .rdl-step::before { content: "←"; }
[data-destination-lower] .rdl-step-art { position: relative; display: block; width: 128px; height: 116px; margin-bottom: 12px; }
[data-destination-lower] .rdl-step-ico {
  position: absolute; inset-inline-start: 22px; top: 6px; width: 100px; height: 100px; border-radius: 50%;
  display: grid; place-items: center; background: var(--rdl-sage); color: var(--rdl-forest);
}
[data-destination-lower] .rdl-step-ico svg { width: 52px; height: 52px; stroke-width: 1.5; }
[data-destination-lower] .rdl-num {
  position: absolute; inset-inline-start: 0; top: 0; z-index: 1; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: #DDE7DA; color: var(--rdl-forest); font-size: 17px; font-weight: 800; line-height: 1;
}
[data-destination-lower] .rdl-step h3 { margin: 0 0 6px; font-size: 20px; line-height: 1.3; }
[data-destination-lower] .rdl-step p { margin: 0; font-size: 16px; color: var(--rdl-muted); }
[data-destination-lower] .rdl-step .rd-text-link { margin-top: 10px; }
[data-destination-lower] .rdl-guides { margin: 26px 0 0; }
@media (max-width: 760px) {
  [data-destination-lower] .rdl-steps { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  [data-destination-lower] .rdl-step + .rdl-step::before { content: "↓"; inset-inline-start: 50%; top: -38px; transform: translateX(-50%); font-size: 20px; }
  [dir="rtl"] [data-destination-lower] .rdl-step + .rdl-step::before { content: "↓"; transform: translateX(50%); }
}

/* ------------------------------------------------------------------ F. questions and help (reference 02) */
[data-destination-lower] .rd-faq .rd-faq-list { display: grid; gap: 8px; background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
[data-destination-lower] .rd-faq details { border: 1px solid var(--rdl-line); border-radius: 10px; background: var(--rdl-card); overflow: hidden; }
[data-destination-lower] .rd-faq details:first-child { border-top: 1px solid var(--rdl-line); }
[data-destination-lower] .rd-faq summary { padding: 14px 20px; font-size: 17px; font-weight: 500; color: var(--rdl-ink); }
[data-destination-lower] .rdl-help-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 24px 32px;
  background: var(--rdl-peach); border-radius: var(--rdl-r);
}
[data-destination-lower] .rdl-help-strip > div { flex: 1 1 260px; min-width: 0; }
[data-destination-lower] .rdl-help-strip h2 { margin: 0 0 4px; font-size: 24px; line-height: 1.25; color: var(--rdl-forest); }
[data-destination-lower] .rdl-help-strip p { margin: 0; color: var(--rdl-muted); }
[data-destination-lower] .rdl-help-ico { flex: none; width: 56px; height: 56px; display: grid; place-items: center; color: var(--rdl-orange); }
[data-destination-lower] .rdl-help-ico svg { width: 52px; height: 52px; stroke-width: 1.7; }
[data-destination-lower] .rdl-help-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 38px; border: 1.5px solid var(--rdl-orange); border-radius: 10px;
  color: var(--rdl-orange); font-weight: 700; font-size: 17px; text-decoration: none; background: transparent;
}
[data-destination-lower] .rdl-help-btn:hover { background: rgba(182, 83, 50, 0.08); }
@media (max-width: 760px) { [data-destination-lower] .rdl-help-strip { padding: 20px; } [data-destination-lower] .rdl-help-btn { width: 100%; justify-content: center; } }

/* Right to left: the arrows point the way the page reads. */
[dir="rtl"] [data-destination-lower] .rdl-view span[aria-hidden="true"],
[dir="rtl"] [data-destination-lower] .rdl-help-btn span[aria-hidden="true"],
[dir="rtl"] [data-destination-lower] .rdl-countries-btn span[aria-hidden="true"],
[dir="rtl"] [data-destination-lower] .rdl-link-btn span[aria-hidden="true"] { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] [data-destination-lower] .rdl-countries-btn[aria-expanded="true"] span { transform: rotate(-90deg); }

@media (prefers-reduced-motion: reduce) {
  [data-destination-lower] .rdl-card.rdl-shown { animation: none; }
  [data-destination-lower] .rdl-countries-btn span { transition: none; }
}
