/* WZ Our Wedding: public website (.wz-ow-site) and the couple's settings in ZONE (#wz-ow-editor).
   Palette: #F7F4ED #EAE0D6 #AC9C8D #5D5040 #292D29 #702F3D #879681. Butler headings, Work Sans text. */

.wz-ow-site,
#wz-ow-editor {
	--ow-bg: #F7F4ED;
	--ow-line: #EAE0D6;
	--ow-muted: #AC9C8D;
	--ow-brown: #5D5040;
	--ow-ink: #292D29;
	--ow-wine: #702F3D;
	--ow-sage: #879681;
	--ow-serif: "Butler", Georgia, "Times New Roman", serif;
	--ow-sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	/* 0.18.0: the rest of the colours, so a template (assets/templates/*.css) can change them all. */
	--ow-sand: #EAE0D6;          /* coloured pages: wedding day, wedding party */
	--ow-on-accent: #F7F4ED;     /* text on the accent colour (RSVP page, closing band) */
	--ow-on-accent-soft: #EAE0D6;
	--ow-rule: rgba(41, 45, 41, .18);
	--ow-topbar: rgba(247, 244, 237, .94);
	--ow-wine-dark: #5a2531;
	--ow-shade: rgba(41, 45, 41, .38);
	--ow-card: rgba(255, 255, 255, .45);
	--ow-panel: rgba(247, 244, 237, .6);
	/* 0.19.0 story picture (share.js): photo shape and letter case; templates set their own */
	--ow-story-shape: plain;
	--ow-story-case: upper;
}

/* ---------- Public website ---------- */

/* Page of its own (templates/site.php): soft frame around the website card. */
html body.wz-ow-standalone {
	margin: 0 !important;
	padding: 0 !important;
	min-height: 100vh;
	background: #EAE0D6 !important;
}
body.wz-ow-standalone .wz-ow-site { margin: 40px auto; }
body.wz-ow-standalone .wz-ow-site-card { margin-top: 12vh; }
.wz-ow-site .wz-ow-preview.wz-ow-ownerbar { background: var(--ow-sage); }

/* On a couple's website the theme's page title bar ("Our Wedding") is hidden: the names are the title. */
body.wz-ow-page #titlebar,
body.wz-ow-page .titlebar { display: none !important; }

.wz-ow-site {
	max-width: 1100px;
	margin: 24px auto 48px;
	background: var(--ow-bg);
	color: var(--ow-ink);
	font-family: var(--ow-sans);
	border: 1px solid var(--ow-line);
	border-radius: 22px;
	overflow: hidden;
	box-sizing: border-box;
}
.wz-ow-site *,
.wz-ow-site *::before,
.wz-ow-site *::after { box-sizing: border-box; }

.wz-ow-preview {
	background: var(--ow-wine);
	color: #fff;
	text-align: center;
	font-size: 14px;
	line-height: 1.5;
	padding: 10px 16px;
}
.wz-ow-preview a { color: #fff; text-decoration: underline; font-weight: 600; }

.wz-ow-hero {
	text-align: center;
	padding: 104px 24px 64px;
}
.wz-ow-site .wz-ow-kicker {
	margin: 0 0 22px;
	font-size: 12px;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: var(--ow-brown);
}
.wz-ow-site h1.wz-ow-names {
	margin: 0 0 28px;
	padding: 0;
	font-family: var(--ow-serif);
	font-weight: 400;
	font-size: clamp(42px, 9vw, 92px);
	line-height: 1.04;
	letter-spacing: -.01em;
	color: var(--ow-ink);
	border: 0;
}
.wz-ow-site .wz-ow-amp {
	font-style: italic;
	color: var(--ow-wine);
	padding: 0 .08em;
}
.wz-ow-site .wz-ow-date {
	margin: 0 0 8px;
	font-size: 14px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--ow-ink);
}
.wz-ow-site .wz-ow-place {
	margin: 0 auto;
	max-width: 560px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ow-brown);
}
.wz-ow-rule {
	display: block;
	width: 48px;
	height: 1px;
	margin: 40px auto 0;
	background: var(--ow-wine);
}

.wz-ow-count {
	display: flex;
	justify-content: center;
	gap: clamp(28px, 7vw, 72px);
	margin: 0 clamp(20px, 6vw, 72px);
	padding: 36px 0 40px;
	border-top: 1px solid var(--ow-line);
	border-bottom: 1px solid var(--ow-line);
	text-align: center;
}
.wz-ow-count b {
	display: block;
	font-family: var(--ow-serif);
	font-weight: 400;
	font-size: clamp(36px, 6vw, 52px);
	line-height: 1;
	color: var(--ow-wine);
	font-variant-numeric: tabular-nums;
}
.wz-ow-count span {
	display: block;
	margin-top: 10px;
	font-size: 11px;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--ow-brown);
}
.wz-ow-site .wz-ow-count-text p {
	margin: 0;
	font-family: var(--ow-serif);
	font-size: clamp(26px, 4vw, 34px);
	color: var(--ow-wine);
}

.wz-ow-foot {
	padding: 56px 24px 40px;
	text-align: center;
	font-size: 12px;
	letter-spacing: .08em;
	color: var(--ow-muted);
}
.wz-ow-foot a { color: var(--ow-wine); text-decoration: none; border-bottom: 1px solid currentColor; }

/* Cover photo (step 2) */
.wz-ow-site .wz-ow-cover { margin: 0; padding: 0; line-height: 0; background: var(--ow-line); }
.wz-ow-site .wz-ow-cover img.wz-ow-cover-img {
	display: block;
	width: 100%;
	max-width: none;
	height: clamp(340px, 58vw, 680px);
	object-fit: cover;
	border: 0;
	border-radius: 0;
	margin: 0;
}
.wz-ow-hero.has-cover { padding-top: 72px; }

/* Welcome message (step 2) */
.wz-ow-welcome {
	max-width: 640px;
	margin: 0 auto;
	padding: 72px 24px 8px;
	text-align: center;
}
.wz-ow-site .wz-ow-welcome-text p {
	margin: 0 0 1.1em;
	font-size: 18px;
	line-height: 1.75;
	color: var(--ow-ink);
}
.wz-ow-site .wz-ow-sign {
	margin: 18px 0 0;
	font-family: var(--ow-serif);
	font-style: italic;
	font-size: 26px;
	color: var(--ow-wine);
}

/* Our Story (step 3) */
.wz-ow-story { padding: 88px clamp(20px, 6vw, 72px) 16px; }
.wz-ow-section-head { text-align: center; margin: 0 0 56px; }
.wz-ow-site .wz-ow-section-head h2 {
	margin: 0;
	font-family: var(--ow-serif);
	font-weight: 400;
	font-size: clamp(34px, 5vw, 52px);
	line-height: 1.1;
	color: var(--ow-ink);
}
.wz-ow-section-head::after { content: ""; display: block; width: 48px; height: 1px; margin: 28px auto 0; background: var(--ow-wine); }
.wz-ow-chapter { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; margin: 0 auto 72px; max-width: 960px; }
.wz-ow-chapter.has-photo { grid-template-columns: 1fr 1fr; }
.wz-ow-chapter.has-photo.is-flipped .wz-ow-chapter-text { order: 2; }
.wz-ow-chapter.no-photo { max-width: 640px; text-align: center; }
.wz-ow-site .wz-ow-chapter h3 {
	margin: 0 0 16px;
	font-family: var(--ow-serif);
	font-weight: 400;
	font-size: clamp(26px, 3vw, 32px);
	line-height: 1.2;
	color: var(--ow-wine);
}
.wz-ow-site .wz-ow-chapter-text p { margin: 0 0 1em; font-size: 17px; line-height: 1.75; color: var(--ow-ink); }
.wz-ow-chapter-photo { margin: 0; }
.wz-ow-site .wz-ow-chapter-photo img.wz-ow-story-img {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border: 0;
	border-radius: 4px;
	margin: 0;
	box-shadow: 0 18px 40px -24px rgba(41, 45, 41, .45);
}
.wz-ow-site .wz-ow-chapter-photo figcaption {
	margin-top: 12px;
	font-family: var(--ow-serif);
	font-style: italic;
	font-size: 15px;
	color: var(--ow-brown);
	text-align: center;
}

/* Photos (step 4) */
.wz-ow-gallery { padding: 88px clamp(20px, 5vw, 56px) 24px; }
.wz-ow-grid { columns: 3 240px; column-gap: 14px; }
.wz-ow-site .wz-ow-grid-item { break-inside: avoid; margin: 0 0 14px; }
.wz-ow-grid-item a { display: block; line-height: 0; overflow: hidden; border-radius: 4px; cursor: zoom-in; }
.wz-ow-site .wz-ow-grid-item img { display: block; width: 100%; max-width: none; height: auto; margin: 0; border: 0; border-radius: 0; transition: transform .5s ease; }
.wz-ow-grid-item a:hover img { transform: scale(1.03); }
.wz-ow-site .wz-ow-grid-item figcaption { margin-top: 8px; font-family: var(--ow-serif); font-style: italic; font-size: 14px; color: var(--ow-brown); text-align: center; line-height: 1.4; }

.wz-ow-lightbox { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; background: rgba(41, 45, 41, .94); padding: 24px; }
.wz-ow-lightbox.is-open { display: flex; }
html.wz-ow-lb-lock { overflow: hidden; }
.wz-ow-lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.wz-ow-lightbox img { display: block; max-width: min(92vw, 1600px); max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 2px; }
.wz-ow-lightbox figcaption { display: flex; gap: 18px; align-items: baseline; justify-content: center; margin-top: 14px; color: #F7F4ED; font-family: "Work Sans", system-ui, sans-serif; font-size: 14px; }
.wz-ow-lb-cap { font-family: "Butler", Georgia, serif; font-style: italic; font-size: 17px; }
.wz-ow-lb-count { opacity: .6; letter-spacing: .1em; font-size: 12px; }
.wz-ow-lightbox button { position: absolute; background: transparent !important; border: 0 !important; color: #F7F4ED !important; font-size: 44px !important; line-height: 1 !important; padding: 10px 16px !important; cursor: pointer; box-shadow: none !important; min-height: 0 !important; }
.wz-ow-lb-close { top: 10px; right: 12px; font-size: 38px !important; }
.wz-ow-lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.wz-ow-lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* Menu to the parts of the page (step 5) */
.wz-ow-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 28px; padding: 26px 20px 0; }
.wz-ow-site .wz-ow-nav a { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ow-brown); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.wz-ow-site .wz-ow-nav a:hover { color: var(--ow-wine); border-bottom-color: var(--ow-wine); }
html { scroll-behavior: smooth; }

/* The Wedding Day (step 5) */
.wz-ow-day { padding: 88px clamp(20px, 6vw, 72px) 24px; }
.wz-ow-site .wz-ow-day-date { margin: 14px 0 0; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--ow-brown); }
.wz-ow-site .wz-ow-icon { display: block; width: 44px; height: 44px; margin: 0 auto 14px; color: var(--ow-wine); }
.wz-ow-places { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; max-width: 860px; margin: 0 auto 56px; }
.wz-ow-place { text-align: center; padding: 36px 24px 30px; border: 1px solid var(--ow-line); border-radius: 14px; background: var(--ow-card); }
.wz-ow-site .wz-ow-place h3,
.wz-ow-site .wz-ow-sched-public h3,
.wz-ow-site .wz-ow-tile h3 { margin: 0 0 10px; font-family: var(--ow-serif); font-weight: 400; font-size: 26px; line-height: 1.2; color: var(--ow-ink); }
.wz-ow-site .wz-ow-place-time { margin: 0 0 10px; font-family: var(--ow-serif); font-size: 22px; color: var(--ow-wine); }
.wz-ow-site .wz-ow-place-addr { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: var(--ow-brown); }
.wz-ow-site .wz-ow-place-note { margin: 0; font-size: 15px; color: var(--ow-brown); font-style: italic; }
.wz-ow-site a.wz-ow-link { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ow-wine); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.wz-ow-sched-public { max-width: 560px; margin: 0 auto 56px; text-align: center; }
.wz-ow-site .wz-ow-sched-public ol { list-style: none; margin: 18px 0 0; padding: 0; text-align: left; }
.wz-ow-site .wz-ow-sched-public li { display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: baseline; padding: 16px 0; margin: 0; border-bottom: 1px solid var(--ow-line); }
.wz-ow-site .wz-ow-sched-public li:last-child { border-bottom: 0; }
.wz-ow-s-time { font-family: var(--ow-serif); font-size: 20px; color: var(--ow-wine); text-align: right; }
.wz-ow-s-what { font-size: 16px; letter-spacing: .04em; color: var(--ow-ink); }
.wz-ow-s-what small { display: block; margin-top: 3px; font-size: 14px; color: var(--ow-brown); letter-spacing: 0; }

.wz-ow-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 40px; max-width: 900px; margin: 0 auto 48px; text-align: center; }
.wz-ow-site .wz-ow-tile p { margin: 0 0 .8em; font-size: 15px; line-height: 1.65; color: var(--ow-brown); }

.wz-ow-map { max-width: 900px; margin: 0 auto 24px; border-radius: 14px; overflow: hidden; border: 1px solid var(--ow-line); background: var(--ow-line); min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.wz-ow-map.is-loaded { display: block; min-height: 0; }
.wz-ow-map iframe { display: block; width: 100%; height: 380px; border: 0; }
.wz-ow-site .wz-ow-map-btn { display: inline-flex !important; align-items: center; gap: 8px; padding: 12px 24px !important; border: 1px solid var(--ow-wine) !important; border-radius: 999px !important; background: var(--ow-bg) !important; color: var(--ow-wine) !important; font-size: 13px !important; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; box-shadow: none !important; min-height: 0 !important; line-height: 1.2 !important; }
.wz-ow-site .wz-ow-map-btn .wz-ow-icon { width: 18px; height: 18px; margin: 0; }
.wz-ow-site .wz-ow-map-note { margin: 4px 0 0; font-size: 12px; color: var(--ow-brown); }

/* RSVP (0.6.0) */
.wz-ow-rsvp { padding: 72px clamp(20px, 6vw, 72px) 24px; }
.wz-ow-rsvp-card { max-width: 620px; margin: 0 auto; padding: 48px clamp(22px, 5vw, 56px) 40px; text-align: center; background: var(--ow-wine); color: var(--ow-on-accent); border-radius: 18px; }
.wz-ow-site .wz-ow-rsvp-card h2 { margin: 0 0 10px; font-family: var(--ow-serif); font-weight: 400; font-size: clamp(36px, 5vw, 48px); letter-spacing: .06em; color: var(--ow-on-accent); }
.wz-ow-site .wz-ow-rsvp-by { margin: 0 0 22px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--ow-on-accent-soft); }
.wz-ow-site .wz-ow-rsvp-text { margin: 0 auto 22px; max-width: 460px; font-size: 16px; line-height: 1.65; color: var(--ow-on-accent); }
.wz-ow-rsvp-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 auto; max-width: 460px; }
.wz-ow-site .wz-ow-rsvp-form input[type=email] { flex: 1 1 240px; height: 48px !important; margin: 0 !important; padding: 0 18px !important; border: 0 !important; border-radius: 999px !important; background: var(--ow-on-accent) !important; color: var(--ow-ink) !important; font-size: 16px !important; box-shadow: none !important; }
.wz-ow-site .wz-ow-rsvp-form button { height: 48px !important; padding: 0 26px !important; border: 1px solid var(--ow-on-accent) !important; border-radius: 999px !important; background: transparent !important; color: var(--ow-on-accent) !important; font-size: 13px !important; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; box-shadow: none !important; min-height: 0 !important; line-height: 1 !important; }
.wz-ow-site .wz-ow-rsvp-form button:hover { background: var(--ow-on-accent) !important; color: var(--ow-wine) !important; }
.wz-ow-site .wz-ow-rsvp-small { margin: 14px 0 0; font-size: 12px; color: var(--ow-on-accent-soft); opacity: .85; }
.wz-ow-site .wz-ow-rsvp-done p { margin: 0 0 10px; font-size: 16px; line-height: 1.6; color: var(--ow-on-accent); }
.wz-ow-site .wz-ow-rsvp-note { margin: 0 auto 18px; max-width: 460px; padding: 12px 16px; border-radius: 12px; background: rgba(247,244,237,.14); font-size: 15px; line-height: 1.55; color: var(--ow-on-accent); }
.wz-ow-site .wz-ow-rsvp-alt { margin: 22px auto 0; max-width: 460px; }
.wz-ow-site .wz-ow-rsvp-alt summary { cursor: pointer; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ow-on-accent-soft); margin-bottom: 14px; }
.wz-ow-site .wz-ow-rsvp-form input[type=text] { flex: 1 1 240px; height: 48px !important; margin: 0 !important; padding: 0 18px !important; border: 0 !important; border-radius: 999px !important; background: var(--ow-on-accent) !important; color: var(--ow-ink) !important; font-size: 16px !important; box-shadow: none !important; }
.wz-ow-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.wz-ow-site .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Wedding Party (0.7.0) */
.wz-ow-party { padding: 88px clamp(20px, 6vw, 72px) 24px; }
.wz-ow-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 220px)); justify-content: center; gap: 44px 28px; max-width: 980px; margin: 0 auto; }
.wz-ow-site .wz-ow-person { margin: 0; text-align: center; }
.wz-ow-site .wz-ow-person img.wz-ow-person-img,
.wz-ow-person-initial { display: block; width: 160px; height: 160px; margin: 0 auto 18px; border-radius: 50%; object-fit: cover; border: 0; max-width: none; }
.wz-ow-person-initial { display: flex; align-items: center; justify-content: center; background: var(--ow-line); color: var(--ow-wine); font-family: var(--ow-serif); font-size: 56px; line-height: 1; }
.wz-ow-site .wz-ow-person figcaption strong { display: block; font-family: var(--ow-serif); font-weight: 400; font-size: 24px; line-height: 1.2; color: var(--ow-ink); }
.wz-ow-site .wz-ow-person-role { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ow-wine); }
.wz-ow-site .wz-ow-person-about { display: block; margin: 10px auto 0; max-width: 240px; font-size: 15px; line-height: 1.6; color: var(--ow-brown); }

/* Gifts (0.8.0) */
.wz-ow-gifts { padding: 88px clamp(20px, 6vw, 72px) 24px; }
.wz-ow-gift-msg { max-width: 600px; margin: 0 auto 36px; text-align: center; }
.wz-ow-site .wz-ow-gift-msg p { margin: 0 0 1em; font-family: var(--ow-serif); font-style: italic; font-size: 21px; line-height: 1.6; color: var(--ow-ink); }
.wz-ow-gift-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 280px)); justify-content: center; gap: 16px; max-width: 900px; margin: 0 auto; }
.wz-ow-site a.wz-ow-gift { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 20px 22px; border: 1px solid var(--ow-line); border-radius: 14px; background: var(--ow-card); text-align: center; text-decoration: none; transition: border-color .2s, transform .2s; }
.wz-ow-site a.wz-ow-gift:hover { border-color: var(--ow-wine); transform: translateY(-2px); }
.wz-ow-site a.wz-ow-gift strong { font-family: var(--ow-serif); font-weight: 400; font-size: 22px; line-height: 1.25; color: var(--ow-ink); }
.wz-ow-site .wz-ow-gift-note { font-size: 14px; line-height: 1.5; color: var(--ow-brown); }
.wz-ow-site .wz-ow-gift-host { margin-top: 6px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ow-wine); }

/* Guest Information (0.9.0) */
.wz-ow-info { padding: 88px clamp(20px, 6vw, 72px) 24px; }
.wz-ow-info-block { max-width: 900px; margin: 0 auto 52px; text-align: center; }
.wz-ow-site .wz-ow-info-block > h3 { margin: 0 0 20px; font-family: var(--ow-serif); font-weight: 400; font-size: 28px; color: var(--ow-ink); }
.wz-ow-info-text { max-width: 600px; }
.wz-ow-site .wz-ow-info-text p { margin: 0 0 .9em; font-size: 16px; line-height: 1.7; color: var(--ow-brown); }
.wz-ow-site div.wz-ow-gift { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 20px 22px; border: 1px solid var(--ow-line); border-radius: 14px; background: var(--ow-card); text-align: center; }
.wz-ow-site div.wz-ow-gift strong { font-family: var(--ow-serif); font-weight: 400; font-size: 22px; line-height: 1.25; color: var(--ow-ink); }
.wz-ow-faq { max-width: 680px; margin: 0 auto; text-align: left; border-top: 1px solid var(--ow-line); }
.wz-ow-site .wz-ow-faq details { border-bottom: 1px solid var(--ow-line); }
.wz-ow-site .wz-ow-faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 4px; position: relative; font-family: var(--ow-serif); font-size: 20px; line-height: 1.35; color: var(--ow-ink); }
.wz-ow-site .wz-ow-faq summary::-webkit-details-marker { display: none; }
.wz-ow-site .wz-ow-faq summary::after { content: "+"; position: absolute; right: 8px; top: 14px; font-family: var(--ow-sans); font-size: 24px; font-weight: 300; color: var(--ow-wine); transition: transform .2s; }
.wz-ow-site .wz-ow-faq details[open] summary::after { transform: rotate(45deg); }
.wz-ow-site .wz-ow-faq-a p { margin: 0 0 1em; padding: 0 4px; font-size: 16px; line-height: 1.7; color: var(--ow-brown); }
.wz-ow-site .wz-ow-info-contact { max-width: 600px; margin: 0 auto 24px; text-align: center; font-size: 16px; line-height: 1.6; color: var(--ow-ink); }
.wz-ow-info-contact span { display: block; margin-bottom: 6px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ow-wine); }

/* Announcements (0.10.0) */
.wz-ow-site a.wz-ow-latest { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; max-width: 760px; margin: 28px auto 0; padding: 14px 22px; border: 1px solid var(--ow-wine); border-radius: 999px; text-decoration: none; color: var(--ow-ink); background: rgba(255,255,255,.5); }
.wz-ow-site a.wz-ow-latest:hover { background: #fff; }
.wz-ow-latest-tag { padding: 3px 10px; border-radius: 999px; background: var(--ow-wine); color: var(--ow-on-accent); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.wz-ow-latest-text { font-family: var(--ow-serif); font-size: 18px; line-height: 1.3; }
.wz-ow-latest-when { font-size: 12px; color: var(--ow-brown); }
.wz-ow-updates { padding: 80px clamp(20px, 6vw, 72px) 8px; }
.wz-ow-news-list { max-width: 640px; margin: 0 auto; }
.wz-ow-site .wz-ow-news { padding: 0 0 26px 22px; margin: 0 0 26px; border-left: 2px solid var(--ow-wine); }
.wz-ow-site .wz-ow-news-when { margin: 0 0 6px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ow-wine); }
.wz-ow-site .wz-ow-news h3 { margin: 0 0 8px; font-family: var(--ow-serif); font-weight: 400; font-size: 24px; line-height: 1.25; color: var(--ow-ink); }
.wz-ow-site .wz-ow-news p { margin: 0 0 .8em; font-size: 16px; line-height: 1.7; color: var(--ow-brown); }
.wz-ow-site .wz-ow-news-more summary { cursor: pointer; margin: 0 0 22px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ow-wine); }

/* Message card (not found / not published / landing) */
.wz-ow-site-card { max-width: 620px; }
.wz-ow-cardmsg { padding: 56px 32px; text-align: center; }
.wz-ow-site .wz-ow-cardmsg h2 {
	margin: 0 0 14px;
	font-family: var(--ow-serif);
	font-weight: 400;
	font-size: 30px;
	line-height: 1.2;
	color: var(--ow-wine);
}
.wz-ow-site .wz-ow-cardmsg p { margin: 0 0 24px; font-size: 16px; line-height: 1.6; color: var(--ow-brown); }

@media (max-width: 700px) {
	.wz-ow-site { margin: 12px 10px 32px; border-radius: 18px; }
	/* On phones the website fills the screen like an app. */
	body.wz-ow-standalone { background: #F7F4ED !important; }
	body.wz-ow-standalone .wz-ow-site { margin: 0; border: 0; border-radius: 0; }
	body.wz-ow-standalone .wz-ow-site-card { margin: 0; min-height: 100vh; padding-top: 18vh; }
	body.wz-ow-standalone .wz-ow-site-card .wz-ow-foot { padding-top: 24px; }
	.wz-ow-hero { padding: 72px 20px 48px; }
	.wz-ow-hero.has-cover { padding-top: 52px; }
	.wz-ow-site .wz-ow-cover img.wz-ow-cover-img { height: 118vw; max-height: 560px; }
	.wz-ow-welcome { padding-top: 56px; }
	.wz-ow-story { padding-top: 64px; }
	.wz-ow-gallery { padding: 64px 12px 16px; }
	.wz-ow-day { padding-top: 64px; }
	.wz-ow-party { padding-top: 64px; }
	.wz-ow-gifts { padding-top: 64px; }
	.wz-ow-info { padding-top: 64px; }
	.wz-ow-updates { padding-top: 60px; }
	.wz-ow-site a.wz-ow-latest { margin: 22px 14px 0; border-radius: 16px; }
	.wz-ow-latest-text { font-size: 16px; text-align: center; }
	.wz-ow-site .wz-ow-faq summary { font-size: 18px; }
	.wz-ow-site .wz-ow-gift-msg p { font-size: 18px; }
	.wz-ow-gift-links { grid-template-columns: 1fr; }
	.wz-ow-people { grid-template-columns: repeat(2, 1fr); gap: 32px 14px; }
	.wz-ow-site .wz-ow-person img.wz-ow-person-img, .wz-ow-person-initial { width: 120px; height: 120px; }
	.wz-ow-person-initial { font-size: 44px; }
	.wz-ow-site .wz-ow-person figcaption strong { font-size: 20px; }
	.wz-ow-site .wz-ow-person-role { font-size: 10px; letter-spacing: .16em; }
	.wz-ow-places { grid-template-columns: 1fr; gap: 14px; }
	.wz-ow-nav { gap: 4px 18px; }
	.wz-ow-site .wz-ow-nav a { font-size: 11px; letter-spacing: .18em; }
	.wz-ow-site .wz-ow-sched-public li { grid-template-columns: 84px 1fr; gap: 14px; }
	.wz-ow-s-time { font-size: 18px; }
	.wz-ow-map iframe { height: 300px; }
	.wz-ow-grid { columns: 2; column-gap: 8px; }
	.wz-ow-site .wz-ow-grid-item { margin-bottom: 8px; }
	.wz-ow-lb-prev, .wz-ow-lb-next { display: none; }
	.wz-ow-section-head { margin-bottom: 40px; }
	.wz-ow-chapter.has-photo { grid-template-columns: 1fr; }
	.wz-ow-chapter.has-photo .wz-ow-chapter-text,
	.wz-ow-chapter.has-photo.is-flipped .wz-ow-chapter-text { order: 2; }
	.wz-ow-chapter { margin-bottom: 56px; gap: 22px; }
	.wz-ow-site .wz-ow-chapter-text p { font-size: 16px; }
	.wz-ow-site .wz-ow-welcome-text p { font-size: 17px; }
	.wz-ow-site .wz-ow-kicker { font-size: 11px; }
	.wz-ow-site .wz-ow-date { font-size: 12px; letter-spacing: .18em; }
}

/* ---------- Buttons (both sides) ---------- */

.wz-ow-site a.wz-ow-btn,
#wz-ow-editor .wz-ow-btn {
	display: inline-block;
	padding: 11px 24px !important;
	border: 1px solid var(--ow-wine) !important;
	border-radius: 999px !important;
	background: var(--ow-wine) !important;
	color: #fff !important;
	font-family: var(--ow-sans);
	font-size: 15px !important;
	font-weight: 600;
	line-height: 1.2 !important;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: none !important;
	min-height: 0 !important;
	height: auto !important;
}
#wz-ow-editor .wz-ow-btn:hover,
.wz-ow-site a.wz-ow-btn:hover { background: var(--ow-wine-dark) !important; border-color: var(--ow-wine-dark) !important; color: #fff !important; }
#wz-ow-editor .wz-ow-btn-line {
	background: transparent !important;
	color: var(--ow-wine) !important;
}
#wz-ow-editor .wz-ow-btn-line:hover { background: var(--ow-wine) !important; color: #fff !important; }
#wz-ow-editor .wz-ow-btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- ZONE: Wedding Website tab ---------- */

#wz-ow-editor { color: var(--ow-ink); }
#wz-ow-editor .wz-ow-intro { color: var(--ow-brown); margin: 0 0 18px; }
#wz-ow-editor .wz-ow-note { color: var(--ow-brown); }
#wz-ow-editor .wz-ow-card {
	background: var(--ow-bg);
	border: 1px solid var(--ow-line);
	border-radius: 16px;
	padding: 20px 22px;
	margin: 0 0 18px;
}
#wz-ow-editor .wz-ow-card h3 { margin: 0 0 4px; font-weight: 400; color: var(--ow-ink); }
#wz-ow-editor .wz-ow-sub { color: var(--ow-brown); font-size: 14px; margin: 0 0 14px; }
#wz-ow-editor .wz-ow-small { font-size: 13px; color: var(--ow-muted); margin: 10px 0 14px; }

#wz-ow-editor .wz-ow-flash { border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; font-size: 15px; }
#wz-ow-editor .wz-ow-flash-ok { background: #eef1ec; border: 1px solid var(--ow-sage); color: var(--ow-ink); }
#wz-ow-editor .wz-ow-flash-err { background: #f6ecee; border: 1px solid var(--ow-wine); color: var(--ow-wine); }

#wz-ow-editor .wz-ow-status { border-left: 4px solid var(--ow-wine); }
#wz-ow-editor .wz-ow-status-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
#wz-ow-editor .wz-ow-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
#wz-ow-editor .wz-ow-pill.is-live { background: var(--ow-sage); color: #fff; }
#wz-ow-editor .wz-ow-pill.is-off { background: var(--ow-line); color: var(--ow-brown); }
#wz-ow-editor .wz-ow-days { font-size: 14px; color: var(--ow-brown); }
#wz-ow-editor .wz-ow-days strong { font-size: 20px; color: var(--ow-wine); font-weight: 600; }
#wz-ow-editor .wz-ow-status h3 { font-size: 26px; margin-bottom: 10px; }

#wz-ow-editor .wz-ow-address { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 18px; }
#wz-ow-editor .wz-ow-url { font-size: 15px; color: var(--ow-ink); background: #fff; border: 1px solid var(--ow-line); border-radius: 8px; padding: 9px 12px; word-break: break-all; flex: 1 1 260px; }

#wz-ow-editor .wz-ow-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }
#wz-ow-editor .wz-ow-hint { font-size: 13px; color: var(--ow-muted); }
#wz-ow-editor .wz-ow-publish { margin: 0; }
#wz-ow-editor .wz-ow-warn { color: var(--ow-wine); margin: 0 0 12px; }
#wz-ow-editor .wz-ow-warn a { color: var(--ow-wine); font-weight: 600; }

#wz-ow-editor .wz-ow-check { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; cursor: pointer; font-size: 15px; line-height: 1.45; }
#wz-ow-editor .wz-ow-check input { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--ow-wine); }

#wz-ow-editor .wz-ow-facts { margin: 0 0 6px; padding: 0; }
#wz-ow-editor .wz-ow-facts div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--ow-line); }
#wz-ow-editor .wz-ow-facts div:last-child { border-bottom: 0; }
#wz-ow-editor .wz-ow-facts dt { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ow-muted); }
#wz-ow-editor .wz-ow-facts dd { margin: 0; color: var(--ow-ink); }
#wz-ow-editor .wz-ow-facts em { color: var(--ow-muted); }

#wz-ow-editor .wz-ow-slug { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; }
#wz-ow-editor .wz-ow-slug-field { display: flex; align-items: center; flex: 1 1 320px; background: #fff; border: 1px solid var(--ow-line); border-radius: 8px; overflow: hidden; margin: 0; }
#wz-ow-editor .wz-ow-prefix { padding: 0 2px 0 12px; font-size: 14px; color: var(--ow-muted); white-space: nowrap; }
#wz-ow-editor .wz-ow-slug-field input { flex: 1; min-width: 120px; border: 0 !important; box-shadow: none !important; background: transparent !important; height: 40px !important; margin: 0 !important; padding: 0 12px 0 0 !important; font-size: 15px !important; color: var(--ow-ink); }

@media (max-width: 700px) {
	#wz-ow-editor .wz-ow-card { padding: 16px; }
	#wz-ow-editor .wz-ow-prefix { display: none; }
	#wz-ow-editor .wz-ow-slug-field input { padding-left: 12px !important; }
}

/* Homepage tab (step 2) */
#wz-ow-editor .wz-ow-intro a { color: var(--ow-wine); font-weight: 600; }
#wz-ow-editor .wz-ow-cover-preview { margin: 0 0 16px; border-radius: 12px; overflow: hidden; background: var(--ow-line); line-height: 0; }
#wz-ow-editor .wz-ow-cover-preview img { display: block; width: 100%; height: 260px; object-fit: cover; margin: 0; border: 0; }
#wz-ow-editor .wz-ow-upload { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }
#wz-ow-editor .wz-ow-upload input[type=file] { flex: 1 1 240px; max-width: 100%; font-size: 14px; padding: 8px; background: #fff; border: 1px dashed var(--ow-muted); border-radius: 8px; }
#wz-ow-editor .wz-ow-row form { margin: 0; }
#wz-ow-editor .wz-ow-row form.wz-ow-row { flex: 1 1 auto; }
#wz-ow-editor .wz-ow-inline-label { font-size: 14px; color: var(--ow-brown); margin: 0; }
#wz-ow-editor select { height: 40px !important; min-height: 0 !important; margin: 0 !important; padding: 0 10px !important; border: 1px solid var(--ow-line); border-radius: 8px; background: #fff; font-size: 15px !important; width: auto; }
#wz-ow-editor .wz-ow-btn-quiet { border-color: var(--ow-muted) !important; color: var(--ow-brown) !important; }
#wz-ow-editor .wz-ow-btn-quiet:hover { background: var(--ow-brown) !important; border-color: var(--ow-brown) !important; color: #fff !important; }
#wz-ow-editor .wz-ow-textarea { width: 100%; max-width: none; box-sizing: border-box; padding: 12px 14px; border: 1px solid var(--ow-line); border-radius: 8px; background: #fff; font-family: inherit; font-size: 16px; line-height: 1.6; color: var(--ow-ink); }
#wz-ow-editor .wz-ow-facts a { color: var(--ow-wine); font-weight: 600; }
@media (max-width: 700px) {
	#wz-ow-editor .wz-ow-cover-preview img { height: 200px; }
}

/* Our Story tab (step 3) */
#wz-ow-editor .wz-ow-story-card .wz-ow-textarea { margin-bottom: 14px; }
#wz-ow-editor .wz-ow-story-photo { display: flex; gap: 16px; align-items: flex-start; }
#wz-ow-editor .wz-ow-story-thumb { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; margin: 0; }
#wz-ow-editor .wz-ow-story-photo-fields { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
#wz-ow-editor .wz-ow-mini { font-size: 13px; color: var(--ow-brown); margin: 0; }
#wz-ow-editor .wz-ow-story-photo input[type=file] { font-size: 14px; padding: 8px; background: #fff; border: 1px dashed var(--ow-muted); border-radius: 8px; max-width: 100%; }
#wz-ow-editor .wz-ow-input { width: 100%; max-width: none; box-sizing: border-box; height: 40px !important; margin: 0 !important; padding: 0 12px !important; border: 1px solid var(--ow-line); border-radius: 8px; background: #fff; font-size: 15px !important; color: var(--ow-ink); }
#wz-ow-editor .wz-ow-check-small { font-size: 14px; margin: 0; }
#wz-ow-editor .wz-ow-story-save { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 14px 0; background: #fff; border-top: 1px solid var(--ow-line); z-index: 2; }
@media (max-width: 700px) {
	#wz-ow-editor .wz-ow-story-photo { flex-direction: column; }
	#wz-ow-editor .wz-ow-story-thumb { width: 100%; height: 180px; }
}

/* Photos tab (step 4) */
#wz-ow-editor .wz-ow-count-pill { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--ow-line); color: var(--ow-brown); font-size: 13px; font-family: var(--ow-sans); vertical-align: middle; }
#wz-ow-editor .wz-ow-sort { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
#wz-ow-editor .wz-ow-sort-item { background: #fff; border: 1px solid var(--ow-line); border-radius: 12px; padding: 8px; margin: 0; cursor: grab; display: flex; flex-direction: column; gap: 8px; }
#wz-ow-editor .wz-ow-sort-item.is-dragging { opacity: .45; border-style: dashed; }
#wz-ow-editor .wz-ow-sort-img { position: relative; line-height: 0; border-radius: 8px; overflow: hidden; background: var(--ow-line); }
#wz-ow-editor .wz-ow-sort-img img { display: block; width: 100%; height: 130px; object-fit: cover; margin: 0; pointer-events: none; }
#wz-ow-editor .wz-ow-sort-num { position: absolute; top: 6px; left: 6px; min-width: 24px; padding: 3px 7px; border-radius: 999px; background: rgba(41,45,41,.75); color: #fff; font-size: 12px; line-height: 1.2; text-align: center; }
#wz-ow-editor .wz-ow-sort-item .wz-ow-input { height: 36px !important; font-size: 14px !important; }
#wz-ow-editor .wz-ow-sort-tools { display: flex; align-items: center; gap: 6px; }
#wz-ow-editor .wz-ow-move { width: 34px; height: 30px; padding: 0 !important; border: 1px solid var(--ow-line) !important; border-radius: 8px !important; background: var(--ow-bg) !important; color: var(--ow-wine) !important; font-size: 16px !important; line-height: 1 !important; cursor: pointer; box-shadow: none !important; min-height: 0 !important; }
#wz-ow-editor .wz-ow-move:hover { background: var(--ow-line) !important; }
#wz-ow-editor .wz-ow-sort-tools .wz-ow-check-small { margin-left: auto; font-size: 13px; }
@media (max-width: 700px) {
	#wz-ow-editor .wz-ow-sort { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	#wz-ow-editor .wz-ow-sort-img img { height: 110px; }
}
#wz-ow-editor .wz-ow-card .wz-ow-story-save { background: var(--ow-bg); }

/* Upload progress (0.4.1) */
.wz-ow-busy { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; background: rgba(41, 45, 41, .55); padding: 20px; }
.wz-ow-busy.is-on { display: flex; }
.wz-ow-busy-box { width: 100%; max-width: 380px; background: #F7F4ED; border-radius: 18px; padding: 28px 26px 22px; text-align: center; box-shadow: 0 24px 60px -20px rgba(0,0,0,.4); font-family: "Work Sans", system-ui, sans-serif; }
.wz-ow-busy-spin { width: 38px; height: 38px; margin: 0 auto 16px; border-radius: 50%; border: 3px solid #EAE0D6; border-top-color: #702F3D; animation: wz-ow-spin .9s linear infinite; }
.wz-ow-busy-title { margin: 0 0 14px; font-family: "Butler", Georgia, serif; font-size: 20px; line-height: 1.3; color: #292D29; }
.wz-ow-busy-bar { position: relative; height: 6px; border-radius: 999px; background: #EAE0D6; overflow: hidden; }
.wz-ow-busy-bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: #702F3D; transition: width .25s ease; }
.wz-ow-busy-bar.is-loose span { width: 35% !important; animation: wz-ow-slide 1.2s ease-in-out infinite; }
.wz-ow-busy-note { margin: 12px 0 0; font-size: 13px; color: #5D5040; }
.wz-ow-busy-note a { color: #702F3D; font-weight: 600; }
@keyframes wz-ow-spin { to { transform: rotate(360deg); } }
@keyframes wz-ow-slide { 0% { left: -35%; } 100% { left: 100%; } }
@media (prefers-reduced-motion: reduce) {
	.wz-ow-busy-spin, .wz-ow-busy-bar.is-loose span { animation-duration: 3s; }
}

/* Wedding Day tab (step 5) */
#wz-ow-editor .wz-ow-form-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 14px 18px; margin: 4px 0 16px; }
#wz-ow-editor .wz-ow-field { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 14px; color: var(--ow-brown); }
#wz-ow-editor .wz-ow-wide { grid-column: 1 / -1; }
#wz-ow-editor .wz-ow-sched-head,
#wz-ow-editor .wz-ow-sched-row { display: grid; grid-template-columns: 150px 1fr 1fr; gap: 10px; }
#wz-ow-editor .wz-ow-sched-head { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ow-muted); margin: 0 0 6px; }
#wz-ow-editor .wz-ow-sched { display: flex; flex-direction: column; gap: 8px; }
#wz-ow-editor input[type=time].wz-ow-input { padding-right: 6px !important; }
@media (max-width: 700px) {
	#wz-ow-editor .wz-ow-form-grid { grid-template-columns: 1fr; }
	#wz-ow-editor .wz-ow-sched-head { display: none; }
	#wz-ow-editor .wz-ow-sched-row { grid-template-columns: 140px 1fr; padding-bottom: 10px; border-bottom: 1px solid var(--ow-line); }
	#wz-ow-editor .wz-ow-sched-row input:nth-child(3) { grid-column: 1 / -1; }
}

/* Wedding Party tab (0.7.0) */
#wz-ow-editor .wz-ow-people-edit { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
#wz-ow-editor .wz-ow-person-edit { flex-direction: row; align-items: flex-start; gap: 14px; padding: 12px; }
#wz-ow-editor .wz-ow-person-edit.is-new { cursor: default; border-style: dashed; background: var(--ow-bg); }
#wz-ow-editor .wz-ow-person-photo { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--ow-line); }
#wz-ow-editor .wz-ow-person-photo img { width: 72px; height: 72px; object-fit: cover; display: block; margin: 0; pointer-events: none; }
#wz-ow-editor .wz-ow-person-empty { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-family: var(--ow-serif); font-size: 28px; color: var(--ow-wine); }
#wz-ow-editor .wz-ow-person-fields { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
#wz-ow-editor .wz-ow-person-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#wz-ow-editor .wz-ow-person-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
#wz-ow-editor .wz-ow-person-tools input[type=file] { font-size: 13px; max-width: 220px; }
#wz-ow-editor .wz-ow-person-btns { display: inline-flex; gap: 6px; }
@media (max-width: 700px) {
	#wz-ow-editor .wz-ow-person-edit { flex-direction: column; }
	#wz-ow-editor .wz-ow-person-row { grid-template-columns: 1fr; }
}

/* Gift List tab (0.8.0) */
#wz-ow-editor .wz-ow-gift-rows { display: flex; flex-direction: column; gap: 10px; }
#wz-ow-editor .wz-ow-gift-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--ow-line); }
#wz-ow-editor .wz-ow-gift-note { grid-column: 1 / -1; }
@media (max-width: 700px) { #wz-ow-editor .wz-ow-gift-row { grid-template-columns: 1fr; } }

/* Guest Info tab + idea buttons (0.9.0) */
#wz-ow-editor .wz-ow-faq-rows { display: flex; flex-direction: column; gap: 12px; }
#wz-ow-editor .wz-ow-faq-row { display: flex; flex-direction: column; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--ow-line); }
#wz-ow-editor .wz-ow-ideas { display: flex; flex-wrap: wrap; gap: 8px; }
#wz-ow-editor .wz-ow-fill { padding: 7px 14px !important; border: 1px solid var(--ow-line) !important; border-radius: 999px !important; background: #fff !important; color: var(--ow-wine) !important; font-size: 13px !important; line-height: 1.2 !important; cursor: pointer; box-shadow: none !important; min-height: 0 !important; height: auto !important; }
#wz-ow-editor .wz-ow-fill:hover { border-color: var(--ow-wine) !important; }

/* Announcements tab (0.10.0) */
#wz-ow-editor .wz-ow-gap { margin: 8px 0 12px; }
#wz-ow-editor .wz-ow-news-edit { display: flex; flex-direction: column; gap: 14px; }
#wz-ow-editor .wz-ow-news-item { display: flex; flex-direction: column; gap: 6px; padding: 12px; background: #fff; border: 1px solid var(--ow-line); border-radius: 12px; }
#wz-ow-editor .wz-ow-news-meta { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ow-muted); }

/* =====================================================================
   0.13.0 EDITORIAL LAYOUT (Sophia-inspired): full-width "pages" instead
   of a box, thin uppercase serif headings, corner labels, photos sized by
   their shape and staggered, a closing photo band. Overrides the rules above.
   ===================================================================== */

/* ---------- Page canvas: no box ---------- */
html body.wz-ow-standalone { background: #F7F4ED !important; }
body.wz-ow-standalone .wz-ow-site,
.wz-ow-site {
	max-width: none;
	margin: 0;
	border: 0;
	border-radius: 0;
	overflow: visible;
	overflow-x: clip;
	background: var(--ow-bg);
}
body.wz-ow-standalone .wz-ow-site-card { max-width: 620px; margin: 12vh auto; border: 1px solid var(--ow-line); border-radius: 18px; }

/* ---------- Top bar ---------- */
.wz-ow-top {
	position: sticky; top: 0; z-index: 50;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 16px clamp(20px, 4vw, 56px);
	background: var(--ow-topbar);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--ow-line);
}
.admin-bar .wz-ow-top { top: 32px; }
.wz-ow-site a.wz-ow-mono { font-family: var(--ow-serif); font-size: 17px; letter-spacing: .24em; color: var(--ow-ink); text-decoration: none; white-space: nowrap; }
.wz-ow-site .wz-ow-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 26px; padding: 0; }
.wz-ow-site .wz-ow-nav a { font-size: 11px; letter-spacing: .22em; padding: 4px 0; }
.wz-ow-menu-btn { display: none; }

/* ---------- Cover and title ---------- */
.wz-ow-site .wz-ow-cover { background: var(--ow-line); }
.wz-ow-site .wz-ow-cover img.wz-ow-cover-img { height: min(86vh, 920px); min-height: 420px; }
.wz-ow-hero, .wz-ow-hero.has-cover { padding: 76px clamp(20px, 4vw, 56px) 44px; }
.wz-ow-site h1.wz-ow-names {
	text-transform: uppercase;
	letter-spacing: .05em;
	font-size: clamp(42px, 8.4vw, 118px);
	line-height: 1;
	margin: 0;
}
.wz-ow-site .wz-ow-amp { text-transform: none; font-size: .9em; padding: 0 .12em; }
.wz-ow-hero-meta {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
	max-width: 1180px; margin: 44px auto 0;
}
.wz-ow-site .wz-ow-corner { margin: 0; font-size: 11px; line-height: 1.7; letter-spacing: .24em; text-transform: uppercase; color: var(--ow-brown); }
.wz-ow-corner-l { text-align: left; }
.wz-ow-corner-r { text-align: right; }
.wz-ow-site a.wz-ow-pill {
	display: inline-block; padding: 11px 30px; border: 1px solid var(--ow-ink);
	font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--ow-ink); text-decoration: none;
	transition: background .2s, color .2s, border-color .2s;
}
.wz-ow-site a.wz-ow-pill:hover { background: var(--ow-wine); border-color: var(--ow-wine); color: var(--ow-on-accent); }
.wz-ow-rule { display: none; }

.wz-ow-count { max-width: 1180px; margin: 0 auto; padding: 30px 0 34px; }
.wz-ow-count b { font-size: clamp(32px, 4.4vw, 46px); }

/* ---------- Pages ---------- */
.wz-ow-pages { counter-reset: owsec; }
.wz-ow-pages > section { position: relative; }
.wz-ow-section-head { counter-increment: owsec; margin: 0 0 64px; }
.wz-ow-section-head::before {
	content: counter(owsec, decimal-leading-zero);
	display: block; margin: 0 0 14px;
	font-family: var(--ow-sans); font-size: 11px; letter-spacing: .3em; color: var(--ow-wine);
}
.wz-ow-section-head::after { display: none; }
.wz-ow-site .wz-ow-section-head h2 {
	text-transform: uppercase; letter-spacing: .08em; font-weight: 400;
	font-size: clamp(30px, 4.4vw, 58px); line-height: 1.05;
}
.wz-ow-sand { background: var(--ow-sand); }
.wz-ow-updates .wz-ow-section-head h2, .wz-ow-info .wz-ow-section-head h2, .wz-ow-gifts .wz-ow-section-head h2 { font-size: clamp(26px, 2.9vw, 42px); overflow-wrap: anywhere; hyphens: auto; }

/* Wide inner frame for every page */
.wz-ow-pages > section { padding-left: clamp(20px, 5vw, 72px); padding-right: clamp(20px, 5vw, 72px); }

/* Split pages: heading on the left, content on the right */
.wz-ow-updates, .wz-ow-info, .wz-ow-gifts {
	display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 6vw;
	max-width: none; padding-top: 110px; padding-bottom: 80px;
}
.wz-ow-updates > .wz-ow-section-head, .wz-ow-info > .wz-ow-section-head, .wz-ow-gifts > .wz-ow-section-head {
	grid-column: 1; grid-row: 1 / span 20; text-align: left; align-self: start; position: sticky; top: 110px;
}
.wz-ow-updates > *:not(.wz-ow-section-head), .wz-ow-info > *:not(.wz-ow-section-head), .wz-ow-gifts > *:not(.wz-ow-section-head) { grid-column: 2; }
.wz-ow-news-list, .wz-ow-gift-msg, .wz-ow-info-block, .wz-ow-info-text, .wz-ow-faq, .wz-ow-info-contact { max-width: 720px; margin-left: 0; margin-right: 0; text-align: left; }
.wz-ow-info-block .wz-ow-icon, .wz-ow-info-text .wz-ow-icon { margin-left: 0; }
.wz-ow-gift-links { justify-content: start; margin-left: 0; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); max-width: 760px; }
.wz-ow-site a.wz-ow-gift, .wz-ow-site div.wz-ow-gift { align-items: flex-start; text-align: left; border-radius: 0; background: transparent; border: 0; border-top: 1px solid var(--ow-ink); padding: 18px 0 8px; }
.wz-ow-site a.wz-ow-gift:hover { transform: none; border-color: var(--ow-wine); }
.wz-ow-site .wz-ow-gift-msg p { font-size: clamp(20px, 2.2vw, 26px); }
.wz-ow-site .wz-ow-info-block > h3 { font-size: 13px; font-family: var(--ow-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ow-wine); margin-bottom: 18px; }
.wz-ow-site .wz-ow-info-contact { margin: 0 0 24px; justify-self: start; }
.wz-ow-info-contact span { text-align: left; }

/* Welcome: label on the left, letter on the right */
.wz-ow-welcome {
	display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 6vw;
	max-width: none; margin: 0; padding: 110px clamp(20px, 5vw, 72px) 40px; text-align: left;
}
.wz-ow-welcome .wz-ow-kicker { grid-column: 1; align-self: start; }
.wz-ow-welcome-text, .wz-ow-welcome .wz-ow-sign { grid-column: 2; max-width: 640px; }
.wz-ow-site .wz-ow-welcome-text p { font-family: var(--ow-serif); font-size: clamp(20px, 2.1vw, 25px); line-height: 1.6; }
.wz-ow-site .wz-ow-sign { text-align: right; font-size: 30px; }

/* ---------- The Wedding Day (sand page) ---------- */
.wz-ow-day { background: var(--ow-sand); padding-top: 110px; padding-bottom: 90px; }
.wz-ow-day .wz-ow-section-head { text-align: center; }
.wz-ow-places { max-width: 1080px; gap: 0; margin-bottom: 72px; border-top: 1px solid var(--ow-ink); }
.wz-ow-place { background: transparent; border: 0; border-radius: 0; text-align: left; padding: 30px 32px 30px 0; }
.wz-ow-place + .wz-ow-place { border-left: 1px solid var(--ow-rule); padding-left: 32px; }
.wz-ow-site .wz-ow-place .wz-ow-icon { margin: 0 0 14px; }
.wz-ow-site .wz-ow-place h3 { text-transform: uppercase; letter-spacing: .1em; font-size: 22px; }
.wz-ow-site .wz-ow-place-time { font-size: 30px; }
.wz-ow-sched-public { max-width: 1080px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 6vw; text-align: left; }
.wz-ow-sched-public .wz-ow-icon, .wz-ow-sched-public h3 { grid-column: 1; margin-left: 0; }
.wz-ow-sched-public ol { grid-column: 2; grid-row: 1 / span 3; margin-top: 0 !important; }
.wz-ow-site .wz-ow-sched-public li { grid-template-columns: 130px 1fr; border-bottom-color: var(--ow-rule); }
.wz-ow-s-time { text-align: left; font-size: 26px; }
.wz-ow-tiles { max-width: 1080px; text-align: left; border-top: 1px solid var(--ow-rule); padding-top: 44px; }
.wz-ow-tile .wz-ow-icon { margin: 0 0 12px; }
.wz-ow-map { border-radius: 0; max-width: 1080px; background: var(--ow-panel); }

/* ---------- RSVP: full burgundy page ---------- */
.wz-ow-rsvp { background: var(--ow-wine); padding-top: 110px; padding-bottom: 110px; }
.wz-ow-rsvp-card {
	max-width: 1080px; padding: 0; border-radius: 0; background: transparent; text-align: left;
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 6vw; align-items: start;
}
.wz-ow-rsvp-card > h2, .wz-ow-rsvp-card > .wz-ow-rsvp-by { grid-column: 1; }
.wz-ow-rsvp-card > *:not(h2):not(.wz-ow-rsvp-by) { grid-column: 2; }
.wz-ow-rsvp-card > h2 { grid-row: 1; font-size: clamp(56px, 9vw, 130px) !important; line-height: .9; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 18px !important; }
.wz-ow-rsvp-card > .wz-ow-rsvp-by { grid-row: 2; }
.wz-ow-rsvp-card > .wz-ow-rsvp-text, .wz-ow-rsvp-card > .wz-ow-rsvp-note { grid-row: 1; margin-left: 0 !important; }
.wz-ow-rsvp-card > .wz-ow-rsvp-note + .wz-ow-rsvp-text { grid-row: auto; }
.wz-ow-rsvp-form, .wz-ow-site .wz-ow-rsvp-alt, .wz-ow-site .wz-ow-rsvp-text, .wz-ow-site .wz-ow-rsvp-note { margin-left: 0; max-width: 520px; justify-content: flex-start; }
.wz-ow-site .wz-ow-rsvp-form input[type=email], .wz-ow-site .wz-ow-rsvp-form input[type=text] { border-radius: 0 !important; }
.wz-ow-site .wz-ow-rsvp-form button { border-radius: 0 !important; }

/* ---------- Our Story: shapes decide the layout ---------- */
.wz-ow-story { padding-top: 120px; padding-bottom: 40px; }
.wz-ow-story .wz-ow-section-head { max-width: 1200px; margin-left: auto; margin-right: auto; }
.wz-ow-chapter { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; max-width: 1200px; margin: 0 auto 130px; align-items: start; }
.wz-ow-chapter.has-photo { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.wz-ow-chapter-text, .wz-ow-chapter-photo { grid-row: 1; }
/* tall photo: narrow photo, text lower down */
.wz-ow-chapter.is-port .wz-ow-chapter-text { grid-column: 2 / 7; margin-top: 120px; }
.wz-ow-chapter.is-port .wz-ow-chapter-photo { grid-column: 8 / 12; }
.wz-ow-chapter.is-port.is-flipped .wz-ow-chapter-text { grid-column: 7 / 12; order: 0; }
.wz-ow-chapter.is-port.is-flipped .wz-ow-chapter-photo { grid-column: 2 / 6; }
/* wide photo: big photo, text card overlapping its edge */
.wz-ow-chapter.is-land .wz-ow-chapter-photo { grid-column: 1 / 9; }
.wz-ow-chapter.is-land .wz-ow-chapter-text { grid-column: 8 / 13; margin-top: 90px; position: relative; z-index: 2; background: var(--ow-bg); padding: 40px 36px; }
.wz-ow-chapter.is-land.is-flipped .wz-ow-chapter-photo { grid-column: 5 / 13; }
.wz-ow-chapter.is-land.is-flipped .wz-ow-chapter-text { grid-column: 1 / 6; order: 0; }
/* square photo */
.wz-ow-chapter.is-square .wz-ow-chapter-photo { grid-column: 2 / 7; }
.wz-ow-chapter.is-square .wz-ow-chapter-text { grid-column: 8 / 12; margin-top: 60px; }
.wz-ow-chapter.is-square.is-flipped .wz-ow-chapter-photo { grid-column: 7 / 12; }
.wz-ow-chapter.is-square.is-flipped .wz-ow-chapter-text { grid-column: 2 / 6; order: 0; }
/* text only: off-centre column */
.wz-ow-chapter.no-photo { max-width: 1200px; text-align: left; }
.wz-ow-chapter.no-photo .wz-ow-chapter-text { grid-column: 3 / 9; }
.wz-ow-chapter.no-photo.is-right .wz-ow-chapter-text { grid-column: 6 / 12; }
.wz-ow-site .wz-ow-chapter-photo img.wz-ow-story-img { height: auto; border-radius: 0; box-shadow: none; object-fit: cover; }
.wz-ow-site .wz-ow-chapter.is-port img.wz-ow-story-img { aspect-ratio: 4 / 5; }
.wz-ow-site .wz-ow-chapter.is-land img.wz-ow-story-img { aspect-ratio: 3 / 2; }
.wz-ow-site .wz-ow-chapter.is-square img.wz-ow-story-img { aspect-ratio: 1 / 1; }
.wz-ow-site .wz-ow-chapter-photo figcaption { text-align: left; font-size: 13px; letter-spacing: .04em; }
.wz-ow-chapter-no { display: block; margin: 0 0 6px; font-family: var(--ow-serif); font-size: 84px; line-height: .85; color: var(--ow-sand); }
.wz-ow-site .wz-ow-chapter h3 { text-transform: uppercase; letter-spacing: .1em; font-size: clamp(22px, 2.4vw, 30px); }

/* ---------- Wedding Party: arched portraits, staggered ---------- */
.wz-ow-party { background: var(--ow-sand); padding-top: 110px; padding-bottom: 120px; }
.wz-ow-party .wz-ow-section-head { text-align: center; }
.wz-ow-people { grid-template-columns: repeat(auto-fit, minmax(180px, 230px)); gap: 40px 36px; max-width: 1200px; align-items: start; }
.wz-ow-site .wz-ow-person:nth-child(even) { margin-top: 80px; }
.wz-ow-site .wz-ow-person img.wz-ow-person-img, .wz-ow-person-initial { width: 100%; height: auto; aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; margin-bottom: 20px; }
.wz-ow-person-initial { background: var(--ow-bg); }
.wz-ow-site .wz-ow-person figcaption strong { text-transform: uppercase; letter-spacing: .1em; font-size: 19px; }

/* ---------- Photos: sizes follow the photo's shape ---------- */
.wz-ow-gallery { padding: 120px clamp(16px, 3vw, 40px) 100px !important; }
.wz-ow-gallery .wz-ow-section-head { text-align: center; }
.wz-ow-grid { columns: auto; display: flex; flex-wrap: wrap; gap: 14px; max-width: 1400px; margin: 0 auto; }
.wz-ow-grid::after { content: ""; flex-grow: 999; }
/* Justified rows: each photo keeps its own shape; wide photos take more room, tall ones less. */
.wz-ow-site .wz-ow-grid-item { position: relative; margin: 0; flex: calc(var(--r, 1) * 100) 1 calc(var(--r, 1) * 250px); min-width: 0; }
.wz-ow-site .wz-ow-grid-item.is-big { flex-basis: calc(var(--r, 1) * 430px); }
.wz-ow-grid-item a { height: auto; border-radius: 0; }
.wz-ow-site .wz-ow-grid-item img { width: 100%; height: auto; aspect-ratio: var(--r, 1); object-fit: cover; }
.wz-ow-site .wz-ow-grid-item figcaption {
	position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 30px 14px 12px; text-align: left; color: var(--ow-on-accent);
	background: linear-gradient(transparent, rgba(41,45,41,.6)); opacity: 0; transition: opacity .3s; pointer-events: none;
}
.wz-ow-grid-item:hover figcaption { opacity: 1; }

/* ---------- Announcements ---------- */
.wz-ow-site .wz-ow-news { border-left: 0; border-top: 1px solid var(--ow-ink); padding: 18px 0 8px; margin-bottom: 30px; }

/* ---------- Closing photo band ---------- */
.wz-ow-end { position: relative; display: flex; align-items: center; justify-content: center; min-height: 46vh; background: var(--ow-wine) center / cover no-repeat; text-align: center; }
.wz-ow-end.has-photo { min-height: min(80vh, 760px); }
.wz-ow-end.has-photo::before { content: ""; position: absolute; inset: 0; background: var(--ow-shade); }
.wz-ow-end-inner { position: relative; padding: 60px 20px; }
.wz-ow-site .wz-ow-end-date { margin: 0 0 14px; font-family: var(--ow-serif); font-size: clamp(48px, 10vw, 140px); letter-spacing: .08em; line-height: 1; color: var(--ow-on-accent); }
.wz-ow-site .wz-ow-end-names { margin: 0; font-size: 12px; letter-spacing: .34em; text-transform: uppercase; color: var(--ow-on-accent); }
.wz-ow-site .wz-ow-foot { margin: 0; padding: 26px 20px 30px; }

/* ---------- Tablets and phones ---------- */
@media (max-width: 900px) {
	.wz-ow-updates, .wz-ow-info, .wz-ow-gifts, .wz-ow-welcome, .wz-ow-sched-public, .wz-ow-rsvp-card { grid-template-columns: 1fr; }
	.wz-ow-updates > .wz-ow-section-head, .wz-ow-info > .wz-ow-section-head, .wz-ow-gifts > .wz-ow-section-head { grid-row: auto; position: static; margin-bottom: 40px; }
	.wz-ow-updates > *, .wz-ow-info > *, .wz-ow-gifts > *, .wz-ow-welcome > *, .wz-ow-sched-public > *, .wz-ow-rsvp-card > * { grid-column: 1 !important; grid-row: auto !important; }
	.wz-ow-welcome .wz-ow-kicker { margin-bottom: 18px; }
	.wz-ow-sched-public ol { margin-top: 18px !important; }
	.wz-ow-rsvp-card > h2 { margin-bottom: 8px !important; }
	.wz-ow-rsvp-card > .wz-ow-rsvp-by { margin-bottom: 26px !important; }

	.wz-ow-chapter, .wz-ow-chapter.has-photo { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 14px; margin-bottom: 80px; }
	.wz-ow-chapter .wz-ow-chapter-photo { grid-row: 1 !important; margin: 0 0 22px !important; }
	.wz-ow-chapter .wz-ow-chapter-text { grid-row: 2 !important; grid-column: 1 / 7 !important; margin-top: 0 !important; padding: 0 !important; background: transparent !important; }
	.wz-ow-chapter.is-land .wz-ow-chapter-photo { grid-column: 1 / 7 !important; }
	.wz-ow-chapter.is-port .wz-ow-chapter-photo, .wz-ow-chapter.is-square .wz-ow-chapter-photo { grid-column: 2 / 7 !important; }
	.wz-ow-chapter.is-flipped.is-port .wz-ow-chapter-photo, .wz-ow-chapter.is-flipped.is-square .wz-ow-chapter-photo { grid-column: 1 / 6 !important; }
	.wz-ow-chapter.no-photo .wz-ow-chapter-text { grid-row: 1 !important; grid-column: 1 / 6 !important; }
	.wz-ow-chapter.no-photo.is-right .wz-ow-chapter-text { grid-column: 2 / 7 !important; }
	.wz-ow-chapter-no { font-size: 60px; }

	.wz-ow-places { grid-template-columns: 1fr; }
	.wz-ow-place + .wz-ow-place { border-left: 0; border-top: 1px solid var(--ow-rule); padding-left: 0; }
}
@media (max-width: 700px) {
	.wz-ow-top { padding: 14px 18px; }
	.wz-ow-menu-btn { display: inline-flex; flex-direction: column; gap: 6px; padding: 8px 4px !important; background: transparent !important; border: 0 !important; box-shadow: none !important; cursor: pointer; min-height: 0 !important; }
	.wz-ow-menu-btn > span:not(.screen-reader-text) { display: block; width: 24px; height: 1px; background: var(--ow-ink); transition: transform .25s; }
	.wz-ow-top.is-open .wz-ow-menu-btn > span:first-child { transform: translateY(3.5px) rotate(45deg); }
	.wz-ow-top.is-open .wz-ow-menu-btn > span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
	.wz-ow-site .wz-ow-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: center; gap: 0; padding: 10px 0 18px; background: var(--ow-bg); border-bottom: 1px solid var(--ow-line); }
	.wz-ow-top.is-open .wz-ow-nav { display: flex; }
	.wz-ow-site .wz-ow-nav a { font-size: 12px; padding: 12px 0; }

	.wz-ow-site .wz-ow-cover img.wz-ow-cover-img { height: 78vh; min-height: 380px; max-height: none; }
	.wz-ow-hero, .wz-ow-hero.has-cover { padding: 52px 20px 30px; }
	.wz-ow-hero-meta { grid-template-columns: 1fr; justify-items: center; gap: 16px; margin-top: 30px; }
	.wz-ow-corner-l, .wz-ow-corner-r { text-align: center; }
	.wz-ow-hero-meta .wz-ow-pill { order: 3; }

	.wz-ow-pages > section, .wz-ow-welcome { padding-top: 76px !important; }
	.wz-ow-section-head { margin-bottom: 40px; }

	.wz-ow-grid { gap: 8px; }
	.wz-ow-site .wz-ow-grid-item { flex-basis: calc(var(--r, 1) * 120px); }
	.wz-ow-site .wz-ow-grid-item.is-big { flex-basis: 100%; }

	.wz-ow-people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; }
	.wz-ow-site .wz-ow-person:nth-child(even) { margin-top: 48px; }
	.wz-ow-site .wz-ow-person figcaption strong { font-size: 15px; }

	.wz-ow-end.has-photo { min-height: 64vh; }
}
/* Square corners everywhere on the website, to match the editorial style */
.wz-ow-site a.wz-ow-latest, .wz-ow-latest-tag, .wz-ow-site .wz-ow-map-btn, .wz-ow-site .wz-ow-rsvp-note { border-radius: 0 !important; }
@media (max-width: 700px) { .wz-ow-site a.wz-ow-latest { border-radius: 0 !important; } }

/* 0.13.1: section titles always centred and bigger; content centred under them */
.wz-ow-pages .wz-ow-section-head { text-align: center !important; }
.wz-ow-site .wz-ow-pages .wz-ow-section-head h2,
.wz-ow-updates .wz-ow-section-head h2, .wz-ow-info .wz-ow-section-head h2, .wz-ow-gifts .wz-ow-section-head h2 {
	font-size: clamp(36px, 5.6vw, 76px) !important; letter-spacing: .07em; overflow-wrap: normal; hyphens: none;
}
.wz-ow-updates, .wz-ow-info, .wz-ow-gifts { display: block; }
.wz-ow-updates > .wz-ow-section-head, .wz-ow-info > .wz-ow-section-head, .wz-ow-gifts > .wz-ow-section-head { position: static; }
.wz-ow-news-list, .wz-ow-gift-msg, .wz-ow-info-block, .wz-ow-info-text, .wz-ow-faq, .wz-ow-site .wz-ow-info-contact, .wz-ow-gift-links { max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
.wz-ow-gift-msg, .wz-ow-site .wz-ow-gift-msg p { text-align: center; }
.wz-ow-info-block > h3, .wz-ow-info-text { text-align: center; }
.wz-ow-info-text .wz-ow-icon, .wz-ow-info-block .wz-ow-icon { margin-left: auto; margin-right: auto; }
.wz-ow-site .wz-ow-info-contact, .wz-ow-info-contact span { text-align: center; }
.wz-ow-gift-links { justify-content: center; grid-template-columns: repeat(auto-fit, minmax(220px, 280px)); }
/* Announcement titles bigger */
.wz-ow-site .wz-ow-news h3 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.2; margin-bottom: 12px; }
.wz-ow-site .wz-ow-news p { font-size: 17px; }
@media (max-width: 700px) {
	.wz-ow-site .wz-ow-pages .wz-ow-section-head h2 { font-size: clamp(32px, 9vw, 44px) !important; }
	.wz-ow-site .wz-ow-news h3 { font-size: 24px; }
}

/* 0.14.0: round portraits of the couple beside the welcome letter */
.wz-ow-welcome .wz-ow-kicker { grid-column: 1; grid-row: 1; }
.wz-ow-welcome-text { grid-column: 2; grid-row: 1 / span 2; }
.wz-ow-welcome .wz-ow-sign { grid-column: 2; grid-row: 3; }
.wz-ow-couple { grid-column: 1; grid-row: 2 / span 2; position: relative; padding-top: 34px; max-width: 420px; }
.wz-ow-site .wz-ow-portrait { margin: 0; position: relative; width: clamp(150px, 15vw, 230px); }
.wz-ow-site .wz-ow-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; border: 7px solid var(--ow-bg); max-width: none; margin: 0; }
.wz-ow-site .wz-ow-portrait figcaption { margin-top: 8px; text-align: center; font-family: var(--ow-serif); font-style: italic; font-size: 20px; color: var(--ow-wine); }
.wz-ow-portrait-1 { z-index: 1; }
.wz-ow-portrait-2 { margin: -96px 0 0 clamp(110px, 11vw, 170px) !important; width: clamp(130px, 13vw, 200px) !important; z-index: 2; }
.wz-ow-portrait-1:only-child, .wz-ow-portrait-2:only-child { margin: 0 !important; }

/* Wedding Party back to circles, with a gentle stagger */
.wz-ow-people { grid-template-columns: repeat(auto-fit, minmax(160px, 200px)); }
.wz-ow-site .wz-ow-person img.wz-ow-person-img, .wz-ow-person-initial { width: 170px; height: 170px; aspect-ratio: 1 / 1; border-radius: 50%; margin: 0 auto 18px; }
.wz-ow-site .wz-ow-person:nth-child(even) { margin-top: 44px; }

@media (max-width: 900px) {
	.wz-ow-couple { display: flex; align-items: flex-start; justify-content: center; gap: 0; padding-top: 0; margin: 0 auto 30px; max-width: none; }
	.wz-ow-portrait-2 { margin: 50px 0 0 -26px !important; }
}
@media (max-width: 700px) {
	.wz-ow-site .wz-ow-portrait { width: 150px; }
	.wz-ow-portrait-2 { width: 130px !important; }
	.wz-ow-site .wz-ow-person img.wz-ow-person-img, .wz-ow-person-initial { width: 130px; height: 130px; }
	.wz-ow-site .wz-ow-person:nth-child(even) { margin-top: 30px; }
}
#wz-ow-editor .wz-ow-portraits-edit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0 0 14px; }
#wz-ow-editor .wz-ow-portrait-slot { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px; background: #fff; border: 1px solid var(--ow-line); border-radius: 12px; text-align: center; }
#wz-ow-editor .wz-ow-portrait-circle { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; background: var(--ow-line); display: flex; align-items: center; justify-content: center; }
#wz-ow-editor .wz-ow-portrait-circle img { width: 100%; height: 100%; object-fit: cover; margin: 0; }
#wz-ow-editor .wz-ow-portrait-circle span { font-family: var(--ow-serif); font-size: 40px; color: var(--ow-wine); }
#wz-ow-editor .wz-ow-portrait-slot input[type=file] { font-size: 13px; max-width: 100%; }
@media (max-width: 700px) { #wz-ow-editor .wz-ow-portraits-edit { grid-template-columns: 1fr; } }
/* Signature right under the letter, not pushed down by the portraits */
@media (min-width: 901px) {
	.wz-ow-welcome.has-portraits { grid-template-rows: auto auto 1fr; }
	.wz-ow-welcome.has-portraits .wz-ow-welcome-text { grid-row: 1 / span 2; align-self: start; }
	.wz-ow-welcome.has-portraits .wz-ow-sign { grid-row: 3; align-self: start; margin-top: 0; }
	.wz-ow-welcome.has-portraits .wz-ow-couple { grid-row: 2 / span 2; }
}

/* 0.15.0: optional photos of the places, staggered (smaller ceremony photo sits lower) */
.wz-ow-place-photo { margin: 26px 0 0; }
.wz-ow-place-photo a { display: block; line-height: 0; overflow: hidden; }
.wz-ow-site .wz-ow-place-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin: 0; border: 0; transition: transform .6s ease; }
.wz-ow-place-photo a:hover img { transform: scale(1.03); }
.wz-ow-places { align-items: start; }
.wz-ow-place:first-child:not(:only-child) .wz-ow-place-photo { width: 82%; margin-top: 70px; }
.wz-ow-place:only-child .wz-ow-place-photo { max-width: 720px; }
@media (max-width: 900px) { .wz-ow-place:first-child:not(:only-child) .wz-ow-place-photo { width: 100%; margin-top: 22px; } }
#wz-ow-editor .wz-ow-place-thumb { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; margin: 0; }
#wz-ow-editor .wz-ow-place-empty { display: flex; align-items: center; justify-content: center; width: 100%; height: 140px; border-radius: 8px; background: var(--ow-line); color: var(--ow-wine); }
#wz-ow-editor .wz-ow-place-empty .wz-ow-icon { width: 34px; height: 34px; margin: 0; }
#wz-ow-editor .wz-ow-place-slot .wz-ow-mini { display: block; }

/* 0.16.0: demo website banner */
.wz-ow-demo-bar { position: relative; z-index: 51; padding: 10px 16px; background: var(--ow-ink); color: var(--ow-on-accent); text-align: center; font-size: 13px; letter-spacing: .04em; line-height: 1.5; }
.wz-ow-site .wz-ow-demo-bar a { color: var(--ow-on-accent); text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }
.wz-ow-card-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.wz-ow-site .wz-ow-card-btns a.wz-ow-btn-line { background: transparent !important; color: var(--ow-wine) !important; }

/* ===== 0.16.1 invitation under "not found" / "not available" ===== */
.wz-ow-invite { margin: 44px auto 0; padding-top: 34px; border-top: 1px solid var(--ow-line, #EAE0D6); max-width: 520px; }
.wz-ow-site .wz-ow-cardmsg .wz-ow-invite p.wz-ow-invite-kicker { font-family: 'Butler', Georgia, serif; font-size: 24px; color: var(--ow-wine, #702F3D); margin: 0 0 10px; }
.wz-ow-site .wz-ow-cardmsg .wz-ow-invite p { font-size: 15px; line-height: 1.6; color: var(--ow-brown); margin: 0 0 22px; }
@media (max-width: 600px) { .wz-ow-invite { margin-top: 32px; padding-top: 26px; } .wz-ow-invite .wz-ow-card-btns a { width: 100%; text-align: center; } }

/* ===== 0.16.2 gallery: every photo in a row has the same height ===== */
/* A "big" photo can't be taller than its neighbours in a justified row, so on wider screens it's a normal photo. */
.wz-ow-site .wz-ow-grid-item.is-big { flex: calc(var(--r, 1) * 100) 1 calc(var(--r, 1) * 250px); }
.wz-ow-grid::after { flex-grow: 100000; }
@media (max-width: 600px) {
	.wz-ow-site .wz-ow-grid-item, .wz-ow-site .wz-ow-grid-item.is-big { flex: calc(var(--r, 1) * 100) 1 calc(var(--r, 1) * 120px); }
	.wz-ow-site .wz-ow-grid-item.is-big { flex-basis: 100%; }
}

/* ===== 0.17.2 "What to expect" box (Wedding Website tab) ===== */
#wz-ow-editor .wz-ow-about { margin: 0 0 22px; padding: 0; border: 1px solid var(--ow-line); border-radius: 18px; background: #fff; }
#wz-ow-editor .wz-ow-about summary { cursor: pointer; list-style: none; padding: 16px 22px; font-family: 'Butler', Georgia, serif; font-size: 20px; color: var(--ow-wine, #702F3D); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
#wz-ow-editor .wz-ow-about summary::-webkit-details-marker { display: none; }
#wz-ow-editor .wz-ow-about summary::after { content: "+"; font-family: 'Work Sans', sans-serif; font-size: 22px; line-height: 1; color: #AC9C8D; }
#wz-ow-editor .wz-ow-about[open] summary::after { content: "\2212"; }
#wz-ow-editor .wz-ow-about ul { margin: 0; padding: 0 22px 4px 22px; list-style: none; }
#wz-ow-editor .wz-ow-about li { position: relative; padding: 0 0 12px 22px; line-height: 1.55; color: #5D5040; }
#wz-ow-editor .wz-ow-about li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: #879681; }
#wz-ow-editor .wz-ow-about li strong { color: #292D29; }
#wz-ow-editor .wz-ow-about-links { margin: 0; padding: 4px 22px 18px 44px; font-weight: 600; }
#wz-ow-editor .wz-ow-about-links a { color: var(--ow-wine, #702F3D); }
@media (max-width: 600px) { #wz-ow-editor .wz-ow-about summary { padding: 14px 16px; font-size: 18px; } #wz-ow-editor .wz-ow-about ul { padding: 0 16px 4px; } #wz-ow-editor .wz-ow-about-links { padding: 4px 16px 16px 38px; } }

/* =====================================================================
   0.18.0 TEMPLATES: Template tab in ZONE, the small page drawn in code
   for each card, and the preview bar on the website. The templates
   themselves are assets/templates/<key>.css (Classic = this file).
   ===================================================================== */
#wz-ow-editor .wz-ow-tpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin: 0 0 16px; }
#wz-ow-editor .wz-ow-tpl { display: flex; flex-direction: column; margin: 0; background: var(--ow-bg); border: 1px solid var(--ow-line); border-radius: 16px; overflow: hidden; }
#wz-ow-editor .wz-ow-tpl.is-current { border-color: var(--ow-sage); box-shadow: inset 0 0 0 1px var(--ow-sage); }
#wz-ow-editor .wz-ow-tpl-stage { display: flex; justify-content: center; padding: 22px 16px; background: var(--ow-line); }
#wz-ow-editor .wz-ow-tpl-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
#wz-ow-editor .wz-ow-tpl-body h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 19px; }
#wz-ow-editor .wz-ow-tpl-body h3 .wz-ow-pill { font-family: var(--ow-sans); font-size: 11px; }
#wz-ow-editor .wz-ow-tpl-desc { margin: 0 0 8px; font-size: 14px; line-height: 1.5; color: var(--ow-brown); }
#wz-ow-editor .wz-ow-tpl-best { margin: 0 0 14px; font-size: 13px; color: var(--ow-ink); }
#wz-ow-editor .wz-ow-tpl-best span { margin-right: 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ow-muted); }
#wz-ow-editor .wz-ow-tpl-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: auto; }
#wz-ow-editor .wz-ow-tpl-btns form { margin: 0; }
#wz-ow-editor .wz-ow-tpl-btns .wz-ow-btn { font-size: 14px !important; padding: 9px 18px !important; }
#wz-ow-editor a.wz-ow-tpl-ex { font-size: 13px; color: var(--ow-wine); }

/* The small page (about the size of a matchbox). Every template restyles it in its own file. */
.wz-ow-tmini { position: relative; width: 168px; height: 236px; overflow: hidden; background: var(--ow-bg); color: var(--ow-ink); font-family: var(--ow-sans); text-align: center; line-height: 1.2; border-radius: 6px; box-shadow: 0 14px 30px -18px rgba(41, 45, 41, .6), 0 0 0 1px rgba(41, 45, 41, .07); user-select: none; box-sizing: border-box; }
.wz-ow-tmini *, .wz-ow-tmini *::before, .wz-ow-tmini *::after { box-sizing: border-box; }
.wz-ow-tmini p { margin: 0; padding: 0; }
.wz-ow-tmini i, .wz-ow-tmini b, .wz-ow-tmini em { font-style: normal; font-weight: 400; }
.wz-ow-tmini .wz-ow-tmini-top { display: flex; align-items: center; gap: 4px; height: 18px; padding: 0 9px; border-bottom: 1px solid var(--ow-line); }
.wz-ow-tmini .wz-ow-tmini-top span { margin-right: auto; font-family: var(--ow-serif); font-size: 6px; letter-spacing: .22em; color: var(--ow-ink); }
.wz-ow-tmini .wz-ow-tmini-top i { display: block; width: 10px; height: 1.5px; background: var(--ow-muted); }
.wz-ow-tmini .wz-ow-tmini-photo { position: relative; height: 82px; overflow: hidden; background: linear-gradient(180deg, #DCCBBD 0%, #B9A496 58%, #8E7B6D 100%); }
.wz-ow-tmini .wz-ow-tmini-photo::before { content: ""; position: absolute; left: -25%; right: 35%; bottom: -46px; height: 76px; border-radius: 50%; background: rgba(60, 48, 42, .32); }
.wz-ow-tmini .wz-ow-tmini-photo::after { content: ""; position: absolute; left: 30%; right: -30%; bottom: -54px; height: 80px; border-radius: 50%; background: rgba(60, 48, 42, .48); }
.wz-ow-tmini .wz-ow-tmini-photo b { position: absolute; z-index: 1; left: 50%; bottom: 12px; width: 6px; height: 17px; margin-left: -7px; border-radius: 3px 3px 1px 1px; background: #3A302C; box-shadow: 8px 1px 0 #F6F1EA; }
.wz-ow-tmini .wz-ow-tmini-hero { padding: 11px 9px 9px; }
.wz-ow-tmini .wz-ow-tmini-kicker { font-size: 5px; letter-spacing: .32em; text-transform: uppercase; color: var(--ow-brown); }
.wz-ow-tmini .wz-ow-tmini-names { margin-top: 5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--ow-serif); font-size: 14px; line-height: 1.1; letter-spacing: .04em; text-transform: uppercase; color: var(--ow-ink); }
.wz-ow-tmini .wz-ow-tmini-names em { font-style: italic; text-transform: none; color: var(--ow-wine); }
.wz-ow-tmini .wz-ow-tmini-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: 5px; letter-spacing: .2em; color: var(--ow-brown); }
.wz-ow-tmini .wz-ow-tmini-meta b { padding: 2px 7px; border: 1px solid var(--ow-ink); color: var(--ow-ink); letter-spacing: .24em; }
.wz-ow-tmini .wz-ow-tmini-band { height: 100%; padding: 10px 11px; background: var(--ow-sand); }
.wz-ow-tmini .wz-ow-tmini-head { margin-bottom: 7px; font-family: var(--ow-serif); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; color: var(--ow-ink); }
.wz-ow-tmini .wz-ow-tmini-row { display: flex; align-items: center; gap: 8px; }
.wz-ow-tmini .wz-ow-tmini-pic { flex: none; width: 34px; height: 40px; background: linear-gradient(160deg, #CDBDAF, #8E7B6D); }
.wz-ow-tmini .wz-ow-tmini-lines { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.wz-ow-tmini .wz-ow-tmini-lines i { display: block; height: 2px; background: var(--ow-muted); opacity: .7; }
.wz-ow-tmini .wz-ow-tmini-lines i:last-child { width: 60%; }

/* Preview bar on the website (?wz_ow_tpl=) */
.wz-ow-tpl-bar { position: relative; z-index: 52; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; padding: 10px 16px; background: #292D29; color: #F7F4ED; font-family: "Work Sans", system-ui, sans-serif; font-size: 14px; line-height: 1.4; text-align: center; }
.wz-ow-tpl-bar form { margin: 0; }
.wz-ow-site .wz-ow-tpl-bar button { margin: 0; padding: 7px 16px !important; border: 0 !important; border-radius: 999px !important; background: #F7F4ED !important; color: #292D29 !important; font: 600 13px "Work Sans", system-ui, sans-serif !important; cursor: pointer; box-shadow: none !important; height: auto !important; min-height: 0 !important; }
.wz-ow-site .wz-ow-tpl-bar a { color: #F7F4ED; text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================================
   0.18.1 LAYOUT 2 (every template except Classic, class .wz-ow-layout-2):
   welcome letter and portraits on opposite sides, ceremony and reception
   one below the other, Our Story with one large photo then two columns,
   wedding party in two sides. Phones: everything one below the other.
   Classic keeps the layout above. Templates fine-tune this in their file.
   ===================================================================== */
.wz-ow-end-alt, .wz-ow-side-label { display: none; }

/* Welcome: letter on one side, the two portraits on the other */
@media (min-width: 901px) {
	.wz-ow-site.wz-ow-layout-2 .wz-ow-welcome,
	.wz-ow-site.wz-ow-layout-2 .wz-ow-welcome.has-portraits { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto 1fr; column-gap: 6vw; align-items: start; max-width: 1240px; margin: 0 auto; }
	.wz-ow-site.wz-ow-layout-2 .wz-ow-welcome .wz-ow-kicker { grid-column: 1; grid-row: 1; margin-bottom: 22px; }
	.wz-ow-site.wz-ow-layout-2 .wz-ow-welcome .wz-ow-welcome-text,
	.wz-ow-site.wz-ow-layout-2 .wz-ow-welcome.has-portraits .wz-ow-welcome-text { grid-column: 1; grid-row: 2; max-width: 680px; }
	.wz-ow-site.wz-ow-layout-2 .wz-ow-welcome .wz-ow-sign,
	.wz-ow-site.wz-ow-layout-2 .wz-ow-welcome.has-portraits .wz-ow-sign { grid-column: 1; grid-row: 3; max-width: 680px; }
	.wz-ow-site.wz-ow-layout-2 .wz-ow-welcome .wz-ow-couple,
	.wz-ow-site.wz-ow-layout-2 .wz-ow-welcome.has-portraits .wz-ow-couple { grid-column: 2; grid-row: 1 / span 3; display: flex; justify-content: center; align-items: flex-start; gap: 0; max-width: none; padding-top: 10px; }
	.wz-ow-site.wz-ow-layout-2 .wz-ow-portrait { width: clamp(170px, 17vw, 250px); }
	.wz-ow-site.wz-ow-layout-2 .wz-ow-portrait-2 { width: clamp(150px, 15vw, 220px) !important; margin: 110px 0 0 -30px !important; }
	/* Portraits on the left, letter on the right (template header "Options: welcome-flip") */
	.wz-ow-site.wz-ow-layout-2.wz-ow-welcome-flip .wz-ow-welcome,
	.wz-ow-site.wz-ow-layout-2.wz-ow-welcome-flip .wz-ow-welcome.has-portraits { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
	.wz-ow-site.wz-ow-layout-2.wz-ow-welcome-flip .wz-ow-welcome > :not(.wz-ow-couple) { grid-column: 2 !important; }
	.wz-ow-site.wz-ow-layout-2.wz-ow-welcome-flip .wz-ow-welcome .wz-ow-couple { grid-column: 1 !important; }
}

/* Wedding Day: ceremony, then reception, one below the other (photo beside each, sides swapping) */
.wz-ow-site.wz-ow-layout-2 .wz-ow-places { grid-template-columns: 1fr; max-width: 1000px; margin-left: auto; margin-right: auto; gap: 0; border-top: 0; }
.wz-ow-site.wz-ow-layout-2 .wz-ow-place,
.wz-ow-site.wz-ow-layout-2 .wz-ow-place + .wz-ow-place { width: 100%; max-width: none; margin: 0; padding: 48px 0; border: 0; border-top: 1px solid var(--ow-rule); text-align: center; }
.wz-ow-site.wz-ow-layout-2 .wz-ow-place:first-child { border-top: 0; padding-top: 10px; }
.wz-ow-site.wz-ow-layout-2 .wz-ow-place .wz-ow-icon { margin: 0 auto 14px; }
.wz-ow-site.wz-ow-layout-2 .wz-ow-place .wz-ow-place-photo,
.wz-ow-site.wz-ow-layout-2 .wz-ow-place:first-child:not(:only-child) .wz-ow-place-photo { width: 100%; max-width: 720px; margin: 26px auto 0; }
@media (min-width: 901px) {
	.wz-ow-site.wz-ow-layout-2 .wz-ow-place:has(.wz-ow-place-photo) { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 56px; align-items: center; text-align: left; }
	.wz-ow-site.wz-ow-layout-2 .wz-ow-place:has(.wz-ow-place-photo) > * { grid-column: 1; }
	.wz-ow-site.wz-ow-layout-2 .wz-ow-place:has(.wz-ow-place-photo) .wz-ow-icon { margin-left: 0; }
	.wz-ow-site.wz-ow-layout-2 .wz-ow-place:has(.wz-ow-place-photo) > a.wz-ow-link { justify-self: start; }
	.wz-ow-site.wz-ow-layout-2 .wz-ow-place:has(.wz-ow-place-photo) .wz-ow-place-photo { grid-column: 2; grid-row: 1 / span 8; margin: 0 !important; width: 100% !important; }
	.wz-ow-site.wz-ow-layout-2 .wz-ow-place:nth-child(even):has(.wz-ow-place-photo) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
	.wz-ow-site.wz-ow-layout-2 .wz-ow-place:nth-child(even):has(.wz-ow-place-photo) > * { grid-column: 2; }
	.wz-ow-site.wz-ow-layout-2 .wz-ow-place:nth-child(even):has(.wz-ow-place-photo) .wz-ow-place-photo { grid-column: 1; }
}

/* Our Story: the first chapter large in the middle, the rest in two columns */
.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-story { --ow-story-gap: clamp(56px, 6vw, 96px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--ow-story-gap); align-items: start; }
.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-story > .wz-ow-section-head { grid-column: 1 / -1; width: 100%; }
.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-chapter,
.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-chapter.has-photo,
.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-chapter.no-photo { display: flex; flex-direction: column; max-width: 580px; width: 100%; margin: 0 auto 96px; text-align: left; }
.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-chapter .wz-ow-chapter-photo { order: -1; width: 100%; margin: 0 0 30px !important; }
.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-chapter .wz-ow-chapter-text { width: 100%; margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0; }
.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-chapter:nth-of-type(odd):not(:first-of-type) { margin-top: 90px; } /* right column sits a little lower */
.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-section-head + .wz-ow-chapter { grid-column: 1 / -1; max-width: 1000px; margin: 0 auto 110px !important; align-items: center; text-align: center; }
.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-section-head + .wz-ow-chapter .wz-ow-chapter-text { max-width: 640px; }
.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-section-head + .wz-ow-chapter.is-port .wz-ow-chapter-photo,
.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-section-head + .wz-ow-chapter.is-square .wz-ow-chapter-photo { max-width: 560px; }
.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-section-head + .wz-ow-chapter .wz-ow-chapter-photo figcaption { text-align: center; }

/* Wedding Party: the bride's side and the groom's side */
.wz-ow-site.wz-ow-layout-2 .wz-ow-people.is-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; max-width: 1180px; margin: 0 auto; }
.wz-ow-site.wz-ow-layout-2 .wz-ow-side { display: flex; flex-wrap: wrap; justify-content: center; align-content: flex-start; gap: 40px 28px; padding: 0 clamp(16px, 3vw, 48px); }
.wz-ow-site.wz-ow-layout-2 .wz-ow-side-b { border-right: 1px solid var(--ow-rule); }
.wz-ow-site.wz-ow-layout-2 .wz-ow-side-label { display: block; flex: 0 0 100%; margin: 0 0 6px; text-align: center; font-family: var(--ow-serif); font-style: italic; font-size: 22px; color: var(--ow-wine); }
.wz-ow-site.wz-ow-layout-2 .wz-ow-side .wz-ow-person { width: 190px; margin-top: 0 !important; }
.wz-ow-site.wz-ow-layout-2 .wz-ow-people-rest { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--ow-rule); }
.wz-ow-site.wz-ow-layout-2 .wz-ow-people-rest .wz-ow-person { margin-top: 0 !important; }

/* Phones and tablets: one below the other */
@media (max-width: 900px) {
	.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-story { display: block; }
	.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-chapter:nth-of-type(odd):not(:first-of-type) { margin-top: 0; }
	.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-chapter, .wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-chapter.has-photo, .wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-chapter.no-photo { margin-bottom: 70px; }
	.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-section-head + .wz-ow-chapter { margin-bottom: 70px !important; }
	.wz-ow-site.wz-ow-layout-2 .wz-ow-people.is-split { grid-template-columns: 1fr; }
	.wz-ow-site.wz-ow-layout-2 .wz-ow-side-b { border-right: 0; padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--ow-rule); }
	.wz-ow-site.wz-ow-layout-2 .wz-ow-side { gap: 30px 16px; }
	.wz-ow-site.wz-ow-layout-2 .wz-ow-side .wz-ow-person { width: calc(50% - 8px); }
}

/* 0.18.2: Our Story in two columns: columns close to the middle, joined by one line with a dot for each story */
@media (min-width: 901px) {
	.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-story { --ow-story-line: color-mix(in srgb, var(--ow-wine) 50%, var(--ow-bg)); }
	.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-chapter:not(:first-of-type) { position: relative; }
	.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-chapter:nth-of-type(even) { margin-right: 0 !important; }
	.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-chapter:nth-of-type(odd):not(:first-of-type) { margin-left: 0 !important; }
	/* the line: each story draws a stretch; the stretches overlap, so it reads as one unbroken line */
	.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-chapter:not(:first-of-type)::after { content: ""; position: absolute; top: -200px; bottom: -200px; width: 1px; background: var(--ow-story-line); pointer-events: none; }
	.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-chapter:nth-of-type(even)::after { right: calc(var(--ow-story-gap) / -2); }
	.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-chapter:nth-of-type(odd):not(:first-of-type)::after { left: calc(var(--ow-story-gap) / -2); }
	.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-chapter:nth-of-type(2)::after { top: -60px; }   /* starts under the first story */
	.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-chapter:nth-of-type(3)::after { top: -150px; }
	.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-chapter:last-of-type::after { bottom: auto; height: 239px; } /* ends at the last dot */
	.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-chapter:nth-of-type(2):last-of-type::after { height: 99px; }
	.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-chapter:nth-of-type(3):last-of-type::after { height: 189px; }
	/* a dot on the line and a short branch to each story */
	.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-chapter:not(:first-of-type)::before { content: ""; position: absolute; z-index: 1; top: 34px; width: calc(var(--ow-story-gap) / 2 + 6px); height: 11px; pointer-events: none;
		background: radial-gradient(circle 5.5px at var(--dot-x) 50%, var(--ow-wine) 96%, transparent 100%), linear-gradient(var(--ow-story-line), var(--ow-story-line)) center / 100% 1px no-repeat; }
	.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-chapter:nth-of-type(even)::before { --dot-x: calc(100% - 6px); right: calc(var(--ow-story-gap) / -2 - 6px); }
	.wz-ow-site.wz-ow-layout-2:not(.wz-ow-story-classic) .wz-ow-chapter:nth-of-type(odd):not(:first-of-type)::before { --dot-x: 6px; left: calc(var(--ow-story-gap) / -2 - 6px); }
}

/* 0.18.2: Wedding Party tab, the "stand with" setting and each person's Side list */
#wz-ow-editor .wz-ow-party-sides { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 16px; font-size: 14px; color: var(--ow-ink); }
#wz-ow-editor .wz-ow-party-sides .wz-ow-hint { flex: 1 1 100%; font-size: 13px; color: var(--ow-muted); }
#wz-ow-editor .wz-ow-side-select { width: 100%; max-width: 260px; margin: 0 0 8px !important; font-size: 14px; }

/* 0.18.2: template switcher on the demo website (visitors can try every look) */
.wz-ow-tpl-switch { position: relative; z-index: 52; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; padding: 10px 14px; background: #292D29; color: #F7F4ED; font: 14px/1.4 "Work Sans", system-ui, sans-serif; }
.wz-ow-tpl-switch > span { margin-right: 4px; opacity: .85; }
.wz-ow-site .wz-ow-tpl-switch a { padding: 6px 14px; border: 1px solid rgba(247, 244, 237, .4); border-radius: 999px; color: #F7F4ED; text-decoration: none; font-size: 13px; white-space: nowrap; }
.wz-ow-site .wz-ow-tpl-switch a:hover { border-color: #F7F4ED; }
.wz-ow-site .wz-ow-tpl-switch a.is-on { background: #F7F4ED; border-color: #F7F4ED; color: #292D29; font-weight: 600; }
@media (max-width: 700px) {
	.wz-ow-tpl-switch { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.wz-ow-tpl-switch > span { flex: none; font-size: 13px; }
}

/* =====================================================================
   0.19.0 SHARE ON INSTAGRAM (ZONE -> Photos): pick up to 3 photos, share them
   or a story picture made in the website's template style (assets/share.js).
   ===================================================================== */
.wz-ow-share-style { display: none !important; }
#wz-ow-editor .wz-ow-share-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 0 0 14px; }
#wz-ow-editor .wz-ow-share-pick { position: relative; display: block; width: 100%; aspect-ratio: 1; margin: 0; padding: 0 !important; overflow: hidden; border: 0 !important; border-radius: 10px !important; background: var(--ow-line) !important; cursor: pointer; box-shadow: none !important; min-height: 0 !important; height: auto !important; -webkit-tap-highlight-color: transparent; }
#wz-ow-editor .wz-ow-share-pick img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; transition: transform .2s, opacity .2s; }
#wz-ow-editor .wz-ow-share-pick.is-on { box-shadow: 0 0 0 3px var(--ow-wine) !important; }
#wz-ow-editor .wz-ow-share-pick.is-on img { transform: scale(.94); border-radius: 6px; }
#wz-ow-editor .wz-ow-share-n { position: absolute; top: 6px; right: 6px; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 2px solid #fff; border-radius: 50%; background: rgba(41, 45, 41, .25); color: #fff; font: 700 13px var(--ow-sans); }
#wz-ow-editor .wz-ow-share-pick.is-on .wz-ow-share-n { background: var(--ow-wine); }
#wz-ow-editor .wz-ow-share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
#wz-ow-editor .wz-ow-share-count { flex: 1 1 100%; font-size: 14px; color: var(--ow-brown); }
#wz-ow-editor .wz-ow-share-bar .wz-ow-btn { flex: 1 1 140px; text-align: center; }
#wz-ow-editor .wz-ow-share-bar .wz-ow-btn[disabled] { opacity: .45; cursor: not-allowed; }
@media (max-width: 700px) {
	#wz-ow-editor .wz-ow-share-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
	#wz-ow-editor .wz-ow-share-bar { position: sticky; bottom: 0; z-index: 5; margin: 0 -22px -20px; padding: 12px 22px 14px; background: var(--ow-bg); border-top: 1px solid var(--ow-line); border-radius: 0 0 16px 16px; }
}
/* The sheet with the preview and Share / Save */
.wz-ow-share-sheet { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: flex-end; justify-content: center; padding: 16px; background: rgba(41, 45, 41, .6); }
.wz-ow-share-panel { width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow: auto; padding: 18px 18px 16px; border-radius: 20px; background: #F7F4ED; text-align: center; font-family: "Work Sans", system-ui, sans-serif; box-sizing: border-box; }
.wz-ow-share-preview { display: block; width: auto; max-width: 100%; max-height: 56vh; margin: 0 auto 8px; border-radius: 12px; box-shadow: 0 12px 30px -16px rgba(41, 45, 41, .6); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.wz-ow-share-preview.is-dragging { cursor: grabbing; }
.wz-ow-share-panel p.wz-ow-share-drag { margin: 0 0 10px; font-size: 13px; color: #879681; }
.wz-ow-share-panel p { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: #5D5040; }
.wz-ow-share-panel .wz-ow-share-ready { font-family: "Butler", Georgia, serif; font-size: 22px; color: #292D29; }
.wz-ow-share-btns { display: flex; flex-direction: column; gap: 8px; }
.wz-ow-share-btns .wz-ow-btn { width: 100%; text-align: center; }
.wz-ow-share-panel button.wz-ow-share-close { padding: 10px !important; border: 0 !important; background: transparent !important; color: #5D5040 !important; font: 500 14px "Work Sans", system-ui, sans-serif !important; box-shadow: none !important; cursor: pointer; min-height: 0 !important; height: auto !important; }
@media (min-width: 701px) { .wz-ow-share-sheet { align-items: center; } }

/* Evening guests and Day Two (0.20.0) */
.wz-ow-day2 { max-width: 860px; margin: 0 auto 56px; text-align: center; }
.wz-ow-day2-kicker { margin: 0 0 14px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; opacity: .75; }
.wz-ow-places.wz-ow-places-d2 { max-width: 540px; margin: 0 auto; grid-template-columns: 1fr; }
.wz-ow-places-d2 .wz-ow-place-note { white-space: pre-line; }
.wz-ow-asbar strong { font-weight: 700; }

/* Find your table + Today (0.21.0) */
.wz-ow-tables { padding: 64px clamp(20px, 6vw, 72px) 24px; }
.wz-ow-tables-card { max-width: 620px; margin: 0 auto; padding: 44px clamp(22px, 5vw, 56px) 38px; text-align: center; border: 1px solid var(--ow-rule); border-radius: 18px; background: var(--ow-card); }
.wz-ow-site .wz-ow-tables-card h2 { margin: 0 0 10px; font-family: var(--ow-serif); font-weight: 400; font-size: clamp(32px, 5vw, 44px); letter-spacing: .06em; color: var(--ow-ink); }
.wz-ow-site .wz-ow-tables-text { margin: 0 auto 20px; max-width: 460px; font-size: 16px; line-height: 1.6; color: var(--ow-brown); }
.wz-ow-site .wz-ow-tables-form input[type=text] { border: 1px solid var(--ow-rule) !important; background: #fff !important; }
.wz-ow-site .wz-ow-tables-form button { border-color: var(--ow-wine) !important; background: var(--ow-wine) !important; color: var(--ow-on-accent) !important; }
.wz-ow-site .wz-ow-tables-form button:hover { background: var(--ow-wine-dark) !important; color: var(--ow-on-accent) !important; }
.wz-ow-tables-result { margin: 26px auto 0; max-width: 460px; }
.wz-ow-table-hit { padding: 22px 18px; border-top: 1px solid var(--ow-rule); }
.wz-ow-table-hit:first-child { border-top: 0; }
.wz-ow-site .wz-ow-table-who { margin: 0 0 6px; font-size: 14px; color: var(--ow-brown); }
.wz-ow-site .wz-ow-table-label { margin: 0; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ow-muted); }
.wz-ow-site .wz-ow-table-name { margin: 4px 0 0; font-family: var(--ow-serif); font-size: clamp(38px, 7vw, 56px); line-height: 1.1; color: var(--ow-wine); }
.wz-ow-site .wz-ow-table-with { margin: 14px 0 0; font-size: 15px; line-height: 1.6; color: var(--ow-ink); }
.wz-ow-site .wz-ow-table-with span { display: block; margin-bottom: 2px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ow-muted); }
.wz-ow-site .wz-ow-tables-note { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--ow-line); font-size: 15px; line-height: 1.55; color: var(--ow-ink); }

.wz-ow-today { padding: 28px clamp(16px, 5vw, 56px) 8px; }
.wz-ow-today-card { max-width: 680px; margin: 0 auto; padding: 30px clamp(20px, 4vw, 40px); border-radius: 18px; background: var(--ow-wine); color: var(--ow-on-accent); text-align: center; }
.wz-ow-site .wz-ow-today-kicker { margin: 0 0 14px; font-family: var(--ow-serif); font-size: clamp(30px, 5vw, 40px); letter-spacing: .08em; color: var(--ow-on-accent); }
.wz-ow-today-rows { display: grid; gap: 10px; margin: 0 auto 22px; max-width: 520px; text-align: left; }
.wz-ow-today-row { display: grid; grid-template-columns: 56px 70px 1fr; align-items: baseline; gap: 10px; padding: 12px 16px; border-radius: 12px; background: rgba(247, 244, 237, .12); }
.wz-ow-today-k { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ow-on-accent-soft); }
.wz-ow-today-t { font-family: var(--ow-serif); font-size: 20px; }
.wz-ow-today-w { font-size: 16px; line-height: 1.4; }
.wz-ow-today-w small { display: block; font-size: 13px; color: var(--ow-on-accent-soft); }
.wz-ow-today-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.wz-ow-site a.wz-ow-today-btn { display: inline-block; padding: 13px 22px; border: 1px solid var(--ow-on-accent); border-radius: 999px; color: var(--ow-on-accent); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.wz-ow-site a.wz-ow-today-btn.is-main { background: var(--ow-on-accent); color: var(--ow-wine); }
@media (max-width: 520px) {
	.wz-ow-today-row { grid-template-columns: 48px 58px 1fr; padding: 10px 12px; }
	.wz-ow-today-btns { flex-direction: column; }
}
