:root {
  --cream: #f7f3e9;
  --paper: #fffdf7;
  --green: #233c31;
  --sage: #dce1d5;
  --ink: #27382e;
  --muted: #5c695e;
  --line: #cbd0c4;
  --rust: #874b31;
  --serif: Georgia, "Times New Roman", serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font:
    17px/1.65 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
h1,
h2,
h3,
p {
  margin: 0 0 1rem;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(3.5rem, 7vw, 6.8rem);
}
h2 {
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
}
h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.5rem);
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
a:hover {
  color: var(--rust);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #a45d31;
  outline-offset: 4px;
}
.skip {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 100;
  background: var(--paper);
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 20px 5vw;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  position: relative;
  z-index: 5;
}
.monogram {
  font: 2.1rem var(--serif);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.06em;
}
.monogram i {
  font-size: 0.8em;
  color: var(--rust);
  padding: 0 0.12em;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 38px);
  font-size: 13px;
}
.site-header nav a {
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}
.site-header nav a[aria-current] {
  border-color: var(--green);
}
.site-header .language {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 730px;
  margin: 0 3vw;
}
.hero-photo {
  padding: 28px 0 28px 25px;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  max-height: 760px;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 48% 48% 0 0;
}
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 22px;
}
.hero-text .button {
  margin: 0 0 36px;
}
.hero h1 {
  font-size: clamp(4.5rem, 8vw, 8rem);
  line-height: 0.96;
  margin-bottom: 32px;
}
.hero h1 i {
  font-size: 0.65em;
  color: var(--rust);
  font-weight: 400;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 650;
  line-height: 1.7;
  margin-bottom: 25px;
}
.hero-date {
  font-size: 18px;
  margin-bottom: 0;
}
.hero .text-link {
  margin-top: 28px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: var(--paper);
  border: 1px solid var(--green);
  border-radius: 2px;
  padding: 13px 25px;
  min-height: 48px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.03em;
}
.button:hover {
  background: #365643;
  color: white;
}
.button.secondary {
  background: transparent;
  color: var(--green);
}
.button.secondary:hover {
  background: var(--sage);
}
.text-link {
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid;
  padding-bottom: 3px;
}
.section {
  max-width: 1240px;
  margin: auto;
  padding: 100px 60px;
}
.center {
  text-align: center;
}
.intro {
  max-width: 710px;
  margin: 20px auto 30px;
  font-size: 18px;
  line-height: 1.85;
}
.invitation {
  padding-top: 110px;
  padding-bottom: 110px;
}
.invitation h3 {
  font-size: 1.6rem;
  margin-top: 38px;
}
.small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.timeline {
  background: var(--green);
  color: var(--cream);
  max-width: none;
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
}
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1040px;
  margin: 50px auto;
}
.timeline article {
  border-right: 1px solid #788878;
  padding: 0 30px;
}
.timeline article:last-child {
  border: 0;
}
.timeline article span {
  font: italic 1.5rem var(--serif);
  color: #b4bca7;
}
.timeline h3 {
  font-size: 1.6rem;
  margin-top: 20px;
}
.timeline article p {
  font-size: 14px;
}
.story-intro {
  margin-bottom: 100px;
}
.chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}
.chapter:nth-of-type(even) figure {
  order: 2;
}
.chapter figure {
  margin: 0;
}
.chapter img {
  width: 100%;
  height: 490px;
  object-fit: cover;
}
.chapter .eyebrow {
  color: var(--rust);
}
.chapter h3 {
  font-size: 3rem;
}
.chapter p {
  font-size: 15px;
  line-height: 1.85;
}
.chapter details {
  font-size: 13px;
}
.chapter details p {
  margin-top: 20px;
}
.story-close {
  padding: 20px 0 40px;
}
.guestbook {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  background: #e9ecdf;
  border-radius: 4px;
  margin-bottom: 90px;
}
.guestbook h2 {
  max-width: 400px;
}
.guestbook p {
  font-size: 15px;
}
.page-title {
  text-align: center;
  padding: 90px 24px 45px;
  max-width: 1000px;
  margin: auto;
}
.page-title h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
}
.page-title p {
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}
.page-title .intro {
  font-size: 16px;
}
.travel-layout,
.form-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}
.travel-layout {
  padding-top: 40px;
}
.editorial,
.form-layout aside img {
  width: 100%;
  height: 530px;
  object-fit: cover;
  border-radius: 220px 220px 0 0;
}
.travel-layout h2 {
  font-size: 2.8rem;
}
.travel-layout h3 {
  font-size: 2rem;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 38px 0;
}
.weekend {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.two-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.two-cards article {
  padding: 35px;
  background: #eeeee3;
  text-align: left;
}
.two-cards h3 {
  font-size: 1.8rem;
}
.two-cards p {
  font-size: 15px;
  margin-bottom: 0;
}
.palette {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
  max-width: 800px;
  margin: 50px auto 0;
  text-align: center;
}
.guest-palette { grid-template-columns: repeat(4, 1fr); }
.palette > div > span {
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
}
.palette strong {
  display: block;
  font-size: 12px;
}
.palette small {
  font-size: 11px;
}
.faq {
  max-width: 900px;
  padding-top: 30px;
}
.faq details {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-weight: 550;
}
.faq details p {
  font-size: 15px;
  padding: 20px 0 0;
}
.form-layout {
  padding-top: 40px;
}
.form-layout aside p {
  font-size: 13px;
  margin-top: 25px;
}
.form-layout h2 {
  font-size: 2.4rem;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 550;
  margin-bottom: 20px;
}
input:not([type="checkbox"]),
textarea,
select {
  display: block;
  width: 100%;
  background: var(--paper);
  border: 1px solid #aeb8ab;
  border-radius: 2px;
  padding: 12px 13px;
  margin-top: 7px;
  color: var(--ink);
  min-height: 46px;
  font-size: 16px;
}
textarea {
  resize: vertical;
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin: 0 10px 0 0;
}
.checkbox {
  display: flex;
  gap: 8px;
  align-items: start;
  font-weight: 400;
  font-size: 14px;
}
.form-status {
  font-size: 14px;
  margin-top: 16px;
}
.form-status:not(:empty) {
  padding: 12px;
  background: #eee6d8;
  border-left: 3px solid var(--rust);
}
fieldset {
  border: 1px solid var(--line);
  padding: 20px;
  margin: 25px 0;
}
legend {
  font-family: var(--serif);
  font-size: 1.6rem;
  padding: 0 10px;
}
.person {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 15px;
  align-items: center;
  margin-bottom: 15px;
}
.person label {
  margin: 0;
}
.person select {
  margin: 0;
}
.match {
  display: block;
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 15px;
  text-align: left;
  margin: 10px 0;
}
.response-heading {
  margin-top: 40px;
}
.notice {
  padding: 18px;
  background: #e7ebdf;
  font-size: 14px;
  margin: 20px 0;
}
.saved-summary {
  padding: 28px;
  background: var(--sage);
  margin-top: 28px;
}
.saved-summary h2 {
  font-size: 2.3rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0;
}
.mail-gift {
  max-width: 660px;
  margin: 35px auto 0;
  text-align: center;
}
.mail-gift summary {
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.mail-gift .two-cards {
  padding-top: 20px;
}
.mail-gift address {
  font-size: 14px;
  font-style: normal;
}
.registry-section {
  padding-top: 30px;
}
.tabs {
  display: flex;
  justify-content: center;
  gap: 35px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 25px;
}
.tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 16px 5px;
  font-size: 14px;
  color: var(--muted);
}
.tabs button[aria-selected="true"] {
  color: var(--green);
  border-color: var(--green);
}
#registry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 40px 0;
}
#registry-grid > .group-heading {
  grid-column: 1/-1;
  margin-top: 25px;
}
.gift-card {
  background: var(--paper);
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #e0e1d5;
}
.gift-illustration {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9ecdf;
}
.gift-card:nth-child(3n + 2) .gift-illustration {
  background: #e9e4d7;
}
.gift-card:nth-child(3n) .gift-illustration {
  background: #e0e8e6;
}
.gift-illustration img {
  width: 105px;
  height: 105px;
  object-fit: contain;
}
.gift-card .card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.gift-card h3 {
  font-size: 1.8rem;
}
.gift-card p {
  font-size: 13px;
}
.gift-card .progress-label {
  font-size: 12px;
  margin: 15px 0 8px;
}
progress {
  appearance: none;
  width: 100%;
  height: 5px;
  border: 0;
  margin-bottom: 10px;
  background: #e1e4d9;
}
progress::-webkit-progress-bar {
  background: #e1e4d9;
}
progress::-webkit-progress-value {
  background: var(--green);
}
progress::-moz-progress-bar {
  background: var(--green);
}
.gift-card .button {
  margin-top: auto;
}
.donor-names {
  font-size: 11px !important;
}
.gift-card .already-sent {
  font-size: 11px;
  background: none;
  border: 0;
  color: var(--green);
  text-decoration: underline;
  margin: 12px 0 0;
}
dialog {
  border: 1px solid var(--line);
  padding: 45px;
  max-width: 680px;
  width: calc(100% - 32px);
  max-height: 90dvh;
  background: var(--cream);
  color: var(--ink);
}
dialog::backdrop {
  background: #142219b8;
}
.dialog-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: 0;
  font-size: 28px;
  color: var(--green);
  width: 44px;
  height: 44px;
}
.payment-instructions {
  padding: 20px;
  background: var(--sage);
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}
.payment-instructions p {
  font-size: 14px;
}
.payment-instructions .button {
  font-size: 12px;
  margin: 5px;
}
.payment-qr {
  max-width: 180px;
  display: block;
  margin: 10px auto;
}
.amount-row {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 15px;
}
.mail-gift address {
  overflow-wrap: anywhere;
}
footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 45px 20px;
  font-size: 12px;
}
footer .monogram {
  margin-bottom: 10px;
}
footer div {
  display: flex;
  justify-content: center;
  gap: 25px;
}
body[data-page="admin"] .section {
  max-width: 1600px;
  padding: 32px clamp(20px, 4vw, 64px);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
td {
  overflow-wrap: anywhere;
}
thead {
  background: var(--sage);
}
.table-wrap {
  overflow: auto;
}
.admin-toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.admin-panel textarea {
  font: 13px/1.6 monospace;
  min-height: 280px;
}
.admin-panel {
  padding: 25px;
  border: 1px solid var(--line);
  margin-bottom: 25px;
}
.admin-panel h2 {
  font-size: 2rem;
}
.hidden,
[hidden] {
  display: none !important;
}
.tag {
  font-size: 11px;
  background: var(--sage);
  padding: 4px 8px;
}
.admin-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}
.admin-stats div {
  background: var(--sage);
  padding: 20px;
  min-width: 160px;
}
.admin-stats strong {
  font: 2rem var(--serif);
  display: block;
}
@media (min-width: 1400px) {
  .hero {
    max-width: 1380px;
    margin: auto;
  }
}
@media (max-width: 900px) {
  .site-header {
    padding: 18px 24px;
    gap: 20px;
  }
  .site-header nav {
    gap: 16px;
  }
  .section {
    padding: 65px 30px;
  }
  .hero {
    min-height: 640px;
  }
  .hero-photo {
    padding-left: 0;
  }
  .hero-text {
    padding: 40px 15px;
  }
  .hero h1 {
    font-size: 5rem;
  }
  .chapter,
  .guestbook,
  .travel-layout,
  .form-layout {
    gap: 40px;
  }
  .chapter img {
    height: 380px;
  }
  .chapter h3 {
    font-size: 2.4rem;
  }
  .palette {
    gap: 14px;
  }
  .palette > div > span {
    width: 75px;
    height: 75px;
  }
  #registry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero .eyebrow {
    font-size: 9px;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .site-header {
    display: block;
    padding: 14px 18px 8px;
    text-align: center;
  }
  .site-header .monogram {
    font-size: 1.8rem;
    display: inline-block;
    margin-bottom: 7px;
  }
  .site-header nav {
    justify-content: center;
    gap: 13px;
    font-size: 10px;
    white-space: nowrap;
  }
  .site-header .language {
    padding-left: 10px;
  }
  .hero {
    display: flex;
    flex-direction: column-reverse;
    margin: 0;
    min-height: 0;
  }
  .hero-text {
    padding: 45px 20px 35px;
  }
  .hero-text .button {
    margin-bottom: 27px;
    padding: 10px 23px;
  }
  .hero h1 {
    font-size: 4.8rem;
    line-height: 0.95;
    margin-bottom: 25px;
  }
  .hero h1 br {
    display: none;
  }
  .hero h1 i {
    display: block;
    margin: 7px auto;
  }
  .hero-date {
    font-size: 15px;
  }
  .hero-text > p {
    font-size: 13px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .hero .text-link {
    margin-top: 15px;
    font-size: 12px;
  }
  .hero-photo {
    padding: 0 24px;
  }
  .hero-photo img {
    height: 450px;
    max-height: none;
    border-radius: 200px 200px 0 0;
  }
  .section {
    padding: 65px 24px;
  }
  .intro {
    font-size: 16px;
  }
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 35px auto;
  }
  .timeline article {
    border-right: 0;
    border-bottom: 1px solid #788878;
    padding-bottom: 25px;
  }
  .timeline h3 {
    font-size: 1.7rem;
    margin-top: 10px;
  }
  .timeline article p {
    margin: 0;
  }
  .story-intro {
    margin-bottom: 45px;
  }
  .chapter {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 60px;
  }
  .chapter:nth-of-type(even) figure {
    order: 0;
  }
  .chapter figure {
    width: 100%;
  }
  .chapter img {
    height: 380px;
  }
  .chapter h3 {
    font-size: 2.4rem;
  }
  .chapter .eyebrow {
    margin-bottom: 12px;
  }
  .story-close {
    padding: 0;
  }
  .guestbook {
    display: block;
    margin: 0 15px 50px;
    padding: 35px 23px;
  }
  .guestbook form {
    margin-top: 25px;
  }
  .travel-layout,
  .form-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .form-layout aside {
    display: none;
  }
  .travel-layout img {
    height: 370px;
  }
  .page-title {
    padding: 55px 22px 10px;
  }
  .page-title h1 {
    font-size: 3.4rem;
  }
  .two-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .palette {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px 10px;
  }
  .palette > div > span {
    width: 65px;
    height: 65px;
    margin-bottom: 12px;
  }
  .palette strong {
    font-size: 10px;
  }
  .tabs {
    gap: 10px;
  }
  .tabs button {
    font-size: 11px;
    padding: 12px 4px;
  }
  .registry-section {
    padding-top: 30px;
  }
  #registry-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .gift-illustration {
    height: 190px;
  }
  .gift-card .card-body {
    padding: 25px;
  }
  .gift-card h3 {
    font-size: 2rem;
  }
  dialog {
    padding: 42px 22px 25px;
  }
  .person {
    grid-template-columns: 1fr 135px;
  }
  .payment-qr {
    display: none;
  }
  .admin-panel {
    padding: 16px;
  }
  footer div {
    gap: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Keep editor actions and save feedback in reach on long admin forms. */
body[data-page="admin"]:has(#admin-editor form) {
  padding-bottom: calc(170px + env(safe-area-inset-bottom, 0px));
}
body[data-page="admin"] :is(input, textarea, select, button) {
  scroll-margin-bottom: 180px;
}
.admin-savebar {
  position: fixed;
  z-index: 30;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(20px, 5vw);
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  background: var(--paper);
  box-shadow: 0 -4px 18px rgb(35 60 49 / 12%);
}
.admin-savebar-context {
  min-width: 0;
  overflow-wrap: anywhere;
}
.admin-savebar-context strong {
  display: block;
  font-size: 15px;
}
.admin-savebar .form-status {
  margin: 0;
  font-size: 14px;
  max-height: 4.5em;
  overflow: auto;
}
.admin-savebar .actions {
  flex-shrink: 0;
  margin: 0;
}
.admin-savebar .button {
  min-height: 44px;
}
.admin-notice:not(:empty) {
  position: fixed;
  z-index: 31;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  padding: 12px 20px;
  margin: 0;
  background: var(--paper);
  box-shadow: 0 4px 18px rgb(35 60 49 / 15%);
}
@media (max-width: 600px) {
  .admin-savebar {
    flex-wrap: wrap;
    gap: 8px;
    padding-inline: 16px;
  }
  .admin-savebar-context {
    flex-basis: 100%;
  }
  .admin-savebar .actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* Bilingual content editor: plain text, accessible controls and persistent actions. */
.cms-entry {
  padding: 1.2rem;
  margin: 1rem 0;
  border: 1px solid #aeb9ad;
  border-radius: 12px;
  background: #fffdf7;
  overflow-wrap: anywhere;
}
.cms-entry h3 {
  font-size: 1.15rem;
  margin: 0.2rem 0;
}
.cms-entry code {
  font-size: 0.75rem;
}
.cms-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 1rem 0;
}
.cms-pair label {
  display: block;
  min-width: 0;
}
.cms-pair input,
.cms-pair textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0.4rem 0;
}
.cms-pair textarea {
  min-height: 130px;
  resize: vertical;
}
.cms-pair details p {
  white-space: pre-wrap;
}
.cms-actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: #f8f4e9;
  border-top: 1px solid #233226;
  padding: 0.75rem 0.75rem calc(0.75rem + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px #23322618;
}
.cms-entries {
  padding-bottom: 180px;
}
.cms-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.cms-history {
  padding: 1rem;
  background: #edf0e7;
}
@media (max-width: 650px) {
  .cms-pair {
    grid-template-columns: 1fr;
  }
  .cms-actions .button {
    font-size: 0.8rem;
    padding: 0.6rem;
  }
  .cms-actions span {
    flex-basis: 100%;
    text-align: center;
  }
  .cms-entry {
    padding: 0.8rem;
  }
}
/* Guest information keeps the established cream and forest palette. */
.childcare-panel,
.hotel-details,
.airport {
  max-width: 1050px;
}
.childcare-panel details {
  margin-top: 1.5rem;
}
.childcare-panel summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 0;
}
.childcare-panel .actions,
.hotel-contact .actions {
  flex-wrap: wrap;
  gap: 0.75rem;
}
.tornaboda-panel {
  background: #eeeede;
  padding: 1.5rem;
  border-radius: 12px;
}
.booking-steps {
  padding-left: 1.5rem;
}
.booking-steps li {
  padding: 0.75rem 0 0.75rem 0.5rem;
}
.booking-steps strong {
  display: inline-block;
  padding: 1rem;
  background: #233226;
  color: #fff9eb;
  letter-spacing: 0.08em;
  border-radius: 8px;
  overflow-wrap: anywhere;
}
.hotel-contact {
  margin-top: 2rem;
}
.battle-board {
  padding: clamp(1rem, 4vw, 3rem);
  background: #eeeede;
  border-radius: 18px;
  text-align: center;
}
.battle-teams {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1rem;
}
.battle-meter {
  height: 2.5rem;
  margin-top: 0.8rem;
  overflow: hidden;
  border-radius: 2rem;
  background: #99704f;
  border: 2px solid #fff9eb;
}
.battle-meter > div {
  height: 100%;
  background: #233226;
  border-right: 3px solid #fff9eb;
  transition: width 0.6s ease;
}
@media (prefers-reduced-motion: reduce) {
  .battle-meter > div {
    transition: none;
  }
}
@media (max-width: 600px) {
  .hotel-contact .button,
  .childcare-panel .button {
    width: 100%;
    text-align: center;
    white-space: normal;
  }
}
