/*
Theme Name: HostLite
Theme URI: https://example.com/hostlite
Author: Reza
Description: قالب سبک، سریع و زیبای وردپرس مخصوص شرکت‌های هاستینگ و ثبت دامنه. راست‌چین (RTL)، بدون jQuery و کتابخانه سنگین، با صفحه اصلی کاملاً قابل تنظیم از Customizer (Hero، جستجوی دامنه، ویژگی‌ها، پلن‌ها، آمار، سوالات متداول، CTA و آخرین مطالب).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: hostlite
Tags: rtl-language-support, custom-logo, custom-menu, custom-colors, blog, one-column, two-columns, threaded-comments, translation-ready, featured-images
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--c-primary: #213368;
	--c-primary-d: #1b2a57;
	--c-accent: #26a9e0;
	--c-bg: #ffffff;
	--c-surface: #ffffff;
	--c-text: #0f172a;
	--c-muted: #64748b;
	--c-border: #e2e8f0;
	--c-dark: #0b1220;
	--c-blue: #0a84ff;
	--c-footer: #123456;
	--c-orange: #ff9f0a;
	--radius: 16px;
	--shadow: 0 18px 40px -22px rgba(15, 23, 42, .28);
	--container: 1160px;
	--font: Vazirmatn, "IRANSans", "Segoe UI", Tahoma, system-ui, -apple-system, sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.9;
	color: var(--c-text);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img, video { height: auto; }
a { color: var(--c-primary); text-decoration: none !important; transition: color .2s; }
a:hover { color: var(--c-primary-d); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; line-height: 1.5; font-weight: 800; }
p { margin: 0 0 1.1em; }
ul, ol { padding-inline-start: 1.4em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--c-primary) 55%, transparent); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.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 {
	position: absolute; inset-block-start: -60px; inset-inline-start: 12px; z-index: 999;
	background: var(--c-primary); color: #fff; padding: .5em 1em; border-radius: 8px;
}
.skip-link:focus { inset-block-start: 12px; color: #fff; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .7em 1.6em; border-radius: 999px; border: 2px solid transparent;
	font-weight: 700; line-height: 1.5; cursor: pointer; transition: all .2s; white-space: nowrap;
}
.btn-primary { background: var(--c-primary); color: #fff; box-shadow: 0 10px 22px -10px var(--c-primary); }
.btn-primary:hover { background: var(--c-primary-d); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--c-primary); }
.btn-light:hover { background: #f1f5f9; color: var(--c-primary-d); transform: translateY(-2px); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-ghost:hover { background: #fff; color: var(--c-primary); }
.btn-outline { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-block { width: 100%; }

/* ==========================================================================
   Top bar + Header + Mega menu
   ========================================================================== */
:root { --header-h: 39px; }

.topbar { background: var(--c-primary); height: 45px; }
.topbar .container { max-width: 1366px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 45px; padding: 4px 15px 0; }
.topbar .brand { display: flex; align-items: center; }
.topbar .brand .custom-logo { max-height: 33px; }
.topbar .brand-text { color: #fff; font-size: 1.15rem; }
.topbar .brand-text:hover { color: #d5dbf2; }
.topbar-actions { display: flex; align-items: center; gap: 5px; }
.tb-btn { display: flex; align-items: center; justify-content: center; height: 29px; border-radius: 4px; color: #fff !important; font-size: 13px; font-weight: 500; line-height: 1; transition: filter .2s, transform .2s; }
.tb-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.tb-user, .tb-support { width: 120px; }
.tb-user { background: #fcb813; }
.tb-support { background: var(--c-accent); }
.tb-cart { width: 28px; background: #2ccce0; }
.tb-cart svg { width: 18px; height: 18px; }
@media (max-width: 480px) { .tb-user, .tb-support { width: auto; padding-inline: 16px; } }

.site-header {
	position: sticky; inset-block-start: 0; z-index: 9990;
	background: var(--c-primary); border-top: 1px solid rgba(255, 255, 255, .08); transition: box-shadow .25s;
}
.site-header.is-stuck { box-shadow: 0 10px 30px -20px rgba(15, 23, 42, .7); }
.admin-bar .site-header { inset-block-start: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { inset-block-start: 46px; } }

.site-header .container { max-width: 1280px; }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand .custom-logo { max-height: 46px; width: auto; display: block; }
.brand-text { font-size: 1.45rem; font-weight: 900; color: var(--c-text); letter-spacing: -.3px; line-height: 1; }
.brand-text:hover { color: var(--c-primary); }
.site-header .brand-text { color: #fff; }

/* Primary nav */
.primary-nav { flex: 1; height: 100%; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav > ul { display: flex; align-items: stretch; gap: 6px; height: 100%; }
.primary-nav > ul > li { display: flex; align-items: center; }
.primary-nav a { color: var(--c-text); font-weight: 600; font-size: .95rem; line-height: 1.4; }
.primary-nav > ul > li > a { display: flex; align-items: center; gap: 9px; height: 100%; padding: 0 15px; border-radius: 0; color: #fff; font-size: .88rem; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s; }
.primary-nav > ul > li > a .mega-ico { display: inline-grid; place-items: center; flex: 0 0 auto; color: #fff; }
.primary-nav > ul > li > a .mega-ico svg { width: 20px; height: 20px; stroke-width: 1.8; }
.primary-nav > ul > li:hover > a,
.primary-nav > ul > li:focus-within > a,
.primary-nav > ul > li.current-menu-item > a,
.primary-nav > ul > li.current-menu-ancestor > a,
.primary-nav > ul > li.current_page_item > a { color: #fff; background: none; }
.primary-nav > ul > li.menu-item-has-children > a::after { display: none; }

/* Logged-in WHMCS user name (left end of the strip) */
.header-user { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; height: 100%; padding: 0 6px; color: #fff; font-size: .88rem; font-weight: 700; white-space: nowrap; }
.header-user[hidden] { display: none; }
.header-user:hover { color: #fff; opacity: .85; }
.header-user svg { width: 19px; height: 19px; }


/* Mega panel: full width minus 30px on each side, rounded card */
.mega {
	position: absolute; z-index: 1; inset-inline: 30px; inset-block-start: 100%; padding-top: 10px;
	background: transparent; border: 0; box-shadow: none;
	opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none;
	transition: opacity .2s .08s, transform .2s .08s, visibility 0s .3s;
}
.primary-nav li:hover > .mega,
.primary-nav li:focus-within > .mega,
.primary-nav li.is-open > .mega { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }

.site-header .mega .mega-inner {
	display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px;
	max-width: none; width: 100%; margin: 0; padding: 34px 44px 40px;
	background: #fff; border: 1px solid var(--c-border); border-radius: 24px;
	box-shadow: 0 40px 70px -30px rgba(15, 23, 42, .45);
}
.mega-list { display: grid; gap: 2px; align-content: start; padding-inline-end: 32px !important; border-inline-end: 1px solid var(--c-border); }
.mega-list a {
	display: flex; align-items: center; gap: 14px; justify-content: flex-start;
	padding: 13px 4px; background: none; border-radius: 0; font-weight: 700; font-size: .98rem; color: var(--c-text);
	transition: color .18s, padding .18s;
}
.mega-list a::after { content: "←"; margin-inline-start: auto; opacity: 0; transform: translateX(6px); transition: .18s; }
[dir="ltr"] .mega-list a::after { content: "→"; transform: translateX(-6px); }
.mega-list li.is-active > a, .mega-list a:hover { background: none; color: var(--c-primary); padding-inline-start: 10px; }
.mega-list li.is-active > a::after, .mega-list a:hover::after { opacity: 1; transform: none; }

.mega-panes { min-width: 0; }
.mega-pane { display: none; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; min-height: 250px; }
.mega-pane.is-active { display: grid; animation: hl-fade .3s ease; }
@keyframes hl-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mega-text h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: .5em; }
.mega-text p { color: var(--c-muted); line-height: 2; margin-bottom: 1.3em; }
.mega-more { display: inline-flex; align-items: center; gap: .5em; font-weight: 800; color: var(--c-primary); }
.mega-more:hover { gap: .9em; }
.mega-media { border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, #e0e7ff, #cffafe); }
.mega-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.mega-ph { aspect-ratio: 16 / 10; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--c-primary), var(--c-accent)); }
.mega-ph svg { width: 72px; height: 72px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }

/* Burger */
.nav-toggle { display: none; width: 38px; height: 34px; margin-block: 6px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 8px; background: transparent; cursor: pointer; padding: 0; align-items: center; justify-content: center; }
.nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: .25s; }
.nav-toggle span:first-child::before, .nav-toggle span:first-child::after { content: ""; position: absolute; inset-inline-start: 0; }
.nav-toggle span:first-child::before { inset-block-start: -6px; }
.nav-toggle span:first-child::after { inset-block-start: 6px; }
.nav-toggle[aria-expanded="true"] span:first-child { background: transparent; }
.nav-toggle[aria-expanded="true"] span:first-child::before { inset-block-start: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:first-child::after { inset-block-start: 0; transform: rotate(-45deg); }
.sub-toggle { display: none; }

@media (max-width: 1100px) { .mega-inner { grid-template-columns: 240px minmax(0, 1fr); gap: 28px; } .mega-pane { gap: 24px; } }

@media (max-width: 960px) {
	.header-inner { flex-wrap: wrap; gap: 0; height: auto; min-height: 46px; }
	.nav-toggle { display: inline-flex; margin-inline-start: auto; }
	.primary-nav { display: none; flex-basis: 100%; order: 3; height: auto; padding-bottom: 16px; }
	.primary-nav.is-open { display: block; }
	.primary-nav > ul { flex-direction: column; align-items: stretch; height: auto; gap: 2px; }
	.primary-nav > ul > li { flex-wrap: wrap; }
	.primary-nav > ul > li > a { flex: 1; height: auto; padding: .8em 1em; font-size: .95rem; }
	.primary-nav > ul > li.menu-item-has-children > a::after { display: none; }
	.sub-toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; }
	.sub-toggle::before { content: ""; width: .5em; height: .5em; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
	li.is-open > .sub-toggle::before { transform: rotate(225deg); }
	.mega { position: static; inset-inline: auto; padding-top: 0; flex-basis: 100%; display: none; opacity: 1; visibility: visible; transform: none; pointer-events: auto; box-shadow: none; border: 0; background: transparent; }
	.primary-nav li:hover > .mega, .primary-nav li:focus-within > .mega { display: none; }
	.primary-nav li.is-open > .mega { display: block; }
	.site-header .mega .mega-inner { display: block; padding: 0 10px 8px; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
	.mega-list { border: 0; padding: 0 !important; }
	.mega-list a { padding: 11px 8px; font-weight: 600; color: #e2e8f0; }
	.mega-list li.is-active > a, .mega-list a:hover { padding-inline-start: 8px; color: #fff; }
	.header-user { height: 46px; margin-inline-start: auto; }
	.mega-list a::after { display: none; }
	.mega-panes { display: none; }
}

/* ==========================================================================
   Hero + domain card
   ========================================================================== */
.hero { position: relative; z-index: 0; isolation: isolate; background: var(--hero-bg, var(--c-primary)); padding: 0 0 80px; overflow: hidden; }
.hero-cols { display: grid; grid-template-columns: repeat(var(--hero-cols, 1), minmax(0, 1fr)); gap: 0; height: var(--hero-h, 420px); }
.hero-col { position: relative; z-index: 0; isolation: isolate; min-width: 0; height: 100%; overflow: hidden; background: var(--hero-bg, var(--c-primary)); }
.hero-col > * { height: 100%; margin: 0; }
.hero-col img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Cyclone Slider: fill the column exactly */
.hero-col .cycloneslider, .hero-col .cycloneslider-slides, .hero-col .cycle-slideshow { width: 100% !important; max-width: none !important; height: 100% !important; margin: 0 !important; }
.hero-col .cycloneslider-slide { width: 100% !important; height: 100% !important; }
@media (max-width: 960px) {
	.hero-cols { grid-template-columns: 1fr; height: auto; }
	.hero-col { height: min(var(--hero-h, 420px), 62vw); }
}

.domain-card {
	position: relative; z-index: 3; max-width: 700px; margin: -64px auto 0; padding: 22px 28px 28px;
	border-radius: 22px; background: linear-gradient(135deg, #10224a, #1f3b6e);
	box-shadow: 0 34px 60px -24px rgba(15, 23, 42, .65);
}
.domain-card input[type="text"] {
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); color: #fff; border-radius: 10px;
	padding: .8em 1em; text-align: left; letter-spacing: .3px;
}
.domain-card input::placeholder { color: rgba(255, 255, 255, .55); }
.domain-card input:focus { border-color: var(--c-accent); box-shadow: 0 0 0 4px rgba(38, 169, 224, .2); }
.domain-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.domain-card .domain-actions button {
	background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(255, 255, 255, .25); border-radius: 10px;
	padding: .75em .5em; font-weight: 800; font-size: .92rem; cursor: pointer; transition: background .2s, border-color .2s, transform .2s;
}
.domain-card .domain-actions button { position: relative; }
.domain-actions .loader { display: none; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: hl-spin .7s linear infinite; }
.domain-actions button.hl-busy { pointer-events: none; }
.domain-actions button.hl-busy .button-text { opacity: 0; }
.domain-actions button.hl-busy .loader { display: block; }
@keyframes hl-spin { to { transform: rotate(360deg); } }
.domain-card .domain-actions button:hover { background: var(--c-accent); border-color: var(--c-accent); transform: translateY(-2px); }

/* ==========================================================================
   Intro
   ========================================================================== */
.intro { padding: 56px 0 28px; }
.intro-inner { display: flex; align-items: center; gap: 56px; max-width: 1000px; }
.intro-badge { flex: 0 0 160px; width: 160px; height: 160px; border-radius: 50%; background: #00a2ed; color: #fff; display: grid; place-items: center; overflow: hidden; }
.intro-badge svg { width: 78px; height: 78px; stroke-width: 1.6; }
.intro-badge img { width: 100%; height: 100%; object-fit: cover; }
.intro-body { flex: 1; min-width: 0; }
.intro-body h2 { font-size: 1.35rem; color: #4a4a4a; line-height: 1.9; margin-bottom: .5em; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 30px; }
.check-list li { display: flex; align-items: center; gap: 10px; color: #5b8def; font-size: .95rem; }
.check-list svg { flex: 0 0 18px; width: 18px; height: 18px; stroke: #3fb27f; stroke-width: 3; }

.ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   Service + plan cards
   ========================================================================== */
.panel-soft { background: #fafcfc; border-radius: 48px; margin: 24px auto 0; max-width: 1280px; padding: 56px 0 64px; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1130px; margin-inline: auto; }
.card-grid + .card-grid { margin-top: 72px; }

.card-icon { width: 80px; height: 80px; border-radius: 22px; background: #dff3fb; color: var(--c-accent); display: grid; place-items: center; margin: 0 auto 22px; overflow: hidden; }
.card-icon svg { width: 38px; height: 38px; }
.card-icon img { width: 100%; height: 100%; object-fit: cover; }
.card-icon.small { width: 60px; height: 60px; border-radius: 16px; margin-bottom: 16px; }
.card-icon.small svg { width: 28px; height: 28px; }

.service-card, .plan-card { display: flex; flex-direction: column; text-align: center; background: #fcfdfd; border-radius: 20px; padding: 26px 22px 22px; }
.service-card { border: 1px solid var(--c-blue); transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px var(--c-blue); }
.plan-card { box-shadow: 0 18px 44px -22px rgba(15, 23, 42, .35); transition: transform .25s; }
.plan-card:hover { transform: translateY(-4px); }
.service-card h3, .plan-card h3 { font-size: 1.02rem; font-weight: 800; color: var(--c-primary); margin-bottom: .9em; }
.service-card p { flex: 1; color: #334155; font-size: .93rem; line-height: 1.9; margin-bottom: 20px; }
.plan-lines { flex: 1; display: grid; gap: 2px; color: #334155; font-size: .95rem; line-height: 1.8; margin-bottom: 18px; align-content: start; }
.plan-price { margin-bottom: 14px; }
.plan-price strong { display: block; color: #8a919c; font-weight: 400; font-size: .95rem; }
.plan-price small { color: #8a919c; font-size: .8rem; }
.btn-order { display: block; background: #f1f2f4; color: #333; border-radius: 12px; padding: .85em 1em; font-size: .9rem; text-align: center; transition: background .2s, color .2s; }
.btn-order:hover { background: var(--c-primary); color: #fff; }






















/* =====================================
   DOMAIN PRICING - COMPLETE CSS
===================================== */

/* Main Section */
.dp-section {
    padding: 25px 0;
}

.dp-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.dp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.dp-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.dp-description {
    margin: 6px 0 0;
    color: #777;
    font-size: 14px;
}

/* Search */
.dp-search-input {
    width: 280px;
    max-width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
}

.dp-search-icon {
    display: none;
}

/* Table */
.dp-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 14px;
    line-height: 1.4;
}

.dp-table th {
    background: #f5f5f5;
    padding: 12px 10px;
    text-align: center;
    font-weight: 700;
    vertical-align: middle;
}

.dp-table td {
    padding: 7px 10px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
    line-height: 1.3;
    background: #fff;
}

/* Alternate Rows */
.dp-table tbody tr:nth-child(even) td {
    background: #fdfcfc;
}

.dp-table tbody tr:hover td {
    background: #f5f5f5;
}

/* Domain Information */
.dp-extension,
.dp-register,
.dp-renew,
.dp-transfer,
.dp-registrar {
    font-size: 14px;
    font-weight: 500;
}

/* Price Wrapper */
.dp-price {
    display: inline-block;
    max-width: 100%;
    margin: 0;
    padding: 0;
    line-height: 1.3;
    vertical-align: middle;
}

/* Price Text */
.whmcs-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;

    font-size: 13px !important;
    font-weight: 600;
    line-height: 1.3 !important;

    padding: 5px 9px !important;
    margin: 0 !important;

    min-height: 27px;
    max-width: 100%;

    border: 1px solid #91a5df;
    border-radius: 5px;

    white-space: nowrap;
}

/* Empty Results */
.dp-empty,
.dp-no-result {
    text-align: center;
    padding: 30px 15px;
    color: #777;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .dp-section {
        padding: 15px 0;
    }

    .dp-header {
        display: block;
    }

    .dp-title {
        font-size: 20px;
    }

    .dp-search-input {
        width: 100%;
        margin-top: 15px;
    }

    .dp-table {
        font-size: 12px;
    }

    .dp-table th {
        padding: 9px 5px;
        font-size: 12px;
    }

    .dp-table td {
        padding: 6px 4px;
    }

    .dp-extension,
    .dp-register,
    .dp-renew,
    .dp-transfer,
    .dp-registrar {
        font-size: 12px;
    }

    .whmcs-price {
        font-size: 11px !important;
        padding: 4px 5px !important;
        min-height: 24px;
    }
}

/* =====================================
   END DOMAIN PRICING CSS
===================================== */
















/* ==========================================================================
   Network map
   ========================================================================== */
.network { padding: 88px 0 70px; }
.network-head { max-width: 1184px; margin: 0 auto 28px; }
.network-head small { display: block; color: #8a919c; font-size: .85rem; }
.network-head h2 { font-size: 1.6rem; color: #3d4a5c; margin: .1em 0 .2em; }
.network-head p { color: #8a95a8; margin: 0; font-size: .92rem; }
.network-map { max-width: 1184px; margin-inline: auto; background: #10161d; border-radius: 10px; overflow: hidden; }
.network-map svg { display: block; width: 100%; height: auto; }
.net-grid { stroke: #1a222c; stroke-width: 1; }
.net-link { fill: none; stroke: #2b6cd6; stroke-width: 1.4; stroke-dasharray: 5 5; animation: hl-dash 24s linear infinite; }
@keyframes hl-dash { to { stroke-dashoffset: -400; } }
.net-node { fill: #3b82f6; }
.net-node.is-hub { fill: #1f5d4a; }
.net-pulse { fill: none; stroke: #2f8f6f; stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: hl-pulse 2.4s ease-out infinite; }
@keyframes hl-pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.net-label { fill: #fff; font-family: var(--font); font-size: 15px; font-weight: 700; }
.net-ms { fill: #8b95a3; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; }

/* ==========================================================================
   FAQ + Knowledge base
   ========================================================================== */
.help { padding: 20px 0 70px; }
.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; max-width: 1160px; }
.help-grid > :only-child { grid-column: 1 / -1; width: 100%; max-width: 700px; margin-inline: auto; }
.help-card { background: #fff; border-radius: 24px; padding: 22px 20px 24px; box-shadow: 0 24px 54px -22px rgba(15, 23, 42, .45); }
.help-card.kb { background: #f6f7fb; }
.help-card h2 { font-size: 1.2rem; color: #1a35d8; margin: 0 0 1em; }

.faq-item { margin-bottom: 11px; }
.faq-item summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
	background: var(--c-footer); color: #fff; border-radius: 10px; padding: 13px 18px; font-weight: 700; font-size: .92rem; line-height: 1.7;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: ""; flex: 0 0 auto; border-style: solid; border-width: 5px 0 5px 7px; border-color: transparent transparent transparent #fff; transition: transform .2s; }
.faq-item[open] summary::before { transform: rotate(90deg); }
.faq-item .faq-a { margin-top: 6px; background: #eef2f7; border-radius: 10px; padding: 14px 18px; color: #475569; font-size: .92rem; }

.kb-post { background: #fff; border-radius: 14px; padding: 16px 18px 18px; margin-bottom: 14px; }
.kb-post h3 { font-size: 1rem; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid #e8ebf0; }
.kb-post h3 a { color: #0b5a2e; }
.kb-post h3 a:hover { color: var(--c-primary); }
.kb-body { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: start; }
.kb-body.no-thumb { grid-template-columns: 1fr; }
.kb-thumb img { width: 110px; height: 90px; object-fit: cover; border-radius: 8px; display: block; }
.kb-text { display: flex; flex-direction: column; gap: 10px; min-height: 90px; }
.kb-text p { margin: 0; color: #8a919c; font-size: .85rem; line-height: 1.9; }
.kb-more { align-self: flex-end; background: #e1e2e4; color: #4b79b3; border-radius: 6px; padding: .35em 1.2em; font-size: .8rem; }
.kb-more:hover { background: var(--c-primary); color: #fff; }

@media (max-width: 960px) {
	.card-grid { grid-template-columns: repeat(2, 1fr); }
	.help-grid { grid-template-columns: 1fr; }
	.intro-inner { flex-direction: column; text-align: center; gap: 28px; }
	.check-list { text-align: start; }
}
@media (max-width: 600px) {
	.card-grid { grid-template-columns: 1fr; }
	.check-list { grid-template-columns: 1fr; }
	.domain-actions { grid-template-columns: 1fr; }
	.panel-soft { border-radius: 28px; }
	.kb-body { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Blog / Archive
   ========================================================================== */
.page-hero { background: var(--c-primary); color: #fff; padding: 54px 0 62px; text-align: center; }
.page-hero h1 { font-size: clamp(1.5rem, 3.5vw, 2.3rem); margin: 0; }
.page-hero .archive-desc { opacity: .9; margin: 10px auto 0; max-width: 620px; }
.site-main { padding-bottom: 70px; }
.layout { display: grid; gap: 36px; margin-top: 44px; grid-template-columns: minmax(0, 1fr); }
.layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 320px; }
@media (max-width: 960px) { .layout.has-sidebar { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .section { padding: 60px 0; } }
@media (max-width: 640px) { .section { padding: 60px 0; } }

.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #e0e7ff, #cffafe); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; display: block; }
.card:hover .card-thumb img { transform: scale(1.05); }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1.08rem; margin: 6px 0 8px; }
.card-title a { color: var(--c-text); }
.card-title a:hover { color: var(--c-primary); }
.excerpt { color: var(--c-muted); font-size: .92rem; flex: 1; }
.excerpt p { margin: 0 0 .8em; }
.read-more { font-weight: 700; font-size: .9rem; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--c-muted); font-size: .82rem; }
.meta a { color: var(--c-primary); font-weight: 600; }

/* Pagination */
.pagination, .navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { min-width: 42px; height: 42px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--c-border); color: var(--c-text); font-weight: 700; }
.page-numbers:hover { border-color: var(--c-primary); color: var(--c-primary); }
.page-numbers.current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.page-numbers.dots { border: 0; background: transparent; }

/* ==========================================================================
   Single / Page content
   ========================================================================== */
.entry { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); }
.entry-thumb { margin: -8px 0 28px; border-radius: 14px; overflow: hidden; }
.entry-thumb img { width: 100%; display: block; }
.entry-title { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin-bottom: .3em; }
.entry .meta { margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--c-border); }
.entry-content { font-size: 1.04rem; overflow-wrap: anywhere; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { font-size: 1.5rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.25rem; margin-top: 1.4em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote { margin: 1.6em 0; padding: 16px 22px; border-inline-start: 4px solid var(--c-primary); background: color-mix(in srgb, var(--c-primary) 6%, #fff); border-radius: 12px; color: #334155; }
.entry-content blockquote p:last-child { margin: 0; }
.entry-content pre { direction: ltr; text-align: left; background: #0f172a; color: #e2e8f0; padding: 18px 20px; border-radius: 14px; overflow: auto; font-size: .9rem; line-height: 1.7; }
.entry-content code { direction: ltr; unicode-bidi: embed; background: #eef2ff; color: #4338ca; padding: .1em .45em; border-radius: 6px; font-size: .9em; }
.entry-content pre code { background: transparent; color: inherit; padding: 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--c-border); padding: 10px 14px; text-align: start; }
.entry-content th { background: #f1f5f9; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide { max-width: 100%; }
.wp-caption, .wp-block-image figure { max-width: 100%; }
.wp-caption-text, figcaption { color: var(--c-muted); font-size: .85rem; text-align: center; margin-top: 6px; }
.page-links, .tags-links { margin-top: 26px; font-size: .9rem; }
.tags-links a { display: inline-block; background: #eef2ff; border-radius: 999px; padding: .1em .9em; margin: 0 0 6px 6px; font-size: .85rem; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.post-nav a { display: block; background: #fff; border: 1px solid var(--c-border); border-radius: 14px; padding: 14px 18px; color: var(--c-text); font-weight: 700; font-size: .95rem; }
.post-nav a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.post-nav small { display: block; color: var(--c-muted); font-weight: 500; }
.post-nav .next { text-align: end; }
.template-fullwidth .entry-content { max-width: none; }

/* ==========================================================================
   Comments
   ========================================================================== */
.comments-area { margin-top: 32px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: clamp(20px, 3vw, 34px); }
.comments-title, .comment-reply-title { font-size: 1.25rem; }
.comment-list { list-style: none; margin: 0 0 24px; padding: 0; }
.comment-list .children { list-style: none; padding-inline-start: 24px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--c-border); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .85rem; color: var(--c-muted); }
.comment-author .avatar { border-radius: 50%; vertical-align: middle; margin-inline-end: 8px; }
.comment-author .fn { font-weight: 800; color: var(--c-text); font-style: normal; }
.reply a { font-size: .85rem; font-weight: 700; }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }

/* ==========================================================================
   Forms + Widgets
   ========================================================================== */
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], textarea, select {
	width: 100%; padding: .7em 1em; border: 1px solid var(--c-border); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { border-color: var(--c-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-primary) 15%, transparent); outline: 0; }
input[type="submit"], button[type="submit"], .wp-block-button__link {
	display: inline-block; background: var(--c-primary); color: #fff; border: 0; border-radius: 999px; padding: .7em 1.8em; font-weight: 700; cursor: pointer; transition: .2s;
}
input[type="submit"]:hover, button[type="submit"]:hover, .wp-block-button__link:hover { background: var(--c-primary-d); color: #fff; }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; margin: 0; }
.search-form .search-submit { padding-inline: 1.3em; }

.widget { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; }
.widget-title { font-size: 1.05rem; margin-bottom: .9em; padding-bottom: .6em; border-bottom: 2px solid var(--c-border); position: relative; }
.widget-title::after { content: ""; position: absolute; inset-block-end: -2px; inset-inline-start: 0; width: 46px; height: 2px; background: var(--c-primary); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: .4em 0; border-bottom: 1px dashed var(--c-border); font-size: .94rem; }
.widget li:last-child { border: 0; }
.widget a { color: var(--c-text); }
.widget a:hover { color: var(--c-primary); }

/* 404 + empty */
.not-found { text-align: center; padding: 70px 20px; }
.not-found .code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 900; line-height: 1.1; background: linear-gradient(135deg, var(--c-primary), var(--c-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.not-found .search-form { max-width: 440px; margin: 22px auto 0; }

/* ==========================================================================
   Login popup
   ========================================================================== */
.login-dialog { border: 0; padding: 0; background: transparent; width: min(420px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: visible; color: var(--c-text); }
.login-dialog::backdrop { background: rgba(15, 23, 42, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.login-dialog[open] { animation: hl-pop .22s ease; }
@keyframes hl-pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.login-box { position: relative; background: #fff; border-radius: 22px; padding: 38px 32px 28px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.login-close { position: absolute; inset-block-start: 12px; inset-inline-start: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f1f2f4; color: #475569; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0; }
.login-close:hover { background: var(--c-primary); color: #fff; }
.login-icon { width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 14px; background: #dff3fb; color: var(--c-accent); display: grid; place-items: center; }
.login-icon svg { width: 30px; height: 30px; }
.login-box h2 { text-align: center; font-size: 1.2rem; color: var(--c-primary); margin-bottom: 1.2em; }
.login-box input[type="text"], .login-box input[type="password"] { margin-bottom: 14px; padding: .8em 1em; border-radius: 12px; text-align: left; }
.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 3em !important; }
.pass-toggle { position: absolute; inset-block-start: 0; right: 6px; height: 46px; width: 40px; border: 0; background: transparent; color: #94a3b8; cursor: pointer; display: grid; place-items: center; padding: 0; }
.pass-toggle:hover { color: var(--c-primary); }
.pass-toggle svg { width: 20px; height: 20px; }
.login-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 18px; font-size: .85rem; }
.login-remember { display: flex; align-items: center; gap: 8px; margin: 0; color: #475569; cursor: pointer; }
.login-remember input { width: 16px; height: 16px; margin: 0; accent-color: var(--c-primary); }
.login-row a { color: var(--c-accent); font-weight: 700; }
.login-box .login-submit { position: relative; display: block; width: 100%; background: var(--c-primary); color: #fff; border: 0; border-radius: 12px; padding: .85em 1em; font-weight: 800; font-size: 1rem; cursor: pointer; transition: background .2s; }
.login-box .login-submit:hover { background: var(--c-primary-d); }
.login-submit .loader { display: none; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: hl-spin .7s linear infinite; }
.login-submit.hl-busy { pointer-events: none; }
.login-submit.hl-busy .button-text { opacity: 0; }
.login-submit.hl-busy .loader { display: block; }
.login-register { text-align: center; margin: 18px 0 0; font-size: .9rem; color: #64748b; }
.login-register a { color: var(--c-accent); font-weight: 800; }

/* ==========================================================================
   Footer

.site-footer { background: var(--c-footer); color: #cfd6e4; font-size: .9rem; border-top: 3px solid #2e8b3f; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.35fr; gap: 36px; padding-block: 44px 30px; align-items: start; }
.footer-title, .site-footer .widget-title { display: inline-block; color: #fff; font-size: .9rem; font-weight: 800; margin: 0 0 20px; padding: 0 0 8px; border: 0; border-bottom: 2px solid var(--c-orange); }
.site-footer .widget-title::after { display: none; }
.site-footer .widget { background: transparent; border: 0; padding: 0; margin: 0; }
.footer-menu, .site-footer .widget ul { list-style: none; margin: 0; padding: 0; }
.footer-menu li, .site-footer .widget li { padding: .42em 0; border: 0; }
.site-footer a, .site-footer .widget a { color: #cfd6e4; font-size: .88rem; }
.site-footer a:hover, .site-footer .widget a:hover { color: #fff; }

.footer-contact { background: #1b2b58; border-radius: 14px; padding: 4px 18px; }
.contact-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; }
.contact-row + .contact-row { border-top: 1px solid rgba(255, 255, 255, .85); }
.contact-phone { color: #fff !important; font-size: 1rem !important; letter-spacing: .3px; }
.btn-ticket { display: inline-flex; align-items: center; gap: 8px; background: var(--c-orange); color: #fff !important; border-radius: 8px; padding: .55em 1.3em; font-weight: 700; font-size: .9rem !important; }
.btn-ticket:hover { filter: brightness(1.08); }
.btn-ticket svg { width: 17px; height: 17px; fill: #fff; stroke: none; }
.contact-row.social { justify-content: flex-start; gap: 18px; color: #cfd6e4; }
.social-links { display: flex; gap: 14px; margin-inline-start: auto; }
.social-links a { display: grid; place-items: center; color: #fff !important; }
.social-links svg { width: 21px; height: 21px; }

.footer-badges { display: flex; flex-wrap: wrap; gap: 14px; padding-block: 16px 22px; border-top: 1px solid rgba(148, 163, 184, .25); }
.footer-badges img { max-height: 110px; width: auto; border-radius: 10px; background: #1b2b58; padding: 6px; }
.footer-bottom { padding-block: 18px 22px; font-size: .86rem; color: #e2e8f0; border-top: 1px solid rgba(148, 163, 184, .2); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-contact { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .contact-row { flex-wrap: wrap; } }
   ========================================================================== */
/* WordPress core */
.sticky .card-title::before { content: "★ "; color: #f59e0b; }
.bypostauthor > .comment-body .fn::after { content: " ✦"; color: var(--c-primary); }
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.gallery-item { margin: 0; }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
	.topbar, .site-header, .site-footer, .sidebar, .comments-area, .post-nav { display: none !important; }
	.entry { border: 0; padding: 0; }
}

/* Blog list page template (template-blog.php) */
.post-list { display: grid; gap: 20px; }
.post-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; padding: 16px; background: #fff; border: 1px solid var(--c-blue); border-radius: 16px; }
.post-row-thumb { display: block; border-radius: 12px; overflow: hidden; background: #eef2f9; aspect-ratio: 16 / 10; }
.post-row-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-row-ph { display: grid; place-items: center; height: 100%; color: var(--c-primary); opacity: .35; }
.post-row-ph svg { width: 40px; height: 40px; }
.post-row-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.post-row-title { margin: 0; font-size: 1.1rem; line-height: 1.7; }
.post-row-title a { color: var(--c-primary); }
.post-row-excerpt { margin: 0; color: #5b6477; font-size: .92rem; line-height: 1.9; }
.post-row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: auto; font-size: .82rem; color: #6b7388; }
.post-row-meta a { color: inherit; }
.post-row-more { margin-inline-start: auto; font-weight: 700; color: var(--c-blue) !important; }
.post-list + .page-numbers, ul.page-numbers { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; list-style: none; margin: 36px 0 0; padding: 0; }
ul.page-numbers li a, ul.page-numbers li span { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--c-border); border-radius: 10px; background: #fff; color: var(--c-primary); }
ul.page-numbers li span.current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
@media (max-width: 640px) { .post-row { grid-template-columns: minmax(0, 1fr); } }

/* Sidebar menu */
.widget-sidebar-menu .sub-menu { padding-inline-start: 14px; margin-top: .3em; }
.widget-sidebar-menu li { position: relative; }
.widget-sidebar-menu .current-menu-item > a { color: var(--c-primary); font-weight: 700; }
