/* Classic Ivory — traditional, symmetric, serif-led layout */
body.template-classic {
  --accent: #c98a6b;
  --ink: #2b2420;
  --muted: #7a6f63;
  --bg: #fdfbf8;
  font-family: 'Open Sans', sans-serif;
}

body.template-classic h1,
body.template-classic #cover h1,
body.template-classic section h2 { font-family: 'Playfair Display', serif; font-weight: 600; }

body.template-classic .hero-photo { max-height: 52vh; }
body.template-classic .hero-photo img { max-height: 52vh; }

body.template-classic .hero {
  min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 3rem 1.25rem;
}
body.template-classic .hero .eyebrow,
body.template-classic #cover .eyebrow {
  letter-spacing: .18em; text-transform: uppercase; font-size: .75rem; color: var(--accent); margin-bottom: 1rem;
}
body.template-classic .hero h1 { font-size: 2.4rem; margin: 0 0 .75rem; line-height: 1.15; }
body.template-classic .hero .date,
body.template-classic #cover .date { font-size: 1.05rem; color: var(--muted); margin-bottom: 1.75rem; }
body.template-classic .hero-cta { display: inline-block; width: auto; padding: .7rem 1.6rem; border-radius: 8px; text-decoration: none; }
body.template-classic .add-to-calendar-link { display: block; margin-top: .85rem; font-size: .8rem; color: var(--muted); text-decoration: underline; }

body.template-classic #cover h1 { font-size: 2.1rem; margin: 0 0 .75rem; }
body.template-classic #cover .cover-to { font-size: .95rem; color: var(--muted); margin-bottom: 2rem; line-height: 1.6; }
body.template-classic #cover .cover-to strong { color: var(--ink); font-size: 1.1rem; }
body.template-classic .cover-open-btn { display: inline-block; width: auto; padding: .7rem 1.6rem; border-radius: 8px; }

body.template-classic section { padding: 3rem 1.25rem; max-width: 620px; margin: 0 auto; }
body.template-classic section h2 { text-align: center; font-size: 1.5rem; margin-bottom: 1.75rem; }

body.template-classic .story { text-align: center; font-size: 1.02rem; white-space: pre-line; }

body.template-classic .timeline { display: flex; flex-direction: column; gap: 1.1rem; }
body.template-classic .timeline-item { display: flex; gap: 1rem; align-items: flex-start; border-left: 2px solid var(--accent); padding-left: 1rem; }
body.template-classic .timeline-item .time { font-weight: 600; color: var(--accent); min-width: 5.5rem; font-size: .9rem; }
body.template-classic .timeline-item .details strong { display: block; font-size: 1.02rem; }
body.template-classic .timeline-item .details span { font-size: .88rem; color: var(--muted); display: block; }

body.template-classic .venue-card { text-align: center; }
body.template-classic .venue-card .name { font-size: 1.15rem; font-weight: 600; margin-bottom: .25rem; }
body.template-classic .venue-card .address { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
body.template-classic .venue-card .dress-code { font-size: .88rem; color: var(--muted); margin-top: .75rem; }

body.template-classic .gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
body.template-classic .gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
@media (min-width: 480px) { body.template-classic .gallery { grid-template-columns: repeat(3, 1fr); } }

body.template-classic .rsvp-card { max-width: 460px; margin: 0 auto; background: #fff; border-radius: 14px; padding: 1.75rem 1.5rem; box-shadow: 0 4px 24px rgba(0,0,0,.06); }
body.template-classic .submit-btn { width: 100%; margin-top: 1.25rem; padding: .8rem; border-radius: 8px; font-size: 1rem; }

body.template-classic .countdown-tile { background: #fff; border-radius: 10px; box-shadow: 0 4px 18px rgba(0,0,0,.05); }

body.template-classic .wishes-list { display: flex; flex-direction: column; gap: .75rem; max-width: 460px; margin: 0 auto; }
body.template-classic .wish-card { background: #fff; border-radius: 12px; padding: 1rem 1.15rem; box-shadow: 0 4px 18px rgba(0,0,0,.05); }
body.template-classic .wish-head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-bottom: .35rem; }
body.template-classic .wish-head strong { font-size: .98rem; }
body.template-classic .wish-attending { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); white-space: nowrap; }
body.template-classic .wish-message { margin: 0; font-size: .92rem; white-space: pre-line; }
body.template-classic .wish-date { margin-top: .5rem; font-size: .75rem; color: var(--muted); }
