/* =====================================================================
   TEMA SOLID MINIMAL — website pengunjung (26 Nov 2026)
   ---------------------------------------------------------------------
   Permintaan pengelola: latar putih diganti warna solid yang minimal.
   Latar bagian = biru tua CDP, kartu tetap putih supaya isi mudah dibaca.

   Berkas ini dimuat PALING AKHIR di <head> setiap halaman publik, jadi
   cukup berkas ini yang diubah. Untuk kembali ke tampilan putih lama:
   hapus / ganti nama berkas ini (halaman tetap jalan tanpa berkas ini).

   Warna diatur di :root di bawah — ganti di satu tempat, semua ikut.
   ===================================================================== */

:root{
  --solid-latar:   #0e2a4f;   /* latar semua bagian */
  --solid-garis:   rgba(255,255,255,.08);
  --solid-judul:   #ffffff;
  --solid-teks:    rgba(255,255,255,.74);
  --solid-label:   #f2c14e;   /* label kecil di atas judul (emas) */
}

/* ---------- Latar ---------- */
html body{ background:var(--solid-latar) !important; }

html body section.about-new,
html body section.stats-section,
html body section.news-home,
html body section.toko-home,
html body section.history,
html body section.masterplan,
html body section.facility,
html body section.news-filter,
html body section.featured-news,
html body section.latest-news,
html body section.important-news,
html body section.contact-section,
html body section.career-about,
html body section.career-benefit,
html body section.career-job,
html body section.career-process,
html body section.career-faq{
  background:var(--solid-latar) !important;
  background-image:none !important;
}

/* Tanpa garis pemisah antarbagian - latar menyatu polos (26 Nov 2026, garis tipis dinilai jelek). */

/* ---------- Judul & teks yang langsung di atas latar ---------- */
html body section .section-title h2,
html body section .history-title h2,
html body .about-new .about-text h2,
html body .career-about .about-content h2,
html body .contact-section > .container > h2,
html body .gallery-title h2{
  color:var(--solid-judul) !important;
}

html body section .section-title p,
html body section .history-title p,
html body .history .history-text p,
html body .about-new .about-text p,
html body .career-about .about-content p,
html body .gallery-title p{
  color:var(--solid-teks) !important;
}

html body section .section-title > span,
html body section .history-title > span,
html body .about-new .about-text > span,
html body .career-about .about-content > span{
  color:var(--solid-label) !important;
}

/* Halaman baca berita & halaman yang tanpa <section>. */
html body .baca-kosong h1,
html body .baca-lain h3{ color:var(--solid-judul) !important; }
html body .baca-kosong p{ color:var(--solid-teks) !important; }
html body .baca-kembali{ color:var(--solid-label) !important; }

/* ---------- CDP SHOP (lapak.php) ---------- */
html body section.olx-atas,
html body section.olx-isi{ background:var(--solid-latar) !important; background-image:none !important; }
html body .olx-atas h1{ color:var(--solid-judul) !important; }
html body .olx-atas .olx-remah,
html body .olx-atas .olx-remah a{ color:var(--solid-teks) !important; }
html body .olx-isi .olx-jumlah,
html body .olx-isi .olx-urut{ color:var(--solid-teks) !important; }
html body .olx-isi .olx-jumlah b{ color:var(--solid-judul) !important; }

/* ---------- Rincian iklan CDP SHOP (lapak_detail.php) ---------- */
html body section.unit-atas,
html body section.unit-galeri,
html body section.unit-isi,
html body section.unit-lain{ background:var(--solid-latar) !important; background-image:none !important; }
html body .unit-atas h1{ color:var(--solid-judul) !important; }
html body .unit-atas .unit-balik,
html body .unit-atas .unit-kode{ color:var(--solid-teks) !important; }
html body .unit-lain .unit-lain-kepala h2{ color:var(--solid-judul) !important; }
html body .unit-lain .unit-lain-kepala a{ color:var(--solid-label) !important; }
/* Blok keterangan dulu menumpang latar putih halaman — sekarang jadi kartu putih sendiri. */
html body .unit-isi .unit-blok{ background:#fff; border-radius:14px; padding:20px 22px; margin-bottom:16px; }

/* ---------- Pudar di bawah video hero beranda ---------- */
/* Dulu memudar ke PUTIH; sekarang ke biru tua latar supaya menyambung mulus.
   Kurvanya sama persis dengan aslinya di index.php (.hero-lembut). */
html body .hero-lembut{
  background:linear-gradient(to bottom,
             rgba(14,42,79,0)    0%,
             rgba(14,42,79,0)    40%,
             rgba(14,42,79,.01)  45%,
             rgba(14,42,79,.03)  50%,
             rgba(14,42,79,.07)  55%,
             rgba(14,42,79,.13)  60%,
             rgba(14,42,79,.21)  65%,
             rgba(14,42,79,.31)  70%,
             rgba(14,42,79,.43)  75%,
             rgba(14,42,79,.56)  80%,
             rgba(14,42,79,.69)  85%,
             rgba(14,42,79,.82)  90%,
             rgba(14,42,79,.93)  95%,
             rgba(14,42,79,.98)  98%,
             #0e2a4f             100%) !important;
}

/* ---------- Hero tanpa lapisan gelap: Kontak & Fasilitas ---------- */
/* Tulisan putih langsung di atas foto gedung yang terang sehingga tidak terbaca.
   Diberi lapisan biru tua dari kiri (sama dengan hero beranda / tentang / karir)
   plus bayangan tipis pada tulisan. Foto di sisi kanan tetap terang. */
html body .hero-kontak{ position:relative; }
html body .hero-kontak::before,
html body .hero-fasilitas > .overlay{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:linear-gradient(90deg,
             rgba(7,33,71,.85) 0%,
             rgba(7,33,71,.72) 30%,
             rgba(7,33,71,.38) 62%,
             rgba(7,33,71,.10) 100%) !important;
}
html body .hero-kontak > .container,
html body .hero-fasilitas > .container{ position:relative; z-index:1; }
html body .hero-kontak h1,
html body .hero-kontak p,
html body .hero-fasilitas h1,
html body .hero-fasilitas p,
html body .hero-fasilitas .hero-content span{ text-shadow:0 2px 12px rgba(0,0,0,.45); }

/* ---------- Tombol login di bilah menu (layar lebar) ---------- */
/* Dulu pil hijau 12px x 28px — terlalu besar untuk sebuah ikon. Jadi bulatan 38px.
   HANYA layar >= 992px: di bawah itu style.css menyembunyikan tombol ini (display:none),
   jangan ditimpa - kalau tidak, di HP muncul DUA tombol login.
   Tombol login versi HP (.mobile-login) tidak disentuh. */
@media (min-width:992px){
  html body .btn-login.desktop-login{
    width:38px; height:38px; padding:0 !important;
    display:inline-flex; align-items:center; justify-content:center;
    border-radius:50%; font-size:15px; line-height:1;
  }
}

/* ---------- Halaman baca berita (baca_berita.php) ---------- */
/* Latar ikut biru tua, jadi WARNA TULISANNYA yang diterangkan (27 Nov 2026). */
html body .baca-meta{ color:var(--solid-teks) !important; }
html body .baca-meta i{ color:var(--solid-label); }
html body .baca-judul{ color:var(--solid-judul) !important; }
html body .baca-ringkas{ color:rgba(255,255,255,.9) !important; border-left-color:var(--solid-label) !important; }
html body .baca-isi,
html body .baca-isi p,
html body .baca-isi li,
html body .baca-isi blockquote{ color:rgba(255,255,255,.86) !important; }
html body .baca-isi h2,
html body .baca-isi h3,
html body .baca-isi h4,
html body .baca-isi strong,
html body .baca-isi b{ color:#fff !important; }
html body .baca-isi a{ color:var(--solid-label) !important; }
html body .baca-lain{ border-top-color:rgba(255,255,255,.12) !important; }
html body .baca-lain strong{ color:var(--solid-judul) !important; }
html body .baca-lain small{ color:var(--solid-teks) !important; }
html body .baca-lain a:hover{ background:rgba(255,255,255,.07) !important; }

/* ---------- Hero halaman Karir (karir.php) ---------- */
/* Fotonya (images/career-bg.jpg) tidak ada, jadi yang tampil hanya bidang biru setinggi
   satu layar penuh. Diganti foto tim (images/karir.png), tingginya disamakan dengan hero
   halaman lain, isinya ditengahkan, tombol tidak lagi terlipat dua baris. (27 Nov 2026) */
html body .career-hero{
  min-height:560px !important;
  padding:120px 0 70px;
  /* Fotonya diatur di Panel Konten > Karir (hero_foto), ditempel di style section. */
  background-position:center 30% !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
}
html body .career-hero::before{
  background:linear-gradient(90deg, rgba(7,33,71,.86) 0%, rgba(7,33,71,.72) 45%, rgba(7,33,71,.55) 100%) !important;
}
html body .career-hero .hero-content{ margin:0 auto; }
html body .career-hero .hero-content h1{ font-size:48px; }
html body .career-hero .hero-button a{ white-space:nowrap; }
@media (max-width:768px){
  html body .career-hero{ min-height:460px !important; padding:110px 0 50px; }
  html body .career-hero .hero-content h1{ font-size:32px; }
}

/* ---------- Berita terbaru di HP (Berita.php .news-grid) ---------- */
/* Di HP dua kartu sempit berdampingan jadi sangat panjang. Diganti kartu mendatar:
   foto kecil di kiri, tanggal + judul + ringkasan 2 baris di kanan. (27 Nov 2026) */
@media (max-width:768px){
  html body .latest-news .news-grid{ grid-template-columns:1fr; gap:14px; margin-top:28px; }
  html body .latest-news .news-card{ display:flex; align-items:stretch; border-radius:16px; }
  html body .latest-news .news-card:hover{ transform:none; }
  html body .latest-news .news-image{ flex:0 0 112px; width:112px; height:auto; min-height:130px; }
  html body .latest-news .news-content{ padding:14px 15px 14px; min-width:0; display:flex; flex-direction:column; }
  html body .latest-news .news-date{ font-size:11.5px; margin-bottom:6px; line-height:1.4; }
  html body .latest-news .news-content h3{
    font-size:15.5px; line-height:1.35; margin-bottom:6px;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  }
  html body .latest-news .news-content p{
    font-size:13px; line-height:1.55; margin-bottom:8px;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  }
  html body .latest-news .read-more{ font-size:13px; margin-top:auto; }
  html body section.latest-news{ padding-top:56px !important; padding-bottom:56px !important; }
  html body .latest-news .section-title h2{ font-size:30px; margin:10px 0; }
  html body .latest-news .section-title p{ font-size:14px; line-height:1.65; }
}

/* ---------- Pengumuman penting di HP (Berita.php .important-grid) ---------- */
/* Di HP dua kartu berdampingan membuat judul terpotong ("Lift Mainte..."). Jadi satu
   kolom, ikon & huruf diperkecil, judul boleh dua baris utuh. (27 Nov 2026) */
@media (max-width:768px){
  html body section.important-news{ padding-top:56px !important; padding-bottom:56px !important; }
  html body .important-news .section-title h2{ font-size:30px; margin:10px 0; }
  html body .important-news .section-title p{ font-size:14px; line-height:1.65; }
  html body .important-grid{ grid-template-columns:1fr; gap:12px; margin-top:28px; }
  html body .important-card{ padding:16px 18px; gap:14px; border-radius:16px; }
  html body .important-card > div:last-child{ min-width:0; }
  html body .important-icon{ width:48px; height:48px; min-width:48px; }
  html body .important-icon i{ font-size:20px; }
  html body .important-card h3{ font-size:16px; line-height:1.35; margin-bottom:4px; }
  html body .important-card span{ font-size:13px; }
}
