/* mdp-index.css — gaya khusus beranda (hero, da-slide, blockquote-box, ritme section).
   Token, tombol, navbar/footer, skip-link, focus ring ada di mdp-shared.css. */

/* ---- Kartu "Proses Produksi MDP" (beranda) ----
   12 kartu, grid 2 kolom. Sebelumnya 2 kolom Bootstrap biasa, sehingga
   tinggi kartu tidak seragam dan dasar tiap baris tidak rata.
   Grid + kartu flex kolom + margin-top:auto pada link → tiap baris rapi. */
.proses-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 767px) { .proses-grid { grid-template-columns: 1fr; } }

.proses-card {
  display: flex; flex-direction: column;
  background: var(--mdp-surface);
  border: 1px solid var(--mdp-border);
  border-left: 4px solid var(--mdp-red);
  border-radius: 4px;
  padding: 14px 16px 14px;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.proses-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.16); }
.proses-head { display: flex; align-items: flex-start; gap: 12px; }
.proses-thumb {
  flex: 0 0 72px; width: 72px; height: 72px;
  border-radius: 4px; overflow: hidden; background: var(--mdp-surface-2);
}
.proses-thumb img { width: 72px; height: 72px; object-fit: cover; display: block; }
.proses-meta { min-width: 0; }
.proses-tag {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mdp-red); margin-bottom: 2px;
}
.proses-card h4 {
  font-size: 15px; letter-spacing: .02em; font-weight: 700;
  color: var(--mdp-text-strong); margin: 0 0 8px;
}
.proses-card p {
  font-size: 14px; line-height: 1.55; color: var(--mdp-text);
  margin: 0 0 12px;
}
/* Link selalu di dasar kartu → semua kartu sejajar walau panjang teks beda */
.proses-card .proses-link { margin-top: auto; }
.proses-card .proses-link a {
  font-size: 13px; color: var(--mdp-link);
  text-decoration: underline; text-underline-offset: 3px;
}

/* Motif MDP: solid merah, no glass; alasan: brand hangat, fokus produk bukan efek */
#head { position: relative; }
#head::before { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(18,8,8,.78) 0%, rgba(18,8,8,.62) 100%); }
#head .container { position: relative; z-index: 1; }
.da-slide h2 { font-size: 38px; top: 24px; left: 6%; width: 56%; text-align: left; }
.da-slide p { top: 110px; left: 6%; width: 56%; text-align: left; font-size: 18px; }
.da-slide .da-img { left: 64%; width: 30%; top: 40px; }
.da-arrows, .da-dots { z-index: 3; }
.herotxt { position: relative; padding: 18px 0; }
.herotxt .container.sectionBox { padding-top: 18px; padding-bottom: 18px; }
.herotxt span { font-size: clamp(20px, 3.2vw, 28px); line-height: 1.25; margin-bottom: 6px; }
.herotxt p { font-size: 15px; line-height: 1.5; max-width: 720px; }
.herotxt .btn-download a { margin-top: 12px; padding: 10px 18px; font-size: 15px; }
.blockquote-box { display: table; width: 100%; border-left-width: 4px; border-top: 1px solid var(--mdp-border); border-right: 1px solid var(--mdp-border); border-bottom: 1px solid var(--mdp-border); background: var(--mdp-surface); border-radius: 4px; padding: 12px 14px 10px; transition: box-shadow .15s; }
.blockquote-box:hover { box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.blockquote-box .square { float: left !important; border: 0; background: #EEEBE8; border-radius: 4px; width: 72px; height: 72px; display: block; overflow: hidden; flex-shrink: 0; margin: 0 12px 6px 0; }
.blockquote-box .square img { width: 72px; height: 72px; object-fit: cover; display: block; }
.blockquote-box h4 { font-size: 15px; letter-spacing: .02em; color: var(--mdp-text-strong); margin-top: 6px; }
.blockquote-box p { font-size: 14px; line-height: 1.55; color: var(--mdp-text); overflow: hidden; }
.jumbotron.sectionBox { background: #EEEBE8; border-top: 1px solid #e0dcda; border-bottom: 1px solid #e0dcda; }
.highlight { border-left-color: var(--mdp-border); }
.highlight .h-caption h4 { color: var(--mdp-text-strong); }
.sectionBox { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.herotxt .btn-download a.btn-default { background: var(--mdp-yellow); color: var(--mdp-ink) !important; border: 1px solid #e6c400; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.herotxt .btn-download a.btn-default:hover { background: #ffe600; color: var(--mdp-ink) !important; }
.herotxt .btn-download a.btn-primary { background: var(--mdp-red) !important; color: #fff !important; border: 1px solid #9a2a2d; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.herotxt .btn-download a.btn-primary:hover { background: #9a2a2d !important; color: #fff !important; }
#head { padding-bottom: 10px; }
.jumbotron.sectionBox { padding-top: 36px; padding-bottom: 36px; }
section.sectionBox:last-of-type { padding-top: 40px; padding-bottom: 40px; }
@media (max-width: 991px) {
  .da-slide h2 { font-size: 30px; width: 58%; }
  .da-slide p { font-size: 16px; width: 58%; }
}
@media (max-width: 767px) {
  .navbar-inverse { min-height: 60px; padding-top: 8px; }
  .navbar-fixed-top { position: fixed; }
  .navbar-nav { margin: 0; }
  /* nav mobile (panel, tap target, submenu) ada di assets/css/style.css */
  #head { padding-top: 80px; min-height: 280px; }
  .da-slide h2, .da-slide p { left: 50%; transform: translateX(-50%); width: 90%; text-align: center; }
  .da-slide h2 { top: 18px; font-size: 26px; }
  .da-slide p { top: 100px; }
  .da-slide .da-img { display: none; }
  .herotxt .btn-download a { width: 100%; }
}
