/* ==========================================================================
   Payner Hub - front-end styles for the dynamic content sections.
   Ported from payner-homepage-v1.html, namespaced .py-* to avoid collisions.
   Includes a :root token fallback so the plugin renders correctly standalone.
   ========================================================================== */

:root {
	--py-bg:          #E9EDF4;
	--py-ink:         #0E1A2E;
	--py-ink-2:       #1F3050;
	--py-ink-muted:   #6B7B92;
	--py-ink-faint:   #98A6BD;
	--py-line:        #E1E7F0;
	--py-line-strong: #C9D2DE;
	--py-brand:       #4A8FD8;
	--py-brand-deep:  #1E3A7B;
	--py-brand-tint:  #E8F0F9;

	--py-display: "Fraunces", "Times New Roman", Georgia, serif;
	--py-bodoni:  "Bodoni Moda", "Times New Roman", serif;
	--py-oswald:  "Oswald", "Inter", sans-serif;
	--py-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
	--py-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

	--py-radius-card: 18px;
	--py-radius-pill: 999px;
	--py-shell-max:   1640px;
	--py-shadow:      0 14px 34px -16px rgba(14,26,46,.18), 0 2px 6px rgba(14,26,46,.05);
}

.py-block { font-family: var(--py-body); color: var(--py-ink); margin: 0; }
.py-block *, .py-block *::before, .py-block *::after { box-sizing: border-box; }
.py-block em { font-style: italic; font-weight: 400; font-family: var(--py-display); color: var(--py-brand-deep); }

/* Optional white panel wrapper (panel="true"). */
.py-panel {
	background: #fff;
	border: 1px solid var(--py-line);
	border-radius: 28px;
	box-shadow: var(--py-shadow);
	padding: clamp(28px, 3.4vw, 52px);
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   Artists grid + card
   -------------------------------------------------------------------------- */
.py-artist-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
@media (max-width: 1100px) { .py-artist-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .py-artist-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .py-artist-grid { grid-template-columns: 1fr; } }

.py-artist-card {
	display: block;
	background: transparent;
	border: 0;
	border-radius: var(--py-radius-card);
	position: relative;
	text-decoration: none;
	transition: transform .35s, box-shadow .3s;
}
.py-artist-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 40px -22px rgba(0,0,0,.55);
}
.py-artist-portrait {
	aspect-ratio: 1 / 1.15;
	position: relative;
	overflow: hidden;
	border-radius: var(--py-radius-card) var(--py-radius-card) 0 0;
	background: linear-gradient(135deg, #1E3A7B 0%, #4A8FD8 60%, #8AB4E0 100%);
}
.py-artist-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.py-artist-portrait .py-initial {
	position: absolute; inset: 0;
	display: grid; place-items: center;
	font-family: var(--py-display);
	font-style: italic; font-weight: 300;
	font-size: clamp(64px, 6vw, 112px);
	color: rgba(255,255,255,.92);
	line-height: 1; letter-spacing: -.03em;
	text-shadow: 0 2px 24px rgba(0,0,0,.2);
}
/* Blue tracer: a conic-gradient comet rides the card edge on hover (ported from payner-fx).
   Masked to a border ring; the big conic disc rotates via transform (GPU, no repaint). */
.py-trace {
	position: absolute; inset: -1px; z-index: 4; pointer-events: none; overflow: hidden;
	border-radius: calc(var(--py-radius-card) + 1px); padding: 3px;
	opacity: 0; transition: opacity .3s;
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-repeat: no-repeat; -webkit-mask-composite: xor;
	        mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	        mask-repeat: no-repeat; mask-composite: exclude;
	filter: drop-shadow(0 0 6px rgba(74,143,216,.7)) drop-shadow(0 0 16px rgba(74,143,216,.45));
}
.py-artist-card:hover .py-trace { opacity: 1; }
.py-trace i {
	position: absolute; top: 50%; left: 50%; width: 900px; height: 900px;
	transform: translate(-50%, -50%) rotate(0deg);
	background: conic-gradient(from 0deg,
		rgba(74,143,216,0)   0deg,
		rgba(74,143,216,0)   226deg,
		rgba(138,180,224,.13) 276deg,
		rgba(74,143,216,.85) 338deg,
		#d9eafc              357deg,
		rgba(74,143,216,0)   360deg);
	will-change: transform; animation: py-trace-flow 5s linear infinite;
}
@keyframes py-trace-flow { to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .py-trace i { animation: none; } }
.py-artist-body { padding: 16px 18px 20px; border-radius: 0 0 var(--py-radius-card) var(--py-radius-card); background: #fff; }
.py-artist-name {
	font-family: var(--py-body); font-weight: 600; font-size: 17px;
	letter-spacing: -.01em; color: var(--py-ink); margin: 0 0 4px;
}
.py-artist-meta {
	font-family: var(--py-mono); font-size: 10px; letter-spacing: .14em;
	text-transform: uppercase; color: var(--py-ink-muted);
	display: flex; gap: 10px;
}
.py-artist-meta span { display: flex; align-items: center; gap: 6px; }
.py-artist-meta span + span::before {
	content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--py-ink-faint);
}

/* --------------------------------------------------------------------------
   Featured release ("На върха тази седмица")
   -------------------------------------------------------------------------- */
.py-featured {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(32px, 4vw, 56px);
	align-items: start;
}
@media (max-width: 900px) { .py-featured { grid-template-columns: 1fr; } }

.py-featured-visual {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: var(--py-radius-card);
	background: linear-gradient(135deg, #1E3A7B 0%, #4A8FD8 60%, #8AB4E0 100%);
}
/* Blue tracer riding the featured image edge - reveals on hover (bigger disc for the larger frame). */
.py-featured-visual .py-trace { z-index: 3; }
.py-featured-visual:hover .py-trace { opacity: 1; }
.py-featured-visual .py-trace i { width: 1500px; height: 1500px; animation-duration: 8s; }
.py-featured-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--py-radius-card); }
.py-featured-visual::before {
	content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--py-radius-card);
	background-image:
		radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.15) 0%, transparent 50%),
		radial-gradient(ellipse at 80% 80%, rgba(255,255,255,.08) 0%, transparent 40%);
}
.py-rank-tag {
	position: absolute; top: 22px; left: 22px; z-index: 2;
	background: rgba(0,0,0,.42);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	color: #fff; padding: 8px 14px; border-radius: var(--py-radius-pill);
	font-family: var(--py-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.py-rank-tag .py-num { color: var(--py-brand); font-weight: 600; }
.py-artist-mark {
	position: absolute; inset: auto 32px 32px; z-index: 2; color: #fff;
	font-family: var(--py-display); font-style: italic; font-weight: 300;
	font-size: clamp(40px, 5vw, 76px); line-height: .95; letter-spacing: -.025em;
	text-shadow: 0 2px 24px rgba(0,0,0,.3);
}
.py-featured-info { padding: 8px 0; }
.py-featured-meta {
	display: flex; gap: 16px; flex-wrap: wrap;
	font-family: var(--py-mono); font-size: 11px; letter-spacing: .14em;
	text-transform: uppercase; color: #697079; margin-bottom: 24px;
}
.py-featured-meta span { display: inline-flex; align-items: center; gap: 8px; }
.py-featured-meta span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--py-ink-faint); }
.py-featured-meta span:first-child::before { background: var(--py-brand); }
.py-featured-title {
	font-family: var(--py-body); font-weight: 700;
	font-size: clamp(32px, 3.6vw, 56px); line-height: 1; letter-spacing: -.025em;
	margin: 0 0 16px; color: #F3F4F6;
}
.py-featured-track {
	font-family: var(--py-display); font-style: italic; font-weight: 400;
	font-size: 22px; color: #AEB6C0; margin: 0 0 24px;
}
.py-featured-blurb { font-size: 16px; line-height: 1.55; color: #9AA1A9; max-width: 44ch; margin: 0 0 32px; }
.py-featured-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.py-btn-primary, .py-btn-ghost {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--py-body); font-weight: 600; font-size: 14px;
	padding: 13px 22px; border-radius: var(--py-radius-pill); text-decoration: none;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.py-btn-primary { background: #fff; color: #0B0C0E; }
.py-btn-primary:hover { background: var(--py-brand); color: #fff; }
.py-btn-primary svg { transition: transform .2s; }
.py-btn-primary:hover svg { transform: translateX(3px); }
.py-btn-ghost { background: transparent; color: #F3F4F6; border: 1px solid rgba(255,255,255,.18); }
.py-btn-ghost:hover { border-color: var(--py-brand); color: #6BA6E4; }

/* --------------------------------------------------------------------------
   Top-20 chart (класации)
   -------------------------------------------------------------------------- */
.py-chart {
	border: 1px solid rgba(255,255,255,.10);
	border-radius: var(--py-radius-card);
	overflow: hidden;
	background: rgba(255,255,255,.09);
	display: grid;
	gap: 1px;
}
.py-chart-row {
	display: grid;
	grid-template-columns: 48px 56px 1fr auto;
	align-items: center;
	gap: 16px;
	background: #15181C;
	padding: 12px 20px;
	text-decoration: none;
	transition: background .25s;
}
.py-chart-row:hover { background: rgba(255,255,255,.05); }
.py-chart-rank { font-family: var(--py-mono); font-size: 16px; font-weight: 500; color: var(--py-brand); text-align: center; }
.py-chart-cover { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: linear-gradient(135deg, #1E3A7B, #8AB4E0); }
.py-chart-info { min-width: 0; }
.py-chart-title { font-family: var(--py-body); font-weight: 600; font-size: 16px; color: #F3F4F6; margin: 0; letter-spacing: -.01em; }
.py-chart-artist { font-family: var(--py-display); font-style: italic; font-size: 14px; color: #AEB6C0; margin: 2px 0 0; }
.py-chart-streams { font-family: var(--py-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #9AA1A9; white-space: nowrap; }

/* --------------------------------------------------------------------------
   News matrix
   -------------------------------------------------------------------------- */
.py-newsmatrix {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 1.6vw, 24px);
}
@media (max-width: 900px) { .py-newsmatrix { grid-template-columns: 1fr; } }
.py-ncell {
	display: flex; flex-direction: column;
	background: #15181C; text-decoration: none;
	border: 1px solid rgba(255,255,255,.10);
	border-radius: var(--py-radius-card);
	overflow: hidden;
	box-shadow: 0 14px 34px -22px rgba(0,0,0,.7);
	transition: background .3s, border-color .3s, transform .3s, box-shadow .3s;
}
.py-ncell:hover {
	background: rgba(255,255,255,.05);
	border-color: rgba(255,255,255,.18);
	transform: translateY(-3px);
	box-shadow: 0 22px 44px -24px rgba(0,0,0,.8);
}
.py-news-cover {
	aspect-ratio: 16 / 10; position: relative; overflow: hidden;
	background: linear-gradient(135deg, #1C2026, #15181C);
}
.py-news-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.py-news-cover.py-tone-deep  { background: linear-gradient(135deg, #1E3A7B, #4A8FD8); }
.py-news-cover.py-tone-blue  { background: linear-gradient(135deg, #4A8FD8, #8AB4E0); }
.py-news-cover.py-tone-light { background: linear-gradient(135deg, #1C2026, #10131A); }
.py-news-cover::after {
	content: ""; position: absolute; inset: 0;
	background:
		radial-gradient(ellipse at 70% 30%, rgba(255,255,255,.20) 0%, transparent 40%),
		radial-gradient(ellipse at 30% 70%, rgba(0,0,0,.05) 0%, transparent 40%);
}
.py-nc-body { padding: clamp(20px, 1.7vw, 28px); }
.py-news-meta {
	display: flex; gap: 12px; flex-wrap: wrap;
	font-family: var(--py-mono); font-size: 10px; letter-spacing: .16em;
	text-transform: uppercase; color: #9AA1A9; margin-bottom: 12px;
}
.py-news-meta .py-cat { color: #6BA6E4; }
.py-news-title {
	font-family: var(--py-body); font-weight: 600; font-size: 20px; line-height: 1.2;
	letter-spacing: -.015em; margin: 0 0 12px; color: #F3F4F6; transition: color .25s;
}
.py-ncell:hover .py-news-title { color: #6BA6E4; }
.py-news-excerpt { font-size: 14px; line-height: 1.5; color: #9AA1A9; margin: 0; }

/* --------------------------------------------------------------------------
   Participations - marquee
   -------------------------------------------------------------------------- */
/* Default = a contained floating band that matches the rounded cards: capped to
   the shell width (1640) and inset by the SAME rail the panels use
   (clamp(24px,4vw,56px)), rounded + shadowed, with vertical breathing room so it
   floats like the other panels. For an exact width match, add the CSS class
   `py-tk-host` to the marquee's Elementor SECTION (see below). Use full="true"
   for the old edge-to-edge divider strip. */
.py-tk {
	position: relative;
	overflow: hidden;
	width: calc(100% - 2 * var(--py-tk-rail, clamp(24px, 4vw, 56px)));
	max-width: var(--py-shell-max, 1640px);
	margin: clamp(16px, 2.6vw, 36px) auto;
	border-radius: var(--py-radius-card);
	box-shadow: var(--py-shadow);
}
/* The band sizes itself off its container, but Elementor's default column gap
   adds ~10px of padding on each side of the widget wrap (elementor-column-gap-
   default), so the band lands ~20px narrower than the panels. Neutralise that
   gap-padding on whichever wrap actually holds the marquee, regardless of where
   the section's column-gap is set. :has() is widely supported; the explicit
   py-tk-host rules below are a fallback if you add that class to the SECTION. */
.elementor-widget-wrap:has(.py-tk),
.elementor-column > .elementor-element-populated:has(.py-tk) {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
/* Fallback: add class `py-tk-host` to the marquee's SECTION (not the widget) to
   zero its rails + uncap the container without relying on :has(). */
.py-tk-host { padding-left: 0 !important; padding-right: 0 !important; }
.py-tk-host > .elementor-container { max-width: 100% !important; }
.py-tk-host .elementor-widget-wrap,
.py-tk-host .elementor-column > .elementor-element-populated { padding-left: 0 !important; padding-right: 0 !important; }
.py-tk--full {
	width: 100%;
	max-width: none;
	margin: 0;
	border-radius: 0;
	box-shadow: none;
	border-top: 1px solid rgba(255,255,255,.12);
	border-bottom: 1px solid rgba(255,255,255,.12);
}
.py-tk-track {
	display: inline-flex; align-items: center; white-space: nowrap; padding: 17px 0;
	animation: py-tk-marquee var(--py-tk-speed, 30s) linear infinite; will-change: transform;
}
.py-tk:hover .py-tk-track { animation-play-state: paused; }
.py-tk-item {
	display: inline-flex; align-items: center; gap: 13px; padding: 0 26px;
	font-family: var(--py-oswald); font-weight: 500; text-transform: uppercase;
	letter-spacing: .04em; font-size: 16px; color: rgba(255,255,255,.86);
}
.py-tk-city { color: var(--py-brand); }
.py-tk-bull { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.3); }
@keyframes py-tk-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .py-tk-track { animation: none; } }

/* --------------------------------------------------------------------------
   Participations - list
   -------------------------------------------------------------------------- */
.py-plist {
	border: 1px solid rgba(255,255,255,.10); border-radius: var(--py-radius-card);
	overflow: hidden; background: rgba(255,255,255,.09); display: grid; gap: 1px;
}
.py-plist-row {
	display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 18px;
	background: #15181C; padding: 16px 22px;
}
.py-plist-date { font-family: var(--py-mono); font-size: 12px; letter-spacing: .08em; color: #6BA6E4; }
.py-plist-main { min-width: 0; }
.py-plist-artist { font-family: var(--py-body); font-weight: 600; font-size: 17px; color: #F3F4F6; margin: 0; }
.py-plist-venue { font-size: 13px; color: #9AA1A9; margin: 2px 0 0; }
.py-plist-ticket {
	font-family: var(--py-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
	color: #F3F4F6; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: 3px;
	transition: color .2s, border-color .2s;
}
.py-plist-ticket:hover { color: #4A8FD8; border-color: #4A8FD8; }
/* Weekday under the date (muted). */
.py-plist-date { display: flex; flex-direction: column; gap: 3px; }
.py-plist-dow { font-family: var(--py-body); font-size: 11px; font-weight: 500; letter-spacing: .03em; text-transform: capitalize; color: #6A727B; }
/* Participations search box + filtered list. The input props are forced with
   !important + extra specificity so the theme/Elementor form styles (white bg,
   tall height, large padding) don't override the dark field. */
.py-psearch { display: flex; flex-direction: column; gap: 14px; }
.py-psearch-bar { position: relative; display: block; }
.py-psearch-ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #6A727B; pointer-events: none; z-index: 1; }
.py-psearch-input,
.py-psearch input.py-psearch-input {
	display: block !important;
	width: 100% !important;
	box-sizing: border-box !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	font-family: var(--py-body) !important;
	font-size: 15px !important;
	line-height: 1.4 !important;
	font-weight: 400 !important;
	color: #F3F4F6 !important;
	background: #15181c !important;
	border: 1px solid rgba(255,255,255,.14) !important;
	border-radius: 12px !important;
	box-shadow: none !important;
	padding: 13px 16px 13px 46px !important;
	outline: none !important;
	-webkit-appearance: none !important;
	   -moz-appearance: none !important;
	        appearance: none !important;
	transition: border-color .2s, background .2s !important;
}
.py-psearch-input::placeholder { color: #6A727B !important; opacity: 1 !important; }
.py-psearch-input:focus { border-color: #4A8FD8 !important; background: #1a1e23 !important; }
.py-psearch-input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.py-psearch-empty { font-family: var(--py-body); font-size: 14px; color: #9AA1A9; text-align: center; padding: 26px 0; margin: 0; }

/* Empty state. */
.py-empty { font-family: var(--py-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--py-ink-faint); padding: 24px; text-align: center; }

/* ==========================================================================
   Equipment - dark catalog + detail (follows the v2 rental mock).
   Self-contained dark block (Inter + Montserrat), independent of the light tokens.
   ========================================================================== */
.py-eq, .py-eq-detail, .py-art, .py-news-d, .py-rel, .py-tar {
	--pyeq-bg: #0b0c0e; --pyeq-line: rgba(255,255,255,.10); --pyeq-line2: rgba(255,255,255,.18);
	--pyeq-text: #f3f4f6; --pyeq-muted: #9aa1a9; --pyeq-faint: #697079; --pyeq-brand: #4A8FD8;
	--pyeq-surface: #15181c; --pyeq-shell: 1280px; --py-eq-hdr: 90px;
	--pyeq-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
	--pyeq-disp: "Montserrat", "Inter", sans-serif;
	background: var(--pyeq-bg); color: var(--pyeq-text); font-family: var(--pyeq-sans); line-height: 1.5;
}
.py-eq *, .py-eq *::before, .py-eq *::after,
.py-eq-detail *, .py-eq-detail *::before, .py-eq-detail *::after,
.py-art *, .py-art *::before, .py-art *::after,
.py-news-d *, .py-news-d *::before, .py-news-d *::after { box-sizing: border-box; }
.py-eq a, .py-eq-detail a, .py-art a { text-decoration: none; color: inherit; }

/* Top padding intentionally 0: the [py_equipment] catalog sits in an Elementor section, so header clearance / top spacing is controlled there (Advanced -> Padding Top). Side gutters + bottom kept so the catalog layout holds. */
.py-eq-inner { max-width: var(--pyeq-shell); margin: 0 auto; padding: 0 clamp(16px,4vw,40px) clamp(56px,8vw,90px); }

.py-eq-head { padding-bottom: 26px; margin-bottom: clamp(20px,3vw,34px); border-bottom: 1px solid var(--pyeq-line); }
.py-eq-eyebrow { font-family: var(--pyeq-disp); font-weight: 600; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--pyeq-brand); margin: 0 0 14px; }
.py-eq-title { font-family: var(--pyeq-disp); font-weight: 700; text-transform: uppercase; letter-spacing: .005em; font-size: clamp(30px,5vw,56px); line-height: 1; margin: 0; }
.py-eq-lead { max-width: 56ch; color: var(--pyeq-muted); font-size: 14px; margin: 14px 0 0; }

.py-eq-grid { display: grid; grid-template-columns: 236px 1fr; gap: clamp(28px,5vw,64px); align-items: start; }
.py-eq-idx { position: sticky; top: calc(var(--py-eq-hdr) + 24px); }
.py-eq-idx-h { font-family: var(--pyeq-disp); font-weight: 600; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--pyeq-faint); margin: 0 0 8px; }
.py-eq-idx-list { list-style: none; margin: 0; padding: 0; }
.py-eq-idx-list a { display: flex; gap: 12px; align-items: baseline; padding: 9px 0; color: var(--pyeq-muted); border-bottom: 1px solid var(--pyeq-line); transition: color .2s; }
.py-eq-idx-list a:hover, .py-eq-idx-list a.is-active { color: var(--pyeq-text); }
.py-eq-idx-num { font-family: var(--pyeq-disp); font-weight: 600; font-size: 11px; color: var(--pyeq-brand); min-width: 20px; }
.py-eq-idx-label { font-size: 13.5px; }

.py-eq-cat { scroll-margin-top: calc(var(--py-eq-hdr) + 20px); padding-top: 8px; margin-bottom: clamp(40px,6vw,72px); }
.py-eq-cat-head { display: flex; align-items: baseline; gap: 16px; }
.py-eq-cat-num { font-family: var(--pyeq-disp); font-weight: 600; font-size: 14px; color: var(--pyeq-brand); }
.py-eq-cat-title { font-family: var(--pyeq-disp); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(22px,3vw,32px); margin: 0; }

.py-eq-grp { margin-top: 22px; }
.py-eq-grp-name { font-family: var(--pyeq-disp); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--pyeq-faint); padding-bottom: 10px; margin: 0; border-bottom: 1px solid var(--pyeq-line2); }

.py-eq-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--pyeq-line); transition: background .2s; }
.py-eq-item:hover { background: rgba(255,255,255,.018); }
.py-eq-thumb { width: 72px; height: 72px; border-radius: 10px; background: linear-gradient(150deg,#1c2026,#0d0f12); border: 1px solid var(--pyeq-line); display: grid; place-items: center; color: rgba(255,255,255,.26); overflow: hidden; }
.py-eq-thumb img { width: 100%; height: 100%; object-fit: cover; }
.py-eq-thumb svg { width: 30px; height: 30px; }
.py-eq-body { min-width: 0; }
.py-eq-name { display: block; font-size: 16px; font-weight: 600; margin: 0 0 8px; letter-spacing: -.01em; color: var(--pyeq-text); }
.py-eq-specs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px 16px; }
.py-eq-specs li { position: relative; font-size: 12.5px; color: var(--pyeq-muted); padding-left: 12px; }
.py-eq-specs li::before { content: ""; position: absolute; left: 0; top: 7px; width: 3px; height: 3px; border-radius: 50%; background: var(--pyeq-faint); }
/* Kill theme-injected native <li> markers (the double-dot) on every equipment list. */
.py-eq-idx-list, .py-eq-idx-list li,
.py-eq-specs, .py-eq-specs li,
.py-eq-d-snapshot, .py-eq-d-snapshot li,
.py-eq-d-list, .py-eq-d-list li { list-style: none !important; }
.py-eq-idx-list li::marker,
.py-eq-specs li::marker,
.py-eq-d-snapshot li::marker,
.py-eq-d-list li::marker { content: "" !important; }
.py-eq-go { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-family: var(--pyeq-disp); font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--pyeq-faint); transition: color .2s; }
.py-eq-item:hover .py-eq-go { color: var(--pyeq-brand); }
.py-eq-go svg { transition: transform .2s; }
.py-eq-item:hover .py-eq-go svg { transform: translateX(3px); }

@media (max-width: 880px) { .py-eq-grid { grid-template-columns: 1fr; } .py-eq-idx { display: none; } }
@media (max-width: 560px) {
	.py-eq-item { grid-template-columns: 54px 1fr auto; gap: 14px; }
	.py-eq-thumb { width: 54px; height: 54px; } .py-eq-thumb svg { width: 24px; height: 24px; }
	.py-eq-go { color: var(--pyeq-brand); }
	.py-eq-go-txt { display: none; }
}

/* ---- Equipment detail ---- */
.py-eq-d-inner { max-width: 1100px; margin: 0 auto; padding: clamp(28px,5vw,56px) clamp(16px,4vw,40px) clamp(56px,8vw,90px); }
.py-eq-d-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: clamp(24px,4vw,52px); align-items: center; }
.py-eq-d-visual { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: linear-gradient(150deg,#1c2026,#0d0f12); border: 1px solid var(--pyeq-line); display: grid; place-items: center; }
.py-eq-d-visual img { width: 100%; height: 100%; object-fit: cover; }
.py-eq-d-visual--icon { color: rgba(255,255,255,.22); }
.py-eq-d-visual--icon svg { width: 64px; height: 64px; }
.py-eq-d-eyebrow { font-family: var(--pyeq-disp); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--pyeq-brand); margin: 0 0 14px; }
.py-eq-d-sep { color: var(--pyeq-faint); margin: 0 4px; }
.py-eq-d-title { font-family: var(--pyeq-disp); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(26px,3.6vw,44px); line-height: 1.04; margin: 0 0 16px; color: var(--pyeq-text); }
.py-eq-d-lead { color: var(--pyeq-muted); font-size: 15px; line-height: 1.6; margin: 0 0 20px; max-width: 52ch; }
.py-eq-d-prose { color: var(--pyeq-muted); font-size: 15px; line-height: 1.7; max-width: 68ch; }
.py-eq-d-prose p { margin: 0 0 14px; }
.py-eq-d-prose a { color: var(--pyeq-brand); }
.py-eq-d-prose img { max-width: 100%; height: auto; border-radius: 10px; }
.py-eq-d-snapshot { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.py-eq-d-snapshot li { font-family: var(--pyeq-disp); font-weight: 500; font-size: 12px; letter-spacing: .02em; color: var(--pyeq-text); background: var(--pyeq-surface); border: 1px solid var(--pyeq-line2); border-radius: 999px; padding: 7px 14px; }
.py-eq-d-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.py-eq-detail .py-eq-d-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--pyeq-disp); font-weight: 600; font-size: 13px; letter-spacing: .02em; color: #0b0c0e; background: #fff; padding: 13px 24px; border-radius: 999px; line-height: 1; transition: background .2s, color .2s; }
.py-eq-detail .py-eq-d-btn:hover { background: var(--pyeq-brand); color: #fff; }
.py-eq-d-btn svg { transition: transform .2s; }
.py-eq-d-btn:hover svg { transform: translateX(3px); }

.py-eq-d-body { margin-top: clamp(40px,6vw,72px); display: grid; gap: clamp(32px,5vw,56px); }
.py-eq-d-block { border-top: 1px solid var(--pyeq-line); padding-top: clamp(24px,3vw,36px); }
.py-eq-d-h { font-family: var(--pyeq-disp); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(16px,2vw,22px); margin: 0 0 22px; color: var(--pyeq-text); }
.py-eq-d-specs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--pyeq-line); border: 1px solid var(--pyeq-line); border-radius: 12px; overflow: hidden; margin: 0; }
.py-eq-d-spec { display: flex; flex-direction: column; gap: 4px; background: var(--pyeq-bg); padding: 14px 18px; }
.py-eq-d-spec dt { font-family: var(--pyeq-disp); font-weight: 600; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--pyeq-faint); margin: 0; }
.py-eq-d-spec dd { margin: 0; font-size: 14px; color: var(--pyeq-text); }
.py-eq-d-groups { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px clamp(28px,4vw,48px); }
.py-eq-d-group { border: 1px solid var(--pyeq-line); border-radius: 14px; background: var(--pyeq-surface); padding: 18px 20px; }
.py-eq-d-group-h { font-family: var(--pyeq-disp); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--pyeq-brand); margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--pyeq-line); }
.py-eq-d-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.py-eq-d-list li { position: relative; font-size: 13.5px; color: var(--pyeq-muted); padding-left: 14px; }
.py-eq-d-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 4px; height: 4px; border-radius: 50%; background: var(--pyeq-brand); }
.py-eq-d-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.py-eq-d-chip { font-size: 13px; color: var(--pyeq-text); background: var(--pyeq-surface); border: 1px solid var(--pyeq-line2); border-radius: 10px; padding: 9px 15px; }

@media (max-width: 820px) {
	.py-eq-d-hero { grid-template-columns: 1fr; }
	.py-eq-d-visual { aspect-ratio: 16 / 9; }
	.py-eq-d-groups { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .py-eq-d-specs { grid-template-columns: 1fr; } }

/* ---- Artist single (bio left, photo right, socials) ---- */
/* Dark the whole page so the (transparent) global header sits over the dark too. */
body.single-py_artist, body.single-py_equipment, body.single-py_news, body.single-py_release { background: #0b0c0e; }
/* Clear the transparent overlay header on the standalone single pages (does not affect the [py_*_detail] shortcode embeds, which sit inside Elementor sections that own their spacing). */
body.single-py_artist .py-art-inner { padding-top: 120px; }
body.single-py_equipment .py-eq-d-inner { padding-top: 120px; }
body.single-py_news .py-news-d-inner { padding-top: 120px; }
body.single-py_release .py-rel-inner { padding-top: 120px; }
.py-art { background: var(--pyeq-bg); color: var(--pyeq-text); font-family: var(--pyeq-sans); }
.py-art-inner { max-width: 1140px; margin: 0 auto; padding: clamp(16px,2.5vw,50px) clamp(16px,4vw,40px) clamp(40px,6vw,96px); }
.py-art-grid { display: grid; grid-template-columns: 1fr minmax(0, 0.82fr); gap: clamp(28px,5vw,64px); align-items: start; }
.py-art-eyebrow { font-family: var(--pyeq-disp); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--pyeq-brand); margin: 0 0 16px; }
.py-art-sep { color: var(--pyeq-faint); margin: 0 4px; }
.py-art-name { font-family: "Marck Script", "Segoe Script", cursive; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: clamp(38px,5.8vw,76px); line-height: 1.05; margin: 0 0 18px; color: var(--pyeq-text); }
.py-art-bio { color: var(--pyeq-muted); font-size: 15.5px; line-height: 1.75; max-width: 56ch; }
.py-art-bio p { margin: 0 0 16px; }
.py-art-bio p:last-child { margin-bottom: 0; }
.py-art-bio strong, .py-art-bio b { color: var(--pyeq-text); font-weight: 600; }
.py-art-bio a { color: var(--pyeq-brand); text-decoration: none; }
.py-art-social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.py-art-soc { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--pyeq-line2); display: grid; place-items: center; color: var(--pyeq-text); transition: background .2s, border-color .2s, color .2s, transform .2s; }
.py-art-soc svg { width: 18px; height: 18px; display: block; }
.py-art-soc:hover { background: var(--pyeq-brand); border-color: var(--pyeq-brand); color: #fff; transform: translateY(-2px); }
.py-art-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; border: 1px solid var(--pyeq-line); background: linear-gradient(150deg,#1c2026,#0d0f12); }
.py-art-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.py-art-initial { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--pyeq-disp); font-weight: 700; font-size: clamp(80px,10vw,150px); color: rgba(255,255,255,.16); }
@media (max-width: 820px) {
	.py-art-grid { grid-template-columns: 1fr; gap: 30px; }
	.py-art-photo { order: -1; aspect-ratio: 3 / 2; max-height: 480px; }
}

/* ---- Artist discography (linked albums/singles) + gallery carousel ---- */
.py-art-disc, .py-art-gallery { margin-top: clamp(40px,5vw,72px); }
.py-art-disc-h { font-family: var(--pyeq-disp); font-weight: 700; font-size: clamp(20px,2.4vw,28px); letter-spacing: .01em; color: var(--pyeq-text); margin: 0 0 22px; }
.py-art-disc-text { color: var(--pyeq-muted); font-size: 15px; line-height: 1.75; max-width: 70ch; margin-bottom: 28px; }
.py-art-disc-text p { margin: 0 0 14px; }
.py-art-disc-text p:last-child { margin-bottom: 0; }
.py-art-disc-sub { font-family: var(--pyeq-disp); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--pyeq-brand); margin: 26px 0 14px; }
.py-art-rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .py-art-rel-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .py-art-rel-grid { grid-template-columns: repeat(2, 1fr); } }
.py-art-rel { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--pyeq-line); border-radius: 14px; overflow: hidden; background: var(--pyeq-surface); transition: border-color .2s, transform .2s; }
.py-art-rel:hover { border-color: var(--pyeq-brand); transform: translateY(-3px); }
.py-art-rel-cover { position: relative; aspect-ratio: 1/1; overflow: hidden; background: linear-gradient(135deg,#1E3A7B,#4A8FD8); display: block; }
.py-art-rel-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.py-art-rel-ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--pyeq-disp); font-weight: 700; font-size: 40px; color: rgba(255,255,255,.5); }
.py-art-rel-info { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.py-art-rel-title { font-family: var(--pyeq-sans); font-weight: 600; font-size: 14px; color: var(--pyeq-text); line-height: 1.3; }
.py-art-rel-meta { font-family: var(--pyeq-disp); font-weight: 500; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--pyeq-faint); }
.py-art-gal { position: relative; display: flex; align-items: center; gap: 12px; }
.py-art-gal-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; padding: 2px; flex: 1; }
.py-art-gal-track::-webkit-scrollbar { display: none; }
.py-art-gal-slide { flex: 0 0 auto; width: clamp(220px, 32%, 340px); margin: 0; scroll-snap-align: start; border-radius: 14px; overflow: hidden; border: 1px solid var(--pyeq-line); background: var(--pyeq-surface); }
.py-art-gal-slide img { display: block; width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; }
.py-art-gal-nav { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--pyeq-line2); background: var(--pyeq-surface); color: var(--pyeq-text); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s, opacity .2s; }
.py-art-gal-nav svg { width: 16px; height: 16px; }
.py-art-gal-nav:hover { background: var(--pyeq-brand); border-color: var(--pyeq-brand); color: #fff; }
.py-art-gal-nav:disabled { opacity: .3; cursor: default; pointer-events: none; }
@media (max-width: 560px) { .py-art-gal-nav { display: none; } .py-art-gal-slide { width: 78%; } }

/* ---- Back-links (artist + release singles) ---- */
.py-art-back, .py-rel-back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--pyeq-disp); font-weight: 600; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--pyeq-muted); text-decoration: none; margin-bottom: clamp(22px,2.8vw,34px); transition: color .2s; }
.py-art-back svg, .py-rel-back svg { width: 15px; height: 15px; transition: transform .2s; }
.py-art-back:hover, .py-rel-back:hover { color: var(--pyeq-text); }
.py-art-back:hover svg, .py-rel-back:hover svg { transform: translateX(-3px); }

/* ---- Release single (album / single) ---- */
.py-rel-inner { max-width: 1040px; margin: 0 auto; padding: clamp(16px,2.5vw,50px) clamp(16px,4vw,40px) clamp(48px,7vw,96px); }
.py-rel-top { display: grid; grid-template-columns: minmax(0,320px) 1fr; gap: clamp(28px,4vw,56px); align-items: start; }
.py-rel-cover { position: relative; aspect-ratio: 1/1; border-radius: 18px; overflow: hidden; border: 1px solid var(--pyeq-line); background: linear-gradient(135deg,#1E3A7B,#4A8FD8); }
.py-rel-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.py-rel-ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--pyeq-disp); font-weight: 700; font-size: clamp(64px,8vw,110px); color: rgba(255,255,255,.5); }
.py-rel-rank { position: absolute; top: 14px; left: 14px; font-family: var(--pyeq-disp); font-weight: 700; font-size: 15px; color: #fff; background: rgba(11,12,14,.7); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 4px 12px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.py-rel-eyebrow { font-family: var(--pyeq-disp); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--pyeq-brand); margin: 0 0 14px; }
.py-rel-title { font-family: var(--pyeq-disp); font-weight: 700; font-size: clamp(28px,4.4vw,52px); line-height: 1.08; margin: 0; color: var(--pyeq-text); }
.py-rel-by { margin: 14px 0 0; font-size: 16px; }
.py-rel-artist { color: var(--pyeq-muted); text-decoration: none; font-weight: 600; transition: color .2s; }
a.py-rel-artist:hover { color: var(--pyeq-brand); }
.py-rel-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.py-rel-chip { border: 1px solid var(--pyeq-line); border-radius: 12px; background: var(--pyeq-surface); padding: 9px 14px; display: flex; flex-direction: column; gap: 2px; }
.py-rel-chip-k { font-family: var(--pyeq-disp); font-weight: 600; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--pyeq-faint); }
.py-rel-chip-v { font-size: 14px; color: var(--pyeq-text); font-weight: 500; }
.py-rel-cta { margin-top: 28px; }
.py-rel-listen { display: inline-flex; align-items: center; gap: 9px; font-family: var(--pyeq-disp); font-weight: 600; font-size: 14px; color: #fff; background: var(--pyeq-brand); border-radius: 999px; padding: 13px 26px; text-decoration: none; transition: background .2s, transform .2s; }
.py-rel-listen:hover { background: #6ba6e4; transform: translateY(-2px); }
.py-rel-listen svg { width: 16px; height: 16px; }
.py-rel-body { color: var(--pyeq-muted); font-size: 15.5px; line-height: 1.75; max-width: 70ch; margin-top: clamp(36px,4.5vw,56px); }
.py-rel-body p { margin: 0 0 16px; }
.py-rel-body p:last-child { margin-bottom: 0; }
.py-rel-body a { color: var(--pyeq-brand); text-decoration: none; }
.py-rel-h { font-family: var(--pyeq-disp); font-weight: 700; font-size: clamp(20px,2.4vw,26px); color: var(--pyeq-text); margin: 0 0 18px; }
.py-rel-tracks { margin-top: clamp(36px,4.5vw,56px); }
.py-rel-tracklist { list-style: none; margin: 0; padding: 0; max-width: 560px; }
.py-rel-tracklist li { display: flex; align-items: center; gap: 16px; padding: 13px 4px; border-bottom: 1px solid var(--pyeq-line); }
.py-rel-tracklist li:last-child { border-bottom: 0; }
.py-rel-tnum { font-family: var(--pyeq-disp); font-weight: 600; font-size: 13px; color: var(--pyeq-faint); min-width: 22px; }
.py-rel-tname { font-size: 15px; color: var(--pyeq-text); }
@media (max-width: 720px) { .py-rel-top { grid-template-columns: 1fr; } .py-rel-cover { max-width: 320px; } }

/* ---- Gallery lightbox (carousel image -> full preview) ---- */
.py-lightbox { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 4vw; background: rgba(7,8,10,.92); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.py-lightbox.is-open { opacity: 1; visibility: visible; }
.py-lightbox-img { max-width: min(1100px, 92vw); max-height: 88vh; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); }
.py-lb-btn { position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); color: #fff; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.py-lb-btn:hover { background: rgba(255,255,255,.18); }
.py-lb-btn svg { width: 20px; height: 20px; }
.py-lb-close { top: 24px; right: 24px; }
.py-lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.py-lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
@media (max-width: 560px) { .py-lb-prev { left: 12px; } .py-lb-next { right: 12px; } .py-lb-close { top: 14px; right: 14px; } }

/* ==========================================================================
   News single (dark editorial article; the_content body with auto-embeds)
   ========================================================================== */
.py-news-d { background: var(--pyeq-bg); color: var(--pyeq-text); font-family: var(--pyeq-sans); line-height: 1.5; }
.py-news-d-inner { max-width: 820px; margin: 0 auto; padding: clamp(16px,2.5vw,50px) clamp(16px,4vw,40px) clamp(48px,7vw,96px); }
.py-news-d-back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--pyeq-disp); font-weight: 600; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--pyeq-muted); text-decoration: none; margin-bottom: clamp(20px,2.6vw,30px); transition: color .2s; }
.py-news-d-back svg { width: 15px; height: 15px; transition: transform .2s; }
.py-news-d-back:hover { color: var(--pyeq-text); }
.py-news-d-back:hover svg { transform: translateX(-3px); }
.py-news-d-head { margin-bottom: clamp(22px,3vw,34px); }
.py-news-d-eyebrow { font-family: var(--pyeq-disp); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--pyeq-brand); margin: 0 0 14px; }
.py-news-d-title { font-family: var(--pyeq-disp); font-weight: 700; letter-spacing: .005em; font-size: clamp(28px,4.4vw,52px); line-height: 1.08; margin: 0; color: var(--pyeq-text); }
.py-news-d-meta { font-family: var(--pyeq-disp); font-weight: 500; font-size: 12.5px; letter-spacing: .08em; color: var(--pyeq-faint); margin: 14px 0 0; }
.py-news-d-lead { color: var(--pyeq-text); font-size: clamp(16px,1.7vw,19px); line-height: 1.6; font-weight: 500; margin: 18px 0 0; }
.py-news-d-cover { margin: clamp(24px,3.5vw,40px) 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--pyeq-line); }
.py-news-d-cover img { width: 100%; height: auto; display: block; }

/* Body = the_content() output */
.py-news-d-body { color: var(--pyeq-muted); font-size: 16px; line-height: 1.8; }
.py-news-d-body > :first-child { margin-top: 0; }
.py-news-d-body p { margin: 0 0 1.1em; max-width: 68ch; }
.py-news-d-body h2, .py-news-d-body h3 { font-family: var(--pyeq-disp); color: var(--pyeq-text); line-height: 1.2; letter-spacing: .005em; margin: 1.8em 0 .6em; }
.py-news-d-body h2 { font-size: clamp(22px,2.6vw,30px); font-weight: 700; }
.py-news-d-body h3 { font-size: clamp(18px,2vw,23px); font-weight: 600; }
.py-news-d-body a { color: var(--pyeq-brand); text-decoration: none; border-bottom: 1px solid rgba(74,143,216,.4); transition: color .2s, border-color .2s; }
.py-news-d-body a:hover { color: #6ba6e4; border-color: #6ba6e4; }
.py-news-d-body strong, .py-news-d-body b { color: var(--pyeq-text); font-weight: 700; }
.py-news-d-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 1.2em 0; }
.py-news-d-body blockquote { margin: 1.4em 0; padding: 6px 0 6px 20px; border-left: 3px solid var(--pyeq-brand); font-style: italic; color: var(--pyeq-text); }
.py-news-d-body blockquote p { max-width: none; }
.py-news-d-body ul, .py-news-d-body ol { margin: 0 0 1.1em; padding-left: 1.3em; max-width: 68ch; }
.py-news-d-body li { margin: 0 0 .4em; }
/* Responsive video embeds (WP oEmbed autoembed emits iframes / figure.wp-block-embed) */
.py-news-d-body figure { margin: 1.4em 0; }
.py-news-d-body iframe { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; display: block; margin: 1.4em 0; }

/* ==========================================================================
   Advertising tariffs (Реклама) - editable rate cards + PDF export
   ========================================================================== */
.py-tar { display: flex; flex-direction: column; gap: clamp(24px,3vw,40px); font-family: var(--pyeq-sans); }
.py-tar-card { border: 1px solid var(--pyeq-line); border-radius: 18px; background: var(--pyeq-surface); padding: clamp(22px,3vw,40px); }
.py-tar-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; justify-content: space-between; margin-bottom: clamp(18px,2.4vw,28px); }
.py-tar-htext { min-width: 0; }
.py-tar-title { font-family: var(--pyeq-disp); font-weight: 700; font-size: clamp(20px,2.6vw,30px); line-height: 1.15; color: var(--pyeq-text); margin: 0; }
.py-tar-intro { color: var(--pyeq-muted); font-size: 14px; margin: 8px 0 0; max-width: 62ch; }
.py-tar-actions { flex: 0 0 auto; }
.py-tar-pdf { display: inline-flex; align-items: center; gap: 8px; font-family: var(--pyeq-disp); font-weight: 600; font-size: 13px; letter-spacing: .02em; color: #fff; background: var(--pyeq-brand); border: 0; border-radius: 999px; padding: 11px 20px; cursor: pointer; transition: background .2s, transform .2s, opacity .2s; }
.py-tar-pdf svg { width: 16px; height: 16px; }
.py-tar-pdf:hover { background: #6ba6e4; transform: translateY(-1px); }
.py-tar-pdf.is-loading { opacity: .6; pointer-events: none; }
.py-tar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,2vw,28px); }
@media (max-width: 820px) { .py-tar-grid { grid-template-columns: 1fr; } }
.py-tar-ch-name { font-family: var(--pyeq-disp); font-weight: 600; font-size: 12.5px; letter-spacing: .06em; color: var(--pyeq-brand); margin: 0 0 10px; }
.py-tar-table { width: 100%; border-collapse: collapse; }
.py-tar-table td { padding: 9px 0; border-bottom: 1px solid var(--pyeq-line); font-size: 14px; }
.py-tar-table tr:last-child td { border-bottom: 0; }
.py-tar-d { color: var(--pyeq-muted); }
.py-tar-p { color: var(--pyeq-text); font-weight: 600; text-align: right; white-space: nowrap; }
.py-tar-notes { color: var(--pyeq-faint); font-size: 13px; line-height: 1.7; margin: clamp(20px,2.4vw,28px) 0 0; }
.py-tar-contacts { margin-top: clamp(20px,2.4vw,28px); padding-top: clamp(18px,2vw,24px); border-top: 1px solid var(--pyeq-line); }
.py-tar-clist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 40px; }
.py-tar-clist li { display: flex; flex-direction: column; gap: 3px; }
.py-tar-cn { font-weight: 600; color: var(--pyeq-text); font-size: 14px; }
.py-tar-cv { color: var(--pyeq-muted); font-size: 13.5px; }
.py-tar-cv a { color: var(--pyeq-brand); text-decoration: none; }
.py-tar-cv a:hover { text-decoration: underline; }
.py-tar-sep { color: var(--pyeq-faint); }

/* ==========================================================================
   Demo platform CTA ([py_demo_button]) + shared signup form (also used by the
   [py_demo_dashboard] gate). Dark, self-contained.
   ========================================================================== */
.py-demo-cta{font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.py-demo-btn{display:inline-flex;align-items:center;gap:10px;font-family:"Montserrat","Inter",sans-serif;font-weight:600;font-size:14px;letter-spacing:.3px;background:#fff;color:#0B0C0E;border:0;border-radius:999px;padding:15px 30px;cursor:pointer;text-decoration:none;transition:background .2s,color .2s}
.py-demo-btn:hover{background:#4A8FD8;color:#fff}
.py-demo-arr{font-size:19px;line-height:1;transform:translateY(-1px)}
.py-demo-form{display:none;margin-top:16px;max-width:440px}
.py-demo-cta.is-open .py-demo-form{display:block}
.py-demo-cta.is-open>.py-demo-btn{display:none}
.py-demo-hp{position:absolute !important;left:-9999px !important;width:1px;height:1px;opacity:0;pointer-events:none}
.py-demo-row{display:flex;gap:10px;background:#15181C;border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:6px 6px 6px 20px}
.py-demo-row input{flex:1;min-width:0;background:transparent;border:0;color:#F3F4F6;font-family:inherit;font-size:14px;outline:none}
.py-demo-row input::placeholder{color:#697079}
.py-demo-row button{flex:none;font-family:"Montserrat","Inter",sans-serif;font-weight:600;font-size:13.5px;background:#fff;color:#0B0C0E;border:0;border-radius:999px;padding:11px 22px;cursor:pointer;transition:background .2s,color .2s}
.py-demo-row button:hover{background:#4A8FD8;color:#fff}
.py-demo-err{color:#e69a9a;font-size:13px;margin:10px 0 0}
.py-demo-note{color:#697079;font-size:12.5px;margin:10px 0 0}
.py-demo-cta.is-gate .py-demo-form{display:block;margin:0 auto;text-align:left}
@media(max-width:480px){
	.py-demo-row{flex-direction:column;border-radius:16px;padding:6px}
	.py-demo-row input{padding:10px 14px}
}
