/* =========================================================
   PM Hello — global brand styles (Peller Mariann)
   Compiled design tokens from the Lovable export:
   bg #090704 · ivory #f7f2e3 · gold #ebbd57 · card #110f09
   muted #a39e91 · forest #153c25 · border #2d291e
   ========================================================= */

:root {
	--pm-bg: #090704;
	--pm-ivory: #f7f2e3;
	--pm-gold: #ebbd57;
	--pm-card: #110f09;
	--pm-muted: #a39e91;
	--pm-forest: #153c25;
	--pm-border: #2d291e;
	--pm-border-soft: rgba(45, 41, 30, 0.6);
	--pm-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
	--pm-sans: "Inter", system-ui, sans-serif;
}

/* ============ Elementor Kit 718 — brand design system ============
   Kit 718 is applied to <body> as .elementor-kit-718 and its DEFAULT
   palette (blue #6EC1E4 / gray #7A7A7A / green #61CE70 + Roboto) leaks
   into the Heading widget via --e-global-color-primary /
   --e-global-typography-primary-*. Override the kit's global variables to
   brand values. body.pm-hello (specificity 0,1,1) beats .elementor-kit-718
   (0,1,0), so these win on the body and inherit into all Elementor content.
   ============================================================= */
body.pm-hello {
	--e-global-color-primary: var(--pm-ivory);   /* heading titles */
	--e-global-color-secondary: var(--pm-muted); /* secondary text */
	--e-global-color-text: var(--pm-muted);      /* body text */
	--e-global-color-accent: var(--pm-gold);     /* eyebrows / links */
	--e-global-typography-primary-font-family: var(--pm-serif);
	--e-global-typography-primary-font-weight: 500;
	--e-global-typography-secondary-font-family: var(--pm-serif);
	--e-global-typography-secondary-font-weight: 500;
	--e-global-typography-text-font-family: var(--pm-sans);
	--e-global-typography-text-font-weight: 400;
	--e-global-typography-accent-font-family: var(--pm-sans);
	--e-global-typography-accent-font-weight: 400;
}

html {
	scroll-behavior: smooth;
}

body.pm-hello,
body.pm-hello .elementor-location-header,
body.pm-hello .elementor-location-footer {
	background-color: var(--pm-bg);
	color: var(--pm-ivory);
	font-family: var(--pm-sans);
	-webkit-font-smoothing: antialiased;
}

/* Hide the Hello Elementor default page-title bar — the Lovable source has no
   title bar (hero starts at the very top; inner pages render their own
   eyebrow/title via .pm-page-hero, so the theme title would be a duplicate). */
body.pm-hello .page-header { display: none !important; }
body.pm-hello .site-main { margin-top: 0; }

/* Headings — serif, weight 500, tight tracking (Lovable base layer) */
body.pm-hello h1,
body.pm-hello h2,
body.pm-hello h3,
body.pm-hello h4,
body.pm-hello .pm-serif {
	font-family: var(--pm-serif);
	font-weight: 500;
	letter-spacing: -0.01em;
}

/* Gold divider */
.pm-gold-divider {
	height: 1px;
	background: linear-gradient(to right, transparent, var(--pm-gold), transparent);
}

/* Brand text colours */
body.pm-hello .pm-text-gold { color: var(--pm-gold); }
body.pm-hello .pm-text-ivory { color: var(--pm-ivory); }
body.pm-hello .pm-text-muted { color: var(--pm-muted); }

/* Eyebrow label (small uppercase gold tracking) */
.pm-eyebrow {
	font-family: var(--pm-sans);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	color: var(--pm-gold);
	font-weight: 500;
}
/* Source uses tracking-[0.2em] on link-card + partner-box labels */
.pm-eyebrow-2 { letter-spacing: 0.2em; }

/* Card — border + hover gold (Lovable: hover:border-gold, bg-card/40) */
.pm-card {
	border: 1px solid var(--pm-border);
	background: rgba(17, 15, 9, 0.4);
	transition: border-color .3s ease, background .3s ease;
}
.pm-card:hover {
	border-color: var(--pm-gold);
}
.pm-card-dashed {
	border: 1px dashed rgba(235, 189, 87, 0.4);
	background: rgba(17, 15, 9, 0.3);
}

/* Buttons */
.pm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	font-family: var(--pm-sans);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	text-decoration: none;
	transition: all .3s ease;
	line-height: 1;
}
/* pm-btn-* sits on the Elementor button WIDGET WRAPPER (full-width div) -> layout-only.
   Drawing bg/border here stretched the box to the page edge (dupla keret / sárga sáv).
   All button visuals live on the inner a.elementor-button (rules below). */
.pm-btn-gold, .pm-btn-outline-gold, .pm-btn-outline-ivory {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	color: inherit;
}

/* Gold text link with arrow */
.pm-link-gold {
	color: var(--pm-gold);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	transition: gap .3s ease;
}
.pm-link-gold:hover { gap: 12px; }

/* Photo figure */
.pm-photo {
	overflow: hidden;
	border: 1px solid var(--pm-border);
	background: var(--pm-card);
}
.pm-photo img {
	width: 100%;
	height: 320px;
	object-fit: cover;
	transition: transform .7s ease;
	display: block;
}
.pm-photo:hover img { transform: scale(1.05); }
.pm-photo-caption {
	margin-top: 12px;
	font-size: 14px;
	color: var(--pm-muted);
	font-style: italic;
}

/* ============ FIXED HEADER (Theme Builder template) ============
   .pm-header  — fixed bar; transparent until scroll
   .pm-header.is-scrolled — bg/85 + blur + bottom border (Lovable)
   ============================================================= */
.pm-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 9999;
	/* Home: HIDDEN until scrolled (translateY -100%); JS adds .is-scrolled at 60% hero.
       Inner pages: .is-scrolled added on load → always visible. */
	background: transparent;
	border-bottom: none;
	transform: translateY(-100%);
	opacity: 0;
	pointer-events: none;
	transition: transform 0.45s cubic-bezier(.22,1,.36,1), background 0.35s ease, border-color 0.35s ease, opacity 0.45s ease;
}
.pm-header.is-scrolled {
	background: rgba(9, 7, 4, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--pm-border);
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}
.pm-header-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 40px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: opacity .5s ease;
	/* 2026-09-02: always visible (was opacity:0 until scroll on home) */
	opacity: 1;
}
.pm-header.is-scrolled .pm-header-inner { opacity: 1; }
.pm-logo {
	font-family: var(--pm-serif);
	font-size: 18px;
	letter-spacing: 0.025em;
	color: var(--pm-ivory);
	text-decoration: none;
	white-space: nowrap;
}
.pm-logo span { color: var(--pm-gold); }
.pm-nav {
	display: flex;
	align-items: center;
}
/* wp_nav_menu renders <ul class="menu"> — force a single horizontal row in the header */
.pm-nav ul {
	display: flex;
	align-items: center;
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.pm-nav li {
	display: flex;
	align-items: center;
}
.pm-nav a {
	font-family: var(--pm-sans);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	white-space: nowrap;
	color: var(--pm-muted);
	text-decoration: none;
	transition: color .3s ease;
}
.pm-nav a:hover,
.pm-nav a.current-menu-item,
.pm-nav a.current_page_item {
	color: var(--pm-gold);
}

/* Mobile burger */
.pm-burger {
	display: none;
	background: none;
	border: none;
	color: var(--pm-ivory);
	cursor: pointer;
	padding: 8px;
}
.pm-burger svg { width: 22px; height: 22px; }
/* Source: {open ? <X /> : <Menu />} — swap icons via aria-expanded */
.pm-burger-x { display: none; }
.pm-burger[aria-expanded="true"] .pm-burger-menu { display: none; }
.pm-burger[aria-expanded="true"] .pm-burger-x { display: block; }
.pm-mobile-nav {
	display: none;
	border-top: 1px solid var(--pm-border);
	background: rgba(9, 7, 4, 0.95);
	backdrop-filter: blur(12px);
}
.pm-mobile-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.pm-mobile-nav.is-open { display: block; }
.pm-mobile-nav a {
	display: block;
	padding: 12px 24px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--pm-muted);
	text-decoration: none;
	border-bottom: 1px solid rgba(45, 41, 30, 0.4);
}
.pm-mobile-nav a:last-child { border-bottom: 0; }
.pm-mobile-nav a:hover { color: var(--pm-gold); }

/* Desktop nav fits from 1280px up (9 long labels ~1046px). Below that -> burger. */
@media (max-width: 1279px) {
	.pm-nav { display: none; }
	.pm-burger { display: block; }
	.pm-header-inner { padding: 0 24px; }
}

/* ============ HERO (front page) ============ */
.pm-hero {
	position: relative;
	min-height: 100vh;
	width: 100%;
	overflow: hidden;
	background: var(--pm-bg) url("/wp-content/uploads/2026/08/peller-mariann-hero.jpeg") no-repeat 65% top;
	background-size: cover;
	display: flex;
	flex-direction: column;
	justify-content: flex-end !important;
	align-items: flex-start !important;
	padding: 0 0 72px 0;
}
.pm-hero-bg {
	position: absolute;
	inset: 0;
}
.pm-hero-bg img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* 2026-09-02: top-aligned so the face is never cropped off on desktop (was 70% center) */
	object-position: 50% top;
}
.pm-hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to right, var(--pm-bg) 0%, rgba(9,7,4,0.6) 40%, rgba(9,7,4,0.1) 75%, transparent 100%),
		linear-gradient(to top, rgba(9,7,4,0.7) 0%, rgba(9,7,4,0.1) 40%, transparent 100%);
}
.pm-hero-content {
	position: relative;
	z-index: 10;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 48px 96px;
	box-sizing: border-box;
}
.pm-hero-name {
	font-family: var(--pm-serif);
	font-weight: 600;
	font-size: clamp(56px, 9vw, 120px);
	line-height: 0.9;
	color: var(--pm-ivory);
	margin: 0;
}
.pm-hero-tagline {
	margin-top: 24px;
	font-size: 15px;
	color: rgba(247, 242, 227, 0.75);
	letter-spacing: 0.04em;
	max-width: 560px;
}
.pm-hero-ctas {
	margin-top: 32px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	position: relative;
	z-index: 2;
}
.pm-hero-scroll {
	position: absolute !important;
	bottom: 28px !important;
	right: 48px !important;
	left: auto !important;
	z-index: 10 !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: 6px;
	pointer-events: none;
}
.pm-hero-scroll .elementor-icon,
.pm-hero-scroll i {
	color: var(--pm-gold) !important;
	font-size: 18px !important;
	animation: pm-scroll-bounce 2s ease-in-out infinite;
}
.pm-hero-scroll::after {
	content: "Görgess lejjebb";
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	color: var(--pm-gold) !important;
}
@keyframes pm-scroll-bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(6px); }
}
@media (max-width: 767px) {
	.pm-hero-bg img { object-position: 65% center; }
	.pm-hero-content { padding: 0 24px 72px; }
	.pm-hero-scroll { right: 24px !important; bottom: 20px !important; }
}

/* Hero entrance animations (Lovable keyframes) */
@keyframes pm-hero-slide-in {
	from { opacity: 0; transform: translateX(-40px); }
	to { opacity: 1; transform: translateX(0); }
}
@keyframes pm-hero-fade-up {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}
.pm-hero-eyebrow { animation: pm-hero-fade-up .8s ease-out .1s both; }
.pm-hero-name .pm-name-1 { animation: pm-hero-slide-in 1s cubic-bezier(.22,1,.36,1) .3s both; display: inline-block; }
.pm-hero-name .pm-name-2 { animation: pm-hero-slide-in 1s cubic-bezier(.22,1,.36,1) .55s both; display: inline-block; }
.pm-hero-tagline { animation: pm-hero-fade-up .9s ease-out .95s both; }
.pm-hero-ctas { animation: pm-hero-fade-up .9s ease-out 1.15s both; }

/* Timeline (Eredmények) */
.pm-timeline {
	position: relative;
	border-left: 1px solid var(--pm-border);
	margin-left: 12px;
	padding-left: 0;
	list-style: none;
}
.pm-timeline-item {
	position: relative;
	margin-bottom: 40px;
	padding-left: 32px;
}
.pm-timeline-item::before {
	content: "\f559";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 11px;
	position: absolute;
	left: -12px;
	top: 0;
	width: 24px;
	height: 24px;
	line-height: 24px;
	text-align: center;
	border-radius: 50%;
	background: var(--pm-bg);
	border: 1px solid var(--pm-gold);
	color: var(--pm-gold);
	box-shadow: 0 0 0 4px var(--pm-bg);
}
.pm-timeline-year {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--pm-gold);
}
.pm-timeline-title {
	font-family: var(--pm-serif);
	font-size: 24px;
	color: var(--pm-ivory);
	margin-top: 8px;
}
.pm-timeline-body {
	margin-top: 12px;
	font-size: 15px;
	color: var(--pm-muted);
	line-height: 1.8;
}

/* Press list (Média) */
.pm-press-list {
	list-style: none;
	border-top: 1px solid var(--pm-border);
	border-bottom: 1px solid var(--pm-border);
}
.pm-press-list li { border-bottom: 1px solid var(--pm-border); }
.pm-press-list li:last-child { border-bottom: 0; }
.pm-press-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 4px;
	text-decoration: none;
	transition: color .3s ease;
}
.pm-press-list a span {
	font-family: var(--pm-serif);
	font-size: 19px;
	color: var(--pm-ivory);
	transition: color .3s ease;
}
.pm-press-list a:hover span { color: var(--pm-gold); }
.pm-press-list a svg { color: var(--pm-gold); flex-shrink: 0; }

/* Article prose (Rólam, Virtuózok) */
.pm-prose p {
	color: var(--pm-muted);
	line-height: 1.8;
	font-size: 15px;
	margin-bottom: 24px;
}
.pm-prose strong { color: var(--pm-ivory); font-weight: 500; }

/* Icon boxes (Nemzetközi, Projektek) */
.pm-icon-card .pm-icon {
	width: 24px;
	height: 24px;
	color: var(--pm-gold);
}
.pm-icon-card h3 {
	font-size: 21px;
	color: var(--pm-ivory);
	margin-top: 16px;
}
.pm-icon-card p {
	margin-top: 12px;
	font-size: 14px;
	color: var(--pm-muted);
	line-height: 1.8;
}

/* Quote */
.pm-quote {
	font-family: var(--pm-serif);
	font-style: italic;
	font-size: clamp(24px, 3.5vw, 34px);
	color: var(--pm-ivory);
	text-align: center;
}

/* Footer */
.pm-footer {
	border-top: 1px solid var(--pm-border);
	margin-top: 128px;
}
.pm-footer-grid {
	max-width: 1280px;
	margin: 0 auto;
	padding: 48px 40px;
	display: grid;
	gap: 32px;
	grid-template-columns: 1fr;
}
@media (min-width: 768px) { .pm-footer-grid { grid-template-columns: repeat(3, 1fr); } }
.pm-footer h4 {
	font-family: var(--pm-sans);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--pm-gold);
	margin-bottom: 12px;
}
.pm-footer p, .pm-footer li, .pm-footer a {
	font-size: 14px;
	color: var(--pm-muted);
}
.pm-footer p { line-height: 1.7; }
.pm-footer-quote {
	font-family: var(--pm-serif);
	font-style: italic;
	font-size: 16px;
	color: var(--pm-ivory);
	opacity: 0.9;
	line-height: 1.6;
}
.pm-footer a { text-decoration: none; transition: color .3s ease; }
.pm-footer a:hover { color: var(--pm-gold); }
.pm-footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pm-footer-bottom {
	border-top: 1px solid rgba(45, 41, 30, 0.6);
	padding: 20px;
	text-align: center;
	font-size: 12px;
	color: var(--pm-muted);
}

/* YouTube embed */
.pm-youtube {
	aspect-ratio: 16 / 9;
	width: 100%;
}
.pm-youtube iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

/* Page hero (inner pages — eyebrow/title/divider/intro) */
.pm-page-hero {
	padding: 130px 24px 40px;
	text-align: center;
	display: block;
	max-width: 1024px !important;
	margin: 0 auto !important;
}
.pm-page-hero h1 {
	font-size: clamp(40px, 6vw, 64px);
	color: var(--pm-ivory);
	margin: 16px 0 0;
}
.pm-page-hero .pm-gold-divider { width: 128px; margin: 32px auto 0; }
.pm-page-hero p {
	margin: 32px auto 0;
	max-width: 640px;
	font-size: 17px;
	color: var(--pm-muted);
	line-height: 1.7;
}
.pm-section {
	max-width: 1024px !important;
	margin: 0 auto !important;
	padding: 0 24px 64px;
}
.pm-section-wide { max-width: 1152px !important; }
.pm-section-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	color: var(--pm-gold);
	margin-bottom: 16px;
}
.pm-section-title {
	font-size: clamp(24px, 3vw, 32px);
	color: var(--pm-ivory);
}
.pm-section-title + .pm-gold-divider { width: 96px; margin: 24px 0 0; }

/* ---- Link cards (Rólam) ---- */
.pm-link-card {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 24px;
	text-decoration: none;
	color: inherit;
	box-sizing: border-box;
}
.pm-link-card > div { flex: 1; }
.pm-link-card-title {
	margin-top: 8px;
	font-family: var(--pm-serif);
	font-size: 21px;
	color: var(--pm-ivory);
	transition: color .3s ease;
}
.pm-link-card:hover .pm-link-card-title { color: var(--pm-gold); }
.pm-ext { color: var(--pm-gold); font-size: 20px; flex-shrink: 0; margin-top: 2px; }
/* Elementor icon widget: az <i> inline font-size (50px) felülirja a wrapperert -> arany + fele (25px) */
body.pm-hello .pm-ext .elementor-icon i,
body.pm-hello .pm-ext i {
	color: var(--pm-gold) !important;
	font-size: 25px !important;
}

/* ---- Home intro strip ---- */
.pm-intro { text-align: center; }
.pm-intro-title {
	font-family: var(--pm-serif);
	font-size: clamp(30px, 4.5vw, 48px);
	color: var(--pm-ivory);
	margin: 24px 0 0;
}
.pm-intro-body {
	margin: 32px auto 0;
	max-width: 640px;
	color: var(--pm-muted);
	line-height: 1.8;
	font-size: 16px;
}

/* ---- Home highlights grid ---- */
.pm-highlight-card {
	padding: 32px;
	text-decoration: none;
	color: inherit;
	display: block;
	box-sizing: border-box;
}
.pm-highlight-title {
	font-family: var(--pm-serif);
	font-size: 24px;
	color: var(--pm-ivory);
	transition: color .3s ease;
}
.pm-highlight-card:hover .pm-highlight-title { color: var(--pm-gold); }
.pm-highlight-body { margin-top: 12px; font-size: 14px; color: var(--pm-muted); line-height: 1.7; }
.pm-highlight-more {
	margin-top: 24px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--pm-gold);
	display: flex;
	align-items: center;
	gap: 8px;
}

/* ---- Photo figure grid ---- */
.pm-photo-fig { margin: 0; }
.pm-photo-fig .pm-photo { border-color: rgba(235, 189, 87, 0.3); }
.pm-photo-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	align-items: start;
}
.pm-photo-grid figure:nth-child(odd).pm-photo-span { grid-column: 1 / -1; }
@media (max-width: 640px) { .pm-photo-grid { grid-template-columns: 1fr; } }

/* ---- Location cards (Kapcsolat) ---- */
.pm-loc-card { padding: 28px; box-sizing: border-box; }
.pm-loc-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--pm-gold); margin-bottom: 12px; }
.pm-loc-title { font-family: var(--pm-serif); font-size: 21px; color: var(--pm-ivory); }
.pm-loc-body { margin-top: 20px; font-size: 14px; color: var(--pm-muted); line-height: 1.8; }

/* ---- Social list (Kapcsolat) ---- */
.pm-social { list-style: none; margin: 20px 0 0; padding: 0; }
.pm-social li { margin-bottom: 14px; }
.pm-social a { color: var(--pm-muted); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; font-size: 15px; transition: color .3s; }
.pm-social a:hover { color: var(--pm-gold); }
.pm-mail-link { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; color: var(--pm-gold); text-decoration: none; font-size: 15px; }
.pm-mail-link:hover { text-decoration: underline; }

/* ---- 3-col card grid (Kapcsolat / Nemzetközi / Projektek) ---- */
.pm-card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pm-card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) { .pm-card-grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .pm-card-grid-2 { grid-template-columns: 1fr; } }

/* ---- Column width helpers (flex children inside a row+wrap container) ---- */
.pm-col-2 { width: 100%; box-sizing: border-box; }
.pm-col-3 { width: 100%; box-sizing: border-box; }
@media (min-width: 641px) {
	.pm-col-2 { width: calc(50% - 12px) !important; }
	.pm-col-3 { width: calc(33.333% - 16px) !important; }
}

/* ---- Grid column-count variants (image widgets / icon boxes) ---- */
@media (min-width: 641px) {
	.pm-ggrid-2 > .elementor-element { width: calc(50% - 12px) !important; }
	.pm-ggrid-3 > .elementor-element { width: calc(33.333% - 16px) !important; }
}

/* ---- Home hero wrapper (html widget inside a container) ---- */
.pm-hero-wrap { width: 100%; }
.pm-hero-wrap .elementor-widget-htm { padding: 0; }
.pm-hero-wrap .pm-hero { margin: 0; }

/* ---- Projektek cards ---- */
.pm-proj-list { width: 100%; }
.pm-proj-card {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 28px;
	box-sizing: border-box;
}
.pm-proj-icon { flex-shrink: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: var(--pm-gold); font-size: 26px; margin-top: 4px; }
.pm-proj-body { flex: 1; }
.pm-proj-title { font-family: var(--pm-serif); font-size: 24px; color: var(--pm-ivory); margin: 0; }
.pm-proj-desc { margin: 8px 0 0; font-size: 15px; color: var(--pm-muted); line-height: 1.7; }
.pm-card-links { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 640px) { .pm-proj-card { flex-direction: column; gap: 12px; } }

/* ---- Partnerek dashed box ---- */
.pm-partner-box { text-align: center; padding: 32px; }
.pm-partner-box p { max-width: 560px; margin: 16px auto 0; color: var(--pm-muted); line-height: 1.8; }

/* ---- Inline lucide-style icon (gold) ---- */
.pm-ic { color: var(--pm-gold); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---- Photo gallery grid (image widgets) ---- */
.pm-ggrid { display: flex; flex-wrap: wrap; gap: 24px; max-width: 1024px; margin-left: auto; margin-right: auto; }
.pm-gimg { width: 100%; box-sizing: border-box; }
@media (min-width: 641px) { .pm-gimg { width: calc(50% - 12px) !important; } }
body.pm-hello .pm-gimg figure, body.pm-hello .pm-gimg .elementor-image { margin: 0; }
/* source: <div class="overflow-hidden border border-border bg-card"> around each img */
body.pm-hello .pm-gimg figure.wp-caption {
	border: 1px solid var(--pm-border);
	background: var(--pm-card);
	overflow: hidden;
}
body.pm-hello .pm-gimg img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center top; transition: transform .7s ease; display: block; }
body.pm-hello .pm-gimg:hover img { transform: scale(1.05); }
/* source height variants: virtuozok h-72 (288px) · eredmenyek h-auto · default h-80 (320px) */
body.pm-hello .pm-gimg-h72 img { aspect-ratio: 3 / 2; }
body.pm-hello .pm-gimg-auto img { height: auto; aspect-ratio: auto; }
/* source col-span-2 figures (eredmenyek figs 3–5) → full width on desktop */
@media (min-width: 641px) { .pm-gimg-span { width: 100% !important; } }

/* ---- Home highlights grid ---- */
.pm-highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .pm-highlight-grid { grid-template-columns: 1fr; } }

/* ---- Timeline year/title margin reset ---- */
.pm-timeline-year { margin: 0; }
.pm-timeline-title { margin: 8px 0 0; }

/* ---- Image-widget gallery caption ---- */
body.pm-hello .elementor-widget-image .elementor-widget-caption {
	margin-top: 12px;
	font-size: 14px;
	color: var(--pm-muted);
	font-style: italic;
	text-align: center;
}

/* ---- Scrolling home: hero quote line (Kultúra. Tehetség. Kitartás.) ---- */
.pm-hero-quote {
	font-family: var(--pm-serif);
	font-style: italic;
	font-size: clamp(20px, 2.6vw, 28px);
	color: var(--pm-gold);
	margin: 18px 0 8px;
	letter-spacing: 0.01em;
}
.pm-hero-ctas { margin-top: 28px; }

/* ---- Scrolling home: anchor scroll offset (fixed header) ---- */
.pm-sec-anchor { scroll-margin-top: 96px; }

/* ---- Scrolling home: "Tovább a teljes X oldalra" link ---- */
.pm-sec-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 28px;
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--pm-gold);
	text-decoration: none;
	transition: gap .3s ease, color .3s ease;
}
.pm-sec-more span { transition: transform .3s ease; }
.pm-sec-more:hover { gap: 14px; }

/* ---- Scrolling home: compact awards list (Eredmények teaser) ---- */
.pm-awards-mini {
	list-style: none;
	margin: 0;
	padding: 0;
}
.pm-awards-mini li {
	display: flex;
	gap: 20px;
	align-items: baseline;
	padding: 14px 0;
	border-bottom: 1px solid var(--pm-border);
	font-size: 15px;
	color: var(--pm-ivory);
}
.pm-awards-mini li:last-child { border-bottom: 0; }
.pm-awards-mini li span {
	flex-shrink: 0;
	font-family: var(--pm-serif);
	font-size: 19px;
	color: var(--pm-gold);
	min-width: 56px;
}

/* ===== Native Elementor widget inner-element fixes (v1.4.9) ===== */

/* Hero: container IS the hero (no inner .pm-hero div in native build) */
.pm-hero-wrap {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    background: var(--pm-bg) url("/wp-content/uploads/2026/08/peller-mariann-hero.jpeg") no-repeat 65% top;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    padding: 0 0 72px 0;
}
/* Hero gradient overlays (source: bg-gradient-to-r + bg-gradient-to-t) */
.pm-hero-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--pm-bg) 0%, rgba(9,7,4,0.6) 50%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}
.pm-hero-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9,7,4,0.7) 0%, rgba(9,7,4,0.1) 50%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}
.pm-hero-wrap .elementor-widget {
    position: relative;
    z-index: 2;
}
/* Force hero image position (source: object 65% center) — beats per-post CSS */
.pm-hero, .pm-hero-wrap {
    background-position: 65% top !important;
}
/* CTA row must sit ABOVE the gradient overlays (they are z-index:1) */
.pm-hero-ctas, .pm-hero-scroll {
    z-index: 3 !important;
}

/* Icon-box: gold icon + ivory title */
.pm-icon-card .elementor-icon-box-icon .elementor-icon,
.pm-icon-card .elementor-icon-box-icon i {
    color: var(--pm-gold) !important;
}
.pm-icon-card .elementor-icon-box-title span {
    color: var(--pm-ivory);
    font-family: var(--pm-serif);
    font-weight: 400;
}
.pm-icon-card .elementor-icon-box-description {
    color: var(--pm-muted);
}

/* Blockquote: ivory text + gold cite */
.pm-quote .elementor-blockquote__content {
    color: var(--pm-ivory) !important;
    font-family: var(--pm-serif) !important;
    font-style: italic;
}
.pm-quote .elementor-blockquote__author {
    color: var(--pm-gold) !important;
    font-style: normal;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Press list (icon-list): ivory text + gold icon */
.pm-press-list .elementor-icon-list-text {
    color: var(--pm-ivory) !important;
    font-family: var(--pm-serif) !important;
    font-size: 19px !important;
}
.pm-press-list .elementor-icon-list-icon i {
    color: var(--pm-gold) !important;
}
.pm-press-list .elementor-icon-list-item a {
    color: var(--pm-ivory);
}
.pm-press-list .elementor-icon-list-item a:hover .elementor-icon-list-text {
    color: var(--pm-gold) !important;
}

/* Buttons: style the inner a.elementor-button, not just the wrapper */
.pm-btn-gold a.elementor-button,
.pm-btn-outline-gold a.elementor-button,
.pm-btn-outline-ivory a.elementor-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px !important;
    font-family: var(--pm-sans) !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.22em !important;
    text-decoration: none !important;
    transition: all .3s ease;
    line-height: 1 !important;
    border-radius: 0 !important;
    font-weight: 400;
}
.pm-btn-gold a.elementor-button {
    background: var(--pm-gold) !important;
    color: var(--pm-bg) !important;
    border: none !important;
    box-shadow: none !important;
}
.pm-btn-gold a.elementor-button:hover {
    background: rgba(235, 189, 87, 0.9) !important;
}
.pm-btn-outline-gold a.elementor-button {
    border: 1px solid var(--pm-gold) !important;
    color: var(--pm-gold) !important;
    background: transparent !important;
    box-shadow: none !important;
}
.pm-btn-outline-gold a.elementor-button:hover {
    background: var(--pm-gold) !important;
    color: var(--pm-bg) !important;
}
.pm-btn-outline-ivory a.elementor-button {
    border: 1px solid rgba(247, 242, 227, 0.3) !important;
    color: var(--pm-ivory) !important;
    background: transparent !important;
    box-shadow: none !important;
}
.pm-btn-outline-ivory a.elementor-button:hover {
    border-color: var(--pm-gold) !important;
    color: var(--pm-gold) !important;
}



/* Hero CTA row: buttons inline (auto width), left-aligned — source: flex flex-col sm:flex-row */
.pm-hero-ctas { align-items: flex-start !important; }
.pm-hero-ctas .elementor-widget-button { width: auto !important; flex: 0 0 auto !important; max-width: 100%; }
/* Source: hero-ctas flex flex-col sm:flex-row -> mobilon egymás alá */
@media (max-width: 639px) {
	.pm-hero-ctas { flex-direction: column !important; align-items: flex-start !important; }
	.pm-hero-ctas .elementor-widget-button { width: 100% !important; }
	.pm-hero-ctas .elementor-widget-button a { width: 100%; justify-content: center; }
}

/* Hero CTA: horizontal row on desktop (source: flex-col sm:flex-row) */
@media (min-width: 768px) {
    .pm-hero-ctas { flex-direction: row !important; gap: 12px !important; }
}

/* Divider: the line is drawn by the inner .elementor-divider-separator (native widget).
   Elementor stretches the separator to the full container width, so the wrapper width
   is set on the .elementor-divider (the flex line) instead. */
.pm-gold-divider .elementor-divider {
    width: 128px !important;
    margin: 0 auto !important;
}
.pm-gold-divider .elementor-divider-separator {
    height: 1px !important;
    width: 100% !important;
    background: linear-gradient(to right, transparent, var(--pm-gold), transparent) !important;
    border: 0 !important;
}

/* ---- Font Awesome 5: Elementor 4.2 nem rendereli a .fa/.fas base class-t,
     csak a glyph class-t (pl. fa-users). A FA5 all.min.css-ben a
     .fa-x:before{content} szabalyok globalisak, de a font-family-t a
     .fa/.fas class adja -> ha nincs, az ikon Interrel renderel (ures).
     Itt a pm-hello scope-ben megadjuk a helyes fontot. ---- */
body.pm-hello i[class^="fa-"],
body.pm-hello i[class*=" fa-"] {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
}
body.pm-hello i[class^="fab"],
body.pm-hello i[class*=" fab"] {
	font-family: "Font Awesome 5 Brands";
	font-weight: 400;
}
/* Nemzetkozi + Projektek icon-box: 24px ikon (a forras lucide size-7 = 28px) */
body.pm-hello .pm-icon-card .elementor-icon-box-icon i,
body.pm-hello .pm-proj-icon {
	font-size: 24px !important;
}
body.pm-hello .pm-proj-icon .elementor-icon,
body.pm-hello .pm-proj-icon .elementor-icon i {
	color: var(--pm-gold) !important;
}
