/* ============================================================
   Information Corner (views/site/microsite/information-corner.php)
   ============================================================ */
.page-head { padding: 56px 0 8px; }
.page-head .section-title { font-size: clamp(30px, 4vw, 46px); }

.ic-bar {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
    margin: 32px 0 28px;
}
.segmented {
    display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line);
}
.segmented button {
    font: inherit; font-size: 14px; font-weight: 500; color: var(--muted);
    border: 0; background: none; padding: 9px 20px; border-radius: 999px; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px; transition: background .15s, color .15s;
}
.segmented button svg { width: 16px; height: 16px; }
.segmented button .count {
    font-size: 12px; padding: 1px 8px; border-radius: 99px; background: var(--bg); color: var(--muted);
}
.segmented button[aria-selected="true"] { background: var(--primary); color: #fff; }
.segmented button[aria-selected="true"] .count { background: rgba(255,255,255,.2); color: #fff; }

.search {
    position: relative; flex: 1 1 280px; max-width: 380px;
}
.search input {
    width: 100%; font: inherit; font-size: 14px; color: var(--ink);
    padding: 12px 16px 12px 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
}
.search input:focus { outline: 3px solid var(--primary-50); border-color: var(--primary); }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }

.panel[hidden] { display: none; }

/* ---------- documents ---------- */
.doc-grid { columns: 2; column-gap: 20px; }
.doc-grid .doc-group { break-inside: avoid; margin-bottom: 20px; }
.doc-group {
    background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 24px 12px;
}
.doc-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.doc-group-head .scheme-icon { flex: none; }
.doc-group-head h3 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.3; }
.doc-group-head small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list li + li { border-top: 1px solid var(--line); }
.doc {
    /* kolom pertama dibuat tetap supaya label tipe file sejajar di semua baris */
    display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 14px;
    padding: 12px 8px; margin: 0 -8px; border-radius: 10px; transition: background .15s;
}
.doc:hover { background: var(--bg); }
.doc:hover .doc-action { color: var(--primary); border-color: var(--primary); }
.doc-title { font-size: 14px; line-height: 1.4; }
.ftype {
    display: block; width: 58px; box-sizing: border-box; text-align: center; white-space: nowrap;
    font-size: 10px; font-weight: 700; letter-spacing: .06em; line-height: 1;
    padding: 7px 8px; border-radius: 6px; color: #fff;
}
/* prefix ft- supaya tidak bentrok dengan class .doc (baris dokumen) */
.ftype.ft-pdf { background: #d6453d; }
.ftype.ft-xls { background: #1f8a4c; }
.ftype.ft-doc { background: #2f62c9; }
.ftype.ft-slide { background: #e8a317; }
.ftype.ft-link { background: var(--muted); }
.doc-action {
    width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line);
    display: grid; place-items: center; color: var(--muted); transition: color .15s, border-color .15s;
}
.doc-action svg { width: 15px; height: 15px; }

.faq-card {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    margin-top: 0; padding: 24px 28px; border-radius: var(--radius);
    background: var(--primary); color: #fff;
}
.faq-card h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; }
.faq-card p { margin: 0; color: #d7d0f3; font-size: 14px; }
.faq-card .btn { background: #fff; color: var(--primary); }

/* ---------- videos ---------- */
.vgroup {
    background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
    margin-bottom: 14px; overflow: hidden;
}
.vgroup summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
    padding: 20px 24px; font-weight: 600; font-size: 16px;
}
.vgroup summary::-webkit-details-marker { display: none; }
.vgroup summary .count {
    font-size: 12px; font-weight: 500; color: var(--primary); background: var(--primary-50);
    padding: 2px 10px; border-radius: 99px;
}
.vgroup summary .chev { margin-left: auto; width: 20px; height: 20px; color: var(--muted); transition: transform .2s; }
.vgroup[open] summary .chev { transform: rotate(180deg); }
.vgroup[open] summary { border-bottom: 1px solid var(--line); }
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 22px 24px 26px; }
.video h4 { margin: 10px 0 0; font-size: 14px; font-weight: 500; line-height: 1.4; }
.player {
    position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden;
    background: #16132a; cursor: pointer; border: 0; padding: 0; width: 100%; display: block;
}
.player img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s, opacity .3s; opacity: .92; }
.player:hover img { transform: scale(1.04); opacity: 1; }
.player .play {
    position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%;
    background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--primary);
    box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s;
}
.player:hover .play { transform: scale(1.08); }
.player .play svg { width: 22px; height: 22px; margin-left: 3px; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.empty { text-align: center; color: var(--muted); padding: 48px 0; display: none; }
.empty.show { display: block; }
mark { background: color-mix(in srgb, var(--orange) 30%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }

@media (max-width: 960px) {
    .doc-grid { columns: 1; }
    .vgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .vgrid { grid-template-columns: 1fr; padding: 18px; }
    .segmented { width: 100%; }
    .segmented button { flex: 1; justify-content: center; padding: 9px 10px; font-size: 13px; white-space: nowrap; }
    .search { max-width: none; }
}
