* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f3f4f6;
    color: #1f2937;
    line-height: 1.6;
}

/* =========================
   HEADER
========================= */

.header {

    top: 0;
    z-index: 999;

    width: 100%;

    background: #fff;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, .15);
}

.nav-container {
    width: 100%;
    max-width: 960px;

    height: 60px;

    margin: auto;
    padding: 0 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =========================
   LOGO IMAGE
========================= */

.logo {
    display: inline-flex;
    align-items: center;

    text-decoration: none;

    line-height: 0;
}

.logo img {
    display: block;

    width: 180px;
    height: 60px;

    max-width: 100%;

    object-fit: contain;

    object-position: left center;
}

/* =========================
   NAVIGASI
========================= */

.nav-menu {
    display: flex;
    align-items: center;

    gap: 3px;
}

.nav-menu a {
    padding: 8px 12px;

    color: #d1d5db;

    text-decoration: none;

    font-size: 13px;

    border-radius: 6px;

    transition:
        background-color .2s ease,
        color .2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: #d20f1c;
    color: #fff;
}

/* =========================
   HAMBURGER
========================= */

.menu-toggle {
    display: none;

    padding: 4px;

    border: 0;

    background: transparent;

    color: #222;

    font-size: 26px;

    cursor: pointer;
}

/* =========================
   CONTAINER
========================= */

.container {
    width: 100%;

    max-width: 960px;

    margin: auto;

    padding: 18px 15px;
}

/* =========================
   CARD
========================= */

.card {
    width: 100%;

    background: #fff;

    padding: 18px;

    margin-bottom: 16px;

    border-radius: 10px;

    box-shadow:
        0 1px 7px rgba(0, 0, 0, .06);
}

/* =========================
   ARTIKEL
========================= */

.article {
    scroll-margin-top: 75px;
}

.article h1 {
    margin: 0 0 10px;

    font-size: 24px;

    text-align: center;

    color: #d20f1c;
}

.article p {
    margin: 0;

    color: #4b5563;

    font-size: 14px;

    line-height: 1.7;
}

/* =========================
   TABLE TITLE
========================= */

.table-title {
    margin: 0 0 12px;

    font-size: 21px;

    color: #d20f1c;

    text-align: center;
}

/* =========================
   TABLE
========================= */

.table-wrapper {
    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;
}

.table-wrapper table {
    width: 100%;

    border-collapse: collapse;

    max-width: 950px;

    margin: 0 auto;

    font-size: 13px;
}

.table-wrapper th,
.table-wrapper td {
    padding: 7px 9px;

    border: 1px solid #ddd;

    text-align: center;

    white-space: nowrap;
}

.header th {
    background: #d20f1c;

    color: #fff;

    font-weight: 600;
}

.table-wrapper tbody tr:nth-child(even) {
    background: #f8f8f8;
}

.table-wrapper tbody tr:hover {
    background: #f1f1f1;
}

.d-inline.d-sm-none {
  display: none;
}
/* =========================
   FOOTER
========================= */

.footer {
    padding: 22px 15px;

    text-align: center;

    color: #6b7280;

    font-size: 12px;
}

/* =========================
   TABLET
========================= */

@media (max-width: 768px) {

    .nav-container {
        height: 58px;
    }

    .logo img {
        width: 160px;
        height: 58px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;

        position: absolute;

        top: 58px;

        left: 0;
        right: 0;

        padding: 7px;

        background: #d20f1c;

        flex-direction: column;

        align-items: stretch;
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu a {
        padding: 11px 14px;

        width: 100%;
    }

    .container {
        padding: 12px 8px;
    }

    .card {
        padding: 14px;

        border-radius: 8px;
    }

    .article h1 {
        font-size: 21px;
    }

    .article p {
        font-size: 14px;
    }

    .table-title {
        font-size: 19px;
    }

    .table-wrapper table {
         width: 100%;

        font-size: 12px;
    }

    .table-wrapper th,
    .table-wrapper td {
        padding: 0px;
    }
    .d-none.d-sm-inline {
  display: none;
}
.d-inline.d-sm-none {
  display: block;
}
}
