/*
Theme Name: IndYouth Blog
Theme URI: https://www.youtube.com/@indyouth-com
Author: IndYouth
Description: A modern Blogsy-style news and blog theme: gradient top bar with live clock, header with social icons, dark-mode switch and Subscribe button, scrolling news ticker, hero slider with thumbnails, card grid and sidebar. Social links and colours are editable in Appearance > Customize.
Version: 2.0.0
Requires at least: 5.5
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: indyouth-blog
Tags: blog, news, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ---------- Tokens ---------- */
:root {
	--accent: #1d63e9;
	--ink: #111827;
	--text: #374151;
	--muted: #6b7280;
	--line: #e5e7eb;
	--soft: #f3f4f8;
	--bg: #ffffff;
	--radius: 18px;
	--font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--wrap: 1280px;
}
[data-theme="dark"] {
	--ink: #f3f4f6;
	--text: #cbd0d9;
	--muted: #98a0ae;
	--line: #272b35;
	--soft: #171a21;
	--bg: #0e1014;
	color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::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-body); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased;
	transition: background .25s ease, color .25s ease;
}
img, video, iframe { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1.25em; }
ul, ol { padding-left: 1.2em; }
button { font-family: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.screen-reader-text {
	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;
}
.skip-link:focus { clip: auto; clip-path: none; background: var(--ink); color: var(--bg); height: auto; width: auto; left: 12px; top: 12px; padding: 10px 16px; z-index: 999; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Social icons ---------- */
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.social li { margin: 0; }
.social a {
	display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%;
	border: 1px solid var(--line); color: var(--ink); background: var(--bg); transition: all .2s ease;
}
.social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.social--footer a { border-color: rgba(255,255,255,.25); color: #fff; background: transparent; }

/* ---------- Top bar ---------- */
.topbar { background: linear-gradient(90deg, #2563eb 0%, #7c5cbf 55%, #e5527c 100%); color: #fff; font-size: 15px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 16px; }
.topbar__date { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; }
.topbar svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.topbar__promo { display: inline-flex; align-items: center; gap: 10px; }
.topbar__promo a { color: #fff; }
.topbar__promo a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar__promo strong { font-weight: 700; }

/* ---------- Header ---------- */
.site-header { background: var(--bg); position: relative; z-index: 50; }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: 92px; }
.branding { flex: none; }
.site-title { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1; margin: 0; }
.site-title a { color: var(--ink); }
.site-title a:hover { color: var(--accent); }
.custom-logo { max-height: 56px; width: auto; display: block; }
.main-nav { flex: 1; min-width: 0; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.menu li { position: relative; margin: 0; }
.menu a { display: block; padding: 10px 14px; font-size: 17px; font-weight: 500; color: var(--ink); }
.menu a:hover, .menu .current-menu-item > a, .menu .current_page_item > a, .menu .current-menu-ancestor > a { color: var(--accent); }
.menu .current-menu-item > a, .menu .current_page_item > a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.menu .sub-menu {
	list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 220px;
	background: var(--bg); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.12);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s ease; z-index: 60;
}
.menu li:hover > .sub-menu, .menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.menu .sub-menu a { padding: 9px 18px; font-size: 15px; }
.menu-social { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header-social .social a { width: 46px; height: 46px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.icon-btn { background: none; border: 0; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: var(--soft); color: var(--accent); }
.icon-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-toggle { display: none; }

.theme-toggle {
	width: 88px; height: 46px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line);
	position: relative; cursor: pointer; padding: 0; flex: none;
}
.theme-toggle__knob {
	position: absolute; left: 4px; top: 4px; width: 36px; height: 36px; border-radius: 50%; background: var(--bg);
	display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,.18);
	transition: transform .25s ease; color: var(--ink);
}
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-moon { display: block; }
[data-theme="dark"] .theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle__knob { transform: translateX(42px); }

.btn-subscribe {
	display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: #fff; font-weight: 600; font-size: 17px;
	padding: 12px 26px; border-radius: 999px; line-height: 1.2; white-space: nowrap; transition: filter .2s ease, transform .2s ease;
}
.btn-subscribe:hover { color: #fff; filter: brightness(1.1); transform: translateY(-1px); }
.btn-subscribe svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.search-panel { display: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); padding: 18px 0; }
.search-panel.is-open { display: block; }

/* ---------- Search form & buttons ---------- */
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-field { width: 100%; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: var(--bg); color: var(--ink); }
.search-field:focus { border-color: var(--accent); outline: none; }
.search-submit, .button, .wp-block-button__link, input[type="submit"] {
	background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 12px 24px; font: inherit; font-weight: 600; cursor: pointer; transition: filter .2s ease;
}
.search-submit:hover, .button:hover, input[type="submit"]:hover { filter: brightness(1.1); color: #fff; }

/* ---------- News ticker ---------- */
.ticker { display: flex; align-items: center; gap: 22px; border-bottom: 1px solid var(--line); padding: 16px 0; overflow: hidden; }
.ticker__label {
	flex: none; display: inline-flex; align-items: center; gap: 12px; background: #1b2138; color: #fff;
	border-radius: 999px; padding: 8px 22px 8px 8px; font-weight: 600; font-size: 18px; line-height: 1;
}
.ticker__label i { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.ticker__label i::after { content: ''; width: 15px; height: 15px; border-radius: 50%; background: #fff; }
.ticker__track { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
.ticker__inner { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker:hover .ticker__inner { animation-play-state: paused; }
.ticker__group { display: flex; flex: none; }
.ticker__item { display: inline-flex; align-items: center; gap: 12px; padding-right: 44px; white-space: nowrap; font-size: 17px; color: var(--text); }
.ticker__item strong { color: var(--ink); font-weight: 700; }
.ticker__thumb { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: var(--soft); flex: none; border: 2px solid var(--line); }
.ticker__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Layout ---------- */
.site-content { padding-top: 28px; padding-bottom: 70px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.layout--full { grid-template-columns: minmax(0, 1fr); }

/* ---------- Hero slider ---------- */
.slider { position: relative; border-radius: 26px; overflow: hidden; margin: 0 0 60px; height: clamp(460px, 50vw, 660px); background: #12141b; isolation: isolate; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide__media, .slide__media img, .slide .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.slide .ph { background: linear-gradient(135deg, #2563eb, #7c5cbf 60%, #e5527c); }
.slide::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(8,10,16,.86) 0%, rgba(8,10,16,.4) 42%, rgba(8,10,16,.05) 75%); }
.slide__body { position: absolute; left: 44px; bottom: 40px; max-width: min(780px, 64%); z-index: 2; color: #fff; }
.slide__title { font-size: clamp(28px, 3.7vw, 54px); line-height: 1.14; margin: 20px 0 14px; color: #fff; font-weight: 800; }
.slide__title a { color: #fff; }
.slide__title a:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; }
.slide__excerpt { font-size: 18px; line-height: 1.6; margin: 0 0 20px; color: rgba(255,255,255,.92); }
.slide__meta { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; color: #fff; }
.slide__meta img { border-radius: 50%; width: 40px; height: 40px; border: 2px solid rgba(255,255,255,.7); }
.slide__meta a { color: #fff; }
.slider__thumbs { position: absolute; right: 40px; bottom: 36px; display: flex; gap: 12px; z-index: 3; }
.thumb { width: 94px; height: 84px; padding: 0; border-radius: 16px; overflow: hidden; border: 3px solid rgba(255,255,255,.35); opacity: .85; cursor: pointer; background: #222; transition: all .25s ease; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb .ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #2563eb, #e5527c); }
.thumb:hover { opacity: 1; transform: translateY(-2px); }
.thumb.is-active { border-color: #fff; opacity: 1; }

/* ---------- Badges & meta ---------- */
.badge {
	display: inline-block; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600;
	letter-spacing: .04em; padding: 6px 16px; border-radius: 999px; line-height: 1.4;
}
.badge:hover { color: #fff; filter: brightness(.92); }
.slide .badge { background: rgba(255,255,255,.88); color: #1f2937; font-size: 16px; font-weight: 600; letter-spacing: 0; padding: 8px 20px; backdrop-filter: blur(6px); }
.slide .badge:hover { background: #fff; color: #1f2937; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.meta span + span::before { content: '•'; margin-right: 14px; opacity: .5; }

/* ---------- Section heading ---------- */
.section-title { display: flex; align-items: center; gap: 16px; font-size: 26px; margin-bottom: 28px; }
.section-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ---------- Card grid ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
.card { display: flex; flex-direction: column; }
.card__media { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__media .ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #dbe6ff, #f3dcf0); }
.card__body { padding-top: 18px; }
.card__badge { margin-bottom: 10px; }
.card__title { font-size: 21px; margin: 0 0 10px; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--accent); }
.card__excerpt { color: var(--muted); font-size: 15px; margin: 0 0 12px; }

/* ---------- Pagination ---------- */
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.page-numbers { min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; color: var(--ink); }
.page-numbers.current, .page-numbers:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Sidebar ---------- */
.sidebar .widget { margin-bottom: 36px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.widget-title { font-size: 18px; margin-bottom: 18px; padding-bottom: 12px; position: relative; }
.widget-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; border-radius: 3px; background: var(--accent); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.widget li:last-child { border-bottom: 0; padding-bottom: 0; }
.widget li:first-child { padding-top: 0; }
.widget--follow p { color: var(--muted); font-size: 15px; }

/* ---------- Archive header ---------- */
.archive-header { text-align: center; padding: 10px 0 44px; }
.archive-header .eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.archive-header h1 { font-size: clamp(30px, 5vw, 46px); margin: 8px 0; }
.archive-header p { color: var(--muted); max-width: 620px; margin: 0 auto; }

/* ---------- Single post ---------- */
.entry-header { text-align: center; max-width: 820px; margin: 0 auto 34px; }
.entry-header .meta { justify-content: center; }
.entry-title { font-size: clamp(30px, 5vw, 46px); margin: 16px 0; font-weight: 800; }
.post-thumb { margin: 0 0 38px; border-radius: var(--radius); overflow: hidden; }
.post-thumb img { width: 100%; display: block; }
.entry-content { max-width: 740px; margin: 0 auto; font-size: 18px; line-height: 1.85; }
.entry-content h2 { font-size: 30px; margin-top: 1.8em; }
.entry-content h3 { font-size: 24px; margin-top: 1.6em; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote { margin: 2em 0; padding: 6px 0 6px 26px; border-left: 4px solid var(--accent); font-size: 22px; line-height: 1.55; color: var(--ink); font-weight: 500; }
.entry-content pre { background: #0b0d12; color: #f3f3f6; padding: 20px; border-radius: 12px; overflow-x: auto; font-size: 14px; }
.entry-content code { background: var(--soft); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.entry-content pre code { background: none; padding: 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.alignwide { max-width: 1000px; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.page-links { margin: 2em 0; font-weight: 600; }

.entry-footer { max-width: 740px; margin: 40px auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 26px; border-top: 1px solid var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { font-size: 13px; padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; }
.tags a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.share { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }

.author-box { max-width: 740px; margin: 44px auto 0; display: flex; gap: 22px; padding: 28px; background: var(--soft); border-radius: var(--radius); }
.author-box img { border-radius: 50%; flex: none; }
.author-box h4 { margin: 0 0 6px; font-size: 18px; }
.author-box p { margin: 0; color: var(--muted); font-size: 15px; }

.post-nav { max-width: 740px; margin: 44px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-nav a { display: block; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.post-nav a:hover { border-color: var(--accent); }
.post-nav small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; margin-bottom: 4px; }
.post-nav strong { color: var(--ink); line-height: 1.35; display: block; }
.post-nav .next { text-align: right; }
.related { margin-top: 64px; }

/* ---------- Comments ---------- */
.comments-area { max-width: 740px; margin: 60px auto 0; }
.comments-title { font-size: 26px; }
.comment-list { list-style: none; margin: 0 0 40px; padding: 0; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { padding: 22px 0; border-bottom: 1px solid var(--line); }
.comment-author img { border-radius: 50%; vertical-align: middle; margin-right: 10px; }
.comment-author .fn { font-weight: 700; color: var(--ink); font-style: normal; }
.comment-metadata { font-size: 12px; color: var(--muted); margin: 4px 0 10px; }
.comment-metadata a { color: var(--muted); }
.reply a { font-size: 13px; font-weight: 600; color: var(--accent); }
.comment-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; font: inherit; margin-bottom: 14px; background: var(--bg); color: var(--ink);
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--accent); }

/* ---------- 404 / empty ---------- */
.not-found { text-align: center; padding: 60px 0; max-width: 560px; margin: 0 auto; }
.not-found .big { font-size: clamp(80px, 18vw, 160px); font-weight: 800; color: var(--accent); line-height: 1; margin: 0; }
.not-found .search-form { margin-top: 26px; }

/* ---------- Footer ---------- */
.site-footer { background: #0b0d12; color: rgba(255,255,255,.75); }
.footer-widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 60px 0 20px; }
.footer-widgets .widget-title { color: #fff; }
.footer-widgets li { border-color: rgba(255,255,255,.12); }
.footer-brand { text-align: center; padding: 56px 0 30px; }
.footer-brand .footer-title { font-size: 34px; font-weight: 800; color: #fff; margin: 0 0 18px; }
.footer-brand .social { justify-content: center; }
.footer-nav .menu { justify-content: center; padding-bottom: 10px; }
.footer-nav .menu a { color: rgba(255,255,255,.8); padding: 8px 12px; font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; text-align: center; font-size: 13px; }
.site-footer a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
	.header-social { display: none; }
	.menu-social { display: block; padding: 14px 0 4px; }
}
@media (max-width: 1100px) {
	.layout { grid-template-columns: minmax(0, 1fr); }
	.slide__body { max-width: 90%; left: 32px; bottom: 120px; }
	.slider__thumbs { left: 32px; right: auto; bottom: 28px; }
}
@media (max-width: 900px) {
	.site-header__inner { min-height: 76px; gap: 12px; justify-content: space-between; }
	.nav-toggle { display: inline-flex; }
	.main-nav { flex: none; }
	.main-nav .menu-wrap {
		display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg);
		border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 24px 18px; box-shadow: 0 18px 30px rgba(0,0,0,.1);
	}
	.main-nav.is-open .menu-wrap { display: block; }
	.menu { flex-direction: column; gap: 0; align-items: stretch; }
	.menu a { padding: 13px 0; border-bottom: 1px solid var(--line); }
	.menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 16px; }
	.header-actions { margin-left: auto; }
	.branding { order: -1; }
	.btn-subscribe { display: none; }
}
@media (max-width: 782px) {
	.topbar__promo { display: none; }
	.topbar__inner { justify-content: center; min-height: 46px; }
	.ticker { gap: 12px; }
	.ticker__label { font-size: 15px; padding-right: 16px; }
	.ticker__label i { width: 28px; height: 28px; }
	.ticker__label i::after { width: 12px; height: 12px; }
	.ticker__item { font-size: 15px; }
	.slider { height: 520px; border-radius: 20px; }
	.slide__body { left: 20px; right: 20px; max-width: none; bottom: 110px; }
	.slide__excerpt { display: none; }
	.slide__meta { font-size: 14px; }
	.slider__thumbs { left: 20px; bottom: 20px; gap: 8px; }
	.thumb { width: 60px; height: 56px; border-radius: 12px; }
	.grid { grid-template-columns: 1fr; }
	.footer-widgets { grid-template-columns: 1fr; }
	.post-nav { grid-template-columns: 1fr; }
	.author-box { flex-direction: column; text-align: center; align-items: center; }
	.entry-content { font-size: 17px; }
	.theme-toggle { width: 72px; height: 40px; }
	.theme-toggle__knob { width: 30px; height: 30px; }
	[data-theme="dark"] .theme-toggle__knob { transform: translateX(32px); }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
	.ticker__inner { animation: none; }
}
