/* Blok Divider — dipakai saat user pilih warna sendiri lewat page-builder.
   Bootstrap's reboot mengatur `hr { opacity: .25 }` lewat element selector
   (bukan inline), supaya garis defaultnya subtle. Itu tidak bisa ditimpa lewat
   inline style="opacity:1" karena HtmlSanitizer membuang properti `opacity`
   inline (lihat app/Helpers/HtmlSanitizer.php) — jadi resetnya lewat class ini,
   yang di-generate page-builder.js (renderHtml()) hanya saat warna diisi. */
hr.bk-hr-custom {
    opacity: 1;
}

/* ── Divider v2 (page-builder.js renderBlock 'divider') ─────────────────────
   Struktur: .bk-dv.bk-dv-{gaya}.bk-dv-a-{start|center|end} > .bk-dv-in (lebar %).
   Warna = `color` inline pada .bk-dv (currentColor), kosong = abu-abu netral.
   Gaya polos solid/dashed/dotted tetap <hr> (markup lama). */
.bk-dv { display: flex; color: #d0d5dd; }
.bk-dv-a-start  { justify-content: flex-start; }
.bk-dv-a-center { justify-content: center; }
.bk-dv-a-end    { justify-content: flex-end; }
.bk-dv-in { display: flex; align-items: center; gap: 16px; min-width: 0; max-width: 100%; }
.bk-dv .bk-dv-line { flex: 1 1 0; min-width: 24px; height: 0; border-top-color: currentColor; }

/* Garis ganda */
.bk-dv-double .bk-dv-line { border-top-style: solid; position: relative; height: 0; }
.bk-dv-double .bk-dv-line::after {
    content: ""; position: absolute; left: 0; right: 0; top: 3px;
    border-top: inherit;
}
.bk-dv-double .bk-dv-in { padding-bottom: 4px; }

/* Bentuk: gradien memudar, gelombang, zigzag */
.bk-dv .bk-dv-shape { display: block; flex: 1 1 auto; width: 100%; }
.bk-dv-gradient .bk-dv-shape { background: linear-gradient(90deg, transparent, currentColor 20%, currentColor 80%, transparent); border-radius: 99px; }
.bk-dv-a-start.bk-dv-gradient .bk-dv-shape { background: linear-gradient(90deg, currentColor, transparent); }
.bk-dv-a-end.bk-dv-gradient .bk-dv-shape   { background: linear-gradient(270deg, currentColor, transparent); }
.bk-dv-wave .bk-dv-shape,
.bk-dv-zigzag .bk-dv-shape {
    background: currentColor;
    -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
    -webkit-mask-size: auto 100%; mask-size: auto 100%;
}
.bk-dv-wave .bk-dv-shape {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 8'%3E%3Cpath d='M0 4 Q6 -1 12 4 T24 4' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 8'%3E%3Cpath d='M0 4 Q6 -1 12 4 T24 4' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E");
}
.bk-dv-zigzag .bk-dv-shape {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8'%3E%3Cpath d='M0 7 L8 1 L16 7' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8'%3E%3Cpath d='M0 7 L8 1 L16 7' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Titik tiga */
.bk-dv-dots .bk-dv-in { justify-content: center; gap: 14px; }
.bk-dv-dots.bk-dv-a-start .bk-dv-in { justify-content: flex-start; }
.bk-dv-dots.bk-dv-a-end .bk-dv-in   { justify-content: flex-end; }
.bk-dv-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.bk-dv-dot:nth-child(2) { width: 9px; height: 9px; }

/* Teks di tengah */
.bk-dv-label {
    flex: 0 1 auto; color: #667085; font-size: 13px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; text-align: center;
}
.bk-dv-l-pill    { padding: 6px 16px; border-radius: 99px; background: #f2f4f7; }
.bk-dv-l-outline { padding: 5px 15px; border-radius: 99px; border: 1px solid currentColor; }
.bk-dv-a-start.bk-dv-text .bk-dv-line:first-child,
.bk-dv-a-end.bk-dv-text   .bk-dv-line:last-child { flex: 0 0 24px; }

/* Ikon di tengah — warna ikon mengikuti warna tema */
.bk-dv-ico { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; color: var(--main-color, #b30202); font-size: 18px; line-height: 1; }
.bk-dv-i-circle  { width: 44px; height: 44px; border-radius: 50%; background: color-mix(in srgb, var(--main-color, #b30202) 10%, #fff); }
.bk-dv-i-outline { width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; }
.bk-dv-ico .bi { line-height: 1; }

/* Spasi dengan tinggi berbeda di HP */
.bk-dv-sp-m { display: none; }
@media (max-width: 767.98px) {
    .bk-dv-sp-d { display: none; }
    .bk-dv-sp-m { display: block; }
}
