/*
Theme Name: RoboSchool Kiber-labor
Theme URI: https://roboschool.hu/
Description: Egyedi, egyoldalas sablon a RoboSchool számára – „Kiber-labor” (világosabb kék) dizájn. A szövegek a Megjelenés → Testreszabás → Kiber-labor tartalom alatt szerkeszthetők. Külső betöltés nélkül: a betűtípusok a sablon saját mappájából jönnek, a videók csak kattintásra töltődnek be.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Author: RoboSchool
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: roboschool-kiberlabor
*/

:root {
	--rsk-bg: #1A2657;
	--rsk-bg-base: #22316E;
	--rsk-bg-shade: rgba(18, 27, 64, .5);
	--rsk-grid: #32468A;
	--rsk-panel: #354A92;
	--rsk-panel-dark: #1C2A60;
	--rsk-panel-deep: #16224F;
	--rsk-input: #24356F;
	--rsk-track: #26386F;
	--rsk-line: #5770C4;
	--rsk-border: #7F98E8;
	--rsk-text: #E8F1FF;
	--rsk-muted: #E4EBFF;
	--rsk-label: #C4D0F5;
	--rsk-ink: #0B1026;
	--rsk-navtext: #16233A;
	--rsk-cyan: #3DF2FF;
	--rsk-cyan-soft: #A8FAFF;
	--rsk-pink: #FF86E6;
	--rsk-lime: #B6FF3B;
	--rsk-yellow: #FFD166;
	--rsk-glow: #22377A;
	--rsk-accent: #3DF2FF;
	--rsk-nav-hover: #FFD166;
	--rsk-font-body: Nunito, system-ui, -apple-system, "Segoe UI", sans-serif;
	--rsk-font-head: "Chakra Petch", "Segoe UI", sans-serif;
	--rsk-font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	font-family: var(--rsk-font-body);
	font-size: 16px;
	line-height: 1.5;
	color: var(--rsk-text);
	background-color: var(--rsk-bg-base);
	background-image:
		linear-gradient(var(--rsk-bg-shade), var(--rsk-bg-shade)),
		url(assets/circuit.svg),
		linear-gradient(var(--rsk-grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--rsk-grid) 1px, transparent 1px);
	background-size: auto, 320px 320px, 40px 40px, 40px 40px;
	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; }
a { color: var(--rsk-cyan); }
a:hover { color: var(--rsk-cyan-soft); }
:focus-visible { outline: 3px solid var(--rsk-lime); outline-offset: 3px; }

.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:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	left: 12px; top: 12px; z-index: 100000; padding: 12px 18px;
	background: #fff; color: var(--rsk-navtext); font-weight: 800; border-radius: 10px;
}

/* ---------- animációk ---------- */
@keyframes rsk-scan { 0% { transform: translateY(0); } 100% { transform: translateY(300px); } }
@keyframes rsk-hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes rsk-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.scan { animation: rsk-scan 2.8s linear infinite alternate; }
.hov { animation: rsk-hover 3.2s ease-in-out infinite; }
.pulse { animation: rsk-pulse 1.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .scan, .hov, .pulse { animation: none; } }

/* ---------- elrendezés ---------- */
.rsk-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.rsk-section { max-width: 1200px; margin: 0 auto; padding: 0 24px 96px; scroll-margin-top: 16px; }
.rsk-kicker { font-family: var(--rsk-font-mono); font-size: 14px; color: var(--rsk-pink); }
.rsk-h2 {
	margin: 0; font-family: var(--rsk-font-head); font-weight: 700;
	font-size: clamp(34px, 4.2vw, 52px); line-height: 1.05;
}
.rsk-h2--sm { font-size: clamp(32px, 4vw, 48px); }
.rsk-lead { margin: 0; font-size: 18px; line-height: 1.7; color: var(--rsk-muted); }
.rsk-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 40px; }
.rsk-card {
	background: var(--rsk-panel); border: 2px solid var(--rsk-border);
	box-shadow: 0 6px 0 var(--rsk-panel-dark); border-radius: 16px;
}

/* ---------- fejléc ---------- */
.rsk-header { background: var(--rsk-bg); border-bottom: 1px solid var(--rsk-line); position: relative; z-index: 50; }
.rsk-header__inner {
	max-width: 1200px; margin: 0 auto; padding: 16px 24px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.rsk-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--rsk-text); }
.rsk-brand:hover { color: var(--rsk-text); }
.rsk-brand__text { font-family: var(--rsk-font-head); font-weight: 700; font-size: 26px; letter-spacing: .06em; line-height: 1; }
.rsk-brand__text span { color: var(--rsk-cyan); }
.rsk-brand .custom-logo { max-height: 48px; width: auto; }

.rsk-nav ul {
	list-style: none; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
	background: #fff; border-radius: 999px; padding: 6px; box-shadow: 0 2px 0 var(--rsk-line);
	font-size: 16px;
}
.rsk-nav li { margin: 0; }
.rsk-nav a {
	display: block; text-decoration: none; color: var(--rsk-navtext); font-weight: 800;
	padding: 10px 14px; border-radius: 999px; transition: background .15s;
}
.rsk-nav .rsk-cta > a { background: var(--rsk-accent); padding: 10px 18px; }
.rsk-nav a:hover, .rsk-nav a:focus-visible,
.rsk-nav .rsk-cta > a:hover, .rsk-nav .rsk-cta > a:focus-visible { background: var(--rsk-nav-hover); color: var(--rsk-navtext); }

.rsk-menu-toggle {
	display: none; align-items: center; gap: 10px; cursor: pointer;
	font-family: var(--rsk-font-head); font-weight: 700; font-size: 16px; letter-spacing: .06em;
	color: var(--rsk-ink); background: var(--rsk-accent); border: 0; border-radius: 12px;
	padding: 10px 16px; min-height: 44px;
}
.rsk-menu-toggle__bars, .rsk-menu-toggle__bars::before, .rsk-menu-toggle__bars::after {
	display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
}
.rsk-menu-toggle__bars::before, .rsk-menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.rsk-menu-toggle__bars::before { top: -6px; }
.rsk-menu-toggle__bars::after { top: 6px; }

@media (max-width: 860px) {
	.js .rsk-menu-toggle { display: inline-flex; }
	.js .rsk-nav { display: none; width: 100%; }
	.js .rsk-nav.is-open { display: block; }
	.rsk-nav ul { flex-direction: column; align-items: stretch; border-radius: 20px; padding: 8px; }
	.rsk-nav a { padding: 12px 16px; border-radius: 14px; }
	.rsk-nav .rsk-cta > a { text-align: center; }
}

/* ---------- gombok ---------- */
.rsk-btn {
	display: inline-block; text-decoration: none; font-family: var(--rsk-font-head); font-weight: 700;
	font-size: 20px; line-height: 1.2; padding: 15px 26px; border-radius: 12px; transition: transform .15s, filter .15s;
}
.rsk-btn:hover { transform: translateY(-2px); }
.rsk-btn--primary { color: var(--rsk-ink); background: var(--rsk-accent); box-shadow: 0 0 28px var(--rsk-accent); }
.rsk-btn--primary:hover { color: var(--rsk-ink); filter: brightness(1.06); }
.rsk-btn--ghost { color: var(--rsk-text); border: 2px solid var(--rsk-border); background: var(--rsk-panel-dark); }
.rsk-btn--ghost:hover { color: var(--rsk-text); border-color: var(--rsk-cyan); }
@media (prefers-reduced-motion: reduce) { .rsk-btn:hover { transform: none; } }

/* ---------- hero ---------- */
.rsk-hero {
	max-width: 1200px; margin: 0 auto; padding: 72px 24px 80px;
	display: flex; flex-wrap: wrap; align-items: center; gap: 48px;
}
.rsk-hero__text { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.rsk-badge {
	align-self: flex-start; font-family: var(--rsk-font-mono); font-size: 14px; color: var(--rsk-lime);
	background: var(--rsk-panel-dark); border: 2px solid var(--rsk-lime); border-radius: 8px; padding: 6px 12px;
}
.rsk-hero h1 {
	margin: 0; font-family: var(--rsk-font-head); font-weight: 700;
	font-size: clamp(44px, 6.2vw, 80px); line-height: 1.02;
}
.rsk-hero h1 span { color: var(--rsk-cyan); text-shadow: 0 0 24px #1A3F80; }
.rsk-hero__lead { margin: 0; font-size: 20px; line-height: 1.6; max-width: 560px; color: var(--rsk-muted); }
.rsk-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.rsk-hero__visual { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.rsk-scanner {
	position: relative; width: 100%; max-width: 440px; aspect-ratio: 1 / 1.05; overflow: hidden;
	background: var(--rsk-panel-dark); border-radius: 14px;
}
.rsk-scanner__corner { position: absolute; width: 44px; height: 44px; border: 0 solid var(--rsk-cyan); }
.rsk-scanner__corner--tl { left: 0; top: 0; border-left-width: 3px; border-top-width: 3px; }
.rsk-scanner__corner--tr { right: 0; top: 0; border-right-width: 3px; border-top-width: 3px; }
.rsk-scanner__corner--bl { left: 0; bottom: 0; border-left-width: 3px; border-bottom-width: 3px; }
.rsk-scanner__corner--br { right: 0; bottom: 0; border-right-width: 3px; border-bottom-width: 3px; }
.rsk-scanner__line {
	position: absolute; left: 6%; right: 6%; top: 40px; height: 3px;
	background: var(--rsk-pink); box-shadow: 0 0 16px var(--rsk-pink);
}
.rsk-scanner__label { position: absolute; font-family: var(--rsk-font-mono); font-size: 12px; }
.rsk-scanner__label--tl { left: 18px; top: 16px; color: var(--rsk-cyan); }
.rsk-scanner__label--br { right: 18px; bottom: 16px; color: var(--rsk-lime); }
.rsk-scanner__robot { position: absolute; left: 10%; top: 8%; width: 80%; height: auto; }

/* ---------- számok ---------- */
.rsk-stats { max-width: 1200px; margin: 0 auto; padding: 0 24px 88px; }
.rsk-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.rsk-stat { padding: 20px 22px; }
.rsk-stat__label { font-family: var(--rsk-font-mono); font-size: 13px; color: var(--rsk-label); }
.rsk-stat__value { font-family: var(--rsk-font-head); font-weight: 700; font-size: 52px; line-height: 1.1; }

/* ---------- célunk ---------- */
.rsk-about { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.rsk-about__media {
	flex: 1 1 360px; min-width: 0; position: relative; aspect-ratio: 4 / 3; margin: 0;
	background: var(--rsk-panel); border: 2px solid var(--rsk-cyan); border-radius: 24px;
	box-shadow: 0 0 40px var(--rsk-glow); overflow: hidden;
}
.rsk-about__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rsk-about__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.rsk-tags { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--rsk-font-mono); font-size: 14px; }
.rsk-tag {
	background: var(--rsk-panel-dark); border: 2px solid currentColor; border-radius: 8px;
	box-shadow: 0 3px 0 var(--rsk-panel-deep); padding: 8px 12px;
}

/* ---------- modulok ---------- */
.rsk-modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.rsk-module { border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.rsk-module__top { display: flex; align-items: center; justify-content: space-between; }
.rsk-module__icon { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; position: relative; }
.rsk-module__icon svg:first-child { position: absolute; inset: 0; }
.rsk-module__icon svg:last-child { position: relative; }
.rsk-module__num { font-family: var(--rsk-font-mono); font-size: 13px; color: var(--rsk-label); }
.rsk-module h3 { margin: 0; font-family: var(--rsk-font-head); font-weight: 700; font-size: 22px; line-height: 1.2; }
.rsk-module p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--rsk-muted); flex: 1; }
.rsk-module__bar { height: 6px; border-radius: 3px; background: var(--rsk-track); }
.rsk-module__bar span { display: block; width: 100%; height: 100%; border-radius: 3px; background: currentColor; }

/* ---------- fejlesztés ---------- */
.rsk-protocol { border-radius: 28px; padding: clamp(28px, 5vw, 52px); display: flex; flex-direction: column; gap: 32px; }
.rsk-protocol .rsk-head { margin-bottom: 0; }
.rsk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.rsk-step { border-top: 3px solid currentColor; padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.rsk-step__num { font-family: var(--rsk-font-mono); font-weight: 700; }
.rsk-step__title { font-family: var(--rsk-font-head); font-weight: 700; font-size: 20px; color: var(--rsk-text); }
.rsk-step__text { color: var(--rsk-muted); line-height: 1.55; }

/* ---------- videók ---------- */
.rsk-videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.rsk-video {
	position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden;
	background: var(--rsk-panel); border: 2px solid currentColor; box-shadow: 0 0 24px var(--rsk-glow);
}
.rsk-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rsk-video__btn {
	position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	font-family: var(--rsk-font-mono); font-size: 13px; color: var(--rsk-text);
	background: var(--rsk-panel) center / cover no-repeat;
}
.rsk-video__btn::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(28, 42, 96, .25), rgba(28, 42, 96, .75));
}
.rsk-video__btn > * { position: relative; }
.rsk-video__play {
	width: 64px; height: 64px; border-radius: 50%; border: 2px solid currentColor;
	display: flex; align-items: center; justify-content: center; background: rgba(28, 42, 96, .75);
	transition: transform .15s;
}
.rsk-video__btn:hover .rsk-video__play { transform: scale(1.08); }
.rsk-video__label { background: rgba(11, 16, 38, .7); padding: 4px 10px; border-radius: 6px; }
.rsk-video__btn:focus-visible { outline-offset: -6px; }

/* ---------- kapcsolat ---------- */
.rsk-contact {
	scroll-margin-top: 16px;
	background: var(--rsk-panel); border: 2px solid var(--rsk-cyan); border-radius: 28px;
	box-shadow: 0 0 48px var(--rsk-glow); padding: clamp(28px, 5vw, 52px);
	display: flex; flex-wrap: wrap; gap: 40px;
}
.rsk-contact__info { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.rsk-contact__info a { font-weight: 800; font-size: 18px; }

/* Stilizált térkép-kártya */
.rsk-map {
	position: relative; display: block; border-radius: 18px; overflow: hidden;
	border: 2px solid var(--rsk-border); text-decoration: none; transition: border-color .15s, box-shadow .15s;
}
.rsk-map svg { display: block; width: 100%; height: auto; }
.rsk-map:hover, .rsk-map:focus-visible { border-color: var(--rsk-cyan); box-shadow: 0 0 24px rgba(61, 242, 255, .25); }
.rsk-map__cta {
	position: absolute; right: 14px; bottom: 14px; background: var(--rsk-accent); color: var(--rsk-ink);
	font-family: var(--rsk-font-head); font-weight: 700; font-size: 16px; padding: 10px 14px; border-radius: 10px;
	box-shadow: 0 0 18px var(--rsk-accent); transition: background .15s, box-shadow .15s;
}
.rsk-map:hover .rsk-map__cta, .rsk-map:focus-visible .rsk-map__cta { background: var(--rsk-nav-hover); box-shadow: 0 0 18px var(--rsk-nav-hover); }

/* Kapcsolati sorok */
.rsk-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rsk-contact-list li + li { border-top: 1px solid #4B62AE; }
.rsk-contact-list .rsk-contact-row {
	display: flex; align-items: center; gap: 14px; padding: 12px 0; min-height: 44px;
	color: var(--rsk-text); text-decoration: none; font-weight: 400; font-size: 16px;
}
.rsk-contact-list svg { flex: none; }
.rsk-contact-row__label { font-family: var(--rsk-font-mono); font-size: 12px; color: var(--rsk-label); width: 72px; flex: none; }
.rsk-contact-row__value { font-weight: 800; font-size: 17px; overflow-wrap: break-word; min-width: 0; transition: color .15s; }
@media (max-width: 600px) {
	.rsk-map__cta { position: static; display: block; text-align: center; border-radius: 0; box-shadow: none; }
	.rsk-contact-list .rsk-contact-row { gap: 10px; }
	.rsk-contact-row__label { width: 56px; font-size: 11px; }
	.rsk-contact-row__value { font-size: 16px; }
}
.rsk-contact-list a.rsk-contact-row:hover .rsk-contact-row__value,
.rsk-contact-list a.rsk-contact-row:focus-visible .rsk-contact-row__value { color: var(--rsk-cyan); }
.rsk-contact__form { flex: 1 1 460px; min-width: 0; }

/* Contact Form 7 a terv stílusában */
.rsk-contact__form .wpcf7-form { display: flex; flex-direction: column; gap: 14px; font-family: var(--rsk-font-mono); }
.rsk-contact__form .wpcf7-form p { margin: 0; }
.rsk-contact__form .wpcf7-form br { display: none; }
.rsk-contact__form .wpcf7-form > p:first-of-type {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
}
@media (max-width: 520px) {
	.rsk-contact__form .wpcf7-form > p:first-of-type { grid-template-columns: 1fr; }
}
.rsk-contact__form .wpcf7-form > p:first-of-type > label:last-of-type { grid-column: 1 / -1; order: 1; }
.rsk-contact__form .wpcf7-form > p:first-of-type > label:nth-last-of-type(2):nth-of-type(odd) { grid-column: 1 / -1; }
.rsk-contact__form .wpcf7-form > p:first-of-type > .wpcf7-form-control-wrap { grid-column: 1 / -1; order: 2; }
.rsk-contact__form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--rsk-label); }
.rsk-contact__form .wpcf7-form-control-wrap { display: block; }
.rsk-contact__form input[type="text"],
.rsk-contact__form input[type="email"],
.rsk-contact__form input[type="tel"],
.rsk-contact__form textarea {
	width: 100%; font: inherit; font-size: 16px; color: var(--rsk-text); background: var(--rsk-input);
	padding: 12px 14px; border: 2px solid var(--rsk-border); border-radius: 10px; min-height: 48px;
}
.rsk-contact__form textarea { resize: vertical; height: 120px; min-height: 96px; }
.rsk-contact__form input::placeholder, .rsk-contact__form textarea::placeholder { color: #A9B8E4; opacity: 1; }
.rsk-contact__form input:focus, .rsk-contact__form textarea:focus {
	outline: none; border-color: var(--rsk-cyan); box-shadow: 0 0 0 3px rgba(61, 242, 255, .25);
}
.rsk-contact__form .wpcf7-checkbox { display: block; }
.rsk-contact__form .wpcf7-list-item { margin: 0; display: flex; align-items: center; gap: 10px; }
.rsk-contact__form .wpcf7-list-item label { flex-direction: row; align-items: center; gap: 10px; }
.rsk-contact__form input[type="checkbox"] { width: 22px; height: 22px; margin: 0; accent-color: var(--rsk-cyan); flex: none; cursor: pointer; }
.rsk-contact__form .wpcf7-list-item-label { font-family: var(--rsk-font-body); font-weight: 800; font-size: 16px; color: var(--rsk-text); }
.rsk-contact__form .wpcf7-form > p:nth-of-type(2) { font-family: var(--rsk-font-body); font-size: 15px !important; color: var(--rsk-muted); }
.rsk-contact__form .wpcf7-form > p:last-of-type { display: flex; flex-direction: column; gap: 14px; }
.rsk-contact__form input[type="submit"] {
	font-family: var(--rsk-font-head); font-weight: 700; font-size: 20px; letter-spacing: .02em;
	background: var(--rsk-accent); color: var(--rsk-ink); border: none; border-radius: 12px;
	padding: 14px 24px; min-height: 54px; cursor: pointer; box-shadow: 0 0 24px var(--rsk-accent); width: 100%;
	white-space: normal;
}
.rsk-contact__form input[type="submit"] { transition: background .15s, box-shadow .15s; }
.rsk-contact__form input[type="submit"]:hover,
.rsk-contact__form input[type="submit"]:focus-visible { background: var(--rsk-nav-hover); box-shadow: 0 0 24px var(--rsk-nav-hover); }
.rsk-contact__form .wpcf7-spinner { margin: 0 auto; background-color: var(--rsk-cyan); }
.rsk-contact__form .wpcf7-not-valid-tip { color: var(--rsk-pink); font-size: 13px; margin-top: 4px; }
.rsk-contact__form .wpcf7 form .wpcf7-response-output {
	margin: 0; border-radius: 10px; padding: 12px 14px; font-family: var(--rsk-font-body); font-weight: 700;
	border: 2px solid var(--rsk-yellow); color: var(--rsk-text); background: var(--rsk-panel-dark);
}
.rsk-contact__form .wpcf7 form.sent .wpcf7-response-output { border-color: var(--rsk-lime); }
.rsk-contact__form .wpcf7 form.invalid .wpcf7-response-output,
.rsk-contact__form .wpcf7 form.failed .wpcf7-response-output,
.rsk-contact__form .wpcf7 form.spam .wpcf7-response-output { border-color: var(--rsk-pink); }

/* ---------- lábléc ---------- */
.rsk-footer { border-top: 1px solid var(--rsk-line); background: var(--rsk-bg); }
.rsk-footer__inner {
	max-width: 1200px; margin: 0 auto; padding: 24px; display: flex; flex-wrap: wrap;
	justify-content: space-between; gap: 12px; font-family: var(--rsk-font-mono); font-size: 14px; color: var(--rsk-label);
}
.rsk-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- belső oldalak ---------- */
.rsk-page { max-width: 960px; margin: 0 auto; padding: 64px 24px 96px; }
.rsk-page__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.rsk-page__head h1 { margin: 0; font-family: var(--rsk-font-head); font-weight: 700; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; }
.rsk-content { border-radius: 24px; padding: clamp(24px, 4vw, 48px); font-size: 17px; line-height: 1.7; color: var(--rsk-muted); }
.rsk-content > :first-child { margin-top: 0; }
.rsk-content > :last-child { margin-bottom: 0; }
.rsk-content h2, .rsk-content h3, .rsk-content h4 { font-family: var(--rsk-font-head); color: var(--rsk-text); line-height: 1.2; margin: 1.8em 0 .6em; }
.rsk-content h2 { font-size: 30px; }
.rsk-content h3 { font-size: 24px; }
.rsk-content h3::before { content: "// "; font-family: var(--rsk-font-mono); font-size: .6em; color: var(--rsk-pink); vertical-align: middle; }
.rsk-content strong { color: var(--rsk-text); }
.rsk-content ul, .rsk-content ol { padding-left: 1.3em; }
.rsk-content li { margin: .3em 0; }
.rsk-content li::marker { color: var(--rsk-cyan); }
.rsk-content em { color: var(--rsk-label); }
.rsk-content table {
	display: block; overflow-x: auto; width: 100%; border-collapse: collapse; margin: 1.2em 0;
	font-size: 15px; line-height: 1.5;
}
.rsk-content th, .rsk-content td { border: 1px solid var(--rsk-line); padding: 10px 12px; text-align: left; vertical-align: top; min-width: 140px; }
.rsk-content th { background: var(--rsk-panel-dark); color: var(--rsk-text); font-family: var(--rsk-font-head); }
.rsk-content img { border-radius: 12px; }
.rsk-content .alignleft { float: left; margin: 0 1.5em 1em 0; }
.rsk-content .alignright { float: right; margin: 0 0 1em 1.5em; }
.rsk-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.rsk-content .wp-caption-text { font-size: 14px; color: var(--rsk-label); }

.rsk-posts { display: grid; gap: 18px; }
.rsk-post { padding: 24px; border-radius: 20px; }
.rsk-post h2 { margin: 0 0 8px; font-family: var(--rsk-font-head); font-size: 26px; }
.rsk-post h2 a { color: var(--rsk-text); text-decoration: none; }
.rsk-post h2 a:hover { color: var(--rsk-cyan); }
.rsk-post__meta { font-family: var(--rsk-font-mono); font-size: 13px; color: var(--rsk-label); }
.rsk-pagination { margin-top: 32px; font-family: var(--rsk-font-mono); }
.rsk-pagination .page-numbers { display: inline-block; padding: 6px 12px; border-radius: 8px; }
.rsk-pagination .current { background: var(--rsk-accent); color: var(--rsk-ink); }

/* ---------- vissza a tetejére ---------- */
.rsk-to-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 9998; width: 52px; height: 52px; padding: 0;
	border: 2px solid var(--rsk-ink); border-radius: 14px; cursor: pointer;
	background: var(--rsk-accent); color: var(--rsk-ink); box-shadow: 0 0 20px var(--rsk-accent);
	display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .25s, transform .25s, visibility .25s, bottom .2s;
}
.rsk-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.rsk-to-top svg { width: 24px; height: 24px; fill: currentColor; }
@media (max-width: 600px) { .rsk-to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; } }
@media (prefers-reduced-motion: reduce) { .rsk-to-top { transition: none; } }

/* ---------- mobil finomítások ---------- */
@media (max-width: 600px) {
	.rsk-hero { padding-top: 48px; padding-bottom: 56px; gap: 36px; }
	.rsk-hero__lead { font-size: 18px; }
	.rsk-btn { font-size: 18px; padding: 13px 20px; }
	.rsk-section { padding-bottom: 72px; }
	.rsk-stats { padding-bottom: 64px; }
	.rsk-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.rsk-stat { padding: 16px; }
	.rsk-stat__value { font-size: 42px; }
	.rsk-videos { grid-template-columns: 1fr; }
	.rsk-brand__text { font-size: 22px; }
}
@media (max-width: 420px) {
	.rsk-header__inner { padding-left: 16px; padding-right: 16px; gap: 10px; }
	.rsk-brand { gap: 8px; }
	.rsk-brand svg { width: 34px; height: 34px; }
	.rsk-brand__text { font-size: 19px; }
	.rsk-menu-toggle { padding: 8px 12px; font-size: 14px; gap: 8px; }
}
