/*
Theme Name: MHAS.in
Theme URI: https://www.mhas.in/
Author: MHAS.in
Description: Multi-niche blog + guest post marketplace theme for MHAS.in. Tech, Business, Health, Beauty, Travel and Education updates, a full guest post order form with live order summary and file upload, pricing packages, an Orders & Leads inbox, and a floating WhatsApp button that never exposes the phone number. No jQuery, no page builder, no plugins required.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mhas
Tags: blog, news, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--blue: #2563eb;
	--blue-d: #1d4ed8;
	--blue-dd: #1e3a8a;
	--blue-50: #eff6ff;
	--blue-100: #dbeafe;
	--navy: #0f172a;
	--ink: #1e293b;
	--text: #334155;
	--muted: #64748b;
	--line: #e2e8f0;
	--line-2: #cbd5e1;
	--bg: #ffffff;
	--tint: #f5f8ff;
	--green: #16a34a;
	--green-d: #15803d;
	--green-50: #ecfdf3;
	--wa: #25d366;
	--amber: #f59e0b;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
	--shadow: 0 1px 3px rgba(15, 23, 42, .06), 0 8px 24px -12px rgba(15, 23, 42, .12);
	--shadow-lg: 0 20px 50px -20px rgba(30, 58, 138, .35);
	--font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--font-head: "Poppins", var(--font);
	--container: 1240px;
	--gutter: 20px;
	--header-h: 72px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-d); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--navy); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(37, 99, 235, .45); outline-offset: 2px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }
.center { text-align: center; }
.muted { color: var(--muted); font-style: normal; font-weight: 400; }
.mhas-ico { flex: none; display: inline-block; vertical-align: middle; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }

/* ==========================================================================
   Buttons, chips, tags
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-width: 0; padding: 11px 20px; border-radius: 10px; border: 1px solid transparent;
	font-weight: 600; font-size: 15px; line-height: 1.2; text-align: center; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
	white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 8px 14px; font-size: 14px; border-radius: 9px; }
.btn--lg { padding: 14px 24px; font-size: 16px; border-radius: 12px; }
.btn--block { display: flex; width: 100%; white-space: normal; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px -8px rgba(37, 99, 235, .7); }
.btn--primary:hover { background: var(--blue-d); color: #fff; }
.btn--wa { background: var(--green); color: #fff; box-shadow: 0 6px 16px -8px rgba(22, 163, 74, .7); }
.btn--wa:hover { background: var(--green-d); color: #fff; }
.btn--wa-soft { background: var(--green-50); color: var(--green-d); border-color: #bbf7d0; }
.btn--wa-soft:hover { background: #dcfce7; color: var(--green-d); }
.btn--outline { background: #fff; color: var(--blue-d); border-color: var(--blue-100); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue-d); background: var(--blue-50); }
.btn--soft { background: var(--blue-50); color: var(--blue-d); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: #1e293b; color: #fff; }
.btn--ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .16); color: #fff; }

.chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
	background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 500; line-height: 1.3;
	white-space: nowrap;
}
a.chip:hover, .chip.is-active { border-color: var(--blue); color: var(--blue-d); background: var(--blue-50); }
.chip--cat { --c: var(--blue); background: color-mix(in srgb, var(--c) 10%, #fff); border-color: transparent; color: var(--c); font-weight: 600; font-size: 12px; padding: 4px 10px; }
a.chip--cat:hover { background: color-mix(in srgb, var(--c) 18%, #fff); color: var(--c); border-color: transparent; }

.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #f1f5f9; color: var(--muted); white-space: nowrap; line-height: 1.4; }
.tag--blue { background: var(--blue-50); color: var(--blue-d); }
.tag--green { background: var(--green-50); color: var(--green-d); }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--blue-100); color: var(--blue-dd); font-size: 13px; font-weight: 600; box-shadow: var(--shadow-sm); margin: 0 0 18px; }
.pill--sm { font-size: 12px; padding: 5px 12px; background: var(--blue-50); margin-bottom: 12px; }
.pill__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22, 163, 74, .18); }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin: 0 0 8px; }
.eyebrow--green { color: #4ade80; }
.link-arrow { font-weight: 600; font-size: 15px; }

.icon-tile { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue); border: 1px solid var(--blue-100); }
.icon-tile--green { background: var(--green-50); color: var(--green); border-color: #bbf7d0; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px; min-width: 0; }

.checklist { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink); }
.checklist .mhas-ico { color: var(--green); margin-top: 3px; }
.checklist--muted li { color: var(--muted); }

/* ==========================================================================
   Top bar + header
   ========================================================================== */
.topbar { background: var(--navy); color: #cbd5e1; font-size: 13px; }
.topbar__inner { display: flex; justify-content: center; align-items: center; gap: 8px 28px; min-height: 38px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.topbar__item .mhas-ico { color: #4ade80; }
.topbar__item--wa { color: #4ade80; }
.topbar__item--wa:hover { color: #86efac; }

.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { box-shadow: 0 6px 24px -16px rgba(15, 23, 42, .35); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.site-header__brand { flex: none; }
.site-logo img, .custom-logo { height: 46px; width: auto; max-width: none; }
.custom-logo-link { display: block; }

.site-nav { flex: 1; min-width: 0; display: flex; justify-content: center; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a { display: block; padding: 8px 11px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: 15px; white-space: nowrap; }
.site-nav .menu a:hover, .site-nav .current-menu-item > a, .site-nav .current_page_item > a, .site-nav .current-menu-ancestor > a { color: var(--blue-d); background: var(--blue-50); }
.site-nav .menu-item-has-children > a { padding-right: 30px; }
.submenu-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 4px; color: var(--muted); cursor: pointer; line-height: 0; border-radius: 6px; }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: calc(100% + 6px); min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; z-index: 10; display: grid; grid-template-columns: 1fr; }
.site-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { font-size: 14px; padding: 8px 12px; }
.site-nav__cta { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--blue-100); color: var(--blue); background: var(--blue-50); }
.nav-toggle { display: none; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: inline; }
.header-wa .mhas-ico { width: 18px; }

.header-search { border-top: 1px solid var(--line); background: #fff; padding: 14px 0; }
.header-search .search-form { max-width: 640px; margin: 0 auto; }

@media (max-width: 1520px) { .header-wa { display: none; } }
@media (max-width: 1120px) {
	.nav-toggle { display: inline-grid; }
	.site-header__inner { justify-content: space-between; }
	.site-nav {
		display: none; position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, 110px);
		background: #fff; z-index: 99; overflow-y: auto; padding: 12px var(--gutter) 28px;
		flex-direction: column; justify-content: flex-start; border-top: 1px solid var(--line);
	}
	.nav-open .site-nav { display: flex; animation: navIn .18s ease-out; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu > li { border-bottom: 1px solid var(--line); }
	.site-nav .menu a { padding: 14px 4px; font-size: 16px; border-radius: 0; background: none !important; }
	.submenu-toggle { top: 8px; transform: none; right: 0; padding: 10px; }
	.submenu-toggle[aria-expanded="true"] .mhas-ico { transform: rotate(180deg); }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 12px; display: none; min-width: 0; grid-template-columns: 1fr 1fr; }
	.site-nav .sub-menu.is-open { display: grid; }
	.site-nav .sub-menu a { padding: 8px 4px; }
	.site-nav__cta { display: grid; gap: 10px; margin-top: 20px; }
	.header-submit { display: none; }
}
@media (max-width: 480px) {
	.site-logo img, .custom-logo { height: 38px; }
	.icon-btn { width: 40px; height: 40px; }
	.hide-sm { display: none !important; }
	.topbar { font-size: 12px; }
	.topbar__inner { gap: 4px 16px; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 80px 0; }
.section--tint { background: var(--tint); border-top: 1px solid #eaf0fb; border-bottom: 1px solid #eaf0fb; }
.section--flush-top { padding-top: 0; }
.section-head { margin: 0 auto 40px; }
.section-head--center { text-align: center; max-width: 720px; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; }
.section-head--split .section-head__main { max-width: 640px; }
.section-head--split .section-head__aside { flex: 0 1 auto; min-width: 0; }
.section-title { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 10px; }
.section-text { color: var(--muted); font-size: 17px; margin: 0; }
@media (max-width: 720px) { .section { padding: 56px 0; } .section-head { margin-bottom: 28px; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: 72px 0 64px; background: linear-gradient(180deg, #f5f8ff 0%, #fff 100%); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; background:
	radial-gradient(600px 300px at 15% 0%, rgba(37, 99, 235, .12), transparent 70%),
	radial-gradient(500px 300px at 90% 10%, rgba(22, 163, 74, .10), transparent 70%);
}
.hero__bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(37, 99, 235, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, .05) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at top, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at top, #000 20%, transparent 70%); }
.hero__inner { position: relative; text-align: center; }
.hero__title { font-size: clamp(34px, 5.6vw, 60px); line-height: 1.12; max-width: 900px; margin: 0 auto 18px; letter-spacing: -.025em; }
.grad { white-space: nowrap; background: linear-gradient(90deg, var(--blue) 0%, #4f46e5 60%, #7c3aed 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__text { font-size: clamp(16px, 1.8vw, 19px); color: var(--muted); max-width: 720px; margin: 0 auto 28px; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 44px; }
.hero__actions--left { justify-content: flex-start; margin: 20px 0 0; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1000px; margin: 0 auto 36px; }
.stats__item { display: flex; flex-direction: column-reverse; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; box-shadow: var(--shadow-sm); min-width: 0; }
.stats dt { color: var(--muted); font-size: 13px; font-weight: 500; }
.stats dd { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.hero-search { max-width: 1000px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 14px; }
.hero-search__form { display: flex; align-items: center; gap: 10px; padding: 4px 4px 4px 14px; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; }
.hero-search__form > .mhas-ico { color: var(--muted); }
.hero-search__form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 0; outline: none; font-size: 16px; }
.hero-search__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; text-align: left; }
.hero-search__chips > span { font-size: 13px; color: var(--muted); font-weight: 600; }
.hero-search__chips .btn { margin-left: auto; }
@media (max-width: 760px) { .hero-search__chips .btn { margin-left: 0; width: 100%; } }

/* ==========================================================================
   Features, niches, steps
   ========================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; min-width: 0; transition: border-color .15s, box-shadow .15s, transform .15s; }
.feature:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature .icon-tile { margin-bottom: 14px; }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--muted); margin-bottom: 14px; flex: 1; }
.feature__tag { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--green-d); background: var(--green-50); padding: 3px 9px; border-radius: 999px; }
@media (max-width: 1020px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .feature-grid { grid-template-columns: 1fr; } }

.niche-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.niche { --c: var(--blue); display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; color: var(--ink); min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "i n" "i c"; column-gap: 12px; transition: .15s; }
.niche:hover { border-color: var(--c); box-shadow: var(--shadow); color: var(--ink); transform: translateY(-2px); }
.niche__icon { grid-area: i; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); }
.niche__name { grid-area: n; font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.3; }
.niche__count { grid-area: c; font-size: 12px; color: var(--muted); line-height: 1.3; }
@media (max-width: 1100px) { .niche-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) { .niche-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .niche-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .niche { padding: 12px; column-gap: 10px; } .niche__icon { width: 38px; height: 38px; } }

.info-bar { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding: 14px 18px; border-radius: 14px; background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-dd); font-size: 14px; }
.info-bar > span { display: flex; align-items: flex-start; gap: 10px; min-width: 0; flex: 1 1 320px; }
.info-bar > span .mhas-ico { margin-top: 2px; }
.info-bar--soft { background: #f8fafc; border-color: var(--line); color: var(--ink); }

.steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; min-width: 0; }
.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.step__num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 700; }
.step__label { font-size: 12px; color: var(--muted); font-weight: 600; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   Pricing tiers
   ========================================================================== */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.tier { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; min-width: 0; }
.tier--popular { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); }
.tier__ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.tier__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.tier__name { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tier__tag { font-size: 12px; font-weight: 600; color: var(--blue-d); background: var(--blue-50); padding: 3px 9px; border-radius: 999px; }
.tier__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 6px; }
.tier__price strong { font-family: var(--font-head); font-size: 44px; color: var(--navy); line-height: 1.1; }
.tier__price span { color: var(--muted); }
.tier__price em { font-style: normal; color: var(--muted); font-size: 14px; margin-left: auto; }
.tier__da { font-family: var(--font-head); font-weight: 700; color: var(--blue-d); margin: 0 0 6px; }
.tier__text { font-size: 14px; color: var(--muted); }
.tier .checklist { flex: 1; }
.tier__actions { display: grid; gap: 8px; }
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .tier--popular { order: -1; } }

.bulk-bar { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding: 18px 22px; border-radius: 16px; background: #fff; border: 1px dashed var(--line-2); }
.bulk-bar__text { display: flex; gap: 14px; align-items: flex-start; flex: 1 1 380px; min-width: 0; }
.bulk-bar__text p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.bulk-bar__text strong { color: var(--navy); }
.bulk-bar__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff; flex: none; }

/* ==========================================================================
   Post cards
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .post-grid, .post-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .post-grid, .post-grid--2, .post-grid--3 { grid-template-columns: 1fr; } }

.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: box-shadow .15s, transform .15s, border-color .15s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--blue-100); }
.pcard__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #eef2f7; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pcard:hover .pcard__media img { transform: scale(1.03); }
.thumb-ph { --c: var(--blue); display: grid; place-items: center; width: 100%; height: 100%; color: #fff; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #0f172a)); }
.thumb-ph .mhas-ico { opacity: .9; }
.pcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pcard__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.pcard__read { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.pcard__title { font-size: 18px; line-height: 1.35; margin: 0 0 8px; }
.pcard__title a { color: var(--navy); }
.pcard__title a:hover { color: var(--blue-d); }
.pcard__excerpt { font-size: 14px; color: var(--muted); margin: 0 0 14px; flex: 1; }
.pcard__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); border-top: 1px solid #f1f5f9; padding-top: 12px; margin-top: auto; }
.pcard__more { font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

.pcard--feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); margin-bottom: 22px; }
.pcard--feature .pcard__media { aspect-ratio: auto; min-height: 300px; position: relative; }
.pcard--feature .pcard__media img, .pcard--feature .pcard__media .thumb-ph { position: absolute; inset: 0; }
.pcard--feature .pcard__body { padding: 28px; justify-content: center; }
.pcard--feature .pcard__title { font-size: clamp(22px, 2.4vw, 28px); }
.pcard--feature .pcard__excerpt { flex: 0; font-size: 15px; }
@media (max-width: 760px) { .pcard--feature { grid-template-columns: 1fr; } .pcard--feature .pcard__media { aspect-ratio: 16 / 9; min-height: 0; } .pcard--feature .pcard__body { padding: 20px; } }

.pcard--mini { flex-direction: row; border: 0; border-radius: 0; background: transparent; gap: 12px; align-items: center; }
.pcard--mini:hover { box-shadow: none; transform: none; }
.pcard--mini .pcard__media { width: 76px; height: 60px; flex: none; border-radius: 10px; aspect-ratio: auto; }
.pcard--mini .thumb-ph .mhas-ico { width: 22px; height: 22px; }
.pcard--mini .pcard__body { padding: 0; }
.pcard--mini .pcard__title { font-size: 14px; margin-bottom: 2px; font-family: var(--font); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard--mini .pcard__meta { border: 0; padding: 0; font-size: 12px; }
.mini-list { display: grid; gap: 14px; }

/* Tabs */
.tabs__list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 22px; scrollbar-width: thin; }
.tabs__tab { flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; }
.tabs__tab:hover { border-color: var(--blue-100); color: var(--blue-d); }
.tabs__tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.tabs__more { text-align: center; margin: 24px 0 0; }

/* ==========================================================================
   Testimonials, FAQ
   ========================================================================== */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-width: 0; }
.quote__stars { color: var(--amber); display: flex; gap: 2px; margin-bottom: 12px; }
.quote__stars .mhas-ico { fill: currentColor; }
.quote blockquote { margin: 0 0 18px; color: var(--ink); font-size: 15px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption strong { display: block; color: var(--navy); font-size: 14px; }
.quote figcaption em { display: block; font-style: normal; font-size: 13px; color: var(--muted); }
.quote__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-50); color: var(--blue-d); font-weight: 700; flex: none; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq__item[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 600; color: var(--navy); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .mhas-ico { color: var(--muted); transition: transform .2s; }
.faq__item[open] summary .mhas-ico { transform: rotate(180deg); color: var(--blue); }
.faq__answer { padding: 0 20px 18px; color: var(--muted); }
.faq__answer p { margin: 0; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0 0 16px; }
.form-grid .field { margin: 0; }
.field > span, .field__label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field__label { margin: 0 0 10px; }
.field__row { display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; }
.field__row em { font-style: normal; font-weight: 400; color: var(--muted); font-size: 12px; }
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="search"], input[type="password"], input[type="number"], select, textarea {
	width: 100%; min-width: 0; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #f8fafc; color: var(--ink); font-size: 15px; line-height: 1.4;
	transition: border-color .15s, box-shadow .15s, background-color .15s;
}
textarea { resize: vertical; min-height: 90px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
input::placeholder, textarea::placeholder { color: #94a3b8; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364748b' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form-actions { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin-top: 20px; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); }
.form__title { font-size: 20px; margin-bottom: 16px; }
.input-icon { position: relative; }
.input-icon .mhas-ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-icon input { padding-left: 38px; }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; margin: 0 0 18px; font-size: 14px; }
.notice > div { display: grid; gap: 6px; justify-items: start; }
.notice .btn { margin-top: 4px; white-space: normal; }
.notice--success { background: var(--green-50); border: 1px solid #bbf7d0; color: #14532d; }
.notice--success > .mhas-ico { color: var(--green); }
.notice--error { background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; }
.notice--error .mhas-ico { color: #dc2626; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-size: 14px; }
.note--blue { background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-dd); }
.note .mhas-ico { margin-top: 2px; }

.search-form { display: flex; align-items: center; position: relative; }
.search-form__input { padding-right: 48px !important; }
.search-form__btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 8px; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; }
.search-form__btn:hover { background: var(--blue-d); }

/* Quick request */
.quick { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.quick__wa { display: flex; gap: 14px; background: var(--green-50); border: 1px solid #bbf7d0; border-radius: 16px; padding: 18px; margin: 24px 0; }
.quick__wa p { font-size: 14px; color: #166534; margin: 2px 0 10px; }
.quick__wa strong { color: #14532d; }
.quick__wa-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; flex: none; }
@media (max-width: 900px) { .quick { grid-template-columns: 1fr; gap: 24px; } }

/* ==========================================================================
   CTA band + footer
   ========================================================================== */
.cta-band { padding: 0 0 80px; }
.section + .cta-band, .page-body + .cta-band { padding-top: 0; }
.cta-band__inner { position: relative; overflow: hidden; display: flex; align-items: center; gap: 24px 32px; flex-wrap: wrap; padding: 40px; border-radius: 24px; color: #cbd5e1; background: radial-gradient(500px 240px at 0% 0%, rgba(37, 99, 235, .45), transparent 70%), radial-gradient(400px 220px at 100% 100%, rgba(22, 163, 74, .30), transparent 70%), var(--navy); }
.cta-band__text { flex: 1 1 420px; min-width: 0; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 8px; }
.cta-band p { margin: 0; }
.cta-band__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; flex: none; box-shadow: 0 0 0 8px rgba(22, 163, 74, .2); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 600px) { .cta-band__inner { padding: 28px 22px; } .cta-band__actions, .cta-band__actions .btn { width: 100%; } }

.site-footer { background: #fff; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
.site-footer h3 { font-size: 16px; margin-bottom: 14px; }
.site-footer__about .site-logo img, .site-footer__about .custom-logo { height: 44px; margin-bottom: 14px; }
.site-footer__about p { margin-bottom: 12px; }
.footer-wa-link { display: inline-flex; align-items: center; gap: 6px; color: var(--green-d); font-weight: 600; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-menu a, .legal-menu a { color: var(--muted); }
.footer-menu a:hover, .legal-menu a:hover { color: var(--blue-d); }
.subscribe-form { display: flex; gap: 8px; margin-bottom: 10px; }
.subscribe-form input { flex: 1; padding: 9px 12px; }
.social { display: flex; gap: 8px; margin-top: 14px; }
.social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); }
.social a:hover { color: var(--blue); border-color: var(--blue-100); }
.site-footer__bar { border-top: 1px solid var(--line); font-size: 13px; }
.site-footer__bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 10px 24px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.site-footer__bar p { margin: 0; }
.legal-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 28px; } }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 22px; z-index: 90; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 10px 24px -6px rgba(37, 211, 102, .6), 0 2px 6px rgba(0, 0, 0, .15); transition: transform .15s; }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float__pulse { position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; }
@media (prefers-reduced-motion: no-preference) { .wa-float__pulse { animation: waPulse 2.2s ease-out infinite; } }
@keyframes waPulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.wa-float__tip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%); background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: .15s; }
.wa-float__tip::after { content: ""; position: absolute; right: -5px; top: 50%; margin-top: -5px; border: 5px solid transparent; border-right: 0; border-left-color: var(--navy); }
.wa-float:hover .wa-float__tip, .wa-float:focus-visible .wa-float__tip { opacity: 1; transform: translate(0, -50%); }
@media (max-width: 600px) { .wa-float { width: 54px; height: 54px; right: 14px; bottom: 16px; } .wa-float .mhas-ico { width: 27px; height: 27px; } }

/* ==========================================================================
   Page hero, breadcrumbs, layout
   ========================================================================== */
.page-hero { background: linear-gradient(180deg, #f5f8ff, #fff); border-bottom: 1px solid #eef2f9; padding: 26px 0 36px; margin-bottom: 40px; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__text { margin-left: auto; margin-right: auto; }
.page-hero--center .crumbs ol { justify-content: center; }
.page-title { font-size: clamp(28px, 4vw, 42px); margin: 0 0 10px; letter-spacing: -.02em; }
.page-title small { font-size: .45em; color: var(--muted); font-weight: 500; }
.page-hero__text { color: var(--muted); font-size: 17px; max-width: 760px; margin: 0; }
.page-hero__row { display: flex; gap: 18px; align-items: flex-start; }
.page-hero__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; flex: none; color: #fff; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 60%, #0f172a)); box-shadow: 0 10px 24px -12px var(--c); }
.page-hero--cat .page-hero__icon { background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 60%, #0f172a)); }
@media (max-width: 560px) { .page-hero__icon { width: 50px; height: 50px; border-radius: 14px; } .page-hero__icon .mhas-ico { width: 24px; } }
.cat-scroller { display: flex; gap: 8px; overflow-x: auto; margin-top: 22px; padding-bottom: 4px; scrollbar-width: thin; }
.cat-scroller .chip { flex: none; }

.crumbs { margin-bottom: 14px; font-size: 13px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); min-width: 0; }
.crumbs li + li::before { content: "›"; color: #94a3b8; margin-right: 2px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue-d); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; align-items: start; padding-bottom: 80px; }
.layout__main { min-width: 0; }
@media (max-width: 1020px) { .layout { grid-template-columns: 1fr; } }

.page-body { padding-bottom: 60px; }

/* Sidebar */
.sidebar { display: grid; gap: 22px; position: sticky; top: 100px; }
@media (max-width: 1020px) { .sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); } }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.widget__title, .widget h2, .widget h3 { font-size: 16px; margin-bottom: 14px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget--promo { color: #cbd5e1; border: 0; background: radial-gradient(260px 160px at 100% 0%, rgba(37, 99, 235, .55), transparent 70%), var(--navy); display: grid; gap: 10px; }
.widget--promo h3 { color: #fff; font-size: 19px; margin: 0; }
.widget--promo p { font-size: 14px; margin: 0 0 4px; }
.widget--promo__badge { justify-self: start; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #4ade80; }
.widget--write .icon-tile { margin-bottom: 10px; }
.widget--write p { font-size: 14px; color: var(--muted); }
.cat-list { display: grid; gap: 2px; }
.cat-list a { --c: var(--blue); display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; color: var(--ink); font-size: 14px; font-weight: 500; }
.cat-list a:hover { background: #f8fafc; color: var(--c); }
.cat-list__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); }
.cat-list em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); background: #f1f5f9; border-radius: 999px; padding: 1px 8px; }

.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 36px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; }
.pagination .page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--blue); color: var(--blue-d); }

.empty { text-align: center; padding: 48px 24px; }
.empty .icon-tile { margin-bottom: 14px; }
.search-again { margin-bottom: 24px; }

/* ==========================================================================
   Single post
   ========================================================================== */
.page-hero--post { padding-bottom: 32px; }
.post-head { max-width: 860px; }
.post-head .chip--cat { margin-bottom: 12px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; color: var(--muted); font-size: 14px; margin-top: 16px; }
.post-meta > span, .post-meta__author { display: inline-flex; align-items: center; gap: 6px; }
.post-meta__author { color: var(--ink); font-weight: 600; }
.avatar { border-radius: 50%; }

.entry__media { margin: 0 0 28px; border-radius: 18px; overflow: hidden; background: #eef2f7; }
.entry__media img { width: 100%; height: auto; }

.toc { background: var(--tint); border: 1px solid #e3eaf8; border-radius: 14px; margin: 0 0 28px; }
.toc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-weight: 700; color: var(--navy); font-family: var(--font-head); }
.toc summary::-webkit-details-marker { display: none; }
.toc summary .mhas-ico:last-child { margin-left: auto; transition: transform .2s; }
.toc[open] summary .mhas-ico:last-child { transform: rotate(180deg); }
.toc summary .mhas-ico:first-child { color: var(--blue); }
.toc ol { list-style: none; margin: 0; padding: 0 18px 16px 18px; display: grid; gap: 6px; font-size: 15px; }
.toc li { position: relative; padding-left: 16px; }
.toc li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 2px; background: var(--blue); }
.toc a { color: var(--ink); }
.toc a:hover { color: var(--blue-d); }
.toc__l3 { margin-left: 16px; font-size: 14px; }
.toc li.toc__l3::before { background: var(--line-2); }

.prose { font-size: 17px; line-height: 1.8; color: var(--text); overflow-wrap: break-word; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 1.8em 0 .6em; }
.prose h3 { font-size: clamp(19px, 2.2vw, 22px); margin: 1.6em 0 .5em; }
.prose h4 { font-size: 18px; margin: 1.4em 0 .5em; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose figure, .prose table, .prose pre { margin: 0 0 1.25em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--blue); }
.prose a { text-decoration: underline; text-decoration-color: rgba(37, 99, 235, .35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--blue); }
.prose strong { color: var(--ink); }
.prose blockquote { border-left: 4px solid var(--blue); background: var(--tint); padding: 16px 20px; border-radius: 0 12px 12px 0; color: var(--ink); font-style: italic; }
.prose blockquote p:last-child { margin: 0; }
.prose img { border-radius: 12px; height: auto; }
.prose figcaption, .prose .wp-element-caption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: #f8fafc; color: var(--navy); }
.prose pre { background: var(--navy); color: #e2e8f0; padding: 16px; border-radius: 12px; overflow-x: auto; font-size: 14px; }
.prose code { background: #f1f5f9; padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose .alignwide, .prose .alignfull { margin-left: 0; margin-right: 0; }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
.prose .alignleft { float: left; margin: 0 1.2em 1em 0; }
.prose .alignright { float: right; margin: 0 0 1em 1.2em; }
.entry.card { padding: clamp(22px, 4vw, 44px); }

.entry__footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 36px 0 28px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.share { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.share__label { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.share__btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.share__btn:hover { color: #fff; border-color: transparent; }
.share__btn--whatsapp:hover { background: var(--wa); }
.share__btn--facebook:hover { background: #1877f2; }
.share__btn--x-social:hover { background: #000; }
.share__btn--linkedin:hover { background: #0a66c2; }
.share__btn--copy:hover, .share__btn--copy.is-copied { background: var(--blue); color: #fff; }

.gp-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; padding: 26px; border-radius: 18px; background: linear-gradient(135deg, var(--blue-50), #f0fdf4); border: 1px solid var(--blue-100); margin-bottom: 28px; }
.gp-box > div:first-child { flex: 1 1 360px; min-width: 0; }
.gp-box h2 { font-size: 21px; margin-bottom: 6px; }
.gp-box p { margin: 0; color: var(--muted); font-size: 15px; }
.gp-box__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.author-box { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 28px; }
.author-box .eyebrow { margin-bottom: 2px; }
.author-box h3 { font-size: 18px; margin-bottom: 6px; }
.author-box h3 a { color: var(--navy); }
.author-box p { margin: 0; font-size: 15px; color: var(--muted); }
.author-box .avatar { flex: none; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 40px; }
.post-nav__link { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--navy); min-width: 0; }
.post-nav__link span { font-size: 13px; color: var(--muted); }
.post-nav__link strong { font-size: 15px; line-height: 1.4; }
.post-nav__link:hover { border-color: var(--blue); color: var(--blue-d); }
.post-nav__link--next { text-align: right; grid-column: 2; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav__link--next { grid-column: auto; } }

.related { margin-bottom: 40px; }
.related__title { font-size: 24px; margin-bottom: 18px; }
.layout .related .post-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }

.comments { margin-top: 12px; }
.comments__title, .comment-reply-title { font-size: 22px; }
.comment-list { list-style: none; margin: 0 0 24px; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); }
.comment-author .says { display: none; }
.comment-metadata { font-size: 13px; margin: 4px 0 8px; }
.comment-metadata a { color: var(--muted); }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }

/* ==========================================================================
   Order page
   ========================================================================== */
.page-hero--order { padding-bottom: 28px; margin-bottom: 28px; }
.order-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; flex-wrap: wrap; }
.order-hero > div { flex: 1 1 560px; min-width: 0; }
.badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; max-width: 460px; }
.badges li { display: flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; font-size: 12px; color: var(--muted); }
.badges li .mhas-ico { color: var(--green); }
.badges strong { display: block; color: var(--navy); font-size: 13px; }
.order-intro { margin-bottom: 24px; }

.order { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; padding-bottom: 40px; }
.order__main { display: grid; gap: 22px; min-width: 0; }
.order__side { display: grid; gap: 16px; position: sticky; top: 96px; min-width: 0; }
@media (max-width: 1060px) { .order { grid-template-columns: 1fr; } .order__side { position: static; } }

fieldset.ostep { margin: 0; min-width: 0; padding: 26px; }
.ostep__head { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 0; margin: 0 0 20px; float: left; }
.ostep__head + * { clear: both; }
.ostep__num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; flex: none; font-family: var(--font-head); }
.ostep__title { flex: 1; min-width: 0; }
.ostep__title strong { display: block; font-family: var(--font-head); font-size: 19px; color: var(--navy); line-height: 1.3; }
.ostep__title em { display: block; font-style: normal; font-size: 14px; color: var(--muted); }
.ostep__head .tag { margin-top: 4px; }
@media (max-width: 600px) { fieldset.ostep { padding: 20px 16px; } .ostep__head { flex-wrap: wrap; } .ostep__title { flex: 1 1 calc(100% - 46px); } .ostep__head .tag { margin-left: 46px; margin-top: 0; } }
.ostep__foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin: 16px 0 0; padding: 12px 14px; background: #f8fafc; border-radius: 10px; font-size: 13px; }
.ostep__foot span { display: inline-flex; gap: 6px; align-items: center; color: var(--ink); }
.ostep__foot span .mhas-ico { color: var(--green); }
.ostep__foot em { font-style: normal; color: var(--blue-d); font-weight: 600; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 12px; background: #f1f5f9; margin-bottom: 18px; }
.segmented__opt { position: relative; min-width: 0; }
.segmented__opt input { position: absolute; opacity: 0; inset: 0; }
.segmented__opt span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 12px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; text-align: center; height: 100%; }
.segmented__opt input:checked + span { background: #fff; color: var(--blue-d); box-shadow: var(--shadow-sm); outline: 1px solid var(--blue-100); }
.segmented__opt input:focus-visible + span { outline: 3px solid rgba(37, 99, 235, .45); }
@media (max-width: 520px) { .segmented { grid-template-columns: 1fr; } }

.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 28px 18px; border: 2px dashed var(--line-2); border-radius: 14px; background: #f8fafc; cursor: pointer; margin-bottom: 16px; transition: .15s; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--blue); background: var(--blue-50); }
.dropzone.has-file { border-style: solid; border-color: var(--green); background: var(--green-50); }
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #fff; color: var(--blue); border: 1px solid var(--line); }
.dropzone__title { color: var(--navy); }
.dropzone__hint { font-size: 13px; color: var(--muted); }
.dropzone__file { font-size: 14px; font-weight: 600; color: var(--green-d); overflow-wrap: anywhere; }
.dropzone .btn { margin-top: 6px; pointer-events: none; }

.chip-radios { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip-radio { position: relative; }
.chip-radio input { position: absolute; opacity: 0; inset: 0; }
.chip-radio span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; }
.chip-radio span:hover { border-color: var(--blue-100); }
.chip-radio input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip-radio input:focus-visible + span { outline: 3px solid rgba(37, 99, 235, .45); outline-offset: 2px; }

.tier-radios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; padding-top: 12px; }
@media (max-width: 760px) { .tier-radios { grid-template-columns: 1fr; } }
.tier-radio { position: relative; display: flex; min-width: 0; }
.tier-radio input { position: absolute; opacity: 0; inset: 0; }
.tier-radio__box { position: relative; display: flex; flex-direction: column; width: 100%; padding: 18px 16px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: .15s; }
.tier-radio__box:hover { border-color: var(--blue-100); }
.tier-radio input:checked + .tier-radio__box { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); background: linear-gradient(180deg, #fff, #f8fbff); }
.tier-radio input:focus-visible + .tier-radio__box { outline: 3px solid rgba(37, 99, 235, .45); outline-offset: 2px; }
.tier-radio__ribbon { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.tier-radio__check { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); color: transparent; }
.tier-radio input:checked + .tier-radio__box .tier-radio__check { background: var(--blue); border-color: var(--blue); color: #fff; }
.tier-radio__tag { align-self: flex-start; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--blue-d); background: var(--blue-50); padding: 2px 8px; border-radius: 999px; margin-bottom: 8px; }
.tier-radio--popular .tier-radio__tag { background: var(--green-50); color: var(--green-d); }
.tier-radio__da { font-family: var(--font-head); font-size: 22px; color: var(--navy); line-height: 1.2; margin-bottom: 6px; }
.tier-radio__text { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.tier-radio__list { display: grid; gap: 6px; font-size: 13px; color: var(--ink); margin-bottom: 14px; flex: 1; }
.tier-radio__list span { display: flex; gap: 6px; align-items: flex-start; }
.tier-radio__list .mhas-ico { color: var(--green); margin-top: 3px; }
.tier-radio__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 6px; border-top: 1px solid #f1f5f9; padding-top: 12px; }
.tier-radio__price strong { font-family: var(--font-head); font-size: 26px; color: var(--navy); }
.tier-radio input:checked + .tier-radio__box .tier-radio__price strong { color: var(--blue-d); }
.tier-radio__price small { color: var(--muted); }
.tier-radio__price em { font-style: normal; font-size: 12px; color: var(--muted); margin-left: auto; }

.link-box { border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 16px; background: #fcfdff; transition: opacity .15s; }
.link-box.is-disabled { opacity: .6; }
.link-box__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; font-weight: 600; color: var(--navy); font-size: 14px; }
.link-box__head > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.dot-num { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; }

.phone { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 8px; }
@media (max-width: 400px) { .phone { grid-template-columns: 112px minmax(0, 1fr); } }

.summary { padding: 22px; }
.summary__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.summary__head h2 { display: flex; align-items: center; gap: 8px; font-size: 19px; margin: 0; }
.summary__head h2 .mhas-ico { color: var(--blue); }
.summary__rows { margin: 0 0 16px; display: grid; }
.summary__rows > div { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.summary__rows dt { color: var(--muted); min-width: 0; }
.summary__rows dt span { color: var(--ink); font-weight: 600; }
.summary__rows dt small { display: block; font-size: 12px; }
.summary__rows dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink); }
.summary__total { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; border-radius: 14px; background: var(--tint); border: 1px solid #e3eaf8; margin-bottom: 16px; }
.summary__total strong { display: block; color: var(--navy); }
.summary__total small { font-size: 12px; color: var(--muted); }
.summary__amount { text-align: right; }
.summary__amount span { display: block; font-family: var(--font-head); font-weight: 700; font-size: 34px; color: var(--blue-d); line-height: 1.1; }
.summary .btn + .btn { margin-top: 10px; }
.summary__note { display: flex; gap: 6px; font-size: 12px; color: var(--muted); margin: 12px 0 16px; }
.summary__note .mhas-ico { margin-top: 2px; }
.guarantees { list-style: none; margin: 0 0 16px; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 13px; color: var(--muted); }
.guarantees li { display: flex; gap: 10px; }
.guarantees .mhas-ico { color: var(--green); margin-top: 2px; }
.guarantees strong { color: var(--ink); }
.payments { border-top: 1px solid var(--line); padding-top: 14px; text-align: center; }
.payments p { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.payments ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.payments li { font-size: 12px; font-weight: 600; color: var(--ink); background: #f8fafc; border: 1px solid var(--line); padding: 4px 10px; border-radius: 8px; }
.desk { display: flex; gap: 12px; align-items: center; padding: 16px 18px; background: var(--blue-50); border-color: var(--blue-100); }
.desk p { margin: 0; font-size: 13px; color: var(--muted); }
.desk strong { color: var(--navy); }
.desk__icon { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff; flex: none; }
.desk__icon::after { content: ""; position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #22c55e; border: 2px solid #fff; }

.guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.guide-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; min-width: 0; }
.guide-card .icon-tile { margin-bottom: 14px; }
.guide-card h3 { font-size: 18px; margin-bottom: 8px; }
.guide-card p { font-size: 14px; color: var(--muted); flex: 1; }
.guide-card__foot { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 600; color: var(--green-d); border-top: 1px solid #f1f5f9; padding-top: 12px; }
@media (max-width: 1020px) { .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .guide-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.contact__cards { display: grid; gap: 16px; }
.contact-card h2 { font-size: 18px; margin: 12px 0 4px; }
.contact-card p { font-size: 14px; color: var(--muted); }
.contact-card .btn { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* 404 */
.notfound__code { font-family: var(--font-head); font-weight: 700; font-size: clamp(80px, 14vw, 140px); line-height: 1; margin: 0 0 10px; background: linear-gradient(135deg, var(--blue), #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound__search { max-width: 520px; margin: 24px auto; }
.chips-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }

/* Block widgets in the sidebar */
.widget .wp-block-search__label { display: block; font-family: var(--font-head); font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.widget .wp-block-search__inside-wrapper { display: flex; gap: 6px; }
.widget .wp-block-search__button { border: 0; border-radius: var(--radius-sm); background: var(--blue); color: #fff; padding: 0 14px; font-weight: 600; cursor: pointer; margin: 0; }
.widget .wp-block-latest-posts li, .widget .wp-block-categories li, .widget .wp-block-archives li { padding: 7px 0; border-bottom: 1px solid #f1f5f9; }
.widget .wp-block-latest-posts a, .widget .wp-block-categories a, .widget .wp-block-archives a { color: var(--ink); font-weight: 500; font-size: 14px; }
.widget .wp-block-latest-posts a:hover { color: var(--blue-d); }
.widget .wp-block-heading, .widget h2.wp-block-heading { font-size: 16px; margin: 0 0 12px; }
.widget .wp-block-group__inner-container > * + * { margin-top: 0; }

/* WordPress core classes */
.wp-caption { max-width: 100%; }
.sticky .pcard__title::before { content: "★ "; color: var(--amber); }
.bypostauthor > .comment-body .fn::after { content: " · Author"; color: var(--blue); font-size: 12px; }
.page-links { margin-top: 20px; font-weight: 600; }
.gallery-caption { font-size: 13px; }
