/*
Theme Name: WebAlap
Theme URI: https://webalap.com
Author: webalap.com
Description: Lightweight classic theme built to work with the WebAlap TLD & Hosting Compare plugin. No block-editor sidebar surprises, no bloat — just a clean layout for domain and hosting price comparison pages.
Version: 1.49.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: webtarhely-theme
*/

:root {
	--wth-font: font-body, hurmegeometricsans_no3_6, Gilroy, Almarai, Arial, sans-serif;
	--wth-primary: #2b59ff;
	--wth-primary-dark: #1b3fc4;
	--wth-accent: #ff6b35;
	--wth-bg: #f7f8fc;
	--wth-border: #e4e7ef;
	--wth-text: #1c1f2b;
	--wth-text-muted: #6b7280;
	--wth-success: #14a34a;
	--wth-radius: 12px;
	--wth-container: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--wth-font);
	color: var(--wth-text);
	background: #fff;
	line-height: 1.6;
	font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--wth-primary); }
a:hover { color: var(--wth-primary-dark); }

h1, h2, h3, h4 {
	font-family: var(--wth-font);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 16px;
}
h1 { font-size: clamp(24px, 3vw, 32px); }
h2 { font-size: clamp(19px, 2.4vw, 24px); }
h3 { font-size: 18px; }

.wth-container {
	max-width: var(--wth-container);
	margin: 0 auto;
	padding: 0 20px;
}

/* --- Header --- */
.wth-site-header {
	border-bottom: 1px solid var(--wth-border);
	background: #fff;
	position: sticky;
	top: 0;
	z-index: 50;
}
.wth-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	max-width: var(--wth-container);
	margin: 0 auto;
	gap: 20px;
}
.wth-logo {
	font-family: "Raleway", var(--wth-font);
	font-weight: 800;
	font-size: 22px;
	text-decoration: none;
	color: var(--wth-text) !important;
	white-space: nowrap;
}
.wth-logo { display: inline-flex; align-items: center; line-height: 0; }
.wth-logo img { display: block; height: 27px; width: auto; }
.wth-primary-nav ul {
	list-style: none;
	display: flex;
	gap: 24px;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}
.wth-primary-nav a {
	text-decoration: none;
	color: var(--wth-text);
	font-weight: 500;
	font-size: 15px;
}
.wth-primary-nav a:hover { color: var(--wth-primary); }

/* --- Header dropdown submenus (Összes TLD / Web Hosting / SSL / Kuponok) ---
   Two class-naming schemes, same rules: .wth-nav-has-children /
   .wth-nav-submenu come from the hardcoded fallback menu in
   wth_primary_nav() (functions.php), used when no menu is assigned yet in
   Megjelenés > Menük. .menu-item-has-children / .sub-menu are WordPress's
   own automatic classes, used once a real menu IS assigned there (the
   normal case) - wp_nav_menu() outputs those on its own, not the custom
   ones, so both need the same styling or a real admin-managed menu's
   dropdowns render as a flat, wrapped list instead of hiding on hover. */
.wth-primary-nav li.wth-nav-has-children,
.wth-primary-nav li.menu-item-has-children { position: relative; }
.wth-primary-nav .wth-nav-submenu,
.wth-primary-nav .sub-menu {
	display: none;
	list-style: none;
	margin: 0;
	padding: 8px 0;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background: #fff;
	border: 1px solid var(--wth-border);
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0,0,0,.08);
	z-index: 60;
	flex-direction: column;
	gap: 0;
}
.wth-primary-nav li.wth-nav-has-children:hover .wth-nav-submenu,
.wth-primary-nav li.wth-nav-has-children:focus-within .wth-nav-submenu,
.wth-primary-nav li.menu-item-has-children:hover .sub-menu,
.wth-primary-nav li.menu-item-has-children:focus-within .sub-menu {
	display: flex;
}
.wth-primary-nav .wth-nav-submenu li,
.wth-primary-nav .sub-menu li { width: 100%; }
.wth-primary-nav .wth-nav-submenu a,
.wth-primary-nav .sub-menu a {
	display: block;
	padding: 8px 16px;
	font-size: 14px;
	white-space: nowrap;
}
.wth-primary-nav .wth-nav-submenu a:hover,
.wth-primary-nav .sub-menu a:hover { background: var(--wth-bg, #f7f8fb); }
/* Small visual cue that a top-level item opens a submenu */
.wth-primary-nav li.wth-nav-has-children > a::after,
.wth-primary-nav li.menu-item-has-children > a::after {
	content: "▾";
	display: inline-block;
	font-size: 15px;
	line-height: 1;
	margin-left: 6px;
	vertical-align: -1px;
	opacity: .75;
}

.wth-menu-toggle {
	display: none;
	background: none;
	border: 1px solid var(--wth-border);
	border-radius: 8px;
	padding: 8px 12px;
	font-family: var(--wth-font);
	cursor: pointer;
}

/* --- Hero --- */
.wth-hero {
	background: linear-gradient(180deg, var(--wth-bg) 0%, #fff 100%);
	padding: 64px 20px 48px;
	text-align: center;
}
.wth-hero p.wth-lead {
	max-width: 640px;
	margin: 0 auto 28px;
	color: var(--wth-text-muted);
	font-size: 17px;
}
.wth-search-form {
	max-width: 640px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	gap: 10px;
	box-sizing: border-box;
}
.wth-search-form input[type="text"] {
	flex: 1;
	min-width: 0;
	height: 50px;
	padding: 0 20px;
	border: 1px solid var(--wth-border);
	border-radius: 12px;
	font-family: var(--wth-font);
	font-size: 16px;
	box-sizing: border-box;
}
.wth-search-form button.wth-search-btn {
	background: var(--wth-primary);
	color: #fff;
	border: none;
	width: 56px;
	height: 50px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	padding: 0;
}
.wth-search-form button.wth-search-btn svg { width: 22px; height: 22px; }
.wth-search-form button.wth-search-btn:hover { background: var(--wth-primary-dark); }

/* --- Sections --- */
.wth-section { padding: 48px 20px; }
.wth-section-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 24px;
	flex-wrap: wrap;
	gap: 8px;
}
.wth-section-header p { color: var(--wth-text-muted); margin: 0; }
.wth-view-all {
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
}

/* --- Generic content page (About/Privacy/Contact) --- */
.wth-page-content {
	max-width: 760px;
	margin: 0 auto;
	padding: 48px 20px 80px;
}
.wth-page-content h1 { margin-bottom: 24px; }
.wth-page-content p { margin: 0 0 16px; }

/* --- Single blog post --- */
.wth-post-meta {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	color: var(--wth-text-muted);
	font-size: 14px;
	margin-bottom: 24px;
}
.wth-post-meta a { color: var(--wth-text-muted); text-decoration: none; }
.wth-post-meta a:hover { color: var(--wth-primary); }
.wth-post-thumb { margin-bottom: 24px; }
.wth-post-thumb img { border-radius: var(--wth-radius); width: 100%; }
.wth-post-content { line-height: 1.75; }
.wth-post-content p { margin: 0 0 18px; }

/* Bejegyzésbe (kézzel vagy Gutenberg táblázat-blokkal) beszúrt táblázatok.
   A .wth-table-scroll csomagolót a functions.php (wth_wrap_post_tables_for_scroll)
   adja hozzá automatikusan minden <table> köré - ez teszi lehetővé a
   vízszintes görgetést keskeny képernyőn anélkül, hogy a táblázat
   összenyomódna vagy kilógna az oldalból. */
.wth-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 0 0 24px;
	border: 1px solid var(--wth-border);
	border-radius: var(--wth-radius);
}
.wth-post-content table {
	width: 100%;
	min-width: 480px; /* ennél keskenyebbre ne nyomódjon össze - inkább görgessen */
	border-collapse: collapse;
	font-size: 15px;
	margin: 0;
}
.wth-post-content table thead th {
	background: var(--wth-bg);
	color: var(--wth-text);
	font-weight: 600;
	text-align: left;
	white-space: nowrap;
	padding: 12px 16px;
	border-bottom: 2px solid var(--wth-border);
}
.wth-post-content table td,
.wth-post-content table th {
	padding: 12px 16px;
	border-bottom: 1px solid var(--wth-border);
	vertical-align: top;
}
.wth-post-content table tbody tr:last-child td { border-bottom: none; }
.wth-post-content table tbody tr:nth-child(even) { background: var(--wth-bg); }
.wth-post-content table caption {
	text-align: left;
	padding: 10px 16px;
	font-size: 13px;
	color: var(--wth-text-muted);
}
@media (max-width: 600px) {
	.wth-post-content table { font-size: 14px; }
	.wth-post-content table td,
	.wth-post-content table th,
	.wth-post-content table thead th { padding: 10px 12px; }
}

.wth-post-tags {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--wth-border);
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.wth-tag-chip {
	background: var(--wth-bg);
	color: var(--wth-text-muted);
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 13px;
	text-decoration: none;
}
.wth-tag-chip:hover { background: var(--wth-primary); color: #fff; }

.wth-read-more {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--wth-border);
}
.wth-read-more h2 { font-size: 20px; margin-bottom: 20px; }
.wth-read-more-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
}
.wth-read-more-card {
	display: block;
	text-decoration: none;
	color: inherit;
	border: 1px solid var(--wth-border);
	border-radius: var(--wth-radius);
	overflow: hidden;
	transition: box-shadow .15s, transform .15s;
}
.wth-read-more-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
.wth-read-more-card img { width: 100%; height: 120px; object-fit: cover; }
.wth-read-more-date { display: block; font-size: 12px; color: var(--wth-text-muted); padding: 12px 14px 0; }
.wth-read-more-card h3 { font-size: 15px; margin: 4px 0 6px; padding: 0 14px; }
.wth-read-more-link { display: block; font-size: 13px; color: var(--wth-primary); font-weight: 600; padding: 0 14px 14px; }

/* --- Extra content below archive/listing pages (plugin option) --- */
.wth-archive-extra-content {
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid var(--wth-border);
	line-height: 1.7;
}
.wth-archive-extra-content h2 { font-size: 20px; margin: 24px 0 12px; }
.wth-archive-extra-content p { margin: 0 0 14px; }

/* --- Single post: two-column layout with sidebar --- */
.wth-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 40px;
	align-items: start;
}
.wth-single-sidebar {
	position: sticky;
	top: 20px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.wth-sidebar-box {
	background: #fff;
	border: 1px solid var(--wth-border);
	border-radius: var(--wth-radius);
	padding: 18px;
}
.wth-sidebar-box h3 {
	font-size: 15px;
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--wth-border);
}
.wth-popular-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.wth-popular-list li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}
.wth-popular-num {
	background: var(--wth-bg);
	color: var(--wth-primary);
	font-weight: 700;
	font-size: 13px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.wth-popular-list a {
	text-decoration: none;
	color: var(--wth-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	display: block;
}
.wth-popular-list a:hover { color: var(--wth-primary); }
.wth-popular-date {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: var(--wth-text-muted);
	margin-top: 3px;
}
/* --- "Ad - Sidebar" widget area, styled to match wth-sidebar-box ---
   This zone is meant for ad code, but if a "Recent Posts" widget/block
   ends up here instead (as on single posts, next to Népszerű cikkek),
   it should look like a matching card, not raw unstyled WP output.
   Covers the classic Recent Posts widget, the Latest Posts block, and
   a plain Heading block used as its title, whichever combination is in
   use - and merges two stacked non-empty widgets (e.g. a separate
   heading + list) into one card if they land here as separate entries. */

/* An empty widget entry still gets wrapped in this div by WordPress -
   hide it so it doesn't show as a blank box in the sidebar stack. */
.wth-ad-slot:not(:has(*)) { display: none; }

.wth-ad-slot--wth-ad-sidebar:has(*) {
	background: #fff;
	border: 1px solid var(--wth-border);
	border-radius: var(--wth-radius);
	padding: 18px;
}
.wth-ad-slot--wth-ad-sidebar:has(*) + .wth-ad-slot--wth-ad-sidebar:has(*) {
	margin-top: -1px;
	border-top: none;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	padding-top: 0;
}
.wth-ad-slot--wth-ad-sidebar:has(*):has(+ .wth-ad-slot--wth-ad-sidebar:has(*)) {
	border-bottom: none;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	padding-bottom: 0;
	margin-bottom: 0;
}
.wth-ad-slot--wth-ad-sidebar h2,
.wth-ad-slot--wth-ad-sidebar h3,
.wth-ad-slot--wth-ad-sidebar .widget-title,
.wth-ad-slot--wth-ad-sidebar .wp-block-heading {
	font-size: 15px;
	font-weight: 700;
	color: var(--wth-text);
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--wth-border);
}
.wth-ad-slot--wth-ad-sidebar ul,
.wth-ad-slot--wth-ad-sidebar .wp-block-latest-posts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	counter-reset: wth-recent;
}
.wth-ad-slot--wth-ad-sidebar ul li,
.wth-ad-slot--wth-ad-sidebar .wp-block-latest-posts li {
	counter-increment: wth-recent;
	display: flex;
	gap: 10px;
	align-items: flex-start;
}
.wth-ad-slot--wth-ad-sidebar ul li::before,
.wth-ad-slot--wth-ad-sidebar .wp-block-latest-posts li::before {
	content: counter(wth-recent);
	background: var(--wth-bg);
	color: var(--wth-primary);
	font-weight: 700;
	font-size: 13px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.wth-ad-slot--wth-ad-sidebar ul li a,
.wth-ad-slot--wth-ad-sidebar .wp-block-latest-posts li a {
	text-decoration: none;
	color: var(--wth-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}
.wth-ad-slot--wth-ad-sidebar ul li a:hover,
.wth-ad-slot--wth-ad-sidebar .wp-block-latest-posts li a:hover { color: var(--wth-primary); }
.wth-ad-slot--wth-ad-sidebar .wp-block-latest-posts__post-date {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: var(--wth-text-muted);
	margin-top: 3px;
}

@media (max-width: 860px) {
	.wth-single-layout { grid-template-columns: 1fr; }
	.wth-single-sidebar { position: static; }
}

/* --- Footer --- */
.wth-site-footer {
	background: #14161f;
	color: #c7c9d6;
	margin-top: 40px;
}
.wth-footer-inner {
	max-width: var(--wth-container);
	margin: 0 auto;
	padding: 48px 20px 24px;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 32px;
}
.wth-footer-inner--wide {
	/* auto-fit helps this survive future column-count changes: it fits as
	   many columns as the container comfortably allows in one row (5, 6,
	   however many top-level Footer Menu items you add), and only wraps
	   to a second row if there truly isn't room - the mobile breakpoints
	   below still take over at narrow widths regardless. */
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
/* Grid items default to min-width:auto, which means long unbreakable text
   (like an email address) can overflow past its own column into the next
   one instead of wrapping - this is what caused the brand column's email
   to visually crowd into "TLD". min-width:0 lets the column actually
   shrink to its track size, and overflow-wrap lets the email itself
   break/wrap if it's still too long for that width. */
.wth-footer-inner > div { min-width: 0; }
.wth-footer-inner h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.wth-footer-inner p { color: #9497a8; font-size: 14px; }
.wth-footer-inner ul { list-style: none; margin: 0; padding: 0; }
.wth-footer-inner li { margin-bottom: 10px; }
.wth-footer-inner a { color: #c7c9d6; text-decoration: none; font-size: 14px; }
.wth-footer-inner a:hover { color: #fff; }
/* Footer column heading that is itself a link (menu parent with a URL): look like the plain headings. */
.wth-footer-inner h4 a { color: #fff; font-size: inherit; font-weight: inherit; }

.wth-footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.wth-footer-brand-logo img { flex-shrink: 0; height: 36px; width: auto; }
.wth-footer-brand-logo span { color: #fff; font-family: "Raleway", var(--wth-font); font-size: 17px; font-weight: 700; }
.wth-footer-brand-logo strong { color: #0693e3; font-weight: 700; }
.wth-footer-brand-tagline { margin: 0 0 14px; }
.wth-footer-bottom {
	border-top: 1px solid #262838;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 18px 20px;
	font-size: 13px;
	color: #7d7f92;
}

@media (max-width: 780px) {
	.wth-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
	.wth-footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.wth-primary-nav { display: none; width: 100%; }
	.wth-primary-nav.is-open { display: block; }
	.wth-primary-nav ul { flex-direction: column; gap: 4px; padding: 12px 0; }
	.wth-menu-toggle { display: block; }
	/* On mobile the whole menu is already an open vertical list, so
	   submenus show inline/indented underneath their parent instead of a
	   hover dropdown (there's no hover on touch anyway). */
	.wth-primary-nav .wth-nav-submenu,
	.wth-primary-nav .sub-menu {
		display: flex;
		position: static;
		border: none;
		box-shadow: none;
		padding: 4px 0 4px 16px;
		background: transparent;
	}
	.wth-primary-nav li.wth-nav-has-children > a::after,
	.wth-primary-nav li.menu-item-has-children > a::after { display: none; }
	.wth-header-inner { flex-wrap: wrap; }
	.wth-search-form { flex-direction: column; max-width: 100%; }
	.wth-search-form input[type="text"] { height: 64px !important; }
	.wth-search-form button.wth-search-btn { width: 100%; height: 45px; }
}
@media (max-width: 380px) {
	.wth-search-form input[type="text"] { font-size: 14px; padding: 0 16px; }
}

/* --- Blog: kategória-fülek + 3 oszlopos kártyarács --- */
.wth-blog { padding: 36px 20px 64px; }
.wth-blog-head { margin-bottom: 22px; }
.wth-blog-head h1 { margin: 0 0 6px; font-size: 34px; line-height: 1.2; }
.wth-blog-sub { margin: 0; color: var(--wth-text-muted); max-width: 720px; }

.wth-blog-tabs {
	display: flex;
	gap: 26px;
	border-bottom: 1px solid var(--wth-border);
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.wth-blog-tabs::-webkit-scrollbar { display: none; }
.wth-blog-tabs a {
	position: relative;
	flex: 0 0 auto;
	padding: 14px 2px;
	font-weight: 600;
	font-size: 15px;
	color: var(--wth-text-muted);
	text-decoration: none;
	white-space: nowrap;
	transition: color .15s ease;
}
.wth-blog-tabs a:hover { color: var(--wth-text); }
.wth-blog-tabs a.is-active { color: var(--wth-text); }
.wth-blog-tabs a.is-active::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -1px;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--wth-primary);
}

.wth-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
	margin-top: 30px;
}
.wth-bcard {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--wth-border);
	border-radius: 14px;
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.wth-bcard:hover {
	transform: translateY(-4px);
	border-color: #cfd8f6;
	box-shadow: 0 14px 30px rgba(28, 31, 43, .10);
}
.wth-bcard-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #eef1f8; }
.wth-bcard-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.wth-bcard:hover .wth-bcard-img { transform: scale(1.05); }
.wth-bcard-ph { display: block; width: 100%; height: 100%; transition: transform .45s ease; }
.wth-bcard:hover .wth-bcard-ph { transform: scale(1.05); }
.wth-ph-1 { background: radial-gradient(circle at 78% 28%, rgba(255,255,255,.30) 0 20%, transparent 21%), linear-gradient(135deg, #2b59ff, #7d9bff); }
.wth-ph-2 { background: radial-gradient(circle at 22% 72%, rgba(255,255,255,.28) 0 24%, transparent 25%), linear-gradient(135deg, #0f766e, #34d399); }
.wth-ph-3 { background: radial-gradient(circle at 74% 70%, rgba(255,255,255,.30) 0 22%, transparent 23%), linear-gradient(135deg, #ff6b35, #ffb27a); }
.wth-ph-4 { background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.28) 0 21%, transparent 22%), linear-gradient(135deg, #7c3aed, #b89bff); }
.wth-ph-5 { background: radial-gradient(circle at 70% 35%, rgba(255,255,255,.32) 0 23%, transparent 24%), linear-gradient(135deg, #0ea5e9, #67e8f9); }

.wth-bcard-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 20px; }
.wth-bcard-title { margin: 0 0 10px; font-size: 20px; line-height: 1.3; font-weight: 700; }
.wth-bcard-title a {
	color: var(--wth-text);
	text-decoration: none;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
/* az egész kártya kattintható: a cím linkje lefedi a kártyát */
.wth-bcard-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.wth-bcard:hover .wth-bcard-title a { color: var(--wth-primary); }
.wth-bcard-excerpt {
	margin: 0 0 16px;
	color: var(--wth-text-muted);
	font-size: 15px;
	line-height: 1.6;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.wth-bcard-meta {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	font-size: 13px;
	color: var(--wth-text-muted);
}
.wth-bcard-cat {
	position: relative; z-index: 2; /* a kártya-linkje fölött, hogy külön kattintható legyen */
	color: var(--wth-primary);
	font-weight: 600;
	text-decoration: none;
}
.wth-bcard-cat:hover { text-decoration: underline; }

.wth-blog-empty { padding: 48px 0; text-align: center; color: var(--wth-text-muted); }
.wth-blog-empty h2 { color: var(--wth-text); margin-bottom: 6px; }

.wth-blog-grid + nav.navigation,
.wth-blog nav.navigation.pagination { margin: 40px 0 0; }
.wth-blog nav.navigation .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.wth-blog nav.navigation .page-numbers {
	min-width: 40px;
	padding: 9px 14px;
	text-align: center;
	border: 1px solid var(--wth-border);
	border-radius: 10px;
	text-decoration: none;
	color: var(--wth-text);
	font-size: 14px;
	font-weight: 600;
	background: #fff;
}
.wth-blog nav.navigation a.page-numbers:hover { border-color: var(--wth-primary); color: var(--wth-primary); }
.wth-blog nav.navigation .page-numbers.current { background: var(--wth-primary); border-color: var(--wth-primary); color: #fff; }
.wth-blog nav.navigation .page-numbers.dots { border-color: transparent; background: transparent; }

@media (max-width: 900px) { .wth-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) {
	.wth-blog { padding: 24px 16px 48px; }
	.wth-blog-head h1 { font-size: 28px; }
	.wth-blog-grid { grid-template-columns: 1fr; gap: 20px; }
	.wth-blog-tabs { gap: 20px; margin-left: -16px; margin-right: -16px; padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.wth-bcard, .wth-bcard-img, .wth-bcard-ph { transition: none; }
	.wth-bcard:hover, .wth-bcard:hover .wth-bcard-img, .wth-bcard:hover .wth-bcard-ph { transform: none; }
}

/* --- .hu highlight banner (homepage) --- */
.wth-hu-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	background: linear-gradient(135deg, #eef4ff, #f7faff);
	border: 1px solid #dce8ff;
	border-radius: var(--wth-radius);
	padding: 20px 24px;
	margin: 32px 0 0;
}
.wth-hu-banner-text {
	display: flex;
	align-items: center;
	gap: 16px;
}
.wth-hu-flag { font-size: 32px; line-height: 1; flex-shrink: 0; }
.wth-hu-banner-text h3 { font-size: 16px; margin: 0 0 4px; }
.wth-hu-banner-text p { font-size: 14px; color: var(--wth-text-muted); margin: 0; }
@media (max-width: 600px) {
	.wth-hu-banner { flex-direction: column; align-items: flex-start; }
}

/* --- "Weboldal készítés" service teaser (homepage) --- */
.wth-service-teaser {
	margin: 8px 0 0;
	padding: 48px 20px;
	border-radius: var(--wth-radius);
	background: linear-gradient(135deg, var(--wth-primary) 0%, var(--wth-primary-dark) 100%);
	color: #fff;
	text-align: center;
}
.wth-service-teaser-inner {
	max-width: 720px;
	margin: 0 auto;
}
.wth-service-teaser-eyebrow {
	display: inline-block;
	background: rgba(255,255,255,.16);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 6px 16px;
	border-radius: 20px;
	margin-bottom: 16px;
}
.wth-service-teaser h2 { margin: 0 0 14px; font-size: 28px; }
.wth-service-teaser .wth-lead {
	color: rgba(255,255,255,.9);
	font-size: 16px;
	margin: 0 auto 28px;
}
.wth-service-teaser-who {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 28px;
}
.wth-service-teaser-who-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255,255,255,.1);
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 20px;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 500;
}
.wth-service-teaser-prices {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-bottom: 28px;
}
.wth-service-teaser-price {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: rgba(255,255,255,.1);
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 12px;
	padding: 12px 20px;
	min-width: 130px;
}
.wth-service-teaser-price strong { font-size: 16px; }
.wth-service-teaser-price span { font-size: 12px; color: rgba(255,255,255,.8); margin-top: 2px; }
.wth-service-teaser-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	color: var(--wth-primary-dark);
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
	padding: 14px 28px;
	border-radius: 14px;
	box-shadow: 0 10px 28px rgba(0,0,0,.15);
	transition: transform .15s, box-shadow .15s;
}
.wth-service-teaser-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(0,0,0,.2);
	color: var(--wth-primary-dark);
}
@media (max-width: 600px) {
	.wth-service-teaser { padding: 36px 16px; }
	.wth-service-teaser h2 { font-size: 22px; }
	.wth-service-teaser-cta { width: 100%; justify-content: center; }
}

/* --- Homepage latest articles --- */
.wth-home-articles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}
.wth-home-article-card {
	display: block;
	text-decoration: none;
	color: inherit;
	border: 1px solid var(--wth-border);
	border-radius: var(--wth-radius);
	overflow: hidden;
	transition: box-shadow .15s, transform .15s;
}
.wth-home-article-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
.wth-home-article-card img,
.wth-home-article-noimg {
	width: 100%;
	height: 150px;
	object-fit: cover;
	display: block;
	background: var(--wth-bg);
}
.wth-home-article-card h3 {
	font-size: 16px;
	margin: 0;
	padding: 16px;
}

/* --- Contact Form 7 styling, matched to the site's design --- */
.wpcf7-form {
	max-width: 560px;
	margin-top: 24px;
}
.wpcf7-form p { margin: 0 0 18px; }
.wpcf7-form label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 6px;
	color: var(--wth-text);
}
.wpcf7-form-control {
	font-family: var(--wth-font) !important;
	font-size: 15px;
	width: 100%;
	box-sizing: border-box;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea,
.wpcf7-form select {
	padding: 12px 14px;
	border: 1px solid var(--wth-border);
	border-radius: 10px;
	background: #fff;
	transition: border-color .15s ease;
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form input[type="number"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
	outline: none;
	border-color: var(--wth-primary);
}
.wpcf7-form textarea {
	min-height: 140px;
	resize: vertical;
}
.wpcf7-form input[type="submit"] {
	background: var(--wth-primary);
	color: #fff;
	border: none;
	padding: 13px 30px;
	border-radius: 10px;
	font-family: var(--wth-font);
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	transition: background .15s ease;
}
.wpcf7-form input[type="submit"]:hover { background: var(--wth-primary-dark); }
.wpcf7-form input[type="submit"]:disabled { opacity: .6; cursor: default; }

.wpcf7-not-valid-tip {
	color: #d93025;
	font-size: 13px;
	margin-top: 4px;
	display: block;
}
.wpcf7-form-control-wrap {
	display: block;
}
.wpcf7-response-output {
	margin: 16px 0 0 !important;
	padding: 12px 16px !important;
	border-radius: 10px !important;
	font-size: 14px;
}
.wpcf7-mail-sent-ok {
	border: 1px solid #b7e4c7 !important;
	background: #e6f7ec;
	color: #1a7f3c !important;
}
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
	border: 1px solid #f3c2c2 !important;
	background: #fdecec;
	color: #b3261e !important;
}
.wpcf7-spinner { margin-left: 10px; }

/* --- Kapcsolat oldal (page-kapcsolat.php) --- */
.wth-contact-hero {
	background: linear-gradient(135deg, var(--wth-primary) 0%, var(--wth-primary-dark) 100%);
	color: #fff;
	text-align: center;
	padding: 72px 20px 64px;
	border-radius: 0 0 32px 32px;
}
.wth-contact-eyebrow {
	display: inline-block;
	background: rgba(255,255,255,.16);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 6px 16px;
	border-radius: 20px;
	margin-bottom: 18px;
}
.wth-contact-hero h1 { margin: 0 0 16px; font-size: 36px; }
.wth-contact-hero .wth-lead {
	max-width: 640px;
	margin: 0 auto 32px;
	color: rgba(255,255,255,.9);
	font-size: 17px;
}
.wth-contact-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	color: var(--wth-primary-dark);
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
	padding: 14px 28px;
	border-radius: 14px;
	box-shadow: 0 10px 28px rgba(0,0,0,.15);
	transition: transform .15s, box-shadow .15s;
}
.wth-contact-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(0,0,0,.2);
	color: var(--wth-primary-dark);
}

.wth-contact-grid {
	max-width: var(--wth-container);
	margin: -36px auto 0;
	padding: 0 20px 56px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	position: relative;
	z-index: 2;
}
.wth-contact-card {
	background: #fff;
	border: 1px solid var(--wth-border);
	border-radius: var(--wth-radius);
	padding: 32px 28px;
	box-shadow: 0 12px 28px rgba(20,25,50,.06);
	transition: transform .15s, box-shadow .15s;
}
.wth-contact-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 36px rgba(20,25,50,.1);
}
.wth-contact-card-primary {
	background: linear-gradient(160deg, #eef4ff 0%, #fff 60%);
	border-color: #d7e3ff;
}
.wth-contact-card-icon {
	font-size: 28px;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--wth-bg);
	border-radius: 14px;
	margin-bottom: 18px;
}
.wth-contact-card h2 { margin: 0 0 10px; font-size: 19px; }
.wth-contact-card p { margin: 0 0 16px; color: var(--wth-text-muted); font-size: 15px; line-height: 1.6; }
.wth-contact-email-link {
	font-weight: 600;
	word-break: break-word;
}

.wth-contact-extra {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 20px 72px;
}
.wth-contact-extra p { margin: 0 0 16px; color: var(--wth-text); }

@media (max-width: 860px) {
	.wth-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.wth-contact-hero { padding: 56px 20px 48px; border-radius: 0 0 24px 24px; }
	.wth-contact-hero h1 { font-size: 28px; }
	.wth-contact-cta { width: 100%; justify-content: center; }
}

/* --- Weboldal Segítség szolgáltatás oldal (page-weboldal-keszites.php) --- */
.wth-service-hero {
	background: linear-gradient(135deg, var(--wth-primary) 0%, var(--wth-primary-dark) 100%);
	color: #fff;
	text-align: center;
	padding: 72px 20px 64px;
	border-radius: 0 0 32px 32px;
}
.wth-service-hero h1 { margin: 0 0 16px; font-size: 36px; }
.wth-service-hero .wth-lead {
	max-width: 640px;
	margin: 0 auto 32px;
	color: rgba(255,255,255,.9);
	font-size: 17px;
}

.wth-service-page section { max-width: var(--wth-container); margin: 0 auto; padding: 56px 20px; }
.wth-service-page h2 { text-align: center; font-size: 28px; margin: 0 0 12px; }
.wth-service-section-lead { text-align: center; color: var(--wth-text-muted); max-width: 560px; margin: 0 auto 40px; }

.wth-service-who-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 36px;
}
.wth-service-who-item {
	background: var(--wth-bg);
	border-radius: var(--wth-radius);
	padding: 28px 24px;
	text-align: center;
}
.wth-service-who-icon { font-size: 30px; margin-bottom: 14px; }
.wth-service-who-item p { margin: 0; color: var(--wth-text); font-size: 15px; line-height: 1.6; }

.wth-service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	align-items: stretch;
}
.wth-service-card {
	background: #fff;
	border: 1px solid var(--wth-border);
	border-radius: var(--wth-radius);
	padding: 32px 26px;
	box-shadow: 0 12px 28px rgba(20,25,50,.06);
	display: flex;
	flex-direction: column;
	position: relative;
	transition: transform .15s, box-shadow .15s;
}
.wth-service-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(20,25,50,.1); }
.wth-service-card-featured {
	background: linear-gradient(160deg, #eef4ff 0%, #fff 60%);
	border-color: #d7e3ff;
	transform: scale(1.03);
}
.wth-service-card-featured:hover { transform: scale(1.03) translateY(-3px); }
.wth-service-card-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--wth-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 5px 14px;
	border-radius: 20px;
	white-space: nowrap;
}
.wth-service-card-icon {
	font-size: 26px;
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--wth-bg);
	border-radius: 14px;
	margin-bottom: 16px;
}
.wth-service-card h3 { margin: 0 0 10px; font-size: 20px; }
.wth-service-card-desc { color: var(--wth-text-muted); font-size: 14.5px; line-height: 1.55; margin: 0 0 18px; }
.wth-service-card-list { list-style: none; margin: 0 0 24px; padding: 0; flex-grow: 1; }
.wth-service-card-list li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 10px;
	font-size: 14.5px;
	color: var(--wth-text);
}
.wth-service-card-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--wth-success);
	font-weight: 700;
}
.wth-service-card-price {
	font-size: 17px;
	font-weight: 700;
	color: var(--wth-primary-dark);
	margin-bottom: 18px;
}
.wth-service-card-price-note { display: block; font-size: 12px; font-weight: 500; color: var(--wth-text-muted); margin-top: 2px; }
.wth-service-card-cta {
	display: block;
	text-align: center;
	background: var(--wth-primary);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	padding: 12px 20px;
	border-radius: 10px;
	transition: background .15s;
}
.wth-service-card-cta:hover { background: var(--wth-primary-dark); color: #fff; }

.wth-service-steps-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 36px;
}
.wth-service-step { text-align: center; }
.wth-service-step-num {
	width: 40px;
	height: 40px;
	line-height: 40px;
	margin: 0 auto 14px;
	background: var(--wth-primary);
	color: #fff;
	font-weight: 700;
	border-radius: 50%;
}
.wth-service-step h3 { margin: 0 0 8px; font-size: 16px; }
.wth-service-step p { margin: 0; color: var(--wth-text-muted); font-size: 14px; line-height: 1.55; }

.wth-service-faq h2 { margin: 0 0 36px; }
.wth-service-faq-item { max-width: 720px; margin: 0 auto 24px; }
.wth-service-faq-item h3 { margin: 0 0 8px; font-size: 17px; }
.wth-service-faq-item p { margin: 0; color: var(--wth-text-muted); }

.wth-service-price-note { text-align: center; color: var(--wth-text-muted); font-size: 13px; margin-top: 24px; }
.wth-service-price-note + .wth-service-scope-note { margin-top: 8px; }

.wth-service-quote { text-align: center; padding-bottom: 80px; }
.wth-service-quote-form { max-width: 560px; margin: 0 auto; text-align: left; }
.wth-service-quote-email { margin-top: 28px; }
.wth-service-quote-email p { margin: 0 0 12px; color: var(--wth-text-muted); font-size: 14px; }
.wth-service-quote-emails { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.wth-service-quote-hint { max-width: 480px; margin: 20px auto 0; font-size: 13px; color: var(--wth-text-muted); }

@media (max-width: 860px) {
	.wth-service-who-grid,
	.wth-service-grid { grid-template-columns: 1fr; }
	.wth-service-steps-grid { grid-template-columns: repeat(2, 1fr); }
	.wth-service-card-featured { transform: none; }
	.wth-service-card-featured:hover { transform: translateY(-3px); }
}
@media (max-width: 600px) {
	.wth-service-hero { padding: 56px 20px 48px; border-radius: 0 0 24px 24px; }
	.wth-service-hero h1 { font-size: 28px; }
	.wth-service-steps-grid { grid-template-columns: 1fr; }
}

/* --- Home page "Best 4" preview grids (Hosting: Shared/Cloud/VPS,
   SSL: DV/EV/OV/Wildcard/Multidomain) ---
   Wraps the plugin's [wth_hosting_comparison]/[wth_ssl_best] shortcode
   output in a ".wth-best4" div (see front-page.php) so the Home page
   always shows exactly 4 small cards per row, without changing how
   those same .wth-hosting-grid/.wth-hosting-card classes look anywhere
   else on the site (e.g. the /hosting/ hub page, which still shows its
   own 3-card preview at the larger default size). */
.wth-best4 .wth-hosting-grid {
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin: 0;
}
.wth-best4 .wth-hosting-card { padding: 14px 10px; }
.wth-best4 .wth-hosting-logo { max-height: 26px; margin-bottom: 8px; }
.wth-best4 .wth-hosting-card h3 { font-size: 13px; margin: 0 0 4px; line-height: 1.25; }
.wth-best4 .wth-hosting-card h3 a { text-decoration: none; }
.wth-best4 .wth-rating { font-size: 12px; margin-bottom: 6px; }
.wth-best4 .wth-hosting-price { margin: 8px 0; }
.wth-best4 .wth-price-new { font-size: 17px; }
.wth-best4 .wth-price-old { font-size: 11px; margin-right: 5px; }
.wth-best4 .wth-discount { font-size: 10px; padding: 1px 6px; margin-left: 5px; }
.wth-best4 .wth-hosting-storage { font-size: 11px; margin: 4px 0; }
.wth-best4 .wth-promo { font-size: 12px; }
.wth-best4 .wth-promo code { font-size: 11px; padding: 1px 6px; }
.wth-best4 .wth-go-btn-block { font-size: 12px; padding: 6px 8px; margin-top: 8px; }
.wth-best4 .wth-badge { font-size: 10px; padding: 3px 10px; top: -10px; }

@media (max-width: 900px) {
	.wth-best4 .wth-hosting-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.wth-best4 .wth-hosting-grid { grid-template-columns: 1fr; }
}

/* --- Home page section separation ---
   Instead of a hard rule/line between the major Home page blocks, every
   other section (Kuponok, SSL tanúsítványok) gets a soft, rounded, light
   background "panel" - the color change itself is the separator, and the
   panel's own rounded top/bottom corners create a gentle transition back
   to the plain white sections around it (Népszerű domain végződések,
   Aktuális web hosting akciók, Legfrissebb cikkeink stay plain white).
   The negative side margin matches .wth-container's own 20px padding, so
   the panel's background spans the full content width edge-to-edge while
   the text inside still lines up exactly where it always did. */
.wth-section-tinted {
	background: var(--wth-bg);
	border-radius: 28px;
	margin-left: -20px;
	margin-right: -20px;
}

/* Főoldal: a sima (nem tónusos) szekciók tartalma pontosan ugyanott kezdődjön,
   ahol a tónusos panelek tartalma (ne legyen 20px eltolás a kettő között). */
body.home .wth-section:not(.wth-section-tinted) { padding-left: 0; padding-right: 0; }

/* --- Header CTA: "Weboldal készítés" (class added automatically by wth_nav_cta_class) --- */
.wth-primary-nav li.wth-nav-cta { align-self: center; }
.wth-primary-nav li.wth-nav-cta > a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 18px;
	border-radius: 999px;
	color: #fff;
	font-weight: 700;
	letter-spacing: .01em;
	background: linear-gradient(120deg, var(--wth-primary) 0%, #7b3fe4 50%, var(--wth-accent) 100%);
	background-size: 220% 220%;
	animation: wthCtaShift 7s ease-in-out infinite, wthCtaPulse 2.8s ease-out infinite;
	overflow: hidden;
	transition: transform .15s ease, filter .15s ease;
}
.wth-primary-nav li.wth-nav-cta > a:hover,
.wth-primary-nav li.wth-nav-cta > a:focus-visible {
	color: #fff;
	transform: translateY(-2px) scale(1.03);
	filter: brightness(1.08);
}
/* sparkle icon */
.wth-primary-nav li.wth-nav-cta > a::before {
	content: "\2726";
	display: inline-block;
	font-size: 15px;
	line-height: 1;
	animation: wthCtaTwinkle 2.4s ease-in-out infinite;
}
/* light sweep across the button */
.wth-primary-nav li.wth-nav-cta:not(.menu-item-has-children) > a::after {
	content: "";
	position: absolute;
	top: 0;
	left: -60%;
	width: 40%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
	transform: skewX(-20deg);
	animation: wthCtaSweep 3.6s ease-in-out infinite;
	pointer-events: none;
}
@keyframes wthCtaShift {
	0%, 100% { background-position: 0% 50%; }
	50%      { background-position: 100% 50%; }
}
@keyframes wthCtaPulse {
	0%   { box-shadow: 0 4px 14px rgba(43,89,255,.35), 0 0 0 0 rgba(123,63,228,.45); }
	70%  { box-shadow: 0 4px 14px rgba(43,89,255,.35), 0 0 0 12px rgba(123,63,228,0); }
	100% { box-shadow: 0 4px 14px rgba(43,89,255,.35), 0 0 0 0 rgba(123,63,228,0); }
}
@keyframes wthCtaTwinkle {
	0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
	50%      { transform: scale(1.35) rotate(25deg); opacity: .75; }
}
@keyframes wthCtaSweep {
	0%, 55% { left: -60%; }
	100%    { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
	.wth-primary-nav li.wth-nav-cta > a,
	.wth-primary-nav li.wth-nav-cta > a::before,
	.wth-primary-nav li.wth-nav-cta > a::after { animation: none; }
}
@media (max-width: 640px) {
	.wth-primary-nav li.wth-nav-cta { align-self: stretch; margin-top: 6px; }
	.wth-primary-nav li.wth-nav-cta > a { display: flex; justify-content: center; padding: 12px 18px; }
}

/* --- Header language switcher (globe + language name, dropdown) --- */
.wth-lang { position: relative; flex: 0 0 auto; }
.wth-lang-toggle {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: none;
	border: 0;
	padding: 6px 8px;
	border-radius: 8px;
	font-family: var(--wth-font);
	font-size: 15px;
	font-weight: 400;
	color: var(--wth-text);
	cursor: pointer;
}
.wth-lang-toggle:hover,
.wth-lang-toggle[aria-expanded="true"] { color: var(--wth-primary); }
.wth-lang-toggle:focus-visible,
.wth-lang-panel a:focus-visible { outline: 2px solid var(--wth-primary); outline-offset: 2px; }
.wth-lang-globe { display: block; flex: 0 0 20px; }
.wth-lang-caret {
	flex: 0 0 auto;
	box-sizing: border-box;
	width: 6px; height: 6px;
	margin: -3px 1px 0 -1px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	opacity: .55;
	transition: transform .15s;
}
.wth-lang-toggle[aria-expanded="true"] .wth-lang-caret { transform: rotate(-135deg); margin-top: 3px; }
.wth-lang-panel {
	display: none;
	list-style: none;
	margin: 0;
	padding: 8px;
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 170px;
	background: #fff;
	border: 1px solid var(--wth-border);
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0,0,0,.08);
	z-index: 70;
}
.wth-lang.is-open .wth-lang-panel { display: block; }
.wth-lang-panel li { margin: 0; }
.wth-lang-panel a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 9px 12px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 500;
	color: var(--wth-text);
	text-decoration: none;
	white-space: nowrap;
}
.wth-lang-panel a:hover { background: var(--wth-bg); color: var(--wth-primary); }
.wth-lang-panel a.is-current { color: var(--wth-primary); font-weight: 700; }
.wth-lang-panel a.is-current::after {
	content: "";
	flex: 0 0 auto;
	width: 5px; height: 10px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	margin-right: 2px;
}
@media (max-width: 640px) {
	.wth-lang-name { display: none; }
	.wth-lang { order: 1; margin-left: auto; }
	.wth-menu-toggle { order: 2; }
	.wth-primary-nav { order: 3; }
}

/* --- Header fit (theme 1.45.1) ---
   nav.js adds .wth-hdr-fit to the header: the menu stays on one row (no wrapping,
   no CTA dropping below the links). If the row does not fit (long labels in some
   languages, medium screens) nav.js adds .wth-header-collapsed, which gives the
   same hamburger layout as phones. Without JavaScript the old wrapping applies. */
@media (min-width: 641px) {
	.wth-hdr-fit .wth-primary-nav { flex: 1 1 auto; min-width: 0; }
	.wth-hdr-fit .wth-primary-nav > ul { flex-wrap: nowrap; align-items: center; justify-content: center; gap: 20px; }
	.wth-hdr-fit .wth-primary-nav a { white-space: nowrap; }
	.wth-hdr-fit .wth-primary-nav li.wth-nav-cta > a { padding: 9px 16px; }
}

.wth-header-collapsed .wth-header-inner { flex-wrap: wrap; }
.wth-header-collapsed .wth-menu-toggle { display: block; order: 2; }
.wth-header-collapsed .wth-lang { order: 1; margin-left: auto; }
.wth-header-collapsed .wth-primary-nav { display: none; width: 100%; order: 3; flex: 0 0 100%; }
.wth-header-collapsed .wth-primary-nav.is-open { display: block; }
.wth-header-collapsed .wth-primary-nav > ul { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px; padding: 12px 0; }
.wth-header-collapsed .wth-primary-nav .wth-nav-submenu,
.wth-header-collapsed .wth-primary-nav .sub-menu {
	display: flex;
	position: static;
	border: none;
	box-shadow: none;
	padding: 4px 0 4px 16px;
	background: transparent;
}
.wth-header-collapsed .wth-primary-nav li.wth-nav-has-children > a::after,
.wth-header-collapsed .wth-primary-nav li.menu-item-has-children > a::after { display: none; }
.wth-header-collapsed .wth-primary-nav li.wth-nav-cta { align-self: stretch; margin-top: 6px; }
.wth-header-collapsed .wth-primary-nav li.wth-nav-cta > a { display: flex; justify-content: center; padding: 12px 18px; }

/* --- Cookie consent (theme 1.46.0) --- */
.wth-cc[hidden] { display: none; }
.wth-cc {
	position: fixed;
	left: 16px; right: 16px; bottom: 16px;
	z-index: 100;
	display: flex;
	justify-content: flex-start;
	pointer-events: none;
}
.wth-cc-inner {
	pointer-events: auto;
	box-sizing: border-box;
	width: 100%;
	max-width: 460px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	background: #fff;
	color: var(--wth-text);
	border: 1px solid var(--wth-border);
	border-radius: 14px;
	box-shadow: 0 12px 40px rgba(20,24,40,.18);
	padding: 20px;
	font-family: var(--wth-font);
}
.wth-cc-title { font-size: 17px; margin: 0 0 8px; }
.wth-cc-text { font-size: 14px; line-height: 1.55; margin: 0 0 14px; color: var(--wth-text-muted); }
.wth-cc-text a { color: var(--wth-primary); white-space: nowrap; }
.wth-cc-prefs { margin: 0 0 14px; border-top: 1px solid var(--wth-border); }
.wth-cc-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--wth-border);
	cursor: default;
}
label.wth-cc-row { cursor: pointer; }
.wth-cc-row strong { display: block; font-size: 14px; margin-bottom: 2px; }
.wth-cc-row span { display: block; font-size: 13px; line-height: 1.45; color: var(--wth-text-muted); }
.wth-cc-row .wth-cc-always { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--wth-success); white-space: nowrap; }
.wth-cc-switch {
	flex: 0 0 auto;
	appearance: none; -webkit-appearance: none;
	position: relative;
	width: 42px; height: 24px;
	margin: 0;
	border-radius: 999px;
	background: #c9cedb;
	cursor: pointer;
	transition: background .15s;
}
.wth-cc-switch::after {
	content: "";
	position: absolute;
	top: 3px; left: 3px;
	width: 18px; height: 18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,.25);
	transition: transform .15s;
}
.wth-cc-switch:checked { background: var(--wth-primary); }
.wth-cc-switch:checked::after { transform: translateX(18px); }
.wth-cc-switch:focus-visible,
.wth-cc-btn:focus-visible,
.wth-cc-link:focus-visible { outline: 2px solid var(--wth-primary); outline-offset: 2px; }
.wth-cc-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wth-cc-btn {
	flex: 1 1 auto;
	padding: 10px 16px;
	border-radius: 10px;
	border: 1.5px solid var(--wth-primary);
	background: #fff;
	color: var(--wth-primary);
	font: 700 14px/1.2 var(--wth-font);
	cursor: pointer;
}
.wth-cc-btn[data-wth-cc="accept"],
.wth-cc-btn-save { background: var(--wth-primary); color: #fff; }
.wth-cc-btn:hover { filter: brightness(.95); }
.wth-cc-btn[hidden] { display: none; }
.wth-cc-link {
	flex: 1 0 100%;
	padding: 6px;
	background: none;
	border: 0;
	color: var(--wth-text);
	font: 500 14px/1.2 var(--wth-font);
	text-decoration: underline;
	cursor: pointer;
}
.wth-cc-open {
	background: none; border: 0; padding: 0;
	font-family: inherit; font-size: 14px; color: #c7c9d6; cursor: pointer; text-align: left;
}
.wth-cc-open:hover { color: #fff; }
@media (max-width: 640px) {
	.wth-cc { left: 0; right: 0; bottom: 0; }
	.wth-cc-inner { max-width: none; border-radius: 14px 14px 0 0; border-bottom: 0; max-height: 80vh; }
}


/* Quote form + payment info (1.47.0) */
.wth-quote{max-width:560px;margin:0 auto;text-align:left}
.wth-quote-form p{margin:0 0 16px}
.wth-quote-form label{display:block;font-weight:700;font-size:14px;margin-bottom:6px}
.wth-quote-form input[type="text"],.wth-quote-form input[type="email"],.wth-quote-form select,.wth-quote-form textarea{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid var(--wth-border);border-radius:8px;background:#fff;color:var(--wth-text);font:inherit}
.wth-quote-form input:focus,.wth-quote-form select:focus,.wth-quote-form textarea:focus{outline:2px solid var(--wth-primary);outline-offset:1px}
.wth-quote-pay{border:0;padding:0;margin:0 0 16px}
.wth-quote-pay legend{font-weight:700;font-size:14px;margin-bottom:6px;padding:0}
.wth-quote-pay label,.wth-quote-consent label{display:flex;gap:8px;align-items:flex-start;font-weight:400;margin-bottom:6px}
.wth-quote-pay input,.wth-quote-consent input{margin-top:4px}
.wth-quote-hp{position:absolute;left:-9999px;height:0;overflow:hidden}
.wth-quote-msg{padding:14px 16px;border-radius:8px;margin-bottom:16px;font-weight:700}
.wth-quote-msg-ok{background:#e8f6ee;color:#0f6a33;border:1px solid #bfe5cd}
.wth-quote-msg-err{background:#fdecea;color:#a12622;border:1px solid #f3c1bd}
.wth-quote-form .wth-contact-cta{border:0;cursor:pointer;font:inherit;font-weight:700}
.wth-contact-quote{max-width:var(--wth-container);margin:0 auto;padding:40px 16px 20px;text-align:center}
.wth-pay-info{max-width:760px;margin:40px auto 0;text-align:left}
.wth-pay-info h3{text-align:center;margin:0 0 18px}
.wth-pay-steps{list-style:none;counter-reset:s;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:0;margin:0}
.wth-pay-steps li{counter-increment:s;background:#fff;border:1px solid var(--wth-border);border-radius:var(--wth-radius);padding:18px;display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--wth-text-muted)}
.wth-pay-steps li::before{content:counter(s);width:28px;height:28px;border-radius:50%;background:var(--wth-primary);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;font-size:14px}
.wth-pay-steps li strong{color:var(--wth-text);font-size:16px}
.wth-pay-note{margin:16px 0 0;text-align:center;font-size:13px;color:var(--wth-text-muted)}
@media(max-width:700px){.wth-pay-steps{grid-template-columns:1fr}}

.wth-pay-now{margin:24px 0 0;padding:20px;background:#fff;border:1px solid var(--wth-border);border-radius:var(--wth-radius);text-align:center}
.wth-pay-now h4{margin:0 0 14px;font-size:16px}
.wth-pay-now p{margin:12px 0 0;font-size:13px;color:var(--wth-text-muted)}
.wth-pay-buttons{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.wth-pay-btn{display:inline-block;padding:12px 22px;border-radius:8px;font-weight:700;text-decoration:none;color:#fff;background:var(--wth-primary)}
.wth-pay-btn:hover{background:var(--wth-primary-dark);color:#fff}
.wth-pay-btn-crypto{background:var(--wth-accent)}
.wth-pay-btn-crypto:hover{background:#e55a26}

.wth-pay-page{max-width:640px;margin:0 auto;text-align:center}
.wth-pay-page .wth-pay-lead{color:var(--wth-text-muted);margin:0 0 20px}

.wth-pay-btn{display:inline-flex;align-items:center;gap:10px}
.wth-pay-btn .wth-pay-ico{flex:0 0 auto}
.wth-pay-btn .wth-pay-ico{height:34px;width:auto;border-radius:6px;display:block}
.wth-pay-btn{padding:9px 20px 9px 10px}
.wth-pay-btn{box-sizing:border-box;width:300px;max-width:100%;min-height:54px;justify-content:center}
.wth-pay-buttons{align-items:stretch}

/* Three-step block (domain suggestion page): three columns, centred. */
.wth-service-steps-grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 960px; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) { .wth-service-steps-grid--3 { grid-template-columns: 1fr; max-width: 480px; } }
