/*
Theme Name: Charming
Theme URI: https://example.com/charming
Author: Charming
Author URI: https://example.com
Description: Standalone escort directory theme, child of BlankSlate. Warm, soft, boutique light design with rounded cards and a blush-rose accent. Categories are areas, posts are girls shown as composite cards 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: charming
Tags: one-column, custom-menu, featured-images, translation-ready
*/

:root {
	--ink:        #fff9f6;
	--ink-2:      #fff1ec;
	--surface:    rgba(214, 116, 140, .05);
	--surface-2:  #ffffff;
	--line:       rgba(214, 116, 140, .22);
	--line-gold:  rgba(214, 116, 140, .45);

	--text:       #3a2328;
	--text-dim:   #8a6b6f;
	--text-faint: #c3a7ab;

	--gold:       #d6748c;
	--gold-deep:  #b85268;
	--gold-soft:  rgba(214, 116, 140, .12);

	--secondary:      #cd9a4a;
	--secondary-deep: #a3792f;

	--tg:         #2aabee;

	--display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans:    "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

	--shell:  1320px;
	--radius: 26px;
	--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-deep); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--gold); }

strong, b { font-weight: 600; }

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

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

h1, h2, h3, h4 {
	font-family: var(--display);
	font-weight: 600;
	font-style: italic;
	line-height: 1.15;
	color: var(--text);
	margin: 0;
}
.category-top-content {margin:10px 0 32px;}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.35rem); }

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(56px, 8vw, 100px) 0; }
.section--tight { padding-block: clamp(36px, 5vw, 56px); }
.section--line { border-block: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: .4em; }

.kicker {
	display: inline-flex;
	align-items: center;
	gap: .7em;
	font-family: var(--sans);
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--gold-deep);
	margin-bottom: 1em;
}

.kicker::before { content: "\2764"; font-size: .8em; }
.kicker--center::before { display: none; }

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

.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: .82rem;
	font-weight: 600;
	letter-spacing: .02em;
	padding: 1em 2.1em;
	border: 1px solid var(--gold);
	border-radius: 999px;
	cursor: pointer;
	transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}

.btn--primary { background: var(--gold); color: #fff; box-shadow: 0 10px 24px -8px rgba(214, 116, 140, .55); }
.btn--primary:hover { background: var(--gold-deep); color: #fff; }

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

.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(255, 249, 246, .9);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}

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

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

.brand__dot { width: 6px; height: 6px; 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(20px, 3vw, 40px); list-style: none; margin: 0; padding: 0; }
.masthead__nav > ul.menu > li { position: relative; }
.masthead__nav a { font-size: .82rem; font-weight: 600; color: var(--text-dim); }
.masthead__nav a:hover { color: var(--gold-deep); }

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

.masthead__nav ul.sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	list-style: none;
	margin: 10px 0 0;
	padding: 10px;
	min-width: 200px;
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: 18px;
	box-shadow: 0 18px 40px -16px rgba(58, 35, 40, .22);
	display: flex;
	flex-direction: column;
	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: .65em 1em;
	border-radius: 12px;
	white-space: nowrap;
}

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

.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: 2px; border-radius: 2px; background: var(--text); }

.drawer {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(320px, 86vw);
	background: var(--surface-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); }

.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); }

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

.hero {
	position: relative;
	padding: 30px 80px;
	text-align: center;
}

.hero .shell { max-width: 800px; }
.hero .lede { max-width: 56ch; margin: .9em auto 0; }

.chips {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

@media (max-width: 1000px) { .chips { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .chips { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .chips { grid-template-columns: 1fr; } }

.chip {
	display: flex;
	flex-direction: column;
	gap: .3em;
	padding: 1.3em 1.4em;
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: 20px;
	box-shadow: 0 14px 30px -18px rgba(58, 35, 40, .25);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.chip:hover {
	transform: translateY(-3px);
	border-color: var(--gold);
	box-shadow: 0 20px 36px -16px rgba(214, 116, 140, .4);
}

.chip__name { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 1.2rem; color: var(--text); }
.chip__count { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); }

.wall, .stack {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(14px, 2vw, 22px);
}

@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(--surface-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 18px 36px -22px rgba(58, 35, 40, .3);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.poster:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 44px -18px rgba(214, 116, 140, .35);
}

.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.03); }
.poster__media--resting img { filter: grayscale(85%) brightness(.65); }

.poster__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	background: #fff;
	color: var(--secondary-deep);
	font-size: .62rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: .5em .9em;
	border-radius: 999px;
	box-shadow: 0 8px 18px -8px rgba(58, 35, 40, .3);
}

.poster__content {
	position: relative;
	padding: clamp(18px, 2.2vw, 24px);
}

.poster__name { font-size: clamp(1.1rem, 1.7vw, 1.35rem); margin-bottom: .2em; }

.poster__area {
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--gold-deep);
	margin-bottom: .8em;
}

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

.poster__tags span {
	font-size: .66rem;
	font-weight: 600;
	color: var(--text-dim);
	background: var(--gold-soft);
	border-radius: 999px;
	padding: .35em .85em;
}

.poster__tabs {
	display: flex;
	gap: 8px;
	margin-top: .6em;
}

.poster__tab {
	flex: 1;
	padding: .7em 1em;
	border: 1px solid var(--line-gold);
	border-radius: 999px;
	background: transparent;
	font-family: var(--sans);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-align: center;
	color: var(--gold-deep);
	cursor: pointer;
	transition: background .25s, color .25s;
}

.poster__tab:hover { background: var(--gold-soft); }

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

.poster__panel {
	margin-top: 14px;
	font-size: .86rem;
	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-deep); }

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

.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

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

.step {
	padding: clamp(26px, 3vw, 34px);
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: 22px;
	box-shadow: 0 14px 30px -20px rgba(58, 35, 40, .25);
}

.step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2em;
	height: 2em;
	border-radius: 50%;
	background: var(--gold);
	color: #fff;
	font-family: var(--display);
	font-style: italic;
	font-weight: 700;
	margin-bottom: .6em;
}

.step h3 { margin-bottom: .4em; }
.step p { color: var(--text-dim); font-size: .92rem; }

.trust {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

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

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

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

.faq {
	max-width: 880px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.faq__item {
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 0 1.4em;
}

.faq__item summary {
	padding: 1.1em 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-deep);
	font-family: var(--sans);
	font-weight: 700;
}

.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: 20px;
}

@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(--surface-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 18px 36px -22px rgba(58, 35, 40, .3);
}

.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.03); }

.article-card__body { padding: clamp(18px, 2.2vw, 24px); flex: 1; display: flex; flex-direction: column; }
.article-card__date { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep); 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-deep); }
.article-card__excerpt { color: var(--text-dim); font-size: .9rem; flex: 1; }

.article { max-width: 760px; margin-inline: auto; }
.article__meta { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1em; text-align: center; }
.article__media { margin: clamp(24px, 3vw, 40px) 0; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius); }
.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-deep); font-family: var(--display); font-style: italic; font-weight: 700; }

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

.hn-fab__toggle {
	display: flex;
	align-items: center;
	gap: .6em;
	height: 56px;
	padding: 0 1.3em;
	border: 1px solid var(--gold);
	border-radius: 999px;
	background: var(--gold);
	color: #fff;
	box-shadow: 0 16px 34px -12px rgba(214, 116, 140, .6);
	transition: background .3s var(--ease);
}

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

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

.hn-fab__toggle span {
	font-family: var(--sans);
	font-size: .78rem;
	font-weight: 700;
	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; }
.foot-grid h4 { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1.1em; }
.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: .92rem; }
.foot-grid ul a:hover { color: var(--gold-deep); }

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

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