/*
Theme Name: HALIMI Digital Lab
Theme URI: https://halimi.web.id
Author: Halimi
Author URI: https://halimi.web.id
Description: Tema WordPress ringan untuk blog dan portfolio engineering HALIMI.WEB.ID. Mendukung Gutenberg, Custom Post Type Proyek, revisi, featured content, dan Contact Form 7 opsional.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: halimi-lab
Tags: blog, portfolio, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --paper: #f8fafc;
  --surface: #ffffff;
  --wash: #eef4f7;
  --cyan: #0891b2;
  --cyan-soft: #cffafe;
  --teal: #0f766e;
  --amber: #d97706;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(15, 23, 42, .08);
  --sans: "Aptos", "Segoe UI", system-ui, -apple-system, sans-serif;
  --heading: "Aptos Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-main { min-height: 60vh; }
.mono-label { margin: 0; color: var(--cyan); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.section-title { margin: 14px 0 0; font-family: var(--heading); font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.02; letter-spacing: -.04em; }
.section-title span { color: #94a3b8; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 999px; padding: 12px 20px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--cyan); }
.button--outline { border-color: #cbd5e1; background: #fff; color: var(--ink-soft); }
.button--outline:hover { border-color: var(--cyan); background: #fff; color: var(--cyan); }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(226,232,240,.9); background: rgba(248,250,252,.9); backdrop-filter: blur(18px); }
.site-header__inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; background: var(--ink); color: #67e8f9; font-size: 20px; }
.brand__mark img { width: 38px; height: 38px; }
.brand__name { display: block; font-family: var(--heading); font-size: 15px; font-weight: 800; letter-spacing: .13em; line-height: 1; }
.brand__sub { display: block; margin-top: 6px; color: var(--muted); font-family: var(--mono); font-size: 8px; letter-spacing: .18em; }
.custom-logo { width: auto; max-height: 42px; }
.primary-menu { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.primary-menu a { color: #475569; font-size: 15px; font-weight: 600; transition: color .2s ease; }
.primary-menu a:hover, .primary-menu .current-menu-item > a { color: var(--cyan); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before, .hero::after { position: absolute; content: ""; border: 1px solid rgba(8,145,178,.16); border-radius: 50%; pointer-events: none; }
.hero::before { width: 620px; height: 620px; right: -12%; top: -54%; }
.hero::after { width: 450px; height: 450px; right: 1%; top: -34%; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; align-items: end; gap: 72px; padding-block: 90px 105px; }
.hero h1 { max-width: 750px; margin: 28px 0 0; font-family: var(--heading); font-size: clamp(3.2rem, 7vw, 5.3rem); line-height: .98; letter-spacing: -.055em; }
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero__intro { max-width: 620px; margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.lab-panel { border: 1px solid var(--line); border-radius: 22px; padding: 18px; background: rgba(255,255,255,.7); box-shadow: var(--shadow); }
.lab-panel__head { display: flex; justify-content: space-between; border-bottom: 1px solid #f1f5f9; padding-bottom: 14px; color: #94a3b8; font-family: var(--mono); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.lab-panel__screen { position: relative; min-height: 220px; margin-top: 18px; overflow: hidden; border-radius: 14px; padding: 24px; background-color: var(--ink); background-image: linear-gradient(rgba(34,211,238,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(34,211,238,.16) 1px, transparent 1px); background-size: 22px 22px; color: #fff; }
.lab-panel__metric { position: absolute; left: 24px; bottom: 24px; }
.lab-panel__metric strong { display: block; font-size: 38px; line-height: 1; }
.lab-panel__metric small { color: #94a3b8; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.signal { position: absolute; right: 24px; bottom: 32px; width: 55%; height: 90px; border-bottom: 2px solid #22d3ee; clip-path: polygon(0 80%, 15% 72%, 28% 55%, 40% 65%, 56% 25%, 70% 43%, 86% 9%, 100% 0, 100% 100%, 0 100%); background: linear-gradient(to bottom, rgba(34,211,238,.45), transparent); }

.stat-strip { border-bottom: 1px solid var(--line); background: #fff; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 24px 30px; border-right: 1px solid #f1f5f9; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--heading); font-size: 27px; line-height: 1; }
.stat span { display: block; margin-top: 7px; color: #94a3b8; font-family: var(--mono); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }

.section { padding-block: 96px; }
.section--wash { background: var(--wash); }
.section--white { background: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-size: 14px; font-weight: 700; }
.text-link:hover { color: var(--teal); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 28px rgba(15,23,42,.04); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-4px); border-color: #67e8f9; box-shadow: 0 20px 45px rgba(8,145,178,.11); }
.card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background-color: #0f172a; background-image: linear-gradient(135deg, rgba(34,211,238,.26), transparent 45%), linear-gradient(rgba(34,211,238,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(34,211,238,.1) 1px, transparent 1px); background-size: auto, 24px 24px, 24px 24px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__status { position: absolute; left: 16px; top: 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 5px 10px; background: rgba(15,23,42,.75); color: #fff; font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.card__body { padding: 24px; }
.card__meta { display: flex; justify-content: space-between; gap: 14px; color: var(--cyan); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.card h3 { margin: 12px 0 0; font-family: var(--heading); font-size: 23px; line-height: 1.18; letter-spacing: -.02em; }
.card p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.card__footer { display: flex; align-items: end; justify-content: space-between; margin-top: 24px; border-top: 1px solid #f1f5f9; padding-top: 16px; }
.card__metric small { display: block; color: #94a3b8; font-family: var(--mono); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.card__metric strong { display: block; margin-top: 4px; font-size: 18px; }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.category-tile { min-height: 200px; padding: 26px; background: #fff; transition: background-color .2s ease; }
.category-tile:hover { background: #ecfeff; }
.category-tile__number { color: var(--cyan); font-family: var(--mono); font-size: 10px; letter-spacing: .15em; }
.category-tile h3 { margin: 44px 0 0; font-family: var(--heading); font-size: 21px; }
.category-tile p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.about-band { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: center; }
.about-band blockquote { margin: 0; color: var(--ink-soft); font-family: var(--heading); font-size: 25px; line-height: 1.45; }
.about-band p { color: var(--muted); }
.cta { overflow: hidden; background: var(--ink); color: #fff; }
.cta__inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding-block: 76px; }
.cta h2 { max-width: 720px; margin: 14px 0 0; font-family: var(--heading); font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.12; }
.cta .button { background: #22d3ee; color: var(--ink); }

.page-hero { border-bottom: 1px solid var(--line); background: #fff; padding-block: 72px; }
.page-hero h1 { max-width: 850px; margin: 16px 0 0; font-family: var(--heading); font-size: clamp(2.8rem, 7vw, 4.7rem); line-height: 1.03; letter-spacing: -.045em; }
.page-hero p { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 18px; }
.archive-layout { padding-block: 64px 96px; }
.archive-tools { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 34px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.pagination { margin-top: 45px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination a, .pagination span { display: grid; min-width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 13px; }
.pagination .current { border-color: var(--ink); background: var(--ink); color: #fff; }

.single-hero { border-bottom: 1px solid var(--line); background: #fff; padding-block: 68px; }
.single-hero__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: end; }
.single-hero h1 { margin: 20px 0 0; font-family: var(--heading); font-size: clamp(2.7rem, 6vw, 4.3rem); line-height: 1.04; letter-spacing: -.045em; }
.single-hero__lead { margin: 24px 0 0; color: var(--muted); font-size: 17px; }
.single-hero__image { overflow: hidden; border-radius: 20px; background: var(--ink); }
.single-hero__image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 64px; padding-block: 72px 100px; }
.single-content { min-width: 0; }
.single-content > * { max-width: 760px; }
.single-content h2, .single-content h3 { margin-top: 2em; font-family: var(--heading); line-height: 1.2; }
.single-content h2 { font-size: 30px; }
.single-content p, .single-content li { color: #475569; line-height: 1.85; }
.single-content pre { overflow: auto; border-radius: 14px; padding: 22px; background: var(--ink); color: #a5f3fc; font-family: var(--mono); }
.single-content table { width: 100%; border-collapse: collapse; margin-block: 24px; background: #fff; }
.single-content th, .single-content td { border: 1px solid var(--line); padding: 12px; text-align: left; }
.single-content blockquote { margin: 28px 0; border-left: 3px solid var(--cyan); padding: 14px 20px; background: #ecfeff; }
.spec-card, .detail-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.spec-card { position: sticky; top: 100px; }
.spec-row { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid #f1f5f9; padding-block: 12px; font-size: 14px; }
.spec-row:last-child { border-bottom: 0; }
.spec-row span:first-child { color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-block: 34px; }
.detail-box h2 { margin: 0; font-size: 19px; }
.detail-box ul { margin-bottom: 0; padding-left: 20px; }

.project-gallery { margin-block: 44px; }
.project-gallery__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.project-gallery__head h2 { margin: 8px 0 0; }
.project-gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.project-gallery__item { position: relative; overflow: hidden; aspect-ratio: 4/3; border: 0; border-radius: 14px; padding: 0; background: #e2e8f0; cursor: zoom-in; }
.project-gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.project-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-gallery__item:hover img { transform: scale(1.04); }
.project-lightbox { width: min(1100px, calc(100% - 32px)); max-width: none; border: 0; border-radius: 18px; padding: 0; background: #020617; color: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.project-lightbox::backdrop { background: rgba(2,6,23,.84); backdrop-filter: blur(5px); }
.project-lightbox__figure { margin: 0; }
.project-lightbox__image { width: 100%; max-height: 78vh; object-fit: contain; }
.project-lightbox__caption { min-height: 52px; margin: 0; padding: 14px 64px 14px 18px; color: #cbd5e1; font-size: 13px; }
.project-lightbox__close { position: absolute; right: 14px; top: 14px; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; background: rgba(15,23,42,.75); color: #fff; cursor: pointer; }

.solar-calculator { overflow: hidden; margin-block: 32px; border: 1px solid #bae6fd; border-radius: 20px; background: #fff; box-shadow: 0 16px 45px rgba(8,145,178,.09); }
.solar-calculator__head { padding: 24px 26px; background: var(--ink); color: #fff; }
.solar-calculator__head h3 { margin: 7px 0 0; color: #fff; font-family: var(--heading); font-size: 24px; }
.solar-calculator__head p { margin: 8px 0 0; color: #94a3b8; font-size: 13px; }
.solar-calculator__body { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; padding: 26px; }
.solar-calculator__inputs { display: grid; gap: 16px; }
.solar-calculator__field { display: grid; gap: 7px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.solar-calculator__field input { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 11px 13px; color: var(--ink); outline: none; }
.solar-calculator__field input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-soft); }
.solar-calculator__results { display: grid; align-content: center; gap: 1px; overflow: hidden; border-radius: 14px; background: var(--line); }
.solar-calculator__result { padding: 18px; background: var(--wash); }
.solar-calculator__result small { display: block; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.solar-calculator__result strong { display: block; margin-top: 6px; color: var(--ink); font-family: var(--heading); font-size: 28px; }
.solar-calculator__note { grid-column: 1/-1; margin: 0; color: var(--muted); font-size: 11px; }

.headloss-calculator__results {
	grid-template-columns: 1fr 1fr;
}

.headloss-calculator__results .solar-calculator__result {
	min-width: 0;
}

@media (max-width: 640px) {
	.headloss-calculator__results {
		grid-template-columns: 1fr;
	}
}

.contact-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; padding-block: 72px 100px; }
.contact-panel { border-radius: var(--radius); padding: 28px; background: var(--ink); color: #fff; }
.contact-panel p { color: #cbd5e1; }
.contact-form-wrap { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; }
.contact-form-wrap input, .contact-form-wrap textarea, .contact-form-wrap select { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; }
.contact-form-wrap input:focus, .contact-form-wrap textarea:focus { border-color: var(--cyan); outline: 2px solid #cffafe; }
.contact-form-wrap input[type="submit"] { width: auto; border: 0; border-radius: 999px; padding-inline: 22px; background: var(--ink); color: #fff; font-weight: 700; cursor: pointer; }
.contact-fallback { border: 1px dashed #67e8f9; border-radius: 14px; padding: 22px; background: #ecfeff; }

.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; padding-block: 54px; }
.footer-brand { font-family: var(--heading); font-size: 18px; font-weight: 800; letter-spacing: .08em; }
.footer-copy { max-width: 380px; color: var(--muted); font-size: 14px; }
.footer-title { color: var(--cyan); font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; margin-top: 16px; font-size: 14px; }
.footer-links a { color: #475569; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid #f1f5f9; padding-block: 18px; color: #94a3b8; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }

@media (max-width: 900px) {
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; border-bottom: 1px solid var(--line); padding: 18px 20px; background: #fff; }
  .primary-nav.is-open { display: block; }
  .primary-menu { display: grid; gap: 0; }
  .primary-menu li { border-bottom: 1px solid #f1f5f9; padding: 10px 0; }
  .menu-toggle { display: grid; place-items: center; }
  .header-cta { display: none; }
  .hero__inner, .single-hero__grid, .single-layout, .contact-grid { grid-template-columns: 1fr; }
  .hero__inner { padding-block: 70px; }
  .lab-panel { display: none; }
  .cards--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .about-band { grid-template-columns: 1fr; gap: 28px; }
  .spec-card { position: static; }
  .project-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, 1180px); }
  .hero h1 { font-size: 3.1rem; }
  .stat-grid, .cards, .cards--three, .category-grid, .detail-grid, .footer-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid #f1f5f9; padding-inline: 0; }
  .section { padding-block: 70px; }
  .section-head, .cta__inner { align-items: flex-start; flex-direction: column; }
  .page-hero { padding-block: 54px; }
  .project-gallery__grid, .solar-calculator__body { grid-template-columns: 1fr; }
  .project-gallery__item:first-child { grid-column: auto; grid-row: auto; }
}
/* =========================================================
   ENGINEERING TOOLS
   ========================================================= */

.engineering-tools {
	padding-block: 72px 100px;
}

.engineering-tools__intro {
	max-width: 760px;
	margin-bottom: 48px;
}

.engineering-tools__intro .mono-label {
	margin-bottom: 14px;
}

.engineering-tools__intro h1 {
	margin: 0 0 20px;
}

.engineering-tools__intro > p:last-child {
	max-width: 620px;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.8;
}


.engineering-tools__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}


.engineering-tool-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 310px;
	padding: 30px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: #fff;
	color: var(--ink);
	text-decoration: none;
	box-shadow: 0 12px 35px rgba(8, 145, 178, .06);
	transition:
		transform .2s ease,
		border-color .2s ease,
		box-shadow .2s ease;
}


.engineering-tool-card:hover {
	transform: translateY(-4px);
	border-color: var(--cyan);
	box-shadow: 0 18px 45px rgba(8, 145, 178, .12);
}


.engineering-tool-card__index {
	margin-bottom: 22px;
	color: var(--cyan);
	font-family: var(--mono);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .12em;
}


.engineering-tool-card h2 {
	margin: 0 0 16px;
	color: var(--ink);
	font-family: var(--heading);
	font-size: 28px;
	line-height: 1.15;
}


.engineering-tool-card p {
	margin: 0;
	max-width: 520px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.75;
}


.engineering-tool-card__link {
	display: inline-block;
	margin-top: auto;
	padding-top: 28px;
	color: var(--cyan);
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}


@media (max-width: 768px) {

	.engineering-tools {
		padding-block: 48px 72px;
	}

	.engineering-tools__grid {
		grid-template-columns: 1fr;
	}

	.engineering-tool-card {
		min-height: 280px;
		padding: 24px;
	}

	.engineering-tool-card h2 {
		font-size: 24px;
	}

}

/* YouTube project video */
.project-video {
    margin-top: 56px;
    width: 100%;
    max-width: none !important;
}

.project-video__head {
    margin-bottom: 24px;
}

.project-video__head .mono-label {
    margin-bottom: 12px;
}

.project-video__head h2 {
    margin-top: 0;
    margin-bottom: 24px;
}

/* Video container */
.project-video__embed {
    position: relative;
    width: 100%;
    max-width: none !important;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0f172a;
    border: 1px solid #dbe3ec;
    border-radius: 12px;
}

/* YouTube iframe */
.project-video__embed iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
}

/* Mobile */
@media (max-width: 768px) {
    .project-video {
        margin-top: 40px;
        max-width: none !important;
    }

    .project-video__embed {
        width: 100%;
        max-width: none !important;
        aspect-ratio: 16 / 9;
        border-radius: 10px;
    }
}

/* =========================================================
   HERO IDENTITY LINK
   ========================================================= */

.hero__identity-link {
	color: var(--cyan);
	font-weight: 700;
	text-decoration: none;
	border-bottom: 2px solid rgba(8, 145, 178, .25);
	transition:
		color .2s ease,
		border-color .2s ease;
}

.hero__identity-link:hover {
	color: var(--ink);
	border-color: var(--ink);
}

/* =========================================================
   FOOTER LINK GRID
   ========================================================= */

.footer-links--grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 32px;
	row-gap: 12px;
}


/* =========================================================
   RUANG IDE
   Visual refinement
========================================================= */

/* Jarak label section dengan konten di bawahnya */
.idea-single .idea-section-label {
	margin-bottom: 34px;
}

/* Jarak heading dengan isi box */
.idea-single .detail-box h2 {
	margin-bottom: 14px;
}

/* Heading setelah label section tidak perlu margin atas */
.idea-single .detail-box > h2:first-child {
	margin-top: 0;
}

/* Isi detail box */
.idea-single .detail-box > div,
.idea-single .detail-box > p,
.idea-single .detail-box > ul {
	margin-top: 0;
}

/* Spacing antar section utama */
.idea-single .idea-section {
	margin-top: 56px;
}

/* Jangan menambah margin pada section pertama */
.idea-single .single-content > .idea-section:first-child {
	margin-top: 0;
}

/* Spesifikasi awal menggunakan gaya list yang sama dengan Komponen */
.idea-single .idea-spec-list {
	margin: 0;
	padding-left: 20px;
}

.idea-single .idea-spec-list li {
	margin-bottom: 8px;
}

.idea-single .idea-spec-list li:last-child {
	margin-bottom: 0;
}

/* =========================================================
   RUANG IDE — ESTIMASI BIAYA
========================================================= */

.idea-cost-box {
    grid-column: 1 / -1;
}

.idea-cost-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.idea-cost-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}

.idea-cost-table th,
.idea-cost-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: middle;
}

.idea-cost-table th {
    font-weight: 600;
}

.idea-cost-table th:not(:first-child),
.idea-cost-table td:not(:first-child) {
    text-align: right;
}

.idea-cost-table tfoot th {
    padding-top: 16px;
    border-bottom: 0;
    font-weight: 700;
}

.idea-cost-table tfoot th:first-child {
    text-align: right;
}

.idea-cost-table tfoot th:last-child {
    font-size: 18px;
}

.idea-next-step-box {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 18px;
}

/* =========================================================
   RUANG IDE — ESTIMASI BIAYA MOBILE
========================================================= */

@media (max-width: 768px) {
    
    /* Mencegah isi single-content memaksa layout melebar */
.idea-single .single-layout,
.idea-single .single-content,
.idea-single .detail-box,
.idea-single .detail-grid,
.idea-single .idea-cost-box,
.idea-single .idea-cost-table-wrap {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

    .idea-cost-table-wrap {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .idea-cost-table {
        width: 100%;
        min-width: 0;
        table-layout: fixed;
    }

    .idea-cost-table th,
    .idea-cost-table td {
        padding: 10px 8px;
        font-size: 14px;
    }

    /* Komponen */
    .idea-cost-table th:first-child,
    .idea-cost-table td:first-child {
        width: 42%;
        text-align: left;
        overflow-wrap: anywhere;
    }

    /* Harga */
    .idea-cost-table th:nth-child(2),
    .idea-cost-table td:nth-child(2) {
        width: 21%;
        white-space: nowrap;
    }

    /* Jumlah */
    .idea-cost-table th:nth-child(3),
    .idea-cost-table td:nth-child(3) {
        width: 14%;
        white-space: nowrap;
        text-align: center;
    }

    /* Subtotal */
    .idea-cost-table th:nth-child(4),
    .idea-cost-table td:nth-child(4) {
        width: 23%;
        white-space: nowrap;
    }

    .idea-cost-table tfoot th:last-child {
        font-size: 15px;
    }
}

/* =========================================
   LAB PAGE
   ========================================= */

.lab-page {
    padding-bottom: 80px;
}

.lab-hero {
    padding: 70px 0 40px;
}

.lab-hero h1 {
    margin: 0 0 16px;
}

.lab-hero p {
    max-width: 680px;
    margin: 0;
    line-height: 1.7;
}

.lab-categories {
    padding: 20px 0 60px;
}

.lab-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.lab-card {
    display: block;
    padding: 32px;
    border: 1px solid var(--border-color, #e5e5e5);
    border-radius: 12px;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.lab-card h2 {
    margin: 0 0 12px;
}

.lab-card p {
    margin: 0;
    line-height: 1.6;
}

.lab-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Mobile */

@media (max-width: 768px) {

    .lab-hero {
        padding: 50px 0 30px;
    }

    .lab-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .lab-card {
        padding: 24px;
    }

}