/* The approved Home supplies the shell, typography, buttons and commercial banners. */
#tm-site #tm-promo-title { scroll-margin-top: 125px; }
#tm-site #tm-newsletter-form .tm-newsletter-privacy { margin: 0 0 10px; }
#tm-site #tm-newsletter-form .tm-newsletter-privacy a {
  color: #005888;
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#tm-site .tm-placement-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}
#tm-site .tm-placement-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}
#tm-site .tm-placement-card .tm-placement-media {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1.85;
  min-height: 0;
  flex: 0 0 auto;
  overflow: visible;
}
#tm-site .tm-placement-card .tm-placement-media > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 0;
}
#tm-site .tm-placement-media > .tm-home-category {
  position: absolute;
  top: 9px;
  right: 9px;
  left: auto;
  bottom: auto;
  margin: 0;
  max-width: calc(100% - 18px);
  padding: 4px 8px;
  white-space: normal;
}
#tm-site .tm-placement-media .tm-home-brand {
  left: 10px;
  bottom: -12px;
}
#tm-site .tm-page-home .tm-placement-section .tm-home-brand {
  width: 64px;
  height: 64px;
  border-width: 1px;
  padding: 0;
}
#tm-site .tm-placement-section .tm-home-brand > .tm-icon {
  width: 28px;
  height: 28px;
  font-size: 26px;
}
#tm-site .tm-placement-card .tm-placement-copy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  min-width: 0;
  padding: 19px 12px 11px;
}
#tm-site .tm-placement-copy h3 { font-size: 16px; min-height: 0; line-height: 1.26; margin: 0; }
#tm-site .tm-placement-copy p { margin: 0; font-size: 13px; line-height: 1.45; }
#tm-site .tm-placement-copy .tm-placement-status { color: #006a6d; font-size: 14px; font-weight: 800; }
#tm-site .tm-placement-meta { color: #41576e; }
#tm-site :is(.tm-page-home,.tm-featured-section) .tm-vacancy-meta { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; line-height: 1.45; }
#tm-site .tm-vacancy-meta > .tm-icon { width: 15px; height: 17px; font-size: 14px; }
#tm-site :is(.tm-placement-metadata,.tm-placement-contact) { display: flex; flex-direction: column; gap: 5px; }
#tm-site .tm-placement-actions { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
#tm-site .tm-placement-copy .tm-home-card-action {
  width: fit-content;
  min-height: 36px;
  padding-inline: 10px;
  font-size: 13px;
  line-height: 1.25;
  text-decoration: none;
  margin: 0;
}
#tm-site .tm-placement-fields { min-width: 0; font-size: 12px; color: #35516a; }
#tm-site .tm-placement-fields summary { cursor: pointer; padding-block: 6px; font-size: 15px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
#tm-site .tm-placement-fields ul { margin: 5px 0 2px; padding-inline-start: 16px; }
#tm-site .tm-placement-fields li { margin-block: 3px; }
#tm-site .tm-placement-fields[open] { flex-basis: 100%; }
#tm-site .tm-page-home .tm-section-heading > .tm-home-section-link {
  min-height: 44px;
  width: fit-content;
  max-width: 100%;
  justify-self: start;
  gap: 10px;
  padding: 9px 14px;
  border-color: transparent;
  border-radius: 8px;
  background: var(--tm-navy-900);
  color: #fff;
  box-shadow: none;
  font-weight: 750;
  white-space: normal;
}
#tm-site .tm-page-home .tm-home-section-link > .tm-icon {
  width: 16px;
  height: 16px;
  color: inherit;
  font-size: 14px;
}
#tm-site .tm-page-home .tm-section-heading > .tm-home-section-link:hover {
  border-color: transparent;
  background: var(--tm-navy-800);
  color: #fff;
  box-shadow: none;
  transform: none;
}

/* A wide introduction sits below the heading and its navigation link. */
#tm-site .tm-placement-heading--wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  row-gap: 8px;
}
#tm-site .tm-placement-heading--wide > p { grid-column: 1 / -1; max-width: none; margin-block: 0; }

/* Two even rows keep all six featured placements aligned. */
#tm-site .tm-placement-best .tm-placement-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
#tm-site .tm-placement-best .tm-placement-card .tm-placement-media { aspect-ratio: 2; }
#tm-site .tm-placement-best .tm-placement-card .tm-placement-copy { padding: 22px 17px 15px; }
#tm-site .tm-placement-best .tm-placement-copy h3 { font-size: 20px; }

#tm-site .tm-placement-malecon .tm-placement-grid { align-items: stretch; }
#tm-site .tm-placement-malecon .tm-placement-card { border-color: #a3dbe5; background: #f1fbfd; }
#tm-site .tm-placement-malecon .tm-placement-card .tm-placement-media { aspect-ratio: 1.25; }
#tm-site .tm-placement-malecon .tm-placement-card .tm-placement-copy { padding-block: 23px 16px; }
#tm-site .tm-malecon-vacancy { display: grid; gap: 5px; min-width: 0; }
#tm-site .tm-malecon-vacancy .tm-placement-field-content {
  margin-top: 5px;
  padding-top: 9px;
  border-top: 1px solid #cde1e7;
  color: #35516a;
  font-size: 12px;
  line-height: 1.42;
}
#tm-site .tm-malecon-vacancy .tm-placement-field-content > p { font-size: inherit; font-weight: 750; }
#tm-site .tm-malecon-vacancy .tm-placement-field-content > ul { margin: 5px 0; padding-inline-start: 15px; }
#tm-site .tm-malecon-vacancy .tm-placement-field-content li + li { margin-top: 2px; }
#tm-site .tm-card-zone { min-height: 32px; margin: 0 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #087ca5; font-size: 13px; font-weight: 800; transition: color .16s ease; }
#tm-site .tm-card-zone-place { min-width: 0; display: inline-flex; align-items: center; gap: 7px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
#tm-site .tm-card-zone-action { min-height: 27px; padding: 0 8px; border: 1px solid #b9e0e8; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; color: #00789d; background: #eefbfc; font-size: 11px; font-weight: 800; white-space: nowrap; }
#tm-site a.tm-card-zone:hover { color: var(--dir-navy-deep); }
#tm-site a.tm-card-zone:hover .tm-card-zone-action { border-color: #6fc6d6; color: #005d7c; background: #e1f7fa; }
#tm-site .tm-card-zone .tm-icon { flex: none; width: 15px; height: 15px; font-size: 14px; }
#tm-site .tm-card-zone-action .tm-icon { width: 11px; height: 11px; font-size: 10px; }
#tm-site .tm-placement-malecon .tm-card-zone { margin-block: 0; }
#tm-site .tm-placement-malecon .tm-card-zone-action {
  padding: 4px 9px;
  border-color: transparent;
  background: #00738f;
  color: #fff;
  font-size: 12px;
}
#tm-site .tm-placement-malecon :is(a,button).tm-card-zone:hover .tm-card-zone-action {
  border-color: transparent;
  background: #005672;
  color: #fff;
}
#tm-site .tm-placement-malecon .tm-malecon-contact-link {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 42px;
  padding: 7px 11px;
  border: 1px solid #b5d3de;
  border-radius: 10px;
  background: #fff;
  color: var(--tm-navy-900);
  font-size: 12px;
  font-weight: 780;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
#tm-site .tm-placement-malecon .tm-malecon-contact-link:hover:not(:disabled) { border-color: #6aabbd; }
#tm-site .tm-malecon-contact-link > .tm-icon { width: 17px; height: 17px; font-size: 15px; color: #006887; }
#tm-site .tm-placement-malecon .tm-malecon-contact-link:not(.tm-malecon-whatsapp) {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr) 17px;
  text-align: center;
}
#tm-site .tm-placement-malecon .tm-malecon-whatsapp {
  justify-content: center;
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}
#tm-site .tm-placement-malecon .tm-malecon-whatsapp:hover { border-color: #13864b; }
#tm-site .tm-placement-malecon .tm-malecon-whatsapp > .tm-icon { color: inherit; font-size: 17px; }
#tm-site .tm-malecon-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-block: 3px; }
#tm-site .tm-placement-malecon .tm-malecon-social-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #b5d3de;
  border-radius: 50%;
  background: #fff;
  color: #07516a;
}
#tm-site .tm-placement-malecon .tm-malecon-social-link:hover { background: #eaf8fb; }
#tm-site .tm-malecon-social-link > .tm-icon { font-size: 16px; }
#tm-site .tm-placement-malecon .tm-placement-metadata .tm-placement-meta { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; }
#tm-site .tm-placement-malecon .tm-placement-metadata .tm-icon { width: 15px; height: 19px; font-size: 14px; }
#tm-site .tm-placement-malecon .tm-placement-meta > span { white-space: pre-line; }
#tm-site .tm-placement-malecon .tm-placement-copy > .tm-home-card-action {
  align-self: stretch;
  justify-content: center;
  width: 100%;
}
@media (min-width: 601px) {
  #tm-site .tm-placement-malecon .tm-placement-card {
    display: grid;
    grid-row: span 7;
    grid-template-rows: subgrid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }
  #tm-site .tm-placement-malecon .tm-placement-media { grid-row: 1; grid-column: 1; }
  #tm-site .tm-placement-malecon .tm-placement-card .tm-placement-copy {
    display: grid;
    grid-row: 2 / span 6;
    grid-column: 1;
    grid-template-rows: subgrid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  #tm-site .tm-placement-malecon .tm-placement-copy > h3 { grid-row: 1; }
  #tm-site .tm-placement-malecon .tm-placement-copy > p:not(.tm-placement-meta) { grid-row: 2; }
  #tm-site .tm-placement-malecon .tm-placement-copy > .tm-card-zone { grid-row: 3; }
  #tm-site .tm-placement-malecon .tm-placement-copy > .tm-placement-metadata { grid-row: 4; }
  #tm-site .tm-placement-malecon .tm-placement-copy > .tm-placement-contact { grid-row: 5; }
  #tm-site .tm-placement-malecon .tm-malecon-vacancy { grid-row: 1 / 6; }
  #tm-site .tm-placement-malecon .tm-placement-copy > .tm-home-card-action { grid-row: 6; align-self: start; }
}
#tm-site .tm-business-dialog .tm-home-business-amenities > li { display: block; padding: 12px 14px; }
#tm-site .tm-home-business-amenities h4 { margin: 0 0 6px; font-size: 15px; }
#tm-site .tm-home-business-amenities ul { margin: 0; padding-inline-start: 16px; list-style: disc; }
#tm-site .tm-business-dialog .tm-home-business-amenities ul li {
  display: list-item;
  min-height: 0;
  padding: 3px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
@media (min-width: 601px) {
  #tm-site .tm-business-dialog .tm-home-business-amenities { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
#tm-site .tm-placement-imperdibles .tm-placement-grid { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; }
#tm-site .tm-placement-imperdibles .tm-placement-card { display: grid; grid-template-columns: 48% minmax(0,1fr); }
#tm-site .tm-placement-imperdibles .tm-placement-card .tm-placement-media { height: auto; aspect-ratio: auto; align-self: stretch; }
#tm-site .tm-placement-imperdibles .tm-placement-card .tm-placement-media > img { position: absolute; inset: 0; }
#tm-site .tm-placement-imperdibles .tm-placement-card .tm-home-brand { bottom: 8px; }
#tm-site .tm-placement-imperdibles .tm-placement-card .tm-placement-copy { padding-inline-start: 18px; text-align: left; }

/* The original Home card rules supply the media, details, prices and CTA. */
#tm-site .tm-legacy-grid { align-items: stretch; }
#tm-site :is(.tm-placement-directory,.tm-placement-events) .tm-legacy-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
#tm-site .tm-legacy-card { min-width: 0; }
#tm-site .tm-legacy-card .tm-home-card-action { min-width: 0; white-space: normal; }
#tm-site .tm-legacy-card .tm-card-zone { flex-wrap: wrap; }
#tm-site .tm-legacy-card .tm-vacancy-claim { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; align-self: flex-start; color: #006786; font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
#tm-site .tm-legacy-card.tm-offer-card--featured .tm-vacancy-claim { color: #fff; }
#tm-site .tm-legacy-card.tm-offer-card--featured .tm-home-card-action { align-self: flex-start; }
#tm-site .tm-legacy-card .tm-event-date--home {
  width: max-content;
  min-width: 74px;
  max-width: calc(100% - 26px);
  min-height: 56px;
  padding: 8px 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}
#tm-site .tm-legacy-card .tm-event-date--home strong { font-size: 16px; line-height: 1.15; }
#tm-site .tm-legacy-card .tm-event-content h3 { font-size: 21px; }
#tm-site .tm-page-home .tm-legacy-card[data-home-available] .tm-event-content { display: flex; flex-direction: column; gap: 8px; }
#tm-site .tm-page-home .tm-legacy-card[data-home-available] .tm-event-content > :is(h3,p) { min-height: 0; flex: none; margin: 0; }
#tm-site :is(.tm-placement-directory,.tm-placement-events) .tm-placement-actions { flex-direction: column; align-items: flex-start; }
#tm-site .tm-placement-events .tm-placement-fields[open] { flex-basis: auto; width: 100%; }
#tm-site .tm-placement-classifieds .tm-placement-actions {
  --placement-action-gap: 6px;
  --placement-action-height: 44px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  column-gap: var(--placement-action-gap);
  align-items: start;
  min-width: 0;
}
#tm-site .tm-placement-classifieds .tm-placement-actions > .tm-home-card-action {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  width: 100%;
}
#tm-site .tm-placement-classifieds .tm-placement-actions > .tm-home-card-action .tm-icon { display: none; }
#tm-site .tm-placement-classifieds .tm-placement-actions > .tm-placement-fields {
  grid-area: 1 / 1 / auto / -1;
  width: 100%;
}
#tm-site .tm-placement-classifieds .tm-placement-actions .tm-home-card-action {
  min-height: var(--placement-action-height);
  padding: 5px 6px;
  border-radius: 9px;
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}
#tm-site .tm-placement-classifieds .tm-placement-fields > summary {
  margin-inline-start: calc(50% + var(--placement-action-gap) / 2);
  min-height: var(--placement-action-height);
}
#tm-site .tm-placement-classifieds .tm-placement-field-content {
  margin-top: 8px;
  padding: 9px;
  border: 1px solid #dbe8ed;
  border-radius: 9px;
  background: #f3fafc;
  text-align: left;
  overflow-wrap: anywhere;
}
#tm-site .tm-placement-classifieds .tm-placement-field-content p { margin: 0; }
#tm-site .tm-legacy-card .tm-card-zone-action[aria-disabled="true"] { cursor: default; }

#tm-site .tm-placement-section .tm-tour-carousel-track {
  --tour-gap: 18px;
  --visible-cards: 5;
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--visible-cards) - 1) * var(--tour-gap)) / var(--visible-cards));
  align-items: stretch;
  gap: var(--tour-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-block: 4px 12px;
}
#tm-site .tm-placement-tours .tm-tour-carousel-track { --visible-cards: 4; }
#tm-site .tm-tour-carousel-track > article { scroll-snap-align: start; }
#tm-site .tm-tour-carousel-controls:not([hidden]) { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 4px; }
#tm-site .tm-tour-carousel-controls > button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #006a87; border-radius: 50%; background: #007997; color: #fff; font-size: 17px; cursor: pointer; }
#tm-site .tm-tour-carousel-controls > button:hover:not(:disabled) { background: #005672; }
#tm-site .tm-tour-carousel-controls > button:disabled { color: #52707e; background: #edf5f8; border-color: #bfd8e2; cursor: default; }
#tm-site .tm-tour-carousel-controls > span { min-width: 105px; padding: 8px 12px; border-radius: 999px; background: #e8f7fa; text-align: center; font-size: 15px; font-weight: 800; color: #073e58; font-variant-numeric: tabular-nums; }
#tm-site .tm-legacy-card .tm-tour-footer { flex-wrap: wrap; gap: 9px; }
#tm-site .tm-placement-tours [data-home-available] .tm-tour-footer { flex-direction: column; align-items: flex-start; }
#tm-site .tm-placement-tours .tm-tour-meta > span { font-size: 14px; }
#tm-site .tm-legacy-card .tm-tour-price strong { font-size: 14px; }
#tm-site .tm-legacy-card .tm-tour-content > .tm-vacancy-claim { margin-top: 5px; }
#tm-site .tm-legacy-card .tm-event-content > .tm-vacancy-claim { min-height: 36px; }
#tm-site :is(#tm-home-detail-dialog,#tm-business-dialog) [hidden] { display: none !important; }

#tm-site .tm-placement-restaurants .tm-placement-card { border-radius: 22px 22px 12px 12px; }
#tm-site .tm-placement-restaurants .tm-placement-media { aspect-ratio: 1.6; }
#tm-site .tm-placement-restaurants .tm-placement-copy { text-align: center; align-items: center; }
#tm-site .tm-placement-restaurants .tm-placement-actions { justify-content: center; }
#tm-site .tm-placement-restaurants .tm-vacancy-meta { align-self: stretch; text-align: left; }
#tm-site :is(.tm-placement-restaurants,.tm-placement-55) .tm-placement-fields { text-align: left; }
/* Lodging pairs panoramic photos with a calm, clean listing. */
#tm-site .tm-placement-stays .tm-placement-card { background: #fff; border-color: #cbdee7; border-radius: 15px; }
#tm-site .tm-placement-stays .tm-placement-card .tm-placement-media { aspect-ratio: 1.38; }
#tm-site .tm-placement-stays .tm-placement-card .tm-placement-copy { border-top: 3px solid #8bd3d7; }
#tm-site .tm-placement-stays .tm-placement-actions { margin-top: auto; }

/* A compact neighborhood directory with a horizontal reading order. */
#tm-site .tm-placement-centro .tm-placement-grid { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: 10px; padding: 12px; border: 1px solid #d1e6ee; border-radius: 19px; background: #edf6f9; }
#tm-site .tm-placement-centro .tm-placement-card { display: grid; grid-template-columns: 49% minmax(0,1fr); align-items: stretch; border-radius: 11px; background: #fff; box-shadow: none; }
#tm-site .tm-placement-centro .tm-placement-card .tm-placement-media { aspect-ratio: auto; height: 100%; overflow: hidden; }
#tm-site .tm-placement-centro .tm-placement-media > img { position: absolute; inset: 0; }
#tm-site .tm-placement-centro .tm-placement-media > .tm-home-brand { bottom: 8px; }
#tm-site .tm-placement-centro .tm-placement-copy > .tm-home-category { align-self: flex-start; margin: 0 0 2px; padding: 3px 7px; font-size: 10px; }
#tm-site .tm-placement-centro .tm-placement-card .tm-placement-copy { padding: 12px 14px; }

#tm-site .tm-placement-casitas .tm-placement-card { border-radius: 42px 42px 14px 14px; }
#tm-site .tm-placement-casitas .tm-placement-card .tm-placement-media { aspect-ratio: 1.7; }
#tm-site .tm-placement-casitas .tm-placement-card:nth-child(even) { margin-top: 19px; }

/* Small community features arranged around a photo inset. */
#tm-site .tm-placement-55 .tm-placement-grid { align-items: stretch; }
#tm-site .tm-placement-55 .tm-placement-card { padding: 10px; border-color: #bcdce2; border-radius: 15px; background: #f5fbfd; box-shadow: none; }
#tm-site .tm-placement-55 .tm-placement-card .tm-placement-media { aspect-ratio: 1.72; }
#tm-site .tm-placement-55 .tm-placement-media > img { border-radius: 8px; }
#tm-site .tm-placement-55 .tm-placement-media > .tm-home-brand { left: 50%; translate: -50% 0; bottom: -18px; }
#tm-site .tm-placement-55 .tm-placement-card .tm-placement-copy { align-items: center; padding: 24px 3px 5px; text-align: center; }
#tm-site .tm-placement-55 .tm-placement-actions { justify-content: center; }

#tm-site .tm-placement-classifieds .tm-placement-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
#tm-site .tm-placement-classifieds .tm-placement-card { border-radius: 12px; display: grid; grid-template-columns: 48% minmax(0,1fr); }
#tm-site .tm-placement-classifieds .tm-placement-card .tm-placement-media { aspect-ratio: auto; height: 100%; min-height: 170px; }
#tm-site .tm-placement-classifieds .tm-placement-media > img { position: absolute; inset: 0; }
#tm-site .tm-placement-classifieds .tm-placement-card .tm-placement-copy { justify-content: center; padding: 12px; gap: 8px; }
#tm-site .tm-placement-classifieds .tm-placement-copy > h3 { min-height: 0; }
#tm-site .tm-placement-classifieds [data-home-available] > .tm-placement-media { grid-row: 1 / 3; }
#tm-site .tm-placement-classifieds [data-home-available] > .tm-placement-actions { grid-column: 2; margin: 0 12px 12px; }
#tm-site .tm-placement-classifieds .tm-placement-card .tm-home-brand { bottom: 8px; }
/* Equal editorial cards stay in a single row. */
#tm-site .tm-home-news-section .tm-home-news-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
#tm-site .tm-home-news-grid .tm-home-news-content { padding: clamp(14px, 1.4vw, 20px); }
#tm-site .tm-home-news-grid .tm-home-news-content h3 { min-height: 0; font-size: clamp(17px, 1.55vw, 21px); line-height: 1.3; }
#tm-site .tm-home-news-grid .tm-home-news-content p { display: block; overflow: visible; margin: 10px 0 16px; }
#tm-site .tm-home-news-grid .tm-home-news-meta { gap: 5px 8px; }


@media (max-width: 1100px) {
  #tm-site :is(.tm-placement-directory,.tm-placement-events) .tm-legacy-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  #tm-site .tm-placement-grid:not(.tm-tour-carousel-track) { grid-template-columns: repeat(3,minmax(0,1fr)); }
  #tm-site .tm-placement-section .tm-tour-carousel-track { --visible-cards: 2; }
  #tm-site .tm-placement-section :is(.tm-tour-carousel-track) { --tour-gap: 13px; }
  #tm-site :is(.tm-placement-best,.tm-placement-centro,.tm-placement-imperdibles) .tm-placement-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #tm-site .tm-placement-classifieds .tm-placement-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #tm-site .tm-placement-casitas .tm-placement-card:nth-child(even) { margin-top: 0; }
}
@media (max-width: 700px) {
  #tm-site .tm-home-news-section .tm-home-news-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(87%, 365px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding-bottom: 9px;
  }
  #tm-site .tm-home-news-grid > .tm-home-news-card { scroll-snap-align: start; }
}
@media (max-width: 760px) {
  #tm-site .tm-placement-classifieds .tm-placement-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 600px) {
  #tm-site .tm-placement-section .tm-tour-carousel-track { --visible-cards: 1; }
  #tm-site .tm-legacy-card .tm-event-content h3 { font-size: 20px; }
  #tm-site .tm-placement-imperdibles .tm-placement-card { display: flex; }
  #tm-site .tm-placement-imperdibles .tm-placement-card .tm-placement-media { aspect-ratio: 2.15; }
  #tm-site .tm-placement-imperdibles .tm-placement-card .tm-home-brand { bottom: -12px; }
  #tm-site .tm-placement-heading--wide { grid-template-columns: minmax(0, 1fr); }
  #tm-site .tm-placement-heading--wide > p { grid-row: 2; }
  #tm-site .tm-placement-section .tm-placement-grid:not(.tm-tour-carousel-track),
  #tm-site :is(.tm-placement-directory,.tm-placement-events) .tm-legacy-grid { grid-template-columns: minmax(0,1fr); gap: 13px; }
  #tm-site .tm-placement-malecon .tm-placement-card .tm-placement-media { aspect-ratio: 1.8; }
  #tm-site .tm-placement-section .tm-placement-card { grid-column: auto; grid-row: auto; }
  #tm-site .tm-placement-classifieds [data-home-available] > .tm-placement-media { grid-row: 1; }
  #tm-site .tm-placement-classifieds [data-home-available] > .tm-placement-actions {
    grid-column: 1 / -1;
    margin: 0;
    padding: 10px 12px 12px;
    border-top: 1px solid #dbe8ed;
  }
}
@media (max-width: 360px) {
  #tm-site .tm-placement-classifieds .tm-placement-actions { --placement-action-height: 50px; }
}
