/* Bagikan ke Instagram / TikTok & Bukti Publikasi */
/* Tombol ringkas. Ukuran px (tidak ikut font tema); tata letak mengikuti lebar kolom artikel:
   sempit = bertumpuk, sedang = 3 kotak (ikon di atas), lebar = 3 tombol mendatar. */
.rks { margin: 1.8em 0 1.4em; font-family: inherit; container-type: inline-size; }
.rks .rks-h { margin: 0 0 10px !important; font-weight: 800; font-size: 16px; line-height: 1.3; }
.rks-row { display: grid; grid-template-columns: 1fr; gap: 8px; }
.rks .rks-card { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 54px; padding: 7px 12px 7px 7px; border-radius: 12px; color: #fff; text-decoration: none !important; box-shadow: 0 3px 10px rgba(15,23,42,.08); transition: transform .15s, box-shadow .15s; overflow: hidden; line-height: 1.25; font-family: inherit; }
.rks .rks-card:hover, .rks .rks-card:focus-visible { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(15,23,42,.15); }
.rks .rks-ic { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; }
.rks .rks-ic svg { width: 22px; height: 22px; }
.rks .rks-t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.rks .rks-t b { font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rks .rks-t span { font-size: 12.5px; opacity: .88; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rks .rks-ig { background: linear-gradient(100deg, #4f5bd5 0%, #8a3ab9 30%, #d62976 62%, #fa7e1e 100%); }
.rks .rks-ig .rks-ic { background: rgba(255,255,255,.2); border: 1.5px solid rgba(255,255,255,.45); }
.rks .rks-tt { background: #111214; }
.rks .rks-tt .rks-ic { background: #111214; box-shadow: -2px -1.5px 0 #25f4ee, 2px 1.5px 0 #fe2c55; border: 1px solid #2a2b2e; }
.rks .rks-doc { background: #fff !important; color: #0f172a !important; border: 1.5px solid #f6c9cc; box-shadow: none !important; }
.rks .rks-doc:hover { border-color: #f04b55; }
.rks .rks-doc .rks-ic { background: #fff1f2; }
.rks .rks-doc .rks-ic svg { width: 28px; height: 28px; }
.rks .rks-doc .rks-t span { color: #5b6475; opacity: 1; }
@container (min-width: 420px) {
	.rks-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rks .rks-card { flex-direction: column; justify-content: center; text-align: center; gap: 6px; padding: 12px 8px; }
	.rks .rks-t { align-items: center; max-width: 100%; }
}
@container (min-width: 660px) {
	.rks .rks-card { flex-direction: row; justify-content: flex-start; text-align: left; gap: 10px; padding: 7px 12px 7px 7px; }
	.rks .rks-t { align-items: flex-start; }
}

.rks-modal { position: fixed; inset: 0; z-index: 2147483000; background: rgba(15,23,42,.6); display: flex; align-items: flex-end; justify-content: center; font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.rks-modal[hidden] { display: none; }
.rks-dlg { position: relative; width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; background: #fff; color: #1f2937; border-radius: 22px 22px 0 0; padding: 22px 20px 26px; box-shadow: 0 -10px 40px rgba(0,0,0,.25); }
@media (min-width: 640px) { .rks-modal { align-items: center; } .rks-dlg { border-radius: 22px; } }
.rks-x { all: unset; cursor: pointer; position: absolute; right: 14px; top: 10px; font-size: 30px; line-height: 1; color: #64748b; padding: 6px 10px; }
.rks-k { margin: 0 0 2px !important; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #64748b; }
.rks-dlg h3 { margin: 0 0 14px !important; font-size: 19px; line-height: 1.3; color: #0f172a; }
.rks .rks-opt, .rks-dlg .rks-opt { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 14px 16px; margin-bottom: 10px; border: 1.5px solid #e3e7ee; border-radius: 14px; }
.rks-dlg .rks-opt:hover { border-color: #d62976; background: #fff6fa; }
.rks-dlg .rks-opt b { font-size: 16px; color: #0f172a; }
.rks-dlg .rks-opt span { font-size: 13.5px; color: #64748b; }
.rks-load { height: 6px; border-radius: 9px; background: #eef1f5; overflow: hidden; }
.rks-load i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, #8a3ab9, #fa7e1e); border-radius: 9px; animation: rks-run 1.1s infinite ease-in-out; }
@keyframes rks-run { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
.rks-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 0 0 14px; }
.rks-strip a { position: relative; display: block; border-radius: 8px; overflow: hidden; background: #eef1f5; aspect-ratio: 4 / 5; }
.rks-strip.is-tall a { aspect-ratio: 9 / 16; }
.rks-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rks-strip span { position: absolute; right: 4px; bottom: 4px; font-size: 11px; font-weight: 800; background: rgba(0,0,0,.6); color: #fff; border-radius: 6px; padding: 1px 6px; }
.rks-cap-l { display: block; font-size: 13px; font-weight: 700; margin: 0 0 6px; }
.rks-cap { width: 100%; box-sizing: border-box; border: 1.5px solid #e3e7ee; border-radius: 12px; padding: 10px 12px; font: 13.5px/1.5 inherit; font-family: inherit; color: #1f2937; resize: vertical; }
.rks-acts { display: grid; gap: 8px; margin: 12px 0 10px; }
.rks-dlg .rks-btn { all: unset; box-sizing: border-box; cursor: pointer; text-align: center; padding: 13px 16px; border-radius: 12px; font-weight: 800; font-size: 15px; background: #0f172a; color: #fff; }
.rks-dlg .rks-btn.is-line { background: #fff; color: #0f172a; border: 1.5px solid #cbd5e1; }
.rks-tips { margin: 6px 0 0 !important; padding-left: 20px !important; font-size: 13px; color: #475569; line-height: 1.55; }
.rks-tips li { margin: 0 0 4px; }
