/*
Theme Name: Lblog
Theme URI: https://example.com/lblog
Author: Lblog
Description: A clean, fast news/blog theme with a trending ticker, hero grid, category blocks, sticky sidebar, dark footer and full Customizer control. Inspired by magazine-style layouts.
Version: 1.0.10
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lblog
Tags: blog, news, two-columns, right-sidebar, custom-menu, custom-logo, featured-images, theme-options, threaded-comments, translation-ready
*/

:root {
	--lb-main: #dd3333;
	--lb-grad-a: #e40666;
	--lb-grad-b: #3c3fde;
	--lb-text: #2b2b2b;
	--lb-muted: #777;
	--lb-border: #ececec;
	--lb-dark: #0b0b0d;
	--lb-wrap: 1200px;
	--lb-font: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
	margin: 0;
	font-family: var(--lb-font);
	font-size: 15px;
	line-height: 1.6;
	color: var(--lb-text);
	background: #f3f3f3;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--lb-main); text-decoration: none; transition: color .2s; }
a:hover { color: #000; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; line-height: 1.25; font-weight: 700; color: #111; }

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

/* ---------- Layout ---------- */
.main-wrap {
	max-width: var(--lb-wrap);
	margin: 0 auto;
	background: #fff;
	box-shadow: 0 0 25px rgba(0,0,0,.06);
}
.wrap { padding: 0 35px; }
.ts-contain { padding-left: 35px; padding-right: 35px; }

.main { padding: 25px 35px 45px; }
.ts-row { display: flex; gap: 40px; align-items: flex-start; }
.main-content { flex: 1 1 0; min-width: 0; }
.main-sidebar { flex: 0 0 33%; max-width: 33%; border-left: 1px solid var(--lb-border); padding-left: 35px; }
.main-sidebar .inner { position: sticky; top: 90px; }
body.no-sidebar .main-sidebar { display: none; }

/* ---------- Header ---------- */
.lb-head-top {
	background: #000;
	color: #fff;
	border-bottom: 3px solid transparent;
	border-image: linear-gradient(90deg, var(--lb-grad-a) 0%, var(--lb-grad-b) 100%) 1;
}
.lb-head-top .inner { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 20px; }

.trending-ticker { display: flex; align-items: center; gap: 15px; min-width: 0; font-size: 13px; }
.trending-ticker .heading { text-transform: uppercase; color: var(--lb-main); font-size: 12px; letter-spacing: .03em; flex: none; }
.trending-ticker ul { position: relative; height: 22px; overflow: hidden; min-width: 0; flex: 1; }
.trending-ticker li { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trending-ticker li.active { opacity: 1; }
.trending-ticker a { color: #fff; }

.lb-social { display: flex; gap: 6px; }
.lb-social a {
	width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center;
	color: #fff; font-size: 11px; font-weight: 700; border-radius: 50%; background: rgba(255,255,255,.08);
}
.lb-social a:hover { background: var(--lb-main); color: #fff; }
.lb-social svg { width: 13px; height: 13px; fill: currentColor; }

.lb-head-mid { background: #fff; border-bottom: 1px solid #efefef; }
.lb-head-mid .inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.lb-logo { display: inline-flex; align-items: center; }
.lb-logo img { max-height: 48px; width: auto; }
.lb-logo .site-title { margin: 0; font-size: 26px; font-weight: 800; color: #111; letter-spacing: -.02em; }
.lb-logo .site-title span { background: var(--lb-main); color: #fff; padding: 2px 8px; margin-right: 3px; }
.site-description { margin: 0; font-size: 12px; color: var(--lb-muted); }

.lb-head-right { display: flex; align-items: center; gap: 15px; }
.navigation-main .menu { display: flex; align-items: center; }
.navigation-main .menu > li { position: relative; }
.navigation-main .menu > li > a {
	display: block; padding: 0 15px; line-height: 70px; font-size: 15.4px; font-weight: 500;
	letter-spacing: .01em; color: #111; position: relative;
}
.navigation-main .menu > li > a::before {
	content: ""; position: absolute; left: 15px; right: 15px; bottom: 18px; height: 2px;
	background: var(--lb-main); transform: scaleX(0); transition: transform .25s;
}
.navigation-main .menu > li:hover > a::before,
.navigation-main .menu > li.current-menu-item > a::before,
.navigation-main .menu > li.current-menu-parent > a::before { transform: scaleX(1); }

.navigation-main .sub-menu {
	position: absolute; left: 0; top: 100%; min-width: 200px; background: #fff;
	box-shadow: 0 6px 18px rgba(0,0,0,.12); padding: 8px 0; opacity: 0; visibility: hidden;
	transform: translateY(8px); transition: all .2s; z-index: 50;
}
.navigation-main li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.navigation-main .sub-menu a { display: block; padding: 8px 18px; color: #111; font-size: 14px; }
.navigation-main .sub-menu a:hover { background: #f6f6f6; color: var(--lb-main); }

.search-icon { background: none; border: 0; cursor: pointer; padding: 6px; color: #111; display: inline-flex; }
.search-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.search-icon:hover { color: var(--lb-main); }

.offcanvas-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.offcanvas-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; }

.lb-head-mobile { display: none; background: #000; color: #fff; border-top: 3px solid transparent; border-image: linear-gradient(90deg, var(--lb-grad-a), var(--lb-grad-b)) 1; }
.lb-head-mobile .inner { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 18px; }
.lb-head-mobile .search-icon { color: #fff; }
.lb-head-mobile .lb-logo img { max-height: 34px; }
.lb-head-mobile .lb-logo .site-title { color: #fff; font-size: 20px; }

.lb-sticky { position: sticky; top: 0; z-index: 60; }
body.admin-bar .lb-sticky { top: 32px; }

/* Off-canvas */
.off-canvas-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.6); opacity: 0; visibility: hidden; transition: .3s; z-index: 998; }
.off-canvas {
	position: fixed; top: 0; left: 0; bottom: 0; width: 300px; max-width: 85vw; background: #111; color: #fff;
	transform: translateX(-100%); transition: transform .3s; z-index: 999; overflow-y: auto; padding: 20px;
}
body.off-canvas-open .off-canvas { transform: none; }
body.off-canvas-open .off-canvas-backdrop { opacity: 1; visibility: visible; }
.off-canvas .close { color: #fff; font-size: 28px; line-height: 1; display: inline-block; margin-bottom: 20px; }
.mobile-menu a { display: block; padding: 11px 0; color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); font-weight: 500; }
.mobile-menu .sub-menu { padding-left: 14px; }
.off-canvas .lb-social { margin-top: 24px; }

/* Search modal */
.search-modal-wrap { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 1000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: .25s; }
.search-modal-wrap.open { opacity: 1; visibility: visible; }
.search-modal-box { width: 90%; max-width: 700px; color: #fff; text-align: center; }
.search-modal-box .search-field { width: 100%; background: transparent; border: 0; border-bottom: 2px solid #fff; color: #fff; font-size: 30px; padding: 12px 0; outline: none; }
.search-modal-box .message { color: #aaa; font-size: 13px; margin-top: 14px; }

/* Breadcrumbs */
.breadcrumbs { font-size: 11px; color: var(--lb-muted); padding: 14px 35px; max-width: var(--lb-wrap); margin: 0 auto; background: #fff; }
.breadcrumbs a { color: var(--lb-muted); }
.breadcrumbs a:hover { color: var(--lb-main); }
.breadcrumbs .delim { margin: 0 7px; }
.breadcrumbs .current { color: #333; }

/* ---------- Block heads ---------- */
.block-head { margin: 0 0 20px; }
.block-head .heading { margin: 0; }
.block-head-e .heading { font-size: 15px; font-weight: 700; padding-left: 10px; border-left: 4px solid var(--lb-main); text-transform: none; line-height: 1.1; }
.block-head-e3 .heading { font-size: 17px; }
.widget-title.block-head-g,
.widget-title.block-head-b { background: #000; color: #fff; padding: 9px 14px; margin: 0 0 18px; }
.widget-title .heading { color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; margin: 0; }
.block-head-c .heading { font-size: 15px; font-weight: 700; padding-bottom: 8px; border-bottom: 2px solid var(--lb-main); display: inline-block; }
.block-head-c { border-bottom: 1px solid var(--lb-border); }

/* ---------- Posts ---------- */
.media { position: relative; overflow: hidden; background: #eee; }
.media-ratio { display: block; position: relative; padding-bottom: 66.66%; }
.media-ratio.ratio-16-9 { padding-bottom: 56.25%; }
.media-ratio.ratio-4-3 { padding-bottom: 75%; }
.media-ratio.ratio-1-1 { padding-bottom: 100%; }
.media-ratio.ratio-3-2 { padding-bottom: 66.66%; }
.media-ratio img,
.media-ratio .img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.l-post:hover .media-ratio img { transform: scale(1.05); }
.media-placeholder { background: linear-gradient(135deg,#f0f0f0,#e2e2e2); }

.cat-labels { position: absolute; left: 0; bottom: 0; z-index: 3; }
.cat-labels a, .meta-cat a {
	display: inline-block; background: var(--lb-main); color: #fff; font-size: 11px; font-weight: 600;
	text-transform: uppercase; padding: 3px 9px; letter-spacing: .02em; line-height: 1.5;
}
.cat-labels a:hover { background: #000; color: #fff; }

.post-title { font-size: 18px; margin-bottom: 8px; font-weight: 700; }
.post-title a { color: #111; }
.post-title a:hover { color: var(--lb-main); }
.post-meta-items { font-size: 12px; color: var(--lb-muted); display: flex; flex-wrap: wrap; gap: 0 12px; align-items: center; }
.post-meta-items a { color: #444; font-weight: 500; }
.post-meta-items a:hover { color: var(--lb-main); }
.meta-item + .meta-item.has-sep::before { content: "—"; margin-right: 12px; opacity: .5; }
.excerpt { color: #555; font-size: 14px; margin-top: 10px; }
.excerpt p { margin: 0; }

.loop-grid { display: grid; gap: 30px 25px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-1 { grid-template-columns: 1fr; }
.grid-post .content { padding-top: 14px; }
.grid-post .post-title { font-size: 19px; }

.loop-list { display: grid; gap: 22px; }
.list-post { display: flex; gap: 22px; align-items: center; }
.list-post .media { flex: 0 0 36%; max-width: 36%; }
.list-post .content { flex: 1; min-width: 0; }
.list-post .post-title { font-size: 17px; }
.list-post-nomedia .content { flex: 1; }

.loop-sep .l-post + .l-post { border-top: 1px solid var(--lb-border); padding-top: 18px; }
.list-card-post { border-bottom: 0; }

/* Overlay grid */
.grid-overlay { position: relative; overflow: hidden; }
.grid-overlay .media-ratio { padding-bottom: 75%; }
.grid-overlay .content-wrap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 16px; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.grid-overlay .post-title { margin: 6px 0; font-size: 17px; }
.grid-overlay .post-title a, .grid-overlay .post-meta-items, .grid-overlay .post-meta-items a { color: #fff; }
.grid-overlay .meta-cat { margin-bottom: 4px; }
.grid-overlay .meta-cat a { position: static; }

/* Feature hero */
.feat-hero { position: relative; overflow: hidden; margin-bottom: 25px; }
.feat-hero .media-ratio { padding-bottom: 66%; }
.feat-hero .content-wrap { position: absolute; left: 0; right: 0; bottom: 0; padding: 25px; z-index: 4; background: linear-gradient(transparent, rgba(0,0,0,.8)); }
.feat-hero .post-title { font-size: 28px; }
.feat-hero .post-title a { background: #fff0; color: #fff; }
.feat-hero .post-meta-items, .feat-hero .post-meta-items a { color: #fff; }
.feat-hero .meta-cat a { background: var(--lb-main); }

.home-block { margin-bottom: 35px; }
.home-two-col { display: flex; gap: 40px; margin-bottom: 35px; }
.home-two-col > * { flex: 1; min-width: 0; }
.home-small-list .small-post { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--lb-border); }
.home-small-list .small-post:last-child { border-bottom: 0; }
.home-small-list .media { flex: 0 0 90px; max-width: 90px; }
.home-small-list .media-ratio { padding-bottom: 100%; }

/* Small posts (sidebar/footer) */
.small-post { display: flex; gap: 14px; align-items: center; padding: 14px 0; }
.small-post:first-child { padding-top: 0; }
.small-post + .small-post { border-top: 1px solid var(--lb-border); }
.small-post .media { flex: 0 0 85px; max-width: 85px; }
.small-post .media-ratio { padding-bottom: 75%; }
.small-post .post-title { font-size: 14px; line-height: 1.35; margin-bottom: 4px; }
.small-post .post-meta-items { font-size: 11px; }
.limit-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.archive-heading { font-size: 15px; text-transform: uppercase; border-left: 4px solid var(--lb-main); padding-left: 12px; margin-bottom: 26px; }
.archive-heading span { color: #111; }
.archive-desc { margin: -10px 0 25px; color: #666; }

/* Pagination */
.main-pagination { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers {
	min-width: 32px; height: 32px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
	background: #f2f2f2; color: #111; font-size: 13px; font-weight: 600;
}
.page-numbers.current, a.page-numbers:hover { background: var(--lb-main); color: #fff; }
.page-numbers.dots { background: none; }
.load-button { display: inline-block; padding: 10px 28px; border: 1px solid #ddd; font-weight: 600; font-size: 13px; text-transform: uppercase; color: #111; background: #fff; cursor: pointer; }
.load-button:hover { background: var(--lb-main); border-color: var(--lb-main); color: #fff; }
.load-wrap { text-align: center; margin-top: 30px; }

/* ---------- Single ---------- */
.the-post-header .meta-above { margin-bottom: 12px; }
.the-post-header .cat-labels { position: static; }
.the-post-header .post-title { font-size: 34px; line-height: 1.2; margin-bottom: 14px; }
.post-meta-single .post-meta-items { font-size: 13px; }
.post-meta-single .avatar { border-radius: 50%; margin-right: 8px; display: inline-block; vertical-align: middle; }
.post-meta-single .post-author { display: inline-flex; align-items: center; }

.post-share { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0; }
.post-share a { display: inline-flex; align-items: center; justify-content: center; padding: 8px 16px; color: #fff; font-size: 13px; font-weight: 600; flex: 1 1 0; min-width: 90px; }
.post-share .s-facebook { background: #3b5998; }
.post-share .s-twitter { background: #1da1f2; }
.post-share .s-pinterest { background: #cb2027; }
.post-share .s-linkedin { background: #0077b5; }
.post-share .s-email { background: #777; }
.post-share a:hover { opacity: .85; color: #fff; }

.single-featured { margin-bottom: 25px; }
.single-featured img { width: 100%; }
.wp-caption-text, .featured-caption { font-size: 12px; color: var(--lb-muted); margin-top: 8px; font-style: italic; }

.entry-content { font-size: 16px; line-height: 1.75; color: #333; }
.entry-content p { margin: 0 0 1.3em; }
.entry-content h2 { font-size: 25px; margin: 1.6em 0 .6em; }
.entry-content h3 { font-size: 21px; margin: 1.5em 0 .6em; }
.entry-content h4 { font-size: 18px; margin: 1.4em 0 .5em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.3em 1.4em; padding: 0; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: .5em; }
.entry-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--lb-main); font-size: 1.1em; font-style: italic; color: #444; }
.entry-content img { margin: 1em auto; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.4em; }
.entry-content th, .entry-content td { border: 1px solid var(--lb-border); padding: 9px 12px; text-align: left; }
.entry-content th { background: #f6f6f6; }
.entry-content pre { background: #111; color: #eee; padding: 16px; overflow: auto; border-radius: 4px; }
.entry-content a { text-decoration: underline; }
.alignleft { float: left; margin: .4em 1.4em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.4em; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.page-links { margin: 20px 0; font-weight: 600; }

.the-page-heading { font-size: 34px; margin-bottom: 20px; }

.post-tags { margin: 28px 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.post-tags a { background: #f2f2f2; color: #333; padding: 4px 12px; font-size: 12px; }
.post-tags a:hover { background: var(--lb-main); color: #fff; }

.post-nav { display: flex; gap: 20px; margin: 30px 0; border-top: 1px solid var(--lb-border); border-bottom: 1px solid var(--lb-border); padding: 18px 0; }
.post-nav > div { flex: 1; min-width: 0; }
.post-nav .next { text-align: right; }
.post-nav .label { display: block; font-size: 11px; text-transform: uppercase; color: var(--lb-muted); margin-bottom: 4px; }
.post-nav a { font-weight: 600; color: #111; }
.post-nav a:hover { color: var(--lb-main); }

.author-box { background: #f7f7f7; padding: 22px; margin: 32px 0; }
.author-info { display: flex; gap: 20px; align-items: flex-start; }
.author-info .avatar { border-radius: 50%; flex: none; }
.author-info .description a { font-weight: 700; font-size: 17px; color: #111; }
.author-info .bio { margin: 6px 0 0; color: #666; font-size: 14px; }

.related-posts { margin: 38px 0; }
.related-posts .grid-3 .post-title { font-size: 14px; }
.related-posts .grid-3 .content { padding-top: 10px; }

/* Comments */
.comments { margin-top: 40px; }
.comment-reply-title, .comments-title { font-size: 15px; text-transform: uppercase; border-left: 4px solid var(--lb-main); padding-left: 10px; margin-bottom: 22px; }
.comment-list { margin: 0 0 30px; }
.comment-list .children { margin-left: 30px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--lb-border); }
.comment-author .avatar { float: left; margin-right: 12px; border-radius: 50%; }
.comment-meta { font-size: 12px; color: var(--lb-muted); }
.comment-content { margin-top: 10px; clear: both; }
.reply a { font-size: 12px; font-weight: 700; text-transform: uppercase; }
.comment-form textarea, .comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url] {
	width: 100%; padding: 12px 14px; border: 1px solid #ddd; font: inherit; background: #fff;
}
.comment-form textarea:focus, .comment-form input:focus { outline: none; border-color: #111; }
.comment-form .form-field, .comment-form p { margin: 0 0 14px; }
.comment-form .form-field { display: inline-block; width: calc(33.33% - 8px); margin-right: 8px; vertical-align: top; }
.comment-form .comment-form-url { margin-right: 0; }
.form-submit .submit, .btn, button.btn, input[type=submit] {
	background: #111; color: #fff; border: 0; padding: 12px 24px; font-weight: 700; font-size: 13px; text-transform: uppercase; cursor: pointer;
}
.form-submit .submit:hover, input[type=submit]:hover { background: var(--lb-main); }

/* Forms / widgets */
.widget { margin-bottom: 35px; }
.widget_search .search-form { display: flex; }
.widget_search .search-field, .search-form .search-field { flex: 1; border: 1px solid #ddd; padding: 11px 14px; font: inherit; min-width: 0; }
.search-submit { background: var(--lb-main); color: #fff; border: 0; padding: 0 20px; font-weight: 700; font-size: 12px; text-transform: uppercase; cursor: pointer; }
.search-submit:hover { background: #000; }
.widget ul li { padding: 7px 0; border-bottom: 1px solid var(--lb-border); }
.widget ul li:last-child { border-bottom: 0; }
.widget a { color: #222; }
.widget a:hover { color: var(--lb-main); }

.wpcf7-form p, .lb-contact p { margin-bottom: 18px; }
.wpcf7-form input[type=text], .wpcf7-form input[type=email], .wpcf7-form textarea { width: 100%; max-width: 100%; padding: 11px 14px; border: 1px solid #ddd; background: #f9f9f9; font: inherit; }
.wpcf7-form input[type=submit] { background: var(--lb-main); }

/* ---------- Footer ---------- */
.main-footer { background: var(--lb-dark); color: #fff; border-top: 5px solid; border-image: linear-gradient(135deg, var(--lb-main), #000) 1; margin-top: 0; }
.upper-footer { padding: 55px 35px 40px; }
.upper-footer .widgets { display: flex; gap: 40px; }
.upper-footer .widget { flex: 1; min-width: 0; margin-bottom: 0; }
.upper-footer .widget-title { background: none; padding: 0; margin: 0 0 22px; }
.upper-footer .widget-title .heading { font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.upper-footer a { color: var(--lb-main); }
.upper-footer a:hover { color: #fff; }
.upper-footer .small-post .post-title a { color: #fff; }
.upper-footer .small-post .post-title a:hover { color: var(--lb-main); }
.upper-footer .small-post + .small-post { border-top-color: rgba(255,255,255,.1); }
.upper-footer .post-meta-items { color: #aaa; }
.upper-footer .widget ul li { border-color: rgba(255,255,255,.1); }
.upper-footer .widget a { color: #fff; }
.upper-footer .widget a:hover { color: var(--lb-main); }
.footer-logo img { max-width: 230px; margin-bottom: 18px; }
.footer-about { font-size: 14px; color: #ddd; }
.upper-footer .lb-social { margin-top: 20px; }
.upper-footer .lb-social a { width: 32px; height: 32px; background: rgba(255,255,255,.1); }

.lower-footer { background: #000; padding: 28px 35px; text-align: center; font-size: 12.5px; color: #fff; }
.lower-footer .menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 18px; }
.lower-footer .menu a { color: #c4c4c4; text-transform: uppercase; font-weight: 700; font-size: 12px; letter-spacing: .03em; }
.lower-footer .menu a:hover { color: #fff; }
.copyright a { color: var(--lb-main); }

.error-404 { text-align: center; padding: 70px 0; }
.error-404 h1 { font-size: 90px; color: var(--lb-main); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.navigation-main .menu > li > a { padding: 0 10px; font-size: 14px; }
}
@media (max-width: 940px) {
	.lb-head-main { display: none; }
	.lb-head-mobile { display: block; }
	.offcanvas-toggle { display: block; }
	.wrap, .main, .upper-footer, .lower-footer { padding-left: 20px; padding-right: 20px; }
	.breadcrumbs { padding: 12px 20px; }
	.ts-row { flex-direction: column; gap: 35px; }
	.main-sidebar { flex: 1 1 100%; max-width: 100%; border-left: 0; padding-left: 0; width: 100%; }
	.main-sidebar .inner { position: static; }
	.upper-footer .widgets { flex-direction: column; }
	.home-two-col { flex-direction: column; gap: 35px; }
	.the-post-header .post-title, .the-page-heading { font-size: 27px; }
	.feat-hero .post-title { font-size: 22px; }
}
@media (max-width: 600px) {
	.grid-2, .grid-3 { grid-template-columns: 1fr; }
	.list-post { flex-direction: column; align-items: stretch; gap: 12px; }
	.list-post .media { flex: none; max-width: 100%; }
	.post-nav { flex-direction: column; }
	.post-nav .next { text-align: left; }
	.comment-form .form-field { width: 100%; margin-right: 0; display: block; }
	.related-posts .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Additions ---------- */
.has-sticky .lb-sticky { position: sticky; top: 0; z-index: 60; }
.has-sticky.admin-bar .lb-sticky { top: 32px; }
.lb-sticky { position: static; }
@media (max-width: 782px) { .has-sticky.admin-bar .lb-sticky { top: 46px; } }
.lb-head-mobile { border-top: 0; border-image: none; }
.copyright .site-name { color: var(--lb-main); }
.s-tumblr { background: #35465c; }
.upper-footer .widget-title.block-head-g { background: none; }
.upper-footer .widget_search .search-field { background: #fff; }

.hero-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; margin-bottom: 38px; min-height: 440px; }
.hero-grid .grid-overlay { min-height: 215px; }
.hero-grid .grid-overlay:first-child { grid-row: 1 / 3; grid-column: 1; }
.hero-grid .grid-overlay .media { position: absolute; inset: 0; }
.hero-grid .grid-overlay .media-ratio { padding-bottom: 0; height: 100%; }
.hero-grid .grid-overlay .content-wrap { pointer-events: none; }
.hero-grid .grid-overlay .content-wrap a { pointer-events: auto; }
.hero-grid .grid-overlay .cat-labels { position: static; }
.hero-grid .grid-overlay .post-title { font-size: 15px; line-height: 1.3; }
.hero-grid .grid-overlay:first-child .post-title { font-size: 26px; }
.hero-grid .grid-overlay .excerpt { display: none; }
.hero-grid .grid-overlay .post-meta-items { font-size: 11px; }
@media (max-width: 940px) {
	.hero-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; min-height: 0; }
	.hero-grid .grid-overlay:first-child { grid-column: 1 / 3; grid-row: auto; min-height: 280px; }
}
@media (max-width: 600px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-grid .grid-overlay:first-child { grid-column: auto; }
	.hero-grid .grid-overlay:first-child .post-title { font-size: 21px; }
}
.comment-form-author, .comment-form-email, .comment-form-url { display: inline-block; width: calc(33.33% - 8px); margin-right: 8px; vertical-align: top; }
.comment-form-url { margin-right: 0; }
.comment-form label { display: block; font-size: 13px; margin-bottom: 4px; }
.comment-form-cookies-consent label { display: inline; }
.comment-form-cookies-consent input { width: auto; margin-right: 6px; }
@media (max-width: 600px) { .comment-form-author, .comment-form-email, .comment-form-url { display: block; width: 100%; margin-right: 0; } }
.upper-footer .widget_lblog_posts .media { flex-basis: 85px; }

/* ---------- Fixes ---------- */
.trending-ticker { flex: 1 1 auto; min-width: 0; }
.trending-ticker ul { width: 100%; }
.lb-head-top .lb-social { flex: none; }
.lb-logo-wrap { flex: none; }
.lb-logo .site-title, .lb-logo .site-title a { white-space: nowrap; }
.lb-logo .site-title a { color: #111; }
.lb-head-right { min-width: 0; }
.navigation-main .menu { flex-wrap: nowrap; }
.navigation-main .menu > li > a { white-space: nowrap; }
.hero-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
.hero-grid .grid-overlay .post-title,
.post-title { overflow-wrap: anywhere; word-break: normal; hyphens: auto; }
.hero-grid .grid-overlay:first-child .post-title { font-size: clamp(20px, 2.2vw, 26px); }
.hero-grid .grid-overlay:not(:first-child) .post-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-grid .grid-overlay:not(:first-child) .post-meta-items .date { display: none; }
.hero-grid .grid-overlay:not(:first-child) .content-wrap { padding: 10px; }
.main-content, .main-sidebar, .loop-grid > *, .loop-list > * { min-width: 0; }
.list-post .media { align-self: flex-start; }
@media (max-width: 940px) {
	.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.hero-grid { grid-template-columns: minmax(0, 1fr); }
}
.upper-footer .footer-col { flex: 1 1 0; min-width: 0; }
.upper-footer .footer-col:last-child { flex: 1.3 1 0; }
@media (max-width: 940px) { .upper-footer .footer-col, .upper-footer .footer-col:last-child { flex: none; width: 100%; } }

/* ---------- v1.0.2 layout (matches original) ---------- */
.lb-head-right { flex: 1; margin-left: 30px; justify-content: space-between; }
.hero-main { margin-bottom: 22px; }
.hero-main .grid-overlay .media-ratio { padding-bottom: 58%; }
.hero-main .grid-overlay .content-wrap { padding: 28px 25px; }
.hero-main .grid-overlay .post-title { font-size: clamp(20px, 2.4vw, 30px); line-height: 1.2; }
.hero-sub { margin-bottom: 40px; gap: 22px; }
.hero-sub .grid-post .post-title { font-size: 14.5px; margin-bottom: 6px; }
.hero-sub .grid-post .content { padding-top: 10px; }
.hero-sub .excerpt { display: none; }
.grid-overlay .cat-labels { position: static; margin-bottom: 8px; }
.grid-overlay .content-wrap { pointer-events: none; }
.grid-overlay .content-wrap a { pointer-events: auto; }
.grid-overlay .post-title { overflow: visible; display: block; }

.block-feature { margin-top: 20px; }
.feature-post .media { flex: 0 0 50%; max-width: 50%; }
.feature-post .post-title { font-size: 22px; }
.feature-post .read-more { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--lb-main); }
.block-overlay { margin-top: 20px; gap: 22px; }
.small-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 18px; }
.small-grid .small-post { padding: 14px 0; border-top: 0; border-bottom: 1px solid var(--lb-border); }
.small-grid .small-post:first-child { padding-top: 14px; }
.small-grid .small-post .media { flex: 0 0 72px; max-width: 72px; }
.small-grid .small-post .media-ratio { padding-bottom: 100%; }
.small-grid .small-post .post-title { font-size: 14px; }
.home-block-1, .home-block-2, .home-block-3 { margin-bottom: 40px; }
@media (max-width: 600px) {
	.small-grid { grid-template-columns: minmax(0, 1fr); }
	.feature-post { flex-direction: column; align-items: stretch; }
	.feature-post .media { flex: none; max-width: 100%; }
}
.widget .search-form, .main-sidebar .search-form { display: flex; }
.small-grid .post-meta-items { gap: 0 10px; }

/* Footer links bar (matches original) */
.lower-footer { background: #000; padding: 42px 35px 40px; text-align: center; }
.lower-footer .menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; margin: 0 0 24px; }
.lower-footer .menu a { color: #c4c4c4; text-transform: uppercase; font-weight: 700; font-size: 13.5px; letter-spacing: .05em; line-height: 1.4; }
.lower-footer .menu a:hover { color: #fff; }
.lower-footer .copyright { font-size: 13px; color: #fff; }
.lower-footer .copyright .site-name { color: var(--lb-main); }

/* ---------- Full-width layout (default) ---------- */
.layout-full { background: #fff; }
.layout-full .main-wrap { max-width: none; box-shadow: none; background: #fff; }
.layout-full .ts-contain,
.layout-full .main,
.layout-full .breadcrumbs,
.layout-full .upper-footer,
.layout-full .lower-footer {
	padding-left: max(35px, calc((100% - 1130px) / 2));
	padding-right: max(35px, calc((100% - 1130px) / 2));
}
.layout-full .breadcrumbs { max-width: none; margin: 0; }
@media (max-width: 940px) {
	.layout-full .ts-contain,
	.layout-full .main,
	.layout-full .breadcrumbs,
	.layout-full .upper-footer,
	.layout-full .lower-footer { padding-left: 20px; padding-right: 20px; }
}
