/*
Theme Name:   Blocksy Child
Theme URI:    https://creativethemes.com/blocksy/
Description:  Child theme for Blocksy - Rendszergazda IT Szolgáltatások
Author:       Devin
Template:     blocksy
Version:      1.0.0
*/

:root {
	--rg-indigo: #4f46e5;
	--rg-indigo-dark: #3730a3;
	--rg-navy: #0f172a;
	--rg-slate: #475569;
	--rg-slate-light: #cbd5e1;
	--rg-border: #e2e8f0;
	--rg-bg: #f8fafc;
	--rg-radius: 14px;
	--rg-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.05);
	--rg-shadow-hover: 0 12px 32px rgba(15, 23, 42, 0.12);
}

/* ---------- Sections ---------- */

.rg-section {
	padding-top: clamp(56px, 7vw, 96px);
	padding-bottom: clamp(56px, 7vw, 96px);
}

.rg-section-gray {
	background: var(--rg-bg);
}

.rg-section h2,
.rg-section h3 {
	letter-spacing: -0.02em;
}

.rg-eyebrow {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	max-width: 100%;
	justify-self: start;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rg-indigo-dark);
	background: #eef2ff;
	border: 1px solid #e0e7ff;
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 16px;
}

.rg-eyebrow::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--rg-indigo);
	margin-right: 9px;
}

/* ---------- Hero ---------- */

.rg-hero {
	background:
		radial-gradient(820px 380px at 88% -8%, rgba(99, 102, 241, 0.16), transparent 60%),
		radial-gradient(680px 420px at 6% 112%, rgba(14, 165, 233, 0.13), transparent 60%),
		linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
	border-bottom: 1px solid var(--rg-border);
	border-top: 1px solid #dbe4ff;
	color: var(--rg-navy);
	padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 104px);
	position: relative;
	overflow: hidden;
}

.rg-hero h1 {
	color: var(--rg-navy);
	font-size: clamp(2.1rem, 4.6vw, 3.4rem);
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: -0.03em;
	margin: 0 0 20px;
}

.rg-grad {
	background: linear-gradient(92deg, var(--rg-indigo) 0%, #0ea5e9 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.rg-hero-slim {
	padding: clamp(48px, 7vw, 84px) 0;
}

/* Card-style hero (homepage): nearly full-width, close under the header */
.entry-content .rg-hero.rg-hero-card {
	margin-block-start: 14px;
	border: 1px solid #dbe4ff;
	border-radius: 22px;
	padding-left: clamp(24px, 4vw, 60px);
	padding-right: clamp(24px, 4vw, 64px);
	box-shadow: 0 18px 44px rgba(79, 70, 229, 0.10);
}
.entry-content > .rg-hero-card {
	max-width: none;
	margin-inline: 14px;
}

/* Remove the theme's content top spacing so the hero hugs the header */
.ct-container-full[data-vertical-spacing*="top"] {
	padding-top: 0;
}

.rg-hero .rg-hero-sub {
	color: var(--rg-slate);
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
	line-height: 1.65;
	max-width: 640px;
	margin: 0 0 32px;
}

.rg-hero .wp-block-button__link {
	font-weight: 600;
	padding: 14px 28px;
	border-radius: 10px;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.rg-hero .wp-block-button__link:hover {
	transform: translateY(-1px);
}

.rg-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--rg-indigo);
	box-shadow: 0 8px 20px rgba(79, 70, 229, 0.28);
}

.rg-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background: var(--rg-indigo-dark);
	box-shadow: 0 10px 26px rgba(79, 70, 229, 0.34);
}

.rg-hero .is-style-outline .wp-block-button__link {
	border: 1px solid #c7d2fe;
	background: #fff;
	color: var(--rg-navy);
}

.rg-hero .is-style-outline .wp-block-button__link:hover {
	background: #eef2ff;
	border-color: var(--rg-indigo);
	color: var(--rg-indigo);
}

/* ---------- Hero visual (dashboard) ---------- */

.rg-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(79, 70, 229, 0.10) 1px, transparent 1px);
	background-size: 24px 24px;
	-webkit-mask-image: radial-gradient(620px 320px at 55% 0%, #000 15%, transparent 75%);
	mask-image: radial-gradient(620px 320px at 55% 0%, #000 15%, transparent 75%);
	pointer-events: none;
}

.rg-hero-cols {
	gap: clamp(30px, 4vw, 60px);
}

.rg-hero-visual {
	position: relative;
	perspective: 1200px;
	padding: 8px 24px 34px;
}

.rg-dash {
	background: #fff;
	border: 1px solid var(--rg-border);
	border-radius: 16px;
	box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14), 0 4px 12px rgba(15, 23, 42, 0.06);
	transform: rotate(-1.5deg);
	transition: transform 0.3s ease;
}

.rg-dash:hover {
	transform: rotate(0deg);
}

.rg-dash-head {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 13px 16px;
	border-bottom: 1px solid var(--rg-border);
}

.rg-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #e2e8f0;
}

.rg-dot:nth-child(1) { background: #f87171; }
.rg-dot:nth-child(2) { background: #fbbf24; }
.rg-dot:nth-child(3) { background: #34d399; }

.rg-dash-title {
	margin-left: 8px;
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 0.78rem;
	color: var(--rg-slate);
}

.rg-dash-body {
	padding: 6px 16px 16px;
}

.rg-dash-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px dashed #eef2f7;
	font-size: 0.92rem;
}

.rg-status {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	flex-shrink: 0;
}

.rg-status-ok {
	background: #10b981;
	box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.rg-status-warn {
	background: #f59e0b;
	box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.rg-dash-label {
	color: var(--rg-navy);
	font-weight: 600;
}

.rg-dash-val {
	margin-left: auto;
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 0.8rem;
	color: var(--rg-slate);
}

.rg-dash-uptime {
	margin-top: 14px;
}

.rg-dash-uptime-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-size: 0.8rem;
	color: var(--rg-slate);
}

.rg-dash-uptime-head strong {
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	color: #10b981;
	font-size: 0.95rem;
}

.rg-dash-bars {
	display: flex;
	gap: 3px;
	margin-top: 8px;
}

.rg-dash-bars i {
	flex: 1;
	height: 26px;
	border-radius: 3px;
	background: #10b981;
	opacity: 0.85;
}

.rg-dash-bars i.warn { background: #f59e0b; }
.rg-dash-bars i.dim { opacity: 0.35; }

.rg-hero-chip {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid var(--rg-border);
	border-radius: 999px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
	padding: 9px 16px;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--rg-navy);
	white-space: nowrap;
}

.rg-hero-chip svg {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}

.rg-chip-1 {
	left: -4px;
	bottom: 8px;
}

.rg-chip-2 {
	right: 6px;
	top: -8px;
}

.rg-hero-proof {
	margin-top: 22px;
	font-size: 0.88rem;
	color: var(--rg-slate);
	font-weight: 500;
}

/* ---------- Trust bar ---------- */

/* Floating stat card overlapping the hero's bottom edge */
.rg-trust {
	background: #fff;
	border: 1px solid var(--rg-border);
	border-radius: 20px;
	box-shadow: 0 20px 46px rgba(15, 23, 42, 0.08);
	padding: 26px 20px;
	position: relative;
	z-index: 2;
}

.entry-content > .rg-hero + .rg-trust {
	margin-block-start: -42px;
}

.rg-trust .wp-block-columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 10px 20px;
	margin: 0;
}

.rg-stat {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
}

.rg-stat-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--rg-indigo-soft);
	color: var(--rg-indigo);
	flex-shrink: 0;
}

.rg-stat-ico svg {
	width: 21px;
	height: 21px;
}

.rg-stat-txt {
	display: flex;
	flex-direction: column;
	text-align: left;
}

.rg-stat-num {
	font-size: 1.55rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--rg-indigo);
	line-height: 1.15;
}

.rg-stat-label {
	color: var(--rg-slate);
	font-size: 0.84rem;
	font-weight: 500;
}

/* ---------- Cards ---------- */

.rg-card {
	background: #fff;
	border: 1px solid var(--rg-border);
	border-radius: var(--rg-radius);
	padding: 30px;
	height: 100%;
	transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.rg-card:hover {
	box-shadow: var(--rg-shadow-hover);
	transform: translateY(-4px);
	border-color: rgba(79, 70, 229, 0.35);
}

.rg-card h3 {
	margin: 0 0 10px;
	font-size: 1.25rem;
}

.rg-card p {
	margin: 0 0 14px;
	color: var(--rg-slate);
	font-size: 0.98rem;
}

.rg-card a {
	font-weight: 600;
	text-decoration: none;
}

.rg-icon-wrap {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: #eef2ff;
	border: 1px solid #e0e7ff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.rg-icon-wrap svg {
	width: 26px;
	height: 26px;
	stroke: var(--rg-indigo);
}

/* ---------- Checklist ---------- */

.rg-checklist ul,
ul.rg-checklist {
	list-style: none;
	padding: 0;
	margin: 0;
}

.rg-checklist li,
ul.rg-checklist li {
	position: relative;
	padding-left: 34px;
	margin-bottom: 14px;
	line-height: 1.6;
}

.rg-checklist li::before,
ul.rg-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(79, 70, 229, 0.12) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%234f46e5" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/12px no-repeat;
}

/* ---------- CTA band ---------- */

.rg-cta-band {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(520px 260px at 88% 8%, rgba(99, 102, 241, 0.16), transparent 60%),
		radial-gradient(460px 240px at 6% 95%, rgba(56, 189, 248, 0.12), transparent 60%),
		linear-gradient(135deg, #eef2ff 0%, #f9fbff 100%);
	border: 1px solid #dbe4ff;
	border-radius: 22px;
	box-shadow: 0 18px 44px rgba(79, 70, 229, 0.10);
	color: var(--rg-navy);
	padding: clamp(44px, 5vw, 68px) clamp(28px, 5vw, 72px);
	text-align: center;
}

.rg-cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle, rgba(79, 70, 229, 0.13) 1px, transparent 1.5px);
	background-size: 24px 24px;
	pointer-events: none;
}

.rg-cta-band > * {
	position: relative;
}

.rg-cta-band h2,
.rg-cta-band h3 {
	color: var(--rg-navy);
	margin-top: 0;
}

.rg-cta-band p {
	color: var(--rg-slate);
}

.rg-cta-band p a {
	color: var(--rg-indigo);
	font-weight: 600;
}

.rg-cta-band .rg-eyebrow-wrap {
	text-align: center;
}

.rg-cta-phone {
	font-size: 0.92rem;
	margin-top: 18px;
}

.rg-cta-band .wp-block-buttons {
	justify-content: center;
}

/* ---------- Pricing ---------- */

.rg-price-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--rg-border);
	border-radius: var(--rg-radius);
	padding: 34px;
	height: 100%;
}

.rg-price-card.featured {
	border: 2px solid var(--rg-indigo);
	box-shadow: 0 16px 40px rgba(79, 70, 229, 0.15);
}

.rg-price-badge {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--rg-indigo);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
	padding: 5px 16px;
	border-radius: 999px;
	white-space: nowrap;
}

.rg-price-num {
	font-size: 2.2rem;
	font-weight: 800;
	color: var(--rg-navy);
}

.rg-price-num small {
	font-size: 1rem;
	font-weight: 600;
	color: var(--rg-slate);
}

/* ---------- FAQ ---------- */

.rg-faq .wp-block-details {
	background: #fff;
	border: 1px solid var(--rg-border);
	border-radius: 12px;
	padding: 18px 22px;
	margin-bottom: 12px;
}

.rg-faq .wp-block-details summary {
	font-weight: 600;
	color: var(--rg-navy);
	cursor: pointer;
}

.rg-faq .wp-block-details p {
	margin: 12px 0 0;
	color: var(--rg-slate);
}

/* ---------- Contact ---------- */

.rg-contact-item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin-bottom: 22px;
}

.rg-contact-item .rg-icon-wrap {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	margin-bottom: 0;
}

.rg-contact-item .rg-icon-wrap svg {
	width: 22px;
	height: 22px;
}

.rg-contact-item strong {
	display: block;
	margin-bottom: 2px;
}

.rg-contact-item a {
	text-decoration: none;
}

/* ---------- Contact form ---------- */

.rg-form {
	background: #fff;
	border: 1px solid var(--rg-border);
	border-radius: var(--rg-radius);
	padding: 32px;
	box-shadow: var(--rg-shadow);
}

.rg-form-row {
	margin-bottom: 18px;
}

.rg-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 18px;
}

@media (max-width: 560px) {
	.rg-form-grid {
		grid-template-columns: 1fr;
	}
}

.rg-form label {
	display: block;
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--rg-navy);
	margin-bottom: 6px;
}

.rg-req {
	color: var(--rg-indigo);
}

.rg-form input,
.rg-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--rg-border);
	border-radius: 10px;
	font: inherit;
	color: var(--rg-navy);
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rg-form input:focus,
.rg-form textarea:focus {
	outline: none;
	border-color: var(--rg-indigo);
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.rg-form-hp {
	position: absolute;
	left: -9999px;
	top: -9999px;
	height: 0;
	overflow: hidden;
}

.rg-form-submit {
	display: inline-block;
	width: 100%;
	padding: 14px 28px;
	border: none;
	border-radius: 10px;
	background: linear-gradient(135deg, #4f46e5, #4338ca);
	color: #fff;
	font: inherit;
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rg-form-submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

.rg-form-submit:disabled {
	opacity: 0.6;
	cursor: wait;
}

.rg-form-status {
	margin-top: 14px;
	font-size: 0.95rem;
	min-height: 1.4em;
}

.rg-form-status.rg-ok {
	color: #047857;
}

.rg-form-status.rg-err {
	color: #b91c1c;
}

/* ---------- Layout fixes ---------- */

.wp-block-group.rg-section {
	margin-top: 0;
}

.rg-hero,
.rg-section {
	margin-top: 0;
}

/* ---------- Scroll reveal (progressive enhancement) ---------- */

@keyframes rg-fade-up {
	from { opacity: 0; translate: 0 24px; }
	to   { opacity: 1; translate: 0 0; }
}

@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.rg-card,
		.rg-price-card {
			animation: rg-fade-up linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 45%;
		}
	}
}

/* ---------- Legal / privacy page ---------- */

.rg-legal h2 {
	margin-top: 44px;
	font-size: 1.5rem;
}

.rg-legal h3 {
	margin-top: 30px;
	font-size: 1.12rem;
}

.rg-kv {
	display: block;
	margin: 18px 0 26px;
	background: #fff;
	border: 1px solid var(--rg-border);
	border-radius: 14px;
	overflow: hidden;
}

.rg-kv-row {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 18px;
	padding: 13px 20px;
	border-bottom: 1px solid var(--rg-border);
}

.rg-kv-row:last-child {
	border-bottom: 0;
}

.rg-kv-row:nth-child(even) {
	background: var(--rg-bg);
}

.rg-kv dt {
	font-weight: 700;
	color: var(--rg-navy);
	font-size: 0.92rem;
}

.rg-kv dd {
	margin: 0;
	color: var(--rg-slate);
	font-size: 0.95rem;
}

.rg-plainlist {
	list-style: none;
	padding-left: 0;
}

.rg-plainlist li {
	position: relative;
	padding-left: 22px;
	margin-bottom: 10px;
}

.rg-plainlist li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 0.62em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--rg-indigo);
}

@media (max-width: 640px) {
	.rg-kv-row {
		grid-template-columns: 1fr;
		gap: 2px;
	}
}

/* ---------- Footer: dark navy ---------- */

footer#footer.ct-footer {
	position: relative;
	background:
		radial-gradient(900px 300px at 85% 0%, rgba(79, 70, 229, 0.14), transparent 60%),
		var(--rg-navy);
	color: #cbd5e1;
}

.ct-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--rg-indigo), #38bdf8);
}

.ct-footer [data-row="middle"] {
	padding-block: 58px 46px;
}

.ct-footer .ct-widget .widget-title {
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	margin-bottom: 16px;
}

.ct-footer .textwidget,
.ct-footer .textwidget p {
	color: #94a3b8;
	font-size: 0.93rem;
	line-height: 1.75;
}

.ct-footer .textwidget strong {
	color: #cbd5e1;
}

.ct-footer a {
	color: #cbd5e1;
	text-decoration: none;
	transition: color 0.15s;
}

.ct-footer a:hover {
	color: #fff;
}

.ct-footer .textwidget p:last-child a {
	color: #a5b4fc;
	font-weight: 600;
}

.ct-footer .textwidget p:last-child a:hover {
	color: #fff;
}

.ct-footer .ct-widget ul.menu,
.ct-footer .footer-menu-inline .menu {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ct-footer .ct-widget ul.menu a,
.ct-footer .footer-menu-inline .menu a,
.ct-footer .footer-menu-inline .menu .current-menu-item > a,
.ct-footer .footer-menu-inline .menu .current_page_item > a {
	color: #94a3b8;
	font-size: 0.93rem;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
}

.ct-footer .footer-menu-inline .menu a:hover {
	color: #fff;
}

.ct-footer [data-row="bottom"] {
	border-top: 1px solid rgba(148, 163, 184, 0.16);
	padding-block: 22px;
}

.ct-footer .ct-footer-copyright {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 24px;
	font-size: 0.87rem;
	color: #64748b;
}

.ct-footer .ct-footer-copyright a {
	color: #94a3b8;
}

.ct-footer .ct-footer-copyright a:hover {
	color: #fff;
}

@media (max-width: 768px) {
	.ct-footer .ct-footer-copyright {
		justify-content: center;
		text-align: center;
	}
}

/* ---------- Pain cards ---------- */

.rg-pain {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
}

.rg-pain-card {
	background: #fff;
	border: 1px solid var(--rg-border);
	border-left: 4px solid #f59e0b;
	border-radius: 14px;
	padding: 22px;
	transition: transform 0.18s, box-shadow 0.18s;
}

.rg-pain-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.rg-pain-card strong {
	display: block;
	color: var(--rg-navy);
	font-size: 1.02rem;
	margin-bottom: 6px;
}

.rg-pain-card p {
	margin: 0;
	color: var(--rg-slate);
	font-size: 0.92rem;
	line-height: 1.6;
}

/* ---------- Process steps ---------- */

.rg-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
}

.rg-step {
	position: relative;
	background: #fff;
	border: 1px solid var(--rg-border);
	border-radius: 16px;
	padding: 26px 22px 22px;
	overflow: hidden;
}

.rg-step-num {
	position: absolute;
	top: 2px;
	right: 14px;
	font-size: 3.4rem;
	font-weight: 800;
	color: var(--rg-indigo);
	opacity: 0.12;
	line-height: 1;
}

.rg-step strong {
	display: block;
	color: var(--rg-navy);
	font-size: 1.05rem;
	margin-bottom: 8px;
}

.rg-step p {
	margin: 0;
	color: var(--rg-slate);
	font-size: 0.92rem;
	line-height: 1.6;
}

/* ---------- Compare table ---------- */

.rg-compare {
	background: #fff;
	border: 1px solid var(--rg-border);
	border-radius: 18px;
	overflow: hidden;
}

.rg-compare-head,
.rg-compare-row {
	display: grid;
	grid-template-columns: 1fr 1.35fr 1.35fr;
}

.rg-compare-head {
	background: var(--rg-navy);
	color: #fff;
}

.rg-compare-head span {
	padding: 14px 20px;
	font-weight: 700;
	font-size: 0.95rem;
}

.rg-compare-head .rg-compare-b {
	color: #a5b4fc;
}

.rg-compare-row {
	border-top: 1px solid var(--rg-border);
}

.rg-compare-row:nth-child(even) {
	background: var(--rg-bg);
}

.rg-compare-row > span {
	padding: 13px 20px;
	font-size: 0.92rem;
	color: var(--rg-slate);
	line-height: 1.55;
}

.rg-compare-key {
	font-weight: 700;
	color: var(--rg-navy);
}

.rg-compare-good {
	color: var(--rg-navy);
	font-weight: 600;
}

@media (max-width: 760px) {
	.rg-compare-head,
	.rg-compare-row {
		grid-template-columns: 0.85fr 1.2fr 1.2fr;
	}
	.rg-compare-head span,
	.rg-compare-row > span {
		padding: 10px 12px;
		font-size: 0.8rem;
	}
}

/* ---------- Tech chips ---------- */

.rg-tech {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.rg-tech span {
	display: inline-block;
	padding: 8px 18px;
	border: 1px solid var(--rg-border);
	border-radius: 999px;
	background: #fff;
	color: var(--rg-slate);
	font-size: 0.9rem;
	font-weight: 600;
	transition: border-color 0.15s, color 0.15s;
}

.rg-tech span:hover {
	border-color: var(--rg-indigo);
	color: var(--rg-indigo);
}

.rg-section-tight {
	padding-block: 44px;
}

/* ---------- Person card ---------- */

.rg-person {
	background: #fff;
	border: 1px solid var(--rg-border);
	border-radius: 20px;
	padding: 36px 28px;
	text-align: center;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
	height: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.rg-person-ava {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	margin: 0 auto 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--rg-indigo), #0ea5e9);
	color: #fff;
	font-size: 1.9rem;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.rg-person > strong {
	display: block;
	font-size: 1.18rem;
	color: var(--rg-navy);
}

.rg-person-role {
	display: block;
	color: var(--rg-indigo);
	font-weight: 600;
	font-size: 0.9rem;
	margin: 4px 0 16px;
}

.rg-person > p {
	color: var(--rg-slate);
	font-size: 0.93rem;
	margin: 0 0 18px;
	line-height: 1.6;
}

.rg-person-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.rg-person-chips span {
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--rg-indigo-soft);
	color: var(--rg-indigo-dark);
	font-size: 0.78rem;
	font-weight: 600;
}

/* ---------- Principles ---------- */

.rg-principles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 8px 32px;
}

.rg-principle {
	display: flex;
	gap: 14px;
	padding: 14px 0;
}

.rg-principle::before {
	content: "";
	flex-shrink: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin-top: 7px;
	background: linear-gradient(135deg, var(--rg-indigo), #38bdf8);
}

.rg-principle strong {
	display: block;
	color: var(--rg-navy);
	margin-bottom: 3px;
}

.rg-principle p {
	margin: 0;
	color: var(--rg-slate);
	font-size: 0.92rem;
	line-height: 1.6;
}

/* ---------- Form select ---------- */

.rg-form select {
	width: 100%;
	height: 47px;
	padding: 12px 42px 12px 14px;
	border: 1px solid var(--rg-border);
	border-radius: 10px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center;
	font-family: inherit;
	font-size: 1rem;
	line-height: normal;
	color: var(--rg-navy);
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	cursor: pointer;
}

.rg-form select:focus {
	outline: none;
	border-color: var(--rg-indigo);
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

/* ---------- Breadcrumbs ---------- */

.rg-breadcrumb {
	max-width: 1140px;
	margin: 0 auto;
	padding: 18px 24px 0;
	font-size: 0.85rem;
	color: var(--rg-slate);
}

.rg-breadcrumb a {
	color: var(--rg-indigo);
	text-decoration: none;
}

.rg-breadcrumb a:hover {
	text-decoration: underline;
}

.rg-breadcrumb .breadcrumb_last {
	color: var(--rg-navy);
	font-weight: 600;
}

/* ---------- Tudástár / archive ---------- */

body.post-type-archive .entries,
body.blog .entries,
body.category .entries {
	max-width: 1140px;
	margin: 0 auto;
}

.rg-more-link a {
	font-weight: 600;
	color: var(--rg-indigo);
}

/* ---------- Single post polish ---------- */

.single-post .entry-content h2 {
	margin-top: 2.2em;
}

.single-post .entry-content .rg-compare {
	margin-block: 28px;
}

/* ---------- Tech chips with brand icons ---------- */

.rg-tech span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.rg-tech-ico {
	width: 16px;
	height: 16px;
	display: block;
	flex-shrink: 0;
	opacity: 0.9;
}

/* ---------- Archive head ---------- */

.rg-archive-head {
	max-width: 1140px;
	margin: 0 auto 30px;
}

.rg-archive-head .page-title {
	font-size: 2.2rem;
	margin: 0 0 8px;
}

.rg-archive-sub {
	color: var(--rg-slate);
	margin: 0;
}
