/* Design-option previews for /short-term?design=grid|split|list.
   Scoped so the live short-stay page is unchanged. */

#page-short-term .st-opt {
  background: #fff;
  color: #111827;
}
#page-short-term .st-opt .st-opt-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
#page-short-term .st-opt .st-opt-ribbon {
  display: inline-flex;
  margin: 18px 0 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff1f6;
  color: #9f1239;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
}
#page-short-term .st-opt h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.03em;
}
#page-short-term .st-opt .st-opt-intro p,
#page-short-term .st-opt .st-opt-listhead p,
#page-short-term .st-opt .st-opt-band p {
  margin: 8px 0 0;
  color: #4b5563;
  font-size: 16px;
  max-width: 46ch;
}
#page-short-term .st-opt .st-opt-form {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
#page-short-term .st-opt .st-opt-form label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
#page-short-term .st-opt .st-opt-form label span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
#page-short-term .st-opt .st-opt-form input {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 15px;
  color: #111827;
  padding: 2px 0 0;
  outline: none;
}
#page-short-term .st-opt .st-opt-go {
  border: 0;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-weight: 800;
  padding: 12px 18px;
  cursor: pointer;
}
#page-short-term .st-opt .st-opt-pay {
  margin: 14px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.45;
  max-width: 70ch;
}
#page-short-term .st-opt .st-opt-tools {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin: 22px 0 14px;
}
#page-short-term .st-opt .st-count {
  font-weight: 800;
  font-size: 15px;
}
#page-short-term .st-opt .st-count small {
  display: block;
  font-weight: 600;
  color: #6b7280;
  font-size: 13px;
}
#page-short-term .st-opt .st-opt-tools-end {
  display: flex;
  gap: 8px;
  align-items: center;
}
#page-short-term .st-opt .st-opt-sort,
#page-short-term .st-opt .st-opt-mapbtn {
  height: 40px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 0 14px;
  font-weight: 700;
  font-size: 13px;
}
#page-short-term .st-opt .st-opt-mapbtn { cursor: pointer; }
#page-short-term .st-opt .st-opt-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 28px 16px;
}
#page-short-term .st-opt .st-opt-media,
#page-short-term .st-opt .st-opt-rowmedia {
  position: relative;
  display: block;
  overflow: hidden;
  background: #f3f4f6;
  color: inherit;
  text-decoration: none;
}
#page-short-term .st-opt .st-opt-media { aspect-ratio: 1 / 1; border-radius: 18px; }
#page-short-term .st-opt .st-opt-media img,
#page-short-term .st-opt .st-opt-rowmedia img,
#page-short-term .st-opt .st-opt-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#page-short-term .st-opt .st-opt-nophoto {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
  min-height: 140px;
  color: #9ca3af;
  background: #f3f4f6;
  font-size: 13px;
  font-weight: 700;
}
#page-short-term .st-opt .st-opt-nophoto i { font-size: 22px; }
#page-short-term .st-opt .st-opt-badge {
  display: inline-flex;
  margin: 0 6px 6px 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
#page-short-term .st-opt .st-opt-media .st-opt-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  margin: 0;
}
#page-short-term .st-opt .st-opt-media .st-opt-badge + .st-opt-badge { top: 36px; }
#page-short-term .st-opt .st-opt-badge.is-approved { background: #166534; color: #fff; }
#page-short-term .st-opt .st-opt-badge.is-preview { background: #fef3c7; color: #92400e; }
#page-short-term .st-opt .st-opt-body h2,
#page-short-term .st-opt .st-opt-rowbody h2,
#page-short-term .st-opt .st-opt-detail h1 {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 10px 0 2px;
}
#page-short-term .st-opt .st-opt-detail h1 {
  font-size: clamp(26px, 3vw, 36px);
  margin-top: 6px;
}
#page-short-term .st-opt .st-opt-body h2,
#page-short-term .st-opt .st-opt-rowbody h2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#page-short-term .st-opt .st-opt-body h2 a,
#page-short-term .st-opt .st-opt-rowbody h2 a {
  color: inherit;
  text-decoration: none;
}
#page-short-term .st-opt .st-opt-where,
#page-short-term .st-opt .st-opt-spec {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}
#page-short-term .st-opt .st-opt-price { margin: 6px 0 0; font-size: 15px; }
#page-short-term .st-opt .st-opt-price b { font-weight: 900; }
#page-short-term .st-opt .st-opt-price span,
#page-short-term .st-opt .st-opt-bookprice span { color: #6b7280; font-weight: 600; font-size: 13px; }
#page-short-term .st-opt .st-avail-row { margin-top: 8px; }
#page-short-term .st-opt .st-opt-card.is-map-hovered,
#page-short-term .st-opt .st-opt-row.is-map-hovered { outline: 2px solid #b3134f; outline-offset: 3px; border-radius: 18px; }

/* Option A — photo grid */
#page-short-term .st-opt-grid .st-opt-form.is-pill {
  grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)) auto;
  align-items: center;
  padding: 10px 10px 10px 18px;
  border: 1px solid #ebe7e2;
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(17, 24, 39, .08);
  background: #fff;
}
#page-short-term .st-opt-grid .st-opt-form.is-pill label {
  border-left: 1px solid #f0eee9;
  padding: 4px 12px;
}
#page-short-term .st-opt-grid .st-opt-form.is-pill label:first-child { border-left: 0; padding-left: 0; }
#page-short-term .st-opt-grid { padding-bottom: 48px; }

/* Option B — map split, same shell as for sale */
#page-short-term .st-opt-split .st-opt-band {
  background: #166534;
  color: #fff;
  padding: 28px 0 22px;
}
#page-short-term .st-opt-split .st-opt-band h1,
#page-short-term .st-opt-split .st-opt-band p { color: #fff; }
#page-short-term .st-opt-split .st-opt-band .st-opt-ribbon { background: rgba(255,255,255,.16); color: #fff; }
#page-short-term .st-opt-split .st-opt-filterbar {
  background: #14532d;
  padding: 12px 0 16px;
}
#page-short-term .st-opt-split .st-opt-form.is-bar {
  grid-template-columns: 1.4fr repeat(4, minmax(0, .9fr)) auto;
  gap: 8px;
}
#page-short-term .st-opt-split .st-opt-form.is-bar label {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 8px 10px;
  color: #fff;
}
#page-short-term .st-opt-split .st-opt-form.is-bar input { color: #fff; }
#page-short-term .st-opt-split .st-opt-form.is-bar input::placeholder { color: rgba(255,255,255,.7); }
#page-short-term .st-opt-split .st-opt-go { background: #fff; color: #14532d; }
#page-short-term .st-opt-split .st-opt-splitgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .9fr);
  gap: 22px;
  align-items: start;
  padding-top: 8px;
  padding-bottom: 40px;
}
#page-short-term .st-opt-split .st-opt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
#page-short-term .st-opt-split .st-opt-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
#page-short-term .st-opt-split .st-opt-media { border-radius: 0; aspect-ratio: 4 / 3; }
#page-short-term .st-opt-split .st-opt-body { padding: 0 12px 12px; }
#page-short-term .st-opt-split .st-opt-mapnote {
  margin: 8px 2px 0;
  font-size: 12px;
  color: #6b7280;
}

/* Option C — compact list */
#page-short-term .st-opt-list { background: #fafafa; padding-bottom: 40px; }
#page-short-term .st-opt-list .st-opt-listhead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
#page-short-term .st-opt-list .st-opt-listhead h1 { font-size: 28px; }
#page-short-term .st-opt-list .st-opt-listlink {
  font-weight: 800;
  font-size: 14px;
  color: #111827;
}
#page-short-term .st-opt-list .st-opt-form.is-line {
  grid-template-columns: 1.3fr repeat(4, minmax(0, .8fr)) auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 8px;
}
#page-short-term .st-opt-list .st-opt-form.is-line label { padding: 4px 8px; }
#page-short-term .st-opt-list .st-opt-rows { display: flex; flex-direction: column; gap: 8px; }
#page-short-term .st-opt-list .st-opt-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  padding: 8px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
}
#page-short-term .st-opt-list .st-opt-rowmedia {
  height: 96px;
  border-radius: 10px;
}
#page-short-term .st-opt-list .st-opt-rowbody h2 { margin-top: 2px; font-size: 15px; }
#page-short-term .st-opt-list .st-opt-row .st-opt-spec { display: inline; }
#page-short-term .st-opt-list .st-opt-row .st-opt-price { display: inline; margin-left: 8px; }

/* Detail */
#page-short-term .st-opt .st-opt-crumb a { color: #4b5563; font-weight: 700; font-size: 14px; text-decoration: none; }
#page-short-term .st-opt .st-opt-detaillayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px;
  align-items: start;
  margin-top: 16px;
  padding-bottom: 48px;
}
#page-short-term .st-opt .st-opt-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
  border-radius: 18px;
  overflow: hidden;
}
#page-short-term .st-opt .st-opt-gallery img { height: 180px; }
#page-short-term .st-opt .st-opt-gallery img:first-child { grid-row: span 2; height: 368px; }
#page-short-term .st-opt .st-opt-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}
#page-short-term .st-opt .st-opt-facts div {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 10px;
}
#page-short-term .st-opt .st-opt-facts b { display: block; font-size: 18px; }
#page-short-term .st-opt .st-opt-facts span { color: #6b7280; font-size: 12px; font-weight: 700; text-transform: uppercase; }
#page-short-term .st-opt .st-opt-prose { white-space: pre-wrap; line-height: 1.55; color: #374151; }
#page-short-term .st-opt .st-opt-check { color: #4b5563; font-size: 14px; }
#page-short-term .st-opt .st-opt-book {
  position: sticky;
  top: 88px;
  border: 1px solid #ece7e1;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 16px 40px rgba(17, 24, 39, .08);
  background: #fff;
}
#page-short-term .st-opt .st-opt-bookprice { margin: 0; font-size: 22px; font-weight: 900; }
#page-short-term .st-opt .st-opt-bookwhere { margin: 4px 0 12px; color: #6b7280; }
#page-short-term .st-opt .st-opt-bookgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#page-short-term .st-opt .st-opt-book label,
#page-short-term .st-opt .st-opt-guestlabel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 800;
  margin-top: 8px;
}
#page-short-term .st-opt .st-opt-wa,
#page-short-term .st-opt .st-opt-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}
#page-short-term .st-opt .st-opt-wa { background: #ecfdf3; color: #166534; }
#page-short-term .st-opt .st-opt-tel { background: #f3f4f6; color: #111827; }
#page-short-term .st-opt .st-opt-detailmap { margin-top: 18px; }
#page-short-term .st-opt .st-opt-detailmap .listing-map-shell { position: static; max-height: none; }
#page-short-term .st-opt .st-opt-detailmap .map-h { height: 320px; min-height: 280px; }
#page-short-term .st-opt .st-opt-report { margin-top: 18px; }
#page-short-term .st-opt .st-opt-report summary { cursor: pointer; font-weight: 800; }
#page-short-term .st-opt-list .st-opt-detaillayout { grid-template-columns: 1fr; }
#page-short-term .st-opt-list .st-opt-book { position: static; }
#page-short-term .st-opt-list .st-opt-gallery { grid-template-columns: 160px 1fr; }
#page-short-term .st-opt-list .st-opt-gallery img,
#page-short-term .st-opt-list .st-opt-gallery img:first-child { height: 120px; grid-row: auto; }

#page-short-term .st-opt .st-opt-empty {
  padding: 28px;
  border: 1px dashed #e5e7eb;
  border-radius: 16px;
  color: #4b5563;
}
#page-short-term .st-opt .st-opt-mapnote { display: none; }
#page-short-term .st-opt-split .st-opt-mapnote { display: block; }

@media (min-width: 1024px) {
  /* When the map is on, sit it beside the results like /for-sale — not under the grid. */
  #page-short-term .st-opt-grid:has(> .listing-map-col.mk-map-col-active),
  #page-short-term .st-opt-list:has(> .listing-map-col.mk-map-col-active) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(400px, 42vw);
    align-items: start;
    gap: 0 8px;
  }
  #page-short-term .st-opt-grid:has(> .listing-map-col.mk-map-col-active) .st-opt-wrap,
  #page-short-term .st-opt-list:has(> .listing-map-col.mk-map-col-active) .st-opt-wrap {
    max-width: none;
  }
  body.mk-mobile-map-open #page-short-term .st-opt-grid .listing-map-col.mk-map-col-active,
  body.mk-mobile-map-open #page-short-term .st-opt-list .listing-map-col.mk-map-col-active {
    display: block !important;
    margin: 0;
    max-width: none;
    padding: 12px 16px 24px 0;
    align-self: stretch;
    min-width: 0;
  }
}

@media (max-width: 1023px) {
  #page-short-term .st-opt { padding-bottom: 96px; }
  #page-short-term .st-opt-grid .st-opt-form.is-pill,
  #page-short-term .st-opt-split .st-opt-form.is-bar,
  #page-short-term .st-opt-list .st-opt-form.is-line,
  #page-short-term .st-opt-split .st-opt-splitgrid,
  #page-short-term .st-opt .st-opt-detaillayout {
    grid-template-columns: 1fr;
  }
  #page-short-term .st-opt-grid .st-opt-form.is-pill { border-radius: 22px; padding: 12px; }
  #page-short-term .st-opt-grid .st-opt-form.is-pill label {
    border-left: 0;
    border-top: 1px solid #f3f0eb;
    padding: 8px 4px;
  }
  #page-short-term .st-opt-grid .st-opt-form.is-pill label:first-child { border-top: 0; }
  #page-short-term .st-opt-split .st-opt-cards { grid-template-columns: 1fr; }
  #page-short-term .st-opt .st-opt-gallery { grid-template-columns: 1fr; }
  #page-short-term .st-opt .st-opt-gallery img,
  #page-short-term .st-opt .st-opt-gallery img:first-child { height: 220px; grid-row: auto; }
  #page-short-term .st-opt .st-opt-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #page-short-term .st-opt .st-opt-book { position: static; }
  #page-short-term .st-opt .st-opt-tools { align-items: flex-start; flex-direction: column; }
}


/* ---------- Coming to Uganda guide (full-width, equal cards, no accordion) ---------- */
#page-short-term .st-worth {
  margin: 0;
  padding: 36px 0 48px;
  background: #f4f1ea;
  width: 100%;
}
#page-short-term .st-worth-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
#page-short-term .st-worth h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 900;
  letter-spacing: -.03em;
  margin: 0 0 6px;
  color: #111827;
}
#page-short-term .st-worth-lead {
  margin: 0 0 22px;
  color: #4b5563;
  font-size: 1rem;
  max-width: 46ch;
}
#page-short-term .st-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
#page-short-term .st-info-card,
#page-short-term .st-info-tile {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 1px 2px rgba(17, 24, 39, .04);
}
#page-short-term .st-info-photo-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #d6d3cb;
  overflow: hidden;
}
#page-short-term .st-info-photo-wrap picture,
#page-short-term .st-info-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#page-short-term .st-info-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, .78) 0%, rgba(15, 23, 42, .2) 48%, transparent 70%);
  pointer-events: none;
}
#page-short-term .st-info-photo-wrap .st-info-h {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
#page-short-term .st-info-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
#page-short-term .st-info-teaser {
  margin: 0 0 8px;
  font-size: .9rem;
  line-height: 1.5;
  color: #374151;
}
#page-short-term .st-info-tile ul,
#page-short-term .st-info-card ul {
  margin: 0 0 12px;
  padding-left: 18px;
  font-size: .85rem;
  line-height: 1.55;
  color: #4b5563;
  flex: 1;
}
#page-short-term .st-info-tile li,
#page-short-term .st-info-card li { margin: 0 0 5px; }
#page-short-term .st-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  align-self: flex-start;
  background: #111827;
  color: #fff !important;
  font-weight: 800;
  font-size: .82rem;
  text-decoration: none !important;
  border-radius: 999px;
  padding: 8px 14px;
}
#page-short-term .st-info-btn:hover { background: #0b5130; }
#page-short-term .st-worth-note,
#page-short-term .st-photo-credit {
  margin: 14px 0 0;
  font-size: .78rem;
  line-height: 1.5;
  color: #6b7280;
}
#page-short-term .st-photo-credit { margin-top: 6px; }
#page-short-term .st-lead-card { margin: 20px 0 8px; }
#page-short-term .st-lead-dates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
#page-short-term .st-lead-date {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
#page-short-term .st-lead-date > span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #6b21a8;
}
@media (max-width: 900px) {
  #page-short-term .st-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  #page-short-term .st-info-grid { grid-template-columns: 1fr; gap: 14px; }
  #page-short-term .st-lead-dates { grid-template-columns: 1fr; }
  #page-short-term .st-worth { padding: 28px 0 36px; }
}
