/* CHẠM theme additions. Base guest styles remain in style.css. */
.site-nav-dark {
  position: relative;
  color: var(--olive-dark);
  background: var(--cream);
}
.site-nav-dark .nav-book {
  border-color: rgba(53, 67, 53, 0.35);
}
.site-nav-dark .nav-links a {
  color: var(--olive-dark);
}
.site-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
}
.site-brand .custom-logo {
  width: auto;
  max-width: 170px;
  max-height: 48px;
}
.nav-links .menu,
.mobile-nav .menu,
.footer-grid .menu {
  display: contents;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links .menu-item,
.mobile-nav .menu-item,
.footer-grid .menu-item {
  list-style: none;
}
.mobile-nav[hidden] {
  display: none;
}
.mobile-nav {
  background: var(--paper);
}
.mobile-nav .menu {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 24px;
}
.mobile-nav a {
  color: var(--olive-dark);
}
.footer-grid .menu {
  display: block;
}
.footer-grid .menu-item {
  margin: 0 0 9px;
}
.footer-tagline {
  max-width: 250px;
  margin-top: 18px !important;
}
.floating-links {
  position: fixed;
  z-index: 20;
  right: 20px;
  bottom: 20px;
  display: flex;
  gap: 8px;
}
.floating-links .floating-contact {
  position: static;
}
.content-loop {
  padding-top: 64px;
  padding-bottom: 110px;
}
.content-entry {
  background: var(--paper);
  padding: clamp(26px, 5vw, 64px);
  margin-bottom: 24px;
}
.entry-content {
  color: var(--ink);
  line-height: 1.8;
}
.entry-content a {
  color: var(--olive);
  text-decoration: underline;
}
.entry-content img {
  max-width: 100%;
  height: auto;
}
.entry-meta {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.fallback-hero {
  margin-bottom: 0;
}
.pagination {
  margin-top: 32px;
}
.pagination .nav-links {
  display: flex;
  gap: 12px;
}
.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.empty-state {
  margin: 38px 0 110px;
}
.room-catalog {
  min-height: 300px;
}
.media-empty {
  min-height: 330px;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  background: #e5ebdf;
  text-align: center;
}
.gallery-thumbs {
  position: absolute;
  z-index: 2;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.gallery-thumbs button {
  width: 48px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(39, 49, 40, 0.35);
  overflow: hidden;
}
.gallery-thumbs button[aria-pressed="true"] {
  border: 2px solid #fff;
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.room-wide-image,
.single-room-gallery {
  position: relative;
  background: #e5ebdf;
}
.amenity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.price-prefix {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}
.room-wide-footer strong,
.single-room-price strong {
  display: block;
  color: var(--olive-dark);
  font-size: 1.05rem;
}
.room-wide-footer small,
.single-room-price small {
  color: var(--muted);
  font-weight: 400;
}
.service-contact {
  margin-top: 20px;
  align-self: flex-start;
}
.single-room,
.single-service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 7vw, 100px);
  padding-top: 72px;
  padding-bottom: 110px;
  align-items: center;
}
.single-room-gallery {
  min-height: 560px;
}
.single-room-gallery > img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}
.single-room-copy,
.single-service-copy {
  background: var(--paper);
  padding: clamp(28px, 5vw, 62px);
}
.single-room-copy h2,
.single-service-copy h2 {
  margin: 12px 0 20px;
}
.single-room-copy > p,
.single-service-copy > p {
  color: var(--muted);
  line-height: 1.7;
}
.single-room-price {
  margin: 28px 0 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.closed-room-note {
  color: var(--muted);
  font-size: 0.82rem;
}
.single-service-image {
  min-height: 520px;
  background: #e5ebdf;
}
.single-service-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.single-service-copy .btn {
  margin-top: 24px;
}
@media (max-width: 950px) {
  .site-nav-dark .nav-book {
    border-color: rgba(53, 67, 53, 0.35);
  }
}
@media (max-width: 700px) {
  .site-footer .wordmark-cham {
    font-size: 1.45rem;
  }
  .single-room,
  .single-service {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }
  .single-room-gallery,
  .single-room-gallery > img,
  .single-service-image,
  .single-service-image img {
    min-height: 320px;
    height: 320px;
  }
  .gallery-thumbs {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .content-loop {
    padding-top: 38px;
    padding-bottom: 70px;
  }
}

/* Elementor owns the content layout; theme keeps only site navigation/footer. */
.meditera-elementor-content {
  margin: 0;
  padding: 0;
  background: transparent;
}
.meditera-elementor-page {
  width: 100%;
  min-height: 200px;
}
.meditera-elementor-page .elementor-heading-title {
  margin: 0;
}
.meditera-elementor-page .elementor-widget-text-editor p:last-child {
  margin-bottom: 0;
}
body.admin-bar .site-nav:not(.site-nav-dark) {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar .site-nav:not(.site-nav-dark) {
    top: 46px;
  }
}
