/* ==============================================================
   Laptop & Coffee — main.css
   Palette: Yellow #FFD400 · White #FFFFFF · Ink #16181D
   Type:    Poppins (headings) · Inter (body)
   ============================================================== */

:root {
	--lc-yellow: #FFD400;
	--lc-yellow-dark: #E6BE00;
	--lc-yellow-tint: #FFF9DB;
	--lc-white: #FFFFFF;
	--lc-ink: #16181D;
	--lc-gray: #5B6270;
	--lc-gray-light: #9AA1AE;
	--lc-border: #ECEEF2;
	--lc-bg-soft: #FAFAF7;
	--lc-radius: 14px;
	--lc-shadow: 0 1px 2px rgba(22, 24, 29, 0.05), 0 6px 20px rgba(22, 24, 29, 0.06);
	--lc-shadow-hover: 0 4px 10px rgba(22, 24, 29, 0.08), 0 14px 34px rgba(22, 24, 29, 0.10);
	--font-heading: 'Poppins', -apple-system, 'Segoe UI', sans-serif;
	--font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
	--container: 1200px;
	--content-width: 760px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--lc-ink);
	background: var(--lc-white);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--lc-ink); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--lc-yellow-dark); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.25;
	color: var(--lc-ink);
	margin: 0 0 .5em;
	overflow-wrap: break-word;
}

p { margin: 0 0 1.25em; }

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

/* Accessibility */
.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: var(--lc-yellow); color: var(--lc-ink);
	padding: 10px 18px; font-weight: 600; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible, input:focus-visible {
	outline: 3px solid var(--lc-yellow);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
}

/* Signature: yellow marker highlight */
.highlight {
	background: linear-gradient(transparent 55%, var(--lc-yellow) 55%, var(--lc-yellow) 92%, transparent 92%);
	padding: 0 .15em;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--lc-white);
	box-shadow: 0 1px 0 var(--lc-border), 0 4px 16px rgba(22, 24, 29, 0.04);
}

.header-top {
	border-bottom: 1px solid var(--lc-border);
}

.header-top-inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 76px;
}

/* On scroll: collapse the whole top row (logo + search).
   Only the category strip stays visible in the sticky header. */
.header-top {
	max-height: 120px;
	overflow: hidden;
	transition: max-height .3s ease, opacity .25s ease;
}
.site-header.is-scrolled .header-top {
	max-height: 0;
	opacity: 0;
	border-bottom-color: transparent;
}

/* Scrolled state: give the category strip clear top/bottom space
   so links are always fully visible, never clipped. */
.site-header.is-scrolled .main-navigation {
	padding: 28px 0 2px;
}

.site-branding { flex-shrink: 0; }
.custom-logo { max-height: 48px; width: auto; }

.site-logo-text {
	display: inline-flex;
	align-items: baseline;
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: 26px;
	letter-spacing: -0.02em;
}
.logo-dot { color: var(--lc-yellow); font-size: 30px; line-height: 1; }
.site-logo-text:hover { color: var(--lc-ink); }
.site-logo-text:hover .logo-dot { color: var(--lc-yellow-dark); }

/* Row 1: search bar (Fiverr-style pill on the right) */
.header-search-bar {
	flex: 1;
	display: flex;
	justify-content: flex-end;
}

.header-search-form {
	display: flex;
	width: 100%;
	max-width: 560px;
	border: 2px solid var(--lc-ink);
	border-radius: 8px;
	overflow: hidden;
	transition: border-color .18s ease, box-shadow .18s ease;
}
.header-search-form:focus-within {
	border-color: var(--lc-ink);
	box-shadow: 0 0 0 3px var(--lc-yellow);
}
.header-search-form .search-field {
	flex: 1;
	min-width: 0;
	padding: 12px 16px;
	font: inherit;
	font-size: 15px;
	border: none;
	background: var(--lc-white);
	color: var(--lc-ink);
}
.header-search-form .search-field:focus { outline: none; }
.header-search-form .search-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	background: var(--lc-yellow);
	border: none;
	color: var(--lc-ink);
	cursor: pointer;
	transition: background .18s ease;
}
.header-search-form .search-submit:hover { background: var(--lc-yellow-dark); }

/* Row 2: category strip */
.main-navigation {
	background: var(--lc-white);
	min-height: 49px;
	transition: padding .25s ease;
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.nav-menu::-webkit-scrollbar { display: none; }

.nav-menu > li { position: relative; flex-shrink: 0; }

.nav-menu a {
	display: block;
	padding: 13px 16px;
	font-weight: 500;
	font-size: 15px;
	color: var(--lc-gray);
	border-bottom: 3px solid transparent;
	transition: color .18s ease, border-color .18s ease, padding .25s ease;
	white-space: nowrap;
}

/* Fiverr-style underline hover in brand yellow */
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-cat > a {
	color: var(--lc-ink);
	border-bottom-color: var(--lc-yellow);
}

/* Dropdowns */
.nav-menu ul {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 210px;
	background: var(--lc-white);
	border: 1px solid var(--lc-border);
	border-radius: 10px;
	box-shadow: var(--lc-shadow-hover);
	list-style: none;
	margin: 0;
	padding: 6px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
	z-index: 20;
}
.nav-menu li:hover > ul,
.nav-menu li:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.nav-menu ul a {
	border-bottom: none;
	border-radius: 6px;
	padding: 9px 12px;
}
.nav-menu ul a:hover { background: var(--lc-yellow-tint); color: var(--lc-ink); }

/* Hamburger (mobile only) */
.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px; height: 42px;
	background: transparent;
	border: none;
	border-radius: 10px;
	color: var(--lc-ink);
	cursor: pointer;
	transition: background .18s ease;
	flex-shrink: 0;
}
.menu-toggle:hover { background: var(--lc-yellow); }

.hamburger { display: flex; flex-direction: column; gap: 4px; }
.hamburger span {
	display: block; width: 20px; height: 2px;
	background: currentColor; border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile search row: hidden on desktop */
.header-search-mobile {
	display: none;
	border-top: 1px solid var(--lc-border);
	padding: 12px 0;
}

/* Generic search form (sidebar, mobile row, no-results) */
.search-form {
	display: flex;
	gap: 8px;
	max-width: 640px;
}
.search-form .search-field {
	flex: 1;
	min-width: 0;
	padding: 11px 16px;
	font: inherit;
	font-size: 15px;
	border: 2px solid var(--lc-border);
	border-radius: 10px;
	background: var(--lc-white);
	color: var(--lc-ink);
	transition: border-color .18s ease;
}
.search-form .search-field:focus { border-color: var(--lc-yellow); outline: none; }
.search-form .search-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 16px;
	background: var(--lc-yellow);
	border: none;
	border-radius: 10px;
	color: var(--lc-ink);
	cursor: pointer;
	transition: background .18s ease;
}
.search-form .search-submit:hover { background: var(--lc-yellow-dark); }

/* ---------- Hero ---------- */
.hero {
	background: var(--lc-bg-soft);
	border-bottom: 1px solid var(--lc-border);
	padding: 72px 0 64px;
	text-align: center;
}
.hero-inner { max-width: 780px; }
.hero-eyebrow {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--lc-gray);
	margin-bottom: 16px;
}
.hero-title {
	font-size: clamp(38px, 6vw, 64px);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 10px;
}
.hero-tagline {
	font-family: var(--font-heading);
	font-size: clamp(19px, 2.6vw, 26px);
	font-weight: 700;
	margin-bottom: 20px;
}
.hero-description {
	font-size: 18px;
	color: var(--lc-gray);
	max-width: 620px;
	margin: 0 auto;
}

/* ---------- Sections ---------- */
.section-title {
	font-size: 26px;
	font-weight: 700;
	margin: 0 0 24px;
	padding-left: 14px;
	border-left: 5px solid var(--lc-yellow);
}

.featured-posts { padding: 56px 0 8px; }

.featured-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
}

.featured-card {
	background: var(--lc-white);
	border: 1px solid var(--lc-border);
	border-radius: var(--lc-radius);
	overflow: hidden;
	box-shadow: var(--lc-shadow);
	transition: transform .2s ease, box-shadow .2s ease;
}
.featured-card:hover { transform: translateY(-4px); box-shadow: var(--lc-shadow-hover); }

.featured-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--lc-yellow-tint); }
.featured-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.featured-card:hover .featured-thumb img { transform: scale(1.04); }

.featured-body { padding: 26px 28px 30px; }
.featured-title { font-size: 24px; margin: 12px 0 10px; }
.featured-title a:hover { color: var(--lc-ink); box-shadow: inset 0 -10px 0 var(--lc-yellow); }
.featured-excerpt { color: var(--lc-gray); font-size: 16px; margin-bottom: 16px; }

/* ---------- Post cards / grids ---------- */
.page-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 48px;
	padding-top: 48px;
	padding-bottom: 72px;
	align-items: start;
}
.page-layout--narrow { grid-template-columns: minmax(0, 1fr); max-width: 900px; }

.posts-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
	margin-bottom: 40px;
}
.posts-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* On the two-column layout, 3 columns get tight — keep cards readable */
.page-layout .posts-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.post-card {
	display: flex;
	flex-direction: column;
	background: var(--lc-white);
	border: 1px solid var(--lc-border);
	border-radius: var(--lc-radius);
	overflow: hidden;
	box-shadow: var(--lc-shadow);
	transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--lc-shadow-hover); }

.post-card-thumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--lc-yellow-tint);
}
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .post-card-thumb img { transform: scale(1.04); }
.post-card-placeholder {
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 100%; font-size: 42px;
}

.post-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px 22px 22px;
}

.cat-badge {
	display: inline-block;
	align-self: flex-start;
	background: var(--lc-yellow);
	color: var(--lc-ink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 999px;
	transition: background .18s ease;
}
.cat-badge:hover { background: var(--lc-yellow-dark); color: var(--lc-ink); }

.post-card-title { font-size: 19px; margin: 12px 0 8px; }
.post-card-title a:hover { color: var(--lc-ink); box-shadow: inset 0 -8px 0 var(--lc-yellow); }

.post-card-excerpt {
	color: var(--lc-gray);
	font-size: 15px;
	margin-bottom: 16px;
	flex: 1;
}

.post-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 13.5px;
	color: var(--lc-gray-light);
}

.read-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	font-size: 14.5px;
	color: var(--lc-ink);
}
.read-more:hover { color: var(--lc-yellow-dark); }
.read-more span[aria-hidden] { transition: transform .18s ease; }
.read-more:hover span[aria-hidden] { transform: translateX(3px); }

/* ---------- Latest posts: horizontal list (image left, text right) ---------- */
.post-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-bottom: 40px;
}

.post-row {
	display: flex;
	gap: 24px;
	background: var(--lc-white);
	border: 1px solid var(--lc-border);
	border-radius: var(--lc-radius);
	overflow: hidden;
	box-shadow: var(--lc-shadow);
	transition: transform .2s ease, box-shadow .2s ease;
}
.post-row:hover { transform: translateY(-3px); box-shadow: var(--lc-shadow-hover); }

.post-row-thumb {
	flex-shrink: 0;
	width: 280px;
	background: var(--lc-yellow-tint);
	display: flex;
	align-items: stretch;
}
.post-row-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-row:hover .post-row-thumb img { transform: scale(1.04); }
.post-row-thumb .post-card-placeholder { font-size: 42px; width: 100%; }

.post-row-body {
	display: flex;
	flex-direction: column;
	padding: 22px 26px 22px 4px;
	min-width: 0;
}

.post-row-title { font-size: 21px; margin: 10px 0 8px; }
.post-row-title a:hover { color: var(--lc-ink); box-shadow: inset 0 -9px 0 var(--lc-yellow); }

.post-row-excerpt {
	color: var(--lc-gray);
	font-size: 15.5px;
	margin-bottom: 14px;
	flex: 1;
}

/* ---------- Category sections (homepage) ---------- */
.home-category-section { margin-top: 16px; }

.home-category-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}
.home-category-header .section-title { margin: 0; }

.view-all-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	font-size: 14.5px;
	white-space: nowrap;
}
.view-all-link:hover { color: var(--lc-yellow-dark); }

.posts-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Ad zones ---------- */
.grid-ad-slot { grid-column: 1 / -1; }
.grid-ad-slot .ad-zone { margin: 4px 0; }

.ad-zone {
	margin: 32px 0;
	text-align: center;
}
.ad-zone-label {
	display: block;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--lc-gray-light);
	margin-bottom: 6px;
}
.ad-zone .ad-widget { min-height: 90px; }
.ad-zone ins.adsbygoogle { display: block; width: 100%; }
.sidebar .ad-zone { margin: 0 0 32px; }

/* ---------- Single post ---------- */
.single-post-article { max-width: var(--content-width); }

.entry-header { margin-bottom: 28px; }
.entry-title {
	font-size: clamp(30px, 4.4vw, 44px);
	font-weight: 800;
	letter-spacing: -0.015em;
	margin: 14px 0 16px;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 14.5px;
	color: var(--lc-gray);
}
.post-meta a { font-weight: 600; }
.post-meta-sep { color: var(--lc-gray-light); }

.entry-featured-image { margin: 0 0 8px; }
.entry-featured-image img {
	width: 100%;
	border-radius: var(--lc-radius);
	box-shadow: var(--lc-shadow);
}
.entry-featured-image figcaption {
	font-size: 13.5px;
	color: var(--lc-gray-light);
	text-align: center;
	margin-top: 10px;
}

/* Post content typography */
.entry-content {
	font-size: 18px;
	line-height: 1.8;
}
.entry-content > * { max-width: var(--content-width); }

.entry-content h2 {
	font-size: 30px;
	margin: 1.6em 0 .6em;
	padding-bottom: .35em;
	border-bottom: 3px solid var(--lc-yellow);
	display: table; /* border hugs the text width */
}
.entry-content h3 { font-size: 23px; margin: 1.4em 0 .5em; }
.entry-content h4 { font-size: 19px; margin: 1.2em 0 .5em; }

.entry-content a {
	color: var(--lc-ink);
	font-weight: 500;
	box-shadow: inset 0 -2px 0 var(--lc-yellow);
	transition: box-shadow .18s ease;
}
.entry-content a:hover { box-shadow: inset 0 -1.2em 0 var(--lc-yellow); }

.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.entry-content li { margin-bottom: .5em; }

.entry-content blockquote {
	margin: 1.6em 0;
	padding: 18px 24px;
	background: var(--lc-yellow-tint);
	border-left: 5px solid var(--lc-yellow);
	border-radius: 0 10px 10px 0;
	font-style: italic;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }

.entry-content img { border-radius: 10px; margin: 1.2em 0; }

.entry-content pre {
	background: var(--lc-ink);
	color: #F5F5F0;
	padding: 20px 24px;
	border-radius: 10px;
	overflow-x: auto;
	font-size: 15px;
	line-height: 1.6;
}
.entry-content code {
	background: var(--lc-yellow-tint);
	padding: .15em .4em;
	border-radius: 5px;
	font-size: .9em;
}
.entry-content pre code { background: none; padding: 0; }

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5em 0;
	font-size: 16px;
}
.entry-content th {
	background: var(--lc-yellow);
	text-align: left;
	padding: 12px 14px;
	font-family: var(--font-heading);
	font-weight: 600;
}
.entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--lc-border); }

/* Tags & sharing */
.entry-footer { margin-top: 40px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.post-tags a {
	font-size: 13px;
	font-weight: 500;
	background: var(--lc-bg-soft);
	border: 1px solid var(--lc-border);
	padding: 5px 12px;
	border-radius: 999px;
	transition: background .18s ease, border-color .18s ease;
}
.post-tags a:hover { background: var(--lc-yellow); border-color: var(--lc-yellow); color: var(--lc-ink); }

.share-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding: 20px 0;
	border-top: 1px solid var(--lc-border);
	border-bottom: 1px solid var(--lc-border);
}
.share-label { font-weight: 600; font-size: 15px; margin-right: 4px; }
.share-btn {
	font-size: 13.5px;
	font-weight: 600;
	padding: 7px 15px;
	border-radius: 999px;
	border: 2px solid var(--lc-ink);
	color: var(--lc-ink);
	transition: background .18s ease, border-color .18s ease;
}
.share-btn:hover { background: var(--lc-yellow); border-color: var(--lc-yellow); color: var(--lc-ink); }
.share-btn.copied { background: var(--lc-yellow); border-color: var(--lc-yellow); }

/* Related posts */
.related-posts { margin-top: 56px; max-width: var(--content-width); }
.related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.related-card {
	border: 1px solid var(--lc-border);
	border-radius: 12px;
	overflow: hidden;
	background: var(--lc-white);
	transition: transform .2s ease, box-shadow .2s ease;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--lc-shadow-hover); }
.related-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--lc-yellow-tint); }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-body { padding: 14px 16px 18px; }
.related-title { font-size: 15.5px; margin: 10px 0 0; line-height: 1.4; }

/* Comments */
.comments-area { margin-top: 56px; max-width: var(--content-width); }
.comments-title { font-size: 24px; margin-bottom: 24px; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .comment { padding: 20px 0; border-bottom: 1px solid var(--lc-border); }
.comment-list .children { list-style: none; padding-left: 32px; }
.comment-author { font-weight: 600; }
.comment-author img { border-radius: 50%; margin-right: 10px; display: inline-block; vertical-align: middle; }
.comment-metadata { font-size: 13px; color: var(--lc-gray-light); }
.comment-content { font-size: 16px; }
.reply a { font-size: 13.5px; font-weight: 600; }

.comment-form label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 11px 14px;
	font: inherit;
	font-size: 15px;
	border: 2px solid var(--lc-border);
	border-radius: 10px;
	margin-bottom: 16px;
	transition: border-color .18s ease;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--lc-yellow); outline: none; }
.comment-form .submit {
	background: var(--lc-yellow);
	color: var(--lc-ink);
	border: none;
	font: inherit;
	font-weight: 700;
	padding: 13px 30px;
	border-radius: 10px;
	cursor: pointer;
	transition: background .18s ease;
}
.comment-form .submit:hover { background: var(--lc-yellow-dark); }

/* ---------- Sidebar ---------- */
.sidebar .widget {
	background: var(--lc-white);
	border: 1px solid var(--lc-border);
	border-radius: var(--lc-radius);
	padding: 24px;
	margin-bottom: 28px;
}
.widget-title {
	font-size: 17px;
	margin: 0 0 18px;
	padding-bottom: 10px;
	border-bottom: 3px solid var(--lc-yellow);
	display: table;
}
.sidebar .widget ul { list-style: none; margin: 0; padding: 0; }
.sidebar .widget ul li {
	padding: 8px 0;
	border-bottom: 1px solid var(--lc-border);
	font-size: 15px;
}
.sidebar .widget ul li:last-child { border-bottom: 0; }
.sidebar .widget_categories .count,
.sidebar .widget_categories li { color: var(--lc-gray); }

.mini-posts { list-style: none; margin: 0; padding: 0; }
.mini-post {
	display: flex;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--lc-border);
}
.mini-post:last-child { border-bottom: 0; }
.mini-post-thumb { flex-shrink: 0; }
.mini-post-thumb img { width: 68px; height: 52px; object-fit: cover; border-radius: 8px; }
.mini-post-title {
	display: block;
	font-weight: 600;
	font-size: 14.5px;
	line-height: 1.4;
}
.mini-post time { font-size: 12.5px; color: var(--lc-gray-light); }

.widget-newsletter { background: var(--lc-yellow-tint) !important; border-color: var(--lc-yellow) !important; }
.widget-newsletter p { font-size: 14.5px; color: var(--lc-gray); }
.newsletter-note { font-size: 13px !important; font-style: italic; }

/* ---------- Archive / pagination ---------- */
.archive-header { margin-bottom: 32px; }
.page-title { font-size: clamp(28px, 4vw, 38px); }
.archive-description { color: var(--lc-gray); max-width: 680px; }

.pagination { margin: 8px 0 24px; }
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border: 2px solid var(--lc-border);
	border-radius: 10px;
	font-weight: 600;
	font-size: 15px;
	transition: background .18s ease, border-color .18s ease;
}
.pagination .page-numbers:hover { border-color: var(--lc-yellow); background: var(--lc-yellow-tint); }
.pagination .page-numbers.current { background: var(--lc-yellow); border-color: var(--lc-yellow); }
.pagination .dots { border: none; }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--lc-ink);
	color: #C9CDD6;
	margin-top: 0;
	padding: 64px 0 0;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 48px;
}

.footer-title {
	color: var(--lc-white);
	font-size: 16.5px;
	margin-bottom: 18px;
	padding-bottom: 10px;
	border-bottom: 3px solid var(--lc-yellow);
	display: table;
}

.footer-about p { font-size: 14.5px; line-height: 1.75; }

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; font-size: 14.5px; }
.footer-links a { color: #C9CDD6; }
.footer-links a:hover { color: var(--lc-yellow); }

.footer-social { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--lc-white);
	transition: background .18s ease, color .18s ease, transform .18s ease;
}
.footer-social a:hover {
	background: var(--lc-yellow);
	color: var(--lc-ink);
	transform: translateY(-2px);
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 22px 0;
	text-align: center;
	font-size: 14px;
}
.footer-bottom p { margin: 0; }

/* ---------- No results ---------- */
.no-results { max-width: 560px; }
.no-results .search-form { margin-top: 20px; }

/* ==============================================================
   Responsive breakpoints
   ============================================================== */

/* Tablet ≤ 1024px */
@media (max-width: 1024px) {
	.page-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }

	/* Sidebar drops below content */
	.sidebar { margin-top: 56px; }

	.posts-grid--3,
	.page-layout .posts-grid--3 { grid-template-columns: repeat(2, 1fr); }

	.post-row-thumb { width: 230px; }

	.footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile ≤ 768px */
@media (max-width: 768px) {
	body { font-size: 16px; }

	.header-top-inner { min-height: 62px; gap: 14px; }

	.header-search-mobile {
		max-height: 90px;
		overflow: hidden;
		transition: max-height .3s ease, opacity .25s ease;
	}
	.site-header.is-scrolled .header-search-mobile {
		max-height: 0;
		opacity: 0;
		padding-top: 0;
		padding-bottom: 0;
		border-top-color: transparent;
	}

	/* Hide the desktop search pill; show the mobile search row instead */
	.header-search-bar { display: none; }
	.header-search-mobile { display: block; }

	.menu-toggle { display: inline-flex; }

	.site-logo-text { font-size: 22px; }

	/* Category strip becomes a slide-down panel from the hamburger */
	.main-navigation {
		display: none;
		border-top: 1px solid var(--lc-border);
		box-shadow: 0 16px 32px rgba(22, 24, 29, 0.12);
		padding: 8px 0 14px;
	}
	.main-navigation.is-open { display: block; }

	.nav-menu { flex-direction: column; align-items: stretch; gap: 2px; overflow: visible; }
	.nav-menu a {
		padding: 12px 14px;
		font-size: 16px;
		color: var(--lc-ink);
		border-bottom: none;
		border-left: 3px solid transparent;
	}
	.nav-menu > li > a:hover,
	.nav-menu > li.current-menu-item > a,
	.nav-menu > li.current-cat > a {
		border-bottom-color: transparent;
		border-left-color: var(--lc-yellow);
		background: var(--lc-yellow-tint);
	}

	.nav-menu ul {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: none;
		border-left: 3px solid var(--lc-yellow);
		border-radius: 0;
		margin: 0 0 0 14px;
		padding: 0 0 0 6px;
	}

	.hero { padding: 52px 0 44px; }

	.featured-grid { grid-template-columns: 1fr; gap: 24px; }
	.featured-body { padding: 20px 22px 24px; }
	.featured-title { font-size: 21px; }

	.posts-grid,
	.posts-grid--2,
	.posts-grid--3,
	.page-layout .posts-grid--3 { grid-template-columns: 1fr; }

	.post-row { flex-direction: column; gap: 0; }
	.post-row-thumb { width: 100%; aspect-ratio: 16 / 9; }
	.post-row-body { padding: 18px 20px 20px; }
	.post-row-title { font-size: 19px; }

	.related-grid { grid-template-columns: 1fr; }

	.entry-content { font-size: 17px; }
	.entry-content h2 { font-size: 25px; }
	.entry-content h3 { font-size: 20px; }

	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.site-footer { padding-top: 48px; }

	.comment-list .children { padding-left: 16px; }
}

/* Small mobile ≤ 420px */
@media (max-width: 420px) {
	.container { padding: 0 18px; }
	.share-buttons { gap: 8px; }
	.share-btn { padding: 6px 12px; font-size: 13px; }
}
