/*
Theme Name: Cherry
Theme URI: https://example.com/cherry
Author: Cherry
Author URI: https://example.com
Description: Standalone escort directory theme, child of BlankSlate. Editorial, catalogue-style dark design with a champagne-gold accent. Categories are areas, posts are girls shown as framed catalogue entries with no single-post page. Telegram link, price content and services content are all set from the Theme Options page. One post per area automatically flips to a dimmed "resting" state every 5 days.
Template: blankslate
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: cherry
Tags: one-column, custom-menu, featured-images, translation-ready
*/

:root {
	--ink:        #111113;
	--ink-2:      #18181b;
	--surface:    rgba(255, 255, 255, .03);
	--surface-2:  #1c1c1f;
	--line:       rgba(201, 171, 85, .22);
	--line-gold:  rgba(201, 171, 85, .5);

	--text:       #f3f1ec;
	--text-dim:   #a9a7a1;
	--text-faint: #6c6a65;

	--gold:       #c9ab55;
	--gold-deep:  #a3883f;
	--gold-soft:  rgba(201, 171, 85, .12);

	--secondary:      #8a8680;
	--secondary-deep: #5f5c57;

	--tg:         #2aabee;

	--display: "Bodoni Moda", Georgia, "Times New Roman", serif;
	--sans:    "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

	--shell:  1360px;
	--radius: 2px;
	--ease:   cubic-bezier(.22, 1, .36, 1);
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	background: var(--ink);
	color: var(--text);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.nav-open { overflow: hidden; }
#wrapper { position: relative; z-index: 1; }

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--text); }

strong, b { font-weight: 600; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
	outline: 1px solid var(--gold);
	outline-offset: 3px;
}

h1, h2, h3, h4 {
	font-family: var(--display);
	font-weight: 500;
	font-style: italic;
	line-height: 1.12;
	color: var(--text);
	margin: 0;
}

h1 { font-size: clamp(2.6rem, 6.2vw, 4.4rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-style: normal; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.shell {
	width: 90%;
	max-width: var(--shell);
	margin-inline: auto;
}

.section { position: relative; padding: clamp(60px, 9vw, 110px) 0; }
.section--tight { padding-block: clamp(40px, 5vw, 60px); }
.section--line { border-block: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: clamp(32px, 4.4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: .45em; }

.kicker {
	display: inline-flex;
	align-items: center;
	gap: .8em;
	font-family: var(--sans);
	font-size: .68rem;
	font-weight: 500;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 1.1em;
}

.kicker::before { content: ""; width: 24px; height: 1px; background: var(--gold); }
.kicker--center::before { display: none; }

.lede { font-size: clamp(1rem, 1.3vw, 1.1rem); color: var(--text-dim); font-weight: 300; }

.rule {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 0;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	font-family: var(--sans);
	font-size: .76rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	padding: 1em 2.2em;
	border: 1px solid var(--gold);
	border-radius: var(--radius);
	cursor: pointer;
	transition: background .3s var(--ease), color .3s var(--ease);
}

.btn--primary { background: var(--gold); color: var(--ink); }
.btn--primary:hover { background: var(--gold-deep); color: var(--ink); }

.btn--ghost { background: transparent; color: var(--gold); }
.btn--ghost:hover { background: var(--gold); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(20px, 3vw, 32px); }

.header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(17, 17, 19, .92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}

.masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; }

#branding a.brand {
	display: inline-flex;
	align-items: baseline;
	gap: .5em;
	font-family: var(--display);
	font-style: italic;
	font-weight: 600;
	font-size: 1.4rem;
	letter-spacing: .02em;
	color: var(--text);
}

.brand__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); align-self: center; }
.custom-logo-link { display: block; max-width: min(160px, 45vw); }

.masthead__nav { display: flex; flex: 1; justify-content: center; }
.masthead__nav ul.menu { display: flex; gap: clamp(22px, 3vw, 44px); list-style: none; margin: 0; padding: 0; }
.masthead__nav > ul.menu > li { position: relative; }
.masthead__nav a { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); }
.masthead__nav a:hover { color: var(--gold); }

.masthead__nav .menu-item-has-children > a::after { content: ""; display: inline-block; margin-left: .5em; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }

.masthead__nav ul.sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	list-style: none;
	margin: 0;
	padding: 14px 0;
	min-width: 200px;
	background: var(--ink-2);
	border: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	gap: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s var(--ease);
	z-index: 10;
}

.masthead__nav li:hover > ul.sub-menu,
.masthead__nav li:focus-within > ul.sub-menu,
.masthead__nav li.is-open > ul.sub-menu {
	opacity: 1;
	visibility: visible;
}

.masthead__nav ul.sub-menu a {
	display: block;
	padding: .7em 1.4em;
	letter-spacing: .08em;
	white-space: nowrap;
}

.masthead__nav ul.sub-menu a:hover { background: var(--gold-soft); }

.drawer ul.sub-menu {
	list-style: none;
	margin: 10px 0 0 18px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.drawer ul.sub-menu a { font-size: 1rem; color: var(--text-dim); }

.masthead__cta { flex: none; }

.burger { display: none; flex-direction: column; gap: 5px; width: 24px; background: none; border: 0; cursor: pointer; padding: 0; }
.burger span { display: block; height: 1px; background: var(--text); }

.drawer {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(320px, 86vw);
	background: var(--ink-2);
	border-left: 1px solid var(--line);
	padding: 100px 34px 34px;
	transform: translateX(100%);
	transition: transform .4s var(--ease);
	z-index: 50;
	overflow-y: auto;
}

.drawer.is-open { transform: translateX(0); }
.drawer ul.menu { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.drawer a { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 1.2rem; color: var(--text); }

@media (max-width: 900px) {
	.masthead__nav, .masthead__cta { display: none; }
	.burger { display: flex; }
}

.hero {
	position: relative;
	padding: clamp(80px, 10vw, 130px) 0 clamp(60px, 8vw, 100px);
	text-align: center;
	border-bottom: 1px solid var(--line);
}

.hero .shell { max-width: 820px; }
.hero .lede { max-width: 56ch; margin: .9em auto 0; }
.hero h1 { font-style: italic; }

.index {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--line);
}

.index__row {
	display: flex;
	align-items: baseline;
	gap: clamp(16px, 3vw, 36px);
	padding: clamp(18px, 2.4vw, 26px) 0;
	border-bottom: 1px solid var(--line);
	color: var(--text);
	transition: background .3s var(--ease), padding-left .3s var(--ease);
}

.index__row:hover {
	background: var(--gold-soft);
	padding-left: 14px;
}

.index__num {
	font-family: var(--display);
	font-style: italic;
	font-size: .95rem;
	color: var(--gold);
	flex: none;
	width: 2.4em;
}

.index__name {
	font-family: var(--display);
	font-style: italic;
	font-size: clamp(1.2rem, 2.4vw, 1.7rem);
	flex: 1;
}

.index__count {
	font-size: .68rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--text-faint);
	flex: none;
}

.wall, .stack {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(1px, .2vw, 2px);
	background: var(--line);
	border: 1px solid var(--line);
}

@media (max-width: 1100px) { .wall, .stack { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .wall, .stack { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .wall, .stack { grid-template-columns: 1fr; } }

.poster {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--ink);
}

.poster__media {
	position: relative;
	aspect-ratio: 3/4;
	overflow: hidden;
}

.poster__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s var(--ease), filter .4s var(--ease);
}

.poster:hover .poster__media img { transform: scale(1.025); }
.poster__media--resting img { filter: grayscale(90%) brightness(.5); }

.poster__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	background: var(--ink);
	border: 1px solid var(--secondary);
	color: var(--text-dim);
	font-size: .6rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	padding: .5em .9em;
}

.poster__content {
	position: relative;
	padding: clamp(16px, 2vw, 22px);
	border-top: 1px solid var(--line);
}

.poster__name { font-family: var(--display); font-style: italic; font-size: clamp(1.05rem, 1.7vw, 1.3rem); margin-bottom: .2em; }

.poster__area {
	font-size: .66rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: .8em;
}

.poster__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 1em;
}

.poster__tags span {
	font-size: .62rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--text-dim);
	border: 1px solid var(--line);
	padding: .3em .75em;
}

.poster__tabs {
	display: flex;
	gap: 0;
	margin-top: .6em;
	border: 1px solid var(--line-gold);
}

.poster__tab {
	flex: 1;
	padding: .7em 1em;
	border: 0;
	border-right: 1px solid var(--line-gold);
	background: transparent;
	font-family: var(--sans);
	font-size: .66rem;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-align: center;
	color: var(--gold);
	cursor: pointer;
	transition: background .25s, color .25s;
}

.poster__tab:last-child { border-right: 0; }
.poster__tab:hover { background: var(--gold-soft); }

.poster__tab[aria-selected="true"] {
	background: var(--gold);
	color: var(--ink);
}

.poster__panel {
	margin-top: 14px;
	font-size: .82rem;
	line-height: 1.6;
	color: var(--text-dim);
}

.poster__panel[hidden] { display: none; }

.poster__panel > * + * { margin-top: .6em; }
.poster__panel b, .poster__panel strong { color: var(--gold); }

.poster__panel table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.poster__panel table th, .poster__panel table td {
	padding: 7px 4px;
	text-align: left;
	border-bottom: 1px solid var(--line);
}
.poster__panel table th { color: var(--gold); font-weight: 600; }

.states {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(28px, 4vw, 54px);
}

@media (max-width: 760px) { .states { grid-template-columns: 1fr; } }

.states h3 { font-style: italic; margin-bottom: .5em; }
.states p { color: var(--text-dim); }

.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border: 1px solid var(--line);
}

@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.step {
	padding: clamp(26px, 3vw, 36px);
	border-left: 1px solid var(--line);
}

.step:first-child { border-left: 0; }

@media (max-width: 760px) {
	.step { border-left: 0; border-top: 1px solid var(--line); }
	.step:first-child { border-top: 0; }
}

.step__num { display: block; font-family: var(--display); font-style: italic; font-size: 1.6rem; color: var(--gold); margin-bottom: .5em; }
.step h3 { margin-bottom: .4em; }
.step p { color: var(--text-dim); font-size: .92rem; }

.trust {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 1px solid var(--line);
}

@media (max-width: 760px) { .trust { grid-template-columns: repeat(2, 1fr); } }

.trust__item {
	padding: clamp(20px, 2.6vw, 28px);
	text-align: center;
	border-left: 1px solid var(--line);
}

.trust__item:first-child { border-left: 0; }

@media (max-width: 760px) {
	.trust__item:nth-child(2n+1) { border-left: 0; }
	.trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

.trust__item strong { display: block; font-family: var(--display); font-style: italic; font-size: 1.1rem; margin-bottom: .3em; }
.trust__item span { font-size: .78rem; color: var(--text-dim); }

.faq {
	border-top: 1px solid var(--line);
	max-width: 880px;
	margin-inline: auto;
}

.faq__item { border-bottom: 1px solid var(--line); }

.faq__item summary {
	padding: 1.2em 0;
	font-family: var(--display);
	font-style: italic;
	font-size: 1.05rem;
	color: var(--text);
	cursor: pointer;
	list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
	content: "+";
	float: right;
	color: var(--gold);
	font-family: var(--sans);
}

.faq__item[open] summary::after { content: "\2212"; }

.faq__item p { color: var(--text-dim); padding-bottom: 1.2em; max-width: 68ch; }

.articles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1px, .2vw, 2px);
	background: var(--line);
	border: 1px solid var(--line);
}

@media (max-width: 1100px) { .articles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .articles { grid-template-columns: 1fr; } }

.article-card {
	display: flex;
	flex-direction: column;
	background: var(--ink);
}

.article-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.025); }

.article-card__body { padding: clamp(18px, 2.2vw, 26px); border-top: 1px solid var(--line); flex: 1; display: flex; flex-direction: column; }
.article-card__date { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .6em; }
.article-card__title { font-size: clamp(1.1rem, 1.7vw, 1.3rem); margin-bottom: .5em; }
.article-card__title a { color: var(--text); }
.article-card__title a:hover { color: var(--gold); }
.article-card__excerpt { color: var(--text-dim); font-size: .88rem; flex: 1; }

.article {
	max-width: 760px;
	margin-inline: auto;
}

.article__meta { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1em; text-align: center; }
.article__media { margin: clamp(24px, 3vw, 40px) 0; aspect-ratio: 16/9; overflow: hidden; }
.article__media img { width: 100%; height: 100%; object-fit: cover; }

.rich > * + * { margin-top: 1.2em; }
.rich h2, .rich h3 { margin-top: 1.6em; }
.rich table { width: 100%; border-collapse: collapse; }
.rich table th, .rich table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.rich table th { color: var(--gold); font-family: var(--display); font-style: italic; font-weight: 600; letter-spacing: .02em; }

.hn-fab {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 45;
}

.hn-fab__toggle {
	display: flex;
	align-items: center;
	gap: .6em;
	height: 54px;
	padding: 0 1.3em;
	border: 1px solid var(--gold);
	background: var(--gold);
	color: var(--ink);
	box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .7);
	transition: background .3s var(--ease), color .3s var(--ease);
}

.hn-fab__toggle:hover { background: var(--gold-deep); color: var(--ink); }

.hn-fab__toggle svg { width: 20px; height: 20px; flex: none; }

.hn-fab__toggle span {
	font-family: var(--sans);
	font-size: .76rem;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.foot-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: clamp(28px, 4vw, 54px);
	padding-block: clamp(48px, 6vw, 76px);
}

.foot-brand p { color: var(--text-dim); font-size: .92rem; max-width: 42ch; margin-top: 1em; font-weight: 300; }
.foot-grid h4 { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2em; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid ul li { margin-bottom: .7em; }
.foot-grid ul a { color: var(--text-dim); font-size: .9rem; }
.foot-grid ul a:hover { color: var(--gold); }

#copyright {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	padding-block: 22px;
	border-top: 1px solid var(--line);
	font-size: .74rem;
	color: var(--text-faint);
}

@media (max-width: 900px) {
	.foot-grid { grid-template-columns: 1fr; }
}