/* ==========================================================================
   Vacom Theme - Unified Stylesheet with Modern UX/UI & Responsive System
   Supports: Desktop, Tablet (Portrait/Landscape), Mobile (all screen sizes)
   ========================================================================== */

:root {
	--fd-blue: #1877f2;
	--fd-blue-hover: #1265d1;
	--fd-blue-light: #eaf2ff;
	--fd-blue-glow: rgba(24, 119, 242, 0.25);
	--fd-ink: #172033;
	--fd-ink-light: #344054;
	--fd-muted: #667085;
	--fd-line: #e7ebf2;
	--fd-bg: #f8fafc;
	--fd-card-bg: #ffffff;
	--fd-radius-sm: 8px;
	--fd-radius-md: 12px;
	--fd-radius-lg: 16px;
	--fd-radius-xl: 24px;
	--fd-shadow-sm: 0 2px 6px rgba(16, 24, 40, 0.04);
	--fd-shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);
	--fd-shadow-lg: 0 16px 36px rgba(16, 24, 40, 0.12);
	--fd-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--fd-transition: all 0.25s var(--fd-ease);
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	color: var(--fd-ink);
	font-family: "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	background: #ffffff;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Touch target & Tap highlight reset for Mobile */
button,
a,
input,
summary {
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

[hidden] {
	display: none !important;
}

.wrapper {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ==========================================================================
   1. Header & Navigation (Desktop & Mobile)
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--fd-line);
	transition: box-shadow 0.25s ease;
}

.navbar {
	min-height: 72px;
	display: flex;
	align-items: center;
}

.navbar > .container {
	max-width: 1160px;
	width: 100%;
	margin: auto;
	padding: 0 24px;
	min-height: 72px;
	display: flex;
	align-items: center;
	gap: 32px;
}

.navbar-logo {
	display: flex;
	align-items: center;
	color: var(--fd-ink);
	font-size: 24px;
	font-weight: 750;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.2s ease;
}

.navbar-logo:hover {
	transform: scale(1.02);
}

.navbar-logo .custom-logo {
	max-height: 42px;
	width: auto;
}

.navbar-logo__text .text-primary {
	color: var(--fd-blue);
	transition: color 0.25s ease;
}

.navbar-links {
	margin-left: auto;
}

.navbar-links .primary-menu {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.navbar-links a {
	color: var(--fd-ink-light);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	padding: 8px 12px;
	border-radius: var(--fd-radius-sm);
	transition: var(--fd-transition);
	position: relative;
}

.navbar-links a:hover,
.navbar-links .current-menu-item > a {
	color: var(--fd-blue);
	background: var(--fd-blue-light);
}

/* Animated Hamburger Button */
.navbar-hamburger {
	display: none;
	border: 0;
	background: none;
	padding: 10px;
	cursor: pointer;
	border-radius: 8px;
	transition: background 0.2s ease;
	position: relative;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
}

.navbar-hamburger:hover {
	background: rgba(0, 0, 0, 0.05);
}

.navbar-hamburger__line {
	display: block;
	width: 22px;
	height: 2px;
	margin: 4px auto;
	background: var(--fd-ink);
	border-radius: 2px;
	transition: transform 0.3s var(--fd-ease), opacity 0.3s ease;
}

.navbar.menu-open .navbar-hamburger__line:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}
.navbar.menu-open .navbar-hamburger__line:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}
.navbar.menu-open .navbar-hamburger__line:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   2. Hero Section & Downloader Form
   ========================================================================== */
.hero {
	margin: 40px auto 0;
	padding: 56px 28px 50px;
	text-align: center;
	background: linear-gradient(135deg, #f0f6ff 0%, #f8faff 50%, #ffffff 100%);
	border: 1px solid #e2edff;
	border-radius: var(--fd-radius-xl);
	box-shadow: 0 10px 30px rgba(24, 119, 242, 0.05);
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: -120px;
	left: 50%;
	transform: translateX(-50%);
	width: 600px;
	height: 250px;
	background: radial-gradient(circle, var(--fd-blue-light) 0%, rgba(255, 255, 255, 0) 70%);
	opacity: 0.6;
	pointer-events: none;
}

.hero__eyebrow {
	margin: 0 0 12px;
	color: var(--fd-blue);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	display: inline-block;
	padding: 4px 14px;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(24, 119, 242, 0.15);
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(24, 119, 242, 0.06);
}

.hero__title {
	margin: 0;
	color: #121c2d;
	font-size: clamp(28px, 4.2vw, 46px);
	line-height: 1.18;
	letter-spacing: -0.03em;
	font-weight: 800;
}

.hero__subtitle {
	margin: 14px auto 26px;
	max-width: 680px;
	color: var(--fd-muted);
	font-size: clamp(15px, 1.8vw, 18px);
	line-height: 1.6;
}

/* Form Styling */
.download-form {
	max-width: 740px;
	margin: 0 auto;
	display: flex;
	gap: 12px;
	position: relative;
	z-index: 2;
}

.download-form__input-wrap {
	flex: 1;
	display: flex;
	align-items: center;
	min-width: 0;
	border: 2px solid #d0d5dd;
	background: #ffffff;
	border-radius: var(--fd-radius-md);
	box-shadow: 0 4px 18px rgba(22, 43, 77, 0.06);
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.download-form__input-wrap:focus-within {
	border-color: var(--fd-blue);
	box-shadow: 0 0 0 4px var(--fd-blue-glow), 0 6px 20px rgba(24, 119, 242, 0.12);
}

.download-form__input {
	flex: 1;
	min-width: 0;
	border: 0 !important;
	outline: none !important;
	box-shadow: none !important;
	padding: 0 18px !important;
	height: 58px;
	font-size: 15px;
	color: var(--fd-ink);
	background: transparent !important;
}

.download-form__input::placeholder {
	color: #98a2b3;
}

.download-form--bulk .download-form__input-wrap {
	height: auto;
}

.download-form__textarea {
	height: auto !important;
	min-height: 110px;
	padding: 14px 18px !important;
	resize: vertical;
	line-height: 1.55;
	font-family: inherit;
}

/* Action Buttons inside Input (Paste / Clear) */
.download-form__action-btn {
	border: 0;
	background: transparent;
	color: var(--fd-blue);
	font-weight: 700;
	font-size: 14px;
	padding: 0 16px;
	height: 42px;
	margin-right: 6px;
	border-radius: var(--fd-radius-sm);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, transform 0.15s ease;
}

.download-form__action-btn:hover {
	background: var(--fd-blue-light);
}

.download-form__action-btn:active {
	transform: scale(0.95);
}

/* Submit Button */
.btn-primary,
.download-form__btn {
	border: 0;
	border-radius: var(--fd-radius-md);
	background: var(--fd-blue);
	color: #ffffff;
	text-decoration: none;
	font-weight: 700;
	font-size: 16px;
	padding: 0 28px;
	min-height: 58px;
	cursor: pointer;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px var(--fd-blue-glow);
	transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-primary:hover,
.download-form__btn:hover {
	background: var(--fd-blue-hover);
	box-shadow: 0 6px 20px rgba(18, 101, 209, 0.35);
	transform: translateY(-1px);
	color: #ffffff;
}

.btn-primary:active,
.download-form__btn:active {
	transform: translateY(1px);
	box-shadow: 0 2px 8px rgba(18, 101, 209, 0.25);
}

.download-form__btn:disabled {
	opacity: 0.75;
	cursor: not-allowed;
	transform: none !important;
}

.alert-error {
	margin-top: 14px;
	padding: 12px 18px;
	border-radius: var(--fd-radius-md);
	background: #fef3f2;
	border: 1px solid #fee4e2;
	color: #b42318;
	font-size: 14px;
	font-weight: 500;
	text-align: left;
	animation: shake 0.4s ease;
}

@keyframes shake {
	0%, 100% { transform: translateX(0); }
	20%, 60% { transform: translateX(-4px); }
	40%, 80% { transform: translateX(4px); }
}

.dl-spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	border-top-color: #ffffff;
	animation: dl-spin 0.8s linear infinite;
	margin-right: 8px;
	vertical-align: middle;
}

@keyframes dl-spin {
	to { transform: rotate(360deg); }
}

.hero__trust {
	color: var(--fd-muted);
	font-size: 13px;
	margin: 18px 0 0;
}

.hero__cta-link {
	margin: 12px 0 0;
}

.hero__cta-link a {
	color: var(--fd-blue);
	font-weight: 650;
	font-size: 14px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: color 0.2s ease, transform 0.2s ease;
}

.hero__cta-link a:hover {
	transform: translateY(2px);
}

/* ==========================================================================
   3. Downloader Result Card (Animated & Mobile-First UX)
   ========================================================================== */
.download-result {
	margin: 32px auto 0;
	max-width: 740px;
	text-align: left;
	animation: fadeInUp 0.45s var(--fd-ease) forwards;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.dl-card {
	display: flex;
	gap: 24px;
	background: var(--fd-card-bg);
	border: 1px solid #dbe2ea;
	border-radius: var(--fd-radius-lg);
	padding: 24px;
	box-shadow: 0 10px 32px rgba(16, 24, 40, 0.08);
	transition: box-shadow 0.25s ease;
}

.dl-card:hover {
	box-shadow: 0 14px 40px rgba(16, 24, 40, 0.12);
}

.dl-card__media {
	flex: 0 0 160px;
}

.dl-card__thumb {
	width: 160px;
	height: 160px;
	object-fit: cover;
	border-radius: var(--fd-radius-md);
	background: #f2f4f7;
	border: 1px solid var(--fd-line);
	display: block;
}

.dl-card__info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.dl-card__title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
	color: #101828;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dl-card__author {
	margin: 0 0 14px;
	font-size: 14px;
	color: var(--fd-muted);
}

.dl-card__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: auto;
}

.dl-btn-group {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.dl-card__btn {
	font-size: 14px;
	min-height: 46px;
	padding: 0 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--fd-radius-md);
	font-weight: 700;
}

.dl-card__btn--audio {
	background: #12b76a !important;
	box-shadow: 0 4px 14px rgba(18, 183, 106, 0.25) !important;
}

.dl-card__btn--audio:hover {
	background: #039855 !important;
}

.dl-card__link-direct {
	font-size: 12px;
	color: var(--fd-muted);
	text-decoration: none;
	padding-left: 4px;
	transition: color 0.2s ease;
}

.dl-card__link-direct:hover {
	color: var(--fd-blue);
	text-decoration: underline;
}

.dl-card__reset-btn {
	margin-top: 16px;
	background: none;
	border: 0;
	color: var(--fd-muted);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	padding: 0;
	text-align: left;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: color 0.2s ease;
}

.dl-card__reset-btn:hover {
	color: var(--fd-blue);
	text-decoration: underline;
}

/* Bulk Results UI */
.dl-bulk-container {
	background: #ffffff;
	border: 1px solid var(--fd-line);
	border-radius: var(--fd-radius-lg);
	padding: 24px;
	box-shadow: 0 10px 32px rgba(16, 24, 40, 0.08);
}

.dl-bulk__heading {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 700;
	color: #101828;
}

.dl-bulk__grid {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.dl-bulk__item {
	padding: 14px 16px;
	background: #f9fafb;
	border: 1px solid #eaecf0;
	border-radius: var(--fd-radius-md);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.dl-bulk__item:hover {
	background: #f4f7fb;
	border-color: #d0d7e2;
}

.dl-bulk__header {
	width: 100%;
	display: flex;
	gap: 8px;
	font-size: 13px;
	color: var(--fd-muted);
}

.dl-bulk__index {
	font-weight: 700;
	color: var(--fd-blue);
}

.dl-bulk__url {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex: 1;
}

.dl-bulk__thumb {
	width: 52px;
	height: 52px;
	object-fit: cover;
	border-radius: var(--fd-radius-sm);
	background: #eaecf0;
}

.dl-bulk__title {
	flex: 1;
	min-width: 160px;
	font-size: 14px;
	font-weight: 600;
	margin: 0;
	line-height: 1.4;
}

.dl-bulk__actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.dl-bulk__btn {
	min-height: 38px;
	font-size: 13px;
	padding: 0 14px;
	border-radius: var(--fd-radius-sm);
}

.dl-bulk__error {
	color: #b42318;
	font-size: 13px;
	font-weight: 500;
}

/* ==========================================================================
   4. Features, How-To, FAQ & Content Sections
   ========================================================================== */
.features,
.how-to,
.faq,
.latest-articles {
	padding: 64px 0 0;
}

.section-title {
	margin: 0 0 30px;
	text-align: center;
	font-size: clamp(24px, 3.2vw, 32px);
	letter-spacing: -0.025em;
	color: #182230;
	font-weight: 800;
}

/* Features Cards */
.features__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.features__list li {
	padding: 24px;
	border: 1px solid var(--fd-line);
	border-radius: var(--fd-radius-lg);
	background: #ffffff;
	color: #475467;
	line-height: 1.7;
	box-shadow: var(--fd-shadow-sm);
	transition: var(--fd-transition);
}

.features__list li:hover {
	transform: translateY(-3px);
	border-color: #d1dbec;
	box-shadow: var(--fd-shadow-md);
}

.features__list strong {
	color: #1d2939;
	font-size: 16px;
}

/* How to Steps */
.how-to__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.step {
	display: flex;
	gap: 16px;
	padding: 24px;
	border: 1px solid var(--fd-line);
	border-radius: var(--fd-radius-lg);
	background: #ffffff;
	box-shadow: var(--fd-shadow-sm);
	transition: var(--fd-transition);
}

.step:hover {
	transform: translateY(-3px);
	border-color: #d1dbec;
	box-shadow: var(--fd-shadow-md);
}

.step__number {
	flex: 0 0 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--fd-blue-light);
	color: var(--fd-blue);
	font-weight: 800;
	font-size: 16px;
}

.step__content h3 {
	margin: 2px 0 8px;
	font-size: 17px;
	font-weight: 700;
	color: #101828;
}

.step__content p {
	margin: 0;
	color: var(--fd-muted);
	font-size: 14px;
	line-height: 1.65;
}

/* FAQ Accordions */
.faq__list {
	max-width: 860px;
	margin: auto;
	border-top: 1px solid var(--fd-line);
}

.faq-item {
	padding: 18px 6px;
	border-bottom: 1px solid var(--fd-line);
	transition: background 0.2s ease;
}

.faq-item__question {
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	list-style: none;
	color: #1d2939;
	display: flex;
	justify-content: space-between;
	align-items: center;
	user-select: none;
}

.faq-item__question::-webkit-details-marker {
	display: none;
}

.faq-item__question::after {
	content: '+';
	color: var(--fd-blue);
	font-size: 22px;
	font-weight: 400;
	transition: transform 0.25s var(--fd-ease);
}

.faq-item[open] .faq-item__question::after {
	transform: rotate(45deg);
}

.faq-item__answer {
	color: var(--fd-muted);
	line-height: 1.75;
	font-size: 15px;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: translateY(0); }
}

.faq-item__answer p {
	margin: 12px 0 0;
}

/* Latest Blog Cards */
.blog__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.blog-card {
	overflow: hidden;
	border: 1px solid var(--fd-line);
	border-radius: var(--fd-radius-lg);
	background: #ffffff;
	box-shadow: var(--fd-shadow-sm);
	transition: var(--fd-transition);
	display: flex;
	flex-direction: column;
}

.blog-card:hover {
	transform: translateY(-4px);
	border-color: #d1dbec;
	box-shadow: var(--fd-shadow-md);
}

.blog-card__thumb-link {
	display: block;
	overflow: hidden;
}

.blog-card__thumb {
	display: block;
	width: 100%;
	height: 195px;
	object-fit: cover;
	background: #edf2f8;
	transition: transform 0.35s ease;
}

.blog-card:hover .blog-card__thumb {
	transform: scale(1.04);
}

.blog-card__placeholder {
	background: linear-gradient(135deg, #e8f1ff, #f5f7fb);
}

.blog-card__body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.blog-card__title {
	font-size: 17px;
	line-height: 1.45;
	margin: 0 0 10px;
	font-weight: 700;
}

.blog-card__title a {
	color: #182230;
	text-decoration: none;
	transition: color 0.2s ease;
}

.blog-card__title a:hover {
	color: var(--fd-blue);
}

.blog-card__excerpt {
	margin: 0 0 14px;
	color: var(--fd-muted);
	font-size: 14px;
	line-height: 1.6;
	flex: 1;
}

.blog-card__date {
	color: #98a2b3;
	font-size: 12px;
	font-weight: 500;
}

.home-empty {
	grid-column: 1 / -1;
	text-align: center;
	color: var(--fd-muted);
	padding: 32px 0;
}

/* Copyright Note Box */
.note {
	margin: 56px 0 64px;
	padding: 22px 26px;
	background: #f8fafc;
	border: 1px solid var(--fd-line);
	border-radius: var(--fd-radius-md);
	color: var(--fd-muted);
	font-size: 14px;
	line-height: 1.7;
}

.note p {
	margin: 0;
}

.note strong {
	color: #344054;
}

/* ==========================================================================
   5. Footer
   ========================================================================== */
.footer {
	background: #101828;
	color: #cbd5e1;
	padding: 56px 0 28px;
}

.footer .container {
	max-width: 1160px;
	margin: auto;
	padding: 0 24px;
}

.footer__columns {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
	padding-bottom: 36px;
}

.footer__heading {
	margin-bottom: 16px;
	color: #ffffff;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: -0.01em;
}

.footer__links,
.footer__socials {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer__links li + li {
	margin-top: 10px;
}

.footer__links a,
.footer__copyright a {
	color: #cbd5e1;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.2s ease;
}

.footer__links a:hover,
.footer__copyright a:hover {
	color: #ffffff;
}

.footer__copyright {
	border-top: 1px solid #1f2a3f;
	padding-top: 24px;
	margin: 0;
	color: #98a2b3;
	font-size: 13px;
}

.footer__disclaimer {
	margin: 12px 0 0;
	color: #98a2b3;
	font-size: 12px;
	line-height: 1.6;
}

/* ==========================================================================
   6. RESPONSIVE SYSTEM (Tablet & Mobile Optimized)
   ========================================================================== */

/* --- TABLET SCREENS (max-width: 1024px) --- */
@media (max-width: 1024px) {
	.wrapper {
		padding: 0 20px;
	}

	.how-to__steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.blog__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer__columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px;
	}
}

/* --- MOBILE & SMALL TABLET SCREENS (max-width: 768px) --- */
@media (max-width: 768px) {
	.navbar > .container {
		min-height: 64px;
		padding: 0 18px;
	}

	.navbar-hamburger {
		display: flex;
		margin-left: auto;
	}

	.navbar-links {
		display: none;
		position: absolute;
		top: 64px;
		left: 0;
		right: 0;
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(16px);
		-webkit-backdrop-filter: blur(16px);
		border-bottom: 1px solid var(--fd-line);
		padding: 16px 20px 24px;
		box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
		animation: slideDown 0.3s var(--fd-ease) forwards;
	}

	@keyframes slideDown {
		from { opacity: 0; transform: translateY(-10px); }
		to { opacity: 1; transform: translateY(0); }
	}

	.navbar.menu-open .navbar-links {
		display: block;
	}

	.navbar-links .primary-menu {
		align-items: stretch;
		flex-direction: column;
		gap: 4px;
	}

	.navbar-links li a {
		display: block;
		padding: 12px 14px;
		font-size: 15px;
	}

	.wrapper {
		padding: 0 16px;
	}

	.hero {
		margin-top: 20px;
		padding: 38px 16px 32px;
		border-radius: var(--fd-radius-lg);
	}

	.hero__title {
		font-size: 26px;
	}

	.hero__subtitle {
		font-size: 15px;
		margin-bottom: 22px;
	}

	/* Form collapses to vertical stack for Thumb-friendly UX */
	.download-form {
		flex-direction: column;
		gap: 10px;
	}

	.download-form__input-wrap {
		width: 100%;
	}

	.download-form__input {
		height: 52px;
		font-size: 15px;
		padding: 0 14px !important;
	}

	.download-form__action-btn {
		padding: 0 12px;
		font-size: 13px;
	}

	.download-form__btn {
		width: 100%;
		min-height: 52px;
		font-size: 15px;
		border-radius: var(--fd-radius-md);
	}

	/* Result Card on Mobile */
	.dl-card {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 20px 16px;
		gap: 18px;
	}

	.dl-card__media {
		flex: auto;
		width: 100%;
		max-width: 220px;
	}

	.dl-card__thumb {
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
		max-height: 180px;
		margin: 0 auto;
	}

	.dl-card__title {
		font-size: 16px;
	}

	.dl-card__buttons {
		justify-content: center;
		width: 100%;
		flex-direction: column;
		gap: 10px;
	}

	.dl-btn-group {
		width: 100%;
		align-items: center;
	}

	.dl-btn-group .dl-card__btn {
		width: 100%;
		min-height: 48px;
	}

	.dl-card__reset-btn {
		text-align: center;
		margin: 14px auto 0;
	}

	/* Bulk Result on Mobile */
	.dl-bulk-container {
		padding: 16px 14px;
	}

	.dl-bulk__item {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.dl-bulk__actions {
		width: 100%;
	}

	.dl-bulk__btn {
		flex: 1;
		text-align: center;
		justify-content: center;
		min-height: 42px;
	}

	/* Grids on Mobile */
	.features,
	.how-to,
	.faq,
	.latest-articles {
		padding-top: 44px;
	}

	.section-title {
		font-size: 22px;
		margin-bottom: 22px;
	}

	.features__list,
	.how-to__steps,
	.blog__grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.blog-card__thumb {
		height: 200px;
	}

	.note {
		margin: 36px 0 44px;
		padding: 18px 20px;
	}

	.footer {
		padding: 44px 0 24px;
	}

	.footer__columns {
		grid-template-columns: 1fr;
		gap: 26px;
	}
}

/* --- EXTRA SMALL MOBILE SCREENS (max-width: 420px) --- */
@media (max-width: 420px) {
	.hero {
		padding: 30px 14px 26px;
	}

	.hero__title {
		font-size: 22px;
		line-height: 1.25;
	}

	.hero__subtitle {
		font-size: 14px;
	}

	.download-form__input {
		font-size: 14px;
	}

	.step {
		padding: 18px;
		gap: 12px;
	}

	.step__number {
		flex: 0 0 32px;
		height: 32px;
		font-size: 14px;
	}

	.features__list li {
		padding: 18px;
	}
}


/* ==========================================================================
   Skeleton Shimmer Loading Effect (Pro UX)
   ========================================================================== */
.dl-skeleton-card {
	display: flex;
	gap: 24px;
	background: #ffffff;
	border: 1px solid var(--fd-line);
	border-radius: var(--fd-radius-lg);
	padding: 24px;
	box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05);
	position: relative;
	overflow: hidden;
}

.dl-skeleton-card::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	transform: translateX(-100%);
	background-image: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0) 0,
		rgba(255, 255, 255, 0.6) 20%,
		rgba(255, 255, 255, 0.8) 60%,
		rgba(255, 255, 255, 0)
	);
	animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
	100% {
		transform: translateX(100%);
	}
}

.dl-skeleton-thumb {
	flex: 0 0 160px;
	height: 160px;
	border-radius: var(--fd-radius-md);
	background: #e2e8f0;
}

.dl-skeleton-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
	justify-content: center;
}

.dl-skeleton-line {
	height: 16px;
	background: #e2e8f0;
	border-radius: 6px;
}

.dl-skeleton-line.title {
	height: 22px;
	width: 80%;
}

.dl-skeleton-line.short {
	width: 50%;
}

.dl-skeleton-btn {
	height: 46px;
	width: 200px;
	background: #e2e8f0;
	border-radius: var(--fd-radius-md);
	margin-top: 10px;
}

@media (max-width: 768px) {
	.dl-skeleton-card {
		flex-direction: column;
		align-items: center;
		padding: 20px 16px;
	}
	.dl-skeleton-thumb {
		width: 100%;
		max-width: 220px;
		height: 140px;
	}
	.dl-skeleton-info {
		width: 100%;
		align-items: center;
	}
	.dl-skeleton-line.title,
	.dl-skeleton-line.short,
	.dl-skeleton-btn {
		width: 100%;
	}
}


/* ==========================================================================
   7. 404 Error Page & Search Results Styling
   ========================================================================== */
.error-page-wrapper,
.search-page-wrapper {
	padding-top: 48px;
	padding-bottom: 64px;
}

/* 404 Page */
.error-404 {
	text-align: center;
	max-width: 720px;
	margin: 0 auto;
	padding: 48px 24px;
	background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
	border: 1px solid var(--fd-line);
	border-radius: var(--fd-radius-xl);
	box-shadow: var(--fd-shadow-sm);
}

.error-404__badge {
	display: inline-block;
	padding: 6px 18px;
	background: #fee4e2;
	color: #b42318;
	font-weight: 800;
	font-size: 14px;
	border-radius: 999px;
	letter-spacing: 0.05em;
	margin-bottom: 16px;
}

.error-404__title {
	font-size: clamp(26px, 4vw, 38px);
	font-weight: 800;
	color: #121c2d;
	margin: 0 0 14px;
	line-height: 1.25;
}

.error-404__desc {
	color: var(--fd-muted);
	font-size: 16px;
	line-height: 1.65;
	margin: 0 auto 28px;
	max-width: 580px;
}

.error-404__search {
	max-width: 540px;
	margin: 0 auto 24px;
}

.error-404__actions {
	margin-bottom: 40px;
}

.error-404__btn-home {
	padding: 0 28px;
	min-height: 50px;
	font-size: 15px;
}

.error-404__tools {
	border-top: 1px solid var(--fd-line);
	padding-top: 32px;
	text-align: center;
}

.error-404__tools-title {
	font-size: 17px;
	font-weight: 700;
	color: #1d2939;
	margin: 0 0 16px;
}

.error-404__tools-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.tool-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	background: #ffffff;
	border: 1px solid var(--fd-line);
	border-radius: 999px;
	color: #344054;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 2px 6px rgba(16, 24, 40, 0.04);
	transition: var(--fd-transition);
}

.tool-pill:hover {
	border-color: var(--fd-blue);
	color: var(--fd-blue);
	transform: translateY(-2px);
	box-shadow: var(--fd-shadow-sm);
}

.tool-pill__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	display: inline-block;
}

/* Custom Search Form Component */
.custom-search-form {
	width: 100%;
}

.custom-search-form__inner {
	display: flex;
	border: 2px solid #d0d5dd;
	border-radius: var(--fd-radius-md);
	background: #ffffff;
	box-shadow: 0 4px 14px rgba(22, 43, 77, 0.05);
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-search-form__inner:focus-within {
	border-color: var(--fd-blue);
	box-shadow: 0 0 0 4px var(--fd-blue-glow);
}

.custom-search-form__input {
	flex: 1;
	min-width: 0;
	border: 0 !important;
	outline: none !important;
	padding: 0 18px !important;
	height: 52px;
	font-size: 15px;
	color: var(--fd-ink);
	background: transparent !important;
}

.custom-search-form__btn {
	border-radius: 0 !important;
	min-height: 52px !important;
	padding: 0 24px !important;
	font-size: 15px !important;
}

/* Search Header */
.search-header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 40px;
	padding: 40px 24px 32px;
	background: linear-gradient(135deg, #f0f6ff 0%, #ffffff 100%);
	border: 1px solid #e2edff;
	border-radius: var(--fd-radius-xl);
}

.search-header__eyebrow {
	margin: 0 0 10px;
	color: var(--fd-blue);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.search-header__title {
	margin: 0 0 10px;
	font-size: clamp(24px, 3.5vw, 36px);
	font-weight: 800;
	color: #121c2d;
	line-height: 1.25;
}

.search-header__count {
	color: var(--fd-muted);
	font-size: 15px;
	margin: 0 auto 24px;
}

.search-header__form {
	max-width: 520px;
	margin: 0 auto;
}

/* Search Pagination */
.search-pagination {
	margin-top: 48px;
	text-align: center;
}

.search-pagination .nav-links {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
}

.search-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border-radius: var(--fd-radius-sm);
	border: 1px solid var(--fd-line);
	background: #ffffff;
	color: #344054;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: var(--fd-transition);
}

.search-pagination .page-numbers:hover {
	border-color: var(--fd-blue);
	color: var(--fd-blue);
	background: var(--fd-blue-light);
}

.search-pagination .page-numbers.current {
	background: var(--fd-blue);
	border-color: var(--fd-blue);
	color: #ffffff;
}

/* No Results Box */
.no-results-box {
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
	padding: 44px 28px;
	background: #ffffff;
	border: 1px solid var(--fd-line);
	border-radius: var(--fd-radius-lg);
	box-shadow: var(--fd-shadow-sm);
}

.no-results-box__icon {
	font-size: 48px;
	margin-bottom: 12px;
}

.no-results-box h2 {
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 700;
	color: #1d2939;
}

.no-results-box p {
	color: var(--fd-muted);
	font-size: 15px;
	line-height: 1.65;
	margin: 0 auto 24px;
}

.no-results-box__suggestions {
	text-align: left;
	background: #f8fafc;
	border-radius: var(--fd-radius-md);
	padding: 20px 24px;
}

.no-results-box__suggestions h3 {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 700;
	color: #344054;
}

.no-results-box__suggestions ul {
	margin: 0;
	padding-left: 20px;
	color: var(--fd-muted);
	font-size: 14px;
	line-height: 1.8;
}

/* ==========================================================================
   8. SEO Optimized Article Content Styling (High Readability)
   ========================================================================== */
.seo-article-content {
	max-width: 860px;
	margin: 56px auto 0;
	padding: 40px 36px;
	background: #ffffff;
	border: 1px solid var(--fd-line);
	border-radius: var(--fd-radius-xl);
	box-shadow: 0 6px 24px rgba(16, 24, 40, 0.04);
	color: #2b3545;
	line-height: 1.8;
	font-size: 16px;
}

.seo-article-content h2 {
	font-size: clamp(22px, 3vw, 28px);
	font-weight: 800;
	color: #121c2d;
	margin: 36px 0 16px;
	line-height: 1.35;
	position: relative;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--fd-blue-light);
}

.seo-article-content h2:first-child {
	margin-top: 0;
}

.seo-article-content h3 {
	font-size: clamp(18px, 2.4vw, 22px);
	font-weight: 700;
	color: #182230;
	margin: 28px 0 12px;
	line-height: 1.4;
}

.seo-article-content p {
	margin-bottom: 18px;
	color: #475467;
}

.seo-article-content strong {
	color: #1d2939;
}

.seo-article-content ul,
.seo-article-content ol {
	margin: 0 0 20px 20px;
	padding: 0;
	color: #475467;
}

.seo-article-content li {
	margin-bottom: 8px;
	line-height: 1.7;
}

.seo-article-content blockquote {
	margin: 24px 0;
	padding: 16px 24px;
	background: #f0f6ff;
	border-left: 4px solid var(--fd-blue);
	border-radius: 0 var(--fd-radius-md) var(--fd-radius-md) 0;
	color: #1d2939;
	font-style: normal;
	font-weight: 500;
}

.seo-article-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
	font-size: 14px;
	border-radius: var(--fd-radius-md);
	overflow: hidden;
	border: 1px solid var(--fd-line);
}

.seo-article-content th,
.seo-article-content td {
	padding: 12px 16px;
	border: 1px solid var(--fd-line);
	text-align: left;
}

.seo-article-content th {
	background: #f8fafc;
	font-weight: 700;
	color: #1d2939;
}

.seo-article-content tr:nth-child(even) td {
	background: #fafbfc;
}

@media (max-width: 768px) {
	.seo-article-content {
		padding: 28px 18px;
		margin-top: 36px;
		font-size: 15px;
	}
	.custom-search-form__inner {
		flex-direction: column;
	}
	.custom-search-form__btn {
		width: 100%;
	}
}


/* Breadcrumb Navigation Trail for SEO */
.breadcrumb-trail {
	padding: 16px 0 0;
}

.breadcrumb-trail ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 13px;
	color: var(--fd-muted);
}

.breadcrumb-trail a {
	color: var(--fd-muted);
	text-decoration: none;
	transition: color 0.2s ease;
}

.breadcrumb-trail a:hover {
	color: var(--fd-blue);
	text-decoration: underline;
}

.breadcrumb-trail .separator {
	color: #cbd5e1;
	user-select: none;
}


/* ==========================================================================
   9. Language Switcher (Polylang 25 Languages) Component
   ========================================================================== */
.lang-switcher {
	position: relative;
	display: inline-block;
}

.lang-switcher__current {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid var(--fd-line);
	background: #ffffff;
	border-radius: var(--fd-radius-sm);
	font-size: 13px;
	font-weight: 700;
	color: #344054;
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
	transition: var(--fd-transition);
}

.lang-switcher__current:hover {
	border-color: var(--fd-blue);
	color: var(--fd-blue);
	box-shadow: 0 2px 6px rgba(24, 119, 242, 0.12);
}

.lang-switcher__current .lang-switcher__flag,
.lang-switcher__current .lang-flag {
	font-size: 16px;
	line-height: 1;
}

.lang-switcher__current .lang-switcher__chevron,
.lang-switcher__current .lang-chevron {
	font-size: 10px;
	color: var(--fd-muted);
	transition: transform 0.2s ease;
}

.lang-switcher.is-open .lang-switcher__current .lang-switcher__chevron,
.lang-switcher.is-open .lang-switcher__current .lang-chevron {
	transform: rotate(180deg);
}

.lang-switcher__dropdown,
.lang-switcher-list {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	width: 480px;
	max-width: calc(100vw - 24px);
	max-height: 420px;
	overflow-y: auto;
	background: #ffffff;
	border: 1px solid var(--fd-line);
	border-radius: var(--fd-radius-md);
	box-shadow: var(--fd-shadow-md);
	list-style: none;
	margin: 0;
	padding: 8px;
	z-index: 150;
	animation: slideDownFade 0.2s ease forwards;
}

@keyframes slideDownFade {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.lang-switcher.is-open .lang-switcher__dropdown,
.lang-switcher:hover .lang-switcher__dropdown,
.lang-switcher.is-open .lang-switcher-list,
.lang-switcher:hover .lang-switcher-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px;
}

.lang-switcher__item,
.lang-switcher-item {
	margin: 0;
}

.lang-switcher__link,
.lang-switcher-link {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 10px;
	border-radius: var(--fd-radius-sm);
	font-size: 13px;
	font-weight: 600;
	color: #344054;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.lang-switcher-link-name {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lang-switcher-link-code {
	font-size: 11px;
	font-weight: 700;
	color: var(--fd-muted);
	letter-spacing: 0.03em;
	flex-shrink: 0;
}

.lang-switcher__link:hover,
.lang-switcher-link:hover {
	background: var(--fd-blue-light);
	color: var(--fd-blue);
}

.lang-switcher__link:hover .lang-switcher-link-code,
.lang-switcher-link:hover .lang-switcher-link-code {
	color: var(--fd-blue);
}

.lang-switcher__item.is-active .lang-switcher__link,
.lang-switcher-item.is-current .lang-switcher-link,
.lang-switcher-link.is-current {
	background: #f0f6ff;
	color: var(--fd-blue);
	font-weight: 700;
}

.lang-switcher-item.is-current .lang-switcher-link-code,
.lang-switcher-link.is-current .lang-switcher-link-code {
	color: var(--fd-blue);
}

@media (max-width: 768px) {
	.lang-switcher {
		margin-left: auto;
		margin-right: 10px;
	}
	.lang-switcher__dropdown,
	.lang-switcher-list {
		right: 0;
		left: auto;
		width: min(340px, calc(100vw - 24px));
	}
	.lang-switcher.is-open .lang-switcher__dropdown,
	.lang-switcher:hover .lang-switcher__dropdown,
	.lang-switcher.is-open .lang-switcher-list,
	.lang-switcher:hover .lang-switcher-list {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   10. Default Page Template Styles (.page-card & typography)
   ========================================================================== */
.default-page-main {
	padding: 24px 0 64px;
	background: var(--fd-bg);
	min-height: calc(100vh - 200px);
}

.default-page-breadcrumb {
	margin-bottom: 24px;
}

.page-card {
	max-width: 900px;
	margin: 0 auto;
	background: var(--fd-card-bg);
	border: 1px solid var(--fd-line);
	border-radius: var(--fd-radius-xl);
	padding: 48px;
	box-shadow: var(--fd-shadow-sm);
}

.page-card__header {
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--fd-line);
}

.page-card__title {
	margin: 0 0 12px;
	font-size: clamp(26px, 3.5vw, 36px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.025em;
	color: #111827;
}

.page-card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 13.5px;
	color: var(--fd-muted);
}

.page-card__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.page-card__meta-item svg {
	color: var(--fd-muted);
}

.page-card__thumb {
	margin-bottom: 32px;
	border-radius: var(--fd-radius-lg);
	overflow: hidden;
}

.page-card__thumb-img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 480px;
	object-fit: cover;
	border-radius: var(--fd-radius-lg);
}

/* Typography for default page content */
.page-card__content {
	font-size: 16.5px;
	line-height: 1.8;
	color: #374151;
	word-break: break-word;
}

.page-card__content > *:first-child {
	margin-top: 0;
}

.page-card__content > *:last-child {
	margin-bottom: 0;
}

.page-card__content p {
	margin: 0 0 20px;
}

.page-card__content h2 {
	margin: 40px 0 16px;
	font-size: clamp(20px, 2.5vw, 24px);
	font-weight: 700;
	color: #111827;
	letter-spacing: -0.015em;
	line-height: 1.35;
	padding-bottom: 8px;
	border-bottom: 1px solid #f1f5f9;
}

.page-card__content h3 {
	margin: 32px 0 14px;
	font-size: clamp(18px, 2vw, 20px);
	font-weight: 600;
	color: #1f2937;
	line-height: 1.4;
}

.page-card__content h4 {
	margin: 24px 0 12px;
	font-size: 17px;
	font-weight: 600;
	color: #1f2937;
}

.page-card__content h5,
.page-card__content h6 {
	margin: 20px 0 10px;
	font-size: 15px;
	font-weight: 600;
	color: #374151;
}

.page-card__content a {
	color: var(--fd-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.15s ease;
}

.page-card__content a:hover {
	color: var(--fd-blue-hover);
}

.page-card__content strong,
.page-card__content b {
	font-weight: 600;
	color: #111827;
}

.page-card__content ul,
.page-card__content ol {
	margin: 0 0 22px 24px;
	padding: 0;
	color: #4b5563;
}

.page-card__content li {
	margin-bottom: 8px;
	line-height: 1.7;
}

.page-card__content blockquote {
	margin: 28px 0;
	padding: 18px 24px;
	border-left: 4px solid var(--fd-blue);
	background: #f8fafc;
	border-radius: 0 var(--fd-radius-md) var(--fd-radius-md) 0;
	font-style: italic;
	color: #4b5563;
}

.page-card__content blockquote p:last-child {
	margin-bottom: 0;
}

.page-card__content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--fd-radius-md);
	margin: 20px 0;
}

.page-card__content figure {
	margin: 24px 0;
}

.page-card__content figcaption {
	text-align: center;
	font-size: 13.5px;
	color: var(--fd-muted);
	margin-top: 8px;
}

/* Tables */
.page-card__content table {
	width: 100%;
	border-collapse: collapse;
	margin: 28px 0;
	font-size: 15px;
	line-height: 1.6;
}

.page-card__content th,
.page-card__content td {
	padding: 12px 16px;
	border: 1px solid var(--fd-line);
	text-align: left;
}

.page-card__content th {
	background: #f8fafc;
	font-weight: 600;
	color: #111827;
}

.page-card__content tr:nth-child(even) td {
	background: #fcfdfd;
}

/* Code & Pre */
.page-card__content code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	font-size: 0.9em;
	padding: 2px 6px;
	background: #f1f5f9;
	color: #0f172a;
	border-radius: 4px;
}

.page-card__content pre {
	background: #0f172a;
	color: #f8fafc;
	padding: 20px;
	border-radius: var(--fd-radius-md);
	overflow-x: auto;
	margin: 24px 0;
	line-height: 1.5;
}

.page-card__content pre code {
	background: transparent;
	color: inherit;
	padding: 0;
	border-radius: 0;
	font-size: 14px;
}

.page-card__content hr {
	border: none;
	border-top: 1px solid var(--fd-line);
	margin: 36px 0;
}

/* Page links (wp_link_pages) */
.page-card .page-links {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid var(--fd-line);
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.page-card .page-links-title {
	font-weight: 600;
	color: #111827;
	margin-right: 4px;
}

.page-card .page-links a,
.page-card .page-links .page-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border-radius: var(--fd-radius-sm);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid var(--fd-line);
	background: #ffffff;
	color: #374151;
	transition: var(--fd-transition);
}

.page-card .page-links a:hover {
	border-color: var(--fd-blue);
	color: var(--fd-blue);
	background: var(--fd-blue-light);
}

.page-card .page-links > .page-number {
	background: var(--fd-blue);
	color: #ffffff;
	border-color: var(--fd-blue);
}

/* Page footer / Admin Edit link */
.page-card__footer {
	margin-top: 36px;
	padding-top: 20px;
	border-top: 1px dashed var(--fd-line);
	display: flex;
	justify-content: flex-end;
}

.page-card__footer .edit-link a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--fd-muted);
	text-decoration: none;
	padding: 6px 12px;
	border-radius: var(--fd-radius-sm);
	background: #f1f5f9;
	transition: var(--fd-transition);
}

.page-card__footer .edit-link a:hover {
	color: var(--fd-blue);
	background: var(--fd-blue-light);
}

/* Comments section wrapper for default page */
.default-page-comments {
	max-width: 900px;
	margin: 32px auto 0;
	background: var(--fd-card-bg);
	border: 1px solid var(--fd-line);
	border-radius: var(--fd-radius-xl);
	padding: 40px;
	box-shadow: var(--fd-shadow-sm);
}

/* Responsive */
@media (max-width: 768px) {
	.default-page-main {
		padding: 16px 0 48px;
	}

	.page-card {
		padding: 24px 18px;
		border-radius: var(--fd-radius-lg);
	}

	.page-card__header {
		margin-bottom: 24px;
		padding-bottom: 18px;
	}

	.page-card__title {
		font-size: 24px;
	}

	.page-card__content {
		font-size: 15.5px;
		line-height: 1.75;
	}

	.page-card__content h2 {
		margin: 30px 0 14px;
		font-size: 20px;
	}

	.page-card__content h3 {
		margin: 24px 0 12px;
		font-size: 18px;
	}

	.default-page-comments {
		padding: 24px 18px;
		border-radius: var(--fd-radius-lg);
	}
}



/* ==========================================================================
   Contact Page Styles (page-contact.php)
   ========================================================================== */

.contact-hero {
	background: linear-gradient(180deg, #f3f7ff 0%, #ffffff 100%);
	padding: 56px 0 36px;
	text-align: center;
	border-bottom: 1px solid var(--fd-line);
}

.contact-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--fd-blue-light);
	color: var(--fd-blue);
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 16px;
}

.contact-hero__title {
	margin: 0 0 12px;
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 800;
	line-height: 1.2;
	color: var(--fd-ink);
	letter-spacing: -0.02em;
}

.contact-hero__desc {
	max-width: 640px;
	margin: 0 auto;
	font-size: 16px;
	color: var(--fd-muted);
	line-height: 1.65;
}

/* Info Cards */
.contact-info {
	padding: 40px 0 20px;
}

.contact-info__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.contact-card {
	background: var(--fd-card-bg);
	border: 1px solid var(--fd-line);
	border-radius: var(--fd-radius-lg);
	padding: 24px;
	text-align: center;
	box-shadow: var(--fd-shadow-sm);
	transition: var(--fd-transition);
}

.contact-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--fd-shadow-md);
	border-color: #d0def5;
}

.contact-card__icon {
	width: 48px;
	height: 48px;
	margin: 0 auto 14px;
	border-radius: var(--fd-radius-md);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.contact-card__icon--blue {
	background: #eaf2ff;
	color: var(--fd-blue);
}

.contact-card__icon--green {
	background: #e8f8ef;
	color: #15803d;
}

.contact-card__icon--purple {
	background: #f3e8ff;
	color: #7e22ce;
}

.contact-card__title {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 700;
	color: var(--fd-ink);
}

.contact-card__value {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 600;
	color: var(--fd-ink-light);
	word-break: break-word;
}

.contact-card__value a {
	color: var(--fd-blue);
	text-decoration: none;
}

.contact-card__value a:hover {
	text-decoration: underline;
}

.contact-card__note {
	margin: 0;
	font-size: 13px;
	color: var(--fd-muted);
}

/* Form + FAQ Grid */
.contact-form-section {
	padding: 28px 0 56px;
}

.contact-form-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.contact-form-left,
.contact-faq {
	background: var(--fd-card-bg);
	border: 1px solid var(--fd-line);
	border-radius: var(--fd-radius-lg);
	padding: 28px;
	box-shadow: var(--fd-shadow-sm);
}

.contact-form-left__title,
.contact-faq__title {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 700;
	color: var(--fd-ink);
}

.contact-form-left__sub {
	margin: 0 0 20px;
	font-size: 14px;
	color: var(--fd-muted);
}

/* Feedback Banner */
.contact-message {
	padding: 13px 16px;
	border-radius: var(--fd-radius-md);
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 18px;
	line-height: 1.5;
}

.contact-message--success {
	background: #ecfdf3;
	border: 1px solid #a6f4c5;
	color: #027a48;
}

.contact-message--error {
	background: #fef3f2;
	border: 1px solid #fecdca;
	color: #b42318;
}

/* Form Fields */
.contact-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.cf-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.cf-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.cf-label {
	font-size: 14px;
	font-weight: 600;
	color: var(--fd-ink-light);
}

.cf-required {
	color: #d92d20;
}

#vacom-contact-form input.cf-input,
#vacom-contact-form textarea.cf-textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 13px 16px;
	border: 1.5px solid var(--fd-line);
	border-radius: var(--fd-radius-md);
	background: #ffffff;
	color: var(--fd-ink);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

#vacom-contact-form input.cf-input {
	height: 48px;
}

#vacom-contact-form input.cf-input::placeholder,
#vacom-contact-form textarea.cf-textarea::placeholder {
	color: #98a2b3;
	opacity: 1;
}

#vacom-contact-form input.cf-input:hover,
#vacom-contact-form textarea.cf-textarea:hover {
	border-color: #cbd5e1;
}

#vacom-contact-form input.cf-input:focus,
#vacom-contact-form textarea.cf-textarea:focus {
	outline: none;
	border-color: var(--fd-blue);
	background: #ffffff;
	box-shadow: 0 0 0 3px var(--fd-blue-glow);
}

#vacom-contact-form textarea.cf-textarea {
	resize: vertical;
	min-height: 136px;
}

.cf-char-hint {
	font-size: 12px;
	color: var(--fd-muted);
	text-align: right;
}

.cf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 14px 24px;
	border: none;
	border-radius: var(--fd-radius-md);
	background: var(--fd-blue);
	color: #ffffff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.cf-btn:hover:not(:disabled) {
	background: var(--fd-blue-hover);
	box-shadow: 0 6px 16px var(--fd-blue-glow);
	transform: translateY(-1px);
}

.cf-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.cf-btn-text,
.cf-btn-spinner {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

@keyframes cf-rotate {
	to {
		transform: rotate(360deg);
	}
}

.cf-spin {
	animation: cf-rotate 0.9s linear infinite;
}

.cf-privacy-note {
	margin: 0;
	font-size: 12.5px;
	color: var(--fd-muted);
	text-align: center;
}

/* Contact FAQ Sidebar */
.contact-faq__item {
	border-bottom: 1px solid var(--fd-line);
	padding: 12px 0;
}

.contact-faq__item:last-of-type {
	border-bottom: none;
}

.contact-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	cursor: pointer;
	list-style: none;
	font-size: 15px;
	font-weight: 600;
	color: var(--fd-ink);
}

.contact-faq__q::-webkit-details-marker {
	display: none;
}

.contact-faq__chevron {
	flex-shrink: 0;
	color: var(--fd-muted);
	transition: transform 0.2s ease;
}

.contact-faq__item[open] .contact-faq__chevron {
	transform: rotate(180deg);
}

.contact-faq__a {
	padding-top: 8px;
	font-size: 14px;
	color: var(--fd-muted);
	line-height: 1.6;
}

.contact-faq__tools {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--fd-line);
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.contact-faq__tools-title {
	width: 100%;
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 700;
	color: var(--fd-ink-light);
}

.contact-faq__tool-link {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--fd-blue-light);
	color: var(--fd-blue);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-faq__tool-link:hover {
	background: var(--fd-blue);
	color: #ffffff;
}

.seo-content-section {
	padding: 0 0 56px;
}

.seo-content {
	background: var(--fd-bg);
	border: 1px solid var(--fd-line);
	border-radius: var(--fd-radius-lg);
	padding: 28px;
}

.seo-content h2 {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 700;
	color: var(--fd-ink);
}

.seo-content p {
	margin: 0 0 12px;
	font-size: 15px;
	color: var(--fd-ink-light);
	line-height: 1.7;
}

.seo-content p:last-child {
	margin-bottom: 0;
}

/* Responsive Contact Page */
@media (max-width: 960px) {
	.contact-info__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.contact-form-wrap {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.contact-hero {
		padding: 36px 0 28px;
	}

	.contact-info__grid,
	.cf-row {
		grid-template-columns: 1fr;
	}

	.contact-form-left,
	.contact-faq,
	.seo-content {
		padding: 20px;
	}
}
