/*
Theme Name: PMA Rent Car
Theme URI: https://rentalmobillampungpma.com
Template: generatepress
Description: Child theme for PMA Rent Car (CV. Panca Manunggal Abadi) - sewa mobil harian, bulanan, dan tahunan di Lampung.
Author: PMA Rent Car
Version: 1.2.0
Text Domain: pma-rentcar-child
*/

/* Rebrand GeneratePress's own CSS custom properties (used across nav, links, hovers)
   so the whole theme inherits the navy/blue palette without fighting its selectors. */
:root {
	--accent: #205295;
	--contrast: #0A2647;
	--contrast-2: #144272;
}

html {
	overflow-x: hidden;
}

body {
	color: #1c1c1c;
	-webkit-font-smoothing: antialiased;
	/* Match the content container's background so the page reads as one continuous
	   full-screen surface instead of a narrower white "card" floating on gray. */
	background: #ffffff;
	/* The full-bleed hero/stats-band use 100vw, which is fractionally wider than the
	   visible viewport once a scrollbar is present - this clips that sliver instead of
	   introducing a horizontal scrollbar. */
	overflow-x: hidden;
}

.inside-article,
.page .inside-article {
	padding-top: 0 !important;
}

/* GP's ".separate-containers .site-main" rule adds a 20px top margin (its no-sidebar
   variant only zeroes left/right); on the home page that leaves a gap between the header
   and the full-bleed hero image right below it, breaking the "docked under the header"
   look, so it's zeroed specifically there. */
body.home .site-main {
	margin-top: 0;
}


/* ---------- Header ---------- */
.site-header {
	border-bottom: 1px solid #ececec;
	box-shadow: 0 1px 3px rgba(10, 38, 71, 0.04);
}

.main-title a,
.main-title a:hover,
.main-title a:focus {
	color: #2b3990;
}

.main-title a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	letter-spacing: -0.02em;
	white-space: nowrap;
	font-size: 1.1rem;
}

.pma-logo-mark {
	display: block;
	height: 40px;
	width: auto;
	flex-shrink: 0;
}

.site-header .inside-header {
	padding-top: 20px;
	padding-bottom: 20px;
}

.main-navigation .main-nav ul li a {
	font-weight: 600;
	font-size: 0.78rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	padding-left: 6px !important;
	padding-right: 6px !important;
	position: relative;
}

.main-navigation .main-nav ul li a::after {
	content: "";
	position: absolute;
	left: 6px;
	right: 6px;
	bottom: 14px;
	height: 2px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s ease;
}

.main-navigation .main-nav ul li a:hover::after {
	transform: scaleX(1);
}

.pma-nav-whatsapp-cta {
	display: flex;
	align-items: center;
	margin-left: 10px;
}

.pma-nav-whatsapp-cta a {
	background: #25D366 !important;
	color: #ffffff !important;
	border-radius: 0;
	padding: 8px 14px !important;
	font-weight: 700;
	font-size: 0.78rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background 0.2s ease, transform 0.15s ease;
}

.pma-nav-whatsapp-cta a:hover {
	background: #1ebc59 !important;
	color: #ffffff !important;
	transform: translateY(-1px);
}

/* ---------- Typography system ---------- */
.pma-eyebrow {
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.78rem;
	font-weight: 700;
	color: #205295;
	margin: 3.5rem 0 10px;
}

.pma-eyebrow:first-child {
	margin-top: 0;
}

.pma-eyebrow + h1,
.pma-eyebrow + h2,
.pma-eyebrow + h3 {
	margin-top: 0 !important;
}

.inside-article > h1:first-child,
.inside-article > .pma-eyebrow:first-child + h1 {
	font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #0A2647;
	max-width: 820px;
}

.inside-article h2,
.wp-block-group h2 {
	color: #0A2647;
	font-weight: 800;
	letter-spacing: -0.01em;
	font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
	margin-top: 4rem;
	margin-bottom: 0.5rem;
}

.inside-article h3 {
	color: #0A2647;
	font-weight: 700;
}

.pma-lede {
	font-size: 1.1rem;
	color: #4a4a4a;
	line-height: 1.6;
}

/* ---------- Hero + stats band (Home page) ---------- */
/* Merged into ONE full-bleed section sharing a single continuous photo, so the hero and the
   stats strip read as one flowing image instead of two independently-cropped instances of the
   same photo meeting at a hard seam. Full-bleed: breaks out of the centered content column to
   span the entire viewport width edge-to-edge. The photo is a real <picture>/<img> (not a CSS
   background-image) so it's an actual content image - indexable, has alt text, and degrades
   gracefully if it fails to load. */
.pma-hero-band {
	position: relative;
	width: 100vw;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	margin-top: 0;
	margin-bottom: 4rem;
	overflow: hidden;
	/* Side padding lives here, NOT on __content (which has max-width:700px) - an
	   absolutely-positioned child's containing block is the padding box, so the image/overlay
	   still cover edge-to-edge regardless of padding on this element. But on a wide viewport
	   (e.g. 1920px) this calc alone is ~400px per side; putting that same padding on a
	   max-width:700px box under border-box sizing drives its content width to zero, forcing
	   every single word - even every letter - onto its own line. Hit this bug twice now. */
	padding: 64px max(48px, calc((100vw - 1200px) / 2 + 48px)) 0;
}

.pma-hero-band__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
}

.pma-hero-band__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 28%;
}

/* One gradient spans the whole band, getting darker toward the bottom - light enough at the
   top for the hero heading, strong enough at the bottom for the stat numbers - instead of two
   separately-tuned overlays that would themselves create a visible seam. */
.pma-hero-band::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg,
		rgba(6, 22, 43, 0.32) 0%,
		rgba(6, 22, 43, 0.5) 35%,
		rgba(6, 22, 43, 0.72) 65%,
		rgba(6, 22, 43, 0.88) 100%);
}

.pma-hero__content {
	position: relative;
	z-index: 2;
	max-width: 700px;
	padding-bottom: 48px;
}

.pma-hero .pma-eyebrow {
	color: #8fc1ff;
}

.pma-hero__content h1 {
	color: #ffffff;
	font-size: clamp(2.2rem, 1.7rem + 2.4vw, 3.4rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin: 0 0 18px;
}

.pma-hero__content p {
	color: #dfe8f2;
	font-size: 1.15rem;
	max-width: 560px;
	line-height: 1.6;
}

.pma-hero__content .wp-block-buttons {
	margin-top: 28px;
}

.pma-hero__content .wp-block-button__link {
	background: #ffffff !important;
	color: #0A2647 !important;
	font-weight: 700;
}

.pma-hero__content .wp-block-button__link:hover {
	background: #dce6f0 !important;
}

.pma-stats-band__inner {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 40px 64px;
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
	padding: 24px 24px 56px;
}

.pma-stat {
	display: flex;
	flex-direction: column;
	color: #ffffff;
}

.pma-stat__num {
	font-size: clamp(2rem, 1.6rem + 1.8vw, 2.8rem);
	font-weight: 800;
	letter-spacing: -0.02em;
}

.pma-stat__label {
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #b9cde3;
	margin-top: 4px;
}

/* ---------- Buttons (default brand style) ---------- */
/* Hover uses the same "lift + soft shadow" language as the fleet/service cards
   (transform + box-shadow) instead of a flat color-flip, so every hoverable
   element on the site feels consistent. */
.wp-block-button__link {
	background-color: #0A2647;
	border-radius: 0;
	font-weight: 600;
	padding: 12px 28px;
	letter-spacing: 0.02em;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
		transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-button__link:hover {
	background-color: #144272;
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(10, 38, 71, 0.22);
}

.is-style-outline .wp-block-button__link {
	background: transparent !important;
	color: #205295 !important;
	border: 1.5px solid #205295;
	font-weight: 600;
}

.is-style-outline .wp-block-button__link:hover {
	background: #205295 !important;
	color: #ffffff !important;
	border-color: #205295;
	box-shadow: 0 10px 20px rgba(32, 82, 149, 0.25);
}

/* WhatsApp CTAs always stay green regardless of the default button color above. */
.pma-whatsapp-button .wp-block-button__link {
	background-color: #25D366 !important;
	color: #ffffff !important;
	border: none;
}

.pma-whatsapp-button .wp-block-button__link:hover {
	background-color: #1ebc59 !important;
	box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* ---------- Service cards (Layanan, Tentang Kami Visi/Misi) ---------- */
.pma-service-card {
	background: #ffffff;
	border-top: 3px solid #205295;
	box-shadow: 0 1px 3px rgba(10, 38, 71, 0.06);
	padding: 32px 28px;
	height: 100%;
	margin-bottom: 24px;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pma-service-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(10, 38, 71, 0.1);
}

.wp-block-column .pma-service-card,
.pma-fleet-card .pma-service-card {
	margin-bottom: 0;
}

.pma-service-card h3 {
	color: #0A2647;
	margin-top: 0;
	font-size: 1.2rem;
}

/* Plain (no-card) service teaser used on the Home page */
.pma-service-plain h3 {
	color: #0A2647;
	font-size: 1.1rem;
	margin-bottom: 8px;
}

.pma-service-plain p {
	color: #555;
}

/* ---------- Fleet grid (Armada & Harga) ---------- */
.pma-fleet-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 28px;
	margin: 1.5rem 0 2rem;
}

.pma-fleet-card {
	background: #ffffff;
	border: 1px solid #ececec;
	border-radius: 0;
	overflow: hidden;
	transition: box-shadow 0.2s ease;
	display: flex;
	flex-direction: column;
}

.pma-fleet-card:hover {
	box-shadow: 0 14px 28px rgba(10, 38, 71, 0.12);
}

/* "View all" tile - reusable across the fleet grid and reviews grid, styled distinctly from the
   vehicle cards so it reads as a clear call to action rather than another listing.
   Selector is "a.pma-viewall-card" (element + class) rather than just ".pma-viewall-card" so it
   reliably outranks ".pma-fleet-card"/".pma-review-card" (also single-class) regardless of which
   comes later in the stylesheet - two equal-specificity rules setting the same property (background)
   would otherwise let source order decide, which silently made this tile invisible before. */
a.pma-viewall-card {
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 14px;
	min-height: 260px;
	background: #0A2647;
	border-color: #0A2647;
	color: #ffffff;
	text-decoration: none;
	padding: 24px;
}

a.pma-viewall-card:hover {
	background: #144272;
}

.pma-viewall-card__arrow {
	font-size: 1.8rem;
	line-height: 1;
	transition: transform 0.2s ease;
}

a.pma-viewall-card:hover .pma-viewall-card__arrow {
	transform: translateX(6px);
}

.pma-viewall-card__label {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-size: 0.95rem;
	line-height: 1.4;
}

.pma-fleet-card__image-wrap {
	overflow: hidden;
	background: #F5F7FA;
}

.pma-fleet-card img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: contain;
	background: #F5F7FA;
	transition: transform 0.35s ease;
}

.pma-fleet-card:hover img {
	transform: scale(1.05);
}

.pma-fleet-card__body {
	padding: 20px 22px 22px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.pma-fleet-card__name {
	font-weight: 700;
	font-size: 1.05rem;
	color: #0A2647;
	margin: 0 0 14px;
}

.pma-fleet-card__prices {
	border-top: 1px solid #ececec;
	padding-top: 12px;
	margin-bottom: 18px;
}

.pma-price-row {
	display: flex;
	flex-wrap: wrap;
	column-gap: 12px;
	justify-content: space-between;
	align-items: baseline;
	font-size: 0.88rem;
	padding: 3px 0;
	color: #555;
}

.pma-price-row strong {
	margin-left: auto;
	color: #0A2647;
	font-size: 0.95rem;
	font-weight: 700;
}

.pma-fleet-note {
	font-size: 0.76rem;
	color: #8a8a8a;
	font-style: italic;
	margin-top: 4px;
}

.pma-fleet-card__body .wp-block-buttons {
	margin-top: auto;
}

.pma-fleet-card__body .wp-block-button__link {
	width: 100%;
	text-align: center;
	border-radius: 0;
	font-size: 0.85rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	padding: 12px 20px;
}

/* ---------- Accordions (Syarat & Ketentuan) ---------- */
.wp-block-details {
	background: #ffffff;
	border: 1px solid #ececec;
	border-radius: 0;
	padding: 20px 26px;
	margin-bottom: 14px;
	transition: border-color 0.2s ease;
}

.wp-block-details:hover {
	border-color: #205295;
}

/* Custom +/- indicator instead of the browser's default triangle marker, rotating into a
   minus when open for clearer affordance. */
.wp-block-details summary {
	font-weight: 700;
	color: #0A2647;
	font-size: 1.05rem;
	cursor: pointer;
	padding: 6px 0;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.wp-block-details summary::-webkit-details-marker {
	display: none;
}

.wp-block-details summary::after {
	content: "+";
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid #205295;
	color: #205295;
	font-size: 1.1rem;
	line-height: 1;
	transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.wp-block-details[open] summary::after {
	content: "+";
	transform: rotate(135deg);
	background: #205295;
	color: #ffffff;
}

.wp-block-details[open] summary {
	margin-bottom: 10px;
}

/* ---------- Customer reviews (Home) ---------- */
.pma-reviews-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
	margin: 1.5rem 0 2rem;
}

.pma-review-card {
	background: #ffffff;
	border: 1px solid #ececec;
	padding: 28px 26px;
	display: flex;
	flex-direction: column;
}

.pma-review-card__stars {
	color: #f5b400;
	letter-spacing: 2px;
	margin-bottom: 12px;
	font-size: 0.95rem;
}

.pma-review-card__text {
	color: #333;
	font-size: 0.95rem;
	line-height: 1.6;
	flex: 1;
	margin-bottom: 20px;
}

.pma-review-card__meta strong {
	display: block;
	color: #0A2647;
	font-size: 0.92rem;
	font-weight: 700;
}

.pma-review-card__meta span {
	color: #888;
	font-size: 0.78rem;
}

/* ---------- Google Maps embed (Kontak) ---------- */
.pma-map-embed {
	position: relative;
	width: 100%;
	max-width: 700px;
	aspect-ratio: 4 / 3;
	margin-top: 24px;
	border: 1px solid #ececec;
}

.pma-map-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

/* ---------- Footer ---------- */
.site-footer,
#colophon,
.footer-widgets {
	background: #071627;
	color: #b9cde3;
}

.site-footer a,
#colophon a {
	color: #ffffff;
}

.site-info {
	background: #071627;
	color: #8ca3bd;
	padding: 26px 0;
	font-size: 0.85rem;
	letter-spacing: 0.02em;
}

/* Search / archive widgets look out of place on a brochure site if a template ever renders them. */
.widget-area .search-form {
	max-width: 320px;
}

/* ---------- Scroll-reveal (applied via JS to cards/sections; see assets/js/site.js) ---------- */
.pma-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.pma-reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.pma-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ---------- Floating WhatsApp button (site-wide) ---------- */
.pma-float-wa {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 999;
	width: 58px;
	height: 58px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #25D366;
	color: #ffffff;
	border-radius: 50%;
	box-shadow: 0 6px 18px rgba(10, 38, 71, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	animation: pma-wa-pulse 2.6s ease-in-out infinite;
}

.pma-float-wa:hover {
	transform: scale(1.08);
	box-shadow: 0 10px 24px rgba(10, 38, 71, 0.4);
	color: #ffffff;
}

@keyframes pma-wa-pulse {
	0%, 100% { box-shadow: 0 6px 18px rgba(10, 38, 71, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.5); }
	50% { box-shadow: 0 6px 18px rgba(10, 38, 71, 0.35), 0 0 0 10px rgba(37, 211, 102, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.pma-float-wa {
		animation: none;
	}
}

/* ---------- Back-to-top button (site-wide) ---------- */
.pma-back-to-top {
	position: fixed;
	right: 22px;
	bottom: 90px;
	z-index: 999;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #0A2647;
	color: #ffffff;
	/* White ring so the navy button stays visible when it floats over the dark footer. */
	border: 2px solid #ffffff;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(10, 38, 71, 0.3);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.pma-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.pma-back-to-top:hover {
	background: #144272;
}

/* ---------- Fleet filter chips (Armada & Harga) ---------- */
.pma-fleet-filters,
.pma-gallery-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 1.5rem 0 0;
}

.pma-fleet-filter,
.pma-gallery-filter {
	background: transparent;
	border: 1.5px solid #d7dde3;
	color: #205295;
	font-weight: 600;
	font-size: 0.85rem;
	letter-spacing: 0.02em;
	padding: 9px 20px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pma-fleet-filter:hover,
.pma-gallery-filter:hover {
	border-color: #205295;
}

.pma-fleet-filter.is-active,
.pma-gallery-filter.is-active {
	background: #0A2647;
	border-color: #0A2647;
	color: #ffffff;
}

/* ---------- Clickable contact links (tel: / map) ---------- */
.pma-tel-link,
.pma-map-link {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: #c7d2dc;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

.pma-tel-link:hover,
.pma-map-link:hover {
	color: #205295;
}

/* ---------- Gallery page: masonry grid ---------- */
/* CSS columns (not a fixed-ratio grid) so portrait phone photos of different proportions
   (3:4 and 9:16) keep their full frame instead of being cropped. */
.pma-gallery-count {
	margin: 14px 0 0;
	font-size: 0.85rem;
	color: #6b7785;
}

.pma-gallery {
	column-count: 4;
	column-gap: 14px;
	margin: 1.25rem 0 2rem;
}

.pma-gallery__item {
	position: relative;
	display: block;
	margin: 0 0 14px;
	break-inside: avoid;
	overflow: hidden;
	background: #e9eef4;
	cursor: zoom-in;
	line-height: 0;
}

.pma-gallery__item img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.45s ease;
}

.pma-gallery__item::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") no-repeat right 12px bottom 12px,
		linear-gradient(to top, rgba(10, 38, 71, 0.55), rgba(10, 38, 71, 0) 45%);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.pma-gallery__item:hover img,
.pma-gallery__item:focus-visible img {
	transform: scale(1.05);
}

.pma-gallery__item:hover::after,
.pma-gallery__item:focus-visible::after {
	opacity: 1;
}

.pma-gallery__item:focus-visible {
	outline: 3px solid #205295;
	outline-offset: 2px;
}

/* ---------- Lightbox ---------- */
.pma-lb-open {
	overflow: hidden;
}

.pma-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(6, 22, 43, 0.95);
	animation: pma-lb-in 0.2s ease;
}

.pma-lightbox[hidden] {
	display: none;
}

@keyframes pma-lb-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

.pma-lightbox__figure {
	margin: 0;
	padding: 56px 72px 64px;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
}

.pma-lightbox__img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 150px);
	width: auto;
	height: auto;
	object-fit: contain;
	transition: opacity 0.2s ease;
}

.pma-lightbox.is-loading .pma-lightbox__img {
	opacity: 0.25;
}

.pma-lightbox__caption {
	max-width: 640px;
	text-align: center;
	color: #dfe8f2;
	font-size: 0.9rem;
	line-height: 1.5;
}

.pma-lightbox__count {
	position: absolute;
	top: 22px;
	left: 26px;
	color: #b9cde3;
	font-size: 0.85rem;
	letter-spacing: 0.06em;
}

.pma-lightbox__btn {
	position: absolute;
	z-index: 2;
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 0;
	font-size: 1.9rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.pma-lightbox__btn:hover,
.pma-lightbox__btn:focus-visible {
	background: rgba(255, 255, 255, 0.22);
	border-color: #ffffff;
	color: #ffffff;
}

.pma-lightbox__btn[hidden] {
	display: none;
}

.pma-lightbox__close { top: 16px; right: 16px; }
.pma-lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.pma-lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

@media (prefers-reduced-motion: reduce) {
	.pma-lightbox { animation: none; }
	.pma-gallery__item img { transition: none; }
}

/* ---------- Home: gallery teaser strip ---------- */
.pma-gallery-teaser {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 12px;
	margin: 1.5rem 0 2rem;
}

.pma-gallery-teaser__item,
.pma-gallery-teaser__more {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #e9eef4;
}

.pma-gallery-teaser__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.pma-gallery-teaser__item:hover img,
.pma-gallery-teaser__item:focus-visible img {
	transform: scale(1.07);
}

.pma-gallery-teaser__more {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 16px;
	text-align: center;
	background: #0A2647;
	color: #ffffff;
	text-decoration: none;
	transition: background 0.2s ease;
}

.pma-gallery-teaser__more:hover,
.pma-gallery-teaser__more:focus-visible {
	background: #144272;
	color: #ffffff;
}

.pma-gallery-teaser__more span:first-child {
	font-size: 1.6rem;
	line-height: 1;
	transition: transform 0.2s ease;
}

.pma-gallery-teaser__more:hover span:first-child {
	transform: translateX(6px);
}

.pma-gallery-teaser__more span:last-child {
	font-weight: 700;
	font-size: 0.82rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.4;
}

@media (max-width: 1000px) {
	.pma-gallery { column-count: 3; }
	.pma-gallery-teaser { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
	.pma-gallery { column-count: 2; column-gap: 10px; }
	.pma-gallery__item { margin-bottom: 10px; }
	.pma-gallery-teaser { grid-template-columns: repeat(2, 1fr); gap: 10px; }

	.pma-lightbox__figure { padding: 60px 12px 70px; }
	.pma-lightbox__img { max-height: calc(100vh - 190px); }
	.pma-lightbox__btn { width: 42px; height: 42px; }
	.pma-lightbox__prev { top: auto; bottom: 14px; left: 14px; transform: none; }
	.pma-lightbox__next { top: auto; bottom: 14px; right: 14px; transform: none; }
}

/* ---------- Social icons (CSS-mask icons: one definition, tinted with currentColor) ---------- */
:root {
	--pma-icon-instagram: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='black' stroke='none'/%3E%3C/svg%3E");
	--pma-icon-tiktok: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-5.2 1.74 2.89 2.89 0 0 1 2.31-4.64 2.93 2.93 0 0 1 .88.13V9.4a6.84 6.84 0 0 0-1-.05A6.33 6.33 0 0 0 5 20.1a6.34 6.34 0 0 0 10.86-4.43v-7a8.16 8.16 0 0 0 4.77 1.52v-3.4a4.85 4.85 0 0 1-1-.1z'/%3E%3C/svg%3E");
}

.pma-social-btn::before,
.pma-social-link::before {
	content: "";
	display: inline-block;
	background-color: currentColor;
	-webkit-mask: var(--pma-icon) center / contain no-repeat;
	mask: var(--pma-icon) center / contain no-repeat;
}

.pma-social-btn--instagram,
.pma-social-link--instagram { --pma-icon: var(--pma-icon-instagram); }

.pma-social-btn--tiktok,
.pma-social-link--tiktok { --pma-icon: var(--pma-icon-tiktok); }

.pma-social-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.pma-social-link::before {
	width: 1.15em;
	height: 1.15em;
	flex-shrink: 0;
}

/* ---------- Footer: brand + menu + social ---------- */
/* GeneratePress lays .inside-site-info out as a flex row (built for one copyright line), which put
   the new block and the copyright side by side and squeezed the menu - stack them instead. */
.site-info .inside-site-info {
	display: block;
}

.site-info .copyright-bar {
	text-align: center;
}

/* Keep the last copyright line clear of the fixed WhatsApp / back-to-top buttons. */
@media (max-width: 1100px) {
	.site-info .copyright-bar {
		padding-bottom: 140px;
	}
}

.pma-footer-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
	padding: 44px 0 34px;
	margin-bottom: 26px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	text-align: left;
}

.pma-footer-brand {
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-width: 340px;
}

/* Desktop: brand left + social right on the first row, menu on its own full-width row below
   (three items sharing one row did not fit the 1120px container next to a 7-link menu). */
.pma-footer-social {
	order: 2;
	margin-left: auto;
}

.pma-footer-nav {
	order: 3;
	flex: 1 1 100%;
}

.pma-footer-brand strong {
	color: #ffffff;
	font-size: 1.05rem;
	letter-spacing: -0.01em;
}

.pma-footer-brand span {
	color: #8ca3bd;
	font-size: 0.85rem;
	line-height: 1.5;
}

.pma-footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pma-footer-menu a {
	position: relative;
	display: inline-block;
	padding: 4px 0;
	color: #b9cde3;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	transition: color 0.2s ease;
}

.pma-footer-menu a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: #ffffff;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s ease;
}

.pma-footer-menu a:hover,
.pma-footer-menu a:focus-visible,
.pma-footer-menu .current-menu-item > a {
	color: #ffffff;
}

.pma-footer-menu a:hover::after,
.pma-footer-menu a:focus-visible::after,
.pma-footer-menu .current-menu-item > a::after {
	transform: scaleX(1);
}

.pma-footer-social {
	display: flex;
	gap: 10px;
}

.pma-social-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 0;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pma-social-btn::before {
	width: 20px;
	height: 20px;
}

.pma-social-btn:hover,
.pma-social-btn:focus-visible {
	background: #ffffff;
	border-color: #ffffff;
	color: #0A2647;
	transform: translateY(-2px);
}

@media (max-width: 768px) {
	.pma-footer-top {
		flex-direction: column;
		align-items: flex-start;
		padding: 36px 0 28px;
	}

	.pma-footer-menu {
		gap: 4px 20px;
	}

	.pma-footer-social,
	.pma-footer-nav {
		order: 0;
		margin-left: 0;
		flex: 0 0 auto;
	}
}

/* ---------- Responsive ---------- */
/* Mid-width desktops: the long brand name plus 6 links plus the CTA no longer fit on one row at
   full size, so shrink the type slightly before the mobile menu takes over at 768px. */
@media (min-width: 769px) and (max-width: 1280px) {
	.main-title a {
		font-size: 0.95rem;
		gap: 7px;
	}

	.pma-logo-mark {
		height: 30px;
	}

	.main-navigation .main-nav ul li a {
		font-size: 0.7rem;
		letter-spacing: 0.01em;
		padding-left: 5px !important;
		padding-right: 5px !important;
	}

	.pma-nav-whatsapp-cta {
		margin-left: 4px;
	}

	.pma-nav-whatsapp-cta a {
		padding: 7px 12px !important;
		font-size: 0.72rem;
	}
}

@media (min-width: 769px) and (max-width: 1080px) {
	/* Not enough room for the CTA beside the links; the floating WhatsApp button covers it. */
	.pma-nav-whatsapp-cta {
		display: none;
	}
}

/* Portrait tablets (~769-940px): logo + six links can't share one row, and GeneratePress
   hardcodes its hamburger at 768px, so give the nav its own full-width row under the logo
   instead of letting the links wrap raggedly. */
@media (min-width: 769px) and (max-width: 940px) {
	.site-header .inside-header {
		flex-wrap: wrap;
		justify-content: center;
		row-gap: 0;
	}

	.site-header .inside-header .main-navigation {
		flex: 1 1 100%;
		width: 100%;
	}

	.site-header .inside-header .main-navigation .inside-navigation,
	.site-header .inside-header .main-navigation .main-nav > ul {
		justify-content: center;
	}
}

@media (max-width: 768px) {
	/* Keyword-rich page headings are longer than the old one-word ones; keep them to ~3-4 lines on phones. */
	.entry-content > .pma-eyebrow + h1 {
		font-size: 1.7rem;
		line-height: 1.2;
	}

	.pma-logo-mark {
		height: 32px;
	}

	.pma-hero-band {
		padding: 40px 24px 0;
	}

	.pma-hero__content {
		padding-bottom: 32px;
	}

	.pma-stats-band__inner {
		gap: 28px 40px;
		padding: 16px 0 40px;
	}

	.pma-float-wa {
		right: 16px;
		bottom: 16px;
		width: 52px;
		height: 52px;
	}

	.pma-back-to-top {
		right: 16px;
		bottom: 78px;
		width: 40px;
		height: 40px;
	}
}

/* ---------- Brand logo (Tentang Kami) ---------- */
.pma-brand-logo {
	margin: 0;
	text-align: center;
}

.pma-brand-logo img {
	display: inline-block;
	width: 100%;
	max-width: 300px;
	height: auto;
}

.pma-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin: 1.5rem 0 3rem; }
.pma-step { border-top: 3px solid var(--accent, #2C74B3); padding-top: 1rem; }
.pma-step h3 { margin: .5rem 0 .25rem; font-size: 1.1rem; }
.pma-step p { margin: 0; }
.pma-step__num { display: inline-block; font-weight: 700; font-size: 1.5rem; color: #0A2647; }
