/* Bravo Mekanik 0.2.0 — dimuat hanya di halaman mekanik (arsip, lokasi/spesialisasi/layanan, single).
   Arsip meniru kartu "boxed" halaman /blog/ (Blocksy, diukur 15 Okt): PC 4 / tablet 3 / HP 1 kolom, jarak 30px, kartu putih padding 30px,
   judul 20px tebal di atas foto. Foto mekanik persegi dan tidak dipotong. */

.bm-arc,
.bm-wrap {
	--bm-brand: var(--theme-palette-color-1, #af0505);
	--bm-ink: var(--theme-palette-color-4, #192a3d);
	--bm-body: var(--theme-palette-color-3, #3a4f66);
	--bm-muted: #8a8a8a;
	--bm-line: rgba(0, 0, 0, .07);
	--bm-wa: #25d366;
}

/* ---------- judul + breadcrumb (sama dengan /blog/) ---------- */
.bm-arc .hero-section { margin-bottom: 40px; }
.bm-arc .page-title { margin: 0; font-size: 30px; font-weight: 700; line-height: 1.3; color: var(--bm-ink); }
.bm-arc .page-description { margin-top: 12px; max-width: 680px; color: var(--bm-body); font-size: 15px; line-height: 1.7; }

.bm-arc .ct-breadcrumbs,
.bm-wrap .ct-breadcrumbs {
	display: flex; flex-wrap: wrap; align-items: center; gap: 0;
	margin-top: 15px; font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase;
	color: var(--bm-ink);
}
.bm-wrap .ct-breadcrumbs { margin: 0 0 24px; }
.bm-arc .ct-breadcrumbs > span,
.bm-wrap .ct-breadcrumbs > span { display: inline-flex; align-items: center; }
.bm-arc .ct-breadcrumbs a,
.bm-wrap .ct-breadcrumbs a { color: inherit; text-decoration: none; }
.bm-arc .ct-breadcrumbs a:hover,
.bm-wrap .ct-breadcrumbs a:hover { color: var(--bm-brand); }
.bm-arc .ct-home-icon,
.bm-wrap .ct-home-icon { fill: var(--bm-brand); }
.bm-arc .ct-separator,
.bm-wrap .ct-separator { margin: 0 9px; opacity: .6; }

/* ---------- kartu ---------- */
.bm-entries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }

.bm-card {
	display: flex; flex-direction: column; gap: 20px;
	padding: 30px; background: #fff;
	box-shadow: 0 12px 18px -6px rgba(34, 56, 101, .04);
}

.bm-card .bm-card-nama { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; }
.bm-card .bm-card-nama a { color: var(--bm-ink); text-decoration: none; transition: color .15s ease; }
.bm-card .bm-card-nama a:hover { color: var(--bm-brand); }

/* foto selebar kartu, persegi, utuh */
.bm-card-foto { position: relative; margin: 0 -30px; overflow: hidden; background: #f2f5f7; }
.bm-card-foto > a { display: block; }
.bm-card-foto img,
.bm-card-kosong { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; }
.bm-card-foto img { transition: transform .4s ease; }
.bm-card:hover .bm-card-foto img { transform: scale(1.04); }

.bm-card-badge {
	position: absolute; top: 12px; right: 12px;
	background: var(--bm-brand); color: #fff;
	font-size: 11px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase;
	line-height: 1; padding: 6px 11px; border-radius: 50px; text-decoration: none;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}
.bm-card-badge:hover { background: #8a0404; color: #fff; }

.bm-card-info { display: flex; flex-direction: column; gap: 6px; }
.bm-card-spes { font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--bm-brand); line-height: 1.6; }
.bm-card-spes a, .bm-card-layanan a { color: inherit; text-decoration: none; }
.bm-card-spes a:hover { text-decoration: underline; }
.bm-card-layanan { font-size: 15px; color: var(--bm-body); line-height: 1.6; }
.bm-card-layanan a:hover { color: var(--bm-brand); }
.bm-card-jam { font-size: 14px; color: var(--bm-muted); line-height: 1.5; }

.bm-card-aksi { display: flex; gap: 8px; margin-top: auto; }
.bm-card-wa,
.bm-card-detail {
	flex: 1; text-align: center; font-size: 14px; font-weight: 600;
	padding: 11px 6px; border-radius: 6px; text-decoration: none;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.bm-card-wa { background: var(--bm-wa); color: #fff; }
.bm-card-wa:hover { background: #1da851; color: #fff; }
.bm-card-detail { border: 1px solid var(--bm-line); color: var(--bm-body); background: #fff; }
.bm-card-detail:hover { border-color: var(--bm-brand); color: var(--bm-brand); }

.bm-arc-nav { margin-top: 40px; }
.bm-arc-empty { color: var(--bm-muted); margin-top: 24px; font-size: 15px; }
.bm-disclaimer {
	margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--bm-line);
	font-size: 12px; line-height: 1.8; color: var(--bm-muted); max-width: 760px;
}

/* tablet 3 kolom, HP 1 kolom (sama dengan /blog/) */
@media (max-width: 999.98px) {
	.bm-entries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 689.98px) {
	.bm-entries { grid-template-columns: minmax(0, 1fr); }
	.bm-card .bm-card-nama { font-size: 18px; }
}

/* ---------- halaman single mekanik ---------- */
.bm-wrap { max-width: 1100px; margin: 0 auto; padding: 24px 20px 48px; }
.bm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.bm-foto img { width: 100%; height: auto; border-radius: 10px; display: block; }
.bm-foto-kosong {
	aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
	background: #f5f5f5; border-radius: 10px; color: #aaa; font-size: 14px;
}
.bm-nama { margin: 0 0 6px; font-size: 28px; line-height: 1.25; }
.bm-mekanik { margin: 0 0 14px; color: #666; font-size: 15px; }
.bm-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.bm-badge { padding: 5px 12px; border-radius: 999px; background: #f1f3f5; color: #333; font-size: 13px; text-decoration: none; }
.bm-wa {
	display: block; text-align: center; padding: 14px 28px; border-radius: 6px;
	background: var(--bm-wa); color: #fff; font-weight: 600; text-decoration: none;
}
.bm-note { margin: 10px 0 0; font-size: 13px; color: #888; line-height: 1.6; }
.bm-meta { margin-top: 24px; padding-top: 20px; border-top: 1px solid #eee; font-size: 14px; line-height: 1.8; }
.bm-row strong { color: #555; font-size: 12px; letter-spacing: .04em; }
.bm-row span, .bm-row a { color: #777; }
.bm-row a { text-decoration: none; }
.bm-box { border: 1px solid #eee; border-radius: 8px; padding: 14px 16px; margin-top: 20px; font-size: 14px; line-height: 1.7; }
.bm-desc { margin-top: 48px; padding-top: 32px; border-top: 1px solid #eee; max-width: 720px; }
.bm-wrap .bm-disclaimer { margin-top: 40px; padding-top: 20px; border-top: 1px solid #eee; color: #999; }
@media (max-width: 820px) {
	.bm-grid { grid-template-columns: 1fr; gap: 24px; }
	.bm-nama { font-size: 24px; }
}
