/* =============================
   RESET
============================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f3f6f8;
    color: #222;
}

/* =============================
   HEADER
============================= */
header {
    width: 100%;
    background: linear-gradient(135deg, #0A1A3C, #00C26E);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header img.logo {
    height: 48px;
}

header .menu-icon {
    font-size: 28px;
    cursor: pointer;
    color: white;
}

/* =============================
   MENU SAMPING
============================= */
#sideMenu {
    width: 280px;
    max-width: 80%;
    height: 100vh;
    background: white;
    position: fixed;
    left: -100%;
    top: 0;
    padding: 25px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.25);
    transition: 0.3s;
    z-index: 9999;
}

#sideMenu.active {
    left: 0;
}

#sideMenu a {
    display: block;
    padding: 13px 0;
    font-size: 18px;
    color: #0A1A3C;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

/* =============================
   CONTAINER
============================= */
.container {
    width: 100%;
    padding: 15px;
}

/* =============================
   FITUR (CARD)
============================= */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 18px 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-top: 4px solid #00C26E;
    transition: 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.feature-card img {
    width: 55px;
    height: auto;
}

.feature-card h4 {
    margin-top: 10px;
    font-size: 15px;
    color: #0A1A3C;
    font-weight: 700;
}
.articles-wrapper {
    max-height: 450px;
    overflow-y: auto;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background-color: #cfcfcf;
    margin-bottom: 25px;
}

.articles-wrapper::-webkit-scrollbar {
    width: 8px;
}
.articles-wrapper::-webkit-scrollbar-thumb {
    background-color: #001665;
    border-radius: 4px;
}
.articles-wrapper::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.article-card {
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom:15px;
    padding-bottom:10px;
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow:0 8px 20px rgba(0,0,0,0.15);
}

.article-thumb {
    width:100%;
    height:150px;
    background-size:cover;
    background-position:center;
    transition: transform 0.3s;
}
.article-card:hover .article-thumb { transform: scale(1.05); }

.article-title { font-size:18px; margin:15px; }
.article-title a { text-decoration:none; color:#001665; }
.article-title a:hover { color:#080047; }

.article-date { font-size:12px; color:#666; margin:0 15px 10px; }
.article-excerpt { font-size:14px; color:#333; margin:0 15px 10px; }

.read-more {
    display:inline-block; margin:0 15px 15px;
    padding:6px 12px;
    background:#001665;
    color:#fff;
    border-radius:6px;
    text-decoration:none;
    font-size:14px;
    transition: background 0.3s;
}
.read-more:hover { background:#080047; }
/* DESKTOP */
@media (min-width: 769px) {
    .features {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

/* =============================
   SLIDER
============================= */
.slider-wrapper {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    scroll-snap-type: x mandatory;
    margin-top: 15px;
}

.slider-item {
    display: inline-block;
    width: 85%;
    max-width: 420px;
    margin-right: 12px;
    border-radius: 14px;
    overflow: hidden;
    scroll-snap-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.slider-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* =============================
   FORM & BUTTON
============================= */
input, select, button {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    font-size: 15px;
}

button {
    background: linear-gradient(135deg, #0A1A3C, #00C26E);
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    opacity: 0.92;
}

/* =============================
   FOOTER
============================= */
footer {
    background: #0A1A3C;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 25px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

footer small {
    opacity: 0.85;
}

/* =============================
   KIS CARD
============================= */
.kis-card {
    position: relative;
    width: 90%;
    max-width: 380px;
    margin: 20px auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);

    /* HEIGHT PROPORSIONAL TANPA aspect-ratio */
    height: 0;
    padding-bottom: 63.5%; /* tinggi/lebar * 100% = 54/85*100% */
    background: #eee;
}

.kis-card img.kis-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;  /* gambar tetap proporsional */
}

.kis-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.left-col {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 6px;
    row-gap: 4px;
}

.left-col .label {
    font-weight: bold;
    font-size: 13px;
}

.left-col .value {
    font-size: 13px;
    word-break: break-word;
}

.kis-data-table {
    color: #000;
    font-size: 12px;
    font-weight: bold;
    padding: 5px;
    box-sizing: border-box;
}

.kis-data-table table {
    font-size: 12px;
    table-layout: fixed;
}

.kis-data-table td {
    vertical-align: top;
    word-wrap: break-word;
}

/* Responsive HP */
@media (max-width: 480px) {
    .kis-card {
        width: 95%;
        max-width: 360px;
        padding-bottom: 63.5%; /* tetap proporsional */
    }

    .left-col {
        grid-template-columns: 90px 1fr;
    }

    .kis-data-table table,
    .kis-data-table td,
    .left-col .label,
    .left-col .value {
        font-size: 11px;
    }
}

