/* Mina Wedding Card 2.7 — card parts loaded with or without the quiz. */

/* Venue photo, map buttons, dress-code note and RSVP extras (were only in quiz.css, so they were unstyled with the quiz off) */
.venue-photo { display: block; width: 100%; max-height: 320px; margin: 0 0 1.2rem; object-fit: cover; border-radius: 18px; }
.venue-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.venue-action { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; color: var(--wine, #69454d); font-size: 14px; text-decoration: none; background: rgba(255, 255, 255, .8); border: 1px solid rgba(122, 103, 84, .25); border-radius: 999px; }
.dress-code-note { margin: 14px auto 0; color: var(--wine, #69454d); font-size: 15px; font-weight: 600; }
.rsvp-kicker { margin: 0; color: var(--rose-deep, #92706f); font-size: 13px; letter-spacing: .04em; }
.rsvp-max { display: block; color: var(--muted, #81766e); font-size: 12px; }
#rsvpDone[hidden], #rsvpForm[hidden] { display: none !important; }
.rsvp-done h3 { outline: none; }
.rsvp-done button { margin: .4rem .25rem 0; }
.rsvp-change { color: var(--sage-deep, #5e6758) !important; background: transparent !important; }
.rsvp-final { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(122, 103, 84, .18); }
.rsvp-final p { margin: 0 0 .4rem; }
.venue-photo { height: auto; }
.venue-actions .venue-action { margin: 0; }
.guest-count-field[hidden] { display: none !important; }

/* Guest name on the first screen (personal link) */
.personal-welcome { display: flex; flex-direction: column; align-items: center; width: fit-content; max-width: min(92%, 340px); margin: .2rem auto .35rem; padding: .3rem 1.1rem .4rem; color: #fff; font-size: .78rem; line-height: 1.8; text-align: center; background: rgba(63, 48, 40, .34); border: 1px solid rgba(255, 255, 255, .38); border-radius: 16px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.personal-welcome span { opacity: .92; }
.personal-welcome strong { font-family: "Mina Miremad", var(--fa); font-weight: 400; font-size: clamp(1.15rem, 5vw, 1.5rem); line-height: 1.6; overflow-wrap: anywhere; color: #fff3dc; text-shadow: 0 2px 10px rgba(0, 0, 0, .55); }
.hero-content .hero-kicker { display: block; margin: .2rem 0 0; font-size: clamp(.68rem, 2.3vw, .82rem); letter-spacing: .22em; }

/* Intro video: loading line, skip button, blurred couple photo behind a custom video without poster */
.intro-backdrop.is-portrait { opacity: .5; filter: blur(18px) saturate(.9); }
.intro-skip { position: absolute; top: max(16px, env(safe-area-inset-top)); right: 16px; z-index: 4; min-height: 44px; padding: 8px 16px; color: var(--ink); font: 13px/1.6 var(--fa); background: rgba(255, 250, 243, .92); border: 1px solid rgba(181, 155, 117, .6); border-radius: 24px; cursor: pointer; }
.intro-skip[hidden], .intro-status[hidden] { display: none; }
.intro-status { position: absolute; left: 50%; bottom: calc(8% + 56px); z-index: 3; max-width: calc(100% - 40px); margin: 0; padding: 9px 18px; color: #fff; font-size: 13px; line-height: 1.9; text-align: center; background: rgba(49, 38, 33, .6); border-radius: 30px; transform: translateX(-50%); pointer-events: none; }
.intro-status:not([hidden]) ~ .intro-hint { opacity: 0; }

/* Two route buttons (Neshan + Google Maps) */
.route-buttons { display: grid; gap: 12px; justify-items: center; margin-top: 1.2rem; }
.route-buttons .neshan-route { width: 100%; max-width: 350px; margin: 0; }
.google-route { color: var(--ink) !important; background: rgba(255, 255, 255, .85) !important; border: 1px solid rgba(93, 102, 88, .45) !important; box-shadow: none !important; }
.google-route small { color: var(--muted) !important; }

/* One-photo swipe gallery in this card's colours (white headings over the background video) */
.love-gallery .love-gallery-card { color: var(--ink); background: var(--paper, #fffdf9); border-color: rgba(181, 155, 117, .7); aspect-ratio: auto; grid-column: auto; cursor: zoom-in; }
.love-gallery .love-gallery-card img { filter: none; transition: none; }
.love-gallery .love-gallery-card:hover img { transform: none; }
.love-gallery-signature { font-family: "Wedding Script", Georgia, serif; color: var(--champagne, #b59b75); }
.love-gallery-hint, .love-gallery-count { color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .75); }
.love-gallery-arrow { color: var(--ink); background: rgba(255, 253, 249, .85); border-color: rgba(255, 255, 255, .6); }
.love-gallery-count { font-family: var(--fa); }

/* Special programs for chosen guests */
.special-section { position: relative; z-index: 2; padding-top: 30px; }
.special-card { position: relative; max-width: 520px; margin: auto; padding: 46px 24px 34px; text-align: center; background: rgba(255, 253, 248, .9); border: 1px solid rgba(255, 255, 255, .45); border-radius: 120px 120px 22px 22px; box-shadow: 0 15px 40px rgba(0, 0, 0, .15), inset 0 0 0 7px rgba(255, 255, 255, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.special-seal { position: absolute; top: -21px; left: calc(50% - 21px); display: grid; place-items: center; width: 42px; height: 42px; color: #fff; font-size: 15px; background: var(--wine, #681f2b); border-radius: 50%; box-shadow: 0 5px 14px rgba(66, 16, 26, .3); }
.special-guest { margin: 0; color: var(--wine, #681f2b); font: 400 clamp(22px, 6.5vw, 30px)/1.9 "Mina Miremad", var(--fa); }
.special-intro { display: inline-block; margin: 0 0 6px; padding: 5px 16px; color: var(--ink); font-size: 13px; line-height: 2; background: rgba(181, 155, 117, .18); border-radius: 30px; }
.special-card h2 { margin: 6px 0 10px; color: var(--ink); font: 400 clamp(26px, 6vw, 36px)/1.8 "Mina Miremad", var(--fa); }
.special-when { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.special-text { margin: 10px 0; font-size: 14px; line-height: 2.3; overflow-wrap: anywhere; }
.special-place { display: grid; justify-items: center; gap: 2px; margin: 14px 0 4px; font-size: 14px; }
.special-place > span { color: var(--champagne, #b59b75); font: 24px/1 Georgia, serif; }
.special-place address { color: var(--muted); font-style: normal; line-height: 2.1; }
.special-photo img { display: block; width: 100%; max-height: 300px; object-fit: cover; border-radius: 18px; }
.special-photo { margin: 14px 0; }
.special-rsvp { margin-top: 26px; background: transparent !important; box-shadow: none !important; border: 0 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; padding: 0 !important; }
.special-rsvp h3 { margin-top: 0; }

/* Guest album before the ceremony day */
.guest-media-teaser .media-teaser-note { max-width: 420px; margin: 0 auto; padding: 16px; color: var(--ink); font-size: 14px; line-height: 2.2; text-align: center; border-block: 1px solid var(--line); }
.guest-media-teaser .media-teaser-note span { color: var(--champagne, #b59b75); }

/* Closing words and photo */
.closing-section { position: relative; z-index: 2; padding-top: 20px; text-align: center; }
.closing-copy { max-width: 420px; margin: 0 auto 16px; color: #fff; font: 400 clamp(1.15rem, 4.8vw, 1.45rem)/2.1 "Mina Miremad", var(--fa); text-align: center; text-shadow: 0 3px 12px rgba(0, 0, 0, .8); }
.closing-photo { width: min(78%, 340px); margin: 0 auto; padding: 8px 8px 12px; background: var(--paper, #fffdf9); border: 1px solid rgba(181, 155, 117, .7); border-radius: 48% 48% 14px 14px; box-shadow: 0 15px 40px rgba(0, 0, 0, .18); }
.closing-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 48% 48% 6px 6px; }
.closing-photo figcaption { padding-top: 8px; color: var(--champagne, #b59b75); font: clamp(22px, 5vw, 28px)/1.6 "Wedding Script", Georgia, serif; }
