/* QAS Mobile Comfort 1.1.0: Twenty Twenty-Four only. No desktop, print or admin rules. */
@media screen and (max-width: 767px) {
  body.qas-mobile-comfort.wp-theme-twentytwentyfour {
    font-size: 1.125rem;
    line-height: 1.6;
  }

  body.qas-mobile-comfort.wp-theme-twentytwentyfour .wp-site-blocks,
  body.qas-mobile-comfort.wp-theme-twentytwentyfour main {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  /* Verified long header titles include the hotel phone number. */
  body.qas-mobile-comfort.wp-theme-twentytwentyfour .wp-block-site-title,
  body.qas-mobile-comfort.wp-theme-twentytwentyfour .wp-block-site-title a {
    font-size: 1rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  body.qas-mobile-comfort.wp-theme-twentytwentyfour main .wp-block-heading:is(h1),
  body.qas-mobile-comfort.wp-theme-twentytwentyfour main h1 {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  body.qas-mobile-comfort.wp-theme-twentytwentyfour main .wp-block-heading:is(h2),
  body.qas-mobile-comfort.wp-theme-twentytwentyfour main h2 {
    font-size: clamp(1.3rem, 5vw, 1.65rem) !important;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  body.qas-mobile-comfort.wp-theme-twentytwentyfour main .wp-block-heading:is(h3),
  body.qas-mobile-comfort.wp-theme-twentytwentyfour main h3 {
    font-size: clamp(1.15rem, 4.5vw, 1.4rem) !important;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  body.qas-mobile-comfort.wp-theme-twentytwentyfour main p {
    line-height: 1.6;
  }

  body.qas-mobile-comfort.wp-theme-twentytwentyfour main .wp-block-columns:not(.is-not-stacked-on-mobile) {
    gap: 1.5rem;
  }

  body.qas-mobile-comfort.wp-theme-twentytwentyfour main .wp-block-column {
    min-width: 0;
  }

  /* Overrides the verified inline width:510px hotel photo without clipping the photo. */
  body.qas-mobile-comfort.wp-theme-twentytwentyfour main img,
  body.qas-mobile-comfort.wp-theme-twentytwentyfour main .wp-block-image,
  body.qas-mobile-comfort.wp-theme-twentytwentyfour main .wp-block-image img,
  body.qas-mobile-comfort.wp-theme-twentytwentyfour main .wp-block-gallery img,
  body.qas-mobile-comfort.wp-theme-twentytwentyfour main table,
  body.qas-mobile-comfort.wp-theme-twentytwentyfour main iframe {
    max-width: 100% !important;
  }

  body.qas-mobile-comfort.wp-theme-twentytwentyfour main img,
  body.qas-mobile-comfort.wp-theme-twentytwentyfour main .wp-block-image img {
    height: auto !important;
  }

  body.qas-mobile-comfort.wp-theme-twentytwentyfour main iframe[src*="google.com/maps/embed"] {
    width: 100%;
    height: clamp(15rem, 65vw, 22.5rem);
  }

  body.qas-mobile-comfort.wp-theme-twentytwentyfour main .wp-block-buttons {
    gap: 0.75rem;
  }

  body.qas-mobile-comfort.wp-theme-twentytwentyfour main .wp-block-button {
    max-width: 100%;
  }

  body.qas-mobile-comfort.wp-theme-twentytwentyfour main .wp-block-button__link {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    max-width: 100%;
    padding: 0.85rem 1.15rem;
    white-space: normal;
  }

  /* Larger tap target only; does not replace core responsive navigation. */
  body.qas-mobile-comfort.wp-theme-twentytwentyfour .wp-block-navigation__responsive-container-open,
  body.qas-mobile-comfort.wp-theme-twentytwentyfour .wp-block-navigation__responsive-container-close {
    min-width: 44px;
    min-height: 44px;
    box-sizing: border-box;
  }

  body.qas-mobile-comfort.wp-theme-twentytwentyfour .wp-block-navigation.has-small-font-size {
    font-size: 1rem;
    line-height: 1.5;
  }

  body.qas-mobile-comfort.wp-theme-twentytwentyfour .wp-block-navigation-item__content {
    padding-block: 0.35rem;
  }

  /* Keep existing bold weight and red date color from the live banner. */
  body.qas-mobile-comfort.wp-theme-twentytwentyfour main .qas-fully-booked,
  body.qas-mobile-comfort.wp-theme-twentytwentyfour main #qas-six-month-banner {
    font-size: 1rem;
    line-height: 1.5;
    padding-block: 0.75rem;
    overflow-wrap: anywhere;
    white-space: normal;
  }
}
