/*
Theme Name: VSTorrent Hub
Theme URI: https://vstorrent-hub.com
Author: VSTorrent Hub
Description: Fast, SEO optimized WordPress theme for VST plugins, DAW software, Kontakt libraries, sample packs and audio tools. Clean white intro-hd style layout: search band with category select, featured slider, category tabs, card grid with sidebar. Built-in Schema.org (SoftwareApplication, BreadcrumbList, WebSite search), Open Graph, release info meta box, download box with counter, ad slots and Customizer options. No jQuery, one CSS and one small JS file.
Version: 1.0.0
Requires at least: 6.0
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: vstorrent-hub
Tags: blog, news, grid-layout, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, sticky-post, threaded-comments
*/

:root {
	--bg: #ffffff;
	--band: #e9e9e9;
	--soft: #f7f7f7;
	--footer: #fafafa;
	--text: #212529;
	--title: #000000;
	--muted: #6c757d;
	--line: #e5e5e5;
	--tab: #ededed;
	--blue: #007bff;
	--blue-2: #2196f3;
	--blue-3: #1a73c8;
	--blue-bg: #e8f0fe;
	--shadow: 0 2px 4px rgba(0, 0, 0, .075);
	--font: 'Roboto', 'Segoe UI', Arial, sans-serif;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
[hidden] { display: none !important; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }

.container {
	max-width: 1170px;
	margin: 0 auto;
	padding-left: max(16px, env(safe-area-inset-left, 0px));
	padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ───────── HEADER ───────── */
.site-header {
	background: var(--bg);
	position: sticky; top: 0; z-index: 50;
	box-shadow: 0 1px 0 var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }
.header-in { display: flex; align-items: center; height: 62px; gap: 24px; position: relative; }
.logo, .custom-logo-link { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.custom-logo { max-height: 40px; width: auto; }
.logo-word { font-weight: 900; font-size: 19px; letter-spacing: .28em; color: #2b2f36; }
.logo-badge {
	background: linear-gradient(180deg, #3d9bff, #1769d6);
	color: #fff; font-weight: 900; font-size: 15px; letter-spacing: .02em;
	padding: 2px 6px; border-radius: 5px; line-height: 1.3;
}

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav > ul, .main-nav > div > ul { display: flex; gap: 2px; align-items: center; flex-wrap: wrap; justify-content: center; }
.main-nav li { position: relative; }
.main-nav > ul > li > a, .main-nav > div > ul > li > a {
	display: flex; align-items: center; gap: 5px;
	padding: 8px 9px; font-size: 14px; font-weight: 500; color: rgba(0, 0, 0, .85);
	white-space: nowrap;
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-category-ancestor > a { color: var(--blue); }
.caret {
	display: inline-block; width: 0; height: 0;
	border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: .7;
}
.main-nav .sub-menu, .main-nav .children {
	position: absolute; top: 100%; left: 0; min-width: 210px; z-index: 5;
	background: #fff; border-radius: 6px; padding: 6px 0;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: .15s;
	display: block;
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { display: block; padding: 7px 16px; font-size: 14px; color: var(--text); white-space: nowrap; }
.main-nav .sub-menu a:hover { background: var(--blue-bg); color: var(--blue); }

.burger {
	display: none; margin-left: auto;
	width: 46px; height: 40px; border: 1px solid #ddd; border-radius: 6px;
	background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.burger span { width: 24px; height: 3px; background: #999; border-radius: 3px; }

/* ───────── SEARCH BAND ───────── */
.search-band { background: var(--band); padding-block: 22px 18px; }
.tagline { text-align: center; font-size: 15px; font-weight: 500; color: #444; margin-bottom: 12px; text-wrap: balance; }
.tagline strong { color: var(--blue); font-weight: 700; }
.search-form {
	max-width: 700px; margin: 0 auto;
	display: flex; background: #fff; border-radius: 50px; overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}
.search-input { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 18px; min-width: 0; }
.search-input svg { flex-shrink: 0; color: #777; }
.search-input input {
	border: 0; outline: 0; font: inherit; font-size: 14px; width: 100%; padding: 13px 0; background: transparent; color: var(--text);
}
.search-input input::-webkit-search-cancel-button { cursor: pointer; }
.search-select { position: relative; background: var(--blue-2); color: #fff; display: flex; align-items: center; }
.search-select select {
	appearance: none; -webkit-appearance: none; border: 0; outline: 0; background: transparent; color: #fff;
	font: inherit; font-size: 14px; font-weight: 500; padding: 0 44px 0 22px; height: 100%; cursor: pointer; max-width: 200px;
}
.search-select select option { color: #000; }
.search-select::after {
	content: ""; position: absolute; right: 13px; top: 50%; width: 7px; height: 7px;
	border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.search-select::before { content: ""; position: absolute; right: 34px; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .35); }
.search-btn { border: 0; background: var(--blue-3); color: #fff; font: inherit; font-size: 14px; font-weight: 500; padding: 0 26px; cursor: pointer; }
.search-btn:hover { background: #155fa8; }
.trending { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 12px; margin-top: 14px; font-size: 15px; }
.trending b { font-weight: 900; color: #000; }
.trending a { color: #333; }
.trending a:hover { color: var(--blue); }

/* ───────── FEATURED CAROUSEL ───────── */
.featured {
	background-color: var(--soft);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23d9d9d9' stroke-width='2'%3E%3Cpath d='M30 20v22M24 26v10M36 26v10'/%3E%3Ccircle cx='110' cy='38' r='12'/%3E%3Cpath d='M106 34l8 4-8 4z'/%3E%3Cpath d='M58 110a10 10 0 1 0 20 0 10 10 0 1 0-20 0M68 100v-14l12-3'/%3E%3Crect x='118' y='104' width='18' height='14' rx='3'/%3E%3C/g%3E%3C/svg%3E");
	padding-block: 34px 28px;
}
.carousel { overflow: hidden; padding: 4px; margin: -4px; }
.track { display: flex; gap: 20px; transition: transform .45s ease; }
.track .card { flex: 0 0 calc((100% - 60px) / 4); }
.car-nav { display: flex; justify-content: center; gap: 14px; margin-top: 22px; }
.car-btn {
	width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
	background: #e3ebf8; color: var(--blue-3); display: flex; align-items: center; justify-content: center;
}
.car-btn:hover { background: var(--blue-2); color: #fff; }

/* ───────── CARD ───────── */
.card {
	background: #fff; border-radius: 4px; box-shadow: var(--shadow); overflow: hidden;
	min-width: 0; transition: box-shadow .15s, transform .15s;
}
.card:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .12); transform: translateY(-2px); }
.card-link { display: flex; flex-direction: column; height: 100%; }
.thumb {
	aspect-ratio: 259 / 159; max-width: 100%; position: relative; overflow: hidden; background: #e8eaef;
	display: flex; align-items: center; justify-content: center; text-align: center; color: #fff;
}
.thumb img, .thumb .thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb .t-main { font-weight: 900; font-size: var(--fs, 28px); line-height: 1.05; letter-spacing: -.01em; text-shadow: 0 2px 10px rgba(0, 0, 0, .25); padding: 0 12px; word-break: break-word; }
.thumb .t-sub { position: absolute; bottom: 8px; left: 0; right: 0; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 8px; }
.thumb .t-ico { position: absolute; top: 7px; right: 7px; display: flex; }
.card-body { padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 12px; }
.card-title {
	font-size: 15px; font-weight: 700; text-transform: uppercase; color: var(--title); line-height: 1.35;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card:hover .card-title { color: var(--blue); }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.cat { display: flex; align-items: center; gap: 7px; color: var(--blue); font-weight: 700; min-width: 0; }
.cat > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.date { display: flex; align-items: center; gap: 5px; color: #444; font-weight: 500; white-space: nowrap; }

.ico {
	min-width: 22px; height: 20px; padding: 0 3px; border-radius: 4px; flex-shrink: 0; font-style: normal;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 8.5px; font-weight: 900; letter-spacing: -.02em; line-height: 1;
}

/* ───────── ADS ───────── */
.ad {
	border: 1px dashed #cfd5df; background: #fbfcfe; border-radius: 6px; color: #9aa3b2;
	display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px;
	font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
}
.ad-wide { margin-block: 28px; }
.ad.ad-wide { min-height: 90px; }
.ad.ad-box { min-height: 250px; }
.ad-code { text-align: center; overflow: hidden; }

/* ───────── CATEGORY TABS ───────── */
.tabs-section { margin-top: 34px; }
.ad-wide + .tabs-section { margin-top: 0; }
.cat-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 30px; }
.cat-tabs button {
	border: 0; background: var(--tab); color: #444; font-size: 15px; font-weight: 500;
	min-height: 46px; padding: 6px 10px; border-radius: 4px; cursor: pointer; transition: .15s;
}
.cat-tabs button:hover { background: #e2e2e2; }
.cat-tabs button.active { background: var(--blue); color: #fff; font-weight: 700; }
.cat-tabs.tabs-6 button:nth-child(n+5), .cat-tabs.tabs-2 button { grid-column: span 2; }
.cat-tabs.tabs-5 button:nth-child(5) { grid-column: span 4; }
.cat-tabs.tabs-3 { grid-template-columns: repeat(3, 1fr); }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ───────── LATEST ───────── */
.site-main { padding-bottom: 10px; }
.sec-h { text-align: center; font-size: 38px; font-weight: 700; color: var(--text); margin: 48px 0 30px; letter-spacing: -.01em; text-wrap: balance; }
.latest-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; min-width: 0; align-content: start; }

/* ───────── SIDEBAR ───────── */
.side { background: #fff; box-shadow: var(--shadow); border-radius: 4px; padding: 18px; position: sticky; top: 80px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.admin-bar .side { top: 112px; }
.side-head { display: flex; justify-content: space-between; align-items: center; }
.side-head h3 { font-size: 17px; font-weight: 700; }
.pill { background: var(--blue); color: #fff; font-size: 13px; font-weight: 500; padding: 5px 16px; border-radius: 30px; }
.pill:hover { background: #0062cc; }
.side-list { display: flex; flex-direction: column; gap: 14px; }
.side-item { display: flex; gap: 12px; align-items: flex-start; }
.side-item .thumb { width: 92px; flex-shrink: 0; border-radius: 3px; aspect-ratio: 16 / 10; }
.side-item .thumb .t-main { font-size: 12px; line-height: 1.1; padding: 0 4px; }
.side-item .thumb .t-sub, .side-item .thumb .t-ico { display: none; }
.side-item h4 { margin: 0 0 6px; font-size: 13.5px; font-weight: 700; color: #111; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-item:hover h4 { color: var(--blue); }
.side-item .cat { font-size: 12.5px; }
.side-widgets { display: flex; flex-direction: column; gap: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.side .widget-title, .side .widget h2, .side .wp-block-heading { font-size: 16px; font-weight: 700; margin: 0 0 10px; color: #111; }
.side .widget ul { display: flex; flex-direction: column; gap: 8px; font-size: 14px; margin: 0; padding: 0; list-style: none; }
.side .widget a { color: #333; }
.side .widget a:hover { color: var(--blue); }
.side .wp-block-search__label { font-size: 16px; font-weight: 700; display: block; margin-bottom: 8px; }
.side .wp-block-search__inside-wrapper { display: flex; }
.side .wp-block-search__input { flex: 1; min-width: 0; border: 1px solid #d5d9e0; border-radius: 4px 0 0 4px; padding: 9px 12px; font: inherit; font-size: 14px; }
.side .wp-block-search__button { border: 0; background: var(--blue); color: #fff; border-radius: 0 4px 4px 0; padding: 0 16px; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; margin: 0; }
.side .wp-block-latest-comments { padding: 0; margin: 0; font-size: 14px; }

/* ───────── PAGINATION ───────── */
.pagination { grid-column: 1 / -1; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pagination .page-numbers {
	min-width: 36px; height: 36px; padding: 0 10px; display: flex; align-items: center; justify-content: center;
	border: 1px solid #dee2e6; border-radius: 4px; font-size: 14px; color: #555; background: #fff;
}
.pagination a.page-numbers:hover { background: #f1f4f8; }
.pagination .current { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination .dots { border-color: transparent; background: none; }

/* ───────── SEO TEXT ───────── */
.seo-block { margin-top: 56px; padding-block: 30px; border-top: 1px solid var(--line); color: #555; font-size: 14.5px; line-height: 1.75; }
.seo-block h2 { font-size: 20px; color: #222; margin-bottom: 10px; }
.seo-block p { max-width: 900px; margin-bottom: 10px; }

/* ───────── BREADCRUMB / ARCHIVE ───────── */
.breadcrumbs { font-size: 13px; color: var(--muted); margin: 18px 0 14px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; opacity: .6; }
.breadcrumbs a { color: var(--blue); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs li[aria-current] { color: #555; max-width: 60ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.archive-head { display: flex; align-items: center; gap: 14px; margin: 6px 0 18px; }
.archive-ico .ico { min-width: 44px; height: 44px; font-size: 14px; border-radius: 8px; }
.archive-title { font-size: 30px; font-weight: 700; color: var(--text); line-height: 1.2; text-wrap: balance; }
.archive-title .paged { font-weight: 400; color: var(--muted); font-size: .7em; }
.archive-count { font-size: 14px; color: var(--muted); margin-top: 2px; }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.subcats a { display: inline-flex; align-items: center; gap: 7px; background: var(--tab); padding: 7px 12px; border-radius: 4px; font-size: 14px; font-weight: 500; }
.subcats a:hover { background: var(--blue); color: #fff; }
.subcats small { color: var(--muted); }
.subcats a:hover small { color: #fff; }
.none-found { grid-column: 1 / -1; background: #fff; box-shadow: var(--shadow); padding: 30px; border-radius: 4px; }
.none-found h2 { font-size: 22px; margin-bottom: 8px; }

/* ───────── SINGLE ───────── */
.single-main { min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.entry { background: #fff; box-shadow: var(--shadow); border-radius: 4px; padding: 26px; }
.entry-title { font-size: 28px; font-weight: 700; line-height: 1.25; color: #111; text-wrap: balance; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 12px; font-size: 14px; }
.ver-pill, .size-pill { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 30px; background: var(--blue-bg); color: var(--blue-3); }
.size-pill { background: #eef7ee; color: #1a7a3a; }
.entry-media { margin-top: 20px; border-radius: 4px; overflow: hidden; }
.entry-media .thumb { aspect-ratio: 16 / 9; }
.entry-media .thumb .t-main { font-size: calc(var(--fs, 28px) * 1.8); }
.entry-media .thumb .t-sub { font-size: 13px; bottom: 16px; }
.entry .ad-wide { margin-block: 22px; }
.info-table { margin-top: 22px; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.info-table h2 { font-size: 16px; font-weight: 700; padding: 12px 16px; background: var(--soft); border-bottom: 1px solid var(--line); }
.info-table dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.info-table dl > div { display: flex; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.info-table dl > div:nth-child(odd) { border-right: 1px solid var(--line); }
.info-table dt { color: var(--muted); min-width: 92px; }
.info-table dd { margin: 0; font-weight: 600; color: #111; min-width: 0; overflow-wrap: anywhere; }
.info-table dd a { color: var(--blue); }

.entry-content { margin-top: 22px; font-size: 16px; line-height: 1.75; color: #333; overflow-wrap: break-word; }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { font-size: 22px; color: #111; margin-top: 1.4em; }
.entry-content h3 { font-size: 18px; color: #111; margin-top: 1.3em; }
.entry-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: .3em; }
.entry-content img { border-radius: 4px; }
.entry-content blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 4px solid var(--blue); background: var(--soft); }
.entry-content pre { background: #f4f5f7; padding: 14px; border-radius: 4px; overflow-x: auto; font-size: 14px; }
.entry-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.entry-content iframe, .entry-content video { max-width: 100%; }
.req { margin-top: 24px; }
.req h2 { font-size: 18px; margin-bottom: 10px; }
.req ul { display: grid; gap: 6px; }
.req li { padding-left: 22px; position: relative; font-size: 15px; }
.req li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-2); }

.dl-box { margin-top: 26px; background: linear-gradient(180deg, #f3f8ff, #eaf2ff); border: 1px solid #d5e5ff; border-radius: 6px; padding: 22px; text-align: center; }
.dl-box h2 { font-size: 19px; color: #111; margin-bottom: 16px; text-wrap: balance; }
.dl-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.dl-btn, .comment-form .submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: #fff; color: var(--blue-3); border: 1px solid #bcd5fb; border-radius: 4px;
	padding: 11px 22px; font-size: 15px; font-weight: 700; cursor: pointer;
}
.dl-btn:hover { border-color: var(--blue); }
.dl-btn.primary, .comment-form .submit { background: var(--blue); border-color: var(--blue); color: #fff; }
.dl-btn.primary:hover, .comment-form .submit:hover { background: #0062cc; }
.dl-pass { margin-top: 14px; font-size: 14px; }
.dl-pass code { background: #fff; border: 1px solid #d5e5ff; padding: 2px 8px; border-radius: 3px; font-weight: 700; user-select: all; }
.dl-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.dl-count { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.dl-empty { color: var(--muted); }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.entry-tags a { background: var(--tab); padding: 5px 11px; border-radius: 30px; font-size: 13px; color: #444; }
.entry-tags a:hover { background: var(--blue); color: #fff; }

.related-h { font-size: 24px; font-weight: 700; margin-bottom: 16px; }

/* ───────── COMMENTS ───────── */
.comments { background: #fff; box-shadow: var(--shadow); border-radius: 4px; padding: 26px; }
.comments-title, .comment-reply-title { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.comment-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.comment-list .children { margin: 14px 0 0 24px; display: flex; flex-direction: column; gap: 14px; }
.comment-body { border: 1px solid var(--line); border-radius: 4px; padding: 14px; font-size: 14.5px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-meta { margin-bottom: 8px; }
.comment-metadata { font-size: 12px; color: var(--muted); margin-top: 2px; }
.reply a { font-size: 13px; color: var(--blue); font-weight: 500; }
.comment-form { display: grid; gap: 12px; }
.comment-form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
	width: 100%; border: 1px solid #d5d9e0; border-radius: 4px; padding: 10px 12px; font: inherit; font-size: 14.5px;
}
.comment-form textarea { min-height: 120px; }
.comment-form input:focus, .comment-form textarea:focus { outline: 2px solid var(--blue-bg); border-color: var(--blue); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
.comment-form-cookies-consent label { font-weight: 400; }

/* ───────── 404 ───────── */
.e404 { text-align: center; padding: 50px 0 10px; }
.e404-code { font-size: 110px; font-weight: 900; line-height: 1; color: var(--blue); letter-spacing: -.04em; }
.e404 h1 { font-size: 26px; margin-top: 10px; }
.e404 p { color: var(--muted); margin-top: 8px; }

/* ───────── FOOTER ───────── */
.site-footer { background: var(--footer); margin-top: 50px; border-top: 1px solid #f0f0f0; }
.footer-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 30px; padding-block: 44px 34px; }
.footer-about p { font-size: 14px; color: #444; line-height: 1.75; margin-top: 16px; max-width: 290px; }
.socials { display: flex; gap: 12px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: #eef3fb; color: var(--blue-3); display: flex; align-items: center; justify-content: center; }
.socials a:hover { background: var(--blue); color: #fff; }
.footer-col h3 { font-size: 17px; font-weight: 700; color: #222; margin-bottom: 18px; text-transform: uppercase; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: #444; }
.footer-col a:hover { color: var(--blue); }
.copy { border-top: 1px solid #ececec; text-align: center; font-size: 13px; color: #555; padding-block: 16px; }

.to-top {
	position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 40;
	width: 46px; height: 46px; border-radius: 50%; border: 0; background: #9ec5f5; color: #fff; cursor: pointer;
	display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
	opacity: 0; visibility: hidden; transition: .2s;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--blue-2); }

/* WordPress core classes */
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }
.sticky, .bypostauthor, .gallery-caption { outline: 0; }

/* ───────── RESPONSIVE ───────── */
@media (max-width: 1100px) {
	.main-nav > ul > li > a, .main-nav > div > ul > li > a { font-size: 13px; padding: 8px 6px; }
	.latest-wrap { grid-template-columns: minmax(0, 1fr) 300px; }
	.grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
	.main-nav { display: none; }
	.main-nav.open {
		display: block; position: absolute; top: 62px; left: 0; right: 0; background: #fff; max-height: calc(100vh - 62px); overflow-y: auto;
		box-shadow: 0 8px 20px rgba(0, 0, 0, .1); padding: 8px max(16px, env(safe-area-inset-left, 0px));
	}
	.main-nav.open > ul, .main-nav.open > div > ul { flex-direction: column; align-items: stretch; }
	.main-nav.open .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 14px; }
	.burger { display: flex; }
	.track .card { flex-basis: calc((100% - 20px) / 2); }
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.latest-wrap { grid-template-columns: 1fr; }
	.grid-3 { grid-template-columns: repeat(3, 1fr); }
	.side { position: static; }
	.footer-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.search-form { flex-wrap: wrap; border-radius: 6px; }
	.search-input { flex-basis: 100%; }
	.search-select { flex: 1; }
	.search-select select { width: 100%; max-width: none; padding-block: 12px; }
	.search-btn { flex: 1; padding-block: 12px; }
	.cat-tabs { grid-template-columns: repeat(2, 1fr) !important; }
	.cat-tabs button { grid-column: auto !important; }
	.grid-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.grid-4 { gap: 14px; }
	.sec-h { font-size: 28px; }
	.card-body { padding: 10px; }
	.card-title { font-size: 13px; }
	.card-meta { font-size: 11.5px; }
	.entry, .comments { padding: 18px; }
	.entry-title { font-size: 22px; }
	.info-table dl { grid-template-columns: 1fr; }
	.info-table dl > div:nth-child(odd) { border-right: 0; }
	.archive-title { font-size: 24px; }
}
@media (max-width: 440px) {
	.track .card { flex-basis: 100%; }
	.grid-3, .grid-4 { grid-template-columns: 1fr; }
	.footer-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
