/* ==========================================================================
   Weadown — compact marketplace layout
   ========================================================================== */

:root {
	--wd-blue: #3498db;
	--wd-blue-hover: #2980b9;
	--wd-blue-soft: #ebf5fb;
	--wd-red: #e74c3c;
	--wd-bg: #f0f2f5;
	--wd-white: #ffffff;
	--wd-text: #222222;
	--wd-text-soft: #555555;
	--wd-meta: #999999;
	--wd-border: #e8e8e8;
	--wd-radius: 6px;
	--wd-radius-lg: 10px;
	--wd-container: 1140px;
	--wd-sidebar: 300px;
	--wd-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--wd-font);
	font-size: 13px;
	line-height: 1.5;
	color: var(--wd-text);
	background: var(--wd-bg);
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--wd-blue);
	text-decoration: none;
}

a:hover {
	color: var(--wd-blue-hover);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.site-container {
	max-width: var(--wd-container);
	margin: 0 auto;
	padding: 0 15px;
}

/* ---- Header ---- */
.site-header {
	background: var(--wd-white);
	border-top: 3px solid var(--wd-blue);
	border-bottom: 1px solid var(--wd-border);
	position: sticky;
	top: 0;
	z-index: 100;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 50px;
	gap: 16px;
}

.site-logo,
.custom-logo-link {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--wd-blue) !important;
	letter-spacing: -0.03em;
	line-height: 1;
	flex-shrink: 0;
}

.custom-logo-link img {
	max-height: 40px;
	width: auto;
}

.main-navigation {
	flex: 1;
	display: flex;
	justify-content: center;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 2px 22px;
}

.main-navigation a {
	color: #444;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
	color: var(--wd-blue);
}

.main-navigation .has-dropdown {
	position: relative;
}

.main-navigation .sub-menu {
	display: none;
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	min-width: 180px;
	background: var(--wd-white);
	border: 1px solid var(--wd-border);
	border-radius: var(--wd-radius);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	padding: 4px 0;
	flex-direction: column;
	z-index: 50;
}

.main-navigation .has-dropdown:hover .sub-menu,
.main-navigation .has-dropdown:focus-within .sub-menu {
	display: flex;
}

.main-navigation .sub-menu a {
	display: block;
	padding: 8px 14px;
	font-size: 12px;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 500;
}

.dropdown-arrow::after {
	content: '';
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 4px;
	vertical-align: middle;
	border-left: 3px solid transparent;
	border-right: 3px solid transparent;
	border-top: 4px solid currentColor;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.header-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: none;
	background: transparent;
	cursor: pointer;
	padding: 0;
}

.header-icon--wishlist {
	color: var(--wd-red);
	position: relative;
}

.header-icon.js-search-open {
	color: var(--wd-blue);
}

.wishlist-count {
	position: absolute;
	top: -2px;
	right: -2px;
	font-size: 9px;
	font-weight: 700;
	background: var(--wd-red);
	color: #fff;
	border-radius: 50%;
	min-width: 14px;
	height: 14px;
	line-height: 14px;
	text-align: center;
}

.header-icon svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
}

.menu-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--wd-text);
	margin: 4px 0;
}

/* Sub bar */
.sub-header-bar {
	background: var(--wd-blue-soft);
	border-bottom: 1px solid #d6eaf8;
	padding: 6px 0;
	font-size: 12px;
	line-height: 1.4;
}

.sub-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.breadcrumbs {
	color: var(--wd-meta);
	font-size: 12px;
}

.breadcrumbs a {
	color: var(--wd-blue);
	font-weight: 500;
}

.breadcrumbs .sep {
	margin: 0 5px;
	color: #bbb;
}

.social-share {
	display: flex;
	align-items: center;
	gap: 8px;
}

.social-share-label {
	font-weight: 600;
	font-size: 11px;
	color: var(--wd-text);
}

.social-share-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 4px;
}

.social-share-list a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	opacity: 1;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.social-share-list a:hover {
	transform: scale(1.08);
	opacity: 0.92;
}

.social-share-list svg {
	width: 13px;
	height: 13px;
	fill: #fff;
	display: block;
}

.share-facebook { background: #1877f2; }
.share-twitter { background: #000; }
.share-pinterest { background: #e60023; }
.share-whatsapp { background: #25d366; }
.share-email { background: #6b7280; }
.share-telegram { background: #0088cc; }
.share-reddit { background: #ff4500; }

/* Search modal */
.search-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 200;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.search-overlay.is-open {
	display: flex;
}

.search-overlay-backdrop {
	position: absolute;
	inset: 0;
	border: none;
	padding: 0;
	margin: 0;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(4px);
	cursor: pointer;
}

.search-modal {
	position: relative;
	width: 100%;
	max-width: 520px;
	background: var(--wd-white);
	border-radius: 12px;
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
	padding: 28px 24px 24px;
	animation: search-modal-in 0.2s ease;
}

@keyframes search-modal-in {
	from {
		opacity: 0;
		transform: translateY(-12px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.search-modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: none;
	border-radius: 50%;
	background: #f3f4f6;
	color: #6b7280;
	cursor: pointer;
	padding: 0;
	transition: background 0.15s ease, color 0.15s ease;
}

.search-modal-close:hover {
	background: #e5e7eb;
	color: var(--wd-text);
}

.search-modal-title {
	margin: 0 0 4px;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--wd-text);
	letter-spacing: -0.02em;
}

.search-modal-hint {
	margin: 0 0 20px;
	font-size: 13px;
	color: var(--wd-meta);
	line-height: 1.4;
}

.search-modal-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.search-modal-field {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 14px;
	height: 48px;
	border: 1px solid var(--wd-border);
	border-radius: 8px;
	background: #fafafa;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.search-modal-field:focus-within {
	border-color: var(--wd-blue);
	background: var(--wd-white);
	box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

.search-modal-field-icon {
	flex-shrink: 0;
	color: var(--wd-meta);
}

.search-modal-input {
	flex: 1;
	min-width: 0;
	border: none;
	background: transparent;
	font-family: inherit;
	font-size: 15px;
	color: var(--wd-text);
	outline: none;
	padding: 0;
}

.search-modal-input::placeholder {
	color: #9ca3af;
}

.search-modal-input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.search-modal-submit {
	width: 100%;
	height: 44px;
	border: none;
	border-radius: 8px;
	background: var(--wd-blue);
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease;
}

.search-modal-submit:hover {
	background: var(--wd-blue-hover);
}

body.search-modal-open {
	overflow: hidden;
}

/* ---- Layout ---- */
.site-main {
	padding: 18px 0 36px;
}

.content-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--wd-sidebar);
	gap: 20px;
	align-items: start;
}

.content-primary {
	min-width: 0;
}

/* Featured strip under header */
.header-featured-wrap {
	background: var(--wd-bg);
	padding: 12px 0 0;
}

.header-featured-wrap .featured-top-bar {
	margin-bottom: 0;
}

/* Featured strip (homepage) */
.featured-top-bar {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background: var(--wd-white);
	border: 1px solid var(--wd-border);
	border-radius: var(--wd-radius);
	margin-bottom: 14px;
	overflow: hidden;
}

.featured-top-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	color: inherit;
	text-decoration: none;
	border-right: 1px solid var(--wd-border);
	transition: background 0.15s;
}

.featured-top-card:last-child {
	border-right: none;
}

.featured-top-card:hover {
	background: #fafafa;
}

.featured-top-card .thumb {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 4px;
	overflow: hidden;
	background: #eee;
}

.featured-top-card .thumb img {
	width: 48px;
	height: 48px;
	object-fit: cover;
}

.featured-top-card .info {
	flex: 1;
	min-width: 0;
}

.featured-top-card .title {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: var(--wd-text);
	line-height: 1.35;
	margin: 0 0 3px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.featured-top-card .meta {
	font-size: 10px;
	color: var(--wd-meta);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

/* Post list */
.post-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.post-card {
	display: flex;
	align-items: stretch;
	gap: 14px;
	background: var(--wd-white);
	padding: 12px;
	border: 1px solid var(--wd-border);
	border-radius: var(--wd-radius-lg);
	transition: border-color 0.15s ease;
}

.post-card:hover {
	border-color: #d0d0d0;
}

.post-card .card-thumb {
	flex: 0 0 240px;
	width: 240px;
	border-radius: var(--wd-radius);
	overflow: hidden;
	background: #eee;
	align-self: flex-start;
}

.post-card .card-thumb img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.post-card .card-thumb--placeholder {
	display: block;
	min-height: 135px;
	background: linear-gradient(135deg, var(--wd-blue-soft), #d4e6f1);
}

.post-card .card-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	padding: 2px 0;
}

.post-card .card-title {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 6px;
	line-height: 1.3;
}

.post-card .card-title a {
	color: var(--wd-blue);
}

.post-card .card-title a:hover {
	color: var(--wd-blue-hover);
	text-decoration: underline;
}

.post-card .card-excerpt {
	color: var(--wd-text-soft);
	font-size: 13px;
	line-height: 1.45;
	margin: 0;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-card .card-excerpt p {
	margin: 0;
}

.post-card .card-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin-top: 8px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1;
}

.post-card .card-category a {
	color: var(--wd-blue);
}

.post-card .card-meta .meta-dot {
	color: #ccc;
	font-weight: 400;
}

.post-card .card-date {
	color: var(--wd-meta);
}

/* Sidebar */
.site-sidebar {
	min-width: 0;
}

.site-sidebar .widget,
.weadown-sidebar-block {
	background: var(--wd-white);
	border: 1px solid var(--wd-border);
	border-radius: var(--wd-radius);
	margin-bottom: 12px;
	padding: 0 10px 2px;
}

.site-sidebar .widget-title,
.weadown-sidebar-block .widget-title {
	font-size: 11px;
	font-weight: 700;
	margin: 10px 0 6px;
	padding: 0 0 6px;
	border-bottom: 1px solid var(--wd-border);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* Core / third-party widgets in sidebar */
.site-sidebar .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-sidebar .widget ul li {
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f0;
	font-size: 12px;
	line-height: 1.35;
}

.site-sidebar .widget ul li:last-child {
	border-bottom: none;
}

.site-sidebar .widget ul li a {
	color: var(--wd-blue);
	font-weight: 600;
}

.site-sidebar .widget p,
.site-sidebar .widget .textwidget {
	font-size: 12px;
	color: var(--wd-text-soft);
	margin: 8px 0;
}

.site-sidebar .widget select,
.site-sidebar .widget input[type="search"] {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid var(--wd-border);
	border-radius: var(--wd-radius);
	font-size: 12px;
	margin-bottom: 8px;
}

.site-sidebar .widget .search-submit {
	background: var(--wd-blue);
	color: #fff;
	border: none;
	padding: 8px 14px;
	border-radius: var(--wd-radius);
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	width: 100%;
}

.weadown-posts-widget .sidebar-post-list {
	margin: 0;
	padding: 0;
}

.post-card-compact {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 0;
	border-bottom: 1px solid #f0f0f0;
}

.post-card-compact:last-child {
	border-bottom: none;
	padding-bottom: 6px;
}

.post-card-compact .compact-body {
	flex: 1;
	min-width: 0;
	order: 1;
}

.post-card-compact .compact-title {
	font-size: 12px;
	font-weight: 600;
	margin: 0 0 4px;
	line-height: 1.35;
}

.post-card-compact .compact-title a {
	color: var(--wd-blue);
}

.post-card-compact .compact-title a:hover {
	text-decoration: underline;
}

.post-card-compact .compact-meta {
	font-size: 9px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	line-height: 1.3;
}

.post-card-compact .compact-meta .source a {
	color: var(--wd-blue);
}

.post-card-compact .compact-meta .time {
	color: var(--wd-meta);
}

.post-card-compact .compact-meta .meta-dot {
	color: #ccc;
	margin: 0 4px;
}

.post-card-compact .compact-thumb {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	border-radius: 4px;
	overflow: hidden;
	background: #eee;
	order: 2;
}

.post-card-compact .compact-thumb img {
	width: 60px;
	height: 60px;
	object-fit: cover;
}

/* Archive */
.archive-header {
	margin-bottom: 14px;
	padding-bottom: 0;
}

.archive-title {
	font-size: 22px;
	font-weight: 800;
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: var(--wd-text);
	line-height: 1.2;
}

.archive-tag,
a.archive-tag {
	display: inline-block;
	padding: 4px 12px;
	background: var(--wd-blue);
	color: #fff !important;
	font-size: 11px;
	font-weight: 600;
	border-radius: 3px;
	text-transform: capitalize;
	letter-spacing: 0.02em;
}

a.archive-tag:hover {
	background: var(--wd-blue-hover);
	color: #fff !important;
}

/* Pagination */
.pagination,
.nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	margin-top: 18px;
}

.pagination a,
.pagination span,
.nav-links a,
.nav-links span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	padding: 0 8px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
	background: var(--wd-white);
	border: 1px solid var(--wd-border);
	color: var(--wd-meta);
	line-height: 1;
}

.pagination .current,
.nav-links .current {
	background: var(--wd-blue);
	border-color: var(--wd-blue);
	color: #fff;
}

.pagination a:hover,
.nav-links a:hover {
	background: var(--wd-blue-soft);
	color: var(--wd-blue);
	border-color: #bde0f7;
}

/* Single */
.single-article {
	background: var(--wd-white);
	padding: 20px 22px;
	border: 1px solid var(--wd-border);
	border-radius: var(--wd-radius-lg);
}

.entry-header .entry-title {
	font-size: 1.5rem;
	font-weight: 800;
	margin: 0 0 8px;
	line-height: 1.25;
	color: var(--wd-text);
}

.entry-meta {
	font-size: 12px;
	color: var(--wd-meta);
	margin-bottom: 14px;
}

.entry-meta .sep {
	margin: 0 6px;
}

.toc-box {
	background: var(--wd-blue-soft);
	border: 1px solid #d6eaf8;
	border-radius: var(--wd-radius);
	padding: 12px 14px;
	margin-bottom: 16px;
	font-size: 13px;
}

.toc-box h4 {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.toc-toggle {
	background: none;
	border: none;
	color: var(--wd-blue);
	cursor: pointer;
	font-size: 12px;
	font-weight: 600;
}

.toc-box ul {
	margin: 0;
	padding-left: 18px;
	list-style: decimal;
}

.toc-box li {
	margin-bottom: 6px;
	font-weight: 600;
}

.toc-box li a {
	color: var(--wd-text);
}

.toc-box li a:hover {
	color: var(--wd-blue);
}

.toc-box .toc-sub-list {
	margin: 4px 0 6px;
	padding-left: 16px;
	list-style: circle;
}

.toc-box .toc-sub-list li {
	margin-bottom: 4px;
	font-weight: 400;
	font-size: 12px;
}

.toc-box .toc-sub-list li a {
	color: var(--wd-text-soft);
}

.toc-box.is-collapsed ul {
	display: none;
}

.entry-content {
	font-size: 14px;
	line-height: 1.65;
	color: var(--wd-text-soft);
}

.entry-content h2,
.entry-content h3 {
	color: var(--wd-text);
	margin-top: 1.25em;
	margin-bottom: 0.5em;
	font-size: 1.1rem;
}

.entry-content p {
	margin-bottom: 0.85em;
}

.entry-content .wp-block-button__link,
.btn-cta {
	display: block;
	width: 100%;
	text-align: center;
	padding: 12px 20px;
	background: var(--wd-blue);
	color: #fff !important;
	font-weight: 700;
	font-size: 14px;
	border-radius: var(--wd-radius);
	margin: 14px 0;
	border: none;
}

.entry-content .wp-block-button__link:hover,
.btn-cta:hover {
	background: var(--wd-blue-hover);
	color: #fff !important;
}

.download-note {
	background: #f5f5f5;
	padding: 10px 12px;
	border-radius: var(--wd-radius);
	font-size: 12px;
	color: var(--wd-meta);
	margin: 12px 0;
	border-left: 3px solid var(--wd-blue);
}

.entry-content img,
.entry-featured-image {
	border-radius: var(--wd-radius);
	margin: 14px 0;
}

.entry-featured-image img {
	width: 100%;
}

.post-nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-top: 1px solid var(--wd-border);
	margin-top: 20px;
	padding-top: 16px;
	gap: 12px;
	font-size: 12px;
}

.post-nav-links .label {
	display: block;
	color: var(--wd-meta);
	font-size: 10px;
	text-transform: uppercase;
	margin-bottom: 3px;
	letter-spacing: 0.04em;
}

.post-nav-links .nav-next {
	text-align: right;
}

/* Comments */
.comments-area {
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid var(--wd-border);
}

.comments-title {
	font-size: 14px;
	margin-bottom: 16px;
}

.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-body {
	display: flex;
	gap: 10px;
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid #f0f0f0;
	font-size: 13px;
}

.comment-author .avatar {
	border-radius: 50%;
	width: 40px;
	height: 40px;
}

.comment-meta {
	font-size: 11px;
	color: var(--wd-meta);
	margin-bottom: 4px;
}

.comment-meta .fn {
	font-weight: 700;
	color: var(--wd-text);
	font-style: normal;
}

.comment-respond h3 {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.comment-form {
	display: grid;
	gap: 10px;
}

.comment-form-author,
.comment-form-email {
	display: inline-block;
	width: calc(50% - 5px);
	vertical-align: top;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid var(--wd-border);
	border-radius: var(--wd-radius);
	font-family: inherit;
	font-size: 13px;
	background: #fafafa;
}

.comment-form textarea {
	min-height: 100px;
}

.form-submit input {
	background: var(--wd-blue);
	color: #fff;
	border: none;
	padding: 10px 22px;
	border-radius: var(--wd-radius);
	font-weight: 700;
	cursor: pointer;
	font-size: 12px;
}

/* Footer */
.site-footer {
	background: var(--wd-white);
	border-top: 1px solid var(--wd-border);
	padding: 20px 0;
	margin-top: 16px;
	text-align: center;
	font-size: 12px;
	color: var(--wd-meta);
}

.back-to-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--wd-blue);
	color: #fff;
	border: none;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(52, 152, 219, 0.45);
	z-index: 90;
}

.back-to-top.is-visible {
	display: flex;
}

.back-to-top svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.no-results {
	background: var(--wd-white);
	padding: 32px 20px;
	text-align: center;
	border: 1px solid var(--wd-border);
	border-radius: var(--wd-radius);
}

.page-header {
	margin-bottom: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
	.content-layout {
		grid-template-columns: minmax(0, 1fr) 260px;
		gap: 16px;
	}

	.post-card .card-thumb {
		flex: 0 0 200px;
		width: 200px;
	}
}

@media (max-width: 860px) {
	.content-layout {
		grid-template-columns: 1fr;
	}

	.featured-top-bar {
		grid-template-columns: 1fr;
	}

	.featured-top-card {
		border-right: none;
		border-bottom: 1px solid var(--wd-border);
	}

	.featured-top-card:last-child {
		border-bottom: none;
	}
}

@media (max-width: 640px) {
	.menu-toggle {
		display: block;
	}

	.main-navigation {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--wd-white);
		border-bottom: 1px solid var(--wd-border);
		padding: 10px 15px;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
	}

	.main-navigation.is-open {
		display: block;
	}

	.main-navigation ul {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	.main-navigation a {
		display: block;
		padding: 10px 0;
		width: 100%;
		border-bottom: 1px solid #f5f5f5;
	}

	.main-navigation .sub-menu {
		position: static;
		box-shadow: none;
		border: none;
		padding-left: 12px;
	}

	.header-inner {
		position: relative;
		flex-wrap: wrap;
	}

	.post-card {
		flex-direction: column;
	}

	.post-card .card-thumb,
	.post-card .card-thumb--placeholder {
		flex: none;
		width: 100%;
	}

	.single-article {
		padding: 16px;
	}

	.comment-form-author,
	.comment-form-email {
		width: 100%;
		display: block;
	}
}
