/* Rooms Page Styles - Page ID 29
 * Structure: Cover + Group + Columns (siblings under article)
 * Note: .section-title comes BEFORE cover, so never use :first-child for cover
 */

/* ---------- Base layout ---------- */
body.page-id-29 .section-title {
  display: none !important;
}

body.page-id-29 main#main-content {
  padding: 0 !important;
}

body.page-id-29 main#main-content > .container {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.page-id-29 article {
  width: 100% !important;
  max-width: none !important;
  overflow-x: clip;
}

/* ---------- Hero Cover (first cover, NOT first-child of article) ---------- */
body.page-id-29 article > .wp-block-cover:first-of-type {
  width: 100vw !important;
  max-width: none !important;
  min-height: 100vh !important;
  position: relative !important;
  left: 50% !important;
  right: auto !important;
  margin: 0 0 0 -50vw !important;
  padding: 140px 24px 80px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

body.page-id-29 article > .wp-block-cover:first-of-type .wp-block-cover__image-background {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 0 !important;
}

body.page-id-29 article > .wp-block-cover:first-of-type .wp-block-cover__background {
  z-index: 1 !important;
  opacity: 0.55 !important;
  background: #000 !important;
}

body.page-id-29 article > .wp-block-cover:first-of-type .wp-block-cover__inner-container {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  text-align: center !important;
}

/* Override WP constrained layout left-align on hero text */
body.page-id-29 article > .wp-block-cover:first-of-type .wp-block-cover__inner-container > * {
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

body.page-id-29 article > .wp-block-cover:first-of-type h1 {
  font-size: clamp(42px, 6vw, 80px) !important;
  line-height: 1.08 !important;
  margin: 0 0 22px !important;
  color: #fff !important;
  font-family: Anton, Impact, sans-serif !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  text-align: center !important;
}

body.page-id-29 article > .wp-block-cover:first-of-type p {
  font-size: 20px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  color: #fff !important;
  font-family: Heebo, Arial, sans-serif !important;
  font-weight: 600 !important;
  text-align: center !important;
}

/* ---------- Full-bleed Group sections ---------- */
body.page-id-29 article > .wp-block-group {
  width: 100vw !important;
  max-width: none !important;
  position: relative !important;
  left: 50% !important;
  margin: 0 0 0 -50vw !important;
  padding: 90px 24px !important;
  box-sizing: border-box !important;
  background: #222 !important;
}

body.page-id-29 article > .wp-block-group > .wp-block-group__inner-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Alternating group backgrounds when stacked */
body.page-id-29 article > .wp-block-group + .wp-block-group {
  background: #2a2a2a !important;
}

body.page-id-29 article > .wp-block-group + .wp-block-group + .wp-block-group {
  background: #222 !important;
}

/* ---------- Top-level Columns: content ~1200px, background full-bleed ---------- */
body.page-id-29 article > .wp-block-columns {
  position: relative !important;
  width: calc(100% - 48px) !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 90px 0 !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  gap: 60px !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

/* Full-bleed bg strip behind columns only */
body.page-id-29 article > .wp-block-columns::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  z-index: 0;
  pointer-events: none;
  background: #2a2a2a;
}

/* Alternate column section colors */
body.page-id-29 article > .wp-block-columns:nth-of-type(odd)::before {
  background: #2a2a2a;
}

body.page-id-29 article > .wp-block-columns:nth-of-type(even)::before {
  background: #222;
}

/* More reliable alternate using adjacent siblings */
body.page-id-29 article > .wp-block-columns::before {
  background: #2a2a2a;
}

body.page-id-29 article > .wp-block-columns + .wp-block-columns::before {
  background: #222;
}

body.page-id-29 article > .wp-block-columns + .wp-block-columns + .wp-block-columns::before {
  background: #2a2a2a;
}

body.page-id-29 article > .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns::before {
  background: #222;
}

body.page-id-29 article > .wp-block-columns > * {
  position: relative;
  z-index: 1;
}

body.page-id-29 .wp-block-column {
  min-width: 0;
  flex: 1 1 45%;
}

/* ---------- Images ---------- */
body.page-id-29 .wp-block-column .wp-block-image {
  margin: 0 !important;
  overflow: hidden;
  border-radius: 4px;
}

body.page-id-29 .wp-block-column .wp-block-image img {
  width: 100% !important;
  height: auto !important;
  display: block;
  object-fit: cover !important;
  transition: transform 0.6s ease, opacity 0.6s ease !important;
  transform: scale(1);
}

body.page-id-29 .wp-block-column .wp-block-image:hover img {
  transform: scale(1.05) !important;
  opacity: 0.92 !important;
}

/* ---------- Typography ---------- */
body.page-id-29 .wp-block-group h2,
body.page-id-29 .wp-block-columns h2 {
  font-size: clamp(34px, 4.5vw, 56px) !important;
  line-height: 1.12 !important;
  margin: 0 0 18px !important;
  color: #fdc502 !important;
  font-family: Anton, Impact, sans-serif !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
}

body.page-id-29 .wp-block-group h3,
body.page-id-29 .wp-block-columns h3 {
  font-size: clamp(20px, 2.5vw, 28px) !important;
  line-height: 1.3 !important;
  margin: 28px 0 16px !important;
  color: #fdc502 !important;
  font-family: Anton, Impact, sans-serif !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
}

body.page-id-29 .wp-block-group p,
body.page-id-29 .wp-block-columns p {
  font-size: 17px !important;
  line-height: 1.65 !important;
  margin: 0 0 18px !important;
  color: #fff !important;
  font-family: Heebo, Arial, sans-serif !important;
  font-weight: 400 !important;
}

body.page-id-29 .wp-block-group p strong,
body.page-id-29 .wp-block-columns p strong {
  color: #fdc502 !important;
  font-weight: 700 !important;
}

body.page-id-29 article > .wp-block-group:first-of-type p {
  font-size: 18px !important;
  max-width: 900px;
}

/* ---------- Lists ---------- */
body.page-id-29 .wp-block-group ul,
body.page-id-29 .wp-block-columns ul {
  list-style: none !important;
  margin: 18px 0 28px !important;
  padding-left: 8px !important;
}

body.page-id-29 .wp-block-group ul li,
body.page-id-29 .wp-block-columns ul li {
  position: relative;
  padding-left: 22px !important;
  margin-bottom: 12px !important;
  font-size: 17px !important;
  line-height: 1.6 !important;
  color: #fff !important;
  font-family: Heebo, Arial, sans-serif !important;
}

body.page-id-29 .wp-block-group ul li::before,
body.page-id-29 .wp-block-columns ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #fdc502;
  font-size: 20px;
  line-height: 1.2;
}

/* ---------- Buttons ---------- */
body.page-id-29 .wp-block-buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  margin-top: 28px !important;
}

body.page-id-29 .wp-block-button__link {
  border: 1px solid #fdc502 !important;
  border-radius: 0 !important;
  background: #fdc502 !important;
  color: #000 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  font-family: Heebo, Arial, sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  padding: 13px 25px !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  height: auto !important;
  display: inline-block !important;
  transition: all 0.3s ease !important;
  transform: translateY(0);
  cursor: pointer;
}

body.page-id-29 .wp-block-button__link:hover,
body.page-id-29 .wp-block-button__link:focus {
  background: #fff !important;
  border-color: #fff !important;
  color: #000 !important;
  box-shadow: 0 4px 12px rgba(253, 197, 2, 0.3) !important;
  transform: translateY(-2px) !important;
}

body.page-id-29 .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  border: 1px solid #fdc502 !important;
  color: #fdc502 !important;
}

body.page-id-29 .wp-block-button.is-style-outline .wp-block-button__link:hover,
body.page-id-29 .wp-block-button.is-style-outline .wp-block-button__link:focus {
  background: #fdc502 !important;
  color: #000 !important;
}

/* Contact group buttons */
body.page-id-29 article > .wp-block-group:last-of-type .wp-block-buttons {
  margin-top: 32px !important;
}

/* Hide empty trailing paragraph */
body.page-id-29 article > p:empty,
body.page-id-29 article > .wp-block-paragraph:empty {
  display: none !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  body.page-id-29 article > .wp-block-group {
    padding: 70px 24px !important;
  }

  body.page-id-29 article > .wp-block-columns {
    padding: 70px 0 !important;
    gap: 40px !important;
  }

  body.page-id-29 article > .wp-block-cover:first-of-type {
    min-height: 90vh !important;
    padding: 120px 24px 70px !important;
  }
}

@media (max-width: 768px) {
  body.page-id-29 article > .wp-block-group {
    padding: 60px 24px !important;
  }

  body.page-id-29 article > .wp-block-columns {
    width: calc(100% - 48px) !important;
    padding: 60px 0 !important;
    flex-direction: column !important;
    gap: 32px !important;
  }

  body.page-id-29 .wp-block-column {
    flex: 1 1 100% !important;
    flex-basis: 100% !important;
  }

  body.page-id-29 article > .wp-block-cover:first-of-type {
    min-height: 80vh !important;
    padding: 100px 24px 60px !important;
  }

  body.page-id-29 article > .wp-block-cover:first-of-type h1 {
    font-size: clamp(36px, 10vw, 56px) !important;
  }

  body.page-id-29 .wp-block-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body.page-id-29 .wp-block-button,
  body.page-id-29 .wp-block-button__link {
    width: 100% !important;
    text-align: center !important;
  }
}
