/* Room detail reference layout. All rules are scoped to this template. */
.tn-room {
  --room-accent: var(--color-brand);
  --room-ink: var(--color-heading);
  --room-muted: var(--color-text-muted);
  --room-border: var(--color-border);
  max-width: var(--site-content-width);
  width: calc(100% - 64px);
  margin: 28px auto 64px;
  color: var(--room-ink);
  font-size: 16px;
  line-height: 1.65;
}
.tn-room,
.tn-room * {
  box-sizing: border-box;
}
.tn-room svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.tn-room h1,
.tn-room h2,
.tn-room h3 {
  color: var(--color-text);
  letter-spacing: -0.025em;
  font-weight: 750;
}
.tn-room h1 {
  font-size: 36px;
  line-height: 1.25;
  margin: 10px 0 0;
}
.tn-room h2 {
  font-size: 25px;
  line-height: 1.3;
  margin: 0 0 22px;
}
.tn-room h3 {
  font-size: 20px;
}
.tn-room a {
  color: inherit;
}
.tn-room button {
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
  min-height: 0;
  line-height: 1.4;
  margin: 0;
  cursor: pointer;
}
.tn-room button:focus-visible,
.tn-room a:focus-visible,
.tn-room summary:focus-visible {
  outline: 3px solid var(--color-border);
  outline-offset: 4px;
}
.tn-room-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.tn-room-stars {
  color: var(--color-accent);
  font-size: 20px;
  letter-spacing: 1px;
  line-height: 1;
}
.tn-room-actions {
  display: flex;
  gap: 12px;
}
.tn-room-actions button {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-surface);
  border: 1px solid var(--room-border);
  border-radius: 17px;
  padding: 13px 17px;
  color: var(--room-ink);
  font-size: 14px;
  font-weight: 650;
  box-shadow: 0 0 0 1px var(--color-primary);
}
.tn-room-actions svg {
  width: 18px;
  height: 18px;
}
.tn-room-actions [aria-pressed="true"] {
  color: var(--color-brand);
  background: var(--color-surface);
}
.tn-room-actions [aria-pressed="true"] svg {
  fill: var(--color-background);
}
.tn-room-gallery {
  height: 500px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--color-surface);
}
.tn-room-photo {
  border: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.tn-room-photo:first-child {
  grid-row: span 2;
}
.tn-room-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s;
}
.tn-room-photo:hover img {
  transform: scale(1.025);
}
.tn-room-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--color-text) 40%, transparent);
  color: var(--color-surface);
  font-size: 18px;
  font-weight: 700;
}
.tn-room-gallery[data-count="1"] {
  grid-template-columns: 1fr;
}
.tn-room-gallery[data-count="2"] {
  grid-template-columns: 1fr 1fr;
}
.tn-room-gallery[data-count="2"] .tn-room-photo {
  grid-row: span 2;
}
.tn-room-gallery[data-count="3"] {
  grid-template-columns: 2fr 1fr;
}
.tn-room-gallery[data-count="4"] .tn-room-photo:last-child {
  grid-column: span 2;
}
.tn-room-placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
  grid-column: 1/-1;
  grid-row: 1/-1;
}
.tn-room-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(340px, 1fr);
  gap: 40px;
  margin-top: 40px;
  align-items: start;
}
.tn-room-main,
.tn-room-sidebar {
  min-width: 0;
}
.tn-room-tabs {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  gap: 0;
  margin-bottom: 48px;
  overflow-x: auto;
}
.tn-room-tabs a {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  padding: 16px 24px;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  color: var(--color-text-muted);
}
.tn-room-tabs a.is-active {
  color: var(--room-accent);
  border-color: var(--room-accent);
}
.tn-room-section {
  margin-bottom: 48px;
  scroll-margin-top: 110px;
}
.tn-room-description,
.tn-room-contact-content {
  scroll-margin-top: 110px;
}
.tn-room-toc {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 32px;
  overflow: hidden;
  font-size: 14px;
}
.tn-room-toc summary {
  cursor: pointer;
  background: var(--color-surface);
  color: var(--color-secondary);
  font-weight: 700;
  padding: 13px 18px;
}
.tn-room-toc ol {
  border-top: 1px solid var(--color-border);
  padding: 12px 24px 12px 62px;
  margin: 0;
}
.tn-room-toc li {
  padding: 5px 0;
}
.tn-room-description h3 {
  color: var(--color-brand);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.tn-room-description {
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.tn-room-description img {
  max-width: 100%;
  height: auto;
}
.tn-room-description p {
  margin: 0 0 18px;
}
.tn-room-description ul {
  list-style: none;
  padding: 0;
}
.tn-room-description ul li {
  position: relative;
  padding-left: 30px;
  margin: 2px 0;
}
.tn-room-description ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 3px;
  background: var(--color-background);
  color: var(--color-surface-alt);
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
  font-size: 12px;
}
.tn-room-facts {
  margin: 0 0 20px;
}
.tn-room-facts > div {
  display: flex;
  gap: 6px;
}
.tn-room-facts dt {
  font-weight: 600;
}
.tn-room-facts dd {
  margin: 0;
}
.tn-room-contact-content {
  margin-top: 32px;
  color: var(--color-text-muted);
}
.tn-room-contact-content p {
  margin-bottom: 18px;
}
.tn-room-amenities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 18px;
}
.tn-room-amenities > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.tn-room-amenities > div > span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-surface);
  width: 42px;
  height: 42px;
  color: var(--room-accent);
}
.tn-room-policy {
  border-radius: 24px;
  background: var(--color-surface);
  padding: 32px;
}
.tn-room-policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.tn-room-policy-grid > div {
  display: flex;
  gap: 18px;
}
.tn-room-policy-grid svg {
  color: var(--color-surface-alt);
  margin-top: 4px;
}
.tn-room-policy-grid p {
  font-size: 14px;
  margin: 0;
}
.tn-room-policy-grid strong,
.tn-room-policy-grid span {
  display: block;
}
.tn-room-policy-grid span {
  color: var(--color-text-muted);
  margin-top: 2px;
}
.tn-room-booking,
.tn-room-quick {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 24px;
  background: var(--color-surface);
  box-shadow:
    0 12px 24px color-mix(in srgb, var(--color-primary) 2.75%, transparent),
    0 5px 9px color-mix(in srgb, var(--color-primary) 3.92%, transparent);
}
.tn-room-price {
  color: var(--color-brand);
  font-size: 26px;
  font-weight: 750;
  line-height: 1.25;
}
.tn-room-price del {
  display: block;
  font-size: 14px;
  color: var(--color-brand);
  font-weight: 400;
  margin-bottom: 4px;
}
.tn-room-price del:before {
  content: "Giá từ ";
  text-decoration: none;
}
.tn-room-price ins {
  background: none;
  color: inherit;
  text-decoration: none;
}
.tn-room-price small {
  font-size: 14px;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-left: 5px;
}
.tn-room-price .amount {
  color: inherit;
}
.tn-room-booking form.cart {
  margin: 24px 0 0;
  display: flex !important;
  flex-direction: column;
  align-items: stretch !important;
  width: 100%;
}
.tn-room-booking-fields {
  width: 100%;
  order: 0;
}
.tn-room-booking label {
  display: block;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-weight: 500;
}
.tn-room-total {
  grid-column: 1 / -1;
  padding: 14px 16px;
  margin: 0 0 18px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
}
.tn-room-total [hidden] { display: none !important; }
.tn-room-total > p { margin: 0; font-size: 13px; color: var(--color-text-muted); }
.tn-room-total small { display: block; font-size: 13px; color: var(--color-text-muted); }
.tn-room-total [data-room-total-details] p {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0 0;
  font-size: 14px;
}
.tn-room-total strong { color: var(--color-secondary); font-size: 23px; font-weight: 700; }
.tn-room-booking input:not([type="hidden"]),
.tn-room-booking select,
.tn-room-booking textarea {
  display: block;
  font: inherit;
  font-size: 14px;
  color: var(--color-text);
  width: 100%;
  max-width: 100%;
  height: 48px;
  border: 1px solid var(--room-border);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: none;
  padding: 10px 13px;
  margin: 5px 0 0;
}
.tn-room-booking input::placeholder,
.tn-room-booking textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 1;
}
.tn-room-booking input:focus,
.tn-room-booking select:focus,
.tn-room-booking textarea:focus {
  border-color: var(--room-accent);
  outline: 2px solid color-mix(in srgb, var(--color-border) 13.33%, transparent);
}
.tn-room-booking .tn-room-field {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 600;
}
.tn-room-booking textarea {
  height: 68px;
  resize: vertical;
}
.tn-room-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--room-border);
  border-radius: 8px;
  margin: 0 0 16px;
}
.tn-room-dates label {
  min-width: 0;
  font-size: 10px;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 12px;
  margin: 0;
}
.tn-room-dates label + label {
  border-left: 1px solid var(--room-border);
}
.tn-room-dates input {
  font-size: 15px !important;
  padding: 9px !important;
}
.tn-room-booking .quantity {
  display: none !important;
}
.tn-room-booking .single_add_to_cart_button {
  order: 2;
  float: none !important;
  width: 100%;
  display: block;
  margin: 4px 0 0 !important;
  background: var(--room-accent) !important;
  color: var(--color-surface) !important;
  border: 0;
  border-radius: 8px;
  padding: 17px !important;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 8px 12px color-mix(in srgb, var(--color-primary) 18.82%, transparent);
}
.tn-room-booking .single_add_to_cart_button:hover {
  background: var(--color-secondary) !important;
}
.tn-room-booking .woocommerce-variation-add-to-cart {
  display: flex;
  flex-direction: column;
}
.tn-room-booking .variations {
  font-size: 14px;
}
.tn-room-booking .variations td {
  padding: 4px;
}
.tn-room-no-charge {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
  margin: 16px 0 24px;
}
.tn-room-confirm {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
}
.tn-room-confirm > svg {
  color: var(--color-accent);
  border-radius: 50%;
  background: var(--color-background);
  box-sizing: content-box;
  padding: 12px;
  width: 18px;
  height: 18px;
}
.tn-room-confirm strong,
.tn-room-confirm span {
  display: block;
}
.tn-room-confirm span {
  color: var(--color-text-muted);
}
.tn-room-quick {
  margin-top: 24px;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--color-primary) 2.35%, transparent);
}
.tn-room-quick h3 {
  font-size: 16px;
  margin: 0 0 16px;
}
.tn-room-quick a {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-background);
  border-radius: 8px;
  padding: 14px;
  margin-top: 12px;
  color: var(--color-secondary);
  font-size: 12px;
}
.tn-room-quick a + a {
  background: var(--color-surface);
  color: var(--color-text-muted);
}
.tn-room-quick a > svg {
  color: var(--color-surface);
  background: var(--color-secondary);
  border-radius: 50%;
  padding: 10px;
  width: 42px;
  height: 42px;
}
.tn-room-quick a + a > svg {
  background: var(--color-text-muted);
}
.tn-room-quick a span {
  color: var(--color-text-muted);
}
.tn-room-quick strong {
  display: block;
  color: var(--color-secondary);
  font-size: 16px;
}
.tn-room-quick a + a strong {
  color: var(--color-text-muted);
}
.tn-room-related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.tn-room-card {
  border: 1px solid var(--room-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 2px 5px color-mix(in srgb, var(--color-primary) 2.35%, transparent);
}
.tn-room-card > a {
  display: block;
}
.tn-room-card > a img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.tn-room-card-body {
  padding: 12px 10px;
}
.tn-room-card .tn-room-stars {
  font-size: 15px;
}
.tn-room-card h3 {
  font-size: 19px;
  line-height: 1.35;
  margin: 8px 0 18px;
  min-height: 52px;
}
.tn-room-card-tags {
  font-size: 10px;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  background: var(--color-surface);
  border-radius: 6px;
  padding: 5px;
  margin-bottom: 18px;
}
.tn-room-card-tags span {
  color: var(--room-accent);
}
.tn-room-card-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}
.tn-room-card .tn-room-price {
  font-size: 19px;
}
.tn-room-card .tn-room-price del {
  font-size: 11px;
}
.tn-room-card .tn-room-price small {
  font-size: 10px;
}
.tn-room-book-link {
  background: var(--room-accent);
  color: var(--color-surface) !important;
  font-size: 13px;
  font-weight: 700;
  border-radius: 30px;
  padding: 10px 18px;
  white-space: nowrap;
}
.tn-room-lightbox {
  background: var(--color-text);
  color: var(--color-surface);
  border: 0;
  border-radius: 16px;
  width: min(1200px, 94vw);
  max-width: 94vw;
  padding: 56px 56px 40px;
}
.tn-room-lightbox::backdrop {
  background: color-mix(in srgb, var(--color-text) 86.67%, transparent);
}
.tn-room-lightbox[open] {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  gap: 12px;
  align-items: center;
}
.tn-room-lightbox img {
  max-height: 76vh;
  max-width: 100%;
  margin: auto;
  object-fit: contain;
}
.tn-room-lightbox button {
  background: transparent;
  border: 0;
  color: var(--color-surface);
  font-size: 38px;
  padding: 0;
}
.tn-room-lightbox-close {
  position: absolute;
  right: 20px;
  top: 8px;
}
.tn-room-lightbox > span {
  grid-column: 1/-1;
  text-align: center;
  font-size: 14px;
}
@media (min-width: 1500px) {
  .tn-room {
    margin-top: 32px;
  }
}
@media (max-width: 1100px) {
  .tn-room {
    width: calc(100% - 40px);
  }
  .tn-room-layout {
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 350px;
  }
  .tn-room-gallery {
    height: 420px;
  }
  .tn-room-amenities {
    grid-template-columns: repeat(3, 1fr);
  }
  .tn-room-tabs a {
    padding: 16px;
  }
  .tn-room-related {
    grid-template-columns: 1fr;
  }
  .tn-room-card {
    display: grid;
    grid-template-columns: 180px 1fr;
  }
  .tn-room-card > a img {
    height: 100%;
  }
  .tn-room-card h3 {
    min-height: 0;
  }
  .tn-room-booking {
    padding: 20px;
  }
}
@media (max-width: 800px) {
  .tn-room h1 {
    font-size: 28px;
  }
  .tn-room-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .tn-room-main,
  .tn-room-sidebar {
    width: 100%;
  }
  .tn-room-sidebar {
    order: -1;
    display: grid;
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .tn-room-quick {
    display: none;
  }
  .tn-room-booking {
    max-width: 100%;
  }
  .tn-room-gallery {
    height: 340px;
  }
  .tn-room-booking-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
  }
  .tn-room-dates,
  .tn-room-booking-fields > label:first-of-type,
  .tn-room-booking-fields > label:last-child {
    grid-column: 1/-1;
  }
  .tn-room-booking .single_add_to_cart_button {
    max-width: 100%;
  }
  .tn-room-tabs {
    margin-bottom: 32px;
  }
  .tn-room-related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tn-room-card {
    display: block;
  }
  .tn-room-card > a img {
    height: 150px;
  }
  .tn-room-card h3 {
    font-size: 16px;
  }
  .tn-room-card-bottom {
    flex-direction: column;
    align-items: start;
  }
  .tn-room-section {
    margin-bottom: 36px;
  }
  .tn-room-gallery[data-count="4"] .tn-room-photo:last-child {
    grid-column: auto;
  }
  .tn-room-gallery[data-count="4"] {
    grid-template-columns: 2fr 1fr;
  }
  .tn-room-gallery[data-count="4"] .tn-room-photo:nth-child(4) {
    display: none;
  }
}
@media (max-width: 540px) {
  .tn-room {
    width: calc(100% - 32px);
    margin-top: 20px;
  }
  .tn-room-heading {
    align-items: start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
  }
  .tn-room h1 {
    font-size: 27px;
  }
  .tn-room-actions button {
    padding: 9px 14px;
    border-radius: 12px;
  }
  .tn-room-stars {
    font-size: 18px;
  }
  .tn-room-gallery {
    height: 300px;
    grid-template-columns: 1fr !important;
    grid-template-rows: 1fr;
    border-radius: 18px;
  }
  .tn-room-photo:first-child {
    grid-row: auto;
  }
  .tn-room-photo:not(:first-child) {
    display: none;
  }
  .tn-room-gallery:has(.tn-room-photo:nth-child(2))
    .tn-room-photo:first-child:after {
    content: "Xem tất cả ảnh";
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 7px 12px;
    background: var(--color-surface);
    color: var(--color-text);
    font-size: 12px;
    border-radius: 8px;
  }
  .tn-room-layout {
    margin-top: 24px;
  }
  .tn-room-booking {
    padding: 20px;
    border-radius: 20px;
  }
  .tn-room-booking-fields {
    display: block;
  }
  .tn-room-tabs a {
    padding: 14px 16px;
  }
  .tn-room h2 {
    font-size: 23px;
  }
  .tn-room-amenities {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 12px;
  }
  .tn-room-policy {
    padding: 24px;
  }
  .tn-room-policy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .tn-room-related {
    grid-template-columns: 1fr;
  }
  .tn-room-card {
    display: block;
  }
  .tn-room-card > a img {
    height: 230px;
  }
  .tn-room-card-body {
    padding: 16px;
  }
  .tn-room-card h3 {
    font-size: 21px;
  }
  .tn-room-card-bottom {
    flex-direction: row;
    align-items: end;
  }
  .tn-room-card .tn-room-price {
    font-size: 23px;
  }
  .tn-room-lightbox {
    padding: 45px 8px 20px;
  }
  .tn-room-lightbox[open] {
    grid-template-columns: 26px minmax(0, 1fr) 26px;
    gap: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tn-room * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
/* Match the reference's compact prose and contact accents. */
.tn-room-description {
  color: var(--color-secondary);
}
.tn-room-description h4 {
  font-size: 16px;
  letter-spacing: 0;
  font-weight: 800;
  color: var(--color-secondary);
  margin: 20px 0 2px;
  text-transform: uppercase;
}
.tn-room-description h3#thong-tin-lien-he {
  color: var(--color-text-muted);
  margin-top: 28px;
  scroll-margin-top: 110px;
}
.tn-room-description a {
  color: var(--color-brand);
}
.tn-room-description a[href^="tel:"],
.tn-room-description a[href^="mailto:"] {
  color: var(--color-secondary);
}
.tn-room-quick a:nth-of-type(3) {
  background: var(--color-surface);
  color: var(--color-text-muted);
}
.tn-room-quick a:nth-of-type(3) > svg {
  background: var(--color-text-muted);
}
.tn-room-quick a:nth-of-type(3) strong {
  color: var(--color-text-muted);
}
.tn-room-toc summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tn-room-toc summary:after {
  content: "⌄";
  color: var(--color-surface-alt);
}
.tn-room-toc summary::-webkit-details-marker {
  display: none;
}
.tn-room-toc ol {
  list-style: none;
  counter-reset: toc;
  padding-left: 48px;
}
.tn-room-toc li {
  counter-increment: toc;
  display: flex;
  gap: 12px;
  align-items: center;
}
.tn-room-toc li:before {
  content: counter(toc);
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  background: var(--color-background);
  border-radius: 50%;
  color: var(--color-text-muted);
  font-size: 12px;
}
/* Reset Flatsome's generic aside styling around the custom booking cards. */
.tn-room .tn-room-sidebar {
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  background: none;
  box-shadow: none;
}
.tn-room-description {
  line-height: 1.6;
}
.tn-room-description p {
  margin-bottom: 16px;
}
.tn-room-description ul li {
  margin: 0;
}
.tn-room-booking .tn-room-field {
  line-height: 1.4;
  margin-bottom: 12px;
}
.tn-room-booking textarea {
  min-height: 68px;
  height: 68px;
}
.tn-room-booking input:not([type="hidden"]),
.tn-room-booking select {
  height: 48px;
}
.tn-room-related-section {
  grid-column: 1 / -1;
  min-width: 0;
  width: 100%;
}
.tn-room-related-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.tn-room-related-heading h2 { margin-bottom: 0; }
.tn-room-related-controls:not([hidden]) { display: flex; gap: 8px; }
.tn-room-related-controls button {
  display: grid;
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 0;
  margin: 0;
  padding: 0;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-brand);
  font-size: 26px;
  line-height: 1;
}
.tn-room-related-controls button:hover {
  background: var(--color-brand);
  color: var(--color-surface);
}
.tn-room-related-section .tn-room-related {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 0 10px;
}
.tn-room-related-section .tn-room-related::-webkit-scrollbar { display: none; }
.tn-room-related-section .tn-room-card {
  display: flex;
  flex: 0 0 calc((100% - 60px) / 4);
  flex-direction: column;
  min-width: 0;
  scroll-snap-align: start;
  background: var(--color-surface);
}
.tn-room-related-section .tn-room-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 16px 12px;
}
.tn-room-related-section .tn-room-card h3 { font-size: 17px; }
.tn-room-related-section .tn-room-card-bottom {
  flex-direction: row;
  align-items: center;
  margin-top: auto;
}
.tn-room-related-section .tn-room-card > a img { height: 200px; }
.tn-room-related-section .tn-room-related:focus-visible,
.tn-room-related-controls button:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
}
@media (max-width: 1100px) {
  .tn-room-related-section .tn-room-card { flex-basis: calc((100% - 40px) / 3); }
}
@media (max-width: 850px) {
  .tn-room-related-section .tn-room-card { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 550px) {
  .tn-room-related-section .tn-room-card { flex-basis: 100%; }
}
