@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond/cormorant-garamond-400.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond/cormorant-garamond-500.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: block;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond/cormorant-garamond-600.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: block;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond/cormorant-garamond-700.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: block;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond/cormorant-garamond-400-italic.ttf') format('truetype');
  font-style: italic;
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond/cormorant-garamond-500-italic.ttf') format('truetype');
  font-style: italic;
  font-weight: 500;
  font-display: block;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond/cormorant-garamond-600-italic.ttf') format('truetype');
  font-style: italic;
  font-weight: 600;
  font-display: block;
}

:root {
  --font-headline: 'Cormorant Garamond', Georgia, serif;
  --font-names: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Cormorant Garamond', Georgia, serif;
}

body,
button,
input,
textarea,
select,
p,
a,
li,
label,
small,
strong,
blockquote,
table,
.hero-subtitle {
  font-family: var(--font-body) !important;
  font-synthesis: none;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 16px;
}
body {
  font-kerning: normal;
  font-optical-sizing: none;
  font-variant-ligatures: common-ligatures;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body *:not(i):not(svg):not(path):not([class^='icon-']):not([class*=' icon-']):not([class^='fa-']):not([class*=' fa-']) {
  font-family: var(--font-body) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.section-title-lg,
.section-title-xl {
  font-family: var(--font-headline) !important;
  font-weight: 600;
}

.nav-logo,
.hero-title,
.hero-title span,
.element .hover-info h3,
.groom-bride-signature,
.groom-bride-signature span,
.footer-logo,
.preloader-title,
.couple-modal h3 {
  font-family: var(--font-names) !important;
}

#donate .qr-code-image {
  box-sizing: content-box;
  border: 6px solid #fff;
  background: #fff;
}

#gallery .album-intro {
  width: min(100%, 860px);
  margin: -8px auto 48px;
  padding: 0 24px;
  text-align: center;
}
#gallery .album-intro h2 {
  margin: 0 0 14px;
  color: #A98545;
  font-family: var(--font-headline) !important;
  font-size: 39px;
  font-weight: 600;
  line-height: 1.2;
}
#gallery .album-intro p {
  margin: 0;
  color: #73777b;
  font-size: 20px;
  line-height: 1.7;
}
@media (max-width: 767px) {
  #gallery .album-intro {
    margin-top: -2px;
    margin-bottom: 34px;
    padding: 0 8px;
  }
  #gallery .album-intro h2 { font-size: 32px; }
  #gallery .album-intro p {
    font-size: 18px;
    line-height: 1.65;
  }
}

/* Seamless section transitions. The original template draws its diagonal
   dividers in pure white, which is visibly different from Champagne Ivory. */
#wrapper,
#story,
#gallery,
#couple,
#donate,
.section-bg-color {
  background-color: var(--champagne-background) !important;
}

.section-divider-top-1::before {
  border-color: var(--champagne-background) transparent transparent transparent !important;
}
.section-divider-top-2::before {
  border-color: transparent transparent var(--champagne-background) transparent !important;
}
.section-divider-bottom-1::after {
  border-color: transparent transparent var(--champagne-background) transparent !important;
}
.section-divider-bottom-2::after {
  border-color: transparent transparent transparent var(--champagne-background) !important;
}

@media (max-width: 975px) {
  /* Ensure a closed mobile drawer never leaves its transformed page overlay
     active after an in-page navigation. */
  #wrapper:not(.open) {
    transform: none !important;
  }
  #wrapper:not(.open)::after {
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

.supabase-gallery {
  position: static !important;
  height: auto !important;
  display: block;
  columns: 3;
  column-gap: 14px;
}
.supabase-gallery .supabase-photo {
  position: static !important;
  width: 100%;
  height: 360px;
  display: block;
  break-inside: avoid;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #eee;
}
.supabase-gallery .supabase-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: none;
  transition: transform .4s ease;
}
.supabase-gallery .supabase-photo.is-landscape { height: 300px; }
.supabase-gallery .supabase-photo.is-portrait { height: 520px; }
.supabase-gallery .supabase-photo.is-square { height: 390px; }
.supabase-gallery .supabase-photo:hover img { filter: brightness(.92); }
.supabase-gallery .supabase-photo.is-hidden { display: none; }
.album-full-view {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(15, 12, 12, .95);
}
.album-full-view.open { display: flex; }
.album-view-content { width: min(1100px, calc(100vw - 150px)); height: min(92vh, 900px); display: grid; grid-template-rows: minmax(0, 1fr) 86px; gap: 12px; }
.album-main-stage { position: relative; min-height: 0; display: grid; place-items: center; overflow: hidden; }
.album-main-image { width: 100%; height: 100%; min-height: 0; object-fit: contain; opacity: 1; transition: opacity .16s ease; }
.album-full-view.is-loading .album-main-image { opacity: .2; }
.album-image-loader { position: absolute; z-index: 1; width: 34px; height: 34px; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; border-radius: 50%; opacity: 0; pointer-events: none; animation: album-spin .7s linear infinite; }
.album-full-view.is-loading .album-image-loader { opacity: 1; }
@keyframes album-spin { to { transform: rotate(360deg); } }
body.album-view-open { overflow: hidden; }
.album-full-view .album-close {
  position: absolute;
  top: 20px;
  right: 24px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 38px;
  cursor: pointer;
}
.album-nav { position: absolute; top: 50%; width: 52px; height: 70px; transform: translateY(-50%); border: 0; background: rgba(255,255,255,.1); color: #fff; font-size: 30px; cursor: pointer; }
.album-prev { left: 22px; }.album-next { right: 22px; }
.album-thumbnails { display: flex; gap: 8px; overflow-x: auto; justify-content: safe center; padding: 3px; }
.album-thumbnails button { width: 72px; height: 72px; flex: 0 0 72px; padding: 2px; border: 2px solid transparent; background: transparent; cursor: pointer; opacity: .55; }
.album-thumbnails button.active { border-color: #C9A86A; opacity: 1; }
.album-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) {
  .album-full-view { padding: 15px 8px; }
  .album-view-content { width: 100%; height: 90vh; grid-template-rows: minmax(0, 1fr) 68px; }
  .album-full-view .album-close {
    top: max(14px, env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
    z-index: 4;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(15, 12, 12, .72);
    font-size: 38px !important;
    font-weight: 300;
    line-height: 1 !important;
    touch-action: manipulation;
  }
  .album-nav {
    top: 45%;
    z-index: 3;
    width: 56px;
    height: 68px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: rgba(15, 12, 12, .58);
    font-size: 34px !important;
    line-height: 1 !important;
    touch-action: manipulation;
  }
  .album-prev { left: 8px; }.album-next { right: 8px; }
  .album-thumbnails button {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
    touch-action: manipulation;
  }
}
@media (max-width: 767px) {
  .supabase-gallery { columns: 2; }
  .supabase-gallery .supabase-photo.is-landscape { height: 210px; }
  .supabase-gallery .supabase-photo.is-portrait { height: 360px; }
  .supabase-gallery .supabase-photo.is-square { height: 280px; }
}
@media (max-width: 480px) {
  .supabase-gallery { columns: 1; }
  .supabase-gallery .supabase-photo.is-landscape { height: 230px; }
  .supabase-gallery .supabase-photo.is-portrait { height: 480px; }
  .supabase-gallery .supabase-photo.is-square { height: 360px; }
}
.rsvp-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(25, 22, 22, .72);
  overflow-y: auto;
}
.rsvp-modal.open { display: flex; }
.rsvp-modal-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 42px 48px 48px;
  background: #f5f6f9;
  border-radius: 4px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .3);
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
}
.rsvp-modal-close { position: absolute; top: 12px; right: 17px; border: 0; background: transparent; color: #555; font-size: 30px; cursor: pointer; }
.rsvp-modal-avatar { width: 140px; height: 140px; margin: 14px auto 20px; padding: 5px; border: 3px solid #C9A86A; border-radius: 50%; background: #fff; }
.rsvp-modal-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 10%; }
.rsvp-modal h2 { margin: 0; color: #25282c; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 37px; font-weight: 400; text-transform: uppercase; letter-spacing: .04em; }
.rsvp-modal-subtitle { margin: 4px 0 25px; color: #555; font-size: 20px; }
.rsvp-modal-subtitle strong { display: block; color: #25282c; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 27px; font-weight: 400; }
.rsvp-modal-form { display: grid; gap: 15px; text-align: left; }
.rsvp-modal-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rsvp-modal-form input[type='text'], .rsvp-modal-form input[type='tel'] { width: 100%; height: 56px; padding: 0 16px; border: 1px solid #ccd2da; border-radius: 7px; background: #fff; color: #25282c; font: 16px 'Cormorant Garamond', Georgia, serif; outline: none; }
.rsvp-guest-count { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 20px; border: 1px solid #ccd2da; border-radius: 7px; background: #fff; color: #25282c; }
.rsvp-guest-count label { margin: 0; color: #6c747d; font-weight: 600; }
.rsvp-guest-count select { width: 110px; height: 43px; padding: 0 13px; border: 1px solid #ccd2da; border-radius: 6px; background: #fff; color: #25282c; font: 16px 'Cormorant Garamond', Georgia, serif; outline: none; }
.rsvp-event-box { padding: 18px 20px; border: 1px solid #ccd2da; border-radius: 7px; background: #fff; }
.rsvp-event-box>strong { display: block; margin-bottom: 11px; color: #6c747d; }
.rsvp-event-options { display: flex; flex-wrap: wrap; gap: 15px 34px; }
.rsvp-event-options label { display: flex; align-items: center; gap: 9px; margin: 0; color: #25282c; cursor: pointer; }
.rsvp-event-options input { width: 19px; height: 19px; accent-color: #C9A86A; }
.rsvp-submit { width: 100%; min-height: 58px; border: 0; border-radius: 7px; background: #C9A86A; color: #fff; font: 18px 'Cormorant Garamond', Georgia, serif; cursor: pointer; }
.rsvp-submit:disabled { opacity: .65; cursor: wait; }
.rsvp-modal-status { min-height: 20px; margin: 0; color: #a13f43; text-align: center; font-size: 13px; }
body.rsvp-modal-open { overflow: hidden; }
.db-timeline { position: relative; display: grid; gap: 70px; }
.db-timeline::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: #E8D9B7; }
.db-timeline-item { position: relative; display: grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap: 70px; align-items:center; }
.db-timeline-date { position:absolute; z-index:2; left:50%; top:-25px; transform:translateX(-50%); padding:8px 15px; background:#FFFCF7; border:1px solid #E8D9B7; color:#A98545; font-size:12px; white-space:nowrap; }
.db-timeline-image { width:100%; min-height:280px; background-repeat:no-repeat; background-color:#eee; box-shadow:0 14px 40px rgba(72,46,44,.12); }
.db-timeline-copy { padding:32px; background:#fff; border:1px solid #ead9d7; }
.db-timeline-copy h3 { margin:0 0 12px; color:#A98545; font-size:30px; }
.db-timeline-copy p { margin:0; color:#73777b; line-height:1.8; white-space:pre-line; }
.db-timeline-item.image-left .db-timeline-image { grid-column:1; }.db-timeline-item.image-left .db-timeline-copy { grid-column:2; }
.db-timeline-item.image-right .db-timeline-image { grid-column:2; grid-row:1; }.db-timeline-item.image-right .db-timeline-copy { grid-column:1; grid-row:1; text-align:right; }
.db-story-item { margin-bottom: 80px; }
.db-story-image { width: 100%; min-height: 0; background-repeat: no-repeat; background-color: #eee; }
.db-story-item.db-image-left .timeline-gallery-wrapper { grid-column: 3 / span 11; width: 100%; max-width: 560px; justify-self: start; }
.db-story-item.db-image-left .description-wrapper { grid-column: 12 / -1; }
.db-story-item.db-image-right .timeline-gallery-wrapper { grid-column: 12 / span 11; width: 100%; max-width: 560px; justify-self: end; }
.db-story-item.db-image-right .description-wrapper { grid-column: 1 / span 12; text-align: right; }
.db-story-item.db-image-right:hover .description { transform: translateX(-15%); }
@media(max-width:991px){.db-story-item .timeline-gallery-wrapper,.db-story-item .description-wrapper{grid-column:1/-1!important}.db-story-item .timeline-gallery-wrapper{max-width:100%;justify-self:stretch}.db-story-item .description-wrapper{grid-row:2!important;text-align:left!important;margin-top:25px}.db-story-item:hover .description{transform:none!important}}
@media(max-width:767px){.db-timeline{gap:55px}.db-timeline::before{left:12px}.db-timeline-item{grid-template-columns:1fr;gap:14px;padding-left:30px}.db-timeline-date{left:12px;transform:none}.db-timeline-item .db-timeline-image,.db-timeline-item .db-timeline-copy{grid-column:1!important;grid-row:auto!important}.db-timeline-item.image-right .db-timeline-copy{text-align:left}.db-timeline-copy{padding:23px}.db-timeline-image{min-height:240px}}

#couple {
  margin-top: 0;
  padding-top: 20px;
  background: #fff;
}
#couple > .container { display: flex; flex-direction: column; }
#couple .couple-intro-row { order: 1; }
#couple .element .image { width: min(100%, 330px); height: auto; aspect-ratio: 4 / 5; margin-inline: auto; }
#couple .about-elems-wrapper { order: 2; display: flex; justify-content: center; align-items: flex-start; gap: 18px; margin-top: 15px; }
#couple .about-elems-wrapper > .element { flex: 0 0 330px; width: 330px; max-width: 330px; margin-left: 0; padding-left: 0; padding-right: 0; }
#couple .divider-about-us { left: 50%; right: auto; margin-left: 0; z-index: 8; transform: translateX(-50%); pointer-events: none; }
#couple .element .image > img[data-couple-image] { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(var(--couple-zoom, 1)) !important; }
#couple .element .image .hover-info {
  border-width: 24px;
}
#couple .element .image .hover-info .content {
  top: 0;
  height: 100%;
  display: flex;
  padding: 24px 20px;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: none;
}
#couple .element .image .hover-info h3 {
  margin: 0 0 22px;
  font-size: 34px;
  line-height: 1.05;
}
#couple .element .image .hover-info h3 small {
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: .04em;
}
#couple .element .image .hover-info .content p {
  max-width: 260px;
  margin: 0 0 24px;
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
}
#couple .element .image .hover-info .sn-icons {
  flex: 0 0 auto;
}
#couple .element .image .hover-info .sn-icons a {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
}
#giftregistry .event-item-content { gap: 14px; }
#giftregistry img[data-couple-image] {
  margin: 0 !important;
  max-width: none;
}
.db-cropped-couple-image { position: absolute !important; transform: none !important; transform-origin: top left !important; object-position: initial !important; clip-path: none !important; }
.couple-event-crop { position: relative; flex: 0 0 72px; width: 72px; height: 72px; min-width: 72px; display: block; overflow: hidden; border-radius: 50%; }
.couple-event-crop-source { position: absolute; left: 50%; top: 50%; display: block; transform: translate(-50%, -50%); }
.couple-event-crop .db-cropped-couple-image { margin: 0 !important; border-radius: 0 !important; }
.couple-detail-crop { position: relative; width: 100%; max-width: 500px; margin: 0 auto; overflow: hidden; background: #f5f2f0; }
.couple-detail-crop > img { position: absolute; max-width: none; margin: 0; object-fit: fill; }

#preloader { background: #faf6f5; transition: opacity .45s ease, visibility .45s ease; }
#preloader .loading-heart { color: #4A4036; stroke: #C9A86A; }
#preloader .loading-heart svg { width: 170px; }
#preloader .preloader-title { top: 61px; display: flex; align-items: center; justify-content: center; gap: 7px; width: 220px; color: #59545a; font-size: 21px; line-height: 1; white-space: nowrap; }
#preloader .preloader-title strong { font-weight: 500; }
#preloader .preloader-title small { color: #A98545; font-size: 17px; font-weight: 700; }
@media (max-width: 991px) {
  #couple { padding-top: 48px; }
  #hero {
    height: min(640px, calc(100svh - 70px));
    min-height: 570px !important;
    padding-top: 0;
    padding-bottom: 0;
  }
  #hero > .container,
  #hero > .container > .row,
  #hero > .container > .row > [class*="col-"] {
    height: 100%;
  }
  #hero .hero-wrapper {
    display: flex;
    height: 100%;
    margin-top: 0;
    padding: 54px 0 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  #hero .zs-slideshow .zs-slide {
    background-position: center center !important;
  }
  #hero .hero-wrapper h1.hero-title { margin-bottom: 20px; }
  #hero .hero-wrapper .btn { margin-top: 26px; }
  #couple .about-elems-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 10px;
    padding: 0 10px;
  }
  #couple .about-elems-wrapper > .element,
  #couple .about-elems-wrapper > .element[data-animation-delay] {
    display: block !important;
    width: min(100%, 420px);
    max-width: 420px;
    margin: 0 auto;
    padding: 0;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  #couple .element .image { width: 100%; }
  #couple .element .image {
    aspect-ratio: 4 / 3;
    box-shadow: inset 0 0 0 7px #fff;
  }
  #couple .element .image > img[data-couple-image] {
    position: relative;
    z-index: 0;
    object-fit: cover;
  }
  #couple .element .image .hover-info {
    border-width: 18px;
  }
  #couple .element .image .hover-info .content {
    padding: 18px 16px;
  }
  #couple .element .image .hover-info h3 {
    margin-bottom: 14px;
    font-size: 30px;
  }
  #couple .element .image .hover-info h3 small {
    margin-top: 7px;
    font-size: 18px;
  }
  #couple .element .image .hover-info .content p {
    margin-bottom: 14px;
    font-size: 18px;
    line-height: 1.4;
  }
  #couple .divider-about-us { display: none; }
  #couple .about-us-desc,
  #couple .about-us-desc[data-animation-delay] {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    padding: 22px 20px 0;
  }
  #couple .about-us-desc h3 {
    margin-bottom: 22px;
    font-size: 32px;
    line-height: 1.3;
  }
  #couple .about-us-desc > p:not(.groom-bride-signature) {
    font-size: 15px;
    line-height: 1.75;
  }
  #couple .parent-info-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin: 30px auto 0;
  }
  #couple .parent-infos {
    padding: 0;
    border: 0;
    text-align: center;
  }
  #couple .parent-info {
    display: block;
    text-align: center;
    font-size: 12px;
    line-height: 1.65;
  }
  #couple .parent-title,
  #couple .parent-name {
    display: inline;
  }
}
@media (max-width: 767px) {
  #giftregistry {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background-position: center center !important;
  }
  #giftregistry > .container {
    width: 100%;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
  }
  #giftregistry > .container > .row {
    margin-right: 0;
    margin-left: 0;
  }
  #giftregistry .events-boxs {
    width: 100%;
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
  #giftregistry .event-item-content { gap: 12px; }
}

.guestbook-db-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: stretch;
  margin-top: 10px;
  text-align: left;
}
.guestbook-db-layout #wish-form {
  width: 100%;
  height: 365px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  align-self: stretch;
}
.guestbook-db-layout #wish-form > div { width: 100%; }
.guestbook-db-layout #wish-form .form-control { width: 100%; }
.guestbook-db-layout #wish-form .form-control::placeholder {
  color: #77777c;
  font-size: 22px;
  opacity: 1;
}
.guestbook-db-layout #wish-form textarea { min-height: 125px; }
.guestbook-db-layout #wish-form .center { margin-top: auto; }
.guestbook-db-layout #wish-form > div:last-child { margin-bottom: 0; }
.guestbook-wishes {
  min-width: 0;
  height: 365px;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 0;
  background: transparent;
}
.guestbook-wishes h2 {
  flex: none;
  margin: 0 0 17px;
  color: #A98545;
  font-family: var(--font-family-title, serif);
  font-size: 25px;
}
.guestbook-wishes-list {
  min-height: 0;
  padding-right: 16px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #C9A86A #E8D9B7;
}
.guestbook-wishes-list::-webkit-scrollbar { width: 6px; }
.guestbook-wishes-list::-webkit-scrollbar-track { background: #f2e5e3; }
.guestbook-wishes-list::-webkit-scrollbar-thumb { background: #C9A86A; border-radius: 10px; }
.guestbook-wishes-list article {
  padding: 0 0 16px;
  margin: 0 0 16px;
  border-bottom: 1px solid #eadedd;
}
.guestbook-wishes-list article:last-child { margin-bottom: 0; }
.guestbook-wishes-list strong {
  display: block;
  margin-bottom: 5px;
  color: #4c4140;
  font-size: 16px;
}
.guestbook-wishes-list article p,
.guestbook-loading {
  margin: 0;
  color: #73777b;
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
@media (min-width: 768px) {
  .guestbook-db-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .guestbook-db-layout { grid-template-columns: 1fr; gap: 40px; }
  .guestbook-db-layout #wish-form { height: auto; min-height: 365px; padding: 0; }
  .guestbook-wishes { height: 340px; padding: 0; }
}

/* Public guestbook: submission only. Wishes remain private in admin. */
#rsvp .form-wrapper {
  width: min(100%, 760px);
  padding: 32px 30px;
  margin-right: auto;
  margin-left: auto;
}
#rsvp .form-wrapper > .section-title { margin-bottom: 52px; }
#giftregistry {
  position: relative;
  z-index: 2;
}
#rsvp {
  position: relative;
  z-index: 1;
}
#donate {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 40px 0;
}
#donate .section-title { margin-bottom: 54px; }
#donate .donate-box { margin-bottom: 0; }
.guestbook-db-layout {
  display: flex;
  width: 100%;
  max-width: 560px;
  margin: 10px auto 0;
  justify-content: center;
}
.guestbook-db-layout #wish-form {
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0 auto;
  align-self: auto;
}
.guestbook-db-layout #wish-form textarea { min-height: 145px; }
.guestbook-db-layout #wish-form .center {
  margin-top: 0;
  text-align: center;
}
.guestbook-db-layout #wish-form .error-handling-messages {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px !important;
}
@media (max-width: 767px) {
  #rsvp .form-wrapper {
    width: 100%;
    padding: 44px 20px;
  }
  .guestbook-db-layout { gap: 0; }
  .guestbook-db-layout #wish-form {
    min-height: 0;
    padding: 0;
  }
  .guestbook-db-layout #wish-form .form-control::placeholder { font-size: 19px; }
}

@media (max-width: 600px) {
  .rsvp-modal { padding: 10px; align-items: flex-start; }
  .rsvp-modal-dialog { max-height: calc(100vh - 20px); padding: 32px 20px 25px; }
  .rsvp-modal-avatar { width: 105px; height: 105px; }
  .rsvp-modal h2 { font-size: 27px; }
  .rsvp-modal-fields { grid-template-columns: 1fr; }
  .rsvp-event-options { display: grid; gap: 12px; }
}

/* Champagne Gold theme */
:root {
  --champagne-primary: #C9A86A;
  --champagne-secondary: #E8D9B7;
  --champagne-accent: #A98545;
  --champagne-background: #FFFCF7;
  --champagne-text: #4A4036;
}

html,
body,
#wrapper,
section,
#couple,
#donate {
  background-color: var(--champagne-background);
  color: var(--champagne-text);
}

body,
p,
li,
label,
input,
textarea,
select,
table {
  color: var(--champagne-text);
}

h1:not(.light),
h2:not(.light),
h3:not(.light),
h4:not(.light),
h5:not(.light),
h6:not(.light),
.main-color,
.color,
a:not(.btn) {
  color: var(--champagne-accent) !important;
}

a:not(.btn):hover,
a:not(.btn):focus { color: var(--champagne-primary) !important; }

::selection {
  color: #fff;
  background: var(--champagne-primary);
}

.section-bg-color { background-color: var(--champagne-background); }
#rsvp.section-bg-color {
  background: linear-gradient(var(--champagne-background) 50%, var(--champagne-secondary) 50%) no-repeat;
}
#rsvp.section-bg-color::before {
  border-color: var(--champagne-background) transparent transparent transparent;
}

.btn-primary,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
  color: var(--champagne-accent) !important;
  border-color: var(--champagne-primary) !important;
}
.btn-primary:hover,
.btn-primary:focus { background: rgba(201, 168, 106, .1) !important; }

.neela-style > .h-lines,
.btn > .h-lines { border-top-color: var(--champagne-primary) !important; border-bottom-color: var(--champagne-primary) !important; }
.neela-style > .v-lines,
.btn > .v-lines { border-left-color: var(--champagne-primary) !important; border-right-color: var(--champagne-primary) !important; }

.nav-section,
.nav-mobile,
.form-wrapper,
.location-info,
.rsvp-modal-dialog { background-color: var(--champagne-background) !important; }

.form-control,
.form-select {
  color: var(--champagne-text);
  background-color: #fff;
  border-color: var(--champagne-secondary);
}
.form-control:focus,
.form-select:focus { border-color: var(--champagne-primary); }

#gallery .album-intro h2,
.guestbook-wishes h2,
.rsvp-modal h2,
.db-timeline-copy h3 { color: var(--champagne-accent); }

.album-thumbnails button.active,
.db-timeline-copy,
.db-timeline-date,
.guestbook-wishes-list article { border-color: var(--champagne-secondary); }
.db-timeline-date {
  color: var(--champagne-accent);
  background: var(--champagne-background);
}

.rsvp-modal-avatar { border-color: var(--champagne-primary); }
.rsvp-event-options input { accent-color: var(--champagne-primary); }
.rsvp-submit {
  color: #fff;
  background: var(--champagne-primary);
}
.db-timeline::before { background: var(--champagne-secondary); }
.guestbook-wishes-list {
  scrollbar-color: var(--champagne-primary) var(--champagne-secondary);
}
.guestbook-wishes-list::-webkit-scrollbar-track { background: var(--champagne-secondary); }
.guestbook-wishes-list::-webkit-scrollbar-thumb { background: var(--champagne-primary); }

.form-wrapper.flowers::before,
.form-wrapper.flowers::after,
.side-flowers::before,
.side-flowers::after,
.side-flowers-light::before,
.side-flowers-light::after,
.section-title:not(.light)::after,
.hero-divider-top::before,
.hero-divider-bottom::before,
.hero-wrapper::before,
.hero-wrapper::after,
.invite .invite_title .text::before,
.invite .invite_title .text::after {
  filter: sepia(1) saturate(1.35) hue-rotate(355deg) brightness(.95);
}

#preloader { background: var(--champagne-background); }
#preloader .preloader-title small,
.loading-heart { color: var(--champagne-accent); stroke: var(--champagne-primary); }

/* Refined contrast for the Champagne palette */
.btn-primary,
.btn-primary.reverse {
  color: #fff !important;
  background: var(--champagne-accent) !important;
  border-color: var(--champagne-accent) !important;
  box-shadow: 0 8px 22px rgba(74, 64, 54, .12);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.reverse:hover,
.btn-primary.reverse:focus {
  color: var(--champagne-text) !important;
  background: var(--champagne-secondary) !important;
  border-color: var(--champagne-primary) !important;
}
.btn-primary > .h-lines,
.btn-primary > .v-lines { border-color: rgba(255, 255, 255, .58) !important; }

.invite .invite_info,
#giftregistry .events-boxs {
  color: #FFFCF7;
  background-color: rgba(74, 64, 54, .84) !important;
  backdrop-filter: blur(2px);
}
.invite .invite_info h2,
#giftregistry .events-boxs > h2 { color: #E8D9B7 !important; }
.invite .invite_info p,
.invite .invite_info > div,
#giftregistry .events-boxs > .section-desc { color: #FFFCF7 !important; }

.timeline .description {
  color: var(--champagne-text) !important;
  background: #F5EBD7 !important;
}
.timeline .description h3,
.timeline .description h4 { color: var(--champagne-text) !important; }
.timeline .description .neela-style > .h-lines,
.timeline .description .neela-style > .v-lines { border-color: rgba(169, 133, 69, .52) !important; }

#donate .map-info-container .info-wrapper .location-info {
  color: var(--champagne-text) !important;
  background: #F3E6C9 !important;
  border-color: #fff !important;
}
#donate .location-info .neela-style,
#donate .location-info h4,
#donate .location-info h5,
#donate .location-info p,
#donate .location-info strong { color: var(--champagne-text) !important; }
#donate .location-info .neela-style > .h-lines,
#donate .location-info .neela-style > .v-lines { border-color: rgba(169, 133, 69, .7) !important; }

.wedding-gifts li {
  color: var(--champagne-text) !important;
  background: var(--champagne-background) !important;
}
.wedding-gifts li h3,
.wedding-gifts li h4,
.wedding-gifts li h5 { color: var(--champagne-text) !important; }

.section-title:not(.light),
.section-title-lg:not(.light),
.section-title-xl:not(.light) { color: var(--champagne-text) !important; }
#gallery .album-intro h2 { color: var(--champagne-accent) !important; }

/* Consistent editorial type scale: readable copy, restrained headings and links. */
html { font-size: 20px; }
body {
  font-size: 20px;
  line-height: 1.65;
}
body p,
body li,
body label,
body input,
body textarea,
body select,
body .section-desc,
body .description p {
  font-size: 19px;
  line-height: 1.65;
}
body a,
body button,
body .btn {
  font-size: 20px;
  line-height: 1.35;
}
a[role="link"],
[data-scroll-target] { cursor: pointer; }
#btn-see-more-gallery { border: 0; }
#main-nav a,
.nav-mobile a { font-size: 20px !important; }
h1,
.section-title,
.section-title-xl {
  font-size: 64px !important;
  line-height: 1.08;
}
h2,
.section-title-lg {
  font-size: 54px !important;
  line-height: 1.12;
}
h3 { font-size: 40px; line-height: 1.18; }
h4 { font-size: 34px; line-height: 1.2; }
.hero-title { font-size: 92px !important; }
.hero-subtitle { font-size: 42px !important; }
.hero-subtitle small,
.hero-wrapper h2 { font-size: 30px !important; }

/* Save-the-date panel follows the same readable scale as the rest of the site. */
.invite .invite_info {
  font-size: 20px;
  line-height: 1.65;
}
.invite .invite_info > div:not(.date):not(.count-down-clock):not(.center) {
  font-size: 20px;
  line-height: 1.65;
}
.invite .invite_info h2,
.invite .invite_info h2.fs-1 {
  font-size: 48px !important;
  line-height: 1.1;
}
.invite .invite_info h2 small { font-size: 28px; }
.invite .invite_info .btn {
  font-size: 20px !important;
  line-height: 1.3;
  letter-spacing: .04em;
}
.wedding-action-btn {
  width: 240px !important;
  min-width: 240px;
  max-width: 240px;
  min-height: 58px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: color .3s ease, background-color .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease !important;
  color: #fff !important;
  background: var(--champagne-accent) !important;
  border-color: var(--champagne-accent) !important;
  font-family: var(--font-body) !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: .045em !important;
  text-transform: uppercase !important;
  white-space: nowrap;
}
.wedding-action-btn > .h-lines,
.wedding-action-btn > .v-lines {
  border-color: rgba(255, 255, 255, .78) !important;
}
.wedding-action-btn:hover,
.wedding-action-btn:focus {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(74, 64, 54, .2) !important;
  color: var(--champagne-text) !important;
  background: var(--champagne-secondary) !important;
  border-color: var(--champagne-primary) !important;
}
.wedding-action-btn:hover > .h-lines,
.wedding-action-btn:hover > .v-lines,
.wedding-action-btn:focus > .h-lines,
.wedding-action-btn:focus > .v-lines {
  border-color: var(--champagne-primary) !important;
}
.invite .invite_info .date {
  font-size: 40px;
  line-height: 1.15;
}
.invite .countdown > div > div { font-size: 46px; }
.invite .countdown > div > span {
  font-size: 18px;
  opacity: .82;
}

/* Give every story photo a refined champagne frame. */
.db-story-item .timeline-gallery-wrapper,
.db-timeline-image {
  padding: 9px;
  overflow: hidden;
  background: var(--champagne-background);
  border: 1px solid var(--champagne-primary);
  box-shadow: 0 14px 36px rgba(74, 64, 54, .14);
}
.db-story-image,
.timeline-gallery-wrapper .item > img {
  border: 1px solid rgba(169, 133, 69, .42);
}

/* Balanced story rows: full-size image and vertically centered copy. */
.db-story-item {
  align-items: center;
  margin-bottom: 110px;
}
.db-story-item.db-image-left .timeline-gallery-wrapper {
  grid-column: 1 / span 13;
  width: 92%;
  max-width: 680px;
  justify-self: start;
  left: 14px;
}
.db-story-item.db-image-left .description-wrapper {
  grid-column: 11 / -1;
}
.db-story-item.db-image-right .timeline-gallery-wrapper {
  grid-column: 12 / -1;
  width: 92%;
  max-width: 680px;
  justify-self: end;
  right: 14px;
}
.db-story-item.db-image-right .description-wrapper {
  grid-column: 1 / span 14;
}
.db-story-item .timeline-gallery-wrapper,
.db-story-item .timeline-gallery-del,
.db-story-item .db-story-image {
  display: block;
  width: 100%;
}
.db-story-item .description-wrapper {
  display: flex;
  align-items: center;
  align-self: center;
  margin-top: 0;
}
.db-story-item .description {
  width: 100%;
}
@media (min-width: 992px) {
  .db-story-item.db-image-left:hover .description {
    transform: translateX(10%) !important;
  }
  .db-story-item.db-image-right:hover .description {
    transform: translateX(-10%) !important;
  }
}

/* Keep the couple visible instead of centering the crop behind the content. */
#our-story-title {
  background-position: center 65% !important;
  background-size: cover !important;
}
#giftregistry {
  overflow: hidden;
  background-image: none !important;
  isolation: isolate;
}
#giftregistry::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -2px;
  background: url('../images/anh-cuoi-toi-uu/NVT03910.jpg') center center / cover no-repeat;
  transform: scaleX(-1) scale(1.01);
}
#giftregistry::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(255, 252, 247, .08);
}

/* Keep decorative foliage inside the album section.  The section creates its
   own paint layer so the invitation divider/image always stays above it. */
#invitation {
  position: relative;
  z-index: 2;
}
#gallery {
  position: relative;
  z-index: 1;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--champagne-background);
}
#gallery > .container {
  position: relative;
  z-index: 2;
}

/* Donation cards remain comfortably wide.  At intermediate viewports they
   become one card per row instead of squeezing bank details onto many lines. */
#donate .donate-box > .row {
  gap: 32px;
}
#donate .donate-card {
  flex: 0 1 520px;
  width: min(100%, 520px);
  max-width: 520px;
  padding-right: 12px;
  padding-left: 12px;
}
#donate .donate-card .location-info p,
#donate .donate-card .location-info h4 {
  white-space: nowrap;
}

#footer-onepage .footer-widget-area {
  padding: 30px 0 30px;
}
#footer-onepage .footer-logo {
  z-index: 1;
  margin: 2px 0 8px;
  color: #fff;
  font-family: var(--font-names) !important;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  min-width: 315px;
  padding-bottom: 25px;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
#footer-onepage .footer-logo > span {
  position: relative;
  z-index: 1;
}
#footer-onepage .footer-logo::before,
#footer-onepage .footer-logo::after {
  width: 76px;
  height: 66px;
  top: 50%;
  bottom: auto;
  z-index: 0;
  filter: brightness(0) invert(1);
  opacity: .72;
}
#footer-onepage .footer-logo::before {
  right: 0;
  transform: translateY(-50%) rotate(50deg);
}
#footer-onepage .footer-logo::after {
  right: auto;
  left: 0;
  transform: translateY(-50%) rotate(-130deg);
}
#footer-onepage .footer-logo-heart { color: #fff; }
#footer-onepage .footer-thank-you {
  max-width: 820px;
  margin: 0 auto 8px;
  color: #fff;
  font-weight: 700;
  font-style: italic;
  font-family: var(--font-body) !important;
  line-height: 1.5;
}
#footer-onepage .footer-ampersand {
  display: inline-block;
  font-family: var(--font-names) !important;
  font-style: normal;
  font-weight: 600;
  font-synthesis: none;
  line-height: 1;
}

/* Focal-point presets for the horizontally mirrored event photograph. */
@media (min-width: 1200px) {
  #giftregistry::before { background-position: center 42%; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  #giftregistry::before { background-position: 50% 42%; }
  #donate .donate-card {
    flex-basis: min(100%, 620px);
    width: min(100%, 620px);
    max-width: 620px;
  }
}
@media (min-width: 900px) and (max-width: 1023px) {
  /* The section becomes much taller here. Move the source focal point left
     before mirroring so the couple remains visible on the right. */
  #giftregistry::before { background-position: 34% 42%; }
  #donate .donate-card {
    flex-basis: min(100%, 620px);
    width: min(100%, 620px);
    max-width: 620px;
  }
}
@media (min-width: 768px) and (max-width: 899px) {
  #giftregistry::before { background-position: 28% 42%; }
  #donate .donate-card {
    flex-basis: min(100%, 620px);
    width: min(100%, 620px);
    max-width: 620px;
  }
}

/* Tablet story rows are stacked by the legacy layout.  Cancel its negative
   overlap and expose a short section of the centre timeline between cards. */
@media (min-width: 768px) and (max-width: 991px) {
  #story .db-story-item .description-wrapper {
    position: relative;
    z-index: 2;
    margin-top: 46px !important;
  }
  #story .db-story-item .timeline-gallery-wrapper {
    position: relative;
    z-index: 2;
    margin-bottom: 0 !important;
  }
}

/* Join the final timeline marker to the centre line. */
.timeline_footer > div:first-child {
  margin-top: 10px;
}
.timeline_footer i {
  margin-top: 0;
}

/* Rebalance the hero crop: move the background image slightly left. */
#hero .zs-slideshow .zs-slide,
#hero .zs-slides .zs-slide {
  background-position: 52% 40% !important;
  background-size: 180% auto !important;
}

@media (min-width: 768px) and (max-width: 1199px) {
  h1,
  .section-title,
  .section-title-xl { font-size: 56px !important; }
  h2,
  .section-title-lg { font-size: 48px !important; }
  h3 { font-size: 36px; }
  h4 { font-size: 31px; }
  .hero-title { font-size: 76px !important; }
  .hero-subtitle { font-size: 36px !important; }
}

@media (max-width: 767px) {
  body { font-size: 18px; }
  body p,
  body li,
  body label,
  body input,
  body textarea,
  body select,
  body .section-desc,
  body .description p { font-size: 19px; }
  body a,
  body button,
  body .btn,
  #main-nav a,
  .nav-mobile a { font-size: 17px !important; }
  h1,
  .section-title,
  .section-title-xl { font-size: 46px !important; }
  h2,
  .section-title-lg { font-size: 40px !important; }
  h3 { font-size: 34px; }
  h4 { font-size: 30px; }
  .hero-title { font-size: 62px !important; }
  .hero-subtitle { font-size: 32px !important; }
  .invite .invite_info,
  .invite .invite_info > div:not(.date):not(.count-down-clock):not(.center) {
    font-size: 20px;
  }
  .invite .invite_info h2,
  .invite .invite_info h2.fs-1 { font-size: 40px !important; }
  .invite .invite_info h2 small { font-size: 24px; }
  .invite .invite_info .btn { font-size: 18px !important; }
  .invite .invite_info .date { font-size: 34px; }
  .invite .countdown > div > div { font-size: 38px; }
  .invite .countdown > div > span { font-size: 17px; }
  .wedding-action-btn {
    width: min(240px, 100%) !important;
    min-width: 0;
    font-size: 18px !important;
  }
  .db-story-item.db-image-left .timeline-gallery-wrapper { left: 0; }
  .db-story-item.db-image-right .timeline-gallery-wrapper { right: 0; }
  #our-story-title { background-position: center 65% !important; }
  #giftregistry::before { background-position: 76% center; }
  #hero .zs-slideshow .zs-slide,
  #hero .zs-slides .zs-slide {
    background-position: 54% 24% !important;
    background-size: cover !important;
  }
  .db-story-item { margin-bottom: 70px; }
  .db-story-item .description-wrapper {
    grid-row: 2 !important;
    margin-top: 24px;
  }
}

/* Mobile-only layout corrections. */
@media (max-width: 767px) {
  #hero {
    height: min(760px, calc(100svh - 70px));
    min-height: 620px !important;
    background: transparent !important;
  }
  #hero .hero-wrapper {
    padding: 36px 16px 48px;
  }
  #hero .hero-wrapper h2 {
    margin-bottom: 18px;
    font-size: 30px !important;
  }
  #hero .hero-title {
    margin-bottom: 28px !important;
    font-size: 60px !important;
    line-height: 1.05;
    white-space: nowrap;
  }
  #hero .hero-title > span,
  #hero .hero-title > small {
    display: inline !important;
  }
  #hero .hero-subtitle {
    margin-bottom: 22px;
    font-size: 35px !important;
  }

  #story > .container {
    width: 100%;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
  }
  #story > .container > .row {
    margin-right: 0;
    margin-left: 0;
  }
  #story > .container > .row > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
  }
  #story .timeline,
  #story .db-story-item,
  #story .timeline-gallery-wrapper {
    width: 100%;
    max-width: none;
  }
  #story .db-story-item .timeline-gallery-wrapper {
    padding: 0;
    border-right: 0;
    border-left: 0;
    box-shadow: none;
  }
  #story .db-story-image {
    border-right: 0;
    border-left: 0;
  }
  #story .db-story-item .description-wrapper {
    width: auto;
    margin: 42px 18px 0 !important;
  }

  .invite .invite_title {
    display: none;
  }
  #invitation {
    background-position: 56% center !important;
  }
  .invite .invite_info {
    width: 100%;
    color: #FFFCF7 !important;
    background: rgba(47, 40, 34, .42) !important;
    backdrop-filter: none;
  }
  .invite .invite_info h2,
  .invite .invite_info p,
  .invite .invite_info > div,
  .invite .invite_info .date,
  .invite .countdown > div,
  .invite .countdown > div > span {
    color: #FFFCF7 !important;
  }
  .invite .invite_info h2 { color: var(--champagne-secondary) !important; }
  .invite .invite_info .date::before,
  .invite .invite_info .date::after {
    opacity: .35;
    filter: sepia(1) saturate(1.2);
  }

  #giftregistry::before {
    background-position: 22% 45%;
  }

  #donate .donate-box > .row { gap: 26px; }
  #donate .donate-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 560px;
  }
  #donate .donate-card .location-info p { font-size: 16px; }
  #donate .donate-card .location-info h4 {
    max-width: 100%;
    overflow: hidden;
    font-size: 20px !important;
    line-height: 1.2;
    text-overflow: clip;
  }
  #footer-onepage .footer-logo {
    margin-bottom: 12px;
    font-size: 32px;
  }
  #footer-onepage .footer-widget-area {
    padding: 30px 0 30px;
  }
  #footer-onepage .footer-thank-you {
    padding: 0 18px;
    font-size: 19px;
  }
}

@media (max-width: 480px) {
  #donate .donate-card .location-info h4 {
    font-size: 20px !important;
    letter-spacing: -.01em;
  }
}

/* Compact mobile copy without narrowing the visual cards. */
@media (max-width: 767px) {
  #gallery .album-intro h3 {
    font-size: clamp(20px, 5.3vw, 25px) !important;
    line-height: 1.15;
    white-space: nowrap;
  }
  #giftregistry .events-boxs {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }
  #giftregistry .wedding-gifts li { padding: 14px; }
  #giftregistry .wedding-gifts li .neela-style { padding: 20px 16px; }
  #giftregistry .event-item-content > div { width: 100%; }
  #giftregistry .event-item-content p { font-size: 16px; }
  #giftregistry .event-item-content p:last-child { white-space: nowrap; }

  #footer-onepage .footer-logo {
    min-width: min(100%, 330px);
    padding-right: 66px;
    padding-left: 66px;
    gap: 10px;
  }
  #footer-onepage .footer-logo::before,
  #footer-onepage .footer-logo::after {
    width: 62px;
    height: 55px;
  }
  #footer-onepage .footer-logo-heart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Unified editorial type scale. Component-specific display text such as the
   hero remains intentionally larger, while semantic content is consistent. */
body,
body p,
body li,
body label,
body input,
body textarea,
body select,
body .section-desc,
body .description p {
  font-size: 19px !important;
  line-height: 1.65;
}
h1:not(.hero-title),
.section-title,
.section-title-xl {
  font-size: 64px !important;
  line-height: 1.08;
}
h2,
.section-title-lg { font-size: 54px !important; line-height: 1.12; }
h3 { font-size: 40px !important; line-height: 1.18; }
h4 { font-size: 34px !important; line-height: 1.2; }
h5 { font-size: 28px !important; line-height: 1.25; }
h6 { font-size: 24px !important; line-height: 1.3; }
body button,
body .btn { font-size: 18px !important; }

/* Keep the couple introduction headline on one line on desktop, scaling only
   enough to fit narrower PC viewports. */
@media (min-width: 992px) {
  #couple .couple-intro-row h3 {
    font-size: clamp(30px, 2.35vw, 40px) !important;
    white-space: nowrap;
  }
}

/* Floating, URL-free scroll-to-top control. */
.scroll-to-top {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 9990;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--champagne-accent);
  box-shadow: 0 10px 26px rgba(74, 64, 54, .24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background-color .25s ease;
  cursor: pointer;
}
.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-to-top:hover,
.scroll-to-top:focus-visible {
  color: var(--champagne-text);
  background: var(--champagne-secondary);
  outline: 2px solid var(--champagne-primary);
  outline-offset: 3px;
}
.scroll-to-top i { font-size: 21px; }

@media (max-width: 767px) {
  body,
  body p,
  body li,
  body label,
  body input,
  body textarea,
  body select,
  body .section-desc,
  body .description p {
    font-size: 19px !important;
    line-height: 1.62;
  }
  h1:not(.hero-title),
  .section-title,
  .section-title-xl { font-size: 44px !important; line-height: 1.08; }
  h2,
  .section-title-lg { font-size: 38px !important; line-height: 1.12; }
  h3 { font-size: 30px !important; line-height: 1.18; }
  h4 { font-size: 24px !important; line-height: 1.2; }
  h5 { font-size: 22px !important; line-height: 1.25; }
  h6 { font-size: 20px !important; line-height: 1.3; }
  body button,
  body .btn { font-size: 17px !important; }

  #gallery .album-intro h4 {
    white-space: nowrap;
  }
  #giftregistry .events-boxs {
    padding-right: 8px !important;
    padding-left: 8px !important;
  }
  #giftregistry .wedding-gifts li {
    width: 100%;
    padding: 10px;
  }
  #giftregistry .wedding-gifts li .neela-style {
    padding: 22px 14px;
  }
  #giftregistry .event-item-content p,
  #giftregistry .event-item-content p:last-child {
    max-width: 100%;
    font-size: 20px !important;
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: normal;
  }
  .scroll-to-top {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 50px;
    height: 50px;
  }
}
