:root {
  --trb-navy: #132946;
  --trb-navy-2: #1d385b;
  --trb-gold: #be9b55;
  --trb-ink: #1f2937;
  --trb-muted: #536074;
}

.trb-restaurant-page {
  background: #f5f1e8;
}

.trb-page-hero .wp-block-cover__inner-container {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(13, 26, 44, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.trb-page-hero h1 {
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
}

.trb-page-hero p {
  color: #efe6d8;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
}

.trb-booking-content-wrap {
  background: linear-gradient(180deg, #f5f1e8 0%, #f8f5ed 100%);
}

.trb-kicker {
  margin: 0;
  color: #7b6640;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
}

.trb-booking-panel,
.trb-info-card {
  background: #fff;
  border: 1px solid #ddd7c8;
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08);
}

.trb-info-card + .trb-info-card {
  margin-top: 14px;
}

.trb-info-card h4,
.trb-booking-panel h3 {
  color: var(--trb-navy);
  margin-top: 0;
}

.trb-info-card p,
.trb-booking-panel p {
  color: var(--trb-muted);
  line-height: 1.65;
}

.trb-booking-form-shell {
  background: #fdfcf8;
  border: 1px solid #d6d0bf;
  border-radius: 14px;
  padding: 16px;
  box-shadow: inset 0 0 0 1px #fff;
}

.trb-booking-form {
  display: grid;
  gap: 12px;
}

.trb-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 10px;
}

.trb-booking-form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: #2a3443;
  font-weight: 600;
}

.trb-booking-form input,
.trb-booking-form select,
.trb-booking-form textarea {
  border: 1px solid #c9d2df;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  background: #fff;
  color: var(--trb-ink);
}

.trb-booking-form input:focus,
.trb-booking-form select:focus,
.trb-booking-form textarea:focus {
  outline: none;
  border-color: #be9b55;
  box-shadow: 0 0 0 3px rgba(190, 155, 85, 0.2);
}

.trb-booking-form button {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  background: var(--trb-gold);
  color: #1e1710;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(30, 23, 16, 0.15);
}

.trb-booking-form button:hover {
  transform: translateY(-1px);
}

.trb-form-message {
  margin: 0;
  font-size: 0.9rem;
}

.trb-form-message.is-success { color: #10613d; }
.trb-form-message.is-error { color: #a11f1f; }
.trb-form-message.is-info { color: #1f3f74; }

@media (max-width: 1000px) {
  .trb-booking-content-wrap .wp-block-columns {
    gap: 16px;
  }
}

@media (max-width: 860px) {
  .trb-form-grid {
    grid-template-columns: 1fr;
  }

  .trb-page-hero .wp-block-cover__inner-container {
    border-radius: 14px;
    padding: 1rem;
  }
}

/* Elegant refinement: smaller hero + softer typography */
.trb-page-hero {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.trb-page-hero .wp-block-cover__inner-container {
  max-width: 760px;
  background: rgba(12, 24, 41, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: clamp(0.9rem, 2.1vw, 1.35rem);
}

.trb-page-hero h1 {
  font-family: "Marcellus", Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 500;
  letter-spacing: 0.025em;
  margin-bottom: 0.35rem;
}

.trb-page-hero p {
  font-size: clamp(0.92rem, 1.4vw, 1rem);
  color: #efe5d3;
  line-height: 1.7;
}

/* Elegant spacing + panel refinement */
.trb-booking-content-wrap {
  padding-top: clamp(1rem, 2vw, 1.5rem) !important;
  padding-bottom: clamp(2rem, 4vw, 3rem) !important;
  margin-top: 0 !important;
}

.trb-page-hero + .trb-booking-content-wrap {
  margin-top: 0 !important;
}

.trb-booking-panel,
.trb-info-card {
  background: linear-gradient(180deg, #fffdf8 0%, #f9f5ec 100%);
  border: 1px solid #d9cfb8;
  border-radius: 18px;
  padding: 1.35rem;
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.06);
}

.trb-booking-panel h3,
.trb-info-card h4 {
  font-family: "Marcellus", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 0.45rem;
}

.trb-booking-panel p,
.trb-info-card p {
  color: #4a5668;
  line-height: 1.75;
}

.trb-kicker {
  color: #8d7546;
  font-weight: 600;
  letter-spacing: 0.09em;
}

.trb-booking-form-shell {
  margin-top: 0.65rem;
  background: #fff;
  border: 1px solid #d8cfb8;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.05);
}

.trb-info-card + .trb-info-card {
  margin-top: 12px;
}

/* Warmth pass + readable contact links */
.trb-restaurant-page {
  background: linear-gradient(180deg, #f7f1e6 0%, #efe4d2 100%);
}

.trb-booking-content-wrap {
  background: linear-gradient(180deg, #f6efe2 0%, #efdfc7 100%) !important;
}

.trb-booking-panel,
.trb-info-card {
  background: linear-gradient(180deg, #fffaf2 0%, #f6ead7 100%);
  border-color: #d8c3a0;
}

.trb-info-card p,
.trb-booking-panel p {
  color: #5c4a35;
}

.trb-info-card a,
.trb-info-card a:visited {
  color: #7b4f12 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.trb-info-card a:hover,
.trb-info-card a:focus {
  color: #5d3808 !important;
}

/* Restaurant menu output */
.trb-menu-shell {
  margin: 1.2rem auto 0;
  max-width: 1100px;
  padding: clamp(1rem, 2.4vw, 1.8rem);
  border: 1px solid #d8c3a0;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff8ee 0%, #f4e6cf 100%);
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.09);
}

.trb-menu-intro {
  text-align: center;
  margin-bottom: 1.1rem;
}

.trb-menu-kicker {
  margin: 0;
  color: #8b6f3d;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}

.trb-menu-title {
  margin: 0.35rem 0 0.2rem;
  color: #10253f;
  font-family: "Marcellus", Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.trb-menu-subtitle,
.trb-menu-empty {
  margin: 0;
  color: #5b4b35;
  line-height: 1.65;
}

.trb-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 1rem;
}

.trb-menu-category {
  background: linear-gradient(180deg, #fffdf8 0%, #f7eddd 100%);
  border: 1px solid #dcc8a8;
  border-radius: 18px;
  padding: 1rem 1.05rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.trb-menu-category-title {
  margin: 0 0 0.8rem;
  color: #10253f;
  font-family: "Marcellus", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0.025em;
  font-size: 1.18rem;
}

.trb-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.trb-menu-item {
  border-top: 1px solid #e7d8bf;
  padding-top: 0.8rem;
}

.trb-menu-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.trb-menu-item.is-featured {
  background: linear-gradient(180deg, rgba(190, 155, 85, 0.08) 0%, rgba(190, 155, 85, 0.02) 100%);
  border: 1px solid rgba(190, 155, 85, 0.28);
  border-radius: 12px;
  padding: 0.75rem;
}

.trb-menu-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.trb-menu-item-name {
  margin: 0;
  color: #1d2f45;
  font-size: 1.02rem;
  font-weight: 600;
}

.trb-menu-item-price {
  font-family: "Marcellus", Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  color: #7c5a20;
  white-space: nowrap;
}

.trb-menu-item-description {
  margin: 0.32rem 0 0;
  color: #544630;
  line-height: 1.65;
}

.trb-menu-item-flags {
  margin-top: 0.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.trb-menu-badge {
  border: 1px solid #c5d1df;
  border-radius: 999px;
  background: #f5f9ff;
  color: #2a3f5c;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.14rem 0.5rem;
}

.trb-menu-item-allergens,
.trb-menu-item-meta {
  margin: 0.38rem 0 0;
  color: #65543e;
  font-size: 0.88rem;
}

@media (max-width: 920px) {
  .trb-menu-grid {
    grid-template-columns: 1fr;
  }

  .trb-menu-shell {
    border-radius: 18px;
    padding: 0.9rem;
  }
}

/* Dedicated menu page layout */
.trb-menu-page {
  width: 100%;
  max-width: none;
  margin: 0;
}

body.page-slug-menu,
body.page-slug-restaurant-menu {
  overflow-x: hidden;
}

.trb-menu-page-hero {
  background:
    linear-gradient(180deg, rgba(11, 24, 42, 0.55) 0%, rgba(11, 24, 42, 0.62) 100%),
    var(--trb-menu-hero-image) center center / cover no-repeat;
}

.trb-menu-page-content {
  width: min(1040px, 100%);
}

/* Single-line centered menu with category filters */
.trb-menu-shell {
  max-width: 900px;
}

.trb-menu-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.trb-menu-filter {
  border: 1px solid #c8b086;
  border-radius: 999px;
  background: #fff7eb;
  color: #17314f;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.36rem 0.76rem;
  cursor: pointer;
}

.trb-menu-filter.is-active,
.trb-menu-filter:hover {
  background: #17314f;
  color: #f8ecd7;
  border-color: #17314f;
}

.trb-menu-list-single {
  gap: 0.75rem;
}

.trb-menu-list-single .trb-menu-item {
  margin: 0 auto;
  width: min(760px, 100%);
  border: 1px solid #e2d0b3;
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  background: linear-gradient(180deg, #fffdf9 0%, #faefe0 100%);
}

.trb-menu-item-title-group {
  display: grid;
  gap: 0.22rem;
}

.trb-menu-item-category {
  margin: 0;
  color: #8b6f3d;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
  font-weight: 700;
}

/* Remove page title strip area from page-with-title template on menu pages */
body.page-slug-menu main > .wp-block-group:has(.wp-block-post-title),
body.page-slug-restaurant-menu main > .wp-block-group:has(.wp-block-post-title) {
  display: none !important;
}

/* Fallback for themes without :has support */
body.page-slug-menu .wp-block-post-title,
body.page-slug-restaurant-menu .wp-block-post-title {
  display: none !important;
}

body.page-slug-menu .wp-block-post-title + .wp-block-group,
body.page-slug-restaurant-menu .wp-block-post-title + .wp-block-group {
  margin-top: 0 !important;
}
/* Safety: if legacy menu content still renders before custom layout, hide that first block */
body.page-slug-menu .wp-block-post-content > :first-child:not(.trb-menu-page),
body.page-slug-restaurant-menu .wp-block-post-content > :first-child:not(.trb-menu-page) {
  display: none !important;
}

/* Menu page stabilization patch */
body.page-slug-menu,
body.page-slug-restaurant-menu {
  overflow-x: hidden !important;
}

/* Hide the page-with-title intro strip (purple bar area) on menu pages */
body.page-slug-menu .wp-site-blocks main > .wp-block-group:first-child,
body.page-slug-restaurant-menu .wp-site-blocks main > .wp-block-group:first-child {
  display: none !important;
}

/* Restore premium hero presentation */
.trb-menu-page-hero {
  position: relative;
  min-height: clamp(240px, 38vw, 420px);
  width: 100%;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 2.6vw, 1.8rem) 1rem;
  background:
    linear-gradient(180deg, rgba(11, 24, 42, 0.55) 0%, rgba(11, 24, 42, 0.62) 100%),
    var(--trb-menu-hero-image) center center / cover no-repeat;
}

.trb-menu-page-hero-inner {
  width: min(920px, 100%);
  text-align: center;
  background: rgba(10, 20, 34, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: clamp(1rem, 2.4vw, 1.7rem);
  box-shadow: 0 16px 34px rgba(16, 24, 40, 0.18);
  backdrop-filter: blur(3px);
}

.trb-menu-page-kicker {
  margin: 0;
  color: #d8c18d;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}

.trb-menu-page-title {
  margin: 0.45rem 0 0.3rem;
  color: #ffffff;
  font-family: "Marcellus", Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.trb-menu-page-subtitle {
  margin: 0;
  color: #efe5d3;
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  line-height: 1.7;
}

.trb-menu-page-content {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: clamp(0.9rem, 2vw, 1.3rem) 0.75rem 0;
}

/* Keep menu centered */
.trb-menu-shell {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 920px) {
  .trb-menu-page-hero-inner {
    border-radius: 14px;
    padding: 0.9rem;
  }
}

/* Strong menu-page isolation */
main:has(.trb-menu-page) > .wp-block-group:first-child:not(:has(.trb-menu-page)) {
  display: none !important;
}

/* Full-bleed hero only (prevents page-wide horizontal drift) */
.trb-menu-page-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: clamp(210px, 30vw, 330px);
}

/* Ensure hero text panel is visible and centered */
.trb-menu-page-hero {
  display: grid;
  place-items: center;
}

.trb-menu-page-hero-inner {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
}

/* Keep menu block centered after full-bleed hero */
.trb-menu-page-content,
.trb-menu-shell {
  margin-left: auto;
  margin-right: auto;
}

/* Menu CTA + footer breathing room */
.trb-menu-page {
  padding-bottom: clamp(2rem, 5vw, 3.6rem);
}

.trb-menu-page-content {
  padding-bottom: clamp(1.4rem, 3.5vw, 2.4rem);
}

.trb-menu-cta-wrap {
  margin: clamp(1rem, 2.8vw, 1.8rem) 0 0;
  display: flex;
  justify-content: center;
}

.trb-menu-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #be9b55;
  color: #1e1710;
  text-decoration: none;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.72rem 1.3rem;
  box-shadow: 0 8px 20px rgba(30, 23, 16, 0.18);
  transition: transform 0.14s ease, box-shadow 0.14s ease, background-color 0.14s ease;
}

.trb-menu-cta-button:hover,
.trb-menu-cta-button:focus {
  background: #c9a55d;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(30, 23, 16, 0.22);
  color: #1e1710;
}

/* ---- Opening Hours ---- */

.trb-opening-hours {
  background: linear-gradient(180deg, #fffaf2 0%, #f6ead7 100%);
  border: 1px solid #d8c3a0;
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
}

.trb-opening-hours__title {
  margin: 0 0 0.8rem;
  color: #10253f;
  font-family: "Marcellus", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.trb-opening-hours__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.trb-opening-hours__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.42rem 0;
  border-bottom: 1px solid #ecdfc8;
  font-size: 0.92rem;
  color: #4a3a1f;
}

.trb-opening-hours__row:last-child {
  border-bottom: 0;
}

.trb-opening-hours__row.is-today {
  font-weight: 700;
  color: #10253f;
}

.trb-opening-hours__day {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trb-opening-hours__today-badge {
  background: #be9b55;
  color: #1e1710;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
}

.trb-opening-hours__time {
  color: #5c4a35;
  font-variant-numeric: tabular-nums;
}

.trb-opening-hours__row.is-today .trb-opening-hours__time {
  color: #10253f;
}

/* ---- Hotel Events ---- */

.tde-events-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-bottom: clamp(2rem, 5vw, 3.6rem);
}

body.page-slug-events {
  overflow-x: hidden;
}

body.page-slug-events .wp-site-blocks main > .wp-block-group:first-child {
  display: none !important;
}

body.page-slug-events .wp-block-post-title {
  display: none !important;
}

.tde-events-page-hero {
  position: relative;
  min-height: clamp(200px, 28vw, 300px);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 2.6vw, 1.8rem) 1rem;
  background: linear-gradient(160deg, #10253f 0%, #1c3a5e 50%, #132946 100%);
}

.tde-events-page-hero-inner {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
  text-align: center;
  background: rgba(10, 20, 34, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: clamp(1rem, 2.4vw, 1.7rem);
  box-shadow: 0 16px 34px rgba(16, 24, 40, 0.18);
  backdrop-filter: blur(3px);
}

.tde-events-page-kicker {
  margin: 0;
  color: #d8c18d;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}

.tde-events-page-title {
  margin: 0.45rem 0 0.3rem;
  color: #ffffff;
  font-family: "Marcellus", Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.tde-events-page-subtitle {
  margin: 0;
  color: #efe5d3;
  font-size: clamp(0.92rem, 1.4vw, 1rem);
  line-height: 1.7;
}

.tde-events-page-content {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: clamp(1rem, 2.4vw, 1.8rem) 0.75rem;
}

.tde-events-shell {
  width: 100%;
}

.tde-events-intro {
  text-align: center;
  margin-bottom: 1.4rem;
}

.tde-events-kicker {
  margin: 0;
  color: #8b6f3d;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}

.tde-events-title {
  margin: 0.35rem 0 0;
  color: #10253f;
  font-family: "Marcellus", Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
}

.tde-events-empty {
  text-align: center;
  color: #5b4b35;
  font-size: 1rem;
  padding: 2rem 0;
}

.tde-events-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.tde-event-card {
  border: 1px solid #e2d0b3;
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  background: linear-gradient(180deg, #fffdf9 0%, #faefe0 100%);
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
}

.tde-event-when {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tde-event-date {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7c5a20;
  background: rgba(190, 155, 85, 0.12);
  border: 1px solid rgba(190, 155, 85, 0.3);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}

.tde-event-time {
  font-size: 0.8rem;
  font-weight: 600;
  color: #536074;
  background: #f0f4f8;
  border: 1px solid #c9d2df;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}

.tde-event-title {
  margin: 0 0 0.4rem;
  color: #10253f;
  font-family: "Marcellus", Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 500;
}

.tde-event-description {
  margin: 0;
  color: #544630;
  line-height: 1.7;
  font-size: 0.95rem;
}
