.destination-detail-hero {
  background: var(--bg-dark);
}

.destination-detail-hero .package-detail-hero-content h1 {
  color: var(--bg-white);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.destination-detail-hero .package-detail-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-height: 1.55;
}

.destination-detail-hero .package-detail-meta {
  align-items: center;
}

.destination-hero-slides {
  position: absolute;
  inset: 0;
}

.destination-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.destination-hero-slide.is-active {
  opacity: 1;
}

.destination-slider-control {
  display: grid;
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  color: var(--bg-white);
  cursor: pointer;
  place-items: center;
  transform: translateY(-50%);
}

.destination-slider-control .bi {
  font-size: 1rem;
  line-height: 1;
}

.destination-slider-control:hover {
  background: var(--accent-color);
}

.destination-slider-control--prev {
  left: 20px;
}
.destination-slider-control--next {
  right: 20px;
}

.destination-slider-dots {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 18px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.destination-slider-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
}

.destination-slider-dot.is-active {
  background: var(--bg-white);
  transform: scale(1.35);
}

.destination-detail-body {
  display: block;
}

.destination-section-intro {
  max-width: 760px;
  margin-bottom: 22px;
}

.destination-section-intro h2 {
  margin: 0 0 6px;
  padding: 0;
  border: 0;
}

.destination-section-intro > p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.destination-eyebrow {
  margin: 0 0 5px;
  color: var(--accent-color);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.destination-fact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 8px 0 48px;
  border: 1px solid var(--border-color);
  background: var(--border-color);
}

.destination-fact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 92px;
  background: var(--bg-white);
  padding: 18px;
}

.destination-fact > i {
  color: var(--accent-color);
  font-size: 1.15rem;
}

.destination-fact span {
  display: block;
  margin-bottom: 4px;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.destination-fact strong {
  display: block;
  color: var(--primary-color);
  font-size: 0.86rem;
  line-height: 1.35;
}

.destination-description .dest-p {
  color: var(--text-muted);
  line-height: 1.7;
}

.destination-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.dest-span {
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--primary-color);
  font-size: 0.78rem;
  font-weight: 700;
}

.destination-tags > .dest-span--tags {
  margin-right: 6px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.destination-tags > .dest-span--tags::before {
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--accent-color);
  content: "";
}

.destination-activity {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}

.destination-activity strong {
  grid-column: 1 / -1;
}

.destination-activity .destination-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}

.destination-activity .dest-span--activity {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
}

.destination-activity .dest-span--activity::before {
  color: var(--accent-color);
  content: "✓";
  font-weight: 800;
}

.destination-details-content .dest-span {
  display: block;
  width: fit-content;
  padding: 5px 0;
  border-bottom: 1px dashed var(--border-color);
  border-radius: 0;
  background: transparent;
  color: var(--text-main);
  font-weight: 650;
}

.destination-details-content .dest-span--temperature,
.destination-details-content .dest-span--average_range,
.destination-details-content .dest-span--summer,
.destination-details-content .dest-span--winter {
  color: #9a5315;
}

.destination-details-content .dest-span--primary,
.destination-details-content .dest-span--secondary,
.destination-details-content .dest-span--months {
  color: var(--accent-color);
}

.destination-location-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.destination-location-card {
  display: flex;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--bg-white);
}

.destination-location-content {
  position: relative;
  flex: 1 1 50%;
  min-width: 0;
  padding: 24px;
}

.destination-location-index {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-color);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.destination-location-card .dest-h2,
.destination-location-card .dest-h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.destination-location-card > img {
  flex: 0 1 35%;
  width: 35%;
  min-height: 260px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.destination-location-card--reverse > .destination-location-media {
  order: -1;
}

.destination-location-card--reverse > .destination-location-content {
  order: 1;
}

.destination-location-card--images-5 {
  flex-direction: column;
}

.destination-location-card--images-5 > .destination-location-media {
  order: 1;
  flex: 0 0 auto;
  width: 100%;
  height: 520px;
  min-height: 0;
  overflow: hidden;
}

.destination-location-card--images-5 > .destination-location-content {
  order: 2;
  flex: 0 0 auto;
  width: 100%;
  padding: 30px 34px 34px;
}

/* Five-image locations use the same side-by-side collage treatment as other locations. */
.destination-location-card--images-5 {
  flex-direction: row;
}

.destination-location-card--images-5 > .destination-location-media {
  order: initial;
  flex: 0 0 50%;
  width: 50%;
  height: auto;
  min-height: 320px;
}

.destination-location-card--images-5 > .destination-location-content {
  order: initial;
  flex: 1 1 50%;
  width: 100%;
  padding: 24px;
}

.destination-location-media {
  position: relative;
  display: grid;
  flex: 0 0 50%;
  width: 50%;
  min-height: 320px;
  gap: 4px;
  background: var(--bg-light);
}

.destination-location-media[data-image-count="1"] {
  display: block;
}

.destination-location-media[data-image-count="1"] img {
  width: 100%;
  height: 100%;
}

/* Responsive layered collage engine. Layout classes are selected by JavaScript. */
.destination-location-media.collage-enhanced {
  display: block;
  overflow: hidden;
  isolation: isolate;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.destination-location-media.collage-enhanced.is-collage-ready {
  opacity: 1;
  transform: translateY(0);
}

.destination-location-media.collage-enhanced img {
  position: absolute;
  width: 52%;
  height: 72%;
  min-height: 0;
  border: 8px solid var(--bg-white);
  border-radius: 2px;
  background: var(--bg-white);
  object-fit: cover;
  opacity: 0;
  transform: scale(0.94) rotate(0deg);
  transition:
    transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.42s ease;
}

.destination-location-media.collage-enhanced.is-collage-ready img {
  opacity: 1;
}

.destination-location-media.collage-enhanced img:hover {
  z-index: 8;
  transform: scale(1.06) rotate(0deg);
}

/* Mixed portrait and landscape frames keep the collage visually editorial. */
.destination-location-media.collage-enhanced[data-image-count] img {
  height: auto;
  aspect-ratio: 4 / 3;
}

.destination-location-media.collage-enhanced[data-image-count]
  img:nth-child(1) {
  width: 38%;
  aspect-ratio: 4 / 3;
}

.destination-location-media.collage-enhanced[data-image-count]
  img:nth-child(2) {
  width: 42%;
  aspect-ratio: 4 / 3;
}

.destination-location-media.collage-enhanced[data-image-count]
  img:nth-child(3) {
  width: 28%;
  aspect-ratio: 9 / 16;
}

.destination-location-media.collage-enhanced[data-image-count]
  img:nth-child(4) {
  width: 48%;
  aspect-ratio: 16 / 9;
}

.destination-location-media.collage-enhanced[data-image-count]
  img:nth-child(5) {
  width: 38%;
  aspect-ratio: 4 / 3;
}

.collage-single img:first-child {
  inset: 12% 21%;
  width: 58%;
  height: 76%;
  transform: rotate(-2deg);
}

.collage-duo img:first-child {
  top: 10%;
  left: 8%;
  transform: rotate(-5deg);
}
.collage-duo img:last-child {
  right: 8%;
  bottom: 8%;
  transform: rotate(5deg);
}

.collage-duo-offset img:first-child {
  top: 7%;
  left: 17%;
  transform: rotate(4deg);
}
.collage-duo-offset img:last-child {
  right: 15%;
  bottom: 9%;
  transform: rotate(-5deg);
}

.collage-trio img:first-child {
  top: 13%;
  left: 21%;
  width: 58%;
  height: 76%;
  transform: rotate(-2deg);
}
.collage-trio img:nth-child(2) {
  top: 7%;
  right: 5%;
  width: 38%;
  height: 43%;
  transform: rotate(6deg);
}
.collage-trio img:nth-child(3) {
  bottom: 6%;
  left: 6%;
  width: 39%;
  height: 39%;
  transform: rotate(-6deg);
}

.collage-trio-reverse img:first-child {
  top: 12%;
  right: 17%;
  width: 58%;
  height: 76%;
  transform: rotate(3deg);
}
.collage-trio-reverse img:nth-child(2) {
  top: 8%;
  left: 5%;
  width: 38%;
  height: 43%;
  transform: rotate(-6deg);
}
.collage-trio-reverse img:nth-child(3) {
  right: 5%;
  bottom: 6%;
  width: 39%;
  height: 39%;
  transform: rotate(5deg);
}

.collage-quad img:nth-child(1) {
  top: 7%;
  left: 7%;
  transform: rotate(-5deg);
}
.collage-quad img:nth-child(2) {
  top: 9%;
  right: 7%;
  transform: rotate(5deg);
}
.collage-quad img:nth-child(3) {
  bottom: 7%;
  left: 13%;
  transform: rotate(4deg);
}
.collage-quad img:nth-child(4) {
  right: 13%;
  bottom: 6%;
  transform: rotate(-4deg);
}

.collage-quad-offset img:nth-child(1) {
  top: 13%;
  left: 17%;
  transform: rotate(4deg);
}
.collage-quad-offset img:nth-child(2) {
  top: 6%;
  right: 16%;
  transform: rotate(-5deg);
}
.collage-quad-offset img:nth-child(3) {
  bottom: 8%;
  left: 7%;
  transform: rotate(-6deg);
}
.collage-quad-offset img:nth-child(4) {
  right: 7%;
  bottom: 12%;
  transform: rotate(5deg);
}

.collage-quint img:nth-child(1) {
  top: 8%;
  left: 4%;
  transform: rotate(-5deg);
}
.collage-quint img:nth-child(2) {
  top: 6%;
  left: 27%;
  transform: rotate(4deg);
}
.collage-quint img:nth-child(3) {
  top: 8%;
  right: 4%;
  transform: rotate(6deg);
}
.collage-quint img:nth-child(4) {
  bottom: 5%;
  left: 18%;
  transform: rotate(-4deg);
}
.collage-quint img:nth-child(5) {
  right: 17%;
  bottom: 4%;
  transform: rotate(5deg);
}

.collage-quint-offset img:nth-child(1) {
  top: 6%;
  left: 14%;
  transform: rotate(5deg);
}
.collage-quint-offset img:nth-child(2) {
  top: 8%;
  left: 38%;
  transform: rotate(-4deg);
}
.collage-quint-offset img:nth-child(3) {
  top: 7%;
  right: 5%;
  transform: rotate(5deg);
}
.collage-quint-offset img:nth-child(4) {
  bottom: 6%;
  left: 5%;
  transform: rotate(-5deg);
}
.collage-quint-offset img:nth-child(5) {
  right: 22%;
  bottom: 5%;
  transform: rotate(4deg);
}

.destination-location-media[data-image-count]:not([data-image-count="1"]) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.destination-location-media[data-image-count="2"]:not([data-image-count="1"]) {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1.2fr;
  grid-template-areas:
    "top"
    "bottom";
}

.destination-location-media[data-image-count="2"] img:first-child {
  grid-area: top;
}
.destination-location-media[data-image-count="2"] img:last-child {
  grid-area: bottom;
}

.destination-location-media[data-image-count="3"]:not([data-image-count="1"]) {
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1.15fr 1fr;
  grid-template-areas:
    "lead top"
    "lead bottom";
}

.destination-location-media[data-image-count="3"] img:first-child {
  grid-area: lead;
}
.destination-location-media[data-image-count="3"] img:nth-child(2) {
  grid-area: top;
}
.destination-location-media[data-image-count="3"] img:nth-child(3) {
  grid-area: bottom;
}

.destination-location-media[data-image-count="4"]:not([data-image-count="1"]) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 1.15fr 1fr;
  grid-template-areas:
    "top-left top-right"
    "bottom-left bottom-right";
}

.destination-location-media[data-image-count="4"] img:nth-child(1) {
  grid-area: top-left;
}
.destination-location-media[data-image-count="4"] img:nth-child(2) {
  grid-area: top-right;
}
.destination-location-media[data-image-count="4"] img:nth-child(3) {
  grid-area: bottom-left;
}
.destination-location-media[data-image-count="4"] img:nth-child(4) {
  grid-area: bottom-right;
}

.destination-location-media[data-image-count="5"]:not([data-image-count="1"]) {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: 1fr;
  grid-template-areas: "one two three four five";
}

.destination-location-media[data-image-count="5"] img:nth-child(1) {
  grid-area: one;
}
.destination-location-media[data-image-count="5"] img:nth-child(2) {
  grid-area: two;
}
.destination-location-media[data-image-count="5"] img:nth-child(3) {
  grid-area: three;
}
.destination-location-media[data-image-count="5"] img:nth-child(4) {
  grid-area: four;
}
.destination-location-media[data-image-count="5"] img:nth-child(5) {
  grid-area: five;
}

.destination-location-media img {
  position: absolute;
  z-index: 1;
  display: block;
  width: 58%;
  height: 72%;
  border: 8px solid var(--bg-white);
  border-radius: 2px;
  background: var(--bg-white);
  object-fit: cover;
  transition: transform 0.28s ease;
}

.destination-location-media[data-image-count="1"] img:first-child {
  top: 14%;
  left: 21%;
  width: 58%;
  height: 72%;
  transform: rotate(-2deg);
}

.destination-location-media[data-image-count="2"] img:first-child {
  top: 11%;
  left: 9%;
  transform: rotate(-5deg);
}

.destination-location-media[data-image-count="2"] img:last-child {
  right: 8%;
  bottom: 10%;
  transform: rotate(5deg);
}

.destination-location-media[data-image-count="3"] img:first-child {
  top: 14%;
  left: 20%;
  width: 60%;
  height: 73%;
  transform: rotate(-2deg);
}

.destination-location-media[data-image-count="3"] img:nth-child(2) {
  top: 8%;
  right: 6%;
  width: 39%;
  height: 43%;
  transform: rotate(5deg);
}

.destination-location-media[data-image-count="3"] img:nth-child(3) {
  bottom: 7%;
  left: 7%;
  width: 40%;
  height: 40%;
  transform: rotate(-6deg);
}

.destination-location-media[data-image-count="4"] img:nth-child(1) {
  top: 8%;
  left: 8%;
  transform: rotate(-5deg);
}
.destination-location-media[data-image-count="4"] img:nth-child(2) {
  top: 10%;
  right: 8%;
  transform: rotate(5deg);
}
.destination-location-media[data-image-count="4"] img:nth-child(3) {
  bottom: 8%;
  left: 13%;
  transform: rotate(4deg);
}
.destination-location-media[data-image-count="4"] img:nth-child(4) {
  right: 14%;
  bottom: 7%;
  transform: rotate(-4deg);
}

.destination-location-media[data-image-count="5"] img:nth-child(1) {
  top: 9%;
  left: 5%;
  transform: rotate(-5deg);
}
.destination-location-media[data-image-count="5"] img:nth-child(2) {
  top: 7%;
  left: 42%;
  transform: rotate(4deg);
}
.destination-location-media[data-image-count="5"] img:nth-child(3) {
  top: 10%;
  right: 4%;
  transform: rotate(7deg);
}
.destination-location-media[data-image-count="5"] img:nth-child(4) {
  bottom: 7%;
  left: 24%;
  transform: rotate(-4deg);
}
.destination-location-media[data-image-count="5"] img:nth-child(5) {
  right: 17%;
  bottom: 5%;
  transform: rotate(5deg);
}

.destination-image-viewer {
  position: fixed;
  z-index: 2000;
  top: 50%;
  left: 50%;
  width: fit-content;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  border: 8px solid var(--bg-white);
  background: var(--bg-white);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  scale: 0.94;
  transition:
    opacity 0.22s ease,
    scale 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.destination-image-viewer.is-visible {
  opacity: 1;
  scale: 1;
}

.destination-image-viewer img {
  display: block;
  width: auto;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  object-fit: contain;
}

.destination-media-context {
  position: absolute;
  right: 12px;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: calc(100% - 24px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background: rgba(0, 42, 84, 0.78);
  color: var(--bg-white);
  padding: 6px 9px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.destination-media-context .bi {
  color: #b8d9e8;
}

.destination-location-media[data-context="Waterfalls & viewpoints"]
  .destination-media-context,
.destination-location-media[data-context="Rivers & lakes"]
  .destination-media-context {
  background: rgba(0, 86, 112, 0.82);
}

.destination-location-media[data-context="Caves & geology"]
  .destination-media-context {
  background: rgba(35, 39, 52, 0.86);
}

.destination-location-media[data-context="Nature & trails"]
  .destination-media-context {
  background: rgba(24, 77, 53, 0.84);
}

.destination-details-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  color: var(--text-muted);
}

.destination-details-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.destination-details-heading h2 {
  margin: 0 0 4px;
  padding: 0;
  border: 0;
}

.destination-details-heading > div:last-child > p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.destination-details-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--border-radius-sm);
  background: var(--primary-color);
  color: var(--bg-white);
  font-size: 1.1rem;
}

.destination-planning-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.destination-planning-card {
  min-width: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background: var(--bg-white);
  padding: 18px;
}

.destination-planning-card--best-time {
  border-top: 3px solid var(--accent-color);
}

.destination-planning-card--reach {
  border-top: 3px solid var(--secondary-color);
}

.destination-planning-card--seasons {
  grid-column: 1 / -1;
}

.destination-planning-card-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.destination-planning-card-heading i {
  color: var(--accent-color);
  font-size: 1rem;
}

.destination-planning-card-heading h3 {
  margin: 0;
  color: var(--primary-color);
  font-size: 1rem;
}

.destination-planning-card .dest-node {
  display: grid;
  gap: 5px;
  margin-bottom: 10px;
}

.destination-planning-card .dest-node:last-child {
  margin-bottom: 0;
}

.destination-planning-card .dest-node-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.destination-planning-card .dest-node-label .bi {
  color: var(--accent-color);
}

.destination-planning-card .dest-p {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.destination-planning-subsection + .destination-planning-subsection {
  margin-top: 14px;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

.destination-planning-subsection > strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary-color);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.destination-season-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.destination-season-item {
  min-width: 0;
  border-left: 2px solid var(--accent-color);
  padding-left: 12px;
}

.destination-season-item .dest-h3 {
  margin: 0 0 6px;
  color: var(--primary-color);
  font-size: 0.9rem;
}

.destination-season-list .dest-p {
  font-size: 0.78rem;
}

.destination-details-content > div {
  display: grid;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.destination-details-content .dest-node {
  align-content: start;
  gap: 6px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background: var(--bg-white);
  padding: 12px 14px;
}

.destination-details-content .dest-node-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--primary-color);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.destination-details-content .dest-node-label .bi {
  color: var(--accent-color);
  font-size: 0.9rem;
}

.destination-details-content .dest-node > .dest-node {
  border: 0;
  border-top: 1px solid var(--border-color);
  border-radius: 0;
  padding: 10px 0 0;
}

.destination-details-content .dest-h3 {
  margin: 0;
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 1rem;
}

.destination-details-content .dest-p {
  margin: 0;
  line-height: 1.65;
}

.destination-activity {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.destination-activity strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary-color);
}

.destination-activity .destination-tags {
  margin-top: 0;
}

@media (max-width: 767px) {
  .destination-detail-hero {
    height: 360px;
  }

  .destination-detail-hero .package-detail-hero-content {
    padding-bottom: 22px;
  }

  .destination-detail-hero .package-detail-hero-content h1 {
    font-size: 2rem;
  }

  .destination-details-content {
    grid-template-columns: 1fr;
  }

  .destination-planning-grid {
    grid-template-columns: 1fr;
  }

  .destination-planning-card--seasons {
    grid-column: auto;
  }

  .destination-season-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .destination-fact-strip {
    grid-template-columns: 1fr;
    margin-bottom: 34px;
  }

  .destination-fact {
    min-height: 76px;
    padding: 14px;
  }

  .destination-activity {
    grid-template-columns: 1fr;
  }

  .destination-details-heading {
    gap: 10px;
  }

  .destination-details-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .destination-location-card {
    flex-direction: column;
  }

  .destination-location-card--images-5 > .destination-location-media {
    width: 100%;
    height: 360px;
    min-height: 0;
  }

  .destination-location-card--images-5 > .destination-location-content {
    width: 100%;
    padding: 22px 18px 24px;
  }

  .destination-location-content {
    padding: 18px;
  }

  .destination-location-card > img {
    order: -1;
    width: 100%;
    min-height: 200px;
    max-height: 260px;
  }

  .destination-location-media {
    order: -1;
    width: 100%;
    min-height: 200px;
    max-height: 260px;
  }

  .destination-location-card--reverse > .destination-location-media,
  .destination-location-card--reverse > .destination-location-content {
    order: initial;
  }

  .destination-location-media img {
    min-height: 100px;
  }

  .destination-location-media[data-image-count="3"] {
    grid-template-columns: 1.25fr 1fr;
  }

  .destination-location-media[data-image-count="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .destination-location-media[data-image-count="5"] {
    grid-template-columns: repeat(5, minmax(130px, 1fr));
    overflow-x: auto;
  }
}

/* Taller layered compositions for larger image sets. These deliberately echo
   the three-image collage, while keeping every photo visible and balanced. */
.destination-location-media.collage-enhanced[data-image-count="4"],
.destination-location-media.collage-enhanced[data-image-count="5"] {
  display: block;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  isolation: isolate;
}

.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(1),
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(2),
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(3),
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(4),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(1),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(2),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(3),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(4),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(5) {
  position: absolute;
  inset: auto;
  width: auto !important;
  height: auto !important;
  margin: 0;
  border: clamp(3px, 0.5vw, 7px) solid #fff;
  border-radius: 5px;
  box-shadow: 0 14px 26px rgba(12, 42, 41, 0.2);
  object-fit: cover;
  grid-column: auto !important;
  grid-row: auto !important;
}

.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(1) {
  top: 5%;
  left: 7%;
  z-index: 2;
  width: 60% !important;
  height: 53% !important;
  transform: rotate(-5deg) !important;
}

.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(2) {
  top: 7%;
  right: 5%;
  z-index: 3;
  width: 41% !important;
  height: 34% !important;
  transform: rotate(5deg) !important;
}

.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(3) {
  bottom: 7%;
  left: 7%;
  z-index: 4;
  width: 42% !important;
  height: 37% !important;
  transform: rotate(4deg) !important;
}

.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(4) {
  right: 7%;
  bottom: 5%;
  z-index: 3;
  width: 54% !important;
  height: 42% !important;
  transform: rotate(-4deg) !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(1) {
  top: 5%;
  left: 8%;
  z-index: 2;
  width: 58% !important;
  height: 43% !important;
  transform: rotate(-5deg) !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(2) {
  top: 7%;
  right: 6%;
  z-index: 4;
  width: 39% !important;
  height: 30% !important;
  transform: rotate(5deg) !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(3) {
  top: 37%;
  left: 5%;
  z-index: 3;
  width: 38% !important;
  height: 29% !important;
  transform: rotate(4deg) !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(4) {
  right: 6%;
  bottom: 6%;
  z-index: 2;
  width: 55% !important;
  height: 38% !important;
  transform: rotate(-4deg) !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(5) {
  bottom: 9%;
  left: 31%;
  z-index: 5;
  width: 38% !important;
  height: 29% !important;
  transform: rotate(5deg) !important;
}

/* Fill the available desktop canvas with closer, overlapping photo frames. */
@media (min-width: 768px) {
  .destination-location-media.collage-enhanced[data-image-count="1"]
    img:first-child {
    top: 6%;
    left: 17%;
    width: 66%;
    height: 88%;
  }

  .destination-location-media.collage-enhanced[data-image-count="2"]
    img:first-child {
    top: 3%;
    left: 5%;
    width: 56%;
    height: 58%;
  }

  .destination-location-media.collage-enhanced[data-image-count="2"]
    img:last-child {
    right: 5%;
    bottom: 3%;
    width: 56%;
    height: 58%;
  }

  .destination-location-media.collage-enhanced[data-image-count="3"]
    img:first-child {
    top: 5%;
    left: 19%;
    width: 62%;
    height: 88%;
  }

  .destination-location-media.collage-enhanced[data-image-count="3"]
    img:nth-child(2) {
    top: 3%;
    right: 2%;
    width: 39%;
    height: 48%;
  }

  .destination-location-media.collage-enhanced[data-image-count="3"]
    img:nth-child(3) {
    bottom: 3%;
    left: 2%;
    width: 41%;
    height: 44%;
  }

  .destination-location-media.collage-enhanced[data-image-count="4"]
    img:nth-child(1) {
    top: 3%;
    left: 3%;
    width: 46%;
    height: 48%;
  }

  .destination-location-media.collage-enhanced[data-image-count="4"]
    img:nth-child(2) {
    top: 3%;
    right: 3%;
    width: 46%;
    height: 48%;
  }

  .destination-location-media.collage-enhanced[data-image-count="4"]
    img:nth-child(3) {
    bottom: 3%;
    left: 7%;
    width: 46%;
    height: 48%;
  }

  .destination-location-media.collage-enhanced[data-image-count="4"]
    img:nth-child(4) {
    right: 7%;
    bottom: 3%;
    width: 46%;
    height: 48%;
  }

  .destination-location-media.collage-enhanced[data-image-count="5"]
    img:nth-child(1) {
    top: 2%;
    left: 1%;
    width: 40%;
    height: 46%;
  }

  .destination-location-media.collage-enhanced[data-image-count="5"]
    img:nth-child(2) {
    top: 1%;
    left: 29%;
    width: 43%;
    height: 48%;
  }

  .destination-location-media.collage-enhanced[data-image-count="5"]
    img:nth-child(3) {
    top: 3%;
    right: 1%;
    width: 32%;
    height: 48%;
  }

  .destination-location-media.collage-enhanced[data-image-count="5"]
    img:nth-child(4) {
    bottom: 2%;
    left: 10%;
    width: 43%;
    height: 46%;
  }

  .destination-location-media.collage-enhanced[data-image-count="5"]
    img:nth-child(5) {
    right: 8%;
    bottom: 1%;
    width: 43%;
    height: 47%;
  }
}

/* Five photos use a stable, landscape-first composition. Unlike the shuffled
   layouts for smaller sets, this has no absolute positioning to collide at
   different card widths or description heights. */
.destination-location-media[data-image-count="5"] {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: flex-end;
  gap: 2%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  height: auto;
  padding: 0;
}

.destination-location-media[data-image-count="5"] img {
  position: static;
  inset: auto;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  margin: 0;
  height: auto !important;
  object-fit: cover;
  transform: none !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:first-child {
  flex: 0 0 58%;
  width: 58% !important;
  aspect-ratio: 16 / 9 !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(2) {
  flex: 0 0 36%;
  width: 36% !important;
  aspect-ratio: 4 / 3 !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(3) {
  flex: 0 0 31%;
  width: 31% !important;
  aspect-ratio: 16 / 9 !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(4) {
  flex: 0 0 30%;
  width: 30% !important;
  aspect-ratio: 4 / 3 !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(5) {
  flex: 0 0 31%;
  width: 31% !important;
  aspect-ratio: 16 / 9 !important;
}

@media (max-width: 767px) {
  .destination-location-media.collage-enhanced[data-image-count="5"] {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* Final large-set collage sizing: keep the complete composition contained on
   laptop screens, without adding a coloured panel behind the photos. */
.destination-location-media.collage-enhanced[data-image-count="4"],
.destination-location-media.collage-enhanced[data-image-count="5"] {
  display: block;
  aspect-ratio: 4 / 3;
  min-height: 0;
  height: auto;
  max-height: 360px;
  padding: clamp(8px, 1vw, 12px);
  overflow: hidden;
  border-radius: 14px;
  background: transparent !important;
}

.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(1),
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(2),
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(3),
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(4),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(1),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(2),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(3),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(4),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(5) {
  position: absolute;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: auto !important;
  height: auto !important;
  margin: 0;
  border: clamp(3px, 0.45vw, 6px) solid #fff;
  border-radius: 5px;
  box-shadow: 0 12px 22px rgba(12, 42, 41, 0.18);
  object-fit: cover;
  grid-column: auto !important;
  grid-row: auto !important;
}

/* 4 images: portrait anchor, landscape pair, and a narrow portrait accent. */
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(1) {
  top: 7%;
  left: 8%;
  z-index: 3;
  width: 45% !important;
  height: auto !important;
  aspect-ratio: 3 / 4 !important;
  transform: rotate(-4deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(2) {
  top: 7%;
  right: 7%;
  z-index: 2;
  width: 44% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  transform: rotate(4deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(3) {
  bottom: 8%;
  left: 25%;
  z-index: 4;
  width: 56% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  transform: rotate(-2.5deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(4) {
  right: 7%;
  bottom: 7%;
  z-index: 5;
  width: 25% !important;
  height: auto !important;
  aspect-ratio: 9 / 16 !important;
  transform: rotate(4deg) !important;
}

/* 5 images: a mixed-orientation stack with every frame kept inside the canvas. */
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(1) {
  top: 7%;
  left: 7%;
  z-index: 3;
  width: 38% !important;
  height: auto !important;
  aspect-ratio: 3 / 4 !important;
  transform: rotate(-4deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(2) {
  top: 7%;
  right: 7%;
  z-index: 2;
  width: 43% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  transform: rotate(4deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(3) {
  top: 42%;
  left: 29%;
  z-index: 5;
  width: 54% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  transform: rotate(-2deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(4) {
  right: 7%;
  bottom: 7%;
  z-index: 4;
  width: 24% !important;
  height: auto !important;
  aspect-ratio: 9 / 16 !important;
  transform: rotate(4deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(5) {
  bottom: 8%;
  left: 7%;
  z-index: 2;
  width: 46% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  transform: rotate(-3deg) !important;
}

/* Five-image mosaic. This deliberately replaces the shuffled-card treatment
   with fixed grid tracks so every card has a predictable frame and no overlap. */
.destination-location-media.collage-enhanced[data-image-count="5"] {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 0;
  aspect-ratio: 16 / 9;
  min-height: 0;
  height: auto;
  align-content: stretch;
  align-items: stretch;
}

.destination-location-media.collage-enhanced[data-image-count="5"] img {
  position: static;
  width: 100% !important;
  height: 100% !important;
  min-width: 0;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  transform: none !important;
}

.destination-location-media[data-image-count="5"] img:first-child {
  grid-column: 1 / span 7 !important;
  grid-row: 1 / span 4 !important;
  aspect-ratio: 16 / 9;
}

.destination-location-media[data-image-count="5"] img:nth-child(2) {
  grid-column: 9 / span 4 !important;
  grid-row: 1 / span 3 !important;
  aspect-ratio: 4 / 3;
}

.destination-location-media[data-image-count="5"] img:nth-child(3) {
  grid-column: 9 / span 4 !important;
  grid-row: 5 / span 3 !important;
  aspect-ratio: 4 / 3;
}

.destination-location-media[data-image-count="5"] img:nth-child(4) {
  grid-column: 1 / span 5 !important;
  grid-row: 6 / span 3 !important;
  aspect-ratio: 16 / 9;
}

.destination-location-media[data-image-count="5"] img:nth-child(5) {
  grid-column: 7 / span 6 !important;
  grid-row: 6 / span 3 !important;
  aspect-ratio: 16 / 9;
}

@media (max-width: 767px) {
  .destination-location-media[data-image-count="5"] {
    gap: 5px;
    aspect-ratio: 4 / 3;
  }
}

/* The last collage rules win over older layouts kept above for other counts. */
.destination-location-media.collage-enhanced[data-image-count="4"],
.destination-location-media.collage-enhanced[data-image-count="5"] {
  display: block;
  aspect-ratio: 4 / 3;
  min-height: 0;
  height: auto;
  max-height: 360px;
  padding: clamp(8px, 1vw, 12px);
  overflow: hidden;
  border-radius: 14px;
  background: transparent !important;
}

.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(1),
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(2),
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(3),
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(4),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(1),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(2),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(3),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(4),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(5) {
  position: absolute;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: auto !important;
  height: auto !important;
  margin: 0;
  border: clamp(3px, 0.45vw, 6px) solid #fff;
  border-radius: 5px;
  box-shadow: 0 12px 22px rgba(12, 42, 41, 0.18);
  object-fit: cover;
  grid-column: auto !important;
  grid-row: auto !important;
}

.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(1) {
  top: 7%;
  left: 8%;
  z-index: 3;
  width: 45% !important;
  height: auto !important;
  aspect-ratio: 3 / 4 !important;
  transform: rotate(-4deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(2) {
  top: 7%;
  right: 7%;
  z-index: 2;
  width: 44% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  transform: rotate(4deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(3) {
  bottom: 8%;
  left: 25%;
  z-index: 4;
  width: 56% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  transform: rotate(-2.5deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(4) {
  right: 7%;
  bottom: 7%;
  z-index: 5;
  width: 25% !important;
  height: auto !important;
  aspect-ratio: 9 / 16 !important;
  transform: rotate(4deg) !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(1) {
  top: 7%;
  left: 7%;
  z-index: 3;
  width: 38% !important;
  height: auto !important;
  aspect-ratio: 3 / 4 !important;
  transform: rotate(-4deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(2) {
  top: 7%;
  right: 7%;
  z-index: 2;
  width: 43% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  transform: rotate(4deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(3) {
  top: 42%;
  left: 29%;
  z-index: 5;
  width: 54% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  transform: rotate(-2deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(4) {
  right: 7%;
  bottom: 7%;
  z-index: 4;
  width: 24% !important;
  height: auto !important;
  aspect-ratio: 9 / 16 !important;
  transform: rotate(4deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(5) {
  bottom: 8%;
  left: 7%;
  z-index: 2;
  width: 46% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  transform: rotate(-3deg) !important;
}

@media (min-width: 1000px) {
  .destination-detail-hero {
    height: clamp(460px, 42vw, 560px);
  }

  .destination-detail-hero .package-detail-hero-content {
    padding-bottom: 44px;
  }

  .destination-detail-hero .package-detail-hero-content h1 {
    font-size: clamp(3rem, 5vw, 4.2rem);
  }

  .destination-detail-hero .package-detail-summary {
    max-width: 760px;
    font-size: 1rem;
    line-height: 1.65;
    -webkit-line-clamp: 2;
  }

  .destination-detail-body {
    max-width: 1120px;
    padding-top: 48px;
  }

  .destination-detail-body .package-detail-section {
    margin-bottom: 48px;
  }

  .destination-detail-body .package-detail-section > h2 {
    font-size: 1.45rem;
    margin-bottom: 16px;
  }

  .destination-description .dest-p {
    max-width: 980px;
    font-size: 1rem;
    line-height: 1.85;
  }

  .destination-tags {
    gap: 12px;
    margin-top: 22px;
  }

  .destination-tags > .dest-span--tags {
    font-size: 0.84rem;
  }

  .destination-location-card {
    min-height: 340px;
  }

  .destination-location-content {
    padding: 34px;
  }

  .destination-location-card .dest-h2,
  .destination-location-card .dest-h3 {
    font-size: 1.45rem;
  }

  .destination-location-media {
    min-height: 340px;
  }

  .destination-details-content {
    gap: 18px;
  }
}

/* Final collage overrides: keep the layered photo treatment above legacy grid rules. */
.destination-location-media.collage-enhanced[data-image-count] {
  display: block;
  flex: 0 0 50%;
  width: 50%;
  min-width: 0;
  overflow: hidden;
}

.destination-location-media.collage-enhanced[data-image-count] img {
  height: auto;
  min-height: 0;
  object-fit: cover;
}

.destination-location-media.collage-enhanced[data-image-count]
  img:nth-child(1) {
  width: 38%;
  aspect-ratio: 4 / 3;
}

.destination-location-media.collage-enhanced[data-image-count]
  img:nth-child(2) {
  width: 42%;
  aspect-ratio: 4 / 3;
}

.destination-location-media.collage-enhanced[data-image-count]
  img:nth-child(3) {
  width: 28%;
  aspect-ratio: 4 / 3;
}

.destination-location-media.collage-enhanced[data-image-count]
  img:nth-child(4) {
  width: 48%;
  aspect-ratio: 16 / 9;
}

.destination-location-media.collage-enhanced[data-image-count]
  img:nth-child(5) {
  width: 38%;
  aspect-ratio: 4 / 3;
}

@media (max-width: 767px) {
  .destination-location-media.collage-enhanced[data-image-count] {
    display: block;
    width: 100%;
    max-height: 360px;
  }
}

/* Location cards are self-contained on every screen size. The photo layout uses
   a grid instead of absolutely positioned frames so it cannot spill into the
   next location's copy on narrow or unusually sized screens. */
.destination-location-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
  grid-template-areas: "content media";
  align-items: stretch;
}

.destination-location-card--reverse {
  grid-template-areas: "media content";
}

.destination-location-content {
  grid-area: content;
}

.destination-location-media,
.destination-location-media.collage-enhanced[data-image-count] {
  grid-area: media;
  display: grid;
  flex: none;
  width: auto;
  min-height: 320px;
  max-height: none;
  padding: 8px;
  gap: 8px;
  overflow: hidden;
  isolation: isolate;
  background: #edf3f1;
  opacity: 1;
  transform: none;
}

.destination-location-media img,
.destination-location-media.collage-enhanced img {
  position: static;
  display: block;
  grid-area: auto !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
  aspect-ratio: auto !important;
  border: 0;
  border-radius: 3px;
  object-fit: cover;
  opacity: 1;
  transform: none !important;
}

.destination-location-media img:hover,
.destination-location-media.collage-enhanced img:hover {
  transform: scale(1.03) !important;
}

.destination-location-media[data-image-count="1"] {
  display: block;
  padding: 0;
}

.destination-location-media[data-image-count="1"] img {
  width: 100% !important;
  height: 100% !important;
}

.destination-location-media[data-image-count="2"] {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
}

.destination-location-media[data-image-count="3"] {
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.destination-location-media[data-image-count="3"] img:first-child {
  grid-row: span 2 !important;
}

.destination-location-media[data-image-count="4"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.destination-location-media[data-image-count="5"] {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  grid-template-rows: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.destination-location-media[data-image-count="5"] img:first-child {
  grid-column: 1 !important;
  grid-row: span 2 !important;
}

.destination-location-media[data-image-count="5"] img:nth-child(2) {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

.destination-location-media[data-image-count="5"] img:nth-child(3) {
  grid-column: 3 !important;
  grid-row: 1 !important;
}

.destination-location-media[data-image-count="5"] img:nth-child(4) {
  grid-column: 2 !important;
  grid-row: 2 !important;
}

.destination-location-media[data-image-count="5"] img:nth-child(5) {
  grid-column: 3 !important;
  grid-row: 2 !important;
}

.destination-media-context {
  z-index: 2;
}

@media (max-width: 767px) {
  .destination-location-card,
  .destination-location-card--reverse {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "content"
      "media";
  }

  .destination-location-media,
  .destination-location-media.collage-enhanced[data-image-count] {
    min-height: 230px;
    height: min(68vw, 360px);
    max-height: none;
  }

  .destination-location-media[data-image-count="5"] {
    grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 0.85fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }
}

/* Shuffled photo cards: every available image becomes a visible card instead of
   being forced into a rigid gallery. The count determines the composition. */
.destination-location-media.collage-enhanced[data-image-count] {
  display: block;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(145deg, #e5efeb, #f8faf7);
}

.destination-location-media.collage-enhanced[data-image-count] img {
  position: absolute;
  z-index: 1;
  width: auto !important;
  height: auto !important;
  margin: 0;
  border: clamp(3px, 0.55vw, 7px) solid #fff;
  border-radius: 3px;
  box-shadow: 0 12px 24px rgba(12, 42, 41, 0.18);
  object-fit: cover;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.destination-location-media.collage-enhanced[data-image-count] img:hover {
  z-index: 5;
  box-shadow: 0 18px 30px rgba(12, 42, 41, 0.28);
}

.destination-location-media.collage-enhanced[data-image-count="1"]
  img:first-child {
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  border-radius: 0;
}

.destination-location-media.collage-enhanced[data-image-count="2"]
  img:first-child {
  top: 8%;
  left: 7%;
  width: 60% !important;
  height: 66% !important;
  transform: rotate(-5deg) !important;
}

.destination-location-media.collage-enhanced[data-image-count="2"]
  img:nth-child(2) {
  right: 7%;
  bottom: 7%;
  width: 56% !important;
  height: 61% !important;
  transform: rotate(5deg) !important;
}

.destination-location-media.collage-enhanced[data-image-count="3"]
  img:first-child {
  top: 8%;
  left: 20%;
  width: 60% !important;
  height: 78% !important;
  transform: rotate(-2deg) !important;
}

.destination-location-media.collage-enhanced[data-image-count="3"]
  img:nth-child(2) {
  top: 6%;
  right: 5%;
  width: 40% !important;
  height: 43% !important;
  transform: rotate(6deg) !important;
}

.destination-location-media.collage-enhanced[data-image-count="3"]
  img:nth-child(3) {
  bottom: 7%;
  left: 5%;
  width: 40% !important;
  height: 42% !important;
  transform: rotate(-6deg) !important;
}

.destination-location-media.collage-enhanced[data-image-count="4"] img {
  width: 46% !important;
  height: 45% !important;
}

.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(1) {
  top: 5%;
  left: 5%;
  transform: rotate(-4deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(2) {
  top: 6%;
  right: 5%;
  transform: rotate(4deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(3) {
  bottom: 5%;
  left: 7%;
  transform: rotate(3deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(4) {
  right: 7%;
  bottom: 5%;
  transform: rotate(-3deg) !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:first-child {
  top: 7%;
  left: 5%;
  width: 48% !important;
  height: 84% !important;
  transform: rotate(-3deg) !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(2) {
  top: 5%;
  right: 5%;
  width: 39% !important;
  height: 42% !important;
  transform: rotate(5deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(3) {
  top: 29%;
  left: 41%;
  width: 35% !important;
  height: 39% !important;
  transform: rotate(-4deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(4) {
  right: 5%;
  bottom: 5%;
  width: 40% !important;
  height: 40% !important;
  transform: rotate(4deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(5) {
  bottom: 4%;
  left: 29%;
  width: 36% !important;
  height: 36% !important;
  transform: rotate(-5deg) !important;
}

/* Alternate groups receive a mirrored card arrangement, so consecutive places
   do not repeat the same visual rhythm. */
.destination-location-media.collage-enhanced[data-collage-variant="b"][data-image-count="2"]
  img:first-child {
  right: 7%;
  left: auto;
  transform: rotate(5deg) !important;
}
.destination-location-media.collage-enhanced[data-collage-variant="b"][data-image-count="2"]
  img:nth-child(2) {
  right: auto;
  left: 7%;
  transform: rotate(-5deg) !important;
}
.destination-location-media.collage-enhanced[data-collage-variant="b"][data-image-count="3"]
  img:first-child {
  right: 20%;
  left: auto;
  transform: rotate(2deg) !important;
}
.destination-location-media.collage-enhanced[data-collage-variant="b"][data-image-count="3"]
  img:nth-child(2) {
  right: auto;
  left: 5%;
  transform: rotate(-6deg) !important;
}
.destination-location-media.collage-enhanced[data-collage-variant="b"][data-image-count="3"]
  img:nth-child(3) {
  right: 5%;
  left: auto;
  transform: rotate(6deg) !important;
}
.destination-location-media.collage-enhanced[data-collage-variant="b"][data-image-count="5"]
  img:first-child {
  right: 5%;
  left: auto;
  transform: rotate(3deg) !important;
}
.destination-location-media.collage-enhanced[data-collage-variant="b"][data-image-count="5"]
  img:nth-child(2) {
  right: auto;
  left: 5%;
  transform: rotate(-5deg) !important;
}
.destination-location-media.collage-enhanced[data-collage-variant="b"][data-image-count="5"]
  img:nth-child(3) {
  right: 41%;
  left: auto;
  transform: rotate(4deg) !important;
}
.destination-location-media.collage-enhanced[data-collage-variant="b"][data-image-count="5"]
  img:nth-child(4) {
  right: auto;
  left: 5%;
  transform: rotate(-4deg) !important;
}
.destination-location-media.collage-enhanced[data-collage-variant="b"][data-image-count="5"]
  img:nth-child(5) {
  right: 29%;
  left: auto;
  transform: rotate(5deg) !important;
}

/* Five images work best as a landscape storyboard: two wide hero cards above
   three smaller panoramic cards, with only a restrained amount of overlap. */
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:first-child {
  top: 5%;
  left: 5%;
  width: 55% !important;
  height: 49% !important;
  transform: rotate(-1.5deg) !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(2) {
  top: 5%;
  right: 5%;
  width: 34% !important;
  height: 49% !important;
  transform: rotate(1.5deg) !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(3) {
  top: auto;
  bottom: 6%;
  left: 5%;
  width: 28% !important;
  height: 32% !important;
  transform: rotate(1deg) !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(4) {
  right: auto;
  bottom: 6%;
  left: 35%;
  width: 29% !important;
  height: 32% !important;
  transform: rotate(-1deg) !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(5) {
  right: 5%;
  bottom: 6%;
  left: auto;
  width: 29% !important;
  height: 32% !important;
  transform: rotate(1deg) !important;
}

.destination-location-media.collage-enhanced[data-collage-variant="b"][data-image-count="5"]
  img:first-child {
  right: 5%;
  left: auto;
  transform: rotate(1.5deg) !important;
}
.destination-location-media.collage-enhanced[data-collage-variant="b"][data-image-count="5"]
  img:nth-child(2) {
  right: auto;
  left: 5%;
  transform: rotate(-1.5deg) !important;
}
.destination-location-media.collage-enhanced[data-collage-variant="b"][data-image-count="5"]
  img:nth-child(3) {
  right: 5%;
  left: auto;
  transform: rotate(-1deg) !important;
}
.destination-location-media.collage-enhanced[data-collage-variant="b"][data-image-count="5"]
  img:nth-child(4) {
  right: 35%;
  left: auto;
  transform: rotate(1deg) !important;
}
.destination-location-media.collage-enhanced[data-collage-variant="b"][data-image-count="5"]
  img:nth-child(5) {
  right: auto;
  left: 5%;
  transform: rotate(-1deg) !important;
}

/* Keep all five frames intentionally landscape, independent of source photo shape. */
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:first-child,
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(3),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(5) {
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(2),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(4) {
  aspect-ratio: 4 / 3 !important;
  height: auto !important;
}

/* The media canvas must not grow with a longer description; otherwise the
   fixed-ratio cards leave a large empty area below the collage. */
@media (min-width: 768px) {
  .destination-location-media.collage-enhanced[data-image-count] {
    aspect-ratio: 4 / 3;
    min-height: 0;
    height: auto;
    align-self: start;
  }
}

/* Use the available width for the context label so it reads as a caption,
   rather than a small floating chip. */
.destination-location-media .destination-media-context {
  top: auto;
  right: 12px;
  bottom: 12px;
  left: 12px;
  width: auto;
  max-width: none;
  justify-content: flex-start;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .destination-location-media.collage-enhanced[data-image-count] {
    min-height: 250px;
    height: min(72vw, 380px);
  }
}

/* Desktop location cards reserve 60% for the description and 40% for the
   collage. The media canvas remains centred beside its own text, not stretched
   to the full height of longer descriptions. */
.destination-location-media.collage-enhanced[data-image-count] {
  background: transparent;
}

@media (min-width: 768px) {
  .destination-location-card {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: center;
  }

  .destination-location-card--reverse {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }

  .destination-location-media.collage-enhanced[data-image-count] {
    align-self: center;
  }
}

/* Four- and five-image collections use editorial mosaics: one anchor image,
   smaller supporting frames, and a calm, consistent gutter. */
.destination-location-media.collage-enhanced[data-image-count="5"] {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(0, 1fr));
  gap: clamp(5px, 0.55vw, 9px);
  aspect-ratio: 12 / 7;
  min-height: 0;
  height: auto;
  padding: clamp(5px, 0.55vw, 9px);
  overflow: hidden;
  border-radius: 16px;
  background: #e5ede8;
  align-content: stretch;
  align-items: stretch;
}

.destination-location-media.collage-enhanced[data-image-count="5"] img {
  position: static;
  inset: auto;
  width: 100% !important;
  height: 100% !important;
  min-width: 0;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  object-fit: cover;
  transform: none !important;
}

/* These selectors intentionally match the earlier per-image rules. Without
   this reset, their forced aspect ratios shrink the grid items and leave gaps. */
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(1),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(2),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(3),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(4),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(5) {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:first-child {
  grid-column: 1 / span 7 !important;
  grid-row: 1 / span 4 !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(2) {
  grid-column: 8 / span 5 !important;
  grid-row: 1 / span 2 !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(3) {
  grid-column: 8 / span 5 !important;
  grid-row: 3 / span 2 !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(4) {
  grid-column: 1 / span 6 !important;
  grid-row: 5 / span 2 !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(5) {
  grid-column: 7 / span 6 !important;
  grid-row: 5 / span 2 !important;
}

.destination-location-media.collage-enhanced[data-image-count="4"] {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(0, 1fr));
  gap: clamp(5px, 0.55vw, 9px);
  aspect-ratio: 4 / 3;
  min-height: 0;
  height: auto;
  padding: clamp(5px, 0.55vw, 9px);
  overflow: hidden;
  border-radius: 16px;
  background: #e5ede8;
}

.destination-location-media.collage-enhanced[data-image-count="4"] img,
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(1),
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(2),
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(3),
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(4) {
  position: static;
  inset: auto;
  width: 100% !important;
  height: 100% !important;
  min-width: 0;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  aspect-ratio: auto !important;
  object-fit: cover;
  transform: none !important;
}

.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(1) {
  grid-column: 1 / span 7 !important;
  grid-row: 1 / span 6 !important;
}

.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(2) {
  grid-column: 8 / span 5 !important;
  grid-row: 1 / span 3 !important;
}

.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(3) {
  grid-column: 8 / span 3 !important;
  grid-row: 4 / span 3 !important;
}

.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(4) {
  grid-column: 11 / span 2 !important;
  grid-row: 4 / span 3 !important;
}

@media (max-width: 767px) {
  .destination-location-media.collage-enhanced[data-image-count="5"] {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .destination-location-media.collage-enhanced[data-image-count="4"] {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

/* Final containment rules for 1366px laptop screens. */
.destination-location-media.collage-enhanced[data-image-count="4"],
.destination-location-media.collage-enhanced[data-image-count="5"] {
  display: block;
  aspect-ratio: 4 / 3;
  min-height: 0;
  height: auto;
  max-height: 360px;
  padding: clamp(8px, 1vw, 12px);
  overflow: hidden;
  border-radius: 14px;
  background: transparent !important;
}

.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(1),
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(2),
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(3),
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(4),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(1),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(2),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(3),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(4),
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(5) {
  position: absolute;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: auto !important;
  height: auto !important;
  margin: 0;
  border: clamp(3px, 0.45vw, 6px) solid #fff;
  border-radius: 5px;
  box-shadow: 0 12px 22px rgba(12, 42, 41, 0.18);
  object-fit: cover;
  grid-column: auto !important;
  grid-row: auto !important;
}

/* Portrait (3:4), landscape (4:3), wide (16:9), and narrow portrait (9:16). */
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(1) {
  top: 7%;
  left: 8%;
  z-index: 3;
  width: 45% !important;
  aspect-ratio: 3 / 4 !important;
  transform: rotate(-4deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(2) {
  top: 7%;
  right: 7%;
  z-index: 2;
  width: 44% !important;
  aspect-ratio: 4 / 3 !important;
  transform: rotate(4deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(3) {
  bottom: 8%;
  left: 25%;
  z-index: 4;
  width: 56% !important;
  aspect-ratio: 16 / 9 !important;
  transform: rotate(-2.5deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="4"]
  img:nth-child(4) {
  right: 7%;
  bottom: 7%;
  z-index: 5;
  width: 25% !important;
  aspect-ratio: 9 / 16 !important;
  transform: rotate(4deg) !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(1) {
  top: 7%;
  left: 7%;
  z-index: 3;
  width: 38% !important;
  aspect-ratio: 3 / 4 !important;
  transform: rotate(-4deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(2) {
  top: 7%;
  right: 7%;
  z-index: 2;
  width: 43% !important;
  aspect-ratio: 4 / 3 !important;
  transform: rotate(4deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(3) {
  top: 42%;
  left: 29%;
  z-index: 5;
  width: 54% !important;
  aspect-ratio: 16 / 9 !important;
  transform: rotate(-2deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(4) {
  right: 7%;
  bottom: 7%;
  z-index: 4;
  width: 24% !important;
  aspect-ratio: 9 / 16 !important;
  transform: rotate(4deg) !important;
}
.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(5) {
  bottom: 8%;
  left: 7%;
  z-index: 2;
  width: 46% !important;
  aspect-ratio: 16 / 9 !important;
  transform: rotate(-3deg) !important;
}

/* Single-image collection: the same restrained, tilted photo-card treatment. */
.destination-location-media.collage-enhanced[data-image-count="1"] {
  display: block;
  aspect-ratio: 4 / 3;
  min-height: 0;
  height: auto;
  max-height: 360px;
  padding: clamp(8px, 1vw, 12px);
  overflow: hidden;
  border-radius: 14px;
  background: transparent !important;
}

.destination-location-media.collage-enhanced[data-image-count="1"]
  img:first-child {
  position: absolute;
  top: 7%;
  right: 7%;
  bottom: auto;
  left: 7%;
  z-index: 2;
  width: 86% !important;
  height: auto !important;
  margin: 0;
  border: clamp(3px, 0.45vw, 6px) solid #fff;
  border-radius: 5px;
  box-shadow: 0 12px 22px rgba(12, 42, 41, 0.18);
  aspect-ratio: 4 / 3 !important;
  object-fit: cover;
  transform: rotate(-3deg) !important;
}

/* Give the five-photo story more vertical room without changing other counts. */
.destination-location-media.collage-enhanced[data-image-count="5"] {
  aspect-ratio: 5 / 6;
  max-height: 420px;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(1) {
  top: 5%;
  left: 5%;
  width: 45% !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(2) {
  top: 5%;
  right: 4%;
  width: 49% !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(3) {
  top: 38%;
  left: 22%;
  width: 63% !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(4) {
  right: 5%;
  bottom: 5%;
  width: 29% !important;
}

.destination-location-media.collage-enhanced[data-image-count="5"]
  img:nth-child(5) {
  bottom: 6%;
  left: 5%;
  width: 55% !important;
}

/* Destination package backlinks */
.destination-packages {
  grid-column: 1 / -1;
  margin-top: 26px;
  padding-top: 42px;
  border-top: 1px solid #d8e0d4;
}
.destination-packages-heading {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
  max-width: none;
}
.destination-packages-heading h2 {
  margin-bottom: 7px;
}
.destination-packages-link {
  flex: 0 0 auto;
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 800;
}
.destination-packages-link i,
.destination-package-card a i {
  margin-left: 4px;
}
.destination-packages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.destination-package-card {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #d8e2d6;
  background: #fbfcf8;
}
.destination-package-card > img {
  width: 100%;
  height: 100%;
  min-height: 235px;
  object-fit: cover;
}
.destination-package-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 20px;
}
.destination-package-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 12px;
  color: #6d836f;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.destination-package-card h3 {
  margin: 0 0 9px;
  font-size: 1.12rem;
}
.destination-package-card p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.81rem;
  line-height: 1.55;
}
.destination-package-card a {
  margin-top: auto;
  color: var(--primary-color);
  font-size: 0.76rem;
  font-weight: 800;
}

@media (max-width: 900px) {
  .destination-packages-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .destination-packages {
    margin-top: 10px;
    padding-top: 30px;
  }
  .destination-packages-heading {
    display: block;
  }
  .destination-packages-link {
    display: inline-block;
    margin-top: 10px;
  }
  .destination-package-card {
    display: block;
  }
  .destination-package-card > img {
    height: 170px;
    min-height: 0;
  }
}
