/*
Theme Name: Keralam Jobs
Theme URI: https://jobsinkeralam.com/
Author: Jobs in Keralam
Description: A clean job-notification theme for Kerala job sites. Search with district, category and job-type filters, job details on every post, closing-soon list, Google AdSense and in-house ad spaces, WhatsApp and Telegram channel links, Malayalam-ready typography.
Version: 1.1.4
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: keralam-jobs
Tags: blog, news, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, translation-ready, threaded-comments
*/

:root {
	--paper: #f4f7f4;
	--surface: #ffffff;
	--ink: #12261f;
	--muted: #55675f;
	--line: #d9e2dc;
	--laurel: #0f5a49;
	--laurel-ink: #ffffff;
	--kasavu: #c99a2e;
	--soft: #e6f0ea;
	--ok: #17794f;
	--warn: #a35b00;
	--bad: #9b2c2c;
	--wa: #1a7f45;
	--tg: #1b6fa8;
	--font-display: "Bricolage Grotesque", "Noto Sans Malayalam", "Segoe UI", system-ui, sans-serif;
	--font-body: "Hanken Grotesk", "Noto Sans Malayalam", "Segoe UI", system-ui, sans-serif;
	--gutter: max(16px, env(safe-area-inset-left, 0px));
}

@media (prefers-color-scheme: dark) {
	:root {
		--paper: #0d1a16;
		--surface: #142520;
		--ink: #e8f1ec;
		--muted: #9bb0a6;
		--line: #254036;
		--laurel: #4fbf9d;
		--laurel-ink: #07201a;
		--kasavu: #d8aa3f;
		--soft: #1b3229;
		--ok: #5fd39b;
		--warn: #e3a64a;
		--bad: #f08a8a;
		--wa: #4fcf86;
		--tg: #6bb8ea;
		color-scheme: dark;
	}
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 16px/1.6 var(--font-body);
	overflow-wrap: anywhere;
}
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--laurel); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--kasavu); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.25; text-wrap: balance; margin: 0 0 0.5em; }
ul { padding-left: 1.2em; }
.plain-list, .chips, .district-grid, .channel-list, .menu, .menu ul { list-style: none; padding: 0; margin: 0; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; left: 12px; top: 12px; width: auto; height: auto; clip: auto; background: var(--surface); color: var(--ink); padding: 10px 14px; z-index: 100; border-radius: 6px; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: var(--gutter); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 0.95rem var(--font-body); text-decoration: none; padding: 11px 18px; min-height: 44px; border-radius: 8px; border: 1.5px solid transparent; cursor: pointer; line-height: 1.2; }
.btn-primary { background: var(--laurel); color: var(--laurel-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--laurel); border-color: var(--laurel); }
.btn-ghost:hover { background: var(--soft); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-tg { background: var(--tg); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-wa, .btn-tg { color: #07201a; } }
.channel-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.channel-buttons.stack { flex-direction: column; align-items: stretch; }

/* Top bar and header */
.topbar { background: var(--laurel); color: var(--laurel-ink); font-size: 0.82rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding-block: 6px; }
.topbar a { color: var(--laurel-ink); margin-left: 14px; text-decoration: none; opacity: 0.92; }
.topbar a:hover { opacity: 1; text-decoration: underline; }
.site-header { background: var(--surface); border-bottom: 3px double var(--kasavu); position: relative; z-index: 20; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 16px; }
.branding { min-width: 0; }
.site-title { font: 700 clamp(1.5rem, 4vw, 2rem)/1.05 var(--font-display); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.site-desc { margin: 4px 0 0; font-size: 0.85rem; color: var(--muted); }
.custom-logo { max-height: 56px; width: auto; }
.primary-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.primary-nav .menu { display: flex; flex-wrap: wrap; gap: 2px 6px; }
.primary-nav .menu a { display: block; padding: 8px 12px; text-decoration: none; color: var(--ink); font-weight: 500; border-radius: 6px; }
.primary-nav .menu a:hover, .primary-nav .menu .current-menu-item > a { background: var(--soft); color: var(--laurel); }
.primary-nav .menu li { position: relative; }
.primary-nav .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 200px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px; z-index: 30; list-style: none; margin: 0; }
.primary-nav .menu li:hover > .sub-menu, .primary-nav .menu li:focus-within > .sub-menu { display: block; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 8px; width: 46px; height: 46px; cursor: pointer; color: var(--ink); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; margin: 0 auto; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

/* Search forms */
.search-form { display: flex; gap: 6px; }
.search-field, .job-filters input[type="search"], .job-filters select, .contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
	font: 500 1rem var(--font-body); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 8px; padding: 11px 13px; min-height: 46px; width: 100%;
}
.search-field { min-width: 0; width: 200px; }
.search-submit { font: 600 0.92rem var(--font-body); background: var(--laurel); color: var(--laurel-ink); border: 0; border-radius: 8px; padding: 0 16px; min-height: 46px; cursor: pointer; }
.job-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: 16px; margin: 0 0 18px; }
.job-filters .field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.job-filters .field-q { grid-column: 1 / -1; }
.job-filters .field-actions { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.job-filters label, .contact-form label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.job-filters .check { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 500; }
.job-filters .check input { width: 18px; height: 18px; accent-color: var(--laurel); }

/* Hero */
.hero { background: var(--soft); border-bottom: 1px solid var(--line); padding-block: 36px 30px; }
.hero-title { font-size: clamp(1.8rem, 5vw, 2.9rem); letter-spacing: -0.02em; margin-bottom: 8px; }
.hero-text { margin: 0 0 22px; max-width: 62ch; color: var(--muted); font-size: 1.05rem; }
.hero .job-filters { margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 6px 14px; border: 1.5px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.chips a:hover { border-color: var(--laurel); color: var(--laurel); }

/* Layout */
.site-content { min-height: 50vh; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; margin-top: 24px; padding-bottom: 20px; align-items: start; }
.main-col, .sidebar { min-width: 0; }
.page-head { padding: 22px 0 14px; }
.page-title { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 4px; }
.page-desc { margin: 0; color: var(--muted); }
.breadcrumbs { font-size: 0.85rem; color: var(--muted); padding-top: 16px; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs .sep { opacity: 0.6; }

/* Blocks and job rows */
.block { margin-bottom: 34px; }
.block-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 4px; }
.block-head h2 { font-size: 1.4rem; margin: 0; }
.block-link { font-weight: 600; text-decoration: none; }
.block-soon .block-head { border-bottom-color: var(--kasavu); }
.job-list { display: block; }
.job-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.job-date { text-align: center; border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 0 5px; background: var(--surface); line-height: 1.1; }
.job-date b { display: block; font: 700 1.35rem var(--font-display); font-variant-numeric: tabular-nums; }
.job-date i { font: 600 0.68rem var(--font-body); font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.job-date small { display: block; font-size: 0.62rem; color: var(--muted); margin-top: 2px; }
.job-title { font-size: 1.15rem; margin: 0 0 4px; }
.job-title a { color: var(--ink); text-decoration: none; }
.job-title a:hover { text-decoration: underline; text-decoration-color: var(--kasavu); text-decoration-thickness: 2px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font-size: 0.88rem; color: var(--muted); }
.job-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.job-more { font-size: 0.88rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.pill { display: inline-block; font: 600 0.72rem var(--font-body); letter-spacing: 0.04em; padding: 3px 9px; border-radius: 99px; border: 1.5px solid currentColor; white-space: nowrap; }
.pill.ok { color: var(--ok); }
.pill.warn { color: var(--warn); }
.pill.bad { color: var(--bad); }
.more-jobs { text-align: center; margin: 22px 0 0; }
.more-jobs .btn { min-width: 200px; }
.feed-ad { padding: 14px 0; border-bottom: 1px solid var(--line); }
.feed-ad:empty { display: none; }
.empty { padding: 36px 0; color: var(--muted); }
.empty h1, .empty h2 { color: var(--ink); }
.empty-404 { text-align: center; max-width: 720px; margin: 0 auto; padding: 56px 0; }
.empty-404 .job-filters { text-align: left; }

/* Districts and CTA */
.district-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 14px; }
.district-grid a { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 500; }
.district-grid a:hover { border-color: var(--laurel); color: var(--laurel); }
.district-grid b { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; background: var(--laurel); color: var(--laurel-ink); border-radius: 10px; padding: 24px; margin-bottom: 20px; }
.cta-band h2 { margin: 0 0 4px; font-size: 1.35rem; }
.cta-band p { margin: 0; opacity: 0.92; max-width: 46ch; }
.cta-band .btn-wa, .cta-band .btn-tg { background: var(--laurel-ink); color: var(--laurel); }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 22px; }
.widget { background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: 16px; }
.widget-title { font-size: 1rem; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.widget p { margin: 0 0 12px; font-size: 0.93rem; color: var(--muted); }
.plain-list li { padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.plain-list li:last-child { border-bottom: 0; }
.plain-list a { text-decoration: none; color: var(--ink); }
.plain-list a:hover { color: var(--laurel); text-decoration: underline; }
.count { color: var(--muted); font-size: 0.85rem; }
.more-cats { margin-top: 6px; border-top: 1px dashed var(--line); }
.more-cats summary { cursor: pointer; font-weight: 600; color: var(--laurel); padding: 10px 0; min-height: 40px; }
.more-cats[open] summary { padding-bottom: 4px; }
.more-cats[open] > summary { display: none; }
.more-cats-close { display: block; width: 100%; margin-top: 8px; padding: 10px 12px; min-height: 42px; font: 600 0.92rem var(--font-body); color: var(--laurel); background: none; border: 1.5px solid var(--laurel); border-radius: 8px; cursor: pointer; }
.more-cats-close:hover { background: var(--soft); }
.widget-channels { background: var(--soft); }

/* Single job */
.entry-head { padding: 18px 0 8px; }
.entry-cats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.entry-cats a { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; background: var(--soft); color: var(--laurel); padding: 4px 10px; border-radius: 99px; }
.entry-title { font-size: clamp(1.6rem, 4.5vw, 2.3rem); letter-spacing: -0.01em; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--muted); font-size: 0.9rem; margin: 0; }
.job-box { background: var(--surface); border: 1.5px solid var(--line); border-top: 3px solid var(--kasavu); border-radius: 10px; padding: 18px 20px; margin: 16px 0 22px; }
.job-box-title { font-size: 1.05rem; margin: 0 0 12px; }
.job-box dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px 24px; margin: 0; }
.job-box dt { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.job-box dd { margin: 2px 0 0; font-weight: 500; }
.job-box-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.entry-thumb { margin: 0 0 20px; }
.entry-thumb img { border-radius: 10px; display: block; width: 100%; }
.entry-content { font-size: 1.05rem; line-height: 1.75; max-width: 70ch; }
.entry-content h2 { font-size: 1.4rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.15rem; margin-top: 1.4em; }
.entry-content table { border-collapse: collapse; display: block; overflow-x: auto; max-width: 100%; margin: 1em 0; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.entry-content th { background: var(--soft); }
.entry-content blockquote { margin: 1em 0; padding: 4px 18px; border-left: 4px solid var(--kasavu); color: var(--muted); }
.entry-content .wp-block-button__link { background: var(--laurel); color: var(--laurel-ink); border-radius: 8px; }
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, figcaption { font-size: 0.85rem; color: var(--muted); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.share-label { font-weight: 600; margin-right: 4px; }
.share .btn { padding: 8px 14px; min-height: 40px; font-size: 0.88rem; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 0.9rem; margin: 10px 0; }
.entry-tags a { text-decoration: none; color: var(--muted); }
.disclaimer { font-size: 0.85rem; color: var(--muted); background: var(--soft); border-radius: 8px; padding: 12px 14px; margin: 18px 0 30px; }

/* Pagination */
.pagination { margin: 26px 0 10px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); background: var(--surface); font-weight: 500; }
.page-numbers.current { background: var(--laurel); color: var(--laurel-ink); border-color: var(--laurel); }
a.page-numbers:hover { border-color: var(--laurel); color: var(--laurel); }

/* Forms and notices */
.contact-form { display: grid; gap: 14px; max-width: 620px; margin-top: 18px; }
.contact-form .field { display: flex; flex-direction: column; gap: 4px; }
.contact-form textarea { resize: vertical; }
.contact-form .hp { position: absolute; left: -9999px; }
.notice { padding: 12px 14px; border-radius: 8px; border: 1.5px solid currentColor; font-weight: 500; }
.notice-ok { color: var(--ok); }
.notice-bad { color: var(--bad); }
.channel-list { display: grid; gap: 12px; margin-top: 18px; }
.channel-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.channel-list h2 { font-size: 1.1rem; margin: 0 0 2px; }
.channel-list p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* Ads */
.kj-ad-slot { margin: 18px 0; }
.kj-ad-slot--side_mid { margin: 0; }
.hero .kj-ad-slot--home_title { margin: 0 0 18px; }
.hero .kj-ad-slot--home_search { margin: 4px 0 18px; }
.kj-ad-slot--post_top { margin: 14px 0 0; }
.kj-ad-slot--related_top, .kj-ad-slot--related_bottom { margin: 22px 0; }
.kj-ad { min-width: 0; }
.kj-ad + .kj-ad { margin-top: 12px; }
.kj-ad__label { display: block; font: 600 0.66rem var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.kj-ad--house img { display: block; width: 100%; height: auto; border-radius: 8px; }
.kj-ad--placeholder { display: grid; gap: 4px; place-content: center; text-align: center; min-height: 100px; padding: 14px; border: 1.5px dashed var(--kasavu); border-radius: 8px; color: var(--muted); font-size: 0.85rem; }
.kj-ad--placeholder b { color: var(--ink); }

/* Footer */
.site-footer { background: var(--surface); border-top: 3px double var(--kasavu); margin-top: 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-block: 34px 18px; }
.footer-col .widget { background: none; border: 0; padding: 0; }
.footer-col p { color: var(--muted); font-size: 0.93rem; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 14px 24px; font-size: 0.85rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.float-wa { display: none; position: fixed; right: max(14px, env(safe-area-inset-right, 0px)); bottom: max(14px, env(safe-area-inset-bottom, 0px)); background: var(--wa); color: #fff; font-weight: 600; text-decoration: none; padding: 12px 18px; border-radius: 99px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); z-index: 40; }
@media (prefers-color-scheme: dark) { .float-wa { color: #07201a; } }

/* Responsive */
@media (max-width: 960px) {
	.layout { grid-template-columns: minmax(0, 1fr); }
	.footer-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.job-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.float-wa { display: inline-block; }
}
@media (max-width: 760px) {
	.nav-toggle { display: inline-block; }
	.primary-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; padding-top: 6px; }
	.primary-nav.is-open { display: flex; }
	.primary-nav .menu { flex-direction: column; }
	.primary-nav .sub-menu { position: static; display: block; border: 0; padding-left: 14px; }
	.search-field { width: 100%; }
	.search-form { width: 100%; }
}
@media (max-width: 560px) {
	.job-filters { grid-template-columns: minmax(0, 1fr); }
	.job-row { grid-template-columns: 54px minmax(0, 1fr); gap: 12px; }
	.job-side { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
	.topbar-links a:first-child { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* WhatsApp channel banner under the post text */
.wa-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 24px 0 8px; padding: 16px 18px; background: var(--soft); border: 1.5px solid var(--wa); border-radius: 10px; }
.wa-banner-text { margin: 0; flex: 1 1 280px; min-width: 0; font: 500 1rem/1.7 var(--font-body); color: var(--ink); }
.wa-banner .btn { flex: 0 0 auto; }
.wa-banner.is-side { flex-direction: column; align-items: stretch; margin: 0; }
.wa-banner.is-side .wa-banner-text { flex: 0 0 auto; font-size: 0.95rem; }
.wa-banner.is-side .btn { width: 100%; }
.wa-banner.is-home { margin: 8px 0 28px; padding: 22px 24px; }
.widget-soon { border-top: 3px solid var(--kasavu); }
.soon-list { list-style: none; margin: 0; padding: 0; }
.soon-list li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.soon-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.soon-list a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; line-height: 1.4; }
.soon-list a:hover { color: var(--laurel); text-decoration: underline; }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mini-list a { flex: 1 1 320px; min-width: 0; color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.45; }
.mini-list a:hover { color: var(--laurel); text-decoration: underline; text-decoration-color: var(--kasavu); text-decoration-thickness: 2px; }
.mini-meta { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.85rem; white-space: nowrap; }
.block-cat { margin-bottom: 26px; }
.trend-list { list-style: none; margin: 0; padding: 0; counter-reset: trend; }
.trend-list li { counter-increment: trend; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.trend-list li::before { content: counter(trend); font: 700 1.3rem var(--font-display); color: var(--kasavu); font-variant-numeric: tabular-nums; text-align: center; }
.trend-list a { min-width: 0; color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.45; }
.trend-list a:hover { color: var(--laurel); text-decoration: underline; text-decoration-color: var(--kasavu); text-decoration-thickness: 2px; }
@media (max-width: 560px) { .trend-list li { grid-template-columns: 30px minmax(0, 1fr); } .trend-list .mini-meta { grid-column: 2; } }
