/**
 * WePost Directory: couples directory, profile and embed card (v1.2).
 * Matches the editorial vendor pages: Space Grotesk + Inter, pink on ink,
 * Playfair Display italic accents (self-hosted via wpdir-fonts).
 */

.wpwc {
	--c-pink: #ec4899;
	--c-deep: #db2777;
	--c-ink: #18181b;
	--c-ink2: #3f3f46;
	--c-muted: #71717a;
	--c-line: #e4e4e7;
	--c-soft: #fdf2f8;
	--c-bg: #fafaf9;
	--c-head: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--c-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--c-serif: 'Playfair Display', Georgia, serif;
	font-family: var(--c-body);
	color: var(--c-ink);
	box-sizing: border-box;
}
.wpwc *, .wpwc *::before, .wpwc *::after { box-sizing: border-box; }
.wpwc a { text-decoration: none; color: inherit; }
.wpwc img { display: block; max-width: 100%; }
.wpwc h1, .wpwc h2, .wpwc h3 { font-family: var(--c-head); color: inherit; margin: 0; letter-spacing: -0.01em; }
.wpwc-wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.wpwc-amp { font-family: var(--c-serif); font-style: italic; font-weight: 400; color: var(--c-pink); }
.wpwc-kicker { display: block; font: 600 11px/1.4 var(--c-head); letter-spacing: .14em; text-transform: uppercase; color: var(--c-pink); }
.wpwc-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--c-pink); color: #fff !important; font: 600 14px var(--c-head); padding: 12px 18px; border-radius: 10px; border: 0; transition: background .2s; }
.wpwc-btn:hover { background: var(--c-deep); }
.wpwc-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(135deg, #f9a8d4, #fbcfe8 45%, #fde68a); font: italic 500 28px var(--c-serif); color: rgba(24, 24, 27, .55); }
.wpwc-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }

/* ================= Embed card (B) ================= */
.wpwc-card { border-radius: 18px; overflow: hidden; background: var(--c-ink); color: #fff; margin: 28px 0; box-shadow: 0 18px 40px -24px rgba(24, 24, 27, .6); }
.wpwc-card__top { position: relative; display: block; aspect-ratio: 16 / 8; color: #fff !important; }
.wpwc-card__top img, .wpwc-card__top .wpwc-ph { width: 100%; height: 100%; object-fit: cover; }
.wpwc-card__top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(24, 24, 27, .95)); }
.wpwc-card__name { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 14px; }
.wpwc-card__name .wpwc-kicker { color: #f9a8d4; }
.wpwc-card__title { display: block; font: 700 28px/1.08 var(--c-head); margin-top: 4px; }
.wpwc-card__title .wpwc-amp { color: #f9a8d4; }
.wpwc-card__steps { list-style: none; margin: 0; padding: 18px 20px 6px; display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); }
.wpwc-card__steps li { position: relative; padding: 16px 8px 0 0; font-size: 12px; line-height: 1.35; color: #d4d4d8; margin: 0; }
.wpwc-card__steps li::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; height: 2px; background: #3f3f46; }
.wpwc-card__steps li::after { content: ""; position: absolute; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--c-pink); }
.wpwc-card__steps b { display: block; color: #fff; font: 600 13px var(--c-head); }
.wpwc-card__ft { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px 18px; flex-wrap: wrap; }
.wpwc-card__ft > span { font-size: 13px; color: #a1a1aa; }
@media (max-width: 600px) {
	.wpwc-card__top { aspect-ratio: 4 / 3; }
	.wpwc-card__title { font-size: 22px; }
	.wpwc-card__steps { grid-template-columns: 1fr 1fr; row-gap: 12px; }
}

/* ================= Profile ================= */
.wpwc-profile { background: var(--c-bg); }
.wpwc-hero { position: relative; height: min(560px, 62vw); min-height: 320px; overflow: hidden; background: var(--c-ink); color: #fff; }
.wpwc-hero > img { width: 100%; height: 100%; object-fit: cover; }
.wpwc-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(24, 24, 27, .88)); }
.wpwc-hero--plain { height: auto; min-height: 0; padding-top: 70px; background: radial-gradient(ellipse at 85% 0, #831843 0, var(--c-ink) 60%); }
.wpwc-hero--plain::after { display: none; }
.wpwc-hero--plain .wpwc-hero__cap { position: relative; }
.wpwc-hero__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding-bottom: 30px; }
.wpwc-badge { display: inline-block; background: var(--c-pink); color: #fff; border-radius: 999px; padding: 6px 14px; font: 500 13px var(--c-body); }
.wpwc-hero h1 { font: 700 clamp(32px, 5.6vw, 64px)/1.02 var(--c-head); margin: 12px 0; color: #fff; letter-spacing: -0.02em; }
.wpwc-hero .wpwc-amp { color: #f9a8d4; }
.wpwc-hero .wpwc-meta { color: #e4e4e7; }
.wpwc-crumb { font-size: 13px; color: var(--c-muted); padding: 14px 0; }
.wpwc-crumb a { color: var(--c-deep); }
.wpwc-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; padding-bottom: 56px; }
.wpwc-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--c-line); margin-bottom: 26px; overflow-x: auto; position: sticky; top: 0; background: var(--c-bg); z-index: 5; scrollbar-width: none; }
.wpwc-tabs::-webkit-scrollbar { display: none; }
.wpwc-tabs a { padding: 13px 0; font: 600 14px var(--c-head); color: var(--c-muted); white-space: nowrap; border-bottom: 2px solid transparent; }
.wpwc-tabs a:hover, .wpwc-tabs a:first-child { color: var(--c-ink); border-color: var(--c-pink); }
.wpwc-facts { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: 14px; overflow: hidden; margin-bottom: 34px; }
.wpwc-facts div { background: #fff; padding: 16px; }
.wpwc-facts span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.wpwc-facts b { display: block; font: 600 16px/1.3 var(--c-head); margin-top: 4px; }
.wpwc-blk { margin-bottom: 42px; scroll-margin-top: 70px; }
.wpwc-blk > h2 { font-size: 23px; font-weight: 700; margin-bottom: 16px; }
.wpwc-lede { font: italic 500 22px/1.5 var(--c-serif); color: var(--c-ink2); border-left: 3px solid var(--c-pink); padding: 0 0 0 18px; margin: 0 0 18px; quotes: "\201C" "\201D"; }
.wpwc-lede::before { content: open-quote; } .wpwc-lede::after { content: close-quote; }
.wpwc-content { font-size: 17px; line-height: 1.75; color: var(--c-ink2); }
.wpwc-content p { margin: 0 0 14px; }
.wpwc-content a { color: var(--c-deep); text-decoration: underline; }
.wpwc-tl { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; }
.wpwc-tl::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--c-pink), #fbcfe8); }
.wpwc-tl li { position: relative; padding-bottom: 22px; margin: 0; }
.wpwc-tl li::before { content: ""; position: absolute; left: -28px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--c-pink); }
.wpwc-tl li.is-last::before { background: var(--c-pink); }
.wpwc-tl__d { font: 600 12px var(--c-head); color: var(--c-deep); letter-spacing: .05em; text-transform: uppercase; }
.wpwc-tl h3 { font-size: 17px; font-weight: 600; margin: 3px 0; }
.wpwc-tl p { font-size: 14px; color: #52525b; line-height: 1.6; margin: 0; }
.wpwc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wpwc-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--c-line); background: #fff; border-radius: 999px; padding: 5px 13px 5px 5px; font-size: 13px; }
.wpwc-chip i { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #f9a8d4, #c4b5fd); display: flex; align-items: center; justify-content: center; font: normal 600 11px var(--c-head); color: #fff; }
.wpwc-chip small { color: var(--c-muted); font-size: 12px; }
.wpwc-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wpwc-v { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 12px; }
a.wpwc-v:hover { border-color: #f9a8d4; }
.wpwc-v img, .wpwc-v .wpwc-ph { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; font-size: 17px; }
.wpwc-v b { display: block; font: 600 15px/1.3 var(--c-head); }
.wpwc-v small { font-size: 12px; color: var(--c-muted); }
.wpwc-note { font-size: 13px; color: var(--c-muted); margin: 12px 0 0; }
.wpwc-note a { color: var(--c-deep); font-weight: 600; }
.wpwc-gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.wpwc-gal__item { min-width: 0; }
.wpwc-gal__item iframe { width: 100%; max-width: 100%; }
.wpwc-cov { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 10px; margin-bottom: 10px; }
a.wpwc-cov:hover { border-color: #f9a8d4; }
.wpwc-cov img, .wpwc-cov .wpwc-ph { width: 96px; height: 64px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; font-size: 16px; }
.wpwc-cov b { display: block; font: 600 15px/1.35 var(--c-head); }
.wpwc-cov small { font-size: 12px; color: var(--c-muted); }
.wpwc-box { background: #fff; border: 1px solid var(--c-line); border-radius: 16px; padding: 20px; position: sticky; top: 24px; }
.wpwc-box h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.wpwc-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 9px 0; border-bottom: 1px solid #f4f4f5; }
.wpwc-row span { color: var(--c-muted); }
.wpwc-row b { font-weight: 600; text-align: right; }
.wpwc-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.wpwc-social a, .wpwc-share { flex: 1 1 auto; text-align: center; border: 1px solid var(--c-line); background: #fff; border-radius: 10px; padding: 9px 12px; font: 600 13px var(--c-body); color: var(--c-ink); cursor: pointer; }
.wpwc-social a.is-ig { background: linear-gradient(45deg, #f59e0b, #ec4899, #8b5cf6); color: #fff; border: 0; }
.wpwc-claim { font-size: 13px; color: var(--c-muted); background: var(--c-soft); border-radius: 10px; padding: 12px; line-height: 1.5; margin: 0; }
.wpwc-claim a { color: var(--c-deep); font-weight: 600; }
.wpwc-band { background: var(--c-ink); color: #fff; padding: 44px 16px; text-align: center; }
.wpwc-band h2 { font-size: 28px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.wpwc-band h2 em { font-family: var(--c-serif); color: #f9a8d4; font-weight: 400; }
.wpwc-band p { color: #a1a1aa; margin: 0 0 18px; }
@media (max-width: 900px) {
	.wpwc-body { grid-template-columns: minmax(0, 1fr); gap: 26px; }
	.wpwc-aside { order: -1; }
	.wpwc-box { position: static; }
}
@media (max-width: 640px) {
	.wpwc-wrap { padding: 0 16px; }
	.wpwc-facts { grid-template-columns: repeat(2, 1fr); }
	.wpwc-team, .wpwc-gal { grid-template-columns: minmax(0, 1fr); }
	.wpwc-lede { font-size: 19px; }
	.wpwc-content { font-size: 16px; }
}

/* ================= Directory ================= */
.wpwc-dir { background: var(--c-bg); padding-bottom: 60px; }
.wpwc-dhero { padding: 56px 0 34px; background: radial-gradient(ellipse at 90% 0, #fce7f3 0, transparent 55%), #fff; border-bottom: 1px solid var(--c-line); }
.wpwc-dhero h1 { font: 700 clamp(34px, 5.4vw, 60px)/1.03 var(--c-head); letter-spacing: -0.02em; max-width: 780px; margin: 12px 0 14px; }
.wpwc-dhero h1 em { font-family: var(--c-serif); font-weight: 400; color: var(--c-pink); }
.wpwc-dhero p { color: #52525b; max-width: 580px; line-height: 1.6; margin: 0; }
.wpwc-search { display: flex; gap: 10px; margin-top: 26px; max-width: 640px; }
.wpwc-search input[type="search"] { flex: 1; min-width: 0; border: 1px solid var(--c-line); border-radius: 12px; padding: 14px 16px; font: 15px var(--c-body); background: #fff; }
.wpwc-search button { border: 0; background: var(--c-pink); color: #fff; font: 600 14px var(--c-head); padding: 0 22px; border-radius: 12px; cursor: pointer; }
.wpwc-stats { display: flex; gap: 28px; margin-top: 24px; flex-wrap: wrap; }
.wpwc-stats div { font-size: 13px; color: var(--c-muted); }
.wpwc-stats b { display: block; font: 700 26px var(--c-head); color: var(--c-ink); }
.wpwc-filters { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0; scrollbar-width: none; }
.wpwc-filters::-webkit-scrollbar { display: none; }
.wpwc-pill { flex: 0 0 auto; border: 1px solid var(--c-line); background: #fff; border-radius: 999px; padding: 8px 15px; font-size: 13px; white-space: nowrap; }
.wpwc-pill.is-on, .wpwc-pill:hover { background: var(--c-ink); color: #fff !important; border-color: var(--c-ink); }
.wpwc-sec { font-size: 24px; font-weight: 700; margin: 30px 0 16px !important; }
.wpwc-feature { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--c-ink); color: #fff !important; border-radius: 18px; overflow: hidden; }
.wpwc-feature__img { position: relative; min-height: 340px; display: block; }
.wpwc-feature__img img, .wpwc-feature__img .wpwc-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wpwc-feature__txt { padding: 34px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.wpwc-feature__title { font: 700 34px/1.06 var(--c-head); }
.wpwc-feature__title .wpwc-amp { color: #f9a8d4; }
.wpwc-feature .wpwc-meta { color: #a1a1aa; font-size: 13px; }
.wpwc-feature__ex { color: #d4d4d8; line-height: 1.6; font-size: 15px; }
.wpwc-feature .wpwc-btn { align-self: flex-start; }
.wpwc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.wpwc-cc { background: #fff; border: 1px solid var(--c-line); border-radius: 16px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.wpwc-cc:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(219, 39, 119, .5); }
.wpwc-cc__im { position: relative; display: block; aspect-ratio: 4 / 5; }
.wpwc-cc__im img { width: 100%; height: 100%; object-fit: cover; }
.wpwc-tag { position: absolute; left: 10px; bottom: 10px; background: #fff; font: 600 11px var(--c-head); padding: 5px 9px; border-radius: 999px; color: var(--c-ink); }
.wpwc-tag.is-cel { background: var(--c-pink); color: #fff; }
.wpwc-cc__bd { display: block; padding: 14px; }
.wpwc-cc__t { display: block; font: 600 16px/1.25 var(--c-head); }
.wpwc-cc__m { display: block; font-size: 12px; color: var(--c-muted); margin-top: 6px; }
.wpwc-submit { border: 2px dashed #f9a8d4; background: var(--c-soft); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 22px; gap: 10px; border-radius: 16px; }
.wpwc-submit b { font: 700 20px/1.15 var(--c-head); }
.wpwc-submit p { font-size: 13px; color: #52525b; line-height: 1.5; margin: 0; }
.wpwc-pager { margin-top: 24px; }
.wpwc-years { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.wpwc-yr { flex: 0 0 auto; border: 1px solid var(--c-line); background: #fff; border-radius: 14px; padding: 14px 18px; min-width: 120px; }
.wpwc-yr.is-on, .wpwc-yr:hover { border-color: var(--c-pink); }
.wpwc-yr b { font: 700 22px var(--c-head); display: block; }
.wpwc-yr span { font-size: 12px; color: var(--c-muted); }
@media (max-width: 980px) { .wpwc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
	.wpwc-feature { grid-template-columns: 1fr; }
	.wpwc-feature__img { min-height: 240px; }
	.wpwc-feature__txt { padding: 22px; }
	.wpwc-feature__title { font-size: 27px; }
	.wpwc-dhero { padding: 36px 0 26px; }
}
@media (max-width: 700px) {
	.wpwc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.wpwc-cc__bd { padding: 10px; }
	.wpwc-cc__t { font-size: 14px; }
	.wpwc-submit { grid-column: 1 / -1; }
}

/* Photo credits (Commons licences) */
.wpwc-credit { font-size: 11px; color: var(--c-muted); margin: -8px 0 10px; overflow-wrap: anywhere; }
.wpwc-credit a { color: inherit; text-decoration: underline; }
.wpwc-card .wpwc-credit { color: #71717a; margin: 8px 20px 0; }

/* v1.3: long-form story headings + FAQ */
.wpwc-content h2 { font-size: 23px; font-weight: 700; line-height: 1.25; color: var(--c-ink); margin: 30px 0 12px; }
.wpwc-content h3 { font-size: 19px; font-weight: 700; color: var(--c-ink); margin: 22px 0 8px; }
.wpwc-content ul { margin: 0 0 14px 20px; }
.wpwc-faq details { border: 1px solid #f3d3e3; border-radius: 12px; padding: 0 18px; margin-bottom: 10px; background: #fff; }
.wpwc-faq summary { cursor: pointer; list-style: none; padding: 15px 28px 15px 0; position: relative; }
.wpwc-faq summary::-webkit-details-marker { display: none; }
.wpwc-faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 22px; color: var(--c-pink); }
.wpwc-faq details[open] summary::after { content: "2"; }
.wpwc-faq summary h3 { display: inline; font-size: 17px; font-weight: 700; margin: 0; }
.wpwc-faq p { margin: 0 0 16px; font-size: 16px; line-height: 1.7; color: var(--c-ink2); }
