/*
Theme Name: Pools Sydney Today
Theme URI: https://poolssydneytoday.com
Author: Pools Sydney Today
Author URI: https://poolssydneytoday.com
Description: Theme klasik ringan untuk Pools Sydney Today – direktori hasil dan informasi pasaran. Dilengkapi tabel Data SDY 4D/6D otomatis, result terbaru, jadwal, schema markup, canonical, meta robots, dan robots.txt.
Version: 1.2.1
Requires at least: 6.2
Tested up to: 7.1
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: poolssydneytoday
Tags: two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments
*/

:root {
	--c-primary: #0a5c9e;
	--c-primary-dark: #073f6e;
	--c-primary-deep: #052c4f;
	--c-accent: #1ba7dd;
	--c-accent-soft: #e6f5fc;
	--c-bg: #e4ecf3;
	--c-surface: #ffffff;
	--c-border: #a9bfd2;
	--c-border-soft: #d5e1eb;
	--c-text: #1f2a35;
	--c-muted: #5b6b7a;
	--c-link: #0a5c9e;
	--c-gold: #f5b800;
	--radius: 4px;
	--shadow: 0 1px 3px rgba(5, 44, 79, 0.12);
	--k-dark: #111111;
	--k-yellow: #ffc400;
	--k-yellow-light: #ffd84a;
	--k-yellow-dark: #d9a900;
	--k-yellow-soft: #fff3c4;
	--k-border: #dcdcdc;
	--font-head: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
	--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.75;
}

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

a { color: var(--c-link); }
a:hover, a:focus { color: var(--c-accent); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	color: var(--c-primary-deep);
	line-height: 1.3;
	margin: 1.4em 0 0.6em;
}
h1 { font-size: 1.65rem; margin-top: 0; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.18rem; }

p { margin: 0 0 1.1em; }

.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 !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto;
	position: fixed !important; top: 8px; left: 8px; z-index: 9999;
	background: #fff; color: var(--c-primary-dark); padding: 10px 14px; border-radius: var(--radius);
}

/* ---------- Site frame ---------- */
.site {
	max-width: 1100px;
	margin: 0 auto;
	background: var(--c-surface);
	box-shadow: 0 0 0 1px var(--c-border-soft), 0 6px 30px rgba(5, 44, 79, 0.08);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* ---------- Header ---------- */
.site-header { border-top: 4px solid var(--c-primary-dark); background: #fff; }

.site-branding {
	text-align: center;
	padding: 18px 16px 14px;
}
.site-branding .custom-logo-link,
.site-branding .site-logo-link { display: inline-block; line-height: 0; }
.site-branding img {
	max-height: 118px;
	width: auto;
}
.site-branding .site-title {
	margin: 0;
	font-family: var(--font-head);
	font-size: 2rem;
	font-weight: 700;
}
.site-branding .site-title a { text-decoration: none; color: var(--c-primary-dark); }
.site-branding .site-description {
	margin: 4px 0 0;
	font-size: 0.85rem;
	color: var(--c-muted);
}

/* ---------- Navigation ---------- */
.main-nav {
	background: linear-gradient(180deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
	border-top: 1px solid var(--c-primary-deep);
	border-bottom: 3px solid var(--c-accent);
	position: relative;
}
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav .menu {
	display: flex;
	flex-wrap: wrap;
	padding: 0 8px;
}
.main-nav .menu > li { position: relative; border-right: 1px solid rgba(255, 255, 255, 0.18); }
.main-nav .menu > li:first-child { border-left: 1px solid rgba(255, 255, 255, 0.18); }
.main-nav a {
	display: block;
	padding: 11px 15px;
	color: #fff;
	text-decoration: none;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
}
.main-nav a:hover,
.main-nav a:focus,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
	background: rgba(0, 0, 0, 0.22);
	color: #fff;
}
.main-nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 210px;
	background: var(--c-primary-dark);
	z-index: 50;
	box-shadow: var(--shadow);
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu { display: block; }
.main-nav .sub-menu a { font-weight: 400; border-top: 1px solid rgba(255, 255, 255, 0.1); }

.nav-toggle {
	display: none;
	width: 100%;
	background: transparent;
	color: #fff;
	border: 0;
	padding: 12px 16px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1rem;
	text-align: left;
	cursor: pointer;
}
.nav-toggle .bars { display: inline-block; vertical-align: middle; margin-right: 8px; width: 18px; }
.nav-toggle .bars span { display: block; height: 2px; background: #fff; margin: 4px 0; }

/* ---------- Result ticker (header) ---------- */
.result-bar {
	background: var(--k-dark);
	color: #eee;
	border-bottom: 3px solid var(--k-yellow);
	font-size: 0.88rem;
	padding: 8px 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	align-items: center;
	justify-content: center;
}
.result-bar strong { color: var(--k-yellow); font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.04em; }
.result-bar .num {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1.35rem;
	line-height: 1;
	letter-spacing: 0.12em;
	color: var(--k-yellow);
	border: 1px solid #444;
	padding: 4px 10px;
	border-radius: 4px;
}
.result-bar a { color: #fff; }
.result-bar a:hover { color: var(--k-yellow); }

/* ---------- Layout ---------- */
.site-content { flex: 1; padding: 16px; }
.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 290px;
	gap: 16px;
	align-items: start;
}
.layout.no-sidebar { grid-template-columns: minmax(0, 1fr); }

.box {
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 18px 20px 10px;
	margin-bottom: 16px;
}

.breadcrumbs {
	font-size: 0.82rem;
	color: var(--c-muted);
	margin: 0 0 10px;
}
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.breadcrumbs li + li::before { content: "›"; margin: 0 6px; color: var(--c-border); }
.breadcrumbs a { text-decoration: none; }

.entry-title { margin-bottom: 0.5em; }
.entry-title a { text-decoration: none; color: inherit; }
.entry-meta { font-size: 0.82rem; color: var(--c-muted); margin: -4px 0 12px; }

.entry-content > *:first-child { margin-top: 0; }
.entry-content strong { color: var(--c-primary-deep); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.entry-content li { margin-bottom: 0.3em; }
.entry-content blockquote {
	margin: 0 0 1.1em;
	padding: 10px 16px;
	border-left: 4px solid var(--c-accent);
	background: var(--c-accent-soft);
}
.entry-content h2 { text-align: center; }
.entry-content h2.left, .entry-content h3 { text-align: left; }

.post-thumb { margin: 0 0 14px; }

/* Banner / figure */
.pst-banner, .wp-block-image { margin: 0 0 1.1em; }
.pst-banner img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 1;
	object-fit: cover;
	border: 1px solid var(--c-border-soft);
	background: #eef3f7;
}
.pst-banner figcaption,
.wp-block-image figcaption,
.wp-caption-text {
	font-size: 0.78rem;
	color: var(--c-muted);
	padding: 4px 4px 0;
}

/* ---------- Tables (keluaran) ---------- */
.table-wrap, .sdy-table-wrap { overflow-x: auto; margin: 0 0 1.3em; -webkit-overflow-scrolling: touch; }
.entry-content table,
.sdy-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	background: #fff;
}
.entry-content th,
.entry-content td,
.sdy-table th,
.sdy-table td {
	border: 1px solid var(--k-border);
	padding: 6px 8px;
	text-align: center;
}
.entry-content thead th,
.sdy-table thead th {
	background: linear-gradient(180deg, var(--k-yellow-light) 0%, var(--k-yellow) 100%);
	border-color: var(--k-yellow-dark);
	color: var(--k-dark);
	font-family: var(--font-head);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 9px 6px;
}
.sdy-table tbody tr:nth-child(even) td { background: #fafafa; }
.sdy-table td {
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.03em;
	white-space: nowrap;
	color: #333;
}
.sdy-table:not(.sdy-paito):not(.sdy-list) td { height: 39px; }
.sdy-table td.is-out { background: #ececec !important; }
.sdy-table td.is-missing { color: #999; }
.sdy-table td.is-4d { color: #9a9a9a; }
.sdy-table td.is-latest {
	background: var(--k-dark) !important;
	color: var(--k-yellow) !important;
	font-weight: 700;
}
.sdy-table td.is-today { box-shadow: inset 0 0 0 2px var(--k-yellow); background: #fffdf3 !important; }
.sdy-table.sdy-list td { text-align: left; padding: 8px 12px; }
.sdy-table.sdy-list td:last-child, .sdy-table.sdy-list th:last-child { text-align: center; }
.sdy-table.sdy-list th { text-align: left; padding-left: 12px; }
.sdy-table.sdy-kv td:last-child { text-align: left; }
.sdy-table .num-strong { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.1em; color: var(--k-dark); }
.sdy-table tr.is-latest-row td { background: #fff8db !important; }
.sdy-table-title { text-align: center; }
.entry-content h2.sdy-sep { border-top: 3px solid var(--k-dark); padding-top: 18px; margin-top: 28px; }
.sdy-note { font-size: 0.82rem; color: #777; margin: -0.6em 0 1.2em; text-align: center; }
.sdy-empty {
	border: 1px dashed #c8c8c8;
	background: #fafafa;
	padding: 14px;
	text-align: center;
	color: #777;
	border-radius: 6px;
	margin: 0 0 1.3em;
}

/* ---------- Result SDY Terakhir ---------- */
.sdy-result {
	border: 2px solid var(--k-dark);
	border-radius: 6px;
	overflow: hidden;
	margin: 0 0 1.4em;
	text-align: center;
	background: #fff;
}
.sdy-result__head {
	background: var(--k-dark);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
}
.sdy-result__title {
	color: var(--k-yellow);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 18px;
	text-transform: uppercase;
}
.sdy-result__today { color: #fff; font-family: var(--font-head); font-size: 0.85rem; }
.sdy-result__body { padding: 16px 12px 14px; }
.sdy-balls { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.sdy-ball {
	width: 62px;
	height: 62px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 32px;
	line-height: 1;
	color: var(--k-dark);
	background: radial-gradient(circle at 34% 28%, #fff7cf 0%, var(--k-yellow-light) 28%, var(--k-yellow) 58%, #dba700 100%);
	border: 2px solid var(--k-dark);
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18), 0 2px 4px rgba(0, 0, 0, 0.25);
}
.sdy-ball.is-wait {
	color: var(--k-yellow-light);
	background: radial-gradient(circle at 34% 28%, #9a9a9a 0%, #6f6f6f 60%, #555 100%);
	border-color: #555;
}
.sdy-ball.is-pop { animation: sdyPop 0.5s ease-out; }
@keyframes sdyPop { 0% { transform: scale(0.4); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
.sdy-result__date { font-weight: 700; color: var(--k-dark); font-size: 1.02rem; }
.sdy-result__meta { font-size: 0.86rem; color: #555; margin-top: 2px; }
.sdy-result__meta b { font-family: var(--font-head); letter-spacing: 0.06em; color: var(--k-dark); }
.sdy-result__next { font-size: 0.86rem; color: #666; margin-top: 6px; }
.sdy-countdown {
	display: inline-block;
	background: var(--k-yellow-soft);
	color: var(--k-dark);
	font-family: var(--font-head);
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 1px 8px;
	border-radius: 3px;
	font-variant-numeric: tabular-nums;
}
.sdy-countdown.is-live { background: #e53935; color: #fff; }
.sdy-pill { display: inline-block; background: #eee; border-radius: 16px; padding: 4px 6px 4px 12px; font-size: 0.9rem; color: #333; margin: 8px 0 6px; }
.sdy-pill.is-done { background: #e7f6ea; color: #1b5e20; padding-right: 12px; }
.sdy-live__sched { font-size: 0.88rem; color: #666; margin-top: 4px; }
.sdy-live__last { font-size: 0.88rem; color: #666; }
.sdy-ball + .sdy-ball { margin-left: 0; }
.sdy-live .sdy-ball { width: 72px; height: 72px; font-size: 36px; }

/* ---------- Paito Warna ---------- */
.sdy-paito-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 0.9rem; }
.sdy-swatch { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #bbb; cursor: pointer; padding: 0; }
.sdy-swatch.is-active { box-shadow: 0 0 0 3px var(--k-dark); }
.sdy-paito-same { display: inline-flex; align-items: center; gap: 5px; }
.sdy-btn-reset { border: 1px solid #999; background: #fff; border-radius: 4px; padding: 3px 12px; font-weight: 700; cursor: pointer; }
.sdy-btn-reset:hover { background: var(--k-yellow-soft); }
.sdy-table-scroll { overflow: auto; max-height: 640px; margin: 0 0 1em; border: 1px solid var(--k-border); }
.sdy-table.sdy-paito { font-size: 13px; }
.sdy-table.sdy-paito th, .sdy-table.sdy-paito td { padding: 4px 3px; min-width: 20px; letter-spacing: 0; }
.sdy-table.sdy-paito thead tr:first-child th { position: sticky; top: 0; z-index: 2; }
.sdy-table.sdy-paito .sdy-paito-sub th { background: var(--k-dark); color: #fff; font-size: 11px; position: sticky; top: 33px; z-index: 2; border-color: #333; }
.sdy-table.sdy-paito .sdy-day-start { border-left: 2px solid #555; }
.sdy-table.sdy-paito .sdy-col-date { font-size: 12px; white-space: nowrap; padding: 4px 6px; }
.sdy-table.sdy-paito td.sdy-pd { cursor: pointer; user-select: none; }
.sdy-table.sdy-paito td.sdy-pd:hover { outline: 2px solid var(--k-yellow); outline-offset: -2px; }
.sdy-table.sdy-paito td.is-blank { color: #bbb; }

/* ---------- Auto-injected blocks ---------- */
.pst-auto-more { text-align: center; font-size: 0.9rem; }

/* ---------- Sidebar ---------- */
.sidebar .widget {
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	margin-bottom: 16px;
	overflow: hidden;
}
.sidebar .widget-title {
	margin: 0;
	background: linear-gradient(180deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
	color: #fff;
	font-size: 1.02rem;
	padding: 8px 12px;
}
.sidebar .widget-body,
.sidebar .widget > *:not(.widget-title) { padding: 10px 12px; }
.sidebar .widget ul { list-style: none; margin: 0; padding: 0 12px 6px; }
.sidebar .widget .widget-body ul { padding: 0; }
.sidebar .widget li { border-bottom: 1px solid var(--c-border-soft); padding: 6px 0; font-size: 0.9rem; line-height: 1.5; }
.sidebar .widget li:last-child { border-bottom: 0; }
.sidebar .widget li a { text-decoration: none; color: var(--c-text); }
.sidebar .widget li a:hover { color: var(--c-link); }
.sidebar .widget-k .widget-title {
	background: var(--k-dark);
	color: var(--k-yellow);
	border-bottom: 3px solid var(--k-yellow);
}
.sidebar .sdy-result { margin: 0; border: 0; border-radius: 0; }
.sidebar .sdy-result--compact { padding: 14px 10px 12px; }
.sidebar .sdy-ball { width: 44px; height: 44px; font-size: 24px; }
.sidebar .sdy-balls { gap: 6px; flex-wrap: nowrap; }
.sidebar .widget-mini-result .widget-body { padding: 0; }
.sidebar .sdy-result__date { font-weight: 400; font-size: 0.92rem; color: #444; }
.sidebar .widget ul.sdy-mini-list { padding: 0; }
.sidebar .sdy-mini-list li { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; font-size: 0.9rem; }
.sidebar .sdy-mini-list b { font-family: var(--font-head); font-size: 1.05rem; letter-spacing: 0.12em; color: var(--k-dark); }

/* Block widgets added by the user */
.sidebar .widget > .wp-block-group > h2,
.sidebar .widget h2.wp-block-heading {
	margin: 0;
	background: linear-gradient(180deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
	color: #fff;
	font-size: 1.02rem;
	padding: 8px 12px;
}
.sidebar .widget .wp-block-group,
.sidebar .widget .wp-block-group__inner-container { padding: 0 !important; }
.sidebar .widget .wp-block-latest-posts,
.sidebar .widget .wp-block-latest-comments,
.sidebar .widget .wp-block-archives,
.sidebar .widget .wp-block-categories { padding: 6px 12px 8px; margin: 0; }
.sidebar .wp-block-search { padding: 10px 12px; }

/* Search */
.search-form { display: flex; gap: 6px; }
.search-form .search-field {
	flex: 1;
	min-width: 0;
	padding: 7px 10px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	font: inherit;
}
.search-form .search-submit, .btn, .comment-form .submit {
	background: var(--c-primary);
	color: #fff;
	border: 0;
	padding: 7px 14px;
	border-radius: var(--radius);
	font-family: var(--font-head);
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
}
.search-form .search-submit:hover, .btn:hover, .comment-form .submit:hover { background: var(--c-primary-dark); color: #fff; }

/* ---------- Social ---------- */
.pst-social { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pst-social li { border: 0 !important; padding: 0 !important; }
.pst-social a {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--c-primary);
	color: #fff !important;
	transition: background 0.15s, transform 0.15s;
}
.pst-social a:hover, .pst-social a:focus { background: var(--c-accent); transform: translateY(-1px); }
.pst-social svg { width: 17px; height: 17px; fill: currentColor; }
.pst-social--labels a { width: auto; border-radius: 18px; padding: 0 12px 0 10px; gap: 7px; text-decoration: none; font-size: 0.85rem; }

/* ---------- Posts list ---------- */
.post-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--c-border-soft); }
.post-card:last-child { border-bottom: 0; }
.post-card.no-thumb { grid-template-columns: minmax(0, 1fr); }
.post-card h2 { font-size: 1.15rem; margin: 0 0 4px; text-align: left; }
.post-card h2 a { text-decoration: none; }
.post-card .excerpt { font-size: 0.92rem; color: var(--c-muted); }
.post-card .excerpt p { margin: 0; }

.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.page-numbers {
	display: inline-block; min-width: 34px; text-align: center; padding: 4px 9px;
	border: 1px solid var(--c-border); border-radius: var(--radius); text-decoration: none;
}
.page-numbers.current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* ---------- Comments ---------- */
.comments-area { margin-top: 10px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 1em; }
.comment-list .children { list-style: none; padding-left: 22px; }
.comment-body { border: 1px solid var(--c-border-soft); border-radius: var(--radius); padding: 10px 12px; margin-bottom: 10px; }
.comment-meta { font-size: 0.82rem; color: var(--c-muted); }
.comment-form label { display: block; font-weight: 600; font-size: 0.9rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 8px 10px; border: 1px solid var(--c-border); border-radius: var(--radius); font: inherit;
}
.moderation-note { font-size: 0.85rem; background: var(--c-accent-soft); padding: 8px 12px; border-radius: var(--radius); }

/* ---------- Notice ---------- */
.pst-note {
	background: #fff8e1;
	border: 1px solid #f1d27a;
	border-radius: var(--radius);
	padding: 10px 14px;
	font-size: 0.9rem;
	margin: 0 0 1.2em;
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--c-primary-deep);
	color: #c9dceb;
	font-size: 0.9rem;
	border-top: 4px solid var(--c-accent);
}
.footer-cols {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 24px;
	padding: 24px 20px 14px;
}
.site-footer h2 {
	color: #fff;
	font-size: 1.05rem;
	margin: 0 0 10px;
	text-align: left;
}
.site-footer a { color: #e6f3fc; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 3px 0; }
.footer-logo img { max-width: 210px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25)); background: #fff; border-radius: 6px; padding: 6px 10px; }
.site-footer .pst-social a { background: rgba(255, 255, 255, 0.12); }
.site-footer .pst-social a:hover { background: var(--c-accent); }
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 12px 20px;
	text-align: center;
	font-size: 0.8rem;
	color: #9fb8cc;
}
.badge-18 {
	display: inline-block;
	border: 1px solid #9fb8cc;
	border-radius: 3px;
	padding: 0 5px;
	margin-right: 4px;
	font-weight: 700;
}

/* ---------- 404 ---------- */
.error-404 { text-align: center; padding: 30px 10px; }
.error-404 .big { font-family: var(--font-head); font-size: 4rem; color: var(--c-primary); margin: 0; line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.layout { grid-template-columns: minmax(0, 1fr); }
	.footer-cols { grid-template-columns: 1fr 1fr; }
	.footer-cols > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
	body { font-size: 15px; }
	.site-content { padding: 12px; }
	.box { padding: 14px 14px 6px; }
	.site-branding img { max-height: 80px; }
	.nav-toggle { display: block; }
	.main-nav .menu { display: none; flex-direction: column; padding: 0; }
	.main-nav.is-open .menu { display: flex; }
	.main-nav .menu > li { border: 0 !important; border-top: 1px solid rgba(255, 255, 255, 0.12) !important; }
	.main-nav .sub-menu { position: static; display: block; box-shadow: none; background: rgba(0, 0, 0, 0.15); }
	.main-nav .sub-menu a { padding-left: 28px; }
	.post-card { grid-template-columns: 100px minmax(0, 1fr); }
	.sdy-ball { width: 50px; height: 50px; font-size: 26px; }
	.sdy-live .sdy-ball { width: 56px; height: 56px; font-size: 28px; }
	.sdy-result__head { flex-direction: column; gap: 2px; }
	.sdy-table { font-size: 13px; }
	.sdy-table th, .sdy-table td { padding: 5px 3px; }
	.sdy-table.sdy-list td { padding: 7px 8px; }
	h1 { font-size: 1.4rem; }
	h2 { font-size: 1.22rem; }
}
@media (max-width: 480px) {
	.footer-cols { grid-template-columns: 1fr; }
}

@media print {
	.main-nav, .sidebar, .site-footer, .result-bar { display: none; }
	.layout { grid-template-columns: 1fr; }
}
