.eo-destination-spread {
  --eo-rule: #c8ceb6;
  box-sizing: border-box;
  display: grid;
  align-items: center;
  padding-block: clamp(22px, 3.4vh, 44px);
  background: var(--eo-paper);
  overflow-anchor: none;
}
.eo-destination-frame {
  display: grid;
  grid-template-columns: minmax(0, 1.23fr) minmax(0, 1fr);
  grid-template-areas: "heading tools" "photo brief" "review review";
  column-gap: clamp(32px, 4.15vw, 80px);
  row-gap: clamp(19px, 2.9vh, 36px);
  align-items: center;
}
.eo-destination-heading { grid-area: heading; }
.eo-destination-heading h2, .eo-note-title, .eo-review-heading h3, .eo-place-name, .eo-tool-title {
  margin: 0;
  color: inherit;
  font-family: var(--eo-display);
  font-weight: 470;
  letter-spacing: -.042em;
  text-transform: none;
}
.eo-destination-heading h2 { font-size: clamp(44px, 4.8vw, 87px); line-height: 1; }
.eo-destination-heading p {
  max-width: 65ch;
  margin: clamp(8px, 1.15vh, 14px) 0 0;
  color: var(--eo-action);
  font: 400 clamp(16px, 1.03vw, 20px)/1.43 var(--eo-face);
  text-wrap: pretty;
}
.eo-destination-tools {
  grid-area: tools;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: clamp(7px, .65vw, 12px);
  border-radius: 10px;
  background: var(--eo-action);
}
.eo-destination-tools a {
  position: relative;
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: clamp(85px, 9.8vh, 112px);
  padding: 10px clamp(18px, 1.55vw, 30px);
  border-radius: 5px;
  color: var(--eo-paper);
  text-decoration: none;
}
.eo-destination-tools a + a::before {
  position: absolute;
  inset: 13% auto 13% 0;
  width: 1px;
  background: rgb(226 230 186 / 36%);
  content: "";
}
.eo-tool-title { padding-right: 17px; font-size: clamp(21px, 1.65vw, 32px); line-height: 1.08; }
.eo-tool-detail { max-width: 28ch; color: var(--eo-celery); font: 400 clamp(13px, .89vw, 17px)/1.32 var(--eo-face); }
.eo-tool-arrow { position: absolute; right: clamp(8px, .85vw, 16px); top: 11px; color: var(--eo-celery); font: 500 18px/1 var(--eo-face); }
.eo-destination-tools a:is(:hover, :focus-visible) { background: rgb(250 250 236 / 9%); color: var(--eo-paper); }

.eo-place-feature {
  grid-area: photo;
  position: relative;
  min-width: 0;
  --eo-picture-inset: clamp(20px, 1.85vw, 36px);
  --eo-country-arrow-size: clamp(44px, 3.1vw, 58px);
  --eo-country-arrow-gap: clamp(8px, .6vw, 12px);
}
.eo-place-swiper {
  height: clamp(292px, 46vh, 535px);
  isolation: isolate;
  overflow: hidden;
  border-radius: clamp(10px, 1vw, 18px);
  background: var(--eo-action);
}
.eo-place-slide {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  height: 100%;
  margin: 0;
  padding: var(--eo-picture-inset);
  overflow: hidden;
  color: var(--eo-paper);
  background: var(--eo-action);
}
.eo-place-slide img, .eo-place-slide::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.eo-place-slide img { z-index: -2; object-fit: cover; object-position: 51% 49%; }
.eo-place-slide::after {
  z-index: -1;
  content: "";
  background: linear-gradient(to top, rgb(18 26 18 / 87%), rgb(22 30 23 / 45%) 23%, transparent 60%);
}
.eo-place-slide > .eo-flag-rect {
  position: absolute;
  --flag-size: clamp(27px, 2.16vw, 41px);
  top: var(--eo-picture-inset);
  left: var(--eo-picture-inset);
  outline: 1px solid rgb(250 250 236 / 82%);
  box-shadow: 0 2px 8px rgb(22 30 23 / 26%);
}
.eo-place-caption {
  min-width: 0;
  max-width: calc(100% - var(--eo-country-arrow-size) * 2 - var(--eo-country-arrow-gap) - 14px);
}
.eo-place-name { display: block; color: var(--eo-paper); font-size: clamp(41px, 4.1vw, 77px); line-height: 1.01; }
.eo-place-location {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: .8em;
  row-gap: 3px;
  margin-top: .55em;
  color: #ecefd8;
  font: 400 clamp(14px, .99vw, 19px)/1.28 var(--eo-face);
}
.eo-place-location strong { color: var(--eo-paper); font-weight: 650; }
.eo-place-scene { padding-inline-start: .8em; border-inline-start: 1px solid rgb(250 250 236 / 53%); }
.eo-place-slide img[hidden], .eo-place-scene[hidden], .eo-country-controls[hidden] { display: none; }
.eo-country-controls {
  position: absolute;
  z-index: 3;
  bottom: var(--eo-picture-inset);
  right: var(--eo-picture-inset);
  display: flex;
  gap: var(--eo-country-arrow-gap);
}
.eo-country-controls button {
  --key-active: 0;
  --direction: 1;
  display: grid;
  place-items: center;
  width: var(--eo-country-arrow-size);
  height: var(--eo-country-arrow-size);
  padding: 0;
  border: 1px solid rgb(250 250 236 / 90%);
  border-radius: 50%;
  background: var(--eo-paper);
  color: var(--eo-action);
  box-shadow: 0 2px 10px rgb(24 32 22 / 20%);
  cursor: pointer;
  touch-action: manipulation;
}
.eo-country-controls .eo-prev { --direction: -1; }
.eo-country-controls button:is(:hover, :focus-visible, :active) {
  --key-active: 1;
  background: var(--eo-action);
  color: var(--eo-paper);
}

.eo-study-brief { grid-area: brief; min-width: 0; }
.eo-study-notes { display: grid; }
.eo-country-note { grid-area: 1 / 1; align-self: start; min-width: 0; }
.eo-country-note[aria-hidden="true"] { visibility: hidden; pointer-events: none; }
.eo-note-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 clamp(7px, .85vh, 12px);
  color: var(--eo-action);
  font: 650 clamp(11px, .76vw, 14px)/1.25 var(--eo-face);
  letter-spacing: .105em;
  text-transform: uppercase;
}
.eo-note-status::before { width: 25px; border-top: 2px solid var(--eo-accent); content: ""; }
/* The imported template gives its universal H3 size priority over component styles. */
.eo-note-title { font-size: clamp(31px, 2.92vw, 56px) !important; line-height: 1.045; text-wrap: balance; }
.eo-note-copy {
  max-width: 58ch;
  margin: clamp(8px, 1.2vh, 15px) 0 0;
  color: var(--eo-ink);
  font: 400 clamp(16px, 1.04vw, 20px)/1.46 var(--eo-face);
  text-wrap: pretty;
}
.eo-note-preparation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(13px, 1.5vw, 29px);
  margin: clamp(14px, 2vh, 24px) 0 0;
  padding-top: clamp(11px, 1.45vh, 17px);
  border-top: 1px solid var(--eo-rule);
}
.eo-note-preparation dt, .eo-note-preparation dd { font: 400 clamp(14px, .93vw, 18px)/1.36 var(--eo-face); }
.eo-note-preparation dt { margin: 0 0 3px; font-weight: 650; color: var(--eo-action); }
.eo-note-preparation dd { margin: 0; text-wrap: pretty; }
.eo-route-action { margin-top: clamp(13px, 2vh, 23px); }
.eo-place-arrow { display: grid; place-items: center; }

.eo-review-desk {
  grid-area: review;
  display: grid;
  grid-template-columns: minmax(0, .73fr) minmax(0, 1.22fr) minmax(0, 1.18fr);
  align-items: center;
  column-gap: clamp(16px, 2.1vw, 40px);
  padding: clamp(14px, 2vh, 24px) clamp(18px, 2vw, 37px);
  border: 1px solid #cbd2ad;
  border-radius: 9px;
  background: #e9edcf;
}
.eo-review-heading { display: flex; flex-wrap: wrap; gap: 4px 9px; align-items: center; }
.eo-review-heading h3 { font-size: clamp(22px, 1.8vw, 34px) !important; line-height: 1.06; }
.eo-review-count {
  display: inline-grid;
  place-items: center;
  padding: .18em .48em;
  border: 1px solid #a3ad83;
  border-radius: 4px;
  color: var(--eo-action);
  font: 650 14px/1.2 var(--eo-face);
}
.eo-destination-spread .eo-review-flags {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  align-items: flex-start;
  margin: 0;
}
.eo-review-flags :is(a, button) {
  display: inline-flex;
  min-height: 44px;
  min-width: 44px;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 4px 2px;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--eo-ink);
  font: 500 clamp(12px, .8vw, 15px)/1.16 var(--eo-face);
  text-decoration: none;
  cursor: pointer;
}
.eo-review-flags .eo-flag { --flag-size: clamp(24px, 1.6vw, 31px); }
.eo-review-flags :is(a, button):is(:hover, :focus-visible, [aria-pressed="true"]) .eo-flag { outline: 2px solid var(--eo-action); outline-offset: 2px; }
.eo-review-flags [aria-pressed="true"] { font-weight: 670; }
.eo-review-enquiry { padding-left: clamp(16px, 2vw, 38px); border-left: 1px solid #b7c19e; }
.eo-review-enquiry a, .eo-other-guides a {
  color: var(--eo-action);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .17em;
}
.eo-review-enquiry a { font-size: clamp(15px, 1vw, 19px); }
.eo-review-enquiry a span { display: inline-block; font-size: .88em; text-decoration: none; }
.eo-review-enquiry p, .eo-other-guides { margin: 3px 0 0; color: var(--eo-ink); font: 400 clamp(14px, .9vw, 17px)/1.36 var(--eo-face); }
.eo-destination-spread :is(a, button):focus-visible, .eo-place-swiper:focus-visible { outline: 2px solid var(--eo-action); outline-offset: 3px; }
.eo-destination-tools a:focus-visible, .eo-country-controls button:focus-visible { outline: 2px solid var(--eo-paper); outline-offset: 2px; }
.eo-destination-spread:focus { outline: none; }
@media (min-width: 1101px) {
  .eo-student-home #destination-overview {
    scroll-margin-top: var(--eo-pinned-height);
    min-height: calc(100vh - var(--eo-pinned-height));
    min-height: calc(100svh - var(--eo-pinned-height));
  }
  html:has(#destination-overview:target) { overflow-anchor: none; }
}
/* A wide, shallow desktop window has room for two columns but less space for display type. */
@media (min-width: 1101px) and (min-aspect-ratio: 21/10) and (max-height: 825px) {
  .eo-destination-spread { padding-block: 18px; }
  .eo-destination-frame { row-gap: 17px; }
  .eo-destination-heading h2 { font-size: clamp(46px, 8.3vh, 67px); }
  .eo-destination-heading p { max-width: 76ch; margin-top: 7px; font-size: 16px; }
  .eo-destination-tools { padding: 7px; }
  .eo-destination-tools a { min-height: 70px; }
  .eo-tool-title { font-size: 26px; }
  .eo-tool-detail, .eo-review-enquiry p { font-size: 14px; }
  .eo-note-title { font-size: clamp(31px, 5.1vh, 41px) !important; }
  .eo-note-copy { font-size: 17px; }
  .eo-note-preparation dt, .eo-note-preparation dd { font-size: 15px; }
}
@media (max-width: 1100px) {
  .eo-destination-frame { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); column-gap: 26px; }
  .eo-review-desk { grid-template-columns: minmax(0, .67fr) minmax(0, 1.2fr); row-gap: 9px; }
  .eo-review-enquiry { grid-column: 1 / -1; padding: 9px 0 0; border-left: 0; border-top: 1px solid #b7c19e; }
}
@media (max-width: 840px) {
  .eo-destination-frame { grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "tools" "photo" "brief" "review"; row-gap: 22px; }
  .eo-destination-tools a { min-height: 70px; }
  .eo-place-swiper { width: 100%; height: auto; min-height: 240px; aspect-ratio: 1.7; }
  .eo-place-swiper .swiper-wrapper { position: absolute; inset: 0; }
}
@media (max-width: 600px) {
  .eo-review-desk { grid-template-columns: minmax(0, 1fr); }
  .eo-review-flags { flex-wrap: wrap; }
  .eo-destination-tools a { padding: 10px 12px; gap: 4px; }
  .eo-tool-title { padding-right: 12px; font-size: 21px; }
  .eo-tool-arrow { top: 8px; right: 5px; font-size: 14px; }
  .eo-place-feature { --eo-picture-inset: 15px; }
  .eo-place-name { font-size: clamp(28px, 7.5vw, 42px); }
  .eo-place-location { flex-direction: column; gap: 1px; font-size: 13px; }
  .eo-place-scene { padding: 0; border: 0; }
}
@media (max-width: 375px) {
  .eo-note-preparation { grid-template-columns: 1fr; row-gap: 8px; }
  .eo-destination-spread .eo-review-flags { display: grid; grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .eo-country-note.eo-note-enter { animation: eo-brief-enter .35s cubic-bezier(.2,.74,.25,1) both; }
  .eo-country-controls button, .eo-destination-tools a { transition: color .22s ease, background-color .22s ease; }
  .eo-tool-arrow { transition: transform .25s var(--eo-ease-out); }
  .eo-destination-tools a:is(:hover, :focus-visible) .eo-tool-arrow { transform: translate(2px,-2px); }
  .eo-place-arrow > span { transform: translate(var(--eo-place-x, 0px), var(--eo-place-y, 0px)); transition: transform .18s ease-out; }
  .eo-route-action:focus-visible .eo-place-arrow > span { transform: translate(2px,-2px); }
}
@keyframes eo-brief-enter { from { opacity: .15; transform: translateY(4px); } to { opacity: 1; transform: none; } }
