/* Hadda — main styles. Mobile first, system fonts, no frameworks. */

/* ---------- Tokens ---------- */
:root {
	--accent: #3800d1;
	--accent-ink: var(--accent);
	--bg: #fff;
	--bg-soft: #f6f6f4;
	--text: #121212;
	--text-2: #3d3d3d;
	--muted: #707070;
	--line: #e4e4e0;
	--line-strong: #121212;
	--nav-bg: #fff;
	--nav-text: #121212;
	--ticker-bg: #f6f6f4;
	--radius: 2px;
	--wrap: 1200px;
	--gap: 24px;
	--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--font-serif: Georgia, "Iowan Old Style", "Noto Serif", "Droid Serif", "Times New Roman", serif;
	--font-head: var(--font-serif);
	color-scheme: light;
}

.hf-sans { --font-head: var(--font-body); }

[data-mode="dark"] {
	--bg: #111214;
	--bg-soft: #1b1c1f;
	--text: #ececec;
	--text-2: #c9c9c9;
	--muted: #9a9a9a;
	--line: #2b2c30;
	--line-strong: #ececec;
	--nav-bg: #111214;
	--nav-text: #ececec;
	--ticker-bg: #1b1c1f;
	--accent-ink: color-mix(in srgb, var(--accent) 45%, #fff);
	color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.6 var(--font-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-ink); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); line-height: 1.22; margin: 0 0 .5em; font-weight: 700; color: var(--text); }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; vertical-align: -.15em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }

.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:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	z-index: 1000; top: 8px; left: 8px; padding: 10px 16px;
	background: var(--bg); color: var(--text); border: 2px solid var(--accent);
}

.btn, .wp-block-button__link, input[type="submit"] {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 18px; border: 0; border-radius: var(--radius);
	background: var(--text); color: var(--bg); font-weight: 600; font-size: 14px;
}
.btn:hover, input[type="submit"]:hover { background: var(--accent); color: #fff; }

input[type="text"], input[type="email"], input[type="url"], input[type="search"], textarea {
	width: 100%; padding: 10px 12px; font: inherit; color: var(--text);
	background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
}

/* ---------- Top bar ---------- */
.topbar { border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.tb-left { display: flex; align-items: center; gap: 18px; min-width: 0; }
.tb-date { white-space: nowrap; color: var(--text-2); font-weight: 500; }
.tb-menu ul { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.tb-menu { display: none; }

/* ---------- Social ---------- */
.social { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); color: var(--text-2); }
.social a:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
.social-sm a { width: 28px; height: 28px; border: 0; }
.social-sm .icon { width: 15px; height: 15px; }
.social-big { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.social-big a { width: 100%; height: 44px; border-radius: var(--radius); }

/* ---------- Masthead ---------- */
.masthead { display: none; }
.masthead-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; }
.site-logo { margin: 0; line-height: 1; font-size: inherit; }
.site-logo img { max-height: 72px; width: auto; }
.site-name { font-family: var(--font-head); font-size: 40px; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.tagline { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.masthead-ad { margin: 0; max-width: 728px; flex: 1 1 auto; display: flex; justify-content: flex-end; }
.masthead-ad .ad-label { display: none; }
.logo-center .masthead-in { justify-content: center; text-align: center; }
.logo-center .site-logo img { margin-inline: auto; }

/* ---------- Navbar ---------- */
.navbar { background: var(--nav-bg); color: var(--nav-text); border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.has-sticky-nav .navbar { position: sticky; top: 0; }
.admin-bar.has-sticky-nav .navbar { top: 46px; }
.navbar-in { display: flex; align-items: center; gap: 8px; min-height: 56px; }
.nav-logo { flex: 1 1 auto; display: flex; justify-content: center; }
.nav-logo .site-logo img { max-height: 34px; }
.nav-logo .site-name { font-size: 24px; }
.main-nav { display: none; }
.nav-tools { display: flex; gap: 2px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; background: none; border-radius: 50%; color: inherit; }
.icon-btn:hover { background: var(--bg-soft); color: var(--accent-ink); }
.icon-btn .icon { width: 22px; height: 22px; }
.mode-toggle .i-sun { display: none; }
[data-mode="dark"] .mode-toggle .i-sun { display: block; }
[data-mode="dark"] .mode-toggle .i-moon { display: none; }

.main-nav .menu { display: flex; list-style: none; margin: 0; padding: 0; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a { display: block; padding: 17px 13px; font-size: 15px; font-weight: 700; letter-spacing: .01em; }
.main-nav .menu > li.current-menu-item > a,
.main-nav .menu > li.current-menu-ancestor > a,
.main-nav .menu > li.current-cat > a { color: var(--accent-ink); box-shadow: inset 0 -3px 0 var(--accent); }
.main-nav .sub-menu, .main-nav .children {
	position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px 0;
	background: var(--bg); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.08);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease;
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { display: block; padding: 8px 18px; font-size: 14px; font-weight: 500; color: var(--text); }

.search-panel { border-top: 1px solid var(--line); background: var(--bg); padding-block: 14px; }
.search-form { display: flex; gap: 0; max-width: 680px; margin-inline: auto; }
.search-form .search-field { border-right: 0; border-radius: var(--radius) 0 0 var(--radius); height: 46px; }
.search-submit { width: 52px; border: 0; background: var(--text); color: var(--bg); border-radius: 0 var(--radius) var(--radius) 0; display: inline-flex; align-items: center; justify-content: center; }
.search-submit:hover { background: var(--accent); color: #fff; }

/* Mobile menu */
.mobile-nav {
	position: fixed; inset: 0 auto 0 0; width: min(86vw, 360px); z-index: 200;
	background: var(--bg); color: var(--text); overflow-y: auto; padding: 0 20px 32px;
	box-shadow: 0 0 40px rgba(0,0,0,.25); transform: translateX(-105%); transition: transform .25s ease;
}
.mobile-nav.is-open { transform: none; }
.mobile-nav[hidden] { display: block; visibility: hidden; }
.mn-head { display: flex; align-items: center; justify-content: space-between; min-height: 64px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.mn-head .site-logo img { max-height: 36px; }
.mn-head .site-name { font-size: 24px; }
.mobile-nav .menu { list-style: none; margin: 16px 0 24px; padding: 0; }
.mobile-nav .menu a { display: block; padding: 11px 0; font-weight: 700; font-size: 17px; border-bottom: 1px solid var(--line); }
.mobile-nav .sub-menu, .mobile-nav .children { list-style: none; padding-left: 14px; margin: 0; }
.mobile-nav .sub-menu a { font-weight: 500; font-size: 15px; }
.nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 150; }
body.menu-open { overflow: hidden; }

/* ---------- Ticker ---------- */
.ticker { background: var(--ticker-bg); border-bottom: 1px solid var(--line); font-size: 14px; }
.ticker-in { display: flex; align-items: center; gap: 14px; height: 42px; overflow: hidden; }
.ticker-label {
	flex: none; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px;
	background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; border-radius: var(--radius);
}
.ticker-label .icon { width: 14px; height: 14px; }
.ticker-track { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent); }
.ticker-list { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; animation: hadda-ticker var(--ticker-dur, 60s) linear infinite; }
.ticker:hover .ticker-list, .ticker:focus-within .ticker-list { animation-play-state: paused; }
.ticker-list li { display: flex; align-items: center; gap: 8px; white-space: nowrap; padding-right: 36px; }
.ticker-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.ticker-list a { font-weight: 600; }
.ticker-list time { color: var(--muted); font-size: 12px; }
@keyframes hadda-ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.ticker-list { animation: none; }
	.ticker-track { overflow-x: auto; }
}

/* ---------- Layout ---------- */
.site-main { padding-bottom: 40px; }
.layout { display: grid; gap: 32px; padding-top: 28px; }
.content-area { min-width: 0; }
.sidebar { min-width: 0; }
.sidebar-in { height: 100%; }
.sidebar-in > * + * { margin-top: 32px; }

/* ---------- Block heading ---------- */
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.block-title, .widget-title { margin: 0; font-family: var(--font-body); font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.block-title > a, .block-title > span, .widget-title > span { display: inline-block; padding-bottom: 9px; margin-bottom: -1px; border-bottom: 3px solid var(--line-strong); }
.block-more { font-size: 13px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 2px; padding-bottom: 9px; }
.widget-title { margin-bottom: 16px; border-bottom: 1px solid var(--line); }

/* ---------- Category label & meta ---------- */
.cat-label { display: inline-block; margin-bottom: 8px; color: var(--accent-ink); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; line-height: 1.2; }
.cat-label:hover { text-decoration: underline; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.meta > * { display: inline-flex; align-items: center; gap: 4px; }
.meta .sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; margin: 0 8px; }
.meta a { color: var(--text-2); font-weight: 600; }
.meta .icon { width: 14px; height: 14px; }

/* ---------- Cards ---------- */
.card { position: relative; min-width: 0; }
.thumb { display: block; position: relative; overflow: hidden; background: var(--bg-soft); aspect-ratio: 16 / 9; border-radius: var(--radius); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .thumb img { transform: scale(1.03); }
.thumb-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--bg-soft), var(--line)); }
.card-title { font-size: 18px; margin: 0 0 8px; letter-spacing: -.005em; }
.card-title a:hover { color: var(--accent-ink); }
.excerpt { color: var(--text-2); font-size: 15px; line-height: 1.55; margin-bottom: 10px; }

.card-lead .thumb { margin-bottom: 14px; }
.card-lead .card-title { font-size: clamp(24px, 4.6vw, 34px); line-height: 1.15; letter-spacing: -.015em; }
.card-lead .excerpt { font-size: 16px; }

.card-std .thumb { margin-bottom: 12px; }
.card-std .card-title { font-size: 18px; }

.card-list { display: grid; grid-template-columns: 1fr 112px; gap: 14px; align-items: start; }
.card-list .thumb { order: 2; aspect-ratio: 4 / 3; }
.card-list .card-title { font-size: 16px; line-height: 1.3; margin-bottom: 6px; }
.card-list.has-excerpt .excerpt { display: none; }
.card-list.has-excerpt .cat-label { margin-bottom: 4px; }
.card-list.has-excerpt .card-title { font-size: 17px; }
.card-list.has-excerpt .meta .m-author, .card-list.has-excerpt .meta .m-author + .sep { display: none; }

.card-mini { display: flex; gap: 14px; align-items: flex-start; }
.card-mini .num { flex: none; font-family: var(--font-head); font-size: 30px; font-weight: 800; line-height: 1; color: var(--line); min-width: 26px; -webkit-text-stroke: 0; }
.card-mini .card-title { font-size: 16px; line-height: 1.3; margin-bottom: 4px; }
.card-mini .num { color: var(--accent-ink); opacity: .35; }

.card-overlay { overflow: hidden; border-radius: var(--radius); color: #fff; }
.card-overlay .thumb { aspect-ratio: 16 / 10; border-radius: 0; }
.card-overlay .card-body { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.82)); }
.card-overlay .card-title { color: #fff; font-size: 17px; margin-bottom: 6px; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.card-overlay .card-title a:hover { color: #fff; text-decoration: underline; }
.card-overlay .cat-label { position: relative; z-index: 2; color: #fff; background: var(--accent); padding: 4px 8px; border-radius: var(--radius); margin-bottom: 8px; }
.card-overlay .meta, .card-overlay .meta a { color: rgba(255,255,255,.85); position: relative; z-index: 2; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

.post-list > .card + .card { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }

.grid-3, .grid-4 { display: grid; gap: 24px; grid-template-columns: 1fr; }

/* ---------- Hero ---------- */
.hero { padding-top: 24px; }
.hero-grid { display: grid; gap: 24px; }
.hero-paper .hero-side { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; align-content: start; }
.hero-paper .hero-side .card-list { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--line); }
.hero-paper .hero-side .card-std .card-title { font-size: 16px; }
.hero-paper .hero-main { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.hero-pulse .hero-side { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.hero-pulse .hero-main .card-title { font-size: clamp(22px, 4.4vw, 34px); line-height: 1.15; }
.hero-pulse .hero-main .thumb { aspect-ratio: 16 / 10; }
.hero-pulse .hero-side .card-title { font-size: 15px; }
.hero-pulse .hero-side .card-body { padding: 28px 12px 10px; }
.hero-pulse .hero-side .meta { display: none; }

/* ---------- Category blocks ---------- */
.cat-blocks { padding-top: 40px; }
.cat-grid { display: grid; gap: 40px; }
.cat-block-body { display: grid; gap: 20px; }
.cat-block-list { display: grid; gap: 16px; align-content: start; }
.cat-block-list .card + .card { padding-top: 16px; border-top: 1px solid var(--line); }

/* ---------- Picks ---------- */
.picks { margin-top: 48px; padding-block: 36px 40px; background: var(--bg-soft); }
.picks .card-std .card-title { font-size: 17px; }

.btn-more { margin-top: 26px; width: 100%; justify-content: center; background: var(--bg-soft); color: var(--text); border: 1px solid var(--line); }

/* ---------- Widgets ---------- */
.widget { font-size: 15px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.widget .social li { padding: 0; border: 0; }
.w-posts { display: grid; gap: 16px; }
.w-posts .card + .card { padding-top: 16px; border-top: 1px solid var(--line); }
.w-posts .card-list { grid-template-columns: 1fr 92px; }
.w-posts .card-list .card-title { font-size: 15px; }
.w-posts .card-std .card-title { font-size: 17px; }

/* ---------- Ads ---------- */
.ad { text-align: center; margin: 24px auto; overflow: hidden; max-width: 100%; }
.ad-label { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ad-incontent { margin: 28px 0; padding: 12px 0; border-block: 1px solid var(--line); }
.sidebar .ad { margin: 0; }

/* ---------- Archive ---------- */
.archive-head { margin-bottom: 26px; padding-bottom: 18px; border-bottom: 3px solid var(--line-strong); }
.archive-title { font-size: clamp(28px, 5vw, 40px); margin-bottom: 6px; letter-spacing: -.02em; }
.archive-title .page-num { font-size: .5em; color: var(--muted); font-weight: 600; }
.archive-desc { color: var(--text-2); }
.archive-head .search-form { margin: 14px 0 0; }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 12px 0 0; padding: 0; }
.subcats a { display: inline-block; padding: 5px 12px; border: 1px solid var(--line); border-radius: 30px; font-size: 13px; font-weight: 600; }
.subcats a:hover { border-color: var(--accent); }
.author-head { display: flex; gap: 18px; align-items: center; }
.author-head img { border-radius: 50%; }

.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; font-size: 14px; }
.pagination .page-numbers.current { background: var(--text); border-color: var(--text); color: var(--bg); }
.pagination a.page-numbers:hover { border-color: var(--accent); }
.pagination .dots { border: 0; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin: 0 8px; opacity: .5; }
.crumbs a:hover { color: var(--accent-ink); }
.crumbs li:last-child { display: none; }
.crumbs span[aria-current] { display: inline-block; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

/* ---------- Article ---------- */
.entry-header { margin-bottom: 22px; }
.entry-title { font-size: clamp(28px, 5.4vw, 44px); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 14px; }
.entry-sub { font-size: clamp(17px, 2.4vw, 20px); color: var(--text-2); line-height: 1.5; margin-bottom: 18px; }

.share { display: flex; gap: 8px; margin-top: 16px; overflow-x: auto; scrollbar-width: none; }
.share::-webkit-scrollbar { display: none; }
.sh { flex: none; }
.sh { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); color: var(--text); font-size: 13px; font-weight: 600; }
.sh .icon { width: 16px; height: 16px; }
.sh span { display: none; }
.sh-facebook { background: #1877f2; border-color: #1877f2; color: #fff; }
.sh-x { background: #000; border-color: #000; color: #fff; }
.sh-whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.sh-facebook span, .sh-x span, .sh-whatsapp span { display: inline; }
.sh:hover { filter: brightness(.92); color: inherit; }
.sh-facebook:hover, .sh-x:hover, .sh-whatsapp:hover { color: #fff; }
[data-mode="dark"] .sh-x { border-color: #444; }
.sh-copy.is-done { border-color: var(--accent); color: var(--accent-ink); }

.entry-image { margin: 0 0 26px; }
.entry-image img { width: 100%; border-radius: var(--radius); }
.entry-image figcaption, .wp-caption-text, .wp-element-caption { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.45; }

.entry-content { font-family: var(--font-body); font-size: 18px; line-height: 1.72; color: var(--text); overflow-wrap: break-word; }
.is-classic .entry-content { font-family: var(--font-serif); }
.hf-sans .is-classic .entry-content { font-family: var(--font-body); }
.entry-content > * { margin-block: 0 1.15em; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: var(--font-head); margin-top: 1.6em; }
.entry-content h2 { font-size: 1.4em; }
.entry-content h3 { font-size: 1.2em; }
.entry-content a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent); font-size: 1.1em; font-style: italic; color: var(--text-2); }
.entry-content figure { margin-inline: 0; }
.entry-content img { border-radius: var(--radius); }
.entry-content iframe { width: 100%; }
.entry-content .wp-block-embed iframe { aspect-ratio: 16 / 9; height: auto; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--font-body); font-size: 15px; }
.entry-content th, .entry-content td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; }
.entry-content pre { overflow-x: auto; background: var(--bg-soft); padding: 14px; font-size: 14px; }
.alignwide, .alignfull { max-width: 100%; }

.read-also { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; margin: 6px 0 26px; background: var(--bg-soft); border-left: 4px solid var(--accent); font-family: var(--font-body); }
.ra-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); }
.entry-content .read-also a { color: var(--text); text-decoration: none; font-weight: 700; font-size: 17px; line-height: 1.35; font-family: var(--font-head); }
.entry-content .read-also a:hover { color: var(--accent-ink); }

.entry-footer { margin-top: 30px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 22px; }
.tags-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-right: 4px; }
.tags a { display: inline-block; padding: 5px 12px; background: var(--bg-soft); border-radius: 30px; font-size: 13px; font-weight: 600; }
.tags a:hover { background: var(--accent); color: #fff; }
.share-bottom { padding: 18px 0; border-block: 1px solid var(--line); }
.share-label { font-weight: 800; font-size: 14px; }
.share-bottom .share { margin-top: 10px; }

.author-box { display: flex; gap: 18px; margin-top: 30px; padding: 20px; background: var(--bg-soft); border-radius: var(--radius); }
.author-box img { border-radius: 50%; flex: none; width: 72px; height: 72px; }
.ab-name { font-family: var(--font-head); font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.ab-bio { font-size: 15px; color: var(--text-2); margin-bottom: 8px; }
.ab-more { font-size: 13px; font-weight: 700; color: var(--accent-ink); display: inline-flex; align-items: center; }

.post-navigation { margin-top: 30px; }
.post-navigation .nav-links { display: grid; gap: 14px; }
.post-navigation a { display: block; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); height: 100%; }
.post-navigation a:hover { border-color: var(--accent); color: inherit; }
.pn-label { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 4px; }
.pn-title { font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.3; }
.post-navigation .nav-next { text-align: right; }

.related { margin-top: 40px; }

/* ---------- Article: byline (both layouts) ---------- */
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding-top: 16px; margin-top: 4px; border-top: 1px solid var(--line); }
.by-avatar img { width: 44px; height: 44px; border-radius: 50%; }
.by-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 200px; font-size: 14px; line-height: 1.35; }
.by-author { font-weight: 600; }
.by-author a { font-weight: 800; }
.by-dates { color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 0 10px; }
.by-text .meta { margin-top: 2px; }
.by-share .share { margin-top: 0; }

/* Compact round share buttons */
.share-compact { gap: 6px; }
.share-compact .sh { width: 38px; height: 38px; padding: 0; justify-content: center; border-radius: 50%; }
.share-compact .sh span { display: none !important; }
.share-compact .sh .icon { width: 18px; height: 18px; }

/* ---------- Article: modern (default) ---------- */
.is-modern .entry-header { margin-bottom: 18px; }
.is-modern .entry-title { font-family: var(--font-body); font-weight: 800; font-size: clamp(28px, 7vw, 46px); line-height: 1.08; letter-spacing: -.028em; margin-bottom: 14px; }
.is-modern .entry-sub { font-family: var(--font-body); font-size: clamp(18px, 2.6vw, 21px); line-height: 1.45; color: var(--text-2); font-weight: 500; margin-bottom: 16px; }
.is-modern .cat-label { font-size: 13px; }
.is-modern .entry-image { margin: 0 -16px 26px; }
.is-modern .entry-image img { border-radius: 0; }
.is-modern .entry-image figcaption { padding: 0 16px; }
.is-modern .entry-content { font-size: 18px; line-height: 1.75; }
.lead-bold .entry-content > p:first-of-type { font-weight: 700; font-size: 1.05em; line-height: 1.65; }
.is-modern .entry-content h2, .is-modern .entry-content h3 { font-family: var(--font-body); font-weight: 800; letter-spacing: -.015em; }
.is-modern .entry-content blockquote { font-style: normal; font-weight: 600; }

/* "More from" list */
.more-from { margin-top: 30px; padding: 18px 20px; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); }
.mf-title { font-family: var(--font-body); font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.mf-title a { color: var(--accent-ink); }
.more-from ul { list-style: none; margin: 0; padding: 0; }
.more-from li { position: relative; padding: 10px 0 10px 18px; border-top: 1px solid var(--line); font-weight: 700; line-height: 1.35; }
.more-from li:first-child { border-top: 0; }
.more-from li::before { content: ""; position: absolute; left: 0; top: 17px; width: 7px; height: 7px; background: var(--accent); }

.single-feed { margin-top: 40px; }

/* No sidebar: centred reading column */
.post-unit.no-sidebar { grid-template-columns: minmax(0, 1fr); }

/* ---------- Auto-load ---------- */
.post-unit.is-loaded { margin-top: 48px; border-top: 4px solid var(--line-strong); }
.autoload-status { display: flex; justify-content: center; padding-block: 28px; min-height: 40px; }
.al-loading { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: 14px; }
.al-spin { width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: hadda-spin .8s linear infinite; }
@keyframes hadda-spin { to { transform: rotate(360deg); } }
.btn-next { min-width: 220px; justify-content: center; }
.btn-comments { margin-top: 28px; }

/* ---------- Ads: reserved space + device rules ---------- */
.ad-in { display: flex; align-items: center; justify-content: center; }
.ad--reserve .ad-in { min-height: var(--ad-h, 250px); }
.ad--desktop { display: none; }
.ad-sidebar.ad--sticky { position: sticky; top: 76px; }
.admin-bar .ad-sidebar.ad--sticky { top: 108px; }
.entry-content .ad { font-family: var(--font-body); }

/* ---------- Comments ---------- */
.comments { margin-top: 40px; }
.comment-list { list-style: none; margin: 0 0 30px; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 12px; color: var(--muted); margin: 2px 0 8px 50px; }
.comment-content { margin-left: 50px; }
.reply { margin-left: 50px; font-size: 13px; font-weight: 700; }
.comment-reply-title { font-size: 22px; }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; }

/* ---------- 404 / empty ---------- */
.not-found { text-align: center; max-width: 620px; margin: 40px auto 56px; }
.nf-code { font-family: var(--font-head); font-size: 96px; font-weight: 800; line-height: 1; color: var(--accent-ink); margin-bottom: 10px; }
.not-found .search-form { margin-top: 22px; }
.empty { padding: 30px; background: var(--bg-soft); }

/* ---------- Full width template ---------- */
.article-full { max-width: 860px; margin: 32px auto 0; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 48px; background: #0f0f10; color: #c9c9c9; font-size: 15px; }
.site-footer a { color: #e9e9e9; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .site-name { color: #fff; font-size: 30px; }
.site-footer .site-logo img { max-height: 48px; }
.footer-grid { display: grid; gap: 32px; padding-block: 44px 32px; }
.footer-about p { margin-top: 16px; line-height: 1.6; max-width: 46ch; }
.site-footer .social a { border-color: #333; color: #ddd; }
.site-footer .social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; text-decoration: none; }
.site-footer .widget-title { color: #fff; border-color: #2c2c2c; }
.site-footer .widget-title > span { border-color: var(--accent); }
.site-footer .widget li { border-color: #232323; }
.site-footer .card-title { color: #fff; }
.footer-bottom { border-top: 1px solid #232323; font-size: 13px; }
.fb-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 18px; }
.copyright { margin: 0; color: #9a9a9a; }
.footer-menu ul { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }

.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--text); color: var(--bg); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.to-top[hidden] { display: none; }
.to-top:hover { background: var(--accent); color: #fff; }

/* ---------- Pulse style ---------- */
.style-pulse .navbar { --nav-bg: var(--accent); --nav-text: #fff; border-bottom: 0; }
.style-pulse .navbar .icon-btn:hover { background: rgba(255,255,255,.14); color: #fff; }
.style-pulse .main-nav .menu > li > a:hover { color: #fff; opacity: .85; }
.style-pulse .main-nav .menu > li.current-menu-item > a,
.style-pulse .main-nav .menu > li.current-menu-ancestor > a,
.style-pulse .main-nav .menu > li.current-cat > a { color: #fff; box-shadow: inset 0 -3px 0 #fff; }
.style-pulse .nav-logo .site-name { color: #fff; }
.style-pulse .block-title > a, .style-pulse .block-title > span, .style-pulse .widget-title > span { border-bottom-color: var(--accent); }
.style-pulse .ticker-label { border-radius: 30px; }
.style-pulse .thumb, .style-pulse .card-overlay { border-radius: 8px; }
.style-pulse .card-overlay .thumb { border-radius: 0; }
.style-pulse { --radius: 6px; }
.style-pulse .archive-head { border-bottom-color: var(--accent); }

/* ---------- Tablet ---------- */
@media (min-width: 600px) {
	.is-modern .entry-image { margin-inline: 0; }
	.is-modern .entry-image img { border-radius: var(--radius); }
	.is-modern .entry-image figcaption { padding: 0; }
	.grid-3 { grid-template-columns: repeat(2, 1fr); }
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.card-list { grid-template-columns: 160px 1fr; gap: 18px; }
	.card-list .thumb { order: 0; aspect-ratio: 16 / 10; }
	.card-list.has-excerpt { grid-template-columns: 260px 1fr; gap: 22px; }
	.card-list.has-excerpt .thumb { aspect-ratio: 16 / 9; }
	.card-list.has-excerpt .excerpt { display: block; }
	.card-list.has-excerpt .meta .m-author, .card-list.has-excerpt .meta .m-author + .sep { display: inline-flex; }
	.card-list.has-excerpt .card-title { font-size: 21px; }
	.w-posts .card-list { grid-template-columns: 96px 1fr; }
	.cat-block-body { grid-template-columns: 1fr 1fr; }
	.hero-pulse .hero-side .meta { display: flex; }
	.footer-grid { grid-template-columns: repeat(2, 1fr); }
	.post-navigation .nav-links { grid-template-columns: 1fr 1fr; }
	.sh span { display: inline; }
	.share { flex-wrap: wrap; }
	.crumbs li:last-child { display: block; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
	.tb-menu { display: block; }
	.masthead { display: block; }
	.nav-toggle, .nav-logo { display: none; }
	.main-nav { display: block; flex: 1; min-width: 0; }
	.main-nav .menu { flex-wrap: wrap; }
	.navbar { border-top: 3px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
	.style-pulse .navbar { border-top: 0; }
	.has-sticky-nav .navbar.is-stuck .nav-logo { display: flex; flex: none; margin-right: 12px; }
	.admin-bar.has-sticky-nav .navbar { top: 32px; }

	.layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
	.post-unit.no-sidebar { grid-template-columns: minmax(0, 780px); justify-content: center; }
	.is-modern .entry-content { font-size: 19px; }
	.ad--desktop { display: block; }
	.ad--mobile { display: none; }

	.hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; }
	.hero-paper .hero-main { padding-bottom: 0; border-bottom: 0; padding-right: 32px; border-right: 1px solid var(--line); margin-right: -16px; }
	.hero-paper .card-lead .card-title { font-size: 38px; }
	.hero-pulse .hero-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 12px; }
	.hero-pulse .hero-main .card-overlay, .hero-pulse .hero-main .thumb { height: 100%; }
	.hero-pulse .hero-main .thumb { aspect-ratio: auto; min-height: 420px; }
	.hero-pulse .hero-main .card-body { padding: 80px 28px 24px; }

	.cat-grid { grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 48px; }
	.cat-block-body { grid-template-columns: 1fr; }
	.grid-3 { grid-template-columns: repeat(3, 1fr); }
	.grid-4 { grid-template-columns: repeat(4, 1fr); }
	.footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; }
	.entry-content { font-size: 19px; }
}

@media (max-width: 782px) {
	.admin-bar.has-sticky-nav .navbar { top: 0; }
}

/* ---------- Print ---------- */
@media print {
	.topbar, .navbar, .ticker, .sidebar, .share, .share-bottom, .related, .comments, .site-footer, .ad, .to-top, .post-navigation, .mobile-nav { display: none !important; }
	.layout { display: block; }
	body { font-size: 12pt; }
}
.is-modern .read-also a, .is-modern .entry-content .read-also a { font-family: var(--font-body); font-weight: 800; }
