/* Hide requested UI blocks without touching app logic */
.languages-container,
.audio-button,
.order-button {
  display: none !important;
}

/* Replace invitation template background photos */
.w-203:before {
  background-image: url("/assets/custom/photo1.png") !important;
  background-position: center center !important;
  background-size: cover !important;
}

.w-203:after {
  background-image: url("/assets/custom/photo2.png") !important;
  background-position: center center !important;
  background-size: cover !important;
}

/* Remove footer info section */
.invitations-footer {
  display: none !important;
}

/* Replace confirm-attendance section with custom share block */
#confirm-attendance-section {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 56px 20px !important;
}

#confirm-attendance-section .custom-share-section {
  width: min(760px, 100%) !important;
  text-align: center !important;
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(226, 198, 169, 0.7) !important;
  border-radius: 24px !important;
  padding: 36px 24px !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(6px) !important;
}

#confirm-attendance-section .custom-share-title {
  margin: 0 0 18px !important;
  font-size: clamp(34px, 4vw, 52px) !important;
  line-height: 1.1 !important;
  color: var(--primary-color, #e2c6a9) !important;
}

#confirm-attendance-section .custom-share-text {
  font-family: var(--font-primary);
  font-size: var(--body-1);
  color: var(--white);
  text-align: center;
  margin-bottom: 40px;
  line-height: 36px;
}

#confirm-attendance-section .custom-share-link.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 260px !important;
  padding: 12px 22px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(226, 198, 169, 0.9) !important;
  background: rgba(226, 198, 169, 0.2) !important;
  color: var(--white, #fff) !important;
  text-decoration: none !important;
  font-size: clamp(15px, 1.8vw, 20px) !important;
  transition: transform 160ms ease, background-color 160ms ease !important;
}

#confirm-attendance-section .custom-share-link.button:hover {
  transform: translateY(-1px) !important;
  background: rgba(226, 198, 169, 0.34) !important;
}

/* Dress code: hide first leaf icon near title */
#dress-code-section-title img:first-of-type,
#dress-code-section-title .leaf-icon:first-of-type {
  display: none !important;
}

/* Typography tuning */
.w-203 .groom-name,
.w-203 .bride-name,
.w-203 #intro-section-groom-name,
.w-203 #intro-section-bride-name {
  font-size: var(--headline-1) !important;
}

.w-203 #intro-section .title {
  font-size: var(--headline-2) !important;
}

/* Fine-tune name positioning in intro */
.w-203 #intro-section-groom-name,
.w-203 .groom-name {
  position: relative !important;
  left: -12px !important;
  top: -4px !important;
  line-height: 0.95 !important;
}

.w-203 #intro-section-bride-name,
.w-203 .bride-name {
  position: relative !important;
  left: 12px !important;
  top: 6px !important;
  line-height: 0.95 !important;
}

@media (max-width: 834px) {
  .w-203 #intro-section-groom-name,
  .w-203 .groom-name {
    left: -6px !important;
    top: -2px !important;
  }

  .w-203 #intro-section-bride-name,
  .w-203 .bride-name {
    left: 6px !important;
    top: 3px !important;
  }
}
