/* Edzés single — Petra Balance (Playfair Display + Great Vibes + Nunito Sans)
   Felépítés: desktop alapstílusok felül, alul a töréspontok csökkenő sorrendben:
   1024px (tablet tipó) → 1000px (tablet rácsok) → 767px (mobil) → reduced-motion. */

body.single-edzes .site.grid-container.container,
body.single-edzes .site.grid-container {
	max-width: 100%;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

/* .site-content alapból display:flex (GP layout) — blokkra állítjuk, hogy a
   .wo kitöltse a teljes szélességet. */
body.single-edzes .site-content {
	display: block;
	max-width: 100%;
	width: 100%;
	padding: 0;
}

body.single-edzes .wo {
	width: 100%;
	max-width: 100%;
}

/* Alap szövegszín — a recept mély szilva-árnyalata (#391B3B). */
.wo {
	--wo-font-display: "Playfair Display", "Times New Roman", serif;
	--wo-font-body: "Nunito Sans", system-ui, sans-serif;
	--wo-font-script: "Great Vibes", cursive;

	background: #FDF8F7;
	font-family: var(--wo-font-body);
	color: #391B3B;
	padding-bottom: 96px;
}

/* Minden bekezdésre is (a (0,1,1) specificitás szándékos: a halványabb
   p-színű szabályok felett áll, mint eddig a fájl végén is). */
.wo p {
	color: #391B3B;
}

.wo a {
	color: #8D4F7D;
}

.wo a:hover {
	color: #7A3B6D;
}

.wo-wrap {
	max-width: 1140px;
	margin: 0 auto;
}

/* --- Hero: három egymás alatti blokk — cím, fotó, szöveg; minden szöveg középre rendezve. --- */

.wo-hero {
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding-top: 48px;
}

.wo-hero-fej,
.wo-hero-szoveg {
	text-align: center;
}

.wo-eyebrow-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

/* Eyebrow — a recept rp-eyebrow értékei: 12px / 900 / plum (az arany változat marad). */
.wo-eyebrow {
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #8D4F7D;
}

.wo-eyebrow--gold {
	color: #C79A62;
}

.wo-eyebrow--primary {
	color: #8D4F7D;
}

.wo-dot {
	width: 3px;
	height: 3px;
	border-radius: 999px;
	background: #D2B4C1;
}

/* H1 — a recept breakpointjai: 34 (mobil) / 44 (1024 alatt) / 54 (desktop). */
.wo-h1 {
	font-family: var(--wo-font-display);
	font-weight: 700;
	font-size: 54px;
	line-height: 1.08;
	color: #5D2C56;
	margin: 16px 0 0;
}

/* Alcím: 21 (mobil) / 24 (1024 alatt) / 27 (desktop). */
.wo-subtitle {
	font-family: var(--wo-font-display);
	font-style: italic;
	font-weight: 500;
	font-size: 27px;
	line-height: 1.35;
	color: #8D4F7D;
	margin: 10px 0 0;
}

/* Bevezető szövegek — a recept rp-hero-text értékei: 500 súly, mély szilva szín,
   1024 alatt 1.7em sorköz, efölött 1.8em. */
.wo-lead {
	font-size: 17px;
	font-weight: 500;
	line-height: 1.8em;
	color: #391B3B;
	margin: 0;
	text-wrap: pretty;
}

.wo-lead-sub {
	font-size: 17px;
	font-weight: 500;
	line-height: 1.8em;
	color: #391B3B;
	margin: 12px 0 0;
	text-wrap: pretty;
}

.wo-gold-rule {
	height: 3px;
	background: #C79A62;
	border-radius: 2px;
}

.wo-gold-rule--88 {
	width: 88px;
}

.wo-goldrule-row {
	margin-top: 22px;
}

.wo-btn-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 32px;
}

.wo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--wo-font-body);
	font-weight: 700;
	letter-spacing: 0.56px; /* a recept CTA-pilljeinek betűritkítása */
	text-transform: uppercase;
	text-decoration: none;
	border: 1.5px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	padding: 15px 28px;
	font-size: 15px;
	transition: background 200ms ease, transform 200ms ease, border-color 200ms ease;
}

.wo-btn--primary {
	background: #8D4F7D;
	color: #FFFFFF;
}

/* Kettős osztály: erősebb specificitás, hogy a téma button:hover szabályai ne felülírják. */
.wo-btn--primary.wo-btn--primary:hover,
.wo-btn--primary.wo-btn--primary:focus {
	background: #7A3B6D;
	color: #FFFFFF;
}

.wo-btn--ghost {
	background: transparent;
	color: #8D4F7D;
}

.wo-btn--ghost.wo-btn--ghost:hover,
.wo-btn--ghost.wo-btn--ghost:focus {
	background: #F3E6EE;
	color: #8D4F7D;
}

.wo-btn--primary.wo-btn--primary:focus-visible,
.wo-btn--ghost.wo-btn--ghost:focus-visible {
	outline: 3px solid #8D4F7D;
	outline-offset: 3px;
}

/* Gombszöveg: a .wo a plum link-színe (0,1,1) ne üljön rá a plum gombok fehér feliratára. */
.wo .wo-btn--primary,
.wo .wo-btn--primary:hover,
.wo .wo-btn--primary:focus {
	color: #FFFFFF;
}

/* --- Hero fotó --- */

/* Teljes szélességű hero-fotó: széles, banner-szerű vágás (az img object-fit: cover). */
.wo-photo {
	position: relative;
	width: 100%;
	aspect-ratio: 2 / 1;
	max-height: 540px;
	border-radius: 16px;
	overflow: hidden;
	background: #F8EBE9;
	border: 1px solid #EED7DE;
}

.wo-photo img,
.wo-ex-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* --- Áttekintő sáv --- */

.wo-meta-bar {
	background: #F8EBE9;
	margin-top: 64px;
}

.wo-meta-bar .wo-wrap {
	padding-top: 40px;
	padding-bottom: 40px;
}

.wo-meta {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.wo-meta-item {
	display: flex;
	align-items: center;
	gap: 16px;
}

.wo-meta-icon {
	width: 52px;
	height: 52px;
	flex: 0 0 auto;
	border-radius: 999px;
	background: #F3E6EE;
	border: 1px solid rgba(199, 154, 98, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #8D4F7D;
}

.wo-meta-icon .pb-lucide {
	width: 22px;
	height: 22px;
	stroke-width: 1.5;
}

.wo-meta-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #6B5A5E;
}

.wo-meta-value {
	font-family: var(--wo-font-display);
	font-size: 21px;
	font-weight: 600;
	line-height: 1.25;
	color: #5D2C56;
	margin-top: 3px;
}

/* --- Mit dolgozunk meg? + Felépítés --- */

.wo-info {
	padding-top: 56px;
	display: grid;
	grid-template-columns: 1fr 1fr; /* Mit dolgozunk meg? + Fontos! egymás mellett. */
	gap: 28px;
	align-items: start;
}

/* Egyik kártya hiányában a maradék teljes szélességű (a sablon teszi rá). */
.wo-info--single {
	grid-template-columns: 1fr;
}

.wo-card {
	background: #FFFFFF;
	border: 1px solid #EED7DE;
	border-radius: 22px;
	box-shadow: 0 10px 30px rgba(77, 36, 76, 0.06);
}

.wo-card--muscles {
	padding: 28px 30px 30px;
}

.wo-card--stretch {
	padding: 32px 34px 34px;
}

.wo-muscle-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 20px;
}

.wo-muscle {
	display: flex;
	align-items: center;
	gap: 14px;
}

.wo-muscle-icon {
	width: 40px;
	height: 40px;
	flex: 0 0 auto;
	border-radius: 999px;
	background: linear-gradient(135deg, #8D4F7D 0%, #4A234C 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #E5C49B;
}

.wo-muscle-icon .pb-lucide {
	width: 18px;
	height: 18px;
	stroke-width: 1.5;
}

.wo-muscle-label {
	font-size: 16px;
	line-height: 1.5;
	color: #383135;
	text-wrap: pretty;
}

.wo-card--important {
	background: #F8EBE9;
	border: 1px solid #EED7DE;
	border-radius: 22px;
	padding: 28px 30px 30px;
}

.wo-important-head {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #8D4F7D;
}

.wo-important-head .pb-lucide {
	width: 20px;
	height: 20px;
	stroke-width: 1.5;
}

.wo-important-text {
	font-size: 17px;
	line-height: 1.7;
	color: #383135;
	margin: 18px 0 0;
	text-wrap: pretty;
}

.wo-important-note {
	font-family: var(--wo-font-display);
	font-style: italic;
	font-size: 19px;
	line-height: 1.5;
	color: #5D2C56;
	margin: 14px 0 0;
	text-wrap: pretty;
}

.wo-build {
	grid-column: 1 / -1; /* A Felépítés a két kártya alatt, teljes szélességben. */
	border-radius: 22px;
	overflow: hidden;
	border: 1px solid #EED7DE;
	background: #FFFFFF;
	box-shadow: 0 10px 30px rgba(77, 36, 76, 0.06);
}

.wo-build-head {
	background: linear-gradient(160deg, #6A3562 0%, #522850 55%, #40203F 100%);
	padding: 22px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	color: #E5C49B;
}

.wo-build-head .pb-lucide {
	width: 22px;
	height: 22px;
	stroke-width: 1.5;
}

.wo-build-title {
	font-family: var(--wo-font-display);
	font-weight: 600;
	font-size: 24px;
	color: #FFFFFF;
	margin: 0;
}

.wo-phases {
	padding: 34px 32px 36px;
	display: grid;
	grid-template-columns: 1fr 28px 1fr 28px 1fr;
	gap: 8px;
	align-items: start;
}

.wo-phase {
	text-align: center;
}

.wo-phase-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #8D4F7D;
}

.wo-phase-value {
	font-family: var(--wo-font-display);
	font-size: 24px;
	font-weight: 600;
	color: #5D2C56;
	margin-top: 8px;
}

.wo-phase-desc {
	font-size: 15px;
	line-height: 1.6;
	color: #6B5A5E;
	margin: 10px 0 0;
	text-wrap: pretty;
}

.wo-arrow {
	display: flex;
	justify-content: center;
	padding-top: 10px;
	color: #C79A62;
}

.wo-arrow .pb-lucide {
	width: 22px;
	height: 22px;
	stroke-width: 1.5;
}

/* --- Gyakorlatok --- */

#gyakorlatok {
	padding-top: 56px;
	scroll-margin-top: 24px;
}

.wo-ex-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

/* Szekciócím — a recept lépés-címe: 28 (1024 alatt) / 30 (desktop). */
.wo-h2-xl {
	font-family: var(--wo-font-display);
	font-weight: 600;
	font-size: 30px;
	color: #5D2C56;
	margin: 12px 0 0;
}

.wo-done-count {
	font-size: 14px;
	font-weight: 600;
	color: #6B5A5E;
}

#gyakorlatok .wo-goldrule-row {
	margin-top: 16px;
}

.wo-ex-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 32px;
}

.wo-ex {
	display: grid;
	grid-template-columns: 210px 1fr;
	gap: 0;
	background: #FFFFFF;
	border: 1px solid #EED7DE;
	border-radius: 22px;
	box-shadow: 0 10px 30px rgba(77, 36, 76, 0.06);
	overflow: hidden;
	align-items: stretch;
}

.wo-ex--solo {
	grid-template-columns: 1fr;
}

.wo-ex-photo {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 210px;
	overflow: hidden;
	background: #F8EBE9;
}

.wo-ex-body {
	padding: 26px 32px 28px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.wo-ex-head-row {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.wo-num {
	width: 40px;
	height: 40px;
	flex: 0 0 auto;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-family: var(--wo-font-display);
	font-size: 18px;
	font-weight: 700;
	background: #F3E6EE;
	color: #5D2C56;
}

.wo-ex-name {
	font-family: var(--wo-font-display);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	color: #5D2C56;
}

.wo-ex-alt {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #6B5A5E;
	margin-top: 6px;
}

.wo-ex-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.wo-stat {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 999px;
	background: #F8EBE9;
	border: 1px solid #EED7DE;
}

.wo-stat-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #6B5A5E;
}

.wo-stat-value {
	font-size: 15px;
	font-weight: 700;
	color: #5D2C56;
}

.wo-ex-desc {
	font-size: 16px;
	line-height: 1.65;
	color: #383135;
	margin: 0;
	max-width: 100%;
	text-wrap: pretty;
}

.wo-ex.is-done .wo-num {
	background: #8D4F7D;
	color: #FFFFFF;
}

.wo-ex.is-done .wo-ex-name {
	opacity: 0.55;
}

/* --- Petra tippje + Nyújtás --- */

.wo-bottom {
	padding-top: 40px;
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 28px;
	align-items: start;
}

.wo-card--tip {
	border-radius: 22px;
	overflow: hidden;
	background: linear-gradient(160deg, #6A3562 0%, #522850 55%, #40203F 100%);
	box-shadow: 0 18px 44px rgba(77, 36, 76, 0.24);
	padding: 34px 36px 36px;
}

.wo-tip-head {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #E5C49B;
}

.wo-tip-head .pb-lucide {
	width: 20px;
	height: 20px;
	stroke-width: 1.5;
}

/* Petra körkép a tipp-doboz fejlécében (a Szerző doboz képmezőjéből). */
.wo-tip-avatar {
	width: 90px;
	height: 90px;
	flex: 0 0 auto;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid rgba(229, 196, 155, 0.55);
}

.wo-tip-eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(229, 196, 155, 0.9);
}

.wo-tips {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 22px;
}

.wo-tip {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.wo-tip-dot {
	width: 6px;
	height: 6px;
	flex: 0 0 auto;
	margin-top: 10px;
	border-radius: 999px;
	background: #E5C49B;
}

.wo-tip-text {
	font-size: 17px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.92);
	text-wrap: pretty;
}

.wo-tip-script {
	font-family: var(--wo-font-script);
	font-weight: 400;
	line-height: 1.2;
	font-size: 34px;
	color: #E5C49B;
	margin-top: 20px;
}

.wo-stretch-head {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #8D4F7D;
}

.wo-stretch-head .pb-lucide {
	width: 20px;
	height: 20px;
	stroke-width: 1.5;
}

.wo-stretch-lead {
	font-size: 17px;
	line-height: 1.65;
	color: #383135;
	margin: 20px 0 0;
}

.wo-stretch-list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-top: 14px;
}

.wo-stretch-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-top: 1px solid #EED7DE;
	color: #C79A62;
}

.wo-stretch-row .pb-lucide {
	width: 16px;
	height: 16px;
	stroke-width: 1.5;
	flex: 0 0 auto;
}

.wo-stretch-text {
	font-size: 16px;
	color: #383135;
}

/* ==========================================================================
   Töréspontok — desktop után csökkenő sorrendben.
   ========================================================================== */

/* --- Tablet tipó (1024px alatt) — a recept hero-breakpointjai --- */

@media (max-width: 1024px) {
	.wo-h1 {
		font-size: 44px;
		line-height: 1.12;
	}

	.wo-subtitle {
		font-size: 24px;
	}

	.wo-h2-xl {
		font-size: 28px;
	}
}

/* --- Tablet rácsok (1000px alatt) --- */

@media (max-width: 1000px) {
	.wo-meta {
		grid-template-columns: 1fr 1fr;
	}

	.wo-info {
		grid-template-columns: 1fr;
	}

	.wo-phases {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.wo-arrow {
		display: none;
	}

	.wo-phases > div + div {
		border-top: 1px solid #EED7DE;
		margin-top: 24px;
		padding-top: 24px;
	}

	.wo-ex {
		grid-template-columns: 1fr;
	}

	.wo-bottom {
		grid-template-columns: 1fr;
	}
}

/* --- Mobil (767px alatt) --- */

@media (max-width: 767px) {
	.wo {
		padding-bottom: 64px;
	}

	/* Mobilon minden szekció kap 20px oldaltávolságot (a wrapben lévő összes tartalomra). */
	.wo-wrap {
		padding-left: 20px;
		padding-right: 20px;
	}

	.wo-hero {
		padding-top: 32px;
	}

	.wo-h1 {
		font-size: 34px;
	}

	.wo-subtitle {
		font-size: 21px;
	}

	.wo-lead,
	.wo-lead-sub {
		line-height: 1.7em;
        	font-size: 16px;
	}

	.wo-btn {
		padding: 13px 22px;
		font-size: 14px;
	}

	/* Mobilon arányosabb, magasabb fotó, mint a desktop banner. */
	.wo-photo {
		aspect-ratio: 4 / 3;
	}

	.wo-meta-bar {
		margin-top: 48px;
	}

	.wo-meta-bar .wo-wrap {
		padding-top: 28px;
		padding-bottom: 28px;
	}

	.wo-meta {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.wo-meta-item {
		gap: 14px;
	}

	.wo-info {
		padding-top: 40px;
		gap: 20px;
	}

	.wo-card--muscles,
	.wo-card--important {
		padding: 24px 20px 26px;
	}

	.wo-build-head {
		padding: 18px 20px;
	}

	.wo-build-title {
		font-size: 21px;
	}

	.wo-phases {
		padding: 26px 20px 28px;
	}

	#gyakorlatok {
		padding-top: 40px;
	}

	.wo-ex-list {
		gap: 16px;
		margin-top: 24px;
	}

	.wo-ex-photo {
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

	.wo-ex-body {
		padding: 22px 20px 24px;
	}

	.wo-ex-name {
		font-size: 21px;
	}

	.wo-ex-desc {
		font-size: 15px;
	}

	.wo-bottom {
		padding-top: 28px;
		gap: 20px;
	}

	.wo-card--tip,
	.wo-card--stretch {
		padding: 26px 22px 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wo-btn {
		transition: none;
	}
}
