/*
Theme Name: Rentaloka
Theme URI: https://wordpress.org/themes/
Author: Rentaloka
Description: Tema WordPress profesional untuk bisnis rental mobil & motor. Dilengkapi slider, katalog mobil & motor dengan label harga, testimoni, artikel, formulir kontak dengan kotak masuk, tombol WhatsApp, dan panel admin lengkap (Rentaloka → Dashboard & Pengaturan). Konten demo otomatis dibuat saat tema diaktifkan.
Version: 1.1.4
Requires at least: 6.0
Tested up to: 6.8
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: rentaloka
Tags: custom-menu, custom-logo, featured-images, theme-options, threaded-comments, translation-ready, e-commerce, blog
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--rk-primary: #4f46b8;
	--rk-accent: #16a34a;
	--rk-primary-dark: color-mix(in srgb, var(--rk-primary) 78%, #000);
	--rk-primary-soft: color-mix(in srgb, var(--rk-primary) 8%, #fff);
	--rk-accent-dark: color-mix(in srgb, var(--rk-accent) 82%, #000);
	--rk-accent-text: color-mix(in srgb, var(--rk-accent) 82%, #000);
	--rk-ink: #1f2340;
	--rk-text: #474b63;
	--rk-muted: #636880;
	--rk-line: #ececf3;
	--rk-bg: #f7f7fb;
	--rk-radius: 18px;
	--rk-shadow: 0 1px 2px rgba(20, 20, 50, .04), 0 10px 30px rgba(20, 20, 50, .06);
	--rk-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	font-family: var(--rk-font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--rk-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rk-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--rk-primary-dark); }
h1, h2, h3, h4, h5, h6 { color: var(--rk-ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
button { font-family: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--rk-primary) 55%, transparent);
	outline-offset: 2px;
}
.rk-icon { flex-shrink: 0; display: inline-block; vertical-align: middle; }

.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: 999;
	top: 10px; left: 10px; padding: 12px 18px; background: #fff; color: var(--rk-ink);
	border-radius: 8px; box-shadow: var(--rk-shadow);
}

.rk-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.rk-muted { color: var(--rk-muted); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.rk-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 22px; border: 0; border-radius: 10px;
	font-size: 15px; font-weight: 600; line-height: 1; cursor: pointer;
	transition: background-color .2s, color .2s, box-shadow .2s, transform .2s;
	white-space: nowrap;
}
.rk-btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.rk-btn--primary { background: var(--rk-primary); color: #fff; }
.rk-btn--primary:hover { background: var(--rk-primary-dark); color: #fff; }
.rk-btn--accent { background: var(--rk-accent); color: #fff; }
.rk-btn--accent:hover { background: var(--rk-accent-dark); color: #fff; }
.rk-btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.rk-btn--ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.rk-btn--outline { background: #fff; color: var(--rk-primary); box-shadow: inset 0 0 0 1.5px var(--rk-primary); }
.rk-btn--outline:hover { background: var(--rk-primary-soft); color: var(--rk-primary-dark); }
.rk-btn:active { transform: translateY(1px); }

/* ==========================================================================
   Top bar & header
   ========================================================================== */
.rk-topbar { background: var(--rk-ink); color: #d4d6e4; font-size: 13.5px; }
.rk-topbar .rk-container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.rk-topbar__info { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.rk-topbar__info a, .rk-topbar__info span { display: inline-flex; align-items: center; gap: 7px; color: inherit; }
.rk-topbar__info a:hover { color: #fff; }

.rk-social { display: flex; gap: 6px; }
.rk-social a {
	width: 34px; height: 34px; border-radius: 9px;
	display: inline-flex; align-items: center; justify-content: center; color: inherit;
}
.rk-social a:hover { background: rgba(255, 255, 255, .1); color: #fff; }

.rk-header {
	position: sticky; top: 0; z-index: 50;
	background: #fff; border-bottom: 1px solid var(--rk-line);
	transition: box-shadow .25s;
}
.admin-bar .rk-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .rk-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .rk-header { top: 0; } }
.rk-header.is-scrolled { box-shadow: 0 8px 24px rgba(20, 20, 50, .08); }
.rk-header__inner { display: flex; align-items: center; gap: 20px; min-height: 78px; }

.rk-brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; color: var(--rk-ink); font-weight: 800; font-size: 21px; letter-spacing: -.01em; }
.rk-brand:hover { color: var(--rk-ink); }
.rk-brand--logo img, .rk-brand .custom-logo { max-height: 52px; width: auto; }
.rk-brand__mark {
	width: 42px; height: 42px; border-radius: 11px;
	background: var(--rk-primary); color: #fff;
	display: grid; place-items: center;
}

.rk-nav .rk-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.rk-nav li { position: relative; }
.rk-nav a {
	display: block; padding: 10px 14px; border-radius: 9px;
	color: var(--rk-ink); font-weight: 500; font-size: 15px;
}
.rk-nav a:hover,
.rk-nav .current-menu-item > a,
.rk-nav .current_page_item > a,
.rk-nav .current-menu-ancestor > a { color: var(--rk-primary); background: var(--rk-primary-soft); }
.rk-nav .sub-menu {
	position: absolute; top: calc(100% + 6px); left: 0; z-index: 10;
	min-width: 220px; list-style: none; margin: 0; padding: 8px;
	background: #fff; border: 1px solid var(--rk-line); border-radius: 14px; box-shadow: var(--rk-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.rk-nav li:hover > .sub-menu,
.rk-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.rk-nav__cta { display: none !important; }

.rk-menu-toggle {
	display: none; width: 46px; height: 46px; border-radius: 11px;
	border: 1px solid var(--rk-line); background: #fff; color: var(--rk-ink);
	align-items: center; justify-content: center; cursor: pointer;
}
.rk-menu-toggle__open { display: inline-flex; }
.rk-menu-toggle__close { display: none; }
.rk-menu-toggle[aria-expanded="true"] .rk-menu-toggle__open { display: none; }
.rk-menu-toggle[aria-expanded="true"] .rk-menu-toggle__close { display: inline-flex; }

@media (max-width: 1024px) {
	.rk-topbar { display: none; }
	.rk-header__cta { display: none; }
	.rk-menu-toggle { display: inline-flex; }
	.rk-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		height: calc(100vh - 78px); height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain;
		background: #fff; padding: 12px 20px 40px;
		border-top: 1px solid var(--rk-line);
		opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none;
		transition: opacity .25s ease, transform .25s ease, visibility .25s;
	}
	.rk-nav.is-open { opacity: 1; pointer-events: auto; }
	.rk-nav.is-open { transform: none; visibility: visible; }
	.rk-nav .rk-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.rk-nav a { padding: 15px 8px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--rk-line); }
	.rk-nav a:hover, .rk-nav .current-menu-item > a { background: none; }
	.rk-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; }
	.rk-nav__cta { display: flex !important; width: 100%; margin-top: 24px; min-height: 54px; }
	body.rk-lock { overflow: hidden; }
}

/* ==========================================================================
   Hero slider
   ========================================================================== */
.rk-hero { position: relative; overflow: hidden; background: var(--rk-ink); color: #fff; }
.rk-hero__track { position: relative; min-height: clamp(520px, 72vh, 680px); }
.rk-slide {
	position: absolute; inset: 0;
	opacity: 0; visibility: hidden;
	transition: opacity .9s ease, visibility .9s;
}
.rk-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.rk-slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.rk-slide.is-active .rk-slide__bg { transform: scale(1); }
.rk-slide::after {
	content: ""; position: absolute; inset: 0; z-index: 0;
	background: linear-gradient(90deg, rgba(15, 15, 40, .86) 0%, rgba(15, 15, 40, .6) 45%, rgba(15, 15, 40, .15) 100%);
}
.rk-slide--noimg { background: var(--rk-primary-dark); }
.rk-slide--noimg::after { background: none; }
.rk-slide__art {
	position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
	color: rgba(255, 255, 255, .07); pointer-events: none;
}
.rk-slide__art svg { width: min(620px, 70vw); height: auto; stroke-width: .9; }
.rk-slide__inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding-top: 48px; padding-bottom: 96px; }
.rk-slide__content { max-width: 640px; }
.rk-slide__eyebrow {
	display: inline-block; margin-bottom: 18px; padding: 7px 14px; border-radius: 99px;
	background: rgba(255, 255, 255, .14); color: #fff;
	font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.rk-slide__title { color: #fff; font-size: clamp(34px, 5.2vw, 60px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; margin: 0 0 18px; }
.rk-slide__text { color: rgba(255, 255, 255, .88); font-size: clamp(16px, 1.6vw, 19px); max-width: 560px; margin: 0 0 32px; }
.rk-slide__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rk-slide.is-active .rk-slide__content > * { animation: rkUp .8s both; }
.rk-slide.is-active .rk-slide__content > *:nth-child(2) { animation-delay: .1s; }
.rk-slide.is-active .rk-slide__content > *:nth-child(3) { animation-delay: .2s; }
.rk-slide.is-active .rk-slide__content > *:nth-child(4) { animation-delay: .3s; }
@keyframes rkUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.rk-hero__nav { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 3; }
.rk-hero__nav .rk-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rk-dots { display: flex; gap: 2px; }
.rk-dot { width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.rk-dot span { display: block; width: 10px; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .45); transition: width .3s, background .3s; }
.rk-dot.is-active span { width: 30px; background: #fff; }
.rk-arrows { display: flex; gap: 10px; }
.rk-arrow {
	width: 50px; height: 50px; border-radius: 12px; cursor: pointer;
	border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff;
	display: grid; place-items: center; transition: background .2s;
}
.rk-arrow:hover { background: rgba(255, 255, 255, .2); }
@media (max-width: 640px) {
	.rk-slide__art { display: none; }
	.rk-arrows { display: none; }
	.rk-hero__nav .rk-container { justify-content: center; }
	.rk-slide__actions .rk-btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Sections & headings (sesuai referensi)
   ========================================================================== */
.rk-section { padding: 96px 0; }
.rk-section--alt { background: var(--rk-bg); }
.rk-section--tight { padding: 56px 0 80px; }
.rk-head { max-width: 820px; margin: 0 auto 56px; text-align: center; }
.rk-head__eyebrow { display: block; margin-bottom: 4px; color: var(--rk-accent-text); font-size: 19px; font-weight: 500; }
.rk-head__title { margin: 0; color: var(--rk-primary); font-size: clamp(28px, 3.6vw, 38px); font-weight: 700; letter-spacing: -.01em; }
.rk-head__bar { display: block; width: 110px; height: 3px; margin: 18px auto 24px; border-radius: 3px; background: var(--rk-accent); }
.rk-head__desc { margin: 0 0 20px; font-size: 17px; line-height: 1.7; color: var(--rk-text); }
.rk-head__link {
	display: inline-block; padding-bottom: 3px;
	color: var(--rk-primary); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	border-bottom: 1.5px dashed var(--rk-primary);
}
.rk-head__link:hover { color: var(--rk-accent-text); border-color: var(--rk-accent-text); }
@media (max-width: 640px) {
	.rk-section { padding: 64px 0; }
	.rk-head { margin-bottom: 36px; }
	.rk-head__desc { font-size: 16px; }
}

.rk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 980px) { .rk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .rk-grid { grid-template-columns: 1fr; } }

.rk-empty { max-width: 640px; margin: 0 auto; padding: 36px; text-align: center; color: var(--rk-muted); background: #fff; border: 1px dashed #d8d9e6; border-radius: var(--rk-radius); }

/* ==========================================================================
   Vehicle card (persis gaya gambar referensi)
   ========================================================================== */
.rk-card {
	position: relative; display: flex; flex-direction: column;
	padding: 16px; background: #fff;
	border: 1px solid var(--rk-line); border-radius: var(--rk-radius);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.rk-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(30, 30, 90, .10); border-color: transparent; }
.rk-card__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 11; padding: 10px 4px; margin-bottom: 14px; }
.rk-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s ease; }
.rk-card:hover .rk-card__media img { transform: scale(1.05); }
.rk-card__ph { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 12px; background: var(--rk-bg); color: #c2c4d6; }
.rk-card__ph svg { stroke-width: 1.1; }

.rk-price {
	position: absolute; top: 16px; right: 16px; z-index: 2;
	min-width: 98px; padding: 9px 14px;
	background: var(--rk-accent); color: #fff;
	border-radius: 10px; text-align: center; line-height: 1.3;
	box-shadow: 0 6px 16px color-mix(in srgb, var(--rk-accent) 30%, transparent);
}
.rk-price__label { display: block; font-size: 13px; }
.rk-price__value { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.rk-price__unit { display: block; font-size: 13.5px; }

.rk-card__body { display: flex; flex-direction: column; flex: 1; }
.rk-card__title { margin: 0 0 4px; font-size: 21px; font-weight: 700; }
.rk-card__title a { color: var(--rk-primary); }
.rk-card__title a:hover { color: var(--rk-primary-dark); }
.rk-card__cat { margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--rk-line); color: var(--rk-accent-text); font-size: 16px; }
.rk-card__cat a { color: inherit; }
.rk-card__cat a:hover { text-decoration: underline; }
.rk-card__cat--plain { border: 0; padding: 0; margin-bottom: 6px; }

.rk-specs { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.rk-specs li { display: flex; align-items: center; gap: 9px; font-size: 16px; color: var(--rk-text); }
.rk-specs .rk-icon { color: var(--rk-ink); }

.rk-card__actions { display: flex; margin-top: auto; }
.rk-btn--detail {
	flex: 1; min-height: 56px; border-radius: 10px 0 0 10px;
	background: var(--rk-primary); color: #fff; font-size: 17px; font-weight: 500;
}
.rk-btn--detail:hover { background: var(--rk-primary-dark); color: #fff; }
.rk-btn--wa {
	width: 56px; min-height: 56px; padding: 0; border-radius: 0 10px 10px 0;
	background: var(--rk-accent); color: #fff;
}
.rk-btn--wa:hover { background: var(--rk-accent-dark); color: #fff; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.rk-testi {
	position: relative; margin: 0; padding: 30px;
	display: flex; flex-direction: column; gap: 18px;
	background: #fff; border: 1px solid var(--rk-line); border-radius: var(--rk-radius);
}
.rk-testi__quote { position: absolute; top: 24px; right: 26px; color: color-mix(in srgb, var(--rk-primary) 20%, #fff); }
.rk-stars { display: flex; gap: 3px; color: #f59e0b; }
.rk-testi__text { flex: 1; margin: 0; padding: 0; border: 0; font-size: 16.5px; line-height: 1.7; color: var(--rk-ink); font-style: normal; }
.rk-testi__author { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--rk-line); }
.rk-avatar {
	flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
	display: grid; place-items: center;
	background: var(--rk-primary); color: #fff; font-weight: 700; font-size: 17px;
}
.rk-testi__name { display: block; font-weight: 700; color: var(--rk-ink); }
.rk-testi__role { display: block; font-size: 14px; color: var(--rk-muted); }

/* ==========================================================================
   Article cards
   ========================================================================== */
.rk-post {
	display: flex; flex-direction: column; overflow: hidden;
	background: #fff; border: 1px solid var(--rk-line); border-radius: var(--rk-radius);
	transition: transform .25s, box-shadow .25s;
}
.rk-post:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(30, 30, 90, .10); }
.rk-post__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--rk-bg); }
.rk-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.rk-post:hover .rk-post__media img { transform: scale(1.05); }
.rk-post__ph { display: grid; place-items: center; width: 100%; height: 100%; color: #c2c4d6; }
.rk-post__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.rk-post__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 10px; font-size: 13.5px; color: var(--rk-muted); }
.rk-post__meta span { display: inline-flex; align-items: center; gap: 6px; }
.rk-post__cat { color: var(--rk-accent-text); font-weight: 600; }
.rk-post__title { margin: 0 0 10px; font-size: 20px; }
.rk-post__title a { color: var(--rk-ink); }
.rk-post__title a:hover { color: var(--rk-primary); }
.rk-post__excerpt { margin: 0 0 18px; font-size: 15.5px; }
.rk-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 600; }
.rk-more .rk-icon { transition: transform .2s; }
.rk-more:hover .rk-icon { transform: translateX(4px); }

/* ==========================================================================
   Contact
   ========================================================================== */
.rk-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: start; }
.rk-contact__info {
	display: flex; flex-direction: column; gap: 22px; padding: 36px;
	background: var(--rk-primary); color: #fff; border-radius: 22px;
}
.rk-contact__info h3 { margin: 0; color: #fff; font-size: 22px; }
.rk-info-item { display: flex; align-items: flex-start; gap: 14px; }
.rk-info-item__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .15); display: grid; place-items: center; }
.rk-info-item__label { display: block; font-size: 13px; color: rgba(255, 255, 255, .82); }
.rk-info-item__value { color: #fff; font-weight: 600; word-break: break-word; }
a.rk-info-item__value:hover { color: #fff; text-decoration: underline; }
.rk-map { overflow: hidden; border-radius: 14px; aspect-ratio: 16 / 10; background: rgba(255, 255, 255, .1); }
.rk-map iframe { display: block; width: 100%; height: 100%; border: 0; }

.rk-form { position: relative; padding: 36px; background: #fff; border: 1px solid var(--rk-line); border-radius: 22px; box-shadow: var(--rk-shadow); }
.rk-form h3 { margin: 0 0 6px; font-size: 22px; }
.rk-form__intro { margin: 0 0 24px; color: var(--rk-muted); }
.rk-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.rk-field--full { grid-column: 1 / -1; }
.rk-field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--rk-ink); }
.rk-field input, .rk-field select, .rk-field textarea,
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea, .search-form .search-field {
	width: 100%; min-height: 48px; padding: 12px 14px;
	border: 1.5px solid #d6d8e5; border-radius: 10px; background: #fff;
	font: inherit; font-size: 15px; color: var(--rk-ink);
	transition: border-color .2s, box-shadow .2s;
}
.rk-field textarea, .comment-form textarea { min-height: 120px; resize: vertical; }
.rk-field input:focus, .rk-field select:focus, .rk-field textarea:focus,
.comment-form input:focus, .comment-form textarea:focus, .search-form .search-field:focus {
	outline: none; border-color: var(--rk-primary);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--rk-primary) 15%, transparent);
}
.rk-form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.rk-form__note { margin: 0; font-size: 13.5px; color: var(--rk-muted); }
.rk-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rk-notice { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 14px 16px; border-radius: 10px; font-weight: 500; }
.rk-notice--ok { background: #ecfdf3; color: #166534; }
.rk-notice--err { background: #fef2f2; color: #991b1b; }
@media (max-width: 900px) { .rk-contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
	.rk-form__grid { grid-template-columns: 1fr; }
	.rk-form, .rk-contact__info { padding: 24px; }
	.rk-form__foot .rk-btn { width: 100%; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.rk-footer { padding-top: 72px; background: #15172c; color: #b6b8cc; font-size: 15px; }
.rk-footer a { color: #b6b8cc; }
.rk-footer a:hover { color: #fff; }
.rk-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.rk-footer .rk-brand { margin-bottom: 16px; color: #fff; }
.rk-footer__about p { max-width: 340px; }
.rk-footer__title { margin: 6px 0 18px; color: #fff; font-size: 17px; }
.rk-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.rk-footer__contact li { display: flex; align-items: flex-start; gap: 10px; }
.rk-footer__contact .rk-icon { margin-top: 3px; color: #fff; }
.rk-footer .rk-social { margin-top: 20px; }
.rk-footer .rk-social a { width: 40px; height: 40px; background: rgba(255, 255, 255, .07); }
.rk-footer .rk-social a:hover { background: var(--rk-primary); }
.rk-footer__bottom { padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.rk-footer__bottom .rk-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.rk-totop { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 980px) { .rk-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .rk-footer__grid { grid-template-columns: 1fr; gap: 32px; } }

.rk-float-wa {
	position: fixed; right: 20px; bottom: 20px; z-index: 60;
	width: 60px; height: 60px; border-radius: 50%;
	display: grid; place-items: center;
	background: #1fa855; color: #fff;
	box-shadow: 0 12px 28px rgba(31, 168, 85, .4);
	transition: transform .2s;
}
.rk-float-wa:hover { color: #fff; transform: scale(1.08); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.rk-pagehead { padding: 56px 0 52px; background: var(--rk-bg); border-bottom: 1px solid var(--rk-line); text-align: center; }
.rk-pagehead h1 { margin: 0 0 8px; color: var(--rk-primary); font-size: clamp(28px, 4vw, 42px); letter-spacing: -.01em; }
.rk-pagehead p { max-width: 720px; margin: 0 auto; color: var(--rk-muted); }
.rk-crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 12px; font-size: 14px; color: var(--rk-muted); }
.rk-article__meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; }
.rk-article__meta span { display: inline-flex; align-items: center; gap: 7px; }
.rk-article__thumb { max-width: 980px; margin: 0 auto 44px; overflow: hidden; border-radius: 22px; }
.rk-article__thumb img { width: 100%; }

.rk-entry { max-width: 760px; margin: 0 auto; font-size: 17.5px; line-height: 1.8; color: #3d4159; }
.rk-entry--left { margin: 0; max-width: none; }
.rk-entry > *:first-child { margin-top: 0; }
.rk-entry h2 { margin: 1.7em 0 .6em; font-size: 26px; }
.rk-entry h3 { margin: 1.5em 0 .5em; font-size: 21px; }
.rk-entry a { text-decoration: underline; text-underline-offset: 3px; }
.rk-entry img { border-radius: 12px; }
.rk-entry ul, .rk-entry ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.rk-entry blockquote { margin: 1.6em 0; padding: 18px 22px; background: var(--rk-bg); border-radius: 12px; font-style: italic; color: var(--rk-ink); }
.rk-entry figure { margin: 1.6em 0; }
.rk-entry .wp-block-button__link { background: var(--rk-primary); border-radius: 10px; }
.rk-tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.rk-tags a { padding: 6px 12px; border-radius: 99px; background: var(--rk-bg); font-size: 14px; text-decoration: none; }
.post-navigation { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--rk-line); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-navigation .nav-next { text-align: right; }
.post-navigation a { text-decoration: none; }
.rk-nav-sub { display: block; font-size: 13px; color: var(--rk-muted); }
.rk-nav-title { display: block; font-weight: 600; color: var(--rk-ink); line-height: 1.4; }

.rk-pagination { margin-top: 48px; display: flex; justify-content: center; }
.rk-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.rk-pagination .page-numbers {
	min-width: 46px; height: 46px; padding: 0 12px;
	display: grid; place-items: center;
	border: 1px solid var(--rk-line); border-radius: 10px;
	color: var(--rk-ink); font-weight: 600; background: #fff;
}
.rk-pagination .page-numbers:hover { border-color: var(--rk-primary); color: var(--rk-primary); }
.rk-pagination .page-numbers.current { background: var(--rk-primary); color: #fff; border-color: transparent; }

/* Single vehicle */
.rk-vehicle { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.rk-vehicle__media {
	position: relative; display: flex; align-items: center; justify-content: center;
	aspect-ratio: 4 / 3; padding: 32px; background: var(--rk-bg); border-radius: 22px;
}
.rk-vehicle__media img { max-height: 100%; width: auto; object-fit: contain; }
.rk-vehicle__desc { margin-top: 44px; }
.rk-vehicle__desc h2 { font-size: 22px; margin: 32px 0 14px; }
.rk-vehicle__desc h2:first-child { margin-top: 0; }
.rk-vehicle__panel { position: sticky; top: 110px; padding: 32px; background: #fff; border: 1px solid var(--rk-line); border-radius: 22px; box-shadow: var(--rk-shadow); }
.rk-vehicle__title { margin: 0 0 4px; color: var(--rk-primary); font-size: 30px; }
.rk-vehicle__price {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
	margin: 18px 0 22px; padding: 18px 20px; border-radius: 14px;
	background: color-mix(in srgb, var(--rk-accent) 10%, #fff);
}
.rk-vehicle__price small { flex-basis: 100%; font-size: 14px; color: var(--rk-muted); }
.rk-vehicle__price strong { font-size: 32px; font-weight: 800; color: var(--rk-accent-text); letter-spacing: -.02em; }
.rk-vehicle__price span { color: var(--rk-text); }
.rk-specs--lg { gap: 12px; }
.rk-specs--lg li { flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; border-radius: 12px; background: var(--rk-bg); }
.rk-spec-label { font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--rk-muted); }
.rk-specs--lg strong { color: var(--rk-ink); }
.rk-vehicle__cta { display: grid; gap: 10px; }
.rk-vehicle__note { margin: 16px 0 0; font-size: 13.5px; color: var(--rk-muted); }
.rk-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.rk-features li { display: flex; align-items: flex-start; gap: 10px; }
.rk-features .rk-icon { margin-top: 3px; color: var(--rk-accent-text); }
@media (max-width: 900px) {
	.rk-vehicle { grid-template-columns: 1fr; }
	.rk-vehicle__panel { position: static; order: -1; }
	.rk-vehicle > div { order: 0; }
}
@media (max-width: 560px) {
	.rk-features { grid-template-columns: 1fr; }
	.rk-vehicle__panel { padding: 24px; }
	.rk-vehicle__cta .rk-btn { white-space: normal; text-align: center; }
}

/* ==========================================================================
   Booking form
   ========================================================================== */
.rk-booking__alert { max-width: 1200px; margin: 0 auto 24px; }
.rk-booking { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.rk-booking__main { display: flex; flex-direction: column; gap: 20px; }
.rk-fieldset { margin: 0; padding: 28px; background: #fff; border: 1px solid var(--rk-line); border-radius: 20px; min-width: 0; }
.rk-fieldset legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin: 0 0 20px; padding: 0; font-size: 19px; font-weight: 700; color: var(--rk-ink); }
.rk-fieldset legend + * { clear: both; }
.rk-step { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--rk-primary); color: #fff; font-size: 15px; }
.rk-field__hint { margin: 12px 0 0; color: #991b1b; font-size: 14px; font-weight: 500; }
.rk-field__note { margin: 6px 0 0; font-size: 13.5px; color: var(--rk-muted); }
.rk-optional { font-weight: 400; color: var(--rk-muted); }
.rk-field input[type="file"] { padding: 10px; border-style: dashed; background: var(--rk-bg); cursor: pointer; }
.rk-field[hidden] { display: none; }
.rk-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.rk-option { position: relative; display: block; cursor: pointer; }
.rk-option input { position: absolute; top: 18px; left: 16px; width: 20px; height: 20px; accent-color: var(--rk-primary); }
.rk-option__box { display: block; height: 100%; padding: 15px 16px 15px 48px; border: 1.5px solid #d6d8e5; border-radius: 12px; transition: border-color .2s, background .2s; }
.rk-option:hover .rk-option__box { border-color: var(--rk-primary); }
.rk-option input:checked + .rk-option__box { border-color: var(--rk-primary); background: var(--rk-primary-soft); }
.rk-option input:focus-visible + .rk-option__box { outline: 3px solid color-mix(in srgb, var(--rk-primary) 55%, transparent); outline-offset: 2px; }
.rk-option__title { display: block; font-weight: 600; color: var(--rk-ink); }
.rk-option__desc { display: block; font-size: 14px; color: var(--rk-muted); }
.rk-terms { padding: 22px 24px; background: #fff; border: 1px solid var(--rk-line); border-radius: 20px; font-size: 14.5px; }
.rk-terms p { color: var(--rk-muted); }
.rk-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-weight: 500; color: var(--rk-ink); }
.rk-check input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--rk-primary); }

.rk-booking__summary { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 16px; }
.rk-summary { padding: 26px; background: #fff; border: 1px solid var(--rk-line); border-radius: 20px; box-shadow: var(--rk-shadow); }
.rk-summary__vehicle { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px solid var(--rk-line); }
.rk-summary__vehicle strong { display: block; color: var(--rk-primary); font-size: 18px; }
.rk-summary__rate { font-size: 14px; color: var(--rk-muted); }
.rk-summary__thumb { flex-shrink: 0; width: 72px; height: 54px; border-radius: 10px; background: var(--rk-bg); display: grid; place-items: center; color: #b4b7cb; overflow: hidden; }
.rk-summary__thumb img { width: 100%; height: 100%; object-fit: contain; }
.rk-summary__rows { margin: 0; }
.rk-summary__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--rk-line); }
.rk-summary__rows > div[hidden] { display: none; }
.rk-summary__rows dt { color: var(--rk-muted); }
.rk-summary__rows dd { margin: 0; font-weight: 600; color: var(--rk-ink); text-align: right; }
.rk-summary__total { border-bottom: 0 !important; padding-top: 16px !important; }
.rk-summary__total dt { color: var(--rk-ink); font-weight: 700; }
.rk-summary__total dd { font-size: 22px; font-weight: 800; color: var(--rk-accent-text); }
.rk-summary__submit { width: 100%; margin-top: 10px; }
.rk-summary__submit[disabled] { opacity: .7; cursor: progress; }
.rk-summary__note { margin: 12px 0 0; font-size: 13.5px; color: var(--rk-muted); text-align: center; }
.rk-summary__wa { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--rk-line); font-weight: 600; color: var(--rk-accent-text); }
.rk-schedule { padding: 20px 22px; background: #fff; border: 1px solid var(--rk-line); border-radius: 16px; }
.rk-schedule h3 { margin: 0 0 10px; font-size: 15px; }
.rk-schedule ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.rk-schedule li { display: flex; align-items: center; gap: 8px; color: var(--rk-text); }
@media (max-width: 960px) {
	.rk-booking { grid-template-columns: 1fr; }
	.rk-booking__summary { position: static; }
}
@media (max-width: 560px) {
	.rk-fieldset { padding: 22px 18px; }
	.rk-options { grid-template-columns: 1fr; }
	.rk-summary { padding: 22px 18px; }
}

/* Booking confirmation */
.rk-confirm__card { max-width: 760px; margin: 0 auto; overflow: hidden; background: #fff; border: 1px solid var(--rk-line); border-radius: 24px; box-shadow: var(--rk-shadow); }
.rk-confirm__head { padding: 40px 32px 32px; text-align: center; background: color-mix(in srgb, var(--rk-accent) 9%, #fff); }
.rk-confirm__head--batal { background: #fef2f2; }
.rk-confirm__icon { width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--rk-accent); color: #fff; }
.rk-confirm__head--batal .rk-confirm__icon { background: #b91c1c; }
.rk-confirm__head h1 { margin: 0 0 8px; font-size: clamp(24px, 3.4vw, 32px); }
.rk-confirm__head p { max-width: 520px; margin: 0 auto 16px; }
.rk-confirm__code { display: inline-block; padding: 8px 16px; border-radius: 10px; background: #fff; border: 1px dashed var(--rk-line); font-size: 15px; }
.rk-confirm__code strong { color: var(--rk-primary); letter-spacing: .04em; }
.rk-confirm__badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rk-badge { display: inline-block; padding: 4px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; background: #eef0f6; color: #3c4058; }
.rk-badge--baru { background: #fff4e0; color: #8a4b00; }
.rk-badge--konfirmasi, .rk-badge--berjalan { background: #e8f0ff; color: #1e40af; }
.rk-badge--selesai, .rk-badge--pay-lunas { background: #e7f8ee; color: #166534; }
.rk-badge--batal { background: #fde8e8; color: #991b1b; }
.rk-badge--pay-dp { background: #e8f0ff; color: #1e40af; }
.rk-confirm__body { padding: 28px 32px 32px; }
.rk-confirm__vehicle { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.rk-confirm__vehicle strong { display: block; color: var(--rk-ink); font-size: 18px; }
.rk-confirm__vehicle a { font-size: 14px; }
.rk-confirm__list { margin: 0 0 18px; }
.rk-confirm__list > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rk-line); }
.rk-confirm__list dt { color: var(--rk-muted); }
.rk-confirm__list dd { margin: 0; color: var(--rk-ink); font-weight: 500; }
.rk-confirm__price { padding: 4px 18px; border-radius: 14px; background: var(--rk-bg); }
.rk-confirm__note { margin: 18px 0; font-size: 14px; color: var(--rk-muted); }
.rk-confirm__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rk-confirm__actions .rk-btn { flex: 1 1 220px; }
@media (max-width: 560px) {
	.rk-confirm__head, .rk-confirm__body { padding-left: 20px; padding-right: 20px; }
	.rk-confirm__list > div { grid-template-columns: 1fr; gap: 2px; }
}

/* 404 */
.rk-404 { text-align: center; }
.rk-404__code { display: block; font-size: clamp(90px, 16vw, 160px); font-weight: 800; line-height: 1; color: var(--rk-primary-soft); -webkit-text-stroke: 2px var(--rk-primary); }
.rk-404 h1 { margin-top: 16px; }
.rk-404__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Comments & search */
.rk-comments { max-width: 760px; margin: 56px auto 0; }
.comment-list { list-style: none; margin: 0 0 32px; padding: 0; }
.comment-list .comment { margin-bottom: 18px; }
.comment-list .comment-body { padding: 20px; border: 1px solid var(--rk-line); border-radius: 14px; }
.comment-list .children { list-style: none; padding-left: 28px; margin-top: 16px; }
.comment-author img { float: left; margin-right: 12px; border-radius: 50%; }
.comment-meta { margin-bottom: 10px; font-size: 14px; }
.comment-form p { margin-bottom: 16px; }
.comment-form label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--rk-ink); font-size: 14px; }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; }
.search-form { display: flex; gap: 8px; max-width: 460px; margin: 16px auto 0; }
.search-form label { flex: 1; }
.search-form .search-submit { min-height: 48px; padding: 0 20px; border: 0; border-radius: 10px; background: var(--rk-primary); color: #fff; font-weight: 600; cursor: pointer; }

/* WordPress core classes */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption, .wp-block-image figcaption { font-size: 14px; color: var(--rk-muted); text-align: center; }
.sticky, .gallery-caption, .bypostauthor { display: block; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Responsive enhancements (desktop, tablet & mobile)
   ========================================================================== */

/* Cegah halaman bisa digeser ke samping (tanpa merusak sticky header) */
body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }

/* Media & konten artikel tidak pernah melebihi layar */
img, svg, video, iframe, embed, object { max-width: 100%; }
video { height: auto; }
.rk-entry video { width: 100%; }
.rk-entry, .rk-card__title, .rk-post__title, .rk-pagehead h1, .rk-slide__title { overflow-wrap: break-word; word-wrap: break-word; }
.rk-entry table { display: block; width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-collapse: collapse; }
.rk-entry th, .rk-entry td { padding: 10px 12px; border: 1px solid var(--rk-line); }
.rk-entry pre { max-width: 100%; overflow-x: auto; padding: 16px; background: var(--rk-bg); border-radius: 10px; font-size: 14px; }
.rk-entry .alignwide { max-width: min(1100px, 100vw - 40px); margin-left: auto; margin-right: auto; }
.rk-entry .alignfull { width: 100%; max-width: 100%; }

/* Hero slider: tinggi mengikuti konten, tidak ada teks/tombol yang terpotong */
.rk-hero__track { display: grid; }
.rk-slide { position: relative; inset: auto; grid-area: 1 / 1; display: flex; }
.rk-slide__inner { height: auto; flex: 1; }

/* Desktop lebar */
@media (min-width: 1440px) {
	.rk-container { max-width: 1280px; }
}

/* Laptop kecil: menu tidak berdesakan */
@media (min-width: 1025px) and (max-width: 1180px) {
	.rk-header__inner { gap: 12px; }
	.rk-nav a { padding: 10px 10px; font-size: 14.5px; }
	.rk-header__cta { padding: 0 16px; }
}

/* Tablet & mobile */
@media (max-width: 1024px) {
	.rk-header__inner { min-height: 72px; }
	.rk-brand--logo img, .rk-brand .custom-logo { max-height: 44px; }
	.rk-nav .sub-menu a { font-size: 15.5px; }
	html { scroll-padding-top: 80px; }
}

@media (max-width: 782px) {
	.rk-section { padding: 72px 0; }
	.rk-vehicle__title { font-size: 26px; }
	.rk-vehicle__price strong { font-size: 28px; }
	.rk-entry { font-size: 17px; }
}

/* Mobile */
@media (max-width: 640px) {
	.rk-container { padding: 0 16px; }
	.rk-header__inner { gap: 12px; min-height: 64px; }
	.rk-brand { font-size: 18px; min-width: 0; }
	.rk-brand__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.rk-brand__mark { width: 38px; height: 38px; }
	.rk-menu-toggle { width: 44px; height: 44px; flex-shrink: 0; }
	.rk-nav { padding: 8px 16px 32px; height: calc(100vh - 64px); height: calc(100dvh - 64px); }
	html { scroll-padding-top: 72px; }

	.rk-hero__track { min-height: 0; }
	.rk-slide__inner { min-height: 500px; padding-top: 40px; padding-bottom: 84px; }
	.rk-slide::after { background: linear-gradient(180deg, rgba(15, 15, 40, .7) 0%, rgba(15, 15, 40, .82) 100%); }
	.rk-slide__eyebrow { margin-bottom: 14px; font-size: 12px; }
	.rk-slide__title { font-size: clamp(28px, 8vw, 36px); margin-bottom: 14px; }
	.rk-slide__text { margin-bottom: 24px; }
	.rk-hero__nav { bottom: 20px; }

	.rk-btn { white-space: normal; text-align: center; line-height: 1.25; }
	.rk-btn--lg { min-height: 52px; padding: 12px 22px; }

	.rk-section { padding: 56px 0; }
	.rk-section--tight { padding: 40px 0 56px; }
	.rk-head__eyebrow { font-size: 16px; }
	.rk-head__bar { margin: 14px auto 18px; }
	.rk-grid { gap: 18px; }

	.rk-card { padding: 14px; }
	.rk-card__title { font-size: 19px; }
	.rk-price { top: 12px; right: 12px; min-width: 0; padding: 7px 11px; }
	.rk-price__value { font-size: 16px; }
	.rk-price__label, .rk-price__unit { font-size: 12px; }
	.rk-specs li { font-size: 15px; }
	.rk-btn--detail, .rk-btn--wa { min-height: 52px; }
	.rk-btn--wa { width: 52px; }

	.rk-testi { padding: 24px 20px; }
	.rk-post__body { padding: 18px 18px 22px; }

	.rk-pagehead { padding: 40px 0 36px; }
	.rk-article__thumb { margin-bottom: 28px; border-radius: 14px; }
	.rk-entry h2 { font-size: 23px; }
	.rk-entry h3 { font-size: 19px; }
	.alignleft, .alignright { float: none; margin: 0 auto 1em; }

	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { text-align: left; }
	.comment-list .children { padding-left: 14px; }
	.search-form { flex-direction: column; }

	.rk-vehicle { gap: 28px; }
	.rk-vehicle__media { padding: 20px; border-radius: 16px; }
	.rk-vehicle__desc { margin-top: 28px; }

	.rk-footer { padding-top: 52px; }
	.rk-footer__grid { padding-bottom: 40px; }
	.rk-footer__bottom .rk-container { flex-direction: column; text-align: center; }

	.rk-float-wa { width: 54px; height: 54px; right: 16px; bottom: 16px; }
	.rk-404__actions .rk-btn { flex: 1 1 100%; }

	/* Cegah iPhone zoom otomatis saat mengisi form */
	.rk-field input, .rk-field select, .rk-field textarea,
	.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea, .search-form .search-field { font-size: 16px; }
	.rk-field input[type="date"], .rk-field input[type="time"] { min-width: 0; max-width: 100%; display: block; }
}

/* ==========================================================================
   Header v2: bar menu + masthead + running text
   ========================================================================== */
:root { --rk-wrap: 1200px; --rk-bar-h: 64px; }
@media (min-width: 1440px) { :root { --rk-wrap: 1280px; } }
.rk-container { max-width: var(--rk-wrap); }
html { scroll-padding-top: calc(var(--rk-bar-h) + 16px); }

/* Bar menu (sticky) */
.rk-header { background: var(--rk-primary-dark); border-bottom: 0; }
.rk-header.is-scrolled { box-shadow: 0 8px 24px rgba(20, 20, 50, .18); }
.rk-header__inner { min-height: var(--rk-bar-h); gap: 12px; }
.rk-header__cta { margin-left: auto; min-height: 42px; padding: 0 18px; font-size: 14.5px; }

@media (min-width: 1025px) {
	.rk-nav { margin-right: auto; }
	.rk-nav .rk-menu > li > a {
		padding: 0 16px; line-height: var(--rk-bar-h); border-radius: 0;
		color: #fff; font-size: 15px; font-weight: 500; letter-spacing: .03em; text-transform: uppercase;
	}
	.rk-nav .rk-menu > li > a:hover,
	.rk-nav .rk-menu > li:focus-within > a { color: #fff; background: rgba(255, 255, 255, .1); }
	.rk-nav .rk-menu > li.current-menu-item > a,
	.rk-nav .rk-menu > li.current_page_item > a,
	.rk-nav .rk-menu > li.current-menu-ancestor > a { color: #fff; background: rgba(255, 255, 255, .12); box-shadow: inset 0 -3px 0 var(--rk-accent); }
	.rk-nav .sub-menu { top: 100%; }
}
@media (min-width: 1025px) and (max-width: 1180px) {
	.rk-nav .rk-menu > li > a { padding: 0 11px; font-size: 14px; }
}

/* Masthead: logo kiri, kontak kanan */
.rk-masthead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); background: var(--rk-primary); }
.rk-masthead__brand {
	display: flex; align-items: center; min-height: 150px; min-width: 0;
	padding: 24px 32px 24px max(20px, calc((100vw - var(--rk-wrap)) / 2 + 20px));
	background: #fff; border-right: 8px solid var(--rk-accent);
}
.rk-masthead .rk-brand { margin: 0; font-size: 30px; }
.rk-masthead .rk-brand__mark { width: 58px; height: 58px; border-radius: 14px; }
.rk-masthead .rk-brand__mark svg { width: 32px; height: 32px; }
.rk-masthead .rk-brand--logo img, .rk-masthead .custom-logo { max-height: 96px; width: auto; }
.rk-masthead__info {
	display: flex; align-items: center; gap: 36px; min-width: 0;
	padding: 24px max(20px, calc((100vw - var(--rk-wrap)) / 2 + 20px)) 24px 44px;
}
.rk-mh-item { display: flex; align-items: center; gap: 14px; min-width: 0; color: #fff; }
.rk-mh-item:hover { color: #fff; }
.rk-mh-item__icon {
	flex-shrink: 0; width: 58px; height: 58px; border-radius: 14px;
	display: grid; place-items: center; color: #fff;
	transition: transform .2s;
}
.rk-mh-item:hover .rk-mh-item__icon { transform: translateY(-2px); }
.rk-mh-item__icon--orange { background: #f59e0b; }
.rk-mh-item__icon--green { background: #22c55e; }
.rk-mh-item__icon--red { background: #ef4444; }
.rk-mh-item__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.rk-mh-item__text strong { font-size: 19px; font-weight: 700; color: #fff; }
.rk-mh-item__text span { font-size: 15.5px; color: rgba(255, 255, 255, .92); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-mh-item--loc .rk-mh-item__text span { max-width: 220px; }
@media (max-width: 1279px) { .rk-mh-item--loc { display: none; } }

/* Running text */
.rk-ticker { overflow: hidden; background: var(--rk-primary-dark); color: #fff; }
.rk-ticker__track { display: flex; width: max-content; animation: rkTicker var(--rk-ticker-dur, 40s) linear infinite; }
.rk-ticker:hover .rk-ticker__track,
.rk-ticker:focus-within .rk-ticker__track { animation-play-state: paused; }
.rk-ticker__list { display: flex; flex-shrink: 0; list-style: none; margin: 0; padding: 0; }
.rk-ticker__item { padding: 12px 0 12px 44px; white-space: nowrap; }
.rk-ticker__item, .rk-ticker__item a { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.rk-ticker__item a:hover { color: #fff; }
.rk-ticker__item a:hover .rk-ticker__text { text-decoration: underline; text-underline-offset: 3px; }
.rk-ticker__badge { padding: 4px 10px; border-radius: 6px; background: var(--rk-accent); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.3; }
.rk-ticker__text { font-size: 15.5px; }
@keyframes rkTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.rk-ticker { overflow-x: auto; }
	.rk-ticker__list[aria-hidden="true"] { display: none; }
}

/* Tablet & mobile */
@media (max-width: 1024px) {
	:root { --rk-bar-h: 56px; }
	.rk-header__inner { min-height: var(--rk-bar-h); }
	.rk-menu-toggle {
		width: auto; height: 42px; gap: 8px; padding: 0 6px;
		border: 0; background: none; color: #fff;
	}
	.rk-menu-toggle__label { font-size: 15px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
	.rk-header__cta { display: inline-flex; min-height: 40px; padding: 0 14px; font-size: 14px; }
	.rk-nav { height: calc(100vh - var(--rk-bar-h)); height: calc(100dvh - var(--rk-bar-h)); }

	.rk-masthead { grid-template-columns: 1fr; }
	.rk-masthead__brand { justify-content: center; min-height: 0; padding: 22px 20px; border-right: 0; border-bottom: 6px solid var(--rk-accent); }
	.rk-masthead .rk-brand--logo img, .rk-masthead .custom-logo { max-height: 72px; }
	.rk-masthead__info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 18px 20px; }
}

@media (max-width: 640px) {
	.rk-header__cta span { display: none; }
	.rk-header__cta { width: 44px; padding: 0; }
	.rk-masthead__brand { padding: 18px 16px; }
	.rk-masthead .rk-brand { font-size: 23px; }
	.rk-masthead .rk-brand__mark { width: 46px; height: 46px; border-radius: 12px; }
	.rk-masthead .rk-brand__mark svg { width: 26px; height: 26px; }
	.rk-masthead__info { gap: 10px; padding: 14px 16px; }
	.rk-mh-item { gap: 10px; }
	.rk-mh-item__icon { width: 44px; height: 44px; border-radius: 11px; }
	.rk-mh-item__icon svg { width: 22px; height: 22px; }
	.rk-mh-item__text strong { font-size: 15px; }
	.rk-mh-item__text span { font-size: 13.5px; }
	.rk-ticker__item { padding: 10px 0 10px 28px; }
	.rk-ticker__text { font-size: 14px; }
	.rk-ticker__badge { font-size: 12px; padding: 3px 8px; }
}

@media (max-width: 380px) {
	.rk-mh-item { flex-direction: column; text-align: center; gap: 6px; }
	.rk-mh-item__text { align-items: center; max-width: 100%; }
}

/* Logo MELAJU RENT */
.rk-brand--svg { display: inline-flex; line-height: 0; }
.rk-logo { display: block; height: 64px; width: auto; max-width: 100%; }
.rk-logo__bg { fill: var(--rk-primary); }
.rk-logo__win { fill: var(--rk-primary); }
.rk-logo__wheel { fill: var(--rk-primary-dark); }
.rk-logo__speed { stroke: #4ade80; }
.rk-logo__a { fill: var(--rk-primary); }
.rk-logo__b { fill: var(--rk-accent); }
.rk-logo__tag { fill: var(--rk-muted); }
.rk-masthead .rk-logo { height: 84px; }
.rk-footer .rk-logo { height: 54px; }
.rk-footer .rk-logo__a { fill: #fff; }
.rk-footer .rk-logo__b { fill: #4ade80; }
.rk-footer .rk-logo__tag { fill: rgba(255, 255, 255, .6); }
@media (max-width: 1024px) { .rk-masthead .rk-logo { height: 68px; } }
@media (max-width: 640px) { .rk-masthead .rk-logo { height: 54px; } }

/* Layar sangat kecil (≤ 380px) */
@media (max-width: 380px) {
	.rk-container { padding: 0 14px; }
	.rk-specs { grid-template-columns: 1fr; gap: 10px; }
	.rk-form, .rk-contact__info, .rk-vehicle__panel { padding: 20px 16px; }
	.rk-summary__rows > div { flex-direction: column; gap: 2px; }
	.rk-summary__rows dd { text-align: left; }
}
