/* ========================================================
   5. CARDS & GENERAL SECTIONS
   ======================================================== */
.red-card {
  position: relative;
  background: linear-gradient(175deg, #511419 0%, #3e0c10 100%);
  color: var(--cream-text);
  border-radius: 28px;
  padding: 46px 24px 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(201, 162, 74, 0.25);
  overflow: hidden;
}



.card-heading {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
}

.card-heading::after {
  content: "❦";
  display: block;
  font-size: 0.8rem;
  color: var(--gold-light);
  margin-top: 6px;
  opacity: 0.85;
}

/* Two Families Grid */
.parents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: none;
  margin-bottom: 26px;
  position: relative;
}

.parents-grid::after {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.family-side small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-bottom: 6px;
  font-weight: 600;
}

.family-side h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: #ffffff;
  margin-bottom: 4px;
}

.family-side p {
  font-size: 0.78rem;
  color: var(--cream-sub);
  line-height: 1.35;
}

/* Bride & Groom Center Announcement */
.announcement-text {
  font-family: var(--font-title);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.couple-highlight-names {
  margin-bottom: 22px;
}

.groom-name, .bride-name {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 5.5vw, 2.3rem);
  color: #ffffff;
  font-weight: 600;
  line-height: 1.15;
}

.role-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 600;
}

.couple-highlight-names .amp {
  display: block;
  font-family: var(--font-script);
  font-size: 1.9rem;
  color: var(--gold);
  margin: 2px 0;
}

.ceremony-note {
  font-family: var(--font-title);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.ceremony-time-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 28px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(201, 162, 74, 0.35);
  border-radius: 12px;
  margin-bottom: 14px;
}

.ceremony-time-badge .time {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  text-transform: uppercase;
  font-weight: 600;
}

.ceremony-time-badge .date-big {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.1;
  margin: 4px 0;
}

.ceremony-time-badge .lunar {
  font-size: 1rem;
  color: var(--cream-sub);
  font-style: italic;
}

/* Venue & Map Section */
.venue-card {
  background: #fffaf3;
  border-radius: 24px;
  padding: 34px 22px;
  text-align: center;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-card);
}

.venue-card small {
  font-family: var(--font-title);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--red-primary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.venue-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--red-primary);
  margin-bottom: 6px;
}

.venue-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.map-embed-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 220px;
  background: #e9e4dc;
  border: 1px solid var(--border-red);
  margin-bottom: 20px;
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Dress Code */
.dresscode-section {
  text-align: center;
}

.color-swatches {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.swatch-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: 2px solid #ffffff;
  transition: transform 0.25s ease;
}

.swatch-item:hover .swatch-circle {
  transform: scale(1.12);
}

.swatch-item span {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--ink);
  font-weight: 500;
}

/* Wedding Timeline */
.timeline-card {
  background: linear-gradient(175deg, #511419 0%, #3e0c10 100%);
  color: var(--cream-text);
  border-radius: 28px;
  padding: 44px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(201, 162, 74, 0.25);
  position: relative;
  overflow: hidden;
}

.timeline-list {
  position: relative;
  max-width: 360px;
  margin: 28px auto 0;
  padding-left: 0;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  bottom: 20px;
  width: 2px;
  background: rgba(201, 162, 74, 0.4);
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 28px;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-time {
  width: auto;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-light);
}

.timeline-dot {
  position: static;
  left: auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--gold);
  box-shadow: 0 0 8px rgba(255,255,255,0.6);
  z-index: 2;
}

.timeline-content {
  padding-left: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.timeline-icon {
  font-size: 1.3rem;
}

.timeline-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #ffffff;
}

/* Love Story */
.story-banner {
  background: #fffaf3;
  border-radius: 24px;
  padding: 38px 24px;
  text-align: center;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-card);
}

.story-banner blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--red-primary);
  line-height: 1.55;
  margin-bottom: 14px;
}

.story-banner p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 22px;
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 14px 20px;
  color: var(--muted);
  border: 0;
  margin-top: 40px;
}

.footer-monogram {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--red-primary);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.footer-date {
  font-family: var(--font-title);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.footer-thankyou {
  font-size: 0.9rem;
  font-style: italic;
  max-width: 380px;
  margin: 0 auto;
}
