/* ==========================================================================
   Help Desk On-demand – base, header, footer, standard content
   Colors, fonts and sizes come from Theme Options as CSS variables (--hd-*).
   ========================================================================== */
:root {
	--hd-primary: #1F45FF; --hd-primary-rgb: 31, 69, 255; --hd-primary-d: #0F2FD6; --hd-violet: #5A2BFF; --hd-violet-rgb: 90, 43, 255;
	--hd-navy: #0A0E40; --hd-navy-rgb: 10, 14, 64; --hd-accent: #12C29A; --hd-accent-rgb: 18, 194, 154;
	--hd-heading: #0B1033; --hd-text: #4D5670; --hd-light: #F3F6FF; --hd-border: #E3E7F4;
	--hd-grad: linear-gradient(120deg, var(--hd-primary) 0%, var(--hd-violet) 100%);
	--hd-font-heading: 'Rajdhani', system-ui, sans-serif; --hd-font-body: 'Nunito', system-ui, sans-serif;
	--hd-fs: 16px; --hd-fw-heading: 700; --hd-container: 1200px; --hd-radius: 16px;
	--hd-header-h: 84px; --hd-logo-h: 40px; --hd-logo-h-m: 30px;
	--hd-gutter: 24px;
	--hd-ease: cubic-bezier(.22, .8, .3, 1);
	--hd-shadow-sm: 0 2px 8px rgba(var(--hd-navy-rgb), .06);
	--hd-shadow: 0 12px 32px rgba(var(--hd-navy-rgb), .09);
	--hd-shadow-lg: 0 24px 60px rgba(var(--hd-navy-rgb), .16);
	--hd-admin-bar: 0px;
}
.admin-bar { --hd-admin-bar: 32px; }
@media (max-width: 782px) { .admin-bar { --hd-admin-bar: 46px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-header-h) + var(--hd-admin-bar) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--hd-text); font-family: var(--hd-font-body); font-size: var(--hd-fs); line-height: 1.7; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--hd-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--hd-primary-d); }
:focus-visible { outline: 3px solid rgba(var(--hd-primary-rgb), .45); outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; color: var(--hd-heading); font-family: var(--hd-font-heading); font-weight: var(--hd-fw-heading); line-height: 1.12; letter-spacing: -.005em; }
h1 { font-size: clamp(38px, 4.6vw, 62px); }
h2 { font-size: clamp(32px, 3.4vw, 46px); }
h3 { font-size: clamp(22px, 2vw, 26px); }
h4 { font-size: 21px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
hr { margin: 2em 0; border: 0; border-top: 1px solid var(--hd-border); }
blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--hd-primary); color: var(--hd-heading); font-size: 1.12em; }
table { width: 100%; margin: 0 0 1.4em; border-collapse: collapse; }
th, td { padding: 10px 12px; border: 1px solid var(--hd-border); text-align: left; }
th { background: var(--hd-light); color: var(--hd-heading); }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
pre { overflow: auto; padding: 16px; border-radius: 10px; background: var(--hd-light); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; left: 12px; top: 12px; z-index: 100000; width: auto; height: auto; margin: 0; padding: 12px 18px; clip: auto; border-radius: 8px; background: #fff; box-shadow: var(--hd-shadow); color: var(--hd-primary); font-weight: 700; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, figcaption { margin-top: 8px; color: var(--hd-text); font-size: 14px; text-align: center; }

.hd-container { width: 100%; max-width: calc(var(--hd-container) + var(--hd-gutter) * 2); margin: 0 auto; padding: 0 var(--hd-gutter); }
.hd-container--narrow { max-width: calc(820px + var(--hd-gutter) * 2); }
@media (max-width: 767px) { :root { --hd-gutter: 18px; } }

/* ---------- Buttons ---------- */
.hd-btn, .hd-entry .wp-block-button__link, .hd-comments .submit, .hd-entry input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 28px; border: 2px solid transparent; border-radius: 999px;
	background: linear-gradient(120deg, var(--hd-primary) 0%, var(--hd-violet) 50%, var(--hd-primary) 100%) 0 0 / 200% 100%; color: #fff !important; cursor: pointer;
	font-family: var(--hd-font-heading); font-size: 17px; font-weight: 700; line-height: 1; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
	transition: background-position .5s var(--hd-ease), background-color .25s var(--hd-ease), border-color .25s var(--hd-ease), color .25s, box-shadow .25s, transform .25s var(--hd-ease);
}
.hd-btn:hover, .hd-entry .wp-block-button__link:hover, .hd-comments .submit:hover { background-position: 100% 0; box-shadow: 0 12px 24px rgba(var(--hd-primary-rgb), .3); transform: translateY(-2px); }
.hd-btn i { font-size: .82em; transition: transform .25s var(--hd-ease); }
.hd-btn:hover i.fa-arrow-right { transform: translateX(4px); }
.hd-btn--sm { min-height: 44px; padding: 0 20px; font-size: 15.5px; }
.hd-btn--lg { min-height: 58px; padding: 0 34px; font-size: 18px; }
.hd-btn--block { display: flex; width: 100%; }
.hd-btn--outline { border-color: rgba(var(--hd-primary-rgb), .35); background: #fff; color: var(--hd-primary) !important; }
.hd-btn--outline:hover { border-color: var(--hd-primary); background: var(--hd-primary); color: #fff !important; }
.hd-btn--light { border-color: #fff; background: #fff; color: var(--hd-navy) !important; }
.hd-btn--light:hover { border-color: #fff; background: #fff; color: var(--hd-primary) !important; box-shadow: 0 12px 24px rgba(0, 0, 0, .25); }
.hd-btn--ghost { border-color: rgba(255, 255, 255, .35); background: transparent; color: #fff !important; }
.hd-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); box-shadow: none; }
.hd-btn--dark { border-color: var(--hd-navy); background: var(--hd-navy); }
.hd-btn--light, .hd-btn--ghost, .hd-btn--dark { background-size: auto; }
.hd-btn--dark:hover { border-color: var(--hd-primary); background: var(--hd-primary); }
.hd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hd-actions--center { justify-content: center; }

/* ---------- Header ---------- */
.hd-header { position: relative; z-index: 1000; background: #fff; border-bottom: 1px solid rgba(var(--hd-navy-rgb), .07); transition: background-color .3s, box-shadow .3s, border-color .3s; }
.hd-sticky .hd-header { position: sticky; top: var(--hd-admin-bar); }
.hd-header.is-scrolled { box-shadow: 0 8px 30px rgba(var(--hd-navy-rgb), .08); }
.hd-header--transparent { position: absolute; left: 0; right: 0; top: var(--hd-admin-bar); border-bottom-color: transparent; background: transparent; }
.hd-sticky .hd-header--transparent { position: fixed; }
.hd-header--transparent.is-scrolled, .hd-header--transparent.is-open { background: #fff; border-bottom-color: rgba(var(--hd-navy-rgb), .07); }
.hd-header__inner { display: flex; align-items: center; gap: 28px; height: var(--hd-header-h); }
.hd-logo { display: inline-flex; flex: none; align-items: center; }
.hd-logo--header .hd-logo__img { display: block; width: auto; height: var(--hd-logo-h); max-width: none; }
.hd-nav { flex: 1; display: flex; justify-content: flex-end; }
.hd-menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.hd-menu > li { position: relative; }
.hd-menu a { position: relative; display: flex; align-items: center; gap: 6px; padding: 10px 14px; color: var(--hd-heading); font-family: var(--hd-font-heading); font-size: 16.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.hd-menu > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--hd-primary); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--hd-ease); }
.hd-menu > li > a:hover, .hd-menu > li.is-current > a, .hd-menu > li.current-menu-item > a:not([href*="#"]) { color: var(--hd-primary); }
.hd-menu > li > a:hover::after, .hd-menu > li.is-current > a::after, .hd-menu > li.current-menu-item > a:not([href*="#"])::after { transform: scaleX(1); }
.hd-menu .menu-item-has-children > a::before { content: "\f107"; order: 2; font-family: "Font Awesome 6 Free"; font-size: 12px; font-weight: 900; }
.hd-menu .sub-menu { position: absolute; left: 0; top: 100%; z-index: 10; min-width: 230px; margin: 0; padding: 10px; border: 1px solid var(--hd-border); border-radius: 12px; background: #fff; box-shadow: var(--hd-shadow); list-style: none; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--hd-ease), visibility .2s; }
.hd-menu li:hover > .sub-menu, .hd-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.hd-menu .sub-menu a { padding: 9px 12px; border-radius: 8px; font-size: 15.5px; letter-spacing: .03em; }
.hd-menu .sub-menu a:hover { background: var(--hd-light); color: var(--hd-primary); }
.hd-header__actions { display: flex; flex: none; align-items: center; gap: 18px; }
.hd-header__phone { display: inline-flex; align-items: center; gap: 10px; color: var(--hd-heading); font-family: var(--hd-font-heading); font-size: 19px; font-weight: 700; line-height: 1.05; }
.hd-header__phone i { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(var(--hd-primary-rgb), .1); color: var(--hd-primary); font-size: 15px; transition: background-color .2s, color .2s; }
.hd-header__phone small { display: block; color: var(--hd-text); font-family: var(--hd-font-body); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hd-header__phone:hover { color: var(--hd-primary); }
.hd-header__phone:hover i { background: var(--hd-primary); color: #fff; }
.hd-burger { display: none; position: relative; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: var(--hd-grad); cursor: pointer; }
.hd-burger__lines { position: absolute; left: 13px; right: 13px; top: 50%; height: 14px; margin-top: -7px; }
.hd-burger__lines span { position: absolute; left: 0; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--hd-ease), opacity .2s, width .3s; }
.hd-burger__lines span:nth-child(1) { top: 0; width: 100%; }
.hd-burger__lines span:nth-child(2) { top: 6px; width: 70%; }
.hd-burger__lines span:nth-child(3) { top: 12px; width: 100%; }
.hd-burger[aria-expanded="true"] .hd-burger__lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hd-burger[aria-expanded="true"] .hd-burger__lines span:nth-child(2) { opacity: 0; }
.hd-burger[aria-expanded="true"] .hd-burger__lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.hd-drawer { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - var(--hd-header-h) - var(--hd-admin-bar)); overflow-y: auto; padding: 8px 0 26px; border-top: 1px solid var(--hd-border); background: #fff; box-shadow: 0 30px 40px rgba(var(--hd-navy-rgb), .14); opacity: 0; transform: translateY(-8px); transition: opacity .22s, transform .25s var(--hd-ease); }
.hd-drawer.is-open { opacity: 1; transform: none; }
.hd-drawer__menu, .hd-drawer__menu ul { margin: 0; padding: 0; list-style: none; }
.hd-drawer__menu a { display: block; padding: 14px 2px; border-bottom: 1px solid var(--hd-border); color: var(--hd-heading); font-family: var(--hd-font-heading); font-size: 19px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.hd-drawer__menu .sub-menu a { padding-left: 18px; font-size: 17px; }
.hd-drawer__menu li.is-current > a, .hd-drawer__menu a:hover { color: var(--hd-primary); }
.hd-drawer .hd-btn { margin-top: 22px; }
.hd-drawer__contact { display: grid; gap: 4px; margin-top: 18px; }
.hd-drawer__contact .hd-contact__item { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--hd-heading); font-weight: 600; }
.hd-drawer__contact i { width: 20px; color: var(--hd-primary); text-align: center; }
.hd-drawer__contact small { color: var(--hd-text); font-size: 13px; }

@media (max-width: 1200px) { .hd-header__phone { display: none; } }
@media (max-width: 1024px) {
	.hd-nav { display: none; }
	.hd-burger { display: block; }
	.hd-header__actions { margin-left: auto; gap: 12px; }
}
@media (max-width: 767px) {
	:root { --hd-header-h: 70px; }
	.hd-logo--header .hd-logo__img { height: var(--hd-logo-h-m); }
	.hd-header__cta { display: none; }
}
@media (max-width: 380px) { .hd-logo--header .hd-logo__img { max-width: 220px; height: auto; } }

/* ---------- Footer ---------- */
.hd-footer { position: relative; overflow: hidden; background: var(--hd-navy); color: rgba(255, 255, 255, .72); font-size: 15.5px; isolation: isolate; }
.hd-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 80% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 80% 0%, #000 0%, transparent 70%); }
.hd-footer::after { content: ""; position: absolute; right: -160px; top: -200px; z-index: -1; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--hd-primary-rgb), .35), transparent 65%); }
.hd-footer a { color: rgba(255, 255, 255, .78); }
.hd-footer a:hover { color: #fff; }
.hd-footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr); gap: 50px; padding: 76px 0 54px; }
.hd-footer__brand p { max-width: 380px; margin: 20px 0 0; }
.hd-logo--footer .hd-logo__img { display: block; width: auto; height: 40px; }
.hd-wordmark { display: inline-flex; flex-direction: column; color: #fff; font-family: var(--hd-font-heading); line-height: 1; }
.hd-wordmark__name { font-size: 28px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.hd-wordmark__name b { color: #7B93FF; font-weight: 700; }
.hd-social { display: flex; gap: 10px; margin-top: 24px; }
.hd-social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; color: #fff !important; font-size: 15px; transition: background-color .2s, border-color .2s, transform .2s; }
.hd-social a:hover { border-color: transparent; background: var(--hd-grad); transform: translateY(-2px); }
.hd-wordmark__tag { margin-top: 5px; color: rgba(255, 255, 255, .62); font-size: 13.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.hd-footer__title { margin: 0 0 18px; color: #fff; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; }
.hd-footer__menu { margin: 0; padding: 0; list-style: none; }
.hd-footer__menu li + li { margin-top: 9px; }
.hd-footer__menu a { display: inline-flex; align-items: center; gap: 8px; }
.hd-footer__menu a::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--hd-primary); transform: rotate(45deg); }
.hd-footer__contact { display: grid; gap: 12px; }
.hd-footer__contact .hd-contact__item { display: flex; align-items: flex-start; gap: 12px; }
.hd-footer__contact i { flex: none; width: 34px; height: 34px; margin-top: -4px; border-radius: 9px; background: rgba(255, 255, 255, .07); color: #8AA6FF; font-size: 14px; line-height: 34px; text-align: center; }
.hd-footer__contact small { color: rgba(255, 255, 255, .55); font-size: 13px; }
.hd-footer__bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 24px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.hd-footer__copy { margin: 0; letter-spacing: .02em; }
.hd-parent { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(255, 255, 255, .7) !important; font-size: 12px; letter-spacing: .04em; }
.hd-parent img { display: block; width: auto; height: 30px; transition: opacity .2s; }
.hd-parent:hover img { opacity: .85; }
.hd-footer__legal { justify-self: end; }
.hd-legal-menu { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 1024px) {
	.hd-footer__top { grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 60px; }
	.hd-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.hd-footer__top { grid-template-columns: 1fr; gap: 34px; padding: 52px 0 40px; }
	.hd-footer__bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.hd-parent { order: -1; }
	.hd-footer__legal { justify-self: center; }
}

/* ---------- Back to top ---------- */
.hd-top { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--hd-grad); box-shadow: 0 12px 24px rgba(var(--hd-primary-rgb), .35); color: #fff !important; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--hd-ease), visibility .3s, background-color .2s; }
.hd-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.hd-top:hover { background: var(--hd-navy); }

/* ---------- Standard pages, posts, archives ---------- */
.hd-page-head { padding: 70px 0 40px; background: var(--hd-light); border-bottom: 1px solid var(--hd-border); }
.hd-page-head__title { margin: 0; font-size: clamp(34px, 4vw, 52px); }
.hd-page-head__desc, .hd-page-head__search { max-width: 640px; margin-top: 16px; }
.hd-entry { padding-top: 50px; padding-bottom: 80px; }
.hd-entry > *:first-child { margin-top: 0; }
.hd-entry h2 { margin-top: 1.4em; font-size: clamp(28px, 3vw, 36px); }
.hd-entry h3 { margin-top: 1.3em; }
.hd-entry a:not(.hd-btn):not(.wp-block-button__link) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hd-entry img { border-radius: 12px; }
.hd-single__image { margin: 0 0 36px; }
.hd-single__image img { display: block; width: 100%; }
.hd-post-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 12px; color: var(--hd-text); font-size: 14.5px; }
.hd-post-meta i { margin-right: 4px; color: var(--hd-primary); }
.hd-post-meta a { color: inherit; }
.hd-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: 999px; background: var(--hd-light); color: var(--hd-heading); font-size: 13.5px; text-decoration: none !important; }
.post-navigation { margin-top: 50px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: block; height: 100%; padding: 18px 20px; border: 1px solid var(--hd-border); border-radius: 12px; text-decoration: none !important; }
.post-navigation small { display: block; color: var(--hd-text); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.post-navigation span { color: var(--hd-heading); font-family: var(--hd-font-heading); font-size: 19px; font-weight: 700; }
.post-navigation .nav-next { text-align: right; }
.hd-archive { padding-top: 60px; padding-bottom: 90px; }
.hd-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.hd-post-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--hd-border); border-radius: var(--hd-radius); background: #fff; transition: transform .3s var(--hd-ease), box-shadow .3s; }
.hd-post-card:hover { transform: translateY(-5px); box-shadow: var(--hd-shadow); }
.hd-post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hd-light); }
.hd-post-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hd-post-card__ph { display: flex; align-items: center; justify-content: center; height: 100%; color: rgba(var(--hd-primary-rgb), .4); font-size: 40px; }
.hd-post-card__body { padding: 22px 24px 26px; }
.hd-post-card__title { margin: 0 0 10px; font-size: 23px; line-height: 1.2; }
.hd-post-card__title a { color: var(--hd-heading); }
.hd-post-card__title a:hover { color: var(--hd-primary); }
.hd-post-card p { margin: 0; font-size: 15px; }
.hd-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 50px; }
.hd-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 12px; border: 1px solid var(--hd-border); border-radius: 10px; color: var(--hd-heading); font-family: var(--hd-font-heading); font-size: 18px; font-weight: 700; }
.hd-pagination .current, .hd-pagination a.page-numbers:hover { border-color: var(--hd-primary); background: var(--hd-primary); color: #fff; }
.hd-pagination .dots { border: 0; }
.hd-empty { max-width: 560px; margin: 0 auto; padding: 40px 0; text-align: center; }
.hd-search { display: flex; gap: 8px; }
.hd-search input[type="search"] { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid var(--hd-border); border-radius: 10px; background: #fff; font: inherit; }
.hd-search .hd-btn { min-height: 48px; padding: 0 18px; }
@media (max-width: 1024px) { .hd-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hd-post-grid, .post-navigation .nav-links { grid-template-columns: 1fr; } .post-navigation .nav-next { text-align: left; } }

/* Comments */
.hd-comments { margin-top: 60px; }
.hd-comments__list { padding: 0; list-style: none; }
.hd-comments .comment-body { margin-bottom: 18px; padding: 20px; border: 1px solid var(--hd-border); border-radius: 12px; }
.hd-comments .avatar { float: left; margin-right: 12px; border-radius: 50%; }
.hd-comments .children { padding-left: 30px; list-style: none; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--hd-border); border-radius: 10px; font: inherit; }

/* 404 */
.hd-404 { padding: 120px 0; background: var(--hd-light); text-align: center; }
.hd-404__code { display: block; color: var(--hd-primary); font-family: var(--hd-font-heading); font-size: clamp(110px, 18vw, 200px); font-weight: 700; line-height: .9; opacity: .18; }
.hd-404 h1 { margin-top: -12px; font-size: clamp(32px, 4vw, 46px); }

/* Elementor: pasted page HTML runs edge to edge. */
.hd-full-width .elementor-section.elementor-section-boxed > .elementor-container { max-width: var(--hd-container); }
.elementor-widget-html .elementor-widget-container { overflow: visible; }

/* WordPress core classes */
.sticky .hd-post-card__title::before { content: "\f08d"; margin-right: 8px; color: var(--hd-accent); font-family: "Font Awesome 6 Free"; font-size: .7em; font-weight: 900; }
.bypostauthor > .comment-body { border-color: rgba(var(--hd-primary-rgb), .35); }
.gallery-caption { margin-top: 6px; font-size: 13.5px; }
