/* Modern luxury theme for Cunard Queen Elizabeth Home */
:root {
  --ceh-navy: #061936;
  --ceh-blue: #0b3d73;
  --ceh-royal: #145ca8;
  --ceh-white: #ffffff;
  --ceh-mist: #eef6ff;
  --ceh-ink: #132238;
  --ceh-muted: #52667e;
  --ceh-gold: #d7b56d;
  --ceh-border: rgba(215, 181, 109, 0.28);
  --ceh-shadow: 0 24px 70px rgba(3, 17, 38, 0.24);
}

html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0 !important;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.16), transparent 28rem),
    linear-gradient(145deg, #031329 0%, #082b55 44%, #0e4b86 100%) !important;
  color: var(--ceh-ink);
  font-family: Arial, Helvetica, sans-serif !important;
  line-height: 1.55;
}

body > table,
body > center > table,
body > div:not(.ceh-modern-header):not(.ceh-hero):not(.ceh-ai-band):not(.ceh-cta-band):not(.ceh-modern-footer) {
  margin-left: auto !important;
  margin-right: auto !important;
}

a {
  color: #064f95;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus {
  color: #7a580d;
}

img {
  max-width: 100%;
  height: auto;
}

table {
  max-width: min(1120px, calc(100vw - 28px)) !important;
  border-color: rgba(196, 214, 235, 0.9) !important;
  background-color: rgba(255, 255, 255, 0.96) !important;
  color: var(--ceh-ink) !important;
  box-shadow: 0 18px 55px rgba(3, 17, 38, 0.18);
}

td,
th {
  color: var(--ceh-ink) !important;
  border-color: rgba(196, 214, 235, 0.9) !important;
}

th,
.dataTable thead th {
  background: linear-gradient(135deg, #08284f, #145ca8) !important;
  color: #ffffff !important;
}

td[bgcolor="#FFFFFF"],
td[bgcolor="#ffffff"],
tr[bgcolor="#FFFFFF"],
tr[bgcolor="#ffffff"] {
  background-color: rgba(255, 255, 255, 0.96) !important;
}

h1,
h2,
h3 {
  color: var(--ceh-navy);
  letter-spacing: 0;
}

.ceh-modern-inner {
  width: min(1160px, calc(100vw - 32px));
  margin: 0 auto;
}

.ceh-modern-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 20, 43, 0.94);
  border-bottom: 1px solid var(--ceh-border);
  backdrop-filter: blur(14px);
}

.ceh-modern-header .ceh-modern-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ceh-brand {
  color: #ffffff;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  font-weight: 700;
  text-decoration: none;
}

.ceh-brand span {
  display: block;
  color: var(--ceh-gold);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ceh-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.ceh-contact a,
.ceh-actions a,
.ceh-cta-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid rgba(215, 181, 109, 0.42);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.ceh-contact a:hover,
.ceh-contact a:focus,
.ceh-actions a:hover,
.ceh-actions a:focus,
.ceh-cta-actions a:hover,
.ceh-cta-actions a:focus {
  background: #ffffff;
  color: var(--ceh-navy);
}

.ceh-hero {
  padding: clamp(34px, 6vw, 74px) 0 clamp(28px, 4vw, 52px);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.ceh-hero h1 {
  max-width: 930px;
  margin: 10px 0 14px;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 4.15rem);
  line-height: 1.04;
  font-weight: 700;
}

.ceh-eyebrow {
  margin: 0;
  color: var(--ceh-gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ceh-hero p {
  max-width: 840px;
  margin: 0 0 22px;
  color: #e8f2ff;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.ceh-actions,
.ceh-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ceh-actions a:first-child,
.ceh-cta-actions a:first-child {
  background: linear-gradient(135deg, #d7b56d, #f0d892);
  color: #081c39;
  border-color: transparent;
}

.ceh-ai-band,
.ceh-cta-band {
  padding: 30px 0;
}

.ceh-ai-panel,
.ceh-cta-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(215, 181, 109, 0.34);
  border-radius: 8px;
  box-shadow: var(--ceh-shadow);
  padding: clamp(22px, 4vw, 38px);
}

.ceh-ai-panel h2,
.ceh-cta-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.ceh-answer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}

.ceh-answer-grid h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.ceh-answer-grid p,
.ceh-cta-panel p {
  margin: 0;
  color: var(--ceh-muted);
}

.ceh-original-note {
  width: min(1120px, calc(100vw - 32px));
  margin: 14px auto 12px;
  color: #eaf3ff;
  font-size: 0.92rem;
}

.ceh-modern-footer {
  margin-top: 32px;
  padding: 28px 0;
  background: rgba(3, 15, 34, 0.94);
  color: #dcecff;
  border-top: 1px solid var(--ceh-border);
}

.ceh-modern-footer p {
  margin: 0;
}

.ceh-modern-footer a {
  color: #ffffff;
}

@media (max-width: 760px) {
  .ceh-modern-header {
    position: static;
  }

  .ceh-modern-header .ceh-modern-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .ceh-contact {
    justify-content: flex-start;
    width: 100%;
  }

  .ceh-contact a,
  .ceh-actions a,
  .ceh-cta-actions a {
    width: 100%;
    white-space: normal;
  }

  .ceh-answer-grid {
    grid-template-columns: 1fr;
  }

  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  td,
  th {
    min-width: 105px;
    font-size: 0.95rem !important;
  }
}
