/* ========================================================
   7. RECEPTION, CALENDAR, COUNTDOWN & VENUE — BLUE WATERCOLOR THEME
   ======================================================== */
#reception {
  position: relative;
  padding: 10px 0 20px;
  text-align: center;
}

/* Decorative corner florals */
.reception-flower-tl {
  position: absolute;
  top: -35px;
  left: -45px;
  width: clamp(140px, 30vw, 210px);
  height: auto;
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 8px 18px rgba(40, 75, 110, 0.15));
}

.reception-flower-ml {
  position: absolute;
  top: 48%;
  left: -35px;
  width: clamp(110px, 24vw, 150px);
  height: auto;
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 6px 14px rgba(40, 75, 110, 0.12));
}

.reception-flower-br {
  position: absolute;
  bottom: -30px;
  right: -40px;
  width: clamp(150px, 32vw, 220px);
  height: auto;
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 8px 18px rgba(40, 75, 110, 0.15));
}

/* Romantic cursive handwriting accents */
.reception-script-bl {
  position: absolute;
  bottom: 120px;
  left: 6px;
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 3.8vw, 1.9rem);
  color: #557eab;
  line-height: 1.15;
  text-align: left;
  pointer-events: none;
  z-index: 6;
  opacity: 0.85;
  transform: rotate(3deg);
}

.reception-unified-wrapper {
  position: relative;
  z-index: 7;
  max-width: 680px;
  margin: 0 auto;
}

/* Timing Block */
.reception-timing-block {
  margin: 10px 0 16px;
}

.reception-prompt {
  font-family: var(--font-subtitle);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--primary-navy);
  text-transform: uppercase;
}

.reception-highlight-hour {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 3.6rem);
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1;
  margin: 4px 0 10px;
}

/* 3-Col Date Box */
.reception-date-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 10px auto 4px;
  border: none;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.reception-date-box .date-col {
  font-family: var(--font-subtitle);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--primary-navy);
  text-transform: uppercase;
}

.reception-date-box .date-col-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: 18px;
  border-inline: 1px solid rgba(165, 195, 225, 0.85);
}

.reception-date-box .day-num {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6.5vw, 3.2rem);
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1;
}

.reception-date-box .year-num {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-top: 4px;
}

.reception-unified-wrapper .lunar-date-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.92rem;
  color: #436a90;
  letter-spacing: 0.08em;
  margin-top: 8px;
}

/* Schedule Icons (Đón khách & Khai tiệc) */
.reception-schedule-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 20px auto 22px;
  max-width: 360px;
}

.sched-icon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.sched-icon-circle {
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sched-text {
  display: flex;
  flex-direction: column;
}

.sched-label {
  font-family: var(--font-subtitle);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #4a7094;
  text-transform: uppercase;
}

.sched-hour {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.1;
  margin-top: 2px;
}

.sched-divider {
  width: 1px;
  height: 36px;
  background: rgba(175, 205, 230, 0.85);
}

/* Calendar Card Box */
.calendar-card-box {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(195, 220, 245, 0.8);
  border-radius: 16px;
  padding: 20px 18px 18px;
  margin: 18px auto 24px;
  max-width: 360px;
  box-shadow: 0 10px 30px rgba(45, 80, 115, 0.08);
}

.calendar-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 6px;
}

.cal-nav-arrow {
  font-size: 1.2rem;
  color: #5a80a4;
  cursor: pointer;
  user-select: none;
}

.cal-title {
  font-family: var(--font-subtitle);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary-navy);
  text-transform: uppercase;
}

.calendar-grid-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
  font-family: var(--font-subtitle);
  font-size: 0.7rem;
  font-weight: 600;
  color: #55799c;
  text-align: center;
}

.calendar-grid-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.calendar-grid-days span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  border-radius: 50%;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: #3b5f82;
  transition: background 0.2s ease;
}

.calendar-grid-days .wedding-day-highlight {
  background: var(--primary-navy);
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(27, 56, 88, 0.35);
}

.calendar-grid-days .empty {
  visibility: hidden;
}

.btn-calendar-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1.5px solid rgba(160, 190, 220, 0.85);
  background: #ffffff;
  color: var(--primary-navy);
  padding: 8px 24px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 14px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(45, 80, 115, 0.08);
  transition: all 0.25s ease;
}

.btn-calendar-add:hover {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
  transform: translateY(-1px);
}

.btn-rsvp-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(135deg, #8f78bc 0%, #60458f 100%);
  color: #ffffff !important;
  border: none !important;
  padding: 8px 24px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 14px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(87, 61, 137, 0.28);
  transition: all 0.25s ease;
}

.btn-rsvp-trigger *,
.btn-rsvp-trigger svg,
.btn-rsvp-trigger span {
  color: #ffffff !important;
  fill: currentColor;
}

.btn-rsvp-trigger:hover,
.btn-rsvp-trigger:active {
  background: linear-gradient(135deg, #a18bca 0%, #70549f 100%);
  color: #ffffff !important;
  border: none !important;
  outline: none !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(87, 61, 137, 0.38);
}

/* Countdown Section */
.countdown-section {
  position: relative;
  text-align: center;
  margin: 16px auto 28px;
  padding: 0 12px;
  width: 100%;
}

/* Khi KHÔNG có ảnh nền (mặc định / API không có link ảnh) */
.countdown-timeline-container:not(.has-bg) {
  position: relative;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.countdown-timeline-container:not(.has-bg) .countdown-bg-wrapper {
  display: none !important;
}

.countdown-timeline-container:not(.has-bg) .countdown-inner-wrap {
  position: relative;
  inset: auto;
  z-index: 2;
  max-width: 500px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

/* Khi CÓ ảnh nền từ API (.has-bg) */
.countdown-timeline-container.has-bg {
  position: relative;
  max-width: 560px;
  width: calc(100% - 20px);
  margin: 0 auto;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 14px 36px rgba(62, 40, 105, 0.13), 0 3px 10px rgba(0, 0, 0, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  background: #f7f3fb;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.countdown-timeline-container.has-bg .countdown-bg-wrapper {
  position: relative;
  width: 100%;
  min-height: 280px;
  border-radius: 19px;
  overflow: hidden;
  display: block;
}

.countdown-timeline-container.has-bg .countdown-bg-image {
  display: block;
  width: 100%;
  height: auto;
  min-height: 280px;
  object-fit: cover;
  border-radius: 19px;
  filter: blur(1px) brightness(0.98);
  transform: scale(1.02);
  transition: filter 0.3s ease;
}

.countdown-timeline-container.has-bg .countdown-blur-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(247, 243, 251, 0.26) 45%,
    rgba(247, 243, 251, 0.36) 100%
  );
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  pointer-events: none;
  z-index: 2;
}

.countdown-timeline-container.has-bg .countdown-inner-wrap {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  margin: 0 auto;
}

.countdown-sub-section {
  margin: 28px auto 32px;
  max-width: 500px;
}

.countdown-title {
  font-family: var(--font-title);
  font-size: clamp(1.15rem, 3.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary-navy);
  text-transform: uppercase;
  margin: 8px 0 16px;
  text-align: center;
}

.countdown-timeline-container.has-bg .countdown-title {
  font-size: clamp(1.1rem, 3.2vw, 1.45rem);
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.85);
}

.countdown-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.count-pill {
  background: #ffffff;
  border: 1px solid rgba(202, 190, 226, 0.72);
  border-radius: 12px;
  padding: 10px 10px;
  flex: 1;
  max-width: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 12px rgba(45, 80, 115, 0.06);
}

.countdown-timeline-container.has-bg .count-pill {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 16px rgba(56, 36, 95, 0.1);
}

.count-pill .num {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4vw, 1.65rem);
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1;
}

.count-pill .lbl {
  font-family: var(--font-body), var(--font-serif);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #5a487c;
  margin-top: 4px;
  text-transform: capitalize;
}

/* Venue Location & Map Block */
.venue-location-block {
  margin-top: 32px;
}

.venue-title-wrap {
  margin-bottom: 8px;
}

.venue-name {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary-navy);
  margin: 8px 0 4px;
}

.venue-address {
  font-size: 0.9rem;
  color: #436688;
  max-width: 420px;
  margin: 0 auto 18px;
  line-height: 1.55;
}

.map-embed-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 12px 32px rgba(45, 80, 115, 0.12);
  margin: 0 auto;
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.btn-direction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #8f78bc 0%, #60458f 100%);
  border: none !important;
  color: #ffffff !important;
  padding: 10px 32px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(87, 61, 137, 0.28);
  margin-top: 18px;
  transition: all 0.25s ease;
}

.btn-direction *,
.btn-direction svg,
.btn-direction span {
  color: #ffffff !important;
  fill: currentColor;
}

.btn-direction:hover,
.btn-direction:active {
  background: linear-gradient(135deg, #a18bca 0%, #70549f 100%);
  color: #ffffff !important;
  border: none !important;
  outline: none !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(87, 61, 137, 0.38);
}

