/* Image-led destination pages. Canonical Easycoliv marketplace recipe. */
.ec-visual-guide h1.ec-location-title {
  margin: 0;
  max-width: 24ch;
  color: var(--ec-plum);
  font: 700 var(--ec-text-page, 32px)/1.25 var(--ec-font-heading);
  letter-spacing: -0.035em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.ec-guide-location .ec-hub-description {
  margin: 20px 0 0;
  color: var(--ec-muted);
}
.ec-location-overview { margin-top: 16px; }
.ec-location-overview summary {
  width: fit-content;
  cursor: pointer;
  color: var(--ec-plum);
  font-size: 14px;
  text-underline-offset: 4px;
}
.ec-location-overview summary:hover { text-decoration: underline; }
.ec-location-overview summary:focus-visible {
  outline: 2px solid var(--ec-plum);
  outline-offset: 4px;
  border-radius: 4px;
}
.ec-location-overview > p {
  margin: 12px 0 0;
  color: var(--ec-muted);
  font-size: 14px;
  line-height: 1.7;
}
.ec-visual-guide .ec-hub-hero-grid,
.ec-visual-guide .ec-city-hero-grid,
.ec-visual-guide .location-hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: center;
}
.ec-visual-guide .ec-hub-hero,
.ec-visual-guide .ec-city-hero {
  padding-bottom: 48px;
}
.ec-visual-guide .ec-hub-title-place,
.ec-visual-guide .ec-city-title-place {
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.12;
}
.ec-visual-guide.ec-guide-location .ec-hub-title-place {
  font-size: clamp(30px, 3.4vw, 44px);
}
.ec-visual-guide .ec-hub-description,
.ec-visual-guide .ec-city-hero-description {
  font-size: 15px;
  max-width: 46ch;
  line-height: 1.75;
}
.ec-visual-guide .ec-hub-title-lead,
.ec-visual-guide .ec-city-title-lead {
  font-size: 18px;
  line-height: 1.5;
}
.ec-visual-quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin: 28px 0 0;
}
.ec-visual-quick-facts > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
  min-width: 0;
}
.ec-visual-quick-facts dd {
  margin: 0;
  font: 700 21px/1.3 var(--ec-font-heading);
  color: var(--ec-plum);
}
.ec-visual-quick-facts dt {
  font-size: 11px;
  color: var(--ec-muted);
}
.ec-visual-guide .ec-hub-availability {
  border: 0;
  padding: 0;
  margin-top: 22px;
  max-width: 48ch;
  font-size: 11px;
}
.ec-destination-visual {
  min-width: 0;
}
.ec-place-mosaic {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  height: 410px;
}
.ec-place-mosaic figure {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  margin: 0;
  min-height: 0;
  background: var(--ec-cream);
}
.ec-place-mosaic figure::after {
  content: '';
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, rgb(25 18 24 / 65%));
  pointer-events: none;
}
.ec-place-mosaic figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ec-place-mosaic figcaption {
  position: absolute;
  bottom: 20px;
  left: 22px;
  right: 20px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ec-white);
  font: 700 13px/1.5 var(--ec-font-heading);
}
.ec-place-mosaic figcaption svg {
  width: 16px;
  height: 16px;
}
.ec-place-stamp {
  position: absolute;
  top: -14px;
  right: 18px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 17px 20px;
  border-radius: 16px;
  background: var(--ec-cream);
  color: var(--ec-plum);
  font-size: 12px;
  line-height: 1.55;
  transform: rotate(5deg);
  box-shadow: 0 3px 16px rgb(72 33 63 / 8%);
  z-index: 2;
}
.ec-place-stamp svg {
  width: 24px;
  height: 24px;
  margin-top: 5px;
}
.ec-place-art {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 160px;
  background: var(--ec-cream);
  color: var(--ec-mauve);
  border-radius: inherit;
  overflow: hidden;
}
.ec-place-art > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ec-place-sun {
  fill: var(--ec-apricot);
}
.ec-place-land {
  fill: var(--ec-lilac);
}
.ec-place-art > span {
  position: absolute;
  left: 20px;
  top: 25px;
  right: 85px;
  color: var(--ec-plum);
  font: 700 20px/1.4 var(--ec-font-heading);
}
.ec-place-art > img {
  position: absolute;
  right: 20px;
  top: 25px;
  width: 36px;
  height: 27px;
  border-radius: 4px;
  object-fit: cover;
}
.ec-place-mosaic > .ec-place-art {
  border-radius: 22px;
}
.ec-place-mosaic > .ec-place-art > span {
  font-size: 32px;
  top: 50px;
}
.ec-place-mosaic > .ec-place-art > img {
  top: auto;
  bottom: 24px;
}
.ec-place-credits {
  color: var(--ec-muted);
  font-size: 11px;
  margin-top: 24px;
}
.ec-place-credits summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  min-height: 40px;
  width: fit-content;
}
.ec-place-credits summary svg {
  width: 14px;
  height: 14px;
}
.ec-place-credits ul {
  margin: 10px 0 0;
  padding-left: 18px;
  line-height: 1.8;
}
.ec-place-credits a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ec-visual-photo-notes.web-section {
  padding-block: 0 20px;
}
.ec-visual-country-card.ec-hub-country-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--ec-radius-card);
}
.ec-destination-card-photo {
  display: block;
  position: relative;
  width: 100%;
  height: 172px;
  overflow: hidden;
  background: var(--ec-cream);
}
.ec-destination-card-photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 0;
}
.ec-destination-card-photo > small {
  position: absolute;
  bottom: 12px;
  left: 12px;
  color: var(--ec-plum);
  background: var(--ec-white);
  border-radius: var(--ec-radius-pill);
  padding: 4px 10px;
  font-size: 10px;
}
.ec-visual-country-card:hover .ec-destination-card-photo > img,
.ec-visual-city-card:hover .ec-destination-card-photo > img {
  transform: scale(1.04);
}
.ec-visual-country-body {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 18px;
  width: 100%;
}
.ec-visual-country-body > img {
  width: 28px;
  height: 21px;
  border-radius: 3px;
  object-fit: cover;
}
.ec-visual-country-body .ec-hub-country-copy {
  flex: 1;
  min-width: 0;
}
.ec-visual-country-body .ec-hub-country-copy strong {
  font-size: 16px;
}
.ec-visual-country-body .ec-hub-country-copy small {
  font-size: 11px;
}
.ec-visual-country-body .ec-hub-card-arrow {
  width: 34px;
  height: 34px;
}
.ec-visual-city-card.ec-hub-city-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  height: 100%;
}
.ec-visual-city-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ec-visual-city-body .ec-hub-city-top {
  margin-bottom: 14px;
}
.ec-visual-city-body .ec-hub-city-icon {
  display: none;
}
.ec-visual-city-body .ec-hub-city-top {
  justify-content: start;
}
.ec-visual-city-body > p {
  margin-bottom: 20px;
}
.ec-visual-city-body .ec-hub-city-foot {
  margin-top: auto;
  padding-top: 18px;
}
.ec-visual-guide .ec-hub-city-grid[data-single='true'] {
  grid-template-columns: minmax(0, 1fr);
}
.ec-hub-city-grid[data-single='true'] .ec-visual-city-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.ec-hub-city-grid[data-single='true'] .ec-destination-card-photo {
  min-height: 0;
  height: 300px;
}
.ec-hub-city-grid[data-single='true'] .ec-visual-city-body {
  padding: 36px;
  justify-content: center;
}
.ec-hub-city-grid[data-single='true'] .ec-visual-city-body h3 {
  font-size: 28px;
  margin-bottom: 12px;
}
.ec-hub-city-grid[data-single='true'] .ec-visual-city-body .ec-hub-city-foot {
  margin-top: 22px;
  border-top: 1px solid var(--ec-line);
  padding-top: 18px;
}
.ec-visual-reading {
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-card);
  margin-top: 32px;
  background: var(--ec-white);
  overflow: hidden;
}
.ec-visual-reading > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  font: 700 14px/1.5 var(--ec-font-heading);
  color: var(--ec-plum);
}
.ec-visual-reading > summary::-webkit-details-marker {
  display: none;
}
.ec-visual-reading > summary svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.ec-visual-reading[open] > summary svg {
  transform: rotate(180deg);
}
.ec-visual-reading-body {
  padding: 0 24px 24px;
  font-size: 14px;
  color: var(--ec-muted);
  line-height: 1.8;
}
.ec-visual-reading .ec-comparison-grid {
  padding: 0 24px 24px;
  margin-top: 0;
}
.ec-city-stay.ec-visual-stay {
  padding: 0;
  overflow: hidden;
}
.ec-visual-stay > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.ec-visual-stay-copy {
  padding: 26px;
}
.ec-visual-stay-copy h2 {
  font-size: 24px;
  line-height: 1.35;
}
.ec-visual-stay-copy > p:not(.eyebrow) {
  margin: 14px 0 22px;
}
.ec-visual-stay-copy > small {
  display: block;
  margin-top: 15px;
  font-size: 10px;
  color: var(--ec-muted);
}
.ec-visual-guide .ec-city-type-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
  gap: 0;
  height: 100%;
}
.ec-type-photo {
  position: relative;
  width: 100%;
}
.ec-type-photo img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}
.ec-type-photo > span {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--ec-white);
  border-radius: var(--ec-radius-pill);
  color: var(--ec-plum);
  padding: 4px 10px;
  font-size: 10px;
}
.ec-visual-guide .ec-city-type-card > span {
  padding: 20px 54px 22px 20px;
}
.ec-visual-guide .ec-city-type-card {
  position: relative;
}
.ec-visual-guide .ec-city-type-card > svg {
  position: absolute;
  bottom: 26px;
  right: 20px;
}
@media (prefers-reduced-motion: reduce) {
  .ec-destination-card-photo > img {
    transition: none;
  }
}
@media (max-width: 1000px) {
  .ec-visual-guide .ec-hub-hero-grid,
  .ec-visual-guide .ec-city-hero-grid,
  .ec-visual-guide .location-hero-grid {
    gap: 30px;
    grid-template-columns: 1fr 1fr;
  }
  .ec-place-mosaic {
    height: 380px;
  }
  .ec-visual-quick-facts {
    gap: 16px;
  }
}
@media (max-width: 800px) {
  .ec-visual-guide .ec-hub-hero-grid,
  .ec-visual-guide .ec-city-hero-grid,
  .ec-visual-guide .location-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .ec-place-mosaic {
    height: 350px;
  }
  .ec-visual-guide .ec-hub-description,
  .ec-visual-guide .ec-city-hero-description {
    max-width: 55ch;
  }
  .ec-visual-stay {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .ec-visual-stay > img {
    height: 100%;
  }
}
@media (max-width: 540px) {
  .ec-visual-guide .ec-destination-visual {
    grid-row: 1;
  }
  .ec-visual-guide.ec-guide-location .ec-hub-title-place {
    font-size: 32px;
  }
  .ec-visual-guide .ec-hub-title-place,
  .ec-visual-guide .ec-city-title-place {
    font-size: 40px;
  }
  .ec-visual-guide .ec-hub-title-lead,
  .ec-visual-guide .ec-city-title-lead {
    font-size: 16px;
  }
  .ec-place-mosaic {
    height: 230px;
  }
  .ec-place-stamp {
    font-size: 10px;
    padding: 12px 15px;
    right: 12px;
  }
  .ec-place-mosaic figcaption {
    font-size: 11px;
    bottom: 14px;
    left: 16px;
  }
  .ec-visual-quick-facts {
    gap: 14px 26px;
  }
  .ec-visual-quick-facts dd {
    font-size: 20px;
  }
  .ec-hub-city-grid[data-single='true'] .ec-visual-city-card {
    display: flex;
  }
  .ec-hub-city-grid[data-single='true'] .ec-destination-card-photo {
    min-height: 0;
    height: 200px;
  }
  .ec-hub-city-grid[data-single='true'] .ec-visual-city-body {
    padding: 22px;
  }
  .ec-visual-stay {
    display: block;
  }
  .ec-visual-stay > img {
    max-height: 230px;
  }
  .ec-visual-guide .ec-city-type-grid {
    grid-template-columns: 1fr;
  }
}

/* Country and city heroes: one destination, one action, one unadorned photograph. */
.ec-destination-page :is(.ec-hub-hero-grid, .ec-city-hero-grid) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--ec-space-16);
}
.ec-destination-page :is(.ec-hub-title-lead, .ec-city-title-lead) {
  margin: 0 0 var(--ec-space-3);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ec-muted);
}
.ec-destination-page :is(.ec-hub-title-place, .ec-city-title-place) {
  display: block;
  margin: 0;
  font-size: clamp(36px, 3.8vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  text-wrap: balance;
  color: var(--ec-plum);
}
.ec-destination-page :is(.ec-hub-description, .ec-city-hero-description) {
  margin-top: var(--ec-space-6);
  max-width: 42ch;
}
.ec-destination-page :is(.ec-hub-actions, .ec-city-hero-actions) {
  margin-top: var(--ec-space-6);
}
.ec-destination-status {
  margin-top: var(--ec-space-4);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ec-muted);
}
.ec-destination-page .ec-destination-visual {
  grid-row: auto;
}
.ec-destination-page .ec-place-mosaic {
  display: block;
  height: auto;
}
.ec-destination-page .ec-place-mosaic figure {
  background: transparent;
  border-radius: 0;
}
.ec-destination-page .ec-place-mosaic figure > img,
.ec-destination-page .ec-place-mosaic > .ec-place-art {
  display: block;
  height: 340px;
  border-radius: var(--ec-radius-panel);
}
.ec-destination-page .ec-place-mosaic figure::after,
.ec-destination-page .ec-place-stamp {
  display: none;
}
.ec-destination-page .ec-place-mosaic figcaption {
  position: static;
  margin-top: var(--ec-space-3);
  color: var(--ec-muted);
  font-size: 11px;
  font-weight: 400;
}
.ec-destination-page .ec-visual-reading .ec-hub-local-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--ec-space-6);
  margin-top: var(--ec-space-6);
}
@media (max-width: 1000px) {
  .ec-destination-page :is(.ec-hub-hero-grid, .ec-city-hero-grid) {
    gap: var(--ec-space-8);
  }
}
@media (max-width: 800px) {
  .ec-destination-page :is(.ec-hub-hero-grid, .ec-city-hero-grid) {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--ec-space-8);
  }
  .ec-destination-page .ec-place-mosaic figure > img,
  .ec-destination-page .ec-place-mosaic > .ec-place-art {
    height: 280px;
  }
}
@media (max-width: 540px) {
  .ec-destination-page :is(.ec-hub-title-lead, .ec-city-title-lead) {
    font-size: 14px;
  }
  .ec-destination-page :is(.ec-hub-description, .ec-city-hero-description) {
    margin-top: var(--ec-space-4);
    font-size: 14px;
  }
  .ec-destination-page .ec-place-mosaic figure > img,
  .ec-destination-page .ec-place-mosaic > .ec-place-art {
    height: 210px;
  }
}

/* Hero details (user decision, 9 Oct 2026): every inner place hero shows only its H1, one short description and the
   photo. The facts, status lines, actions and update date it used to carry sit in this slim row directly under it. */
.marketplace-page :is(.ec-city-hero, .ec-hub-hero, .location-hero, .ec-destinations-hero):has(+ .ec-hero-details) {
  padding-bottom: var(--ec-space-8);
}
:is(.ec-city-hero, .ec-hub-hero, .location-hero) .ec-place-stamp {
  display: none;
}
.ec-hero-details {
  padding-block: var(--ec-space-4) var(--ec-space-6);
  border-top: 1px solid var(--ec-line);
}
.ec-hero-details-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--ec-space-4) var(--ec-space-8);
}
.ec-hero-details-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ec-space-3) var(--ec-space-8);
  min-width: 0;
}
.ec-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ec-space-3) var(--ec-space-8);
  margin: 0;
}
.ec-hero-facts > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
  min-width: 0;
}
.ec-hero-facts dt {
  color: var(--ec-muted);
  font-size: 11px;
  line-height: 1.5;
}
.ec-hero-facts dd {
  margin: 0;
  color: var(--ec-plum);
  font: 700 18px/1.3 var(--ec-font-heading);
  overflow-wrap: anywhere;
}
.ec-hero-details :is(.ec-hero-details-status, .ec-hub-availability, .ec-hero-details-updated) {
  max-width: 48ch;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ec-muted);
  font-size: 12px;
  line-height: 1.6;
}
.ec-hero-details .ec-hub-availability[data-live='true'] {
  color: var(--ec-success);
}
ul.ec-hero-details-status {
  display: grid;
  gap: var(--ec-space-1);
  list-style: none;
}
.ec-hero-details-status li {
  display: flex;
  align-items: center;
  gap: var(--ec-space-2);
}
.ec-hero-details-status svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.ec-hero-details-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ec-space-2) var(--ec-space-6);
  min-width: 0;
}
.ec-hero-details-actions .ec-btn {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
.ec-hero-details > :not(.ec-hero-details-row):first-child {
  margin-top: 0;
}
@media (max-width: 540px) {
  .marketplace-page :is(.ec-city-hero, .ec-hub-hero, .location-hero, .ec-destinations-hero):has(+ .ec-hero-details) {
    padding-bottom: var(--ec-space-6);
  }
  .ec-hero-details-row,
  .ec-hero-details-info {
    gap: var(--ec-space-3) var(--ec-space-6);
  }
  .ec-hero-facts {
    gap: var(--ec-space-3) var(--ec-space-6);
  }
  .ec-hero-facts dd {
    font-size: 16px;
  }
}
