/*
Theme Name: Ardello
Theme URI: https://ardello.org/
Author: Ardello
Author URI: https://ardello.org/
Description: Lingkaran peminat tidak rasmi di Petaling Jaya tentang petak lot, tingkap fjap, dan jam kertas dalam Car Dealer Simulator. Bukan tapak rasmi PlayWay.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.6
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: ardello
Tags: blog, entertainment
*/

/* ==========================================================================
   1. Huruf setempat — Chivo 700 hanya kata; nombor dalam Public Sans
   ========================================================================== */

@font-face {
	font-family: "Chivo";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("fonts/chivo-700-latin.woff2") format("woff2");
	unicode-range: U+0000-002F, U+003A-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Chivo";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("fonts/chivo-700-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Public Sans";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("fonts/public-sans-400-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Public Sans";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("fonts/public-sans-400-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Public Sans";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("fonts/public-sans-600-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Public Sans";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("fonts/public-sans-600-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   2. Asas lot
   ========================================================================== */

:root {
	--lot: #f2f1ec;
	--panel: #e6e4dc;
	--haarlijn: #d0cec4;
	--rand: #5a5c58;
	--dakwat: #161814;
	--habuk: #454640;
	--teluk: #1a4a6c;
	--kulit: #7a4a18;
	--awas: #a82820;
	--huruf-paparan: "Chivo", sans-serif;
	--huruf-badan: "Public Sans", sans-serif;
	--lebar: 70rem;
	--kop-tinggi: 4.6rem;
}

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

html {
	scroll-padding-top: var(--kop-tinggi);
}

html,
body {
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--huruf-badan);
	font-weight: 400;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--dakwat);
	background: var(--lot);
}

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

a {
	color: var(--teluk);
}

a:hover,
a:focus-visible {
	color: var(--kulit);
}

:focus-visible {
	outline: 2px solid var(--teluk);
	outline-offset: 3px;
}

[hidden] {
	display: none !important;
}

p > a:only-child {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
}

.nombor,
time,
td,
th,
output,
input,
select,
textarea {
	font-family: var(--huruf-badan);
}

h1,
h2,
h3,
h4 {
	font-family: var(--huruf-paparan);
	font-weight: 700;
	line-height: 1.2;
	color: var(--dakwat);
	margin: 0 0 0.75rem;
}

h1 .nombor,
h2 .nombor,
h3 .nombor,
h4 .nombor {
	font-family: var(--huruf-badan);
	font-weight: 600;
}

h1 {
	font-size: clamp(1.9rem, 4vw, 3.1rem);
}

h2 {
	font-size: clamp(1.5rem, 3vw, 2.15rem);
}

h3 {
	font-size: 1.3rem;
}

.lot {
	width: min(100% - 2rem, var(--lebar));
	margin-inline: auto;
}

/* ==========================================================================
   3. Lompat dan kanopi
   ========================================================================== */

.sesat {
	position: absolute;
	left: 0.75rem;
	top: -4rem;
	z-index: 60;
	background: var(--teluk);
	color: var(--lot);
	padding: 0.6rem 1rem;
	min-height: 2.75rem;
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.sesat:focus {
	top: 0.75rem;
	color: var(--lot);
}

.kanopilot {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--lot);
	border-bottom: 1px solid var(--rand);
}

.kanopilot__baris {
	width: min(100% - 2rem, var(--lebar));
	margin-inline: auto;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: var(--kop-tinggi);
}

.kanopilot__merk {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	text-decoration: none;
	color: var(--dakwat);
	margin-right: auto;
}

.kanopilot__nama {
	font-family: var(--huruf-paparan);
	font-size: 1.7rem;
	letter-spacing: 0.01em;
	font-weight: 700;
}

.kanopilot__a {
	position: relative;
	display: inline-block;
}

.kanopilot__ris {
	position: absolute;
	left: 0.04em;
	right: 0.04em;
	bottom: 0;
	height: 0.11em;
	background: var(--kulit);
	pointer-events: none;
}

.kanopilot__buka {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 2.75rem;
	min-width: 2.75rem;
	padding: 0.35rem 0.7rem;
	border: 1px solid var(--rand);
	background: var(--panel);
	color: var(--dakwat);
	font-family: var(--huruf-badan);
	font-size: 0.95rem;
	cursor: pointer;
}

.kanopilot__garis {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 1.1rem;
}

.kanopilot__garis i {
	display: block;
	height: 2px;
	background: var(--dakwat);
}

.lotsenarai {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.85rem;
}

.kanopilot__nav a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	text-decoration: none;
	color: var(--dakwat);
	font-weight: 600;
}

.kanopilot__nav a:hover,
.kanopilot__nav a:focus-visible {
	color: var(--teluk);
}

@media (max-width: 61.99em) {
	.kanopilot__nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: var(--lot);
		border-bottom: 1px solid var(--rand);
		padding: 0.5rem 1rem 1rem;
	}

	.kanopilot--buka .kanopilot__nav {
		display: block;
	}

	.kanopilot__nav .lotsenarai {
		flex-direction: column;
	}
}

@media (min-width: 62em) {
	.kanopilot__buka {
		display: none;
	}

	.kanopilot__nav {
		display: block;
	}
}

/* ==========================================================================
   4. Butang, jahitan, wira
   ========================================================================== */

.lotbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.45rem 1.1rem;
	border: 1px solid var(--rand);
	background: var(--panel);
	color: var(--dakwat);
	font-family: var(--huruf-badan);
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	text-align: center;
}

.lotbtn:hover,
.lotbtn:focus-visible {
	color: var(--dakwat);
}

.lotbtn--maju {
	background: var(--teluk);
	border-color: var(--teluk);
	color: var(--lot);
}

.lotbtn--maju:hover,
.lotbtn--maju:focus-visible {
	background: var(--kulit);
	border-color: var(--kulit);
	color: var(--lot);
}

.lotbtn--senyap {
	background: var(--lot);
	color: var(--dakwat);
}

.lotbtn[aria-pressed="true"] {
	background: var(--kulit);
	border-color: var(--kulit);
	color: var(--lot);
}

.lotbtn:disabled,
.lotbtn[aria-disabled="true"] {
	background: var(--panel);
	color: var(--habuk);
	border-color: var(--rand);
	cursor: not-allowed;
}

.lotnaht {
	display: block;
	width: min(100% - 2rem, var(--lebar));
	margin: 0.4rem auto;
}

.lotnaht svg {
	width: 100%;
	height: 28px;
	display: block;
}

.lotwira {
	position: relative;
	min-height: 28rem;
	color: var(--lot);
	overflow: hidden;
}

.lotwira__gambar {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lotwira__tudung {
	position: absolute;
	inset: 0;
	background: rgba(22, 24, 20, 0.78);
}

.lotwira__isi {
	position: relative;
	width: min(100% - 2rem, 44rem);
	margin: 0 auto;
	padding: 5rem 0 3.5rem;
}

.lotwira__mata,
.lotwira__in,
.lotwira h1,
.lotwira p {
	color: var(--lot);
	font-family: var(--huruf-badan);
}

.lotwira h1 {
	font-family: var(--huruf-paparan);
}

.lotwira .lotbtn--maju {
	background: var(--kulit);
	border-color: var(--kulit);
	color: var(--lot);
}

.petak {
	padding: 3rem 0;
}

.petak--panel {
	background: var(--panel);
}

.petak__mata {
	color: var(--habuk);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.82rem;
	font-weight: 600;
	margin: 0 0 0.4rem;
}

.lotduo {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	align-items: stretch;
}

@media (min-width: 52em) {
	.lotduo {
		display: flex;
		flex-direction: row;
		align-items: center;
	}

	.lotduo figure,
	.lotduo > div {
		flex: 1 1 0;
	}
}

.lotduo__gambar {
	width: 100%;
	border: 1px solid var(--rand);
}

.tigaaturan {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

@media (min-width: 40em) {
	.tigaaturan {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.tigaaturan .kunci {
		flex: 1 1 16rem;
	}
}

.kunci {
	background: var(--lot);
	border: 1px solid var(--rand);
	padding: 1rem 1.1rem 1.2rem;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.petak--panel .kunci {
	background: var(--lot);
}

.kunci a {
	margin-top: auto;
	align-self: flex-start;
}

.kunci__nombor {
	font-family: var(--huruf-badan);
	font-weight: 600;
	color: var(--teluk);
	font-size: 1.5rem;
}

/* ==========================================================================
   5. Alat lot
   ========================================================================== */

.alatlot {
	border: 1px solid var(--rand);
	background: var(--lot);
	padding: 1.1rem;
}

.petak--panel .alatlot {
	background: var(--panel);
}

.alatlot__gambar {
	width: 100%;
	max-height: 16rem;
	object-fit: cover;
	object-position: center;
	margin-bottom: 1rem;
	border: 1px solid var(--haarlijn);
}

.alatlot__baris {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0.6rem 0 1rem;
}

.alatlot__hasil {
	min-height: 3.2rem;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--rand);
	background: var(--panel);
	font-family: var(--huruf-badan);
}

.petakpapan {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.45rem;
	max-width: 28rem;
}

.petakpapan .lotbtn {
	min-height: 2.75rem;
	padding-inline: 0.35rem;
	text-align: center;
}

.petaklukis {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.4rem;
	max-width: 28rem;
}

.petaklukis span {
	min-height: 2.75rem;
	border: 1px dashed var(--rand);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--huruf-badan);
	font-weight: 600;
	background: var(--lot);
}

.petaklukis span[data-lorong] {
	background: var(--panel);
	border-style: solid;
}

.enamangka {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.enamangka li {
	flex: 1 1 9rem;
	border: 1px solid var(--rand);
	padding: 0.9rem 1rem;
	background: var(--lot);
}

.enamangka .nombor {
	display: block;
	font-size: 1.7rem;
	font-weight: 600;
	color: var(--teluk);
}

@media (min-width: 52em) {
	.enamangka li {
		flex: 1 1 12rem;
	}
}

.soalan {
	border-top: 1px solid var(--haarlijn);
	padding: 0.9rem 0;
}

.soalan h3 {
	font-family: var(--huruf-badan);
	font-weight: 600;
	font-size: 1.05rem;
}

.lotcta {
	position: relative;
	color: var(--lot);
	min-height: 16rem;
	overflow: hidden;
}

.lotcta__gambar {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lotcta__tudung {
	position: absolute;
	inset: 0;
	background: rgba(22, 24, 20, 0.78);
}

.lotcta__isi {
	position: relative;
	width: min(100% - 2rem, var(--lebar));
	margin: 0 auto;
	padding: 3.2rem 0;
}

.lotcta h2,
.lotcta p {
	color: var(--lot);
	font-family: var(--huruf-badan);
}

.lotcta h2 {
	font-family: var(--huruf-paparan);
}

.lotcta .lotbtn--maju {
	background: var(--kulit);
	border-color: var(--kulit);
	color: var(--lot);
}

.lotcta .lotbtn--senyap {
	background: var(--lot);
	color: var(--dakwat);
}

/* ==========================================================================
   6. Talon, sku, potret
   ========================================================================== */

.talonbaris {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

@media (min-width: 52em) {
	.talonbaris {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.talonbaris .kunci {
		flex: 1 1 18rem;
	}
}

.talonmeta {
	color: var(--habuk);
	font-size: 0.92rem;
	margin: 0 0 0.4rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.talonmeta span {
	border: 1px solid var(--rand);
	padding: 0.15rem 0.5rem;
	font-family: var(--huruf-badan);
	min-height: 2.25rem;
	display: inline-flex;
	align-items: center;
}

.skubariss {
	display: flex;
	flex-direction: column;
	gap: 0;
	border-top: 1px solid var(--haarlijn);
}

.skubariss article {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	border-bottom: 1px solid var(--haarlijn);
	padding: 1.1rem 0;
}

@media (min-width: 48em) {
	.skubariss article {
		flex-direction: row;
		align-items: baseline;
		gap: 1.2rem;
	}

	.skubariss__sku {
		flex: 0 0 9rem;
	}
}

.skubariss__sku {
	font-family: var(--huruf-badan);
	font-weight: 600;
	color: var(--kulit);
	min-height: 2.75rem;
	display: flex;
	align-items: center;
}

.skubariss h2,
.skubariss h3 {
	font-size: 1.35rem;
}

.skubariss a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
}

.orangbaris {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

@media (min-width: 48em) {
	.orangbaris {
		flex-direction: row;
	}

	.orangbaris > * {
		flex: 1 1 0;
	}
}

.orang img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border: 1px solid var(--rand);
}

.orang--sisi {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

@media (min-width: 40em) {
	.orang--sisi {
		flex-direction: row;
		align-items: center;
	}

	.orang--sisi img {
		width: 42%;
		flex: 0 0 42%;
	}
}

.jadualkotak {
	overflow-x: auto;
}

table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--huruf-badan);
}

th,
td {
	border: 1px solid var(--rand);
	padding: 0.55rem 0.7rem;
	text-align: left;
}

th {
	background: var(--panel);
	font-weight: 600;
}

.cipbaris {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.cipbaris li {
	border: 1px solid var(--rand);
	padding: 0.45rem 0.75rem;
	min-height: 2.75rem;
	display: inline-flex;
	align-items: center;
	font-family: var(--huruf-badan);
	background: var(--panel);
}

.teksturbandar {
	height: 6.5rem;
	background-image: url("images/tekstur-konkrit.jpg");
	background-size: cover;
	border-block: 1px solid var(--haarlijn);
}

.baner-dalam {
	position: relative;
	min-height: 12rem;
	color: var(--dakwat);
	overflow: hidden;
}

.baner-dalam img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.baner-dalam__tudung {
	position: absolute;
	inset: 0;
	background: rgba(242, 241, 236, 0.62);
}

.baner-dalam__isi {
	position: relative;
	width: min(100% - 2rem, var(--lebar));
	margin: 0 auto;
	padding: 2.6rem 0;
}

.baner-dalam h1,
.baner-dalam p {
	color: var(--dakwat);
	font-family: var(--huruf-badan);
}

.baner-dalam h1 {
	font-family: var(--huruf-paparan);
}

.hubung {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

@media (min-width: 52em) {
	.hubung {
		flex-direction: row;
	}

	.hubung > * {
		flex: 1 1 0;
	}

	.hubung--borang-dulu .hubung__borang {
		order: -1;
	}
}

label {
	display: flex;
	align-items: center;
	font-weight: 600;
	margin-bottom: 0.25rem;
	min-height: 2.75rem;
}

input[type="text"],
input[type="email"],
textarea,
select {
	width: 100%;
	min-height: 2.75rem;
	padding: 0.45rem 0.65rem;
	border: 1px solid var(--rand);
	background: var(--lot);
	color: var(--dakwat);
	font-family: var(--huruf-badan);
	font-size: 1rem;
}

textarea {
	min-height: 8rem;
}

.senyap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.kabar {
	padding: 0.8rem 1rem;
	border: 1px solid var(--teluk);
	background: var(--panel);
}

.kabar--awas {
	border-color: var(--awas);
}

.undang h2 {
	margin-top: 2rem;
}

.undang h2:first-of-type {
	margin-top: 0;
}

.peraturan-nombor {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
}

@media (min-width: 52em) {
	.peraturan-nombor {
		flex-direction: row;
		align-items: flex-start;
	}

	.peraturan-nombor figure {
		flex: 0 0 42%;
	}
}

/* ==========================================================================
   7. Kaki dan kuki
   ========================================================================== */

.lubanglift {
	background: var(--panel);
	border-top: 1px solid var(--rand);
	padding: 2.5rem 0 7.5rem;
}

.lubanglift__lajur {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

@media (min-width: 52em) {
	.lubanglift__lajur {
		flex-direction: row;
	}

	.lubanglift__lajur > :first-child {
		flex: 1.4 1 0;
	}

	.lubanglift__lajur > :not(:first-child) {
		flex: 1 1 0;
	}
}

.lubanglift h2 {
	font-family: var(--huruf-badan);
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.lubanglift ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lubanglift a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	text-decoration: none;
	color: var(--dakwat);
}

.lubanglift__merk {
	text-decoration: none;
	color: var(--dakwat);
}

.lubanglift__data {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
}

.lubanglift__data a {
	color: var(--teluk);
}

.penafianmain {
	margin-top: 1.5rem;
	color: var(--habuk);
	font-size: 0.95rem;
}

.koekrand {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 50;
	background: var(--dakwat);
	color: var(--lot);
	border-top: 1px solid var(--rand);
}

.koekrand__dalam {
	width: min(100% - 1.5rem, var(--lebar));
	margin: 0 auto;
	padding: 0.85rem 0 1rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	align-items: center;
}

.koekrand p {
	margin: 0;
	flex: 1 1 16rem;
	color: var(--lot);
}

.koekrand a {
	color: var(--lot);
	text-decoration: underline;
}

.koekrand__butang {
	display: flex;
	flex: 1 1 16rem;
	gap: 0.6rem;
}

.koekrand__butang .lotbtn {
	flex: 1 1 0;
	min-width: 0;
}

.koekrand .lotbtn--maju {
	background: var(--teluk);
	color: var(--lot);
}

.koekrand .lotbtn--senyap {
	background: var(--panel);
	color: var(--dakwat);
}

.sesat-muka {
	padding: 4rem 0;
	text-align: center;
}

.sesat-muka p > a:only-child {
	margin-inline: 0.4rem;
}

@media (max-width: 24.99em) {
	.petakpapan,
	.petaklukis {
		max-width: none;
	}
}

@media (min-width: 90em) {
	:root {
		--lebar: 76rem;
	}
}
