/* ===================================================
   Self-hosted fonts — GDPR compliant, no CDN requests
   Cormorant Garamond (headings) + Inter (body)
   =================================================== */

/* Cormorant Garamond variable (400–700) */
@font-face {
	font-family: 'Cormorant Garamond';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/cormorant-latin-ext.woff2') format('woff2');
	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: 'Cormorant Garamond';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/cormorant-latin.woff2') format('woff2');
	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;
}

/* Inter variable (400–700) */
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/inter-latin-ext.woff2') format('woff2');
	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';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/inter-latin.woff2') format('woff2');
	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;
}

/* ===================================================
   Hercsik Ügyvédi Iroda — Front Page Styles
   =================================================== */

/* Override Kadence global font variables */
:root {
	--global-body-font-family: 'Inter', sans-serif;
	--global-heading-font-family: 'Cormorant Garamond', Georgia, serif;
	--global-primary-nav-font-family: 'Inter', sans-serif;
}

/* Base */
body {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	color: #333;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Cormorant Garamond', Georgia, serif;
}

.hercsik-front {
	padding: 0;
	margin: 0;
}

/* Container */
.hercsik-container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Buttons */
.hercsik-btn {
	display: inline-block;
	padding: 14px 32px;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 3px;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
	cursor: pointer;
}

.hercsik-btn--primary {
	background-color: #c4a06a;
	color: #1a2235;
	border: 2px solid #c4a06a;
}
.hercsik-btn--primary:hover {
	background-color: #ad8a52;
	border-color: #ad8a52;
	color: #1a2235;
	box-shadow: 0 4px 18px rgba(196,160,106,0.4);
}

.hercsik-btn--outline {
	background-color: transparent;
	color: #fff;
	border: 2px solid #fff;
}
.hercsik-btn--outline:hover {
	background-color: rgba(255,255,255,0.15);
	color: #fff;
}

.hercsik-btn--white {
	background-color: #c4a06a;
	color: #1a2235;
	border: 2px solid #c4a06a;
}
.hercsik-btn--white:hover {
	background-color: #ad8a52;
	border-color: #ad8a52;
	color: #1a2235;
	box-shadow: 0 4px 18px rgba(196,160,106,0.4);
}

.hercsik-btn--sm {
	padding: 8px 18px;
	font-size: 13px;
	background-color: #c4a06a;
	color: #1a2235;
	border: 2px solid #c4a06a;
}
.hercsik-btn--sm:hover {
	background-color: #ad8a52;
	border-color: #ad8a52;
	color: #1a2235;
}

/* Section header */
.hercsik-section-header {
	text-align: center;
	margin-bottom: 48px;
}
.hercsik-section-header h2 {
	font-size: 32px;
	font-weight: 700;
	color: #272727;
	margin-bottom: 12px;
}
.hercsik-section-header p {
	font-size: 16px;
	color: #666;
	max-width: 700px;
	margin: 0 auto;
}
.hercsik-section-header--light h2,
.hercsik-section-header--light p {
	color: #fff;
}
.hercsik-section-header--light p {
	color: rgba(255,255,255,0.85);
}

/* ===================================================
   Hero
   =================================================== */
.hercsik-hero {
	position: relative;
	min-height: 100vh;
	background-color: #0d1b2a;
	background-image:
		radial-gradient(ellipse 80% 60% at 30% 40%, rgba(27,45,74,0.9) 0%, transparent 70%),
		radial-gradient(ellipse 60% 50% at 75% 65%, rgba(201,168,76,0.08) 0%, transparent 60%),
		linear-gradient(160deg, #0a1628 0%, #1b2d4a 55%, #0f1923 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.hercsik-hero__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hercsik-hero__content {
	text-align: center;
	padding: 0 24px;
	color: #fff;
}

.hercsik-hero__title {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: clamp(28px, 5vw, 52px);
	font-weight: 700;
	color: #fff;
	text-shadow: 0 2px 8px rgba(0,0,0,0.4);
	margin-bottom: 36px;
	line-height: 1.2;
}

.hercsik-hero__buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ===================================================
   Focus / Services
   =================================================== */
.hercsik-focus {
	padding: 80px 0;
	background-color: #fff;
}

.hercsik-services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 40px;
}

.hercsik-service-box {
	text-align: left;
	padding: 2.5rem 2rem;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 4px 24px rgba(26,34,51,0.06);
	display: flex;
	flex-direction: column;
}

.hercsik-service-box h3 {
	font-size: 18px;
	font-weight: 700;
	color: #1a2235;
	margin-bottom: 14px;
}

.hercsik-service-box h3::before {
	content: '';
	display: block;
	width: 40px;
	height: 3px;
	background-color: #c4a06a;
	margin-bottom: 1rem;
}

.hercsik-service-box p {
	font-size: 15px;
	color: #555;
	line-height: 1.75;
	text-align: left;
	flex: 1;
}

/* ===================================================
   CTA Ribbon
   =================================================== */
.hercsik-ribbon {
	background-color: #1b2d4a;
	padding: 52px 0;
}

.hercsik-ribbon__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.hercsik-ribbon__text {
	flex: 1;
	min-width: 260px;
}

.hercsik-ribbon__text p {
	color: #fff;
	margin: 0;
	line-height: 1.6;
}

.hercsik-ribbon__text p:first-child {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 8px;
}

.hercsik-ribbon__text p:last-child {
	font-size: 15px;
	opacity: 0.92;
}

/* ===================================================
   About Us
   =================================================== */
.hercsik-about {
	padding: 80px 0;
	background-color: #1a2235;
	color: #fff;
}

.hercsik-about__content {
	max-width: 860px;
	margin: 0 auto;
	font-size: 15px;
	line-height: 1.8;
	color: rgba(255,255,255,0.88);
}

.hercsik-about__content p {
	margin-bottom: 18px;
}

.hercsik-about__content strong {
	color: #fff;
}

/* ===================================================
   Testimonials
   =================================================== */
.hercsik-testimonials {
	padding: 80px 0;
	background-color: #1e3448;
	background-image: linear-gradient(135deg, #243d56 0%, #172a3a 100%);
}

.hercsik-testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 32px;
}

.hercsik-testimonial {
	background-color: rgba(255,255,255,0.04);
	border: 1px solid rgba(196,160,106,0.22);
	border-radius: 6px;
	padding: 32px 28px;
}

.hercsik-testimonial blockquote {
	margin: 0;
	padding: 0;
	border: none;
}

.hercsik-testimonial blockquote p {
	font-size: 15px;
	line-height: 1.75;
	color: #fff;
	font-style: italic;
	margin-bottom: 20px;
}

.hercsik-testimonial blockquote footer {
	text-align: right;
}

.hercsik-testimonial blockquote cite {
	font-style: normal;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-weight: 700;
	font-size: 14px;
	color: rgba(255,255,255,0.9);
}

.hercsik-testimonial blockquote cite::before {
	content: '— ';
}

/* ===================================================
   Latest News
   =================================================== */
.hercsik-news {
	padding: 80px 0;
	background-color: #f5f5f5;
}

.hercsik-news .hercsik-section-header h2,
.hercsik-news .hercsik-section-header p {
	color: #272727;
}

.hercsik-news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 32px;
}

.hercsik-news-card {
	background-color: #fff;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.hercsik-news-card__thumb img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

.hercsik-news-card__body {
	padding: 24px;
}

.hercsik-news-card__title {
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 8px;
}

.hercsik-news-card__title a {
	color: #272727;
	text-decoration: none;
}
.hercsik-news-card__title a:hover {
	color: #c4a06a;
}

.hercsik-news-card__date {
	font-size: 13px;
	color: #999;
	margin-bottom: 12px;
}

.hercsik-news-card__excerpt {
	font-size: 14px;
	color: #555;
	line-height: 1.65;
	margin-bottom: 16px;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hercsik-news-card__excerpt p {
	margin: 0;
}

/* ===================================================
   Blog Archive (template-blog.php)
   =================================================== */
.hercsik-blog-intro {
	margin-bottom: 32px;
	color: #444;
	font-size: 15px;
	line-height: 1.7;
}

.hercsik-blog-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 32px;
}

.hercsik-blog-cat {
	display: inline-block;
	padding: 6px 16px;
	border: 1px solid #c4a06a;
	border-radius: 20px;
	font-size: 13px;
	color: #c4a06a;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.hercsik-blog-cat:hover,
.hercsik-blog-cat.is-active {
	background: #c4a06a;
	color: #fff;
}

.hercsik-blog-pagination {
	margin-top: 40px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.hercsik-blog-pagination .page-numbers {
	display: inline-block;
	padding: 6px 14px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	color: #444;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.hercsik-blog-pagination .page-numbers.current,
.hercsik-blog-pagination .page-numbers:hover {
	background: #c4a06a;
	border-color: #c4a06a;
	color: #fff;
}

.hercsik-blog-bottom-cta {
	margin-top: 48px;
	padding: 32px;
	background: #f0ebe2;
	border-left: 4px solid #c4a06a;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.hercsik-blog-bottom-cta p {
	margin: 0;
	font-size: 16px;
	color: #272727;
	font-weight: 600;
}

.hercsik-blog-empty {
	color: #888;
	font-style: italic;
	padding: 40px 0;
	text-align: center;
}

/* ===================================================
   News sidebar (sidebar-news.php)
   =================================================== */
.hercsik-news-sidebar__posts {
	list-style: none;
	padding: 0;
	margin: 0;
}

.hercsik-news-sidebar__posts li {
	display: flex;
	flex-direction: column;
	padding: 10px 0;
	border-bottom: 1px solid rgba(26,34,51,0.08);
}

.hercsik-news-sidebar__posts li:last-child {
	border-bottom: none;
}

.hercsik-news-sidebar__posts a {
	font-size: 14px;
	font-weight: 600;
	color: #272727;
	text-decoration: none;
	line-height: 1.4;
}

.hercsik-news-sidebar__posts a:hover {
	color: #c4a06a;
}

.hercsik-news-sidebar__date {
	font-size: 12px;
	color: #999;
	margin-top: 3px;
}

.widget_categories ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.widget_categories li {
	padding: 7px 0;
	border-bottom: 1px solid rgba(26,34,51,0.08);
	font-size: 14px;
}

.widget_categories li:last-child {
	border-bottom: none;
}

.widget_categories a {
	color: #272727;
	text-decoration: none;
	display: flex;
	justify-content: space-between;
}

.widget_categories a:hover {
	color: #c4a06a;
}

.hercsik-news-sidebar__count {
	color: #aaa;
	font-size: 13px;
}

.hercsik-news-sidebar__cta p {
	font-size: 14px;
	color: #555;
	line-height: 1.6;
	margin-bottom: 16px;
}

/* ===================================================
   Contact
   =================================================== */
.hercsik-contact {
	padding: 80px 0;
	background-color: #0d1b2a;
	background-image: linear-gradient(160deg, #0a1628 0%, #1b2d4a 100%);
	position: relative;
}

.hercsik-contact .hercsik-container {
	position: relative;
}

.hercsik-contact__content {
	color: #fff;
	display: flow-root; /* contain bigContact's float: left */
}

/* Contain floated label/value spans so each section doesn't bleed into the next */
.bigContact-phone,
.bigContact-emails,
.bigContact-hours {
	display: flow-root;
}

/* Override bigContact plugin styles for dark background */
.hercsik-contact .bigContact,
.hercsik-contact .bigContact h3,
.hercsik-contact .bigContact p,
.hercsik-contact .bigContact label,
.hercsik-contact .bigContact span {
	color: #fff;
}

.hercsik-contact .bigContact input,
.hercsik-contact .bigContact textarea,
.hercsik-contact .bigContact select {
	background-color: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.2) !important;
	color: #fff;
	border-radius: 3px;
}

.hercsik-contact .bigContact input::placeholder,
.hercsik-contact .bigContact textarea::placeholder {
	color: rgba(255,255,255,0.45);
}

/* ===================================================
   Responsive
   =================================================== */
@media (max-width: 768px) {
	.hercsik-ribbon__inner {
		flex-direction: column;
		text-align: center;
	}

.hercsik-section-header h2 {
		font-size: 26px;
	}
}

@media (max-width: 480px) {
	.hercsik-hero__buttons {
		flex-direction: column;
		align-items: center;
	}
}

/* ===================================================
   Kadence header/nav adjustments
   =================================================== */

/* Hide site title and tagline text — logo image is used instead */
.site-branding .site-title,
.site-branding .site-description {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Nav link hover colour */
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover {
	color: #c4a06a !important;
}

/* Dropdown sub-menu */
.header-navigation .header-menu-container ul ul.sub-menu,
.header-navigation .header-menu-container ul ul.submenu {
	background: #1b2d4a !important;
	border-radius: 4px !important;
	box-shadow: 0 8px 28px rgba(0,0,0,0.22) !important;
	border-top: 2px solid #c4a06a !important;
	min-width: 220px;
}

.header-navigation .header-menu-container ul ul li.menu-item > a {
	width: auto !important;
	min-width: 220px;
	font-size: 13px !important;
	font-weight: 400 !important;
	padding: 11px 20px !important;
	color: rgba(255,255,255,0.82) !important;
	letter-spacing: 0.01em;
}

.header-navigation .header-menu-container ul ul li.menu-item > a:hover {
	color: #c4a06a !important;
	background: rgba(255,255,255,0.06) !important;
	border-radius: 0 !important;
}

.header-navigation .header-menu-container ul ul li.menu-item {
	border-bottom: 1px solid rgba(255,255,255,0.07) !important;
	border-radius: 0 !important;
}

.header-navigation .header-menu-container ul ul li.menu-item:last-child {
	border-bottom: none !important;
}

/* Language switcher: flag only, no text */
.lang-item a {
	font-size: 0 !important;
	line-height: 0;
}
.lang-item a img {
	display: inline-block;
	vertical-align: middle;
}

/* ===================================================
   Footer
   =================================================== */
.hercsik-footer {
	background-color: #0f1923;
	color: rgba(255,255,255,0.75);
	padding: 64px 0 0;
	font-size: 14px;
	line-height: 1.7;
	border-top: 3px solid #c4a06a;
}

.hercsik-footer__inner {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 48px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hercsik-footer__col h4 {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 16px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.hercsik-footer__col p {
	color: rgba(255,255,255,0.65);
	font-size: 13px;
}

.hercsik-footer__contact-list,
.hercsik-footer__nav-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.hercsik-footer__contact-list li,
.hercsik-footer__nav-list li {
	margin-bottom: 8px;
}

.hercsik-footer__contact-list a,
.hercsik-footer__nav-list a {
	color: rgba(255,255,255,0.75);
	text-decoration: none;
	transition: color 0.2s;
}

.hercsik-footer__contact-list a:hover,
.hercsik-footer__nav-list a:hover {
	color: #c4a06a;
}

.hercsik-footer__taxno {
	color: rgba(255,255,255,0.4);
	font-size: 12px;
	margin-top: 4px;
}

.hercsik-footer__bottom {
	padding: 20px 0;
	font-size: 12px;
	color: rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
	.hercsik-footer__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

/* Logo sizing in Kadence header */
#masthead .custom-logo,
#masthead .site-branding a.brand img {
	max-height: 44px;
	max-width: 280px;
	width: auto;
	height: auto;
}

/* Smooth dark-to-transparent transition for sticky header */
#masthead {
	transition: background-color 0.3s;
}

/* ===================================================
   Right sidebar — photo + Kérdése van? CTA
   =================================================== */

.primary-sidebar {
	padding-left: 32px;
	padding-top: 20px;
}

/* Photo widget — full width, rounded top corners */
.primary-sidebar .widget_media_image img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	display: block;
}

/* Kérdése van? heading */
.primary-sidebar .widget-title {
	font-family: 'Cormorant Garamond', Georgia, serif !important;
	font-size: 22px !important;
	font-weight: 600 !important;
	color: #1a2235 !important;
	margin-top: 28px !important;
	margin-bottom: 12px !important;
	padding-bottom: 8px !important;
	border-bottom: 2px solid #c4a06a !important;
}

/* CTA body text */
.primary-sidebar .textwidget p {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	line-height: 1.7;
	color: #444;
	margin-bottom: 0;
}

/* Sidebar button */
.primary-sidebar .hercsik-sidebar-btn {
	display: block !important;
	width: 100% !important;
	text-align: center !important;
	margin-top: 20px !important;
	padding: 14px 24px !important;
	box-sizing: border-box !important;
}

/* ===================================================
   Subpage content — typography & width constraint
   =================================================== */

.hentry .entry-content,
.page .entry-content {
	max-width: 840px;
	margin-left: auto !important;
	margin-right: auto !important;
	color: #333;
	line-height: 1.75;
	font-size: 16px;
}

.hentry .entry-content p,
.page .entry-content p {
	margin-bottom: 1.2em;
}

.hentry .entry-content h1,
.hentry .entry-content h2,
.hentry .entry-content h3,
.page .entry-content h1,
.page .entry-content h2,
.page .entry-content h3 {
	color: #1a2235;
	font-family: 'Cormorant Garamond', Georgia, serif;
	line-height: 1.3;
	margin-top: 1.6em;
	margin-bottom: 0.5em;
}

/* ===================================================
   Subpage — rogue button colours → gold palette
   =================================================== */

/* MaxButtons "Árajánlat" green button */
.maxbutton.maxbutton-arajanlat,
.maxbutton.maxbutton-arajanlat:link,
.maxbutton.maxbutton-arajanlat:visited,
a.maxbutton.maxbutton-arajanlat {
	background: #c4a06a !important;
	background-color: #c4a06a !important;
	border-color: #c4a06a !important;
	color: #1a2235 !important;
	font-family: 'Inter', sans-serif !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
	box-shadow: none !important;
	text-shadow: none !important;
}

.maxbutton.maxbutton-arajanlat:hover,
.maxbutton.maxbutton-arajanlat:focus,
a.maxbutton.maxbutton-arajanlat:hover {
	background: #ad8a52 !important;
	background-color: #ad8a52 !important;
	border-color: #ad8a52 !important;
	color: #1a2235 !important;
	box-shadow: 0 4px 18px rgba(196, 160, 106, 0.4) !important;
}

/* Global form submit button sizing — applies to all forms site-wide */
input[type="submit"],
button[type="submit"] {
	padding: 12px 32px !important;
	font-family: 'Inter', sans-serif !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
}

/* Generic blue/green btn-primary overrides on content pages */
.entry-content .btn-primary,
.entry-content .btn.btn-primary,
.entry-content .custom-button,
.entry-content .green-btn,
.entry-content a.btn-primary {
	background-color: #c4a06a !important;
	background: #c4a06a !important;
	border-color: #c4a06a !important;
	color: #1a2235 !important;
	font-family: 'Inter', sans-serif !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
	text-shadow: none !important;
	padding: 12px 32px !important;
}

.entry-content .btn-primary:hover,
.entry-content .custom-button:hover,
.entry-content .green-btn:hover,
.entry-content a.btn-primary:hover {
	background-color: #ad8a52 !important;
	background: #ad8a52 !important;
	border-color: #ad8a52 !important;
	color: #1a2235 !important;
	box-shadow: 0 4px 18px rgba(196, 160, 106, 0.4) !important;
}

/* ===================================================
   Subpage — noUiSlider teal → gold
   =================================================== */

.noUi-connect {
	background: #c4a06a !important;
}

.noUi-handle {
	border-color: #c4a06a !important;
}

/* ===================================================
   Subpage — TablePress refinements
   =================================================== */

.tablepress {
	border-collapse: collapse !important;
	width: 100% !important;
	font-size: 15px !important;
}

.tablepress td,
.tablepress th {
	border: none !important;
	border-bottom: 1px solid rgba(26, 34, 51, 0.1) !important;
	padding: 12px 16px !important;
	vertical-align: middle !important;
}

.tablepress thead th,
.tablepress .row-1 th,
.tablepress .row-1 td {
	background: rgba(26, 34, 51, 0.04) !important;
	color: #1a2235 !important;
	font-weight: 600 !important;
	font-size: 13px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.06em !important;
}

/* Remove TablePress default striped background */
.tablepress .odd td,
.tablepress .even td {
	background: transparent !important;
}

.tablepress tbody tr:hover td {
	background: rgba(196, 160, 106, 0.06) !important;
}

/* ===================================================
   Subpage — contact / CTA row block (outer card only)
   =================================================== */

.entry-content .row {
	background: #ffffff !important;
	border-radius: 4px !important;
	box-shadow: 0 4px 24px rgba(26, 34, 51, 0.06) !important;
	padding: 32px 40px !important;
	margin-top: 40px !important;
	margin-bottom: 40px !important;
}

/* Collapse the nested inner .row — remove the box-in-a-box */
.entry-content .row .row {
	background: transparent !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 0 !important;
}

/* ===================================================
   Callback form — plugin class overrides
   =================================================== */

/* Remove fieldset bounding box */
fieldset.fields {
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* 3-column grid for inputs; button wraps to its own row */
fieldset.fields center {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 16px !important;
	text-align: left !important;
}

/* Unified input + select sizing */
.requestCallbackInput,
.requestCallbackSelect {
	height: 48px !important;
	padding: 12px 16px !important;
	border: 1px solid rgba(26, 34, 51, 0.15) !important;
	border-radius: 4px !important;
	background-color: #ffffff !important;
	font-family: 'Inter', sans-serif !important;
	font-size: 15px !important;
	color: #1a2235 !important;
	box-sizing: border-box !important;
	outline: none !important;
	width: 100% !important;
	transition: border-color 0.2s !important;
}

.requestCallbackInput:focus,
.requestCallbackSelect:focus {
	border-color: #c4a06a !important;
}

/* Submit button — shrink-wrap to content, left-aligned */
fieldset.fields center .btn.btn-primary {
	grid-column: 1 !important;
	width: max-content !important;
	justify-self: start !important;
	align-self: center !important;
	padding: 14px 40px !important;
	margin-top: 8px !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	border: none !important;
}

/* ===================================================
   Sidebar — sticky on scroll
   Default: sticky. JS overrides to static when sidebar
   is taller than the viewport so the CTA stays reachable.
   =================================================== */

.primary-sidebar .sidebar-inner-wrap {
	position: sticky;
	top: 96px; /* JS overrides this to headerHeight + 16px at runtime */
}

/* On short viewports, cap the photo so the full sidebar
   is more likely to fit and sticky stays active. */
@media (max-height: 750px) {
	.primary-sidebar .widget_media_image img {
		max-height: 180px;
		object-fit: cover;
		object-position: top center;
	}
}

/* ===================================================
   Sidebar — "Miért engem bízzon meg?" benefit list
   =================================================== */

.hercsik-benefits {
	list-style: none;
	padding: 0;
	margin: 0;
}

.hercsik-benefits li {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	line-height: 1.55;
	color: #333;
	padding: 6px 0 6px 24px;
	position: relative;
	border-bottom: 1px solid rgba(26, 34, 51, 0.07);
}

.hercsik-benefits li:last-child {
	border-bottom: none;
}

.hercsik-benefits li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 7px;
	color: #c4a06a;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

/* ===================================================
   Page title hero — high-contrast navy header band
   =================================================== */
.entry-hero-container-inner {
	background-color: #1a2233 !important;
	padding: 4rem 0 !important;
	border-bottom: 3px solid #cfb584;
}

.entry-hero-container-inner .page-title,
.entry-hero-container-inner h1 {
	color: #ffffff !important;
	text-align: center;
}

@media (max-width: 768px) {
	.entry-hero-container-inner {
		padding: 2.5rem 0 !important;
	}
}

/* ===================================================
   Callback request section — responsive redesign
   Replaces the plugin's deprecated <center> layout
   =================================================== */
#callback_form {
	background: #f5f7fa;
	border-left: 4px solid #cfb584;
	border-radius: 0 4px 4px 0;
	padding: 24px 24px 20px;
	margin: 32px 0 0;
	font-family: 'Inter', sans-serif;
}

#callback_form .section-header {
	margin-bottom: 20px;
	padding-bottom: 0 !important;
}

#callback_form .section-header h2.dark-text {
	font-size: 18px !important;
	color: #1a2233;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	margin-bottom: 6px;
}

#callback_form .section-legent {
	font-size: 13px;
	color: #555;
	line-height: 1.5;
}

#callback_form fieldset {
	border: none;
	padding: 0;
}

/* Override deprecated <center> tag with flexbox row */
#callback_form center {
	display: flex !important;
	flex-wrap: wrap;
	gap: 8px;
	align-items: stretch;
	justify-content: flex-start;
}

/* Inputs stretch to fill available space */
.requestCallbackInput {
	flex: 1 1 140px !important;
	width: auto !important;
	min-width: 0 !important;
	height: 40px;
	padding: 0 10px !important;
	font-size: 14px !important;
	box-sizing: border-box;
}

.requestCallbackSelect {
	flex: 0 1 130px !important;
	height: 40px;
	padding: 0 6px;
	font-size: 14px !important;
	box-sizing: border-box;
}

/* Fix button: inline-flex so icon + text are properly centred */
#callback_form button[type="submit"] {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px;
	height: 40px !important;
	padding: 0 18px !important;
	vertical-align: baseline !important;
	white-space: nowrap;
	flex: 0 0 auto;
	background: #1a2233;
	color: #fff;
	border: none;
	border-radius: 3px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}

#callback_form button[type="submit"]:hover {
	background: #cfb584;
}

/* Mobile: stack all fields vertically */
@media (max-width: 600px) {
	#callback_form center {
		flex-direction: column !important;
		align-items: stretch !important;
	}

	.requestCallbackInput,
	.requestCallbackSelect,
	#callback_form button[type="submit"] {
		flex: none !important;
		width: 100% !important;
	}
}

/* ===================================================
   FAQ (Q&A Plugin) Styles
   =================================================== */
.qa-faqs {
	margin: 2rem 0;
}

.qa-faq {
	background: #fff;
	border: 1px solid rgba(26, 34, 51, 0.08);
	border-radius: 6px;
	margin-bottom: 1.5rem;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
	overflow: hidden;
}

.qa-faq:hover {
	box-shadow: 0 4px 18px rgba(196, 160, 106, 0.1);
	border-color: rgba(196, 160, 106, 0.4);
}

.qa-faq-title {
	margin: 0 !important;
	font-size: 19px !important;
	font-weight: 700 !important;
	color: #1a2235 !important;
	line-height: 1.4 !important;
}

.qa-faq-anchor {
	display: block;
	padding: 1.5rem 2rem;
	color: inherit !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.qa-faq-anchor:hover {
	color: #c4a06a !important;
}

.qa-faq-answer {
	padding: 0 2rem 1.5rem 2rem;
	color: #555;
	line-height: 1.7;
	font-size: 15px;
}

.qa-faq-answer p:last-child {
	margin-bottom: 0;
}

/* Hide category title if redundant */
.faq-catname {
	font-size: 24px;
	margin-bottom: 24px;
	padding-bottom: 12px;
	border-bottom: 2px solid #c4a06a;
	display: inline-block;
}

/* Back links and separators on service pages */
hr.wp-block-separator {
	margin: 3rem 0 2rem;
	opacity: 0.1;
}

.back-link {
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	color: #1a2235;
	transition: color 0.2s;
}


.back-link:hover {
	color: #c4a06a;
}

/* Fix contact form contrast on blue background */
.hercsik-contact .bigContact input[type="text"],
.hercsik-contact .bigContact input[type="email"],
.hercsik-contact .bigContact form textarea {
	color: #1a2235 !important;
	background-color: #ffffff !important;
	border: 1px solid #ddd !important;
	padding: 8px !important;
}
