/*
Theme Name: ATI
Theme URI: https://teatruindependent.ro
Author: Asociația Teatrelor Independente
Description: Tema oficială a Asociației Teatrelor Independente, construită pe identitatea vizuală ATI: patru culori la intensitate maximă, Manrope, compoziții în unghi drept. Include evenimente, comunicate, membri, conducere, harta teatrului independent și formulare.
Version: 1.0.1
Requires at least: 6.4
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: ati
*/

/* Compoziția de bază: fiecare secțiune importantă = un câmp de culoare lângă o fotografie alb-negru
   sau lângă simbolul ATI pe negru, cam 50/50, ca pe copertele de eveniment. Pe telefon se suprapun. */

@font-face { font-family: "Manrope"; src: url("assets/fonts/Manrope-Light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/Manrope-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/Manrope-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/Manrope-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/Manrope-ExtraBold.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
	/* Paleta oficială, în ordinea din manual */
	--geraldine: #fb8c8b;
	--night-rider: #070404;
	--portica: #fbe364;
	--lotus: #7e3a3c;
	--white: #ffffff;
	--line-soft: rgba(7, 4, 4, 0.16);

	--font: Manrope, Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	--track: -0.04em;
	--track-date: -0.055em;

	--content: 760px;
	--wide: 1240px;
	--gutter: clamp(20px, 5vw, 64px);
	--section-y: clamp(56px, 8vw, 112px);
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
	margin: 0;
	background: var(--white);
	color: var(--night-rider);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--night-rider); outline-offset: 3px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--geraldine); }
.bw { filter: grayscale(1); }
[hidden] { display: none !important; }

.skip {
	position: absolute; left: 16px; top: -100px; z-index: 50;
	background: var(--night-rider); color: var(--white);
	padding: 12px 18px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.wrap {
	width: 100%;
	max-width: calc(var(--wide) + 2 * var(--gutter));
	margin-inline: auto;
	padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
	padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- Tipografie ---------- */
.display { font-weight: 700; font-size: clamp(38px, 5.4vw, 74px); line-height: 1.04; letter-spacing: var(--track); text-wrap: balance; overflow-wrap: break-word; }
.h2, .entry > h2 { font-weight: 700; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; letter-spacing: var(--track); text-wrap: balance; }
.h3, .entry > h3 { font-weight: 700; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.22; letter-spacing: var(--track); }
.entry > h4 { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.date { font-weight: 800; font-size: clamp(60px, 9vw, 126px); line-height: 0.93; letter-spacing: var(--track-date); font-variant-numeric: tabular-nums; }
.lead { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.45; letter-spacing: -0.01em; max-width: 34em; }
.eyebrow { font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.venue { font-weight: 600; font-size: clamp(18px, 1.55vw, 24px); line-height: 1.3; letter-spacing: var(--track); }
.detail { font-weight: 400; font-size: clamp(18px, 1.55vw, 24px); line-height: 1.3; letter-spacing: var(--track); }
.org { font-weight: 300; }
.soon { font-weight: 600; font-size: 16px; }

/* ---------- Butoane și linkuri ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.btn, .wp-block-button__link, .wp-element-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 14px 26px;
	background: var(--night-rider); color: var(--white);
	font: inherit; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; line-height: 1.2;
	text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
}
.btn:hover, .wp-block-button__link:hover { background: var(--lotus); color: var(--white); }
.on-dark .btn { background: var(--white); color: var(--night-rider); }
.on-dark .btn:hover { background: var(--portica); color: var(--night-rider); }
.f-lotus .btn:hover { background: var(--portica); }
.link-arrow { font-weight: 700; }
.link-arrow::after { content: " →"; }

/* ---------- Antet ---------- */
.site-header { position: relative; z-index: 20; background: var(--white); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.brand { display: block; flex: none; }
.brand img { width: clamp(108px, 11vw, 140px); height: auto; }
.nav ul { display: flex; gap: clamp(16px, 2vw, 32px); align-items: center; margin: 0; padding: 0; list-style: none; }
.nav a { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; text-decoration: none; padding-block: 8px; display: inline-block; }
.nav a:hover, .nav .current-menu-item > a, .nav .current_page_item > a, .nav .current_page_parent > a { text-decoration: underline; }
.nav .nav-cta, .nav .buton > a { background: var(--night-rider); color: var(--white); padding: 12px 18px; }
.nav .nav-cta:hover, .nav .buton > a:hover { background: var(--lotus); text-decoration: none; }
.menu-toggle {
	display: none; font: inherit; font-weight: 700; font-size: 16px;
	background: var(--night-rider); color: var(--white);
	border: 0; border-radius: 0; padding: 12px 16px; min-height: 48px; cursor: pointer;
}
@media (max-width: 960px) {
	.menu-toggle { display: inline-block; }
	.nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--white);
		padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 28px max(var(--gutter), env(safe-area-inset-left, 0px));
		box-shadow: 0 2px 0 var(--night-rider);
	}
	.nav.is-open { display: block; }
	.nav ul { flex-direction: column; align-items: flex-start; gap: 2px; }
	.nav a { font-size: 22px; padding-block: 10px; }
	.nav .nav-cta, .nav .buton > a { margin-top: 12px; }
	.no-js .menu-toggle { display: none; }
	.no-js .nav { display: block; position: static; box-shadow: none; padding: 0; }
	.no-js .site-header__bar { flex-wrap: wrap; }
}

/* ---------- Câmpuri de culoare ---------- */
.f-geraldine { background: var(--geraldine); color: var(--night-rider); }
.f-portica { background: var(--portica); color: var(--night-rider); }
.f-lotus { background: var(--lotus); color: var(--white); }
.f-night { background: var(--night-rider); color: var(--white); }
.f-white { background: var(--white); color: var(--night-rider); }

/* ---------- Split: câmp + fotografie / simbol ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split__field {
	min-width: 0; display: flex; flex-direction: column; justify-content: center;
	padding-block: var(--section-y);
	padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
	padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.split__inner { width: 100%; max-width: 580px; margin-left: auto; display: grid; gap: clamp(20px, 2.4vw, 32px); }
.split__photo { position: relative; min-height: 440px; overflow: hidden; }
.split__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .split__photo { min-height: 380px; }
.page-hero .split__field { padding-block: clamp(48px, 7vw, 96px); }
@media (max-width: 860px) {
	.split { grid-template-columns: 1fr; }
	.split__inner { margin-left: 0; max-width: none; }
	.split__photo, .page-hero .split__photo { min-height: 0; aspect-ratio: 2 / 1; max-height: 50vh; }
	.split__photo:has(> img) { aspect-ratio: 938 / 1005; max-height: 78vh; }
}

/* Simbolul ATI decupat de marginea panoului, în locul fotografiei */
.mark { position: absolute; inset: 0; overflow: hidden; }
.mark--night { background: var(--night-rider); }
.mark--white { background: var(--white); }
.mark--geraldine { background: var(--geraldine); }
.mark--ink-geraldine { color: var(--geraldine); }
.mark--ink-white { color: var(--white); }
.mark--ink-night { color: var(--night-rider); }
.mark__svg { position: absolute; width: auto; display: block; }
.mark--cut-a .mark__svg { height: 92%; left: 16%; top: 50%; transform: translateY(-50%); }
.mark--cut-b .mark__svg { height: 128%; right: -34%; bottom: -30%; }
.mark--cut-c .mark__svg { height: 118%; left: -22%; top: -14%; }

/* ---------- Conținutul din editor ---------- */
.entry { padding-block: var(--section-y); }
.entry:empty { display: none; }
.entry > * { width: min(var(--content), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.entry > .alignwide { width: min(var(--wide), calc(100% - 2 * var(--gutter))); }
.entry > .alignfull, .entry > .band { width: 100%; }
.entry > * + * { margin-top: 1.1em; }
.entry > h2 { margin-top: 2em; }
.entry > h3 { margin-top: 1.6em; }
.entry > h2 + *, .entry > h3 + * { margin-top: 0.8em; }
.entry > .band { margin-top: var(--section-y); margin-bottom: 0; }
.entry > .band + * { margin-top: var(--section-y); }
.entry > .band + .band { margin-top: 0; }
.entry > .band:first-child { margin-top: calc(-1 * var(--section-y)); }
.entry > .band:last-child { margin-bottom: calc(-1 * var(--section-y)); }
.entry > h2:has(+ .alignwide) { width: min(var(--wide), calc(100% - 2 * var(--gutter))); }
.entry > p, .entry > ul, .entry > ol { font-size: 18px; line-height: 1.6; }
.entry > ul, .entry > ol { padding-left: 1.3em; display: grid; gap: 0.45em; }
.entry > ul li::marker { content: "—  "; }
.entry > ol li::marker { font-weight: 800; }
.entry strong { font-weight: 700; }
.entry > .wp-block-columns { gap: clamp(28px, 4vw, 56px); margin-top: 1.6em; margin-bottom: 0; }
.entry .wp-block-column { padding-top: 18px; border-top: 2px solid var(--night-rider); display: grid; gap: 10px; align-content: start; }
.entry .wp-block-column > h3 { font-weight: 700; font-size: clamp(20px, 1.7vw, 25px); letter-spacing: var(--track); line-height: 1.2; }
.entry .wp-block-quote { border: 0; padding: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: var(--track); line-height: 1.3; }
.entry .wp-block-quote cite { display: block; margin-top: 12px; font-size: 16px; font-weight: 400; letter-spacing: 0; font-style: normal; }
.entry .wp-block-separator { border: 0; border-top: 2px solid var(--night-rider); opacity: 1; }
.entry .wp-block-table table { border-collapse: collapse; width: 100%; font-size: 16px; }
.entry .wp-block-table th, .entry .wp-block-table td { border: 1px solid var(--night-rider); padding: 10px 12px; text-align: left; }
.entry .wp-block-table thead { border-bottom: 2px solid var(--night-rider); }
.entry .wp-block-image figcaption { font-size: 14px; margin-top: 8px; }
.entry .wp-block-embed { margin-top: 1.6em; }
.entry > .back, .actions--entry { margin-top: 2.4em; }

/* ---------- Benzi pe toată lățimea ---------- */
.band__inner { padding-block: var(--section-y); }
.band__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.band__head > div { display: grid; gap: 14px; }

/* ---------- Afișul de eveniment ---------- */
.band--poster { background: var(--white); }
.poster .split__inner { gap: clamp(18px, 2.2vw, 30px); }
.poster__venue { display: grid; gap: 2px; }
.poster__title { font-weight: 700; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.15; letter-spacing: var(--track); text-wrap: balance; }
.poster__title a { text-decoration: none; }
.poster__title a:hover { text-decoration: underline; }
.people { display: grid; gap: 2px; font-size: clamp(20px, 2vw, 28px); line-height: 1.3; letter-spacing: var(--track); }
.event-hero .poster .date { font-size: clamp(64px, 9.5vw, 126px); }

.past { list-style: none; padding: 0; margin: clamp(24px, 3vw, 40px) 0 0; display: grid; }
.past__item { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 8px 32px; padding-block: 22px; border-top: 2px solid var(--night-rider); }
.past__date { font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: var(--track-date); font-variant-numeric: tabular-nums; line-height: 1.1; }
.past__body { display: grid; gap: 4px; min-width: 0; }
.past__body a { text-decoration: none; }
.past__body a:hover { text-decoration: underline; }
.past__venue { font-weight: 600; }
@media (max-width: 600px) { .past__item { grid-template-columns: 1fr; } }

/* ---------- Comunicate ---------- */
.news { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.news--full { grid-template-columns: 1fr; gap: 0; }
.news__item { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 2px solid var(--night-rider); }
.news--full .news__item { padding-block: 24px; grid-template-columns: 180px minmax(0, 1fr); column-gap: 32px; }
.news--full .news__item > :not(.news__date) { grid-column: 2; }
.news--full .news__date { grid-row: 1 / span 2; }
.news__date { font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.news a { text-decoration: none; }
.news a:hover { text-decoration: underline; }
@media (max-width: 860px) { .news { grid-template-columns: 1fr; } .news--full .news__item { grid-template-columns: 1fr; } .news--full .news__item > * { grid-column: 1 !important; grid-row: auto !important; } }
.empty { display: grid; gap: 12px; max-width: 40em; }
.pagination, .navigation.pagination { margin-top: 32px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 12px; border: 2px solid var(--night-rider); text-decoration: none; font-weight: 700; }
.page-numbers.current { background: var(--night-rider); color: var(--white); }

/* ---------- Membri și teatre ---------- */
.member-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.3; letter-spacing: var(--track); }
.member-list li { padding-block: 14px; border-top: 1px solid var(--portica); min-width: 0; }
.member-list .org { color: var(--portica); }
@media (max-width: 680px) { .member-list { grid-template-columns: 1fr; } }

.city + .city { margin-top: clamp(48px, 6vw, 80px); }
.city__name { display: flex; align-items: baseline; gap: 14px; font-weight: 800; font-size: clamp(30px, 3.6vw, 48px); letter-spacing: var(--track-date); line-height: 1; margin-bottom: 24px; }
.city__n { font-weight: 300; font-size: 0.6em; letter-spacing: 0; }
.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 40px 28px; }
.card { display: grid; grid-template-rows: auto 1fr; gap: 16px; min-width: 0; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--night-rider); }
.card__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__logo-only { position: absolute; inset: 0; display: grid; place-items: center; padding: 14%; background: var(--white); border: 1px solid var(--line-soft); }
.card__logo-only img { max-height: 100%; width: auto; object-fit: contain; }
.card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line-soft); color: var(--night-rider); }
.card__sym { width: 34%; height: auto; opacity: 0.9; }
.card__logo { position: absolute; left: 12px; bottom: 12px; width: 64px; height: 64px; background: var(--white); padding: 6px; display: grid; place-items: center; }
.card__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.card__body { display: grid; gap: 6px; align-content: start; }
.card__title { font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: var(--track); }
.card__meta { font-weight: 600; font-size: 15px; }
.card__addr { font-size: 15px; }
.card__desc { font-size: 16px; line-height: 1.5; }
.card__links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-weight: 600; font-size: 15px; margin-top: 4px; }
.tag { justify-self: start; background: var(--geraldine); color: var(--night-rider); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 8px; }

/* ---------- Conducere ---------- */
.band--people .h2 { margin-bottom: clamp(28px, 4vw, 48px); }
.people-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(20px, 3vw, 40px); }
.person { display: grid; gap: 4px; align-content: start; }
.person__photo { position: relative; aspect-ratio: 1; overflow: hidden; margin-bottom: 14px; background: var(--night-rider); }
.person__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person__name { font-weight: 700; font-size: 24px; letter-spacing: var(--track); line-height: 1.2; }
.person__role { font-weight: 600; }
.person__org { font-weight: 300; }
@media (max-width: 860px) { .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .people-grid { grid-template-columns: 1fr; } }

/* ---------- Date de contact ---------- */
.facts { display: grid; gap: 0; }
.facts > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 4px 24px; padding-block: 16px; border-top: 2px solid var(--night-rider); }
.facts dt { font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 4px; }
.facts dd { font-weight: 700; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.02em; overflow-wrap: anywhere; }
@media (max-width: 600px) { .facts > div { grid-template-columns: 1fr; } }

/* ---------- Formulare ---------- */
.form-wrap { scroll-margin-top: 24px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; margin-top: 8px; }
.form__field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.form__field--wide { grid-column: 1 / -1; }
.form label { font-weight: 600; font-size: 16px; }
.form .req { color: var(--lotus); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="url"], .form select, .form textarea {
	width: 100%; font: inherit; font-size: 17px; color: var(--night-rider);
	background: var(--white); border: 2px solid var(--night-rider); border-radius: 0;
	padding: 12px 14px; min-height: 52px;
}
.form textarea { resize: vertical; min-height: 150px; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--night-rider) 50%), linear-gradient(135deg, var(--night-rider) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--geraldine); outline-offset: 0; }
.form__check label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.form__check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--night-rider); flex: none; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { padding: 16px 18px; font-weight: 600; margin-bottom: 20px; }
.form-note--ok { background: var(--portica); color: var(--night-rider); }
.form-note--err { background: var(--lotus); color: var(--white); }
@media (max-width: 680px) { .form { grid-template-columns: 1fr; } }

/* ---------- Harta teatrului independent ---------- */
.harta__wrap { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: clamp(28px, 4vw, 64px); padding-block: var(--section-y); align-items: start; }
.harta__canvas { position: relative; width: 100%; max-width: 100%; }
.harta__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.harta__tara { fill: var(--white); stroke: var(--night-rider); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.harta__pin {
	position: absolute; transform: translate(-50%, -50%);
	width: var(--s, 30px); height: var(--s, 30px);
	display: grid; place-items: center; padding: 0;
	background: var(--white); color: var(--night-rider);
	border: 2px solid var(--night-rider); border-radius: 0;
	font: inherit; font-weight: 800; font-size: 13px; line-height: 1; font-variant-numeric: tabular-nums;
	cursor: pointer; transition: transform 0.15s ease, opacity 0.15s ease;
}
.harta__pin.is-membru { background: var(--geraldine); }
.harta__pin:hover { transform: translate(-50%, -50%) scale(1.08); }
.harta__pin.is-active { background: var(--night-rider); color: var(--white); }
.harta__pin.is-empty { opacity: 0.25; pointer-events: none; }
.harta__label {
	position: absolute; left: calc(100% + 6px); top: 50%; transform: translateY(-50%);
	white-space: nowrap; font-weight: 700; font-size: 13px; letter-spacing: -0.01em;
	pointer-events: none;
}
.harta__pin.is-left .harta__label { left: auto; right: calc(100% + 6px); }
.harta__legend { list-style: none; padding: 0; margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; font-weight: 600; align-items: center; }
.harta__legend li { display: flex; align-items: center; gap: 8px; }
.sw { width: 16px; height: 16px; border: 2px solid var(--night-rider); background: var(--white); display: inline-block; }
.sw--membru { background: var(--geraldine); }
.harta__side { display: grid; gap: 24px; }
.harta__count { font-size: clamp(22px, 2vw, 28px); font-weight: 400; letter-spacing: var(--track); line-height: 1.25; }
.harta__count strong { font-weight: 800; }
.filters { display: grid; gap: 20px; }
.filters fieldset { border: 0; padding: 18px 0 0; margin: 0; border-top: 2px solid var(--night-rider); display: grid; gap: 4px; }
.filters legend { font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.filters label { display: flex; gap: 10px; align-items: center; font-weight: 600; padding-block: 4px; cursor: pointer; }
.filters input[type="radio"] { width: 20px; height: 20px; margin: 0; accent-color: var(--night-rider); }
.filters__city { display: grid; gap: 8px; padding-top: 18px; border-top: 2px solid var(--night-rider); }
.filters__city label { font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; padding: 0; }
.filters select { font: inherit; font-weight: 600; padding: 12px 14px; border: 2px solid var(--night-rider); border-radius: 0; background: var(--white); min-height: 50px; }
.link-reset { justify-self: start; background: none; border: 0; padding: 4px 0; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; color: inherit; }
.harta__empty { font-weight: 600; font-size: 20px; }
@media (max-width: 960px) { .harta__wrap { grid-template-columns: 1fr; } }
/* Pe telefon harta e mică: pătrate mai mici, fără nume de orașe (orașul se alege din filtru sau din listă). */
@media (max-width: 600px) {
	.harta__pin { width: calc(var(--s, 30px) * 0.62); height: calc(var(--s, 30px) * 0.62); font-size: 10px; border-width: 1.5px; }
	.harta__label { display: none; }
}

/* ---------- Subsol ---------- */
.site-footer { background: var(--night-rider); color: var(--white); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.footer-logo img, .footer-col > img { width: clamp(160px, 16vw, 220px); height: auto; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col .eyebrow { color: var(--geraldine); margin-bottom: 6px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-big { font-weight: 700; font-size: clamp(18px, 1.45vw, 21px); letter-spacing: var(--track); line-height: 1.25; overflow-wrap: anywhere; }
.footer-social { display: flex; gap: 16px; font-weight: 600; }
.footer-nav ul { list-style: none; padding: 0 0 24px; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 600; }
.footer-nav a { text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px 28px; border-top: 1px solid rgba(255, 255, 255, 0.28); font-size: 14px; color: rgba(255, 255, 255, 0.82); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Bara de administrare: nu acoperă antetul ---------- */
.admin-bar .nav { top: 100%; }

/* Pe telefon, cardurile teatrelor devin rânduri compacte: imaginea mică la stânga. */
@media (max-width: 600px) {
	.cards { gap: 0; }
	.card { grid-template-columns: 92px minmax(0, 1fr); grid-template-rows: auto; gap: 14px; padding-block: 16px; border-top: 1px solid var(--line-soft); }
	.card__media { aspect-ratio: 1; align-self: start; }
	.card__logo { width: 34px; height: 34px; left: 4px; bottom: 4px; padding: 3px; }
	.card__title { font-size: 19px; }
	.city__name { margin-bottom: 8px; }
}
