/*
Theme Name: Funua
Theme URI: https://funua.co.ke
Author: Funua
Description: An anonymous secrets and confessions theme for funua.co.ke. Visitors share secrets, confessions and exposés without signing up, attach photos (location data stripped), react and comment anonymously. Includes 60+ categories, an 18+ Intimate section with age gate, moderation queue, report button, and ready-made About, Contact, Privacy Policy and Community Rules pages.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: funua
Tags: blog, dark, community, custom-menu, custom-logo, threaded-comments, translation-ready
*/

:root {
	--bg: #0e0c13;
	--bg-soft: #13101a;
	--surface: #1a1622;
	--surface-2: #231d2e;
	--line: #3a3248;
	--text: #f4f1f8;      /* 17:1 on --bg */
	--body: #e4dfee;      /* 15:1 — reading text */
	--muted: #c9c2d8;     /* 11:1 */
	--faint: #ada6bd;     /* 8:1 — smallest meta text, still AAA */
	--accent: #ff6b88;    /* 7:1 */
	--accent-ink: #1a0910;
	--accent-soft: rgba(255, 107, 136, .16);
	--gold: #f6c27a;
	--secret: #6fe0d3;
	--confession: #b4a8ff;
	--expose: #ffa463;
	--adult: #ff7a7a;
	--radius: 18px;
	--radius-sm: 10px;
	--shadow: 0 10px 40px rgba(0, 0, 0, .35);
	--serif: "Playfair Display", "EB Garamond", Georgia, "Times New Roman", serif;
	--symbols: "Segoe UI Symbol", "Noto Sans Symbols 2", "Noto Sans Symbols", "Apple Symbols", "DejaVu Sans", sans-serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wrap: 1180px;
	--narrow: 760px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	background-image: radial-gradient(1200px 600px at 80% -10%, rgba(155, 140, 255, .10), transparent 60%), radial-gradient(900px 500px at -10% 10%, rgba(255, 90, 122, .08), transparent 60%);
	background-attachment: fixed;
	color: var(--text);
	font: 17px/1.7 var(--sans);
	-webkit-font-smoothing: antialiased;
}
body.gate-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; letter-spacing: 0; margin: 0 0 .5em; color: var(--text); }
p { margin: 0 0 1em; }

/* Icons & symbols (no emoji anywhere) */
.icon { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.18em; }
.sym { font-family: var(--symbols); font-variant-emoji: text; font-style: normal; line-height: 1; color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { width: 100%; max-width: var(--narrow); margin: 0 auto; padding: 0 20px; }
.screen-reader-text, .hp-field {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
[hidden] { display: none !important; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .45em;
	padding: .7em 1.25em; border-radius: 999px; border: 1px solid transparent;
	font: 600 15px/1.2 var(--sans); cursor: pointer; text-decoration: none !important;
	transition: transform .15s ease, background .2s, border-color .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 24px rgba(255, 90, 122, .3); }
.btn-primary:hover { background: #ff7590; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-lg { padding: .95em 1.6em; font-size: 16px; }
.btn-sm { padding: .5em .95em; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: default; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(14, 12, 19, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; }
.logo-mark {
	width: 30px; height: 30px; border-radius: 50% 50% 50% 8px;
	background: conic-gradient(from 200deg, var(--accent), var(--confession), var(--gold), var(--accent));
	box-shadow: 0 0 22px rgba(255, 90, 122, .5);
}
.logo-text { font: 700 27px/1 var(--serif); }
.custom-logo { max-height: 44px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.primary-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu a { color: var(--muted); padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: 15px; }
.primary-nav .menu a:hover, .primary-nav .current-menu-item > a { color: var(--text); background: var(--surface); text-decoration: none; }
.header-search input {
	background: var(--surface); border: 1px solid var(--line); color: var(--text);
	border-radius: 999px; padding: 9px 16px; width: 190px; font: 15px var(--sans);
}
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 40px; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 18px; height: 2px; background: var(--text); margin: 0 auto; position: relative; transition: .2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle .bars::after { top: 0; transform: rotate(-45deg); }

.cat-strip { border-top: 1px solid var(--line); }
.cat-strip-inner { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.cat-strip-inner::-webkit-scrollbar { display: none; }

/* Chips & badges */
.chip {
	display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
	padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
	color: var(--muted); font-size: 14px; font-weight: 500; position: relative; z-index: 2;
}
.chip:hover, .chip.is-active { color: var(--text); border-color: var(--muted); text-decoration: none; }
.chip-sm { padding: 4px 11px; font-size: 13.5px; }
.chip-adult { border-color: rgba(255, 122, 122, .55); color: #ffc9c9; }
.chip-adult .sym { color: var(--adult); }
.badge {
	display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px;
	font-size: 13.5px; font-weight: 600; letter-spacing: .01em;
}
.badge-secret { background: rgba(87, 214, 200, .12); color: var(--secret); }
.badge-confession { background: rgba(155, 140, 255, .14); color: var(--confession); }
.badge-expose { background: rgba(255, 148, 71, .14); color: var(--expose); }
.badge-adult { background: rgba(255, 77, 77, .16); color: var(--adult); }

/* Hero */
.hero { padding: 80px 0 50px; text-align: center; }
.hero-inner { max-width: 860px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--gold); font-weight: 600; margin: 0 0 14px; }
.hero-title { font-size: clamp(42px, 7vw, 78px); margin-bottom: 18px; color: var(--text); }
.hero-title em, .hero-title i { color: var(--accent); }
.hero-text { font-size: clamp(18px, 2.2vw, 21px); color: var(--body); max-width: 620px; margin: 0 auto 30px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-promises { list-style: none; padding: 0; margin: 34px 0 0; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; color: var(--muted); font-size: 15px; }
.hero-promises li { display: inline-flex; align-items: center; gap: 8px; }
.hero-promises .icon { color: var(--gold); }

/* Sections */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 18px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 0; }
.explore { padding-bottom: 40px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.cat-tile {
	display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--radius);
	background: var(--surface); border: 1px solid var(--line); color: var(--text);
	transition: transform .2s, border-color .2s, background .2s;
}
.cat-tile:hover { transform: translateY(-3px); border-color: var(--muted); background: var(--surface-2); text-decoration: none; }
.cat-icon { font-size: 26px; line-height: 1; margin-bottom: 8px; }
.cat-name { font-weight: 600; }
.cat-count { color: var(--faint); font-size: 14px; }
.cat-tile-adult { border-color: rgba(255, 122, 122, .45); background: linear-gradient(135deg, rgba(255, 122, 122, .12), var(--surface)); }
.cat-tile-adult .sym { color: var(--adult); }

/* Feed filters */
.feed { padding-top: 10px; padding-bottom: 60px; }
.feed-filters { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.tabs, .sorts { display: flex; gap: 6px; flex-wrap: wrap; min-width: 0; max-width: 100%; }
.tab, .sort { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 500; border: 1px solid transparent; }
.tab:hover, .sort:hover { color: var(--text); text-decoration: none; }
.tab.is-active { background: var(--text); color: var(--bg); }
.sort.is-active { border-color: var(--line); color: var(--text); }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.card {
	position: relative; display: flex; flex-direction: column; overflow: hidden;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--secret); opacity: .8; }
.card.type-confession::before { background: var(--confession); }
.card.type-expose::before { background: var(--expose); }
.card.is-intimate::before { background: var(--adult); }
.card:hover { transform: translateY(-3px); border-color: #3d3450; box-shadow: var(--shadow); }
.card-cover-link { position: absolute; inset: 0; z-index: 1; }
.card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 20px 20px 16px; display: flex; flex-direction: column; flex: 1; position: relative; }
.card-top { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.card-title { font-size: 23px; line-height: 1.25; margin: 0 0 10px; }
.card-excerpt { color: var(--body); font-size: 17px; line-height: 1.65; flex: 1; }
.card-excerpt p { margin: 0 0 14px; }
.card-meta { display: flex; align-items: center; gap: 8px; color: var(--faint); font-size: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.card-meta .stats { margin-left: auto; display: flex; gap: 14px; }
.card-meta .stats span, .who { display: inline-flex; align-items: center; gap: 5px; }
.dot { opacity: .5; }

/* 18+ veil until confirmed */
.card-veil { display: none; }
.is-intimate .card-title, .is-intimate .card-excerpt { filter: blur(7px); user-select: none; }
.is-intimate .card-veil {
	display: flex; position: absolute; inset: 48px 0 50px; align-items: center; justify-content: center; pointer-events: none;
}
.card-veil span { background: rgba(14, 12, 19, .9); border: 1px solid rgba(255, 122, 122, .6); color: #ffd6d6; padding: 7px 15px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.funua-adult .is-intimate .card-title, .funua-adult .is-intimate .card-excerpt, .funua-adult .is-intimate .secret-content, .funua-adult .is-intimate .secret-title { filter: none; user-select: auto; }
.funua-adult .card-veil { display: none !important; }
.secret.is-intimate .secret-content, .secret.is-intimate .secret-title { filter: blur(8px); }

/* Confessions showcase */
.confessions { padding: 20px 0 60px; }
.confessions .section-head { align-items: flex-end; margin-bottom: 24px; }
.confessions .eyebrow { margin-bottom: 8px; }
.see-all { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.confessions-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; }
.quote { margin: 0; }
.quote-link {
	display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none !important;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	transition: border-color .2s, transform .2s;
}
.quote-link:hover { border-color: var(--confession); transform: translateY(-2px); }
.quote blockquote { margin: 0; }
.quote-lead .quote-link {
	position: relative; padding: 40px 36px 32px; overflow: hidden;
	background: linear-gradient(160deg, rgba(180, 168, 255, .14), var(--surface) 55%);
	border-color: rgba(180, 168, 255, .35);
}
.quote-mark { position: absolute; top: -18px; right: 22px; font: 700 180px/1 var(--serif); color: var(--confession); opacity: .25; pointer-events: none; }
.quote-lead .quote-title { font: 700 clamp(26px, 3vw, 34px)/1.25 var(--serif); color: var(--text); margin: 0 0 16px; }
.quote-lead .quote-link { justify-content: center; }
.quote-lead .quote-text { font: italic 400 clamp(20px, 2.2vw, 24px)/1.65 var(--serif); color: var(--body); margin: 0 0 28px; }
.quote.quote-lead figcaption { margin-top: 0; }
.quote-list { display: grid; gap: 14px; }
.quote-sm .quote-link { padding: 20px 22px; border-left: 3px solid var(--confession); }
.quote-sm .quote-text { font: italic 400 18.5px/1.6 var(--serif); color: var(--body); margin: 0 0 12px; }
.quote figcaption { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 14px; color: var(--faint); margin-top: auto; }
.q-who { color: var(--text); font-weight: 600; }
.q-who::before { content: "\2014\00a0"; color: var(--confession); }
.quote-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--confession); font-weight: 600; font-size: 15px; }

/* Archive */
.archive-hero { padding: 56px 0 30px; text-align: center; }
.archive-hero .wrap { max-width: 760px; }
.archive-icon { font-size: 56px; line-height: 1; margin-bottom: 14px; }
.archive-title { font-size: clamp(34px, 5vw, 54px); }
.archive-desc { color: var(--body); font-size: 19px; margin: 0 auto 22px; max-width: 560px; }
.crumb { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); margin-bottom: 18px; font-size: 15px; }
.sub-cats { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.adult-note { color: #ffd6d6; background: rgba(255, 122, 122, .1); border: 1px solid rgba(255, 122, 122, .4); display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-size: 15px; }

/* Single */
.secret { padding-top: 50px; }
.secret-title { font-size: clamp(32px, 5vw, 50px); margin: 8px 0 14px; }
.secret-meta { color: var(--faint); display: flex; align-items: center; gap: 8px; font-size: 15px; }
.secret-media { margin: 28px 0 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.secret-content { font-size: 19px; line-height: 1.85; margin: 32px 0; color: var(--body); }
.secret-content p:first-child::first-letter { font-family: var(--serif); font-weight: 700; font-size: 3.3em; float: left; line-height: .85; padding: 6px 12px 0 0; color: var(--accent); }
.reactions { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 18px; }
.reaction {
	display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px;
	background: var(--surface); border: 1px solid var(--line); color: var(--text); cursor: pointer; font: 500 15px var(--sans);
	transition: transform .15s, border-color .2s, background .2s;
}
.reaction:hover { border-color: var(--muted); }
.reaction.is-on { background: var(--accent-soft); border-color: var(--accent); }
.reaction.pop { animation: pop .35s ease; }
.r-icon { display: inline-flex; font-size: 18px; color: var(--gold); }
.reaction.is-on .r-icon { color: var(--accent); }
.r-count { color: var(--muted); font-variant-numeric: tabular-nums; }
@keyframes pop { 50% { transform: scale(1.15); } }
.share-links { display: flex; gap: 8px; flex-wrap: wrap; padding: 18px 0 34px; border-bottom: 1px solid var(--line); }
.btn-report { margin-left: auto; color: var(--faint); }
.btn-report:hover { color: var(--adult); border-color: var(--adult); }

/* Comments */
.comments-wrap { padding-top: 34px; padding-bottom: 20px; }
.comments-title { font-size: 26px; }
.comment-respond { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 28px; }
.comment-reply-title { font: 600 18px var(--sans); margin: 0 0 6px; }
.comment-reply-title small { margin-left: 10px; font-size: 13px; }
.comment-notes { color: var(--faint); font-size: 14px; margin: 0 0 14px; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { margin-left: 22px; border-left: 2px solid var(--line); padding-left: 18px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-head { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.comment-mask { display: inline-flex; color: var(--gold); }
.comment-head time { color: var(--faint); font-size: 14px; }
.comment-text { color: var(--body); margin-top: 6px; font-size: 17px; line-height: 1.7; }
.comment-text p { margin: 0 0 8px; }
.comment-awaiting { color: var(--gold); font-size: 14px; margin: 6px 0 0; }
.comment-reply a { font-size: 14px; color: var(--muted); }
.form-submit { margin: 10px 0 0; }

/* Forms */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); margin-bottom: 70px; }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label, legend { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; color: var(--text); }
.opt { color: var(--faint); font-weight: 400; }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], textarea, select {
	width: 100%; background: var(--bg-soft); color: var(--text); border: 1px solid var(--line);
	border-radius: var(--radius-sm); padding: 13px 15px; font: 17px/1.6 var(--sans);
	transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 120px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
select optgroup { background: var(--surface); color: var(--gold); }
select option { color: var(--text); background: var(--surface); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.counter { text-align: right; color: var(--faint); font-size: 14px; margin-top: 4px; }
.help { color: var(--faint); font-size: 14px; line-height: 1.55; margin: 8px 0 0; }
.center { text-align: center; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--body); margin-bottom: 18px; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }

.type-picker { border: 0; padding: 0; margin: 0 0 22px; }
.type-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.type-option { margin: 0; cursor: pointer; }
.type-option input { position: absolute; opacity: 0; }
.type-card { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-soft); transition: .2s; }
.type-icon { display: inline-flex; font-size: 24px; color: var(--gold); }
.type-option input:checked + .type-card .type-icon { color: var(--accent); }
.type-label { font-weight: 600; color: var(--text); }
.type-hint { color: var(--muted); font-weight: 400; font-size: 14px; line-height: 1.45; }
.type-option input:checked + .type-card { border-color: var(--accent); background: var(--accent-soft); }
.type-option input:focus-visible + .type-card { outline: 2px solid var(--gold); }

.dropzone {
	position: relative; display: flex; align-items: center; justify-content: center; min-height: 130px;
	border: 1.5px dashed var(--line); border-radius: 14px; background: var(--bg-soft); cursor: pointer; overflow: hidden; font-weight: 500; color: var(--muted);
}
.dz-empty { display: inline-flex; align-items: center; gap: 8px;
}
.dropzone:hover { border-color: var(--muted); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dz-preview { max-height: 320px; width: 100%; object-fit: contain; }
.js-clear-image { margin-top: 10px; }

.expose-warning, .adult-warning { padding: 14px 16px; border-radius: 12px; font-size: 15px; margin-bottom: 20px; line-height: 1.6; }
.expose-warning .icon, .adult-warning .icon { vertical-align: -0.2em; }
.expose-warning { background: rgba(255, 164, 99, .1); border: 1px solid rgba(255, 164, 99, .45); color: #ffe0c7; }
.adult-warning { background: rgba(255, 122, 122, .1); border: 1px solid rgba(255, 122, 122, .45); color: #ffd6d6; }

.notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 22px; font-size: 16px; }
.notice-success { background: rgba(111, 224, 211, .1); border: 1px solid rgba(111, 224, 211, .45); color: #d6f7f3; }
.notice-error { background: rgba(255, 122, 122, .1); border: 1px solid rgba(255, 122, 122, .45); color: #ffd6d6; }

/* Pages */
.page-article, .share-page, .contact-page { padding-top: 56px; }
.page-head { margin-bottom: 26px; }
.page-title { font-size: clamp(34px, 5vw, 52px); }
.lead { color: var(--body); font-size: 19px; }
.entry-content { font-size: 18px; line-height: 1.8; color: var(--body); }
.entry-content h2 { font-size: 28px; margin-top: 1.6em; color: var(--text); }
.entry-content blockquote { margin: 1.5em 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--accent); font: italic 500 22px/1.55 var(--serif); color: var(--text); }
.entry-content ul { padding-left: 1.2em; }
.entry-content li { margin-bottom: .5em; }
.entry-content strong { color: var(--text); }
.page-article { padding-bottom: 80px; }

/* Related & CTA */
.related { padding-top: 40px; padding-bottom: 20px; }
.cta-band { text-align: center; padding: 60px 20px 80px; }
.cta-band h2 { font-size: 34px; }
.cta-band p { color: var(--body); margin-bottom: 24px; font-size: 18px; }

/* Empty */
.empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-icon { font-size: 44px; margin-bottom: 12px; color: var(--gold); display: flex; justify-content: center; }
.empty p { color: var(--body); }
.not-found { padding-top: 70px; padding-bottom: 80px; }

/* Pagination */
.pagination { margin-top: 34px; }
.nav-links { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.page-numbers.current { background: var(--text); color: var(--bg); border-color: var(--text); }
a.page-numbers:hover { color: var(--text); text-decoration: none; border-color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding-top: 50px; margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-about p { color: var(--body); max-width: 380px; }
.footer-title { font: 600 14px var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--gold); }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: 10px; color: var(--muted); font-size: 16px; }
.footer-menu a { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 14px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; padding-bottom: 30px; }

/* Age gate */
.age-gate { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(8, 6, 12, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.age-gate-card { max-width: 440px; text-align: center; background: var(--surface); border: 1px solid rgba(255, 122, 122, .45); border-radius: 24px; padding: 36px 30px; box-shadow: var(--shadow); }
.age-gate-icon { font-size: 46px; color: var(--adult); display: flex; justify-content: center; margin-bottom: 8px; }
.age-gate-card p { color: var(--body); }
.age-gate-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; z-index: 300; transition: .3s; max-width: calc(100% - 40px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* WordPress core classes */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, .gallery-caption { color: var(--faint); font-size: 14px; }
.bypostauthor, .sticky { }

/* Responsive */
@media (max-width: 960px) {
	.nav-toggle { display: block; }
	.primary-nav {
		position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch; gap: 14px;
		background: var(--bg); border-bottom: 1px solid var(--line); padding: 20px; display: none;
	}
	.nav-open .primary-nav { display: flex; }
	.primary-nav .menu { flex-direction: column; }
	.primary-nav .menu a { display: block; padding: 12px; }
	.header-search input { width: 100%; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	body { font-size: 17px; line-height: 1.7; }
	.hero { padding: 54px 0 34px; }
	.hero-actions .btn { width: 100%; }
	.grid { grid-template-columns: 1fr; }
	.cat-grid { grid-template-columns: repeat(2, 1fr); }
	.type-options { grid-template-columns: 1fr; }
	.type-card { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
	.type-hint { flex-basis: 100%; }
	.field-row { grid-template-columns: 1fr; }
	.form-card { padding: 20px; border-radius: 18px; }
	.secret-content { font-size: 18px; line-height: 1.85; }
	.card-excerpt { font-size: 17px; }
	.card-title { font-size: 22px; }
	.confessions-grid { grid-template-columns: 1fr; }
	.quote-lead .quote-title { font-size: 26px; }
	.quote-lead .quote-text { font-size: 19px; }
	.feed-filters { flex-direction: column; align-items: stretch; }
	.tabs { overflow-x: auto; flex-wrap: nowrap; }
	.tab { white-space: nowrap; }
	.footer-grid { grid-template-columns: 1fr; }
	.btn-report { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
