/* ==========================================================================
   Mebel Minimalis Bandung — gaya situs statis
   Identitas lama dipertahankan: header/footer gelap + aksen oranye #d28119,
   isi artikel dibuat terang agar mudah dibaca dan aman dengan gaya lama.
   ========================================================================== */

:root {
  --orange: #d28119;
  --orange-dark: #b06a10;
  --orange-soft: #fdf3e6;
  --dark: #232323;
  --dark-2: #2b2b2b;
  --dark-3: #171717;
  --ink: #1f2023;
  --ink-2: #4a4f57;
  --muted: #767c85;
  --line: #e5e2dd;
  --bg: #f6f5f3;
  --card: #ffffff;
  --wa: #25d366;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(20, 18, 14, .06), 0 8px 24px rgba(20, 18, 14, .07);
  --shadow-lg: 0 12px 40px rgba(20, 18, 14, .16);
  --wrap: 1180px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.7;
}

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

a { color: var(--orange-dark); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--dark);
  color: #fff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .22);
}

.header-top {
  display: flex; align-items: center; gap: 16px;
  min-height: 68px; padding: 10px 18px;
  max-width: var(--wrap); margin: 0 auto;
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; margin-right: auto; }

.brand-mark {
  width: 40px; height: 40px; flex: 0 0 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--orange), #a95f0b);
  color: #fff; font-weight: 800; font-size: 17px; letter-spacing: .5px;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 16.5px; letter-spacing: .2px; }
.brand-name span { color: var(--orange); }
.brand-sub { font-size: 11.5px; color: #b8b3ab; letter-spacing: .6px; text-transform: uppercase; }

.header-search { position: relative; flex: 0 1 300px; }
.header-search input {
  width: 100%; padding: 10px 14px 10px 38px;
  border: 1px solid #3d3d3d; border-radius: 999px;
  background: #191919; color: #fff; font: inherit; font-size: 14.5px;
}
.header-search input::placeholder { color: #8b8781; }
.header-search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); opacity: .6; }

.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--wa); color: #06210f; font-weight: 700; font-size: 14.5px;
  text-decoration: none; white-space: nowrap;
}
.header-cta:hover { filter: brightness(1.06); }

.nav-toggle {
  display: none; width: 42px; height: 42px;
  border: 1px solid #3d3d3d; border-radius: 10px;
  background: #191919; color: #fff; cursor: pointer;
}

.site-nav { background: var(--dark-2); border-top: 1px solid #343434; }
.site-nav ul {
  display: flex; flex-wrap: wrap; gap: 2px;
  margin: 0 auto; padding: 0 8px; list-style: none;
  max-width: var(--wrap);
}
.site-nav a {
  display: block; padding: 11px 14px;
  color: #ded9d1; text-decoration: none;
  font-size: 14.5px; font-weight: 600; letter-spacing: .2px;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { color: #fff; background: #333; }
.site-nav a.is-active { color: var(--orange); border-bottom-color: var(--orange); }

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(900px 380px at 82% -10%, rgba(210, 129, 25, .30), transparent 62%),
    linear-gradient(160deg, #2b2b2b, #191919);
  color: #fff;
  padding: 58px 0 62px;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(27px, 4.6vw, 44px);
  line-height: 1.18; letter-spacing: -.4px;
}
.hero h1 span { color: var(--orange); }
.hero p { margin: 0 0 26px; max-width: 640px; color: #ccc7bf; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 700; font-size: 15.5px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-wa { background: var(--wa); color: #06210f; }
.btn-orange { background: var(--orange); color: #1b1204; }
.btn-ghost { background: transparent; color: #fff; border-color: #56534e; }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); }

.hero-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 38px; }
.hero-stats div strong { display: block; font-size: 25px; color: var(--orange); line-height: 1.2; }
.hero-stats div span { font-size: 13.5px; color: #b3aea6; }

/* ---------- Bagian umum ---------- */

.section { padding: 46px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { margin: 0; font-size: clamp(20px, 3vw, 27px); letter-spacing: -.3px; }
.section-head p { margin: 5px 0 0; color: var(--muted); font-size: 14.5px; }
.section-head a { font-weight: 700; font-size: 14.5px; text-decoration: none; white-space: nowrap; }
.section-head a:hover { text-decoration: underline; }

/* ---------- Kartu ---------- */

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); }

.card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d8d3cb; }

.card-media { position: relative; aspect-ratio: 4 / 3; background: #ece9e4; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-media .tag {
  position: absolute; left: 10px; top: 10px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(24, 20, 14, .82); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
}
.card-body { padding: 13px 15px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card-body h3 {
  margin: 0; font-size: 15.5px; line-height: 1.4; font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card:hover .card-body h3 { color: var(--orange-dark); }
.card-meta { margin-top: auto; font-size: 12.5px; color: var(--muted); }

/* kartu kategori */
.cat-card .card-media { aspect-ratio: 16 / 10; }
.cat-card .card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15, 12, 8, .82), rgba(15, 12, 8, .05) 62%);
}
.cat-card .cat-label {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; color: #fff;
}
.cat-card .cat-label strong { display: block; font-size: 15.5px; line-height: 1.3; }
.cat-card .cat-label span { font-size: 12.5px; color: #d9d4cc; }

/* ---------- Chip kategori ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  font-size: 14px; font-weight: 600; text-decoration: none;
}
.chip:hover { border-color: var(--orange); color: var(--orange-dark); background: var(--orange-soft); }
.chip b { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.chip:hover b { color: var(--orange-dark); }
.hero .chip { background: rgba(255, 255, 255, .07); border-color: #4a4741; color: #e7e3dd; }
.hero .chip:hover { background: var(--orange); border-color: var(--orange); color: #1b1204; }
.hero .chip b { color: #b0aba3; }

/* ---------- Artikel ---------- */

.page-head { background: var(--dark); color: #fff; padding: 30px 0 34px; }
.page-head h1 { margin: 8px 0 0; font-size: clamp(22px, 3.6vw, 33px); line-height: 1.25; letter-spacing: -.3px; }
.page-head p { margin: 10px 0 0; color: #c2bdb5; max-width: 700px; }
.page-head .post-meta { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.page-head .post-meta time { color: #b3aea6; font-size: 13.5px; margin-right: 4px; }
.page-head .post-meta a {
  padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  background: rgba(210, 129, 25, .18); color: #f0b463; text-decoration: none;
}
.page-head .post-meta a:hover { background: var(--orange); color: #1b1204; }

.crumbs { font-size: 13px; color: #a29d95; }
.crumbs a { color: #cfcac2; text-decoration: none; }
.crumbs a:hover { color: var(--orange); }
.crumbs span { margin: 0 7px; opacity: .5; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; align-items: start; padding: 30px 0 10px; }

.article {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 32px 34px;
  box-shadow: var(--shadow);
  overflow-wrap: break-word;
}

/* isi asli dari Blogger */
.post-content { font-size: 16.5px; }
.post-content h1 { font-size: 26px; }
.post-content h2 { font-size: 22px; margin-top: 1.7em; }
.post-content h3 { font-size: 18.5px; margin-top: 1.5em; }
.post-content h1, .post-content h2, .post-content h3, .post-content h4 { line-height: 1.3; color: var(--ink); }
.post-content img { border-radius: var(--radius-sm); display: block; margin: 6px auto; height: auto; }
.post-content a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 2px; }
.post-content a:hover { color: var(--orange); }
.post-content ul, .post-content ol { padding-left: 24px; }
.post-content li { margin: 6px 0; }
.post-content hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.post-content blockquote {
  margin: 22px 0; padding: 14px 20px;
  border-left: 4px solid var(--orange); background: var(--orange-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink-2);
}
.post-content .table-wrap { overflow-x: auto; margin: 20px 0; -webkit-overflow-scrolling: touch; }
.post-content table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: 15px; }
.post-content th, .post-content td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; }
.post-content th { background: #faf8f5; font-weight: 700; }
.post-content iframe { max-width: 100%; border-radius: var(--radius-sm); }
.post-content .separator a { display: inline-block; }

.video-embed { position: relative; aspect-ratio: 16 / 9; margin: 20px 0; border-radius: var(--radius-sm); overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ajakan hubungi di dalam artikel */
.cta-box {
  margin-top: 34px; padding: 24px 26px;
  background: linear-gradient(150deg, #2b2b2b, #1b1b1b);
  border-radius: var(--radius); color: #fff;
}
.cta-box h3 { margin: 0 0 8px; font-size: 20px; }
.cta-box h3 span { color: var(--orange); }
.cta-box p { margin: 0 0 18px; color: #c5c0b8; font-size: 15px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 11px; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.post-nav a {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 17px; text-decoration: none; color: inherit;
}
.post-nav a:hover { border-color: var(--orange); }
.post-nav span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin-bottom: 4px; }
.post-nav strong { font-size: 14.5px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-nav .next { text-align: right; }

/* ---------- Sidebar ---------- */

.sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 130px; }
.widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 19px; }
.widget h3 {
  margin: 0 0 13px; font-size: 14px; text-transform: uppercase; letter-spacing: .7px;
  color: var(--ink); padding-bottom: 10px; border-bottom: 2px solid var(--orange);
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li + li { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.widget a { color: var(--ink); text-decoration: none; font-size: 14.5px; line-height: 1.45; }
.widget a:hover { color: var(--orange-dark); }
.widget-dark { background: var(--dark-2); border-color: var(--dark-2); color: #ddd8d0; }
.widget-dark h3 { color: #fff; }
.widget-dark p { margin: 0 0 12px; font-size: 14.5px; color: #c3beb6; }
.widget-contact li { font-size: 14.5px; }
.widget-contact strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }

.mini-post { display: flex; gap: 11px; align-items: flex-start; }
.mini-post img { width: 62px; height: 52px; object-fit: cover; border-radius: 7px; flex: 0 0 62px; background: #ece9e4; }

/* ---------- Daftar isi / kategori ---------- */

.toc-year { margin-bottom: 30px; }
.toc-year h2 {
  margin: 0 0 12px; font-size: 20px;
  display: inline-flex; align-items: center; gap: 10px;
}
.toc-year h2 b { font-size: 12.5px; font-weight: 700; color: var(--orange-dark); background: var(--orange-soft); padding: 3px 10px; border-radius: 999px; }
.toc-list { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.toc-list li + li { border-top: 1px solid var(--line); }
.toc-list a { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; padding: 12px 17px; text-decoration: none; color: var(--ink); font-size: 15px; }
.toc-list a:hover { background: var(--orange-soft); color: var(--orange-dark); }
.toc-list time { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

/* ---------- Pencarian ---------- */

.search-box { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.search-box input {
  flex: 1 1 260px; padding: 14px 18px; font: inherit; font-size: 16px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
}
#search-count { color: var(--muted); font-size: 14px; margin: 14px 0 20px; }

/* ---------- Kontak ---------- */

.contact-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.contact-card h3 { margin: 0 0 10px; font-size: 17px; }
.contact-card p { margin: 0 0 6px; color: var(--ink-2); font-size: 15px; }
.contact-card .big { font-size: 21px; font-weight: 800; color: var(--orange-dark); letter-spacing: .3px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--dark-3); color: #b8b3ab; margin-top: 50px; padding: 44px 0 26px; font-size: 14.5px; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1.4fr 1fr 1fr; }
.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: 14px; text-transform: uppercase; letter-spacing: .7px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b8b3ab; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer .footer-brand p { margin: 0 0 14px; max-width: 380px; }
.footer-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid #2c2c2c; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 13px; color: #85807a; }

/* ---------- Tombol mengambang ---------- */

.floats { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.float-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow-lg); text-decoration: none;
  transition: transform .15s ease;
}
.float-btn:hover { transform: scale(1.07); }
.float-wa { background: var(--wa); }
.float-tel { background: var(--orange); }
.float-top { background: #3a3a3a; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .15s ease; }
.float-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Responsif ---------- */

@media (max-width: 1000px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-search { display: none; }
  .header-search.open {
    display: block; position: absolute; left: 12px; right: 12px; top: 66px;
    background: var(--dark); padding: 8px 0 12px;
  }
  .nav-toggle { display: block; }
  .header-cta span { display: none; }
  .header-cta { padding: 10px 12px; }
  .site-nav { display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 6px 8px 10px; }
  .site-nav a { border-bottom: 0; border-left: 3px solid transparent; border-radius: 8px; }
  .site-nav a.is-active { border-left-color: var(--orange); background: #333; }
  .hero { padding: 40px 0 44px; }
  .hero-stats { gap: 22px; }
  .article { padding: 22px 18px 26px; border-radius: 12px; }
  .grid { gap: 15px; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); }
  .card-body { padding: 11px 12px 14px; }
  .card-body h3 { font-size: 14px; }
  .post-nav { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .floats { right: 12px; bottom: 12px; }
  .float-btn { width: 50px; height: 50px; }
}

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

@media print {
  .site-header, .site-nav, .sidebar, .floats, .site-footer, .cta-box, .post-nav { display: none !important; }
  body { background: #fff; }
  .article { border: 0; box-shadow: none; padding: 0; }
}
