/* Shared site components: refined header, legal content, and responsive corrections. */
:root {
  --mc-ink: #111827;
  --mc-navy: #151e30;
  --mc-navy-soft: #202b42;
  --mc-gold: #c6a66b;
  --mc-ivory: #f6f1e8;
}
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; overflow-x: clip; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
main { display: block; min-width: 0; }
main section { min-width: 0; }
.hero-title { font-size: var(--font-size-4xl); overflow-wrap: anywhere; }
.section-title { font-size: var(--font-size-3xl); overflow-wrap: anywhere; }
a { text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--mc-gold); outline-offset: 4px; }
.mc-site-header {
  position: sticky; top: 0; z-index: 1000; width: 100%;
  background: color-mix(in srgb, var(--mc-navy) 95%, transparent);
  border-bottom: 1px solid rgba(198, 166, 107, .38);
  color: var(--mc-ivory); box-shadow: 0 6px 24px rgba(0, 0, 0, .16);
  font-family: var(--font-family-body, Arial, sans-serif);
}
.mc-header-inner {
  width: min(100%, 1500px); min-height: 86px; margin: 0 auto;
  padding: 13px clamp(16px, 3.15vw, 46px); gap: clamp(14px, 1.85vw, 30px);
  display: flex; align-items: center; justify-content: space-between;
}
.mc-header-brand { flex: 0 0 auto; display: flex; min-width: 0; color: var(--mc-ivory) !important; }
.mc-header-brand:hover, .mc-header-brand:visited { color: var(--mc-ivory) !important; }
.mc-brand-lockup { display: flex; align-items: center; gap: 10px; height: auto; }
.mc-brand-lockup .merqavian-logo-name { font-size: clamp(.79rem, 1.03vw, 1rem); letter-spacing: .09em; line-height: 1.3; white-space: nowrap; }
.mc-brand-lockup .merqavian-logo-subtitle { color: var(--mc-gold); font-size: .62rem; letter-spacing: .21em; }
.mc-brand-lockup .merqavian-logo-glyph { width: 34px; height: 34px; flex: 0 0 34px; color: var(--mc-gold); }
.mc-desktop-nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(12px,1.55vw,23px); min-width: 0; }
.mc-desktop-nav a, .mc-mobile-links a { color: var(--mc-ivory) !important; font-size: .76rem; font-weight: 550; letter-spacing: .06em; line-height: 1.4; transition: color .2s ease; }
.mc-desktop-nav a:hover, .mc-mobile-links a:hover, .mc-desktop-nav a[aria-current="page"] { color: var(--mc-gold) !important; }
.mc-desktop-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--mc-gold); text-underline-offset: 7px; }
.mc-header-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; flex: 0 0 auto; padding: .85rem 1.15rem; border: 1px solid var(--mc-gold); color: var(--mc-ink) !important; background: var(--mc-gold); border-radius: 2px; font-size: .79rem; font-weight: 700; letter-spacing: .055em; transition: background .2s, transform .2s; }
.mc-header-cta:hover { background: #e0c68e; transform: translateY(-1px); }
.mc-menu-toggle { display: none; background: transparent; color: var(--mc-ivory); border: 1px solid rgba(198, 166, 107, .65); border-radius: 4px; width: 45px; height: 45px; align-items: center; justify-content: center; flex: 0 0 45px; padding: 0; cursor: pointer; }
.mc-icon-close, .mc-site-header.mc-menu-open .mc-icon-menu { display: none; }
.mc-site-header.mc-menu-open .mc-icon-close { display: block; }
.mc-mobile-menu[hidden] { display: none !important; }
.mc-mobile-menu { position: absolute; left: 0; right: 0; top: 100%; width: 100%; padding: 15px clamp(16px,5vw,38px) 25px; background: #151e30; box-shadow: 0 20px 30px rgba(0,0,0,.3); border-bottom: 1px solid var(--mc-gold); max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; }
.mc-mobile-links { display: flex; flex-direction: column; gap: 0; }
.mc-mobile-links a { font-size: 1.05rem; padding: 13px 4px; border-bottom: 1px solid rgba(198,166,107,.17); }
.mc-mobile-links a[aria-current="page"] { color: var(--mc-gold) !important; }
.mc-mobile-tagline { color: #c9bda8; font-size: .85rem; margin: 20px 4px 0; }
body.mc-menu-locked { overflow: hidden; }
/* Global footer – keep the source full-bleed shell while extending its content. */
.merqavian-footer-root { width: 100%; max-width: none; }
.merqavian-footer-inner { width: 100%; }
.merqavian-footer-legal-nav { flex-wrap: wrap; gap: 12px 22px; }
.merqavian-footer-legal-nav .merqavian-footer-legal-link { color: var(--mc-ivory); font-size: .84rem; text-decoration: none; }
.merqavian-footer-legal-nav .merqavian-footer-legal-link:hover,
.merqavian-footer-legal-nav .merqavian-footer-legal-link:focus-visible { color: var(--mc-gold); }
.merqavian-footer-legal-nav .merqavian-footer-legal-link:visited { color: var(--mc-ivory); }
.mc-footer-contact-btn { display: flex; align-items: center; justify-content: center; text-align: center; width: max-content; min-width: 175px; text-decoration: none; }
.mc-company { margin: clamp(22px,3vw,46px) 0; padding: clamp(18px,2.3vw,32px); background: rgba(198, 166, 107, .09); border: 1px solid rgba(198,166,107,.42); border-radius: 8px; }
.mc-company-title { color: var(--mc-gold); font-size: .83rem; letter-spacing: .11em; text-transform: uppercase; font-weight: 700; margin-bottom: 17px; }
.mc-company-grid { margin: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px 20px; }
.mc-company-grid > div { min-width: 0; }
.mc-company dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: #c6bfae; margin-bottom: 4px; }
.mc-company dd { overflow-wrap: anywhere; margin: 0; color: var(--mc-ivory); font-size: .9rem; line-height: 1.65; }
/* Legal content inherits the same typography and uses the same header/footer HTML. */
.mc-legal-main { width: 100%; min-height: 55vh; color: var(--mc-ivory); background: var(--mc-navy); }
.mc-legal-hero { width: 100%; padding: clamp(48px, 8vw, 110px) 0 clamp(34px,5vw,65px); background: linear-gradient(140deg, #152139, #242133 65%, #37282c); border-bottom: 1px solid rgba(198,166,107,.35); }
.mc-legal-shell { width: min(100% - 36px, 1070px); margin: 0 auto; }
.mc-eyebrow { color: var(--mc-gold); text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 650; margin-bottom: 20px; }
.mc-legal-hero .hero-title { color: var(--mc-ivory); font-size: var(--font-size-4xl); max-width: 22ch; margin: 0 0 20px; }
.mc-legal-lead { max-width: 65ch; color: #e1dcd0; font-size: 1.05rem; line-height: 1.8; }
.mc-back-link { display: inline-block; color: var(--mc-gold) !important; padding: 10px 0; margin-top: 14px; }
.mc-back-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.mc-legal-content { padding: 36px 0 90px; }
.mc-legal-intro .mc-company { margin-top: 16px; }
.mc-legal-date { color: var(--mc-gold); margin: 2px 0 6px; }
.mc-demo-disclosure { border-left: 3px solid var(--mc-gold); padding: 12px 18px; background: rgba(198,166,107,.08); color: #ded9ce; line-height: 1.8; }
.mc-legal-section { padding: 28px 0; border-bottom: 1px solid rgba(198,166,107,.22); }
.mc-legal-section .section-title { font-size: var(--font-size-3xl); margin: 0 0 18px; color: var(--mc-ivory); }
.mc-legal-section p { font-family: inherit; font-size: var(--font-size-base); color: #e3ded6; line-height: 1.9; max-width: 85ch; }
.mc-legal-section a, .mc-legal-section a:visited { color: var(--mc-gold); text-decoration: none; }
.mc-legal-section a:hover, .mc-legal-section a:active { color: #f4dba9; text-decoration: underline; }
.mc-legal-section a:focus-visible { outline: 2px solid var(--mc-gold); }
.mc-error-content { padding: clamp(80px,10vw,130px) 0; }
.mc-error-content .hero-title { margin-bottom: 22px; }
.mc-error-content .mc-header-cta { margin-top: 30px; }
/* Editorial casino guidance, matching existing navy/gold sections. */
.mc-kasino-editorial, .mc-gambling-note { width: 100%; padding: clamp(45px,6vw,85px) 0; background: #162033; color: var(--mc-ivory); }
.mc-kasino-editorial { background: linear-gradient(145deg,#152034,#211c2b); }
.mc-editorial-inner { width: min(100% - 36px, var(--content-max-width, 1200px)); max-width: 1200px; margin: 0 auto; }
.mc-editorial-inner .section-title { max-width: 27ch; margin-bottom: 20px; color: var(--mc-ivory); }
.mc-editorial-inner > p { max-width: 75ch; color: #ded8cb; font-size: var(--font-size-base); line-height: 1.85; }
.mc-editorial-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin: 33px 0; }
.mc-editorial-grid article { border: 1px solid rgba(198,166,107,.3); padding: clamp(18px,2.5vw,29px); background: rgba(255,255,255,.025); border-radius: 5px; }
.mc-editorial-grid h3 { color: #eddbb8; font-size: 1.18rem; font-family: var(--font-family-heading, Georgia,serif); font-weight: 500; }
.mc-editorial-grid p { color: #e6dcca; font-size: .95rem; line-height: 1.8; }
.mc-gambling-note { padding: 30px 0; border-top: 1px solid rgba(198,166,107,.2); border-bottom: 1px solid rgba(198,166,107,.2); }
.mc-gambling-note .section-title { font-size: var(--font-size-2xl); }
.mc-form-notice { font-size: .84rem; color: var(--color-on-surface-secondary,#aeb4bf); line-height: 1.65; margin: 12px 0 0; grid-column: 1/-1; }
.mc-form-status { grid-column: 1/-1; color: var(--color-accent,#c6a66b); font-size: .85rem; }
/* Responsive overflow guard. Keep cover-image exceptions in original styles. */
.gallery-strip-track, .casino-experiences-strip, .gallery-portfolio, .suites-gallery-strip, .interior-gallery-strip { max-width: 100%; }
.gallery-strip-container, .casino-experiences-strip { -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
@media(max-width: 1250px) {
  .mc-desktop-nav { gap: 12px; }
  .mc-desktop-nav a { font-size: .7rem; }
  .mc-header-inner { gap: 13px; }
  .mc-header-cta { padding: .75rem .8rem; font-size: .73rem; }
}
@media(max-width: 1023px) {
  .mc-header-inner { min-height: 72px; padding: 11px clamp(16px,4vw,32px); }
  .mc-desktop-nav, .mc-header-inner > .mc-header-cta { display: none; }
  .mc-menu-toggle { display: inline-flex; }
  .mc-header-brand { margin-right: auto; }
}
@media(max-width: 767px) {
  .hero-section, .hero-title, .section-title { overflow-wrap: anywhere; word-break: break-word; white-space: normal; }
  .mc-company-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mc-editorial-grid { grid-template-columns: 1fr; }
  .mc-legal-shell { width: min(100% - 32px,1070px); }
  .mc-legal-section { padding: 23px 0; }
  .mc-legal-content { padding-bottom: 55px; }
  .merqavian-footer-inner { padding-inline: clamp(16px,4vw,30px); }
  .merqavian-footer-legal-row { flex-direction: column; align-items: flex-start; text-align: left; }
  .merqavian-footer-grid { grid-template-columns: minmax(0,1fr); }
  .merqavian-footer-root { padding-block: 54px 30px; }
  .mc-kasino-editorial { padding: 46px 0; }
  .gallery-strip-container, .casino-experiences-strip { overflow-x: auto; }
  .gallery-strip-track { max-width: none; }
  .mc-form-notice { overflow-wrap: anywhere; }
}
@media(max-width: 479px) {
  .mc-header-inner { min-height: 67px; gap: 9px; }
  .mc-brand-lockup { gap: 7px; }
  .mc-brand-lockup .merqavian-logo-glyph { width: 27px; height: 27px; flex-basis: 27px; }
  .mc-brand-lockup .merqavian-logo-name { font-size: clamp(.66rem,3vw,.86rem); }
  .mc-brand-lockup .merqavian-logo-subtitle { display: block; font-size: .53rem; }
  .mc-menu-toggle { width: 42px; height: 42px; flex-basis: 42px; }
  .mc-mobile-menu { max-height: calc(100dvh - 67px); }
  .mc-company-grid { grid-template-columns: minmax(0,1fr); }
  .mc-legal-hero { padding-block: 52px 34px; }
  .merqavian-footer-legal-nav { gap: 10px 20px; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .mc-header-cta { transition: none; } }

.mc-company-disclaimer { grid-column: 1 / -1; color: #c4bcac; font-size: .8rem; line-height: 1.65; margin: 8px 0 0; }

.suites-gallery-tile[role="button"] { cursor: zoom-in; }
.suites-gallery-tile:focus-visible { outline: 2px solid var(--mc-gold); outline-offset: 3px; }
.suites-modal::backdrop { background: rgba(0,0,0,.78); }
.suites-modal { max-height: 92dvh; max-width: min(96vw, 1120px); overflow-y: auto; border: 1px solid var(--mc-gold); }
