/*
Theme Name: Pasaran Sydney Today
Theme URI: https://pasaransydneytoday.com
Author: Pasaran Sydney Today
Author URI: https://pasaransydneytoday.com
Description: Tema klasik untuk Pasaran Sydney Today – Mengenal Jadwal dan Sistem Undian Sydney. Result Sydney, Singapore & Hongkong otomatis (input admin, auto-fetch terjadwal, REST API, import CSV), data per tahun, paito warna, live draw, jadwal, SEO (canonical, meta robots, robots.txt, schema JSON-LD) dan halaman About/Policy otomatis.
Version: 1.0.2
Requires at least: 6.0
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: pasaransydney
Tags: two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ===================== Token ===================== */
:root {
	--mr-950: #1a0306;
	--mr-900: #2c050b;
	--mr-800: #450a13;
	--mr-700: #5e0f1c;
	--mr-600: #7d1526;
	--red: #d42a45;
	--red-2: #f04a62;
	--gold: #e2b24b;
	--gold-2: #f6d980;
	--gold-3: #fff3c8;
	--bar: #b8860b;
	--bar-dark: #8f6808;
	--paper: #ffffff;
	--panel: #f3efe7;
	--line: #d9ccb6;
	--line-2: #c9c2b8;
	--ink: #2a2220;
	--muted: #6d6159;
	--link: #8a1426;
	--ok: #1f8a4c;
	--radius: 4px;
	--head-font: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
	--body-font: Roboto, "Segoe UI", Arial, sans-serif;
}

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

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

body {
	margin: 0;
	color: var(--ink);
	font: 400 15px/1.7 var(--body-font);
	background-color: var(--mr-950);
	background-image:
		radial-gradient(ellipse at top, rgba(125, 21, 38, .55), transparent 60%),
		repeating-linear-gradient(135deg, rgba(226, 178, 75, .035) 0 14px, transparent 14px 36px);
	background-attachment: fixed;
}

img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red); }
a:focus-visible,
button:focus-visible,
summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--head-font); line-height: 1.25; color: #1f1715; }

.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; z-index: 1000;
	left: 8px; top: 8px; padding: 10px 14px; background: var(--gold-2); color: var(--mr-900);
}

.site {
	max-width: 1100px;
	margin: 0 auto;
	background: var(--panel);
	box-shadow: 0 0 0 1px rgba(226, 178, 75, .25), 0 10px 60px rgba(0, 0, 0, .7);
}

/* ===================== Header ===================== */
.site-header {
	position: relative;
	background:
		radial-gradient(ellipse at 20% 0%, rgba(240, 74, 98, .25), transparent 55%),
		repeating-linear-gradient(135deg, rgba(246, 217, 128, .05) 0 12px, transparent 12px 30px),
		linear-gradient(180deg, var(--mr-700), var(--mr-900));
	color: var(--gold-2);
}

.awning { position: relative; height: 30px; }
.awning::before {
	content: ""; position: absolute; inset: 0 0 auto 0; height: 7px;
	background: linear-gradient(180deg, #fff1b8, var(--gold) 60%, #a8761a);
	z-index: 2; box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}
.awning::after {
	content: ""; position: absolute; inset: 5px 0 0 0;
	background: repeating-linear-gradient(90deg, var(--red) 0 44px, var(--gold-2) 44px 88px);
	-webkit-mask: linear-gradient(#000 0 0) top/100% 3px no-repeat, radial-gradient(22px at 22px 3px, #000 97%, #0000) 0 0/44px 25px repeat-x;
	mask: linear-gradient(#000 0 0) top/100% 3px no-repeat, radial-gradient(22px at 22px 3px, #000 97%, #0000) 0 0/44px 25px repeat-x;
	filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .35));
}

.site-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 18px;
	padding: 8px 18px 16px;
}
.site-logo { display: block; line-height: 0; }
.site-logo__img { width: 320px; max-width: 100%; height: auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
.site-tagline { margin: 6px 0 0; font: 500 13px/1.4 var(--head-font); color: var(--gold-3); letter-spacing: .3px; max-width: 360px; opacity: .9; }

.header-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; flex: 0 1 520px; }
.hr-item {
	text-decoration: none; color: inherit; display: block; text-align: center;
	background: rgba(0, 0, 0, .28); border: 1px solid rgba(246, 217, 128, .35); border-radius: 6px;
	padding: 8px 6px 10px; transition: background .2s, transform .2s;
}
.hr-item:hover { background: rgba(0, 0, 0, .45); color: inherit; transform: translateY(-1px); }
.hr-item__name { display: block; font: 700 12px/1.2 var(--head-font); letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.hr-item__num { display: block; font: 700 30px/1.15 var(--head-font); letter-spacing: 4px; color: #fff; text-shadow: 0 2px 0 var(--mr-900), 0 0 14px rgba(246, 217, 128, .45); }
.hr-item__date { display: block; font-size: 11px; color: #f1dfc0; opacity: .85; }

/* ===================== Navigasi ===================== */
.main-nav {
	background: linear-gradient(180deg, var(--mr-900), #200409);
	border-top: 2px solid var(--gold);
	border-bottom: 2px solid var(--gold);
	position: relative; z-index: 50;
}
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav .menu { display: flex; flex-wrap: wrap; padding: 0 8px; }
.main-nav li { position: relative; }
.main-nav a {
	display: block; padding: 11px 13px; color: var(--gold-2); text-decoration: none;
	font: 700 14.5px/1.2 var(--head-font); text-transform: uppercase; letter-spacing: .4px;
}
.main-nav .menu > li > a:hover,
.main-nav .menu > li:focus-within > a,
.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a { background: var(--gold); color: var(--mr-900); }
.main-nav .menu-item-has-children > a::after { content: " ▾"; font-size: 11px; }
.main-nav .sub-menu {
	position: absolute; left: 0; top: 100%; min-width: 210px; background: var(--paper);
	border: 1px solid var(--bar); border-top: 3px solid var(--gold); box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu,
.main-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { color: var(--ink); text-transform: none; font-weight: 500; font-size: 15px; border-bottom: 1px solid #eee; }
.main-nav .sub-menu a:hover { background: var(--gold-3); color: var(--link); }
.nav-toggle {
	display: none; width: 100%; background: none; border: 0; color: var(--gold-2); cursor: pointer;
	font: 700 16px var(--head-font); text-transform: uppercase; padding: 12px 16px; text-align: left; letter-spacing: 1px;
}
.nav-toggle__icon { display: inline-block; width: 18px; margin-right: 8px; }
.nav-toggle__icon i { display: block; height: 2px; margin: 4px 0; background: currentColor; border-radius: 2px; }

/* ===================== Ticker ===================== */
.pst-ticker {
	display: flex; align-items: center; gap: 10px; background: var(--gold-3);
	border-bottom: 1px solid var(--line); padding: 6px 12px; font-size: 14px; overflow: hidden;
}
.pst-ticker__label {
	flex: none; background: var(--mr-700); color: var(--gold-2); font: 700 12px var(--head-font);
	letter-spacing: 1px; padding: 4px 10px; border-radius: 3px;
}
.pst-ticker__viewport { overflow: hidden; flex: 1; -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.pst-ticker__track { display: inline-flex; white-space: nowrap; gap: 18px; animation: pst-marquee 38s linear infinite; }
.pst-ticker:hover .pst-ticker__track { animation-play-state: paused; }
.pst-ticker__item strong { color: var(--link); letter-spacing: 2px; font-size: 15px; }
.pst-ticker__sep { color: var(--bar); }
@keyframes pst-marquee { to { transform: translateX(-50%); } }

.banner-area { padding: 10px 14px 0; display: grid; gap: 8px; text-align: center; }
.banner-area:empty { display: none; }
.banner-area img { display: block; margin: 0 auto; border-radius: 3px; }

/* ===================== Layout konten ===================== */
.site-content {
	display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; padding: 14px;
	align-items: start;
}
.box {
	background: var(--paper); border: 1px solid #8f8478; padding: 12px 16px 20px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
}
.box + .box { margin-top: 14px; }
.breadcrumb { font-size: 12.5px; color: var(--muted); margin: 0 0 6px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--link); text-decoration: underline; }
.breadcrumb .sep { margin: 0 4px; color: var(--bar); }
.entry-title { font: 500 27px/1.25 var(--head-font); margin: 0 0 12px; color: #1d1614; }
.entry-meta { font-size: 13px; color: var(--muted); margin: -6px 0 12px; }
.entry-content > :first-child { margin-top: 0; }
.entry-content p { margin: 0 0 1em; }
.entry-content h2 {
	font: 700 22px/1.3 var(--head-font); margin: 1.6em 0 .6em; padding-bottom: 6px;
	border-bottom: 2px solid var(--gold-2);
}
.entry-content h3 { font-size: 19px; margin: 1.4em 0 .5em; }
.entry-content ul,
.entry-content ol { padding-left: 1.3em; margin: 0 0 1em; }
.entry-content li { margin-bottom: .3em; }
.entry-content figure { margin: 0 0 1em; }
.entry-content figcaption,
.wp-caption-text { font-size: 12.5px; color: var(--muted); padding: 4px 4px 0; }
.entry-content blockquote { margin: 1em 0; padding: 10px 16px; border-left: 4px solid var(--gold); background: var(--gold-3); }
.hero-figure img { display: block; width: 100%; border: 1px solid #8f8478; }
.alignleft { float: left; margin: 0 1em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* ===================== Tabel ===================== */
.pst-table-title { text-align: center; border: 0 !important; font: 700 24px/1.3 var(--head-font) !important; margin: 1.4em 0 .5em !important; }
.pst-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1em; }
.pst-table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; }
.pst-table th {
	background: var(--bar); color: #fff; font: 700 14px/1.2 Arial, sans-serif; padding: 9px 6px;
	border: 1px solid var(--bar-dark); text-transform: uppercase; text-align: center; white-space: nowrap;
}
.pst-table td { border: 1px solid var(--line-2); padding: 5px 6px; text-align: center; font-variant-numeric: tabular-nums; }
.pst-table--data td { letter-spacing: .5px; width: 14.28%; }
.pst-table td.is-latest { background: #ffe27a; font-weight: 700; box-shadow: inset 0 0 0 2px var(--bar); }
.pst-table td.is-off { color: #b5384c; font-size: 11px; font-weight: 700; letter-spacing: .5px; }
.pst-table td.is-out { background: #f2efea; }
.pst-table td.is-empty { color: #a99; }
.pst-table td.is-pending { background: repeating-linear-gradient(135deg, #fff8dc 0 6px, #fff 6px 12px); }
.pst-table--jadwal th[scope=row] { background: #faf6ee; color: var(--ink); text-transform: none; text-align: left; font-family: var(--body-font); border-color: var(--line-2); }
.pst-table--recent td:first-child { text-align: left; }
.pst-strong { font-weight: 700; letter-spacing: 1.5px; color: var(--mr-700); }
.pst-note { font-size: 13px; color: var(--muted); }
.pst-chip { display: inline-block; font-size: 11px; font-weight: 700; padding: 0 6px; border-radius: 3px; background: #f2efea; color: #b5384c; }
.pst-chip--latest { background: #ffe27a; color: var(--ink); }
.pst-empty { padding: 16px; border: 1px dashed var(--bar); background: var(--gold-3); text-align: center; margin: 0 0 1em; }

.pst-years,
.pst-switch { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 12px; font-size: 13px; }
.pst-years span { color: var(--muted); }
.pst-years a,
.pst-switch a {
	display: inline-block; padding: 4px 11px; border: 1px solid var(--bar); border-radius: 20px;
	text-decoration: none; color: var(--mr-700); font-weight: 700; background: #fff;
}
.pst-switch a { font-family: var(--head-font); font-size: 15px; padding: 6px 14px; }
.pst-switch small { opacity: .7; font-weight: 500; }
.pst-years a:hover,
.pst-switch a:hover,
.pst-switch a.is-active { background: var(--mr-700); color: var(--gold-2); border-color: var(--mr-700); }

/* ===================== Bola angka & kartu ===================== */
.pst-balls { display: inline-flex; gap: 6px; justify-content: center; }
.pst-ball {
	width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	font: 700 24px/1 var(--head-font); color: var(--mr-900);
	background: radial-gradient(circle at 32% 28%, #fffbe6 0, #f6d980 30%, #e2b24b 62%, #a8761a 100%);
	box-shadow: inset 0 -3px 6px rgba(120, 70, 0, .35), 0 3px 6px rgba(0, 0, 0, .25);
	text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}
.pst-balls--sm .pst-ball { width: 28px; height: 28px; font-size: 16px; }
.pst-balls--xl { gap: 12px; }
.pst-balls--xl .pst-ball { width: 72px; height: 72px; font-size: 42px; }
.is-rolling .pst-ball { animation: pst-shake .25s ease-in-out infinite alternate; }
.pst-ball.is-pop { animation: pst-pop .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pst-shake { from { transform: translateY(-2px) rotate(-6deg); } to { transform: translateY(2px) rotate(6deg); } }
@keyframes pst-pop { 0% { transform: scale(.3); } 100% { transform: scale(1); } }

.pst-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 0 0 1.2em; }
.pst-cards--1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.pst-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 8px rgba(69, 10, 19, .08); }
.pst-card__head {
	display: flex; align-items: center; gap: 8px; padding: 8px 10px;
	background: linear-gradient(180deg, var(--mr-600), var(--mr-800)); color: var(--gold-2);
	font: 700 15px/1.2 var(--head-font); text-transform: uppercase; letter-spacing: .5px;
}
.pst-card__code { background: var(--gold); color: var(--mr-900); border-radius: 3px; padding: 2px 7px; font-size: 13px; }
.pst-card__name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pst-card__live { display: none; background: var(--red); color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 3px; animation: pst-blink 1s infinite; }
.pst-card.is-live .pst-card__live { display: inline-block; }
@keyframes pst-blink { 50% { opacity: .35; } }
.pst-card__body { padding: 12px 10px; text-align: center; flex: 1; }
.pst-card__date { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.pst-card__next { margin-top: 10px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.pst-card__next strong { display: block; color: var(--ink); }
.pst-countdown { display: inline-block; font: 700 14px var(--head-font); color: var(--mr-700); letter-spacing: 1px; }
.pst-countdown:empty { display: none; }
.pst-card__links { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pst-card__links a { text-align: center; padding: 7px 2px; font: 700 12.5px var(--head-font); white-space: nowrap; text-transform: uppercase; text-decoration: none; color: var(--mr-700); }
.pst-card__links a + a { border-left: 1px solid var(--line); }
.pst-card__links a:hover { background: var(--gold-3); }

/* ===================== Live draw ===================== */
.pst-live {
	text-align: center; color: #fff; border-radius: 8px; overflow: hidden; margin: 0 0 1.5em;
	background:
		radial-gradient(ellipse at 50% 0%, rgba(240, 74, 98, .35), transparent 60%),
		repeating-linear-gradient(135deg, rgba(246, 217, 128, .05) 0 12px, transparent 12px 30px),
		linear-gradient(180deg, var(--mr-700), var(--mr-950));
	border: 2px solid var(--gold);
	box-shadow: 0 8px 24px rgba(44, 5, 11, .35);
}
.pst-live__head { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 10px; padding: 12px; background: rgba(0, 0, 0, .3); border-bottom: 1px solid rgba(246, 217, 128, .35); }
.pst-live__head h2 { margin: 0; padding: 0; border: 0; color: var(--gold-2); font: 700 21px var(--head-font); text-transform: uppercase; letter-spacing: 1px; }
.pst-live__date { font-size: 13px; color: #f1dfc0; }
.pst-live__dot { width: 12px; height: 12px; border-radius: 50%; background: #777; }
.pst-live.is-live .pst-live__dot { background: var(--red-2); box-shadow: 0 0 0 0 rgba(240, 74, 98, .7); animation: pst-pulse 1.4s infinite; }
@keyframes pst-pulse { 70% { box-shadow: 0 0 0 12px rgba(240, 74, 98, 0); } 100% { box-shadow: 0 0 0 0 rgba(240, 74, 98, 0); } }
.pst-live__status { margin: 14px 12px 0; font-weight: 500; color: var(--gold-3); }
.pst-live.is-live .pst-live__status { color: #fff; }
.pst-live__prize { padding: 16px 10px 8px; }
.pst-live__label { display: inline-block; margin-bottom: 12px; background: var(--gold); color: var(--mr-900); font: 700 14px var(--head-font); padding: 3px 14px; border-radius: 20px; letter-spacing: 1px; text-transform: uppercase; }
.pst-live__for { margin-top: 10px; font-size: 13px; color: #f1dfc0; }
.pst-live__next { padding: 10px; font-size: 14px; color: #f1dfc0; }
.pst-live__next strong { color: #fff; }
.pst-countdown--big { display: block; margin-top: 6px; font-size: 30px; color: var(--gold-2); letter-spacing: 3px; }
.pst-live__info { margin: 0; padding: 10px 14px; font-size: 12.5px; color: #e5d3b5; background: rgba(0, 0, 0, .25); }

/* ===================== Paito ===================== */
.pst-paito__bar { display: grid; gap: 8px; margin-bottom: 10px; font-size: 13px; }
.pst-paito__bar > div { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pst-paito__bar span { color: var(--muted); margin-right: 2px; }
.pst-paito__years a { padding: 3px 10px; border: 1px solid var(--bar); border-radius: 20px; text-decoration: none; font-weight: 700; color: var(--mr-700); }
.pst-paito__years a.is-active,
.pst-paito__years a:hover { background: var(--mr-700); color: var(--gold-2); }
.pst-swatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #aaa; background: var(--sw, #fff); cursor: pointer; padding: 0; font-size: 12px; color: #555; }
.pst-swatch.is-active { box-shadow: 0 0 0 2px var(--mr-700); transform: scale(1.12); }
.pst-swatch--erase { background: #fff; }
.pst-paito__digits button { min-width: 28px; height: 28px; border: 1px solid var(--line-2); border-radius: 4px; background: #fff; cursor: pointer; font-weight: 700; }
.pst-paito__digits button:hover { background: var(--gold-3); }
.pst-paito__digits button.is-on { background: var(--mr-700); color: var(--gold-2); border-color: var(--mr-700); }
.pst-paito__reset { padding: 0 10px; }
.pst-table--paito { font-size: 13px; }
.pst-table--paito th { font-size: 12px; padding: 7px 2px; }
.pst-table--paito td { padding: 3px 0; min-width: 20px; width: 3.5%; cursor: pointer; user-select: none; font-weight: 600; border-color: #d5d0c8; }
.pst-table--paito td.is-first { border-left: 2px solid var(--bar); }
.pst-table--paito td.pst-pc--none { background: #eeeae4; cursor: default; color: #aaa; }
.pst-table--paito td.is-latest { outline: 2px solid var(--red); outline-offset: -2px; }

/* ===================== FAQ & daftar ===================== */
.pst-faq details { border: 1px solid var(--line); border-radius: 4px; margin: 0 0 8px; background: #fff; }
.pst-faq summary { cursor: pointer; padding: 10px 14px; font-weight: 700; background: #faf6ee; list-style: none; position: relative; padding-right: 34px; }
.pst-faq summary::-webkit-details-marker { display: none; }
.pst-faq summary::after { content: "+"; position: absolute; right: 14px; top: 8px; font-size: 20px; color: var(--bar); }
.pst-faq details[open] summary::after { content: "–"; }
.pst-faq details > div { padding: 10px 14px 4px; }

.post-list { display: grid; gap: 14px; }
.post-card { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.post-card:last-child { border-bottom: 0; }
.post-card--nothumb { grid-template-columns: minmax(0, 1fr); }
.post-card__thumb img { display: block; width: 100%; height: 110px; object-fit: cover; border-radius: 3px; }
.post-card__title { margin: 0 0 4px; font-size: 19px; }
.post-card__title a { color: #1d1614; text-decoration: none; }
.post-card__title a:hover { color: var(--link); }
.post-card__meta { font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.post-card p { margin: 0; font-size: 14px; }

.pagination,
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.page-numbers { display: inline-block; padding: 5px 11px; border: 1px solid var(--line-2); background: #fff; text-decoration: none; color: var(--ink); border-radius: 3px; }
.page-numbers.current,
.page-numbers:hover { background: var(--mr-700); color: var(--gold-2); border-color: var(--mr-700); }

.tags-links a { display: inline-block; font-size: 12.5px; background: var(--gold-3); padding: 2px 8px; border-radius: 3px; margin: 0 4px 4px 0; text-decoration: none; }

/* ===================== Sidebar & widget ===================== */
.sidebar { display: grid; gap: 14px; }
.widget { background: #fff; border: 1px solid #6d5f52; font-size: 14px; }
.widget-title,
.widget > h2:first-child,
.widget .wp-block-heading:first-child {
	margin: 0; background: var(--bar); color: #fff; font: 500 19px/1.3 var(--head-font);
	padding: 6px 10px; border: 0; border-bottom: 1px solid var(--bar-dark);
}
.widget > :not(.widget-title) { padding: 8px 12px; }
.widget--user > * + * { padding-top: 0; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { border-bottom: 1px solid #e3ded6; }
.widget li:last-child { border-bottom: 0; }
.widget li a { display: block; padding: 6px 4px; text-decoration: none; color: #22457a; }
.widget li a:hover { color: var(--link); background: #faf6ee; }
.widget-results li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 2px; }
.widget-results .wr-name { font-weight: 700; color: var(--mr-700); font-family: var(--head-font); font-size: 15px; }
.widget-results .wr-date { display: block; font-size: 11.5px; color: var(--muted); }
.widget-jadwal li { display: flex; justify-content: space-between; padding: 6px 2px; }
.widget-jadwal b { color: var(--mr-700); }
.widget .search-form { display: flex; }

/* ===================== Sosial ===================== */
.pst-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pst-social li { border: 0 !important; }
.pst-social li a {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 36px; height: 36px; border-radius: 50%;
	background: var(--mr-700); color: var(--gold-2) !important; text-decoration: none; padding: 0 !important; transition: .15s;
}
.pst-social li a:hover { background: var(--gold); color: var(--mr-900) !important; transform: translateY(-2px); }
.pst-social--big li a { width: auto; height: auto; border-radius: 30px; padding: 8px 14px !important; font-weight: 700; font-size: 14px; }
.site-footer .pst-social li a { background: rgba(255, 255, 255, .08); }

/* ===================== Form ===================== */
.search-form { display: flex; gap: 0; }
.search-form .search-field { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid var(--line-2); border-right: 0; font: inherit; border-radius: 3px 0 0 3px; }
.search-form .search-submit { padding: 8px 14px; border: 0; background: var(--mr-700); color: var(--gold-2); font: 700 14px var(--head-font); cursor: pointer; border-radius: 0 3px 3px 0; }
.search-form .search-submit:hover { background: var(--red); color: #fff; }

.comment-respond,
.comments-area { margin-top: 20px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { border-bottom: 1px solid var(--line); padding: 10px 0; }
.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url],
.comment-form textarea { width: 100%; padding: 8px; border: 1px solid var(--line-2); font: inherit; }
.comment-form .submit { background: var(--mr-700); color: var(--gold-2); border: 0; padding: 9px 18px; font: 700 15px var(--head-font); cursor: pointer; }

/* ===================== Footer ===================== */
.site-footer { background: linear-gradient(180deg, var(--mr-900), var(--mr-950)); color: #e9d9bf; border-top: 4px solid var(--gold); font-size: 14px; }
.site-footer a { color: var(--gold-2); }
.footer-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; padding: 26px 20px 18px; }
.footer-title { color: var(--gold); font: 700 17px var(--head-font); text-transform: uppercase; letter-spacing: .5px; margin: 0 0 10px; }
.footer-logo img { width: 210px; height: auto; }
.footer-links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 14px; }
.footer-links li { margin-bottom: 5px; break-inside: avoid; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; color: #fff; }
.footer-sched { list-style: none; margin: 0; padding: 0; }
.footer-sched li { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(246, 217, 128, .2); padding: 5px 0; }
.footer-bottom { border-top: 1px solid rgba(246, 217, 128, .2); padding: 14px 20px 20px; text-align: center; font-size: 13px; }
.footer-menu { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.footer-menu a { text-decoration: none; }
.footer-menu a:hover { text-decoration: underline; }
.age-badge { display: inline-block; border: 2px solid var(--red-2); color: #fff; background: var(--red); border-radius: 50%; width: 30px; height: 30px; line-height: 26px; font-weight: 700; font-size: 11px; vertical-align: middle; margin-right: 6px; }
.footer-note { opacity: .8; margin: 8px auto 0; max-width: 760px; font-size: 12.5px; }

/* ===================== 404 ===================== */
.error-404 .big { font: 700 90px/1 var(--head-font); color: var(--mr-700); text-align: center; margin: 10px 0; text-shadow: 3px 3px 0 var(--gold-2); }

/* ===================== Responsif ===================== */
@media (max-width: 980px) {
	.site-content { grid-template-columns: minmax(0, 1fr); }
	.site-header__inner { flex-direction: column; align-items: stretch; text-align: center; }
	.site-branding { display: flex; flex-direction: column; align-items: center; }
	.header-results { flex: none; }
	.footer-cols { grid-template-columns: 1fr 1fr; }
	.footer-cols > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
	.nav-toggle { display: block; }
	.main-nav .menu { display: none; flex-direction: column; padding: 0 0 8px; }
	.main-nav.is-open .menu { display: flex; }
	.main-nav a { padding: 11px 16px; border-top: 1px solid rgba(246, 217, 128, .12); }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; background: rgba(0, 0, 0, .25); }
	.main-nav li.is-open > .sub-menu { display: block; }
	.main-nav .sub-menu a { color: var(--gold-3); padding-left: 32px; border-bottom: 0; }
	.main-nav .sub-menu a:hover { background: rgba(0, 0, 0, .3); color: #fff; }
}

@media (max-width: 600px) {
	body { font-size: 15px; }
	.site-content { padding: 10px; gap: 10px; }
	.box { padding: 10px 12px 16px; }
	.entry-title { font-size: 23px; }
	.site-logo__img { width: 250px; }
	.site-header__inner { padding: 6px 10px 12px; gap: 10px; }
	.header-results { gap: 6px; }
	.hr-item { padding: 6px 2px 8px; }
	.hr-item__num { font-size: 22px; letter-spacing: 2px; }
	.hr-item__date { font-size: 10px; }
	.pst-ball { width: 36px; height: 36px; font-size: 21px; }
	.pst-balls--xl .pst-ball { width: 58px; height: 58px; font-size: 34px; }
	.pst-table { font-size: 13px; }
	.pst-table th { font-size: 12px; padding: 7px 2px; }
	.pst-table td { padding: 5px 2px; }
	.post-card { grid-template-columns: 110px minmax(0, 1fr); }
	.post-card__thumb img { height: 80px; }
	.footer-cols { grid-template-columns: 1fr; }
	.awning { height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.pst-ticker__track { white-space: normal; flex-wrap: wrap; }
}

.pst-btn {
	display: inline-block; background: linear-gradient(180deg, var(--mr-600), var(--mr-800)); color: var(--gold-2) !important;
	padding: 9px 18px; border-radius: 4px; text-decoration: none; font: 700 15px var(--head-font); letter-spacing: .4px;
	border: 1px solid var(--bar); box-shadow: 0 2px 0 var(--bar-dark);
}
.pst-btn:hover { background: var(--gold); color: var(--mr-900) !important; }
.entry-content .pst-social { padding-left: 0; margin: 0 0 1em; }
