/*
Theme Name: PKN – PrestaShop Készítés
Theme URI: https://prestashop.keszites.net/
Author: Puizl Attila
Description: Könnyűsúlyú, licenszmentes saját téma a prestashop.keszites.net számára. Blokk-szerkesztő alapú, page builder nélkül.
Version: 1.0.3
Requires at least: 7.0
Requires PHP: 8.1
Text Domain: pkn
*/

/* ---------- Betűtípus ---------- */
@font-face {
	font-family: "Inter Variable";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("assets/fonts/inter-latin-ext.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Inter Variable";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("assets/fonts/inter-latin.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Méretkorrigált tartalék betűtípus: a webfont betöltésekor ne ugráljon a szöveg (CLS). */
@font-face {
	font-family: "Inter Fallback";
	src: local("Arial");
	ascent-override: 90.44%;
	descent-override: 22.52%;
	line-gap-override: 0%;
	size-adjust: 107.12%;
}

/* ---------- Alapok ---------- */
:root {
	--ink: var(--wp--preset--color--ink, #0f1a2e);
	--ink-soft: var(--wp--preset--color--ink-soft, #3b4760);
	--muted: var(--wp--preset--color--muted, #5d6982);
	--line: var(--wp--preset--color--line, #e3e8f0);
	--surface: var(--wp--preset--color--surface, #f5f7fb);
	--primary: var(--wp--preset--color--primary, #0e7c74);
	--primary-dark: var(--wp--preset--color--primary-dark, #0a5f59);
	--primary-soft: var(--wp--preset--color--primary-soft, #e3f4f2);
	--accent: var(--wp--preset--color--accent, #ef6b4a);
	--accent-soft: var(--wp--preset--color--accent-soft, #fdeee9);
	--radius: 14px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(15, 26, 46, .05), 0 8px 24px -8px rgba(15, 26, 46, .12);
	--shadow-lg: 0 2px 4px rgba(15, 26, 46, .04), 0 24px 48px -16px rgba(15, 26, 46, .22);
	--gutter: clamp(1rem, 4vw, 2rem);
	--header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--wp--preset--font-family--body); font-size: var(--wp--preset--font-size--medium); line-height: 1.7; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--primary); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--primary-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 750; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .6em; text-wrap: balance; }
p { margin: 0 0 1.15em; }
.icon { flex: none; vertical-align: middle; }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { left: 8px; color: #fff; }

.container { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(760px + 2 * var(--gutter)); }

/* ---------- Gombok ---------- */
.btn, .wp-block-button__link, .wpcf7-submit, .comment-form .submit {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	padding: .8rem 1.4rem; border-radius: var(--radius-sm); border: 2px solid transparent;
	font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn--primary, .wp-block-button__link, .wpcf7-submit, .comment-form .submit { background: var(--primary); color: #fff; }
.btn--primary:hover, .wp-block-button__link:hover, .wpcf7-submit:hover, .comment-form .submit:hover { background: var(--primary-dark); color: #fff; }
.btn--ghost, .is-style-ghost .wp-block-button__link { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover, .is-style-ghost .wp-block-button__link:hover { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--accent { background: var(--accent); color: #fff; }
.btn:active, .wp-block-button__link:active { transform: translateY(1px); }

.chip { display: inline-block; padding: .2rem .65rem; border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark); font-size: .8rem; font-weight: 650; text-decoration: none; letter-spacing: .01em; }
a.chip:hover { background: var(--primary); color: #fff; }

/* ---------- Fejléc ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--primary) 0%, #11a397 100%); color: #fff; font-weight: 800; font-size: 1rem; letter-spacing: -.03em; box-shadow: 0 6px 14px -6px rgba(14, 124, 116, .6); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 750; font-size: 1.05rem; letter-spacing: -.01em; }
.brand__tag { font-size: .8rem; color: var(--muted); }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__tag { color: #a9b4c8; }

.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.menu { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu a { display: block; padding: .55rem .8rem; border-radius: 8px; color: var(--ink-soft); font-weight: 550; font-size: .97rem; text-decoration: none; }
.menu a:hover, .menu .current-menu-item > a, .menu .current-menu-ancestor > a, .menu .current_page_parent > a { color: var(--ink); background: var(--surface); }
.menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: .45em; height: .45em; margin-left: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.2em) rotate(45deg); opacity: .6; }
.menu .sub-menu { position: absolute; left: 0; top: calc(100% + 6px); min-width: 300px; list-style: none; margin: 0; padding: .5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.menu .sub-menu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.menu li:hover > .sub-menu, .menu li:focus-within > .sub-menu, .menu li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.menu .sub-menu a { padding: .6rem .8rem; }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; color: var(--ink); cursor: pointer; border-radius: 8px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: inline; }

@media (max-width: 1020px) {
	.nav-toggle { display: inline-flex; }
	.site-nav { position: fixed; inset: var(--header-h) 0 0; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem var(--gutter) 2rem; background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .2s ease; visibility: hidden; }
	.admin-bar .site-nav { inset-block-start: calc(var(--header-h) + 46px); }
	.nav-open .site-nav { transform: none; visibility: visible; }
	.menu { flex-direction: column; align-items: stretch; }
	.menu a { padding: .85rem .5rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.menu .menu-item-has-children > a::after { display: none; }
	.menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; }
	.site-nav__cta { width: 100%; }
}

/* ---------- Oldal- és cikkfejléc ---------- */
.page-header { padding: clamp(1rem, 2.5vw, 1.75rem) 0 clamp(1.25rem, 2.5vw, 2rem); background: linear-gradient(180deg, var(--surface) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.page-header__title { font-size: var(--wp--preset--font-size--xx-large); max-width: 28ch; margin-bottom: .4em; }
.page-header__lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; margin: 0; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--primary); text-decoration: underline; }

.article__header { padding: clamp(1rem, 2.5vw, 1.75rem) 0 1.5rem; }
.article__title { font-size: var(--wp--preset--font-size--xx-large); margin: .7rem 0 1rem; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; color: var(--muted); font-size: .9rem; }
.post-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.post-meta__author { color: var(--ink); font-weight: 600; }
.post-meta .avatar { border-radius: 50%; margin-right: .2rem; }
.article__hero { margin: 0 auto 2.5rem; }
.article__hero img { display: block; width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); }

.article__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.article__layout { justify-content: center; }
.article__layout:not(.has-toc) { max-width: calc(760px + 2 * var(--gutter)); }
.article__layout:not(.has-toc) > .article__aside { display: none; }
.article__header .article__layout { gap: 0 4rem; }
@media (min-width: 1100px) {
	.article__layout.has-toc { grid-template-columns: 240px minmax(0, 760px); gap: 0 4rem; }
	.article__aside { order: 0; }
	.article__aside .toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
}
@media (max-width: 1099px) { .article__layout { max-width: calc(760px + 2 * var(--gutter)); } .article__header .article__aside { display: none; } }

.toc { font-size: .9rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; background: var(--surface); }
.toc__title { font-weight: 700; margin: 0 0 .5rem; text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; color: var(--muted); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: .3rem .5rem; border-left: 2px solid transparent; color: var(--ink-soft); text-decoration: none; line-height: 1.4; }
.toc a:hover { color: var(--primary); }
.toc a[aria-current] { color: var(--primary-dark); border-left-color: var(--primary); font-weight: 600; }
.toc__l3 a { padding-left: 1.25rem; font-size: .85rem; }

.notice { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 2rem; font-size: .95rem; }
.notice p { margin: 0; }
.notice--outdated { background: var(--accent-soft); color: #7a2d18; }
.notice--outdated .icon { color: var(--accent); margin-top: .15rem; }
.notice--outdated a { color: #7a2d18; font-weight: 600; }

/* ---------- Cikktartalom ---------- */
.entry-content { font-size: 1.0625rem; }
.entry-content > * { margin-top: 0; margin-bottom: 1.2em; }
.entry-content h2 { font-size: var(--wp--preset--font-size--x-large); margin-top: 2.2em; }
.entry-content h3 { font-size: var(--wp--preset--font-size--large); margin-top: 1.8em; }
.entry-content h4 { font-size: 1.1rem; margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--primary); }
.entry-content strong, .entry-content b { font-weight: 650; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption, .wp-caption-text { font-size: .875rem; color: var(--muted); text-align: center; margin-top: .5rem; }
.entry-content .wp-caption { max-width: 100%; }
.entry-content blockquote { margin-inline: 0; padding: .25rem 0 .25rem 1.25rem; border-left: 4px solid var(--primary); color: var(--ink-soft); font-size: 1.1rem; }
.entry-content code { font-family: var(--wp--preset--font-family--mono); font-size: .88em; background: var(--surface); border: 1px solid var(--line); padding: .1em .35em; border-radius: 6px; word-break: break-word; }
.entry-content pre { background: #0f1a2e; color: #e6edf7; padding: 1rem 1.25rem; border-radius: var(--radius-sm); overflow-x: auto; font-size: .9rem; line-height: 1.6; }
.entry-content pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.entry-content th { background: var(--surface); }
.entry-content iframe { border-radius: var(--radius-sm); }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.entry-content .aligncenter { display: block; margin-inline: auto; }
@media (min-width: 700px) {
	.entry-content .alignleft { float: left; margin: .3em 1.5em 1em 0; max-width: 45%; }
	.entry-content .alignright { float: right; margin: .3em 0 1em 1.5em; max-width: 45%; }
}
.entry-content::after { content: ""; display: table; clear: both; }

/* Blokkstílusok */
.is-style-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.is-style-callout { background: var(--primary-soft); border-radius: var(--radius); padding: 1.25rem 1.5rem; border-left: 4px solid var(--primary); }
.is-style-warning { background: var(--accent-soft); border-radius: var(--radius); padding: 1.25rem 1.5rem; border-left: 4px solid var(--accent); }
.is-style-callout > :last-child, .is-style-warning > :last-child, .is-style-card > :last-child { margin-bottom: 0; }
ul.is-style-checks { list-style: none; padding-left: 0; }
ul.is-style-checks li { position: relative; padding-left: 1.9em; }
ul.is-style-checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.2em; height: 1.2em; border-radius: 50%; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c74' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 65% no-repeat; }

.wp-block-details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0; margin-bottom: .75rem !important; background: #fff; }
.wp-block-details summary { cursor: pointer; padding: 1rem 3rem 1rem 1.2rem; font-weight: 650; list-style: none; position: relative; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--primary); }
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details > :not(summary) { padding: 0 1.2rem; }
.wp-block-details > :last-child { padding-bottom: 1rem; margin-bottom: 0; }

/* ---------- Szerző, CTA, címkék ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 2.5rem 0 0; }
.tag-list a { display: inline-block; font-size: .85rem; color: var(--muted); text-decoration: none; padding: .2rem .6rem; border: 1px solid var(--line); border-radius: 999px; }
.tag-list a:hover { color: var(--primary); border-color: var(--primary); }

.author-box { display: flex; gap: 1.25rem; align-items: flex-start; margin: 2.5rem 0 0; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); }
.author-box .avatar { border-radius: 50%; flex: none; }
.author-box p { margin: 0 0 .5rem; font-size: .95rem; }
.author-box__name { font-weight: 750; font-size: 1.1rem !important; }
.author-box__role { color: var(--primary-dark); font-weight: 600; }
@media (max-width: 560px) { .author-box { flex-direction: column; } }

.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; margin: 2rem 0 0; padding: 1.75rem; border-radius: var(--radius); background: var(--ink); color: #dfe6f2; }
.cta-box p { margin: 0; }
.cta-box__title { color: #fff; font-weight: 750; font-size: 1.3rem; margin-bottom: .3rem !important; }
.cta-box__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-box .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.cta-box .btn--ghost:hover { border-color: #fff; color: #fff; }

/* ---------- Kártyák (blog) ---------- */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section--surface { background: var(--surface); }
.section__title { font-size: var(--wp--preset--font-size--x-large); margin-bottom: 1.5rem; }

.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card__media { display: block; aspect-ratio: 40 / 21; background: var(--surface); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.card:hover .card__media img { transform: scale(1.03); }
.card__placeholder { display: grid; place-items: center; height: 100%; color: var(--primary); background: linear-gradient(135deg, var(--primary-soft), #fff); }
.card__body { display: flex; flex-direction: column; gap: .6rem; padding: 1.25rem 1.35rem 1.4rem; flex: 1; }
.card__body .chip { align-self: flex-start; }
.card__title { font-size: 1.15rem; margin: 0; line-height: 1.35; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card__title a:hover { color: var(--primary); }
.card__excerpt { color: var(--muted); font-size: .95rem; margin: 0; }
.card__meta { display: flex; gap: 1rem; margin-top: auto; padding-top: .5rem; font-size: .82rem; color: var(--muted); }

.cat-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.cat-filter a { padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-soft); font-size: .9rem; font-weight: 550; text-decoration: none; }
.cat-filter a:hover { border-color: var(--primary); color: var(--primary); }
.cat-filter a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }

.search-form { display: flex; align-items: center; gap: .5rem; max-width: 520px; margin-top: 1.25rem; padding: .35rem .35rem .35rem .9rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.search-form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.search-form .icon { color: var(--muted); }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; padding: .5rem 0; background: transparent; }
.search-form .btn { padding: .6rem 1rem; }

.pagination, .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 2.5rem; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .8rem; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 550; }
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
a.page-numbers:hover { border-color: var(--primary); color: var(--primary); }
.page-numbers.dots { border: 0; }

/* ---------- Hozzászólások ---------- */
.comments { padding: 3rem 0 4rem; }
.comments__title, .comment-reply-title { font-size: var(--wp--preset--font-size--large); }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { padding-left: clamp(1rem, 4vw, 2.5rem); }
.comment-body { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: .6rem; font-weight: 650; }
.comment-author .avatar { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { font-size: .82rem; margin: .2rem 0 .6rem 3.4rem; }
.comment-metadata a { color: var(--muted); text-decoration: none; }
.comment-content { padding-left: 3.4rem; }
.comment-content p:last-child { margin: 0; }
.reply { padding-left: 3.4rem; font-size: .85rem; }
.bypostauthor > .comment-body .comment-author::after { content: "Szerző"; font-size: .7rem; font-weight: 700; background: var(--primary-soft); color: var(--primary-dark); padding: .1rem .5rem; border-radius: 999px; }
.comment-respond { margin-top: 2.5rem; }
.comment-form label, .wpcf7 label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea,
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"], .wpcf7 input[type="number"], .wpcf7 select, .wpcf7 textarea {
	width: 100%; padding: .75rem .9rem; font: inherit; color: var(--ink); background: #fff; border: 1px solid #cfd7e3; border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s;
}
.comment-form input:focus, .comment-form textarea:focus, .wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.comment-form p, .wpcf7 p { margin-bottom: 1rem; }
.comment-form-cookies-consent { display: flex; gap: .5rem; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }
.comment-notes { color: var(--muted); font-size: .9rem; }

/* ---------- Lábléc ---------- */
.site-footer { background: var(--ink); color: #b8c3d6; font-size: .95rem; padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-footer a { color: #dfe6f2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1.4fr 1fr 1fr 1fr; padding-bottom: 3rem; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__about p { margin: 1.25rem 0; max-width: 36ch; }
.site-footer__title { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-menu, .contact-list, .legal-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: .55rem; }
.contact-list li { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.contact-list .icon { color: #5fd4c8; }
.site-footer__legal { line-height: 1.8; margin: 0; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.site-footer__bottom p { margin: 0; }
.legal-menu { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; }
.notfound__code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; line-height: 1; margin: 0; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound .search-form { margin: 1.5rem auto; }
.notfound .btn { margin: .25rem; }

/* =========================================================
   Főoldal és szolgáltatás-oldalak szekciói (blokk className-ekkel)
   ========================================================= */
.entry-content--front > *, .page-article .entry-content > .alignfull { margin-bottom: 0; }
.page-article .entry-content { padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.page-article .entry-content:not(:has(> .alignfull:first-child)) { padding-top: clamp(2rem, 4vw, 3rem); }
/* Úsztatott képek a 760px-es tartalomsávon belül maradjanak. */
@media (min-width: 700px) {
	.is-layout-constrained > .alignright { float: right; margin: .3em max(0px, calc((100% - 760px) / 2)) 1em 2rem !important; max-width: 40%; }
	.is-layout-constrained > .alignleft { float: left; margin: .3em 2rem 1em max(0px, calc((100% - 760px) / 2)) !important; max-width: 40%; }
}
.is-layout-constrained > .alignright img, .is-layout-constrained > .alignleft img { border-radius: var(--radius); }
.entry-content > .alignfull { margin-inline: 0; max-width: none; }
.entry-content > .alignwide { max-width: 1200px; margin-inline: auto; }
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
.is-layout-constrained > .alignwide { max-width: 1200px; }
.is-layout-constrained { padding-inline: var(--gutter); }
.is-layout-constrained > .alignfull { margin-inline: calc(-1 * var(--gutter)) !important; }

.pkn-section { padding: clamp(3rem, 7vw, 5.5rem) var(--gutter); }
.pkn-section.is-surface { background: var(--surface); }
.pkn-section.is-dark { background: var(--ink); color: #c9d3e3; }
.pkn-section.is-dark h2, .pkn-section.is-dark h3 { color: #fff; }
.pkn-section > * { max-width: 1200px; margin-inline: auto; }
.pkn-section > p, .pkn-section > h2, .pkn-section > .pkn-eyebrow { max-width: 760px; }
.pkn-section.is-centered > h2, .pkn-section.is-centered > p, .pkn-section.is-centered > .pkn-eyebrow { text-align: center; }
.pkn-section > h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); }
.entry-content .pkn-section h2, .entry-content .pkn-section h3, .entry-content .pkn-hero h1, .entry-content .pkn-cta h2 { margin-top: 0; }
.pkn-section > *, .pkn-hero > *, .pkn-cta > * { margin-block-start: 0; }
.pkn-section > h2 { margin-bottom: 1rem; }
.pkn-section > .pkn-lead { margin-bottom: 0; }
.pkn-eyebrow { display: block; font-size: .8rem !important; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); margin-bottom: .75rem !important; }
.is-dark .pkn-eyebrow { color: #5fd4c8; }
.pkn-lead { font-size: 1.15rem; color: var(--ink-soft); }

/* Hero */
.pkn-hero { position: relative; overflow: hidden; padding: clamp(1.75rem, 4.5vw, 3.5rem) var(--gutter) clamp(3rem, 7vw, 5.5rem); background:
	radial-gradient(1000px 500px at 85% -10%, rgba(14, 124, 116, .14), transparent 60%),
	radial-gradient(700px 400px at -10% 110%, rgba(239, 107, 74, .10), transparent 60%),
	linear-gradient(180deg, #f7fafc 0%, #fff 100%); }
.pkn-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(15, 26, 46, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 26, 46, .045) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); pointer-events: none; }
/* A %-os padding a (gutterrel szűkebb) szülőhöz mér, ezért adjuk hozzá a guttert. */
.pkn-hero { padding-inline: max(var(--gutter), calc((100% - 1200px) / 2 + var(--gutter))); }
.pkn-hero > * { position: relative; margin-inline: 0 !important; }
.pkn-hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); line-height: 1.06; letter-spacing: -.035em; max-width: 17ch; margin: 0 0 1.25rem; }
.pkn-hero h1 mark, .pkn-hero h1 .pkn-hl { background: none; color: var(--primary); }
.pkn-hero .pkn-lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); max-width: 56ch; margin-bottom: 2rem; }
.pkn-hero .wp-block-buttons { gap: .75rem; margin-bottom: 2.75rem; }
.pkn-badge { display: inline-flex !important; align-items: center; gap: .5rem; padding: .35rem .85rem .35rem .4rem; margin-bottom: 1.5rem !important; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .88rem !important; font-weight: 600; color: var(--ink-soft); }
.pkn-badge strong { white-space: nowrap; background: var(--accent); color: #fff; border-radius: 999px; padding: .1rem .6rem; font-size: .78rem; }

.pkn-stats { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0 !important; margin: 0 auto !important; }
.pkn-stats li { margin: 0; padding: 1.1rem 1.2rem; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); border-radius: var(--radius); font-size: .9rem; color: var(--muted); line-height: 1.35; }
.pkn-stats li::marker { content: none; }
.pkn-stats strong { display: block; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; margin-bottom: .2rem; }
@media (max-width: 760px) { .pkn-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Szolgáltatás-rács */
.pkn-grid { display: grid !important; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2.5rem !important; text-align: left; }
@media (max-width: 960px) { .pkn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pkn-grid { grid-template-columns: minmax(0, 1fr); } }
.pkn-grid + .pkn-grid { margin-top: 1.25rem !important; }
.pkn-grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) {
	.pkn-service.is-featured:only-child { display: grid; grid-template-columns: auto 1fr auto; column-gap: 1.5rem; align-items: center; padding: 1.75rem 2rem; }
	.pkn-service.is-featured:only-child::before { grid-row: span 2; margin: 0; }
	.pkn-service.is-featured:only-child h3 { grid-column: 2; }
	.pkn-service.is-featured:only-child p:not(.pkn-more) { grid-column: 2; max-width: 70ch; }
	.pkn-service.is-featured:only-child p.pkn-more { grid-column: 3; grid-row: 1 / span 2; margin: 0; padding: 0; white-space: nowrap; }
}
.pkn-grid > * { margin: 0 !important; }
.pkn-service { position: relative; display: flex; flex-direction: column; padding: 1.6rem 1.5rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s, transform .2s; }
.pkn-service:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pkn-service h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
.pkn-service h3 a { color: var(--ink); text-decoration: none; }
.pkn-service h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pkn-service p { color: var(--muted); font-size: .95rem; margin: 0; }
.pkn-service p.pkn-more { margin-top: auto; padding-top: 1rem; color: var(--primary); font-weight: 650; font-size: .9rem; }
.pkn-service::before { content: ""; display: block; width: 48px; height: 48px; margin-bottom: 1.1rem; border-radius: 12px; background-color: var(--primary-soft); background-repeat: no-repeat; background-position: center; background-size: 24px; }
.pkn-service.is-featured { background: var(--ink); border-color: var(--ink); }
.pkn-service.is-featured h3 a { color: #fff; }
.pkn-service.is-featured p { color: #b8c3d6; }
.pkn-service.is-featured p.pkn-more { color: #5fd4c8; }
.pkn-service.is-featured::before { background-color: rgba(95, 212, 200, .15); }

/* Ikonok (Lucide, petrol színben) */
.pkn-ico-cart::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c74' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E"); }
.pkn-ico-code::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c74' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='16 18 22 12 16 6'/%3E%3Cpolyline points='8 6 2 12 8 18'/%3E%3C/svg%3E"); }
.pkn-ico-refresh::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c74' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3Cpath d='M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16'/%3E%3Cpath d='M16 16h5v5'/%3E%3C/svg%3E"); }
.pkn-ico-wrench::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c74' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E"); }
.pkn-ico-search::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c74' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E"); }
.pkn-ico-gauge::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c74' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 14 4-4'/%3E%3Cpath d='M3.34 19a10 10 0 1 1 17.32 0'/%3E%3C/svg%3E"); }
.pkn-ico-shield::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235fd4c8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }

/* Miért én – kétoszlopos */
.pkn-split { display: grid !important; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .pkn-split { grid-template-columns: 1fr 1fr; } }
.pkn-split > * { margin: 0 !important; }
.pkn-points { display: grid !important; gap: 1rem; }
.pkn-points > * { margin: 0 !important; }
.pkn-point { padding: 1.2rem 1.3rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.pkn-point h3 { font-size: 1.05rem; margin: 0 0 .3rem; }
.pkn-point p { margin: 0; font-size: .95rem; color: var(--muted); }
.is-dark .pkn-point { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.is-dark .pkn-point p { color: #a9b4c8; }
.is-dark .is-style-ghost .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .35); }
.is-dark .is-style-ghost .wp-block-button__link:hover { border-color: #fff; }

/* Folyamat lépései */
.pkn-steps { counter-reset: step; display: grid !important; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); list-style: none; padding: 0 !important; margin-top: 2.5rem !important; }
.pkn-steps li { counter-increment: step; position: relative; margin: 0; padding: 1.4rem 1.3rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: .95rem; color: var(--muted); }
.pkn-steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: .85rem; font-weight: 800; color: var(--accent); letter-spacing: .05em; margin-bottom: .6rem; }
.pkn-steps li strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: .3rem; }

/* Vélemények */
.reviews { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); margin-top: 2.5rem; }
.review { display: flex; flex-direction: column; margin: 0; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.review .icon { color: var(--primary); opacity: .35; margin-bottom: .5rem; }
.review blockquote { margin: 0 0 1rem; padding: 0; border: 0; font-size: .98rem; color: var(--ink-soft); }
.review blockquote p { margin: 0; }
.reviews { text-align: left; }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: .9rem; text-align: left; }
.review figcaption span { color: var(--muted); font-size: .82rem; }

/* Referencia-felhő */
.pkn-logos { display: flex !important; flex-wrap: wrap; justify-content: center; gap: .6rem; list-style: none; padding: 0 !important; margin-top: 2rem !important; }
.pkn-logos li { margin: 0; padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 550; color: var(--ink-soft); }
.pkn-logos li::marker { content: none; }
/* Kattintható referenciák: gombszerű hover-animáció. */
.pkn-logos--links li:has(a) { padding: 0; border: 0; background: none; }
.pkn-logos--links a { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-soft); text-decoration: none; transition: background-color .18s, border-color .18s, color .18s, transform .18s, box-shadow .18s; }
.pkn-logos--links a::after { content: "↗"; font-size: .8em; opacity: .45; transition: opacity .18s, transform .18s; }
.pkn-logos--links a:hover, .pkn-logos--links a:focus-visible { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgba(14, 124, 116, .55); }
.pkn-logos--links a:hover::after, .pkn-logos--links a:focus-visible::after { opacity: 1; transform: translate(2px, -2px); }
.pkn-logos--links a:active { transform: translateY(0); }

/* Árkártyák */
.pkn-prices { display: grid !important; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-top: 2.5rem !important; }
.pkn-prices > * { margin: 0 !important; }
.pkn-price { padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.pkn-price h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.pkn-price .pkn-price__value { font-size: 1.7rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin-bottom: .1rem; line-height: 1.2; }
.pkn-price .pkn-price__vat { font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: .75rem; }
.pkn-price p { font-size: .93rem; color: var(--muted); margin-bottom: 0; }
.pkn-price.is-featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }

/* CTA sáv */
.pkn-cta { padding: clamp(3rem, 7vw, 5rem) var(--gutter); background: linear-gradient(135deg, #0f1a2e 0%, #13324a 60%, #0e5f5a 100%); color: #c9d3e3; text-align: center; }
.pkn-cta > * { max-width: 760px; margin-inline: auto; }
.pkn-cta h2 { color: #fff; font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.pkn-cta p { font-size: 1.1rem; }
.pkn-cta .wp-block-buttons { justify-content: center; gap: .75rem; margin-top: 1.75rem; }
.pkn-cta .is-style-ghost .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .35); }
.pkn-cta .is-style-ghost .wp-block-button__link:hover { border-color: #fff; }
.pkn-cta .wp-block-button:not(.is-style-ghost) .wp-block-button__link { background: var(--accent); }
.pkn-cta .wp-block-button:not(.is-style-ghost) .wp-block-button__link:hover { background: #d9552f; }

/* GYIK */
.pkn-faq { max-width: 860px !important; margin-top: 2rem !important; }

/* Főoldali cikkek */
.pkn-section .cards { margin-top: 2.5rem; }
.pkn-section .wp-block-buttons { margin-top: 2rem; }
.pkn-section.is-centered .wp-block-buttons { justify-content: center; }

/* Kapcsolati sor */
.pkn-contact-cards { display: grid !important; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.pkn-contact-cards > * { margin: 0 !important; }

/* Régi tartalmak sorkizárása (blokk-attribútumban vagy inline stílusban) → balra zárt. */
.entry-content .has-text-align-justify, .entry-content [style*="justify"] { text-align: left !important; }

/* ---------- Süti-sáv ---------- */
.consent { position: fixed; z-index: 100; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-inline: auto; padding: 1.1rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: .9rem; color: var(--ink-soft); }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 .9rem; }
.consent__actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.consent .btn { padding: .6rem 1rem; font-size: .9rem; }
@media (min-width: 900px) { .consent { left: 24px; right: auto; bottom: 24px; } }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: #dfe6f2; cursor: pointer; text-decoration: underline; text-underline-offset: .18em; }
.linklike:hover { color: #fff; }
