/* =========================================================
   KUMPULAN SOAL
   STORY CSS
   ========================================================= */


/* =========================================================
   GLOBAL
   ========================================================= */

.ibp-story-archive-simple,
.ibp-story-category-simple,
.ibp-story-single {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: #f5f7f9;
    color: #263238;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    line-height: 1.6;
}

.ibp-story-archive-simple *,
.ibp-story-category-simple *,
.ibp-story-single * {
    box-sizing: border-box;
}


/* =========================================================
   ARCHIVE
   ========================================================= */

.ibp-story-archive-simple-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 35px 20px 55px;
}


/* =========================================================
   ARCHIVE HEADER
   ========================================================= */

.ibp-story-archive-simple-header {
    text-align: center;
    margin-bottom: 25px;
}

.ibp-story-archive-simple-logo {
    display: block;
    width: 160px;
    height: auto;
    margin: 0 auto 15px;
}

.ibp-story-archive-simple-header h1 {
    margin: 0;
    padding: 0;
    color: #263238;
    font-size: 32px;
    line-height: 1.3;
    font-weight: 800;
}

.ibp-story-archive-simple-header p {
    max-width: 720px;
    margin: 8px auto 0;
    color: #71808a;
    font-size: 15px;
}


/* =========================================================
   SEARCH
   ========================================================= */

.ibp-story-archive-simple-search {
    margin-bottom: 20px;
}

.ibp-story-archive-simple-search form {
    display: flex;
    width: 100%;
    gap: 8px;
}

.ibp-story-archive-simple-search input[type="search"] {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 0 15px;
    border: 1px solid #d9e0e5;
    border-radius: 9px;
    background: #fff;
    color: #263238;
    font-size: 14px;
    outline: none;
}

.ibp-story-archive-simple-search input[type="search"]:focus {
    border-color: #9aabb7;
}

.ibp-story-archive-simple-search button {
    flex: 0 0 auto;
    height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 9px;
    background: #34495e;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.ibp-story-archive-simple-search button:hover {
    background: #263746;
}


/* =========================================================
   CATEGORY
   ========================================================= */

.ibp-story-archive-simple-category {
    margin-bottom: 22px;
    padding: 17px 18px;
    border: 1px solid #e0e5e9;
    border-radius: 12px;
    background: #fff;
}

.ibp-story-archive-simple-category-title {
    margin-bottom: 10px;
    color: #34495e;
    font-size: 14px;
    font-weight: 800;
}

.ibp-story-archive-simple-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.ibp-story-archive-simple-category-list a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 11px;
    border: 1px solid #dce3e8;
    border-radius: 20px;
    background: #f8fafb;
    color: #536572;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

.ibp-story-archive-simple-category-list a:hover,
.ibp-story-archive-simple-category-list a.active {
    background: #34495e;
    border-color: #34495e;
    color: #fff;
}


/* =========================================================
   ADS
   ========================================================= */

.ibp-story-archive-simple-ads,
.ibp-story-category-simple-ads,
.ibp-story-single-ads {
    width: 100%;
    margin: 20px 0;
    text-align: center;
    overflow: hidden;
}

.ibp-story-archive-simple-ads iframe,
.ibp-story-category-simple-ads iframe,
.ibp-story-single-ads iframe {
    max-width: 100%;
}


/* =========================================================
   HEADING
   ========================================================= */

.ibp-story-archive-simple-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 25px 0 12px;
}

.ibp-story-archive-simple-heading h2 {
    margin: 0;
    color: #263238;
    font-size: 21px;
    line-height: 1.4;
    font-weight: 800;
}

.ibp-story-archive-simple-heading span {
    color: #8a969e;
    font-size: 12px;
}


/* =========================================================
   ARCHIVE LIST
   ========================================================= */

.ibp-story-archive-simple-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.ibp-story-archive-simple-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    padding: 17px 18px;
    border: 1px solid #e0e5e9;
    border-radius: 11px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.ibp-story-archive-simple-item:hover {
    border-color: #ccd5dc;
    box-shadow: 0 4px 14px rgba(31, 41, 51, .06);
    transform: translateY(-1px);
    text-decoration: none;
}

.ibp-story-archive-simple-item-main {
    min-width: 0;
    flex: 1;
}

.ibp-story-archive-simple-item-main h3 {
    margin: 0 0 5px;
    color: #263238;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 750;
}

.ibp-story-archive-simple-item-main p {
    margin: 0;
    color: #78848c;
    font-size: 13px;
    line-height: 1.55;
}

.ibp-story-archive-simple-item-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 8px;
}

.ibp-story-archive-simple-item-meta span {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 15px;
    background: #eef2f5;
    color: #566774;
    font-size: 11px;
    font-weight: 700;
}

.ibp-story-archive-simple-item-meta small {
    color: #9aa3a9;
    font-size: 11px;
}

.ibp-story-archive-simple-item-arrow {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f3f5;
    color: #566774;
    font-size: 18px;
    font-weight: 700;
}

.ibp-story-archive-simple-item:hover
.ibp-story-archive-simple-item-arrow {
    background: #e5eaee;
    color: #263238;
}


/* =========================================================
   EMPTY
   ========================================================= */

.ibp-story-archive-simple-empty,
.ibp-story-category-simple-empty {
    padding: 45px 20px;
    border: 1px dashed #d5dde2;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.ibp-story-archive-simple-empty .icon,
.ibp-story-category-simple-empty .icon {
    margin-bottom: 10px;
    font-size: 32px;
}

.ibp-story-archive-simple-empty h2,
.ibp-story-category-simple-empty h2 {
    margin: 0 0 7px;
    color: #34495e;
    font-size: 19px;
}

.ibp-story-archive-simple-empty p,
.ibp-story-category-simple-empty p {
    margin: 0;
    color: #7d8991;
    font-size: 13px;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.ibp-story-archive-simple-pagination,
.ibp-story-category-simple-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 25px;
}

.ibp-story-archive-simple-pagination .page-numbers,
.ibp-story-category-simple-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #dce2e6;
    border-radius: 8px;
    background: #fff;
    color: #536572;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.ibp-story-archive-simple-pagination
.page-numbers:hover,
.ibp-story-category-simple-pagination
.page-numbers:hover {
    background: #f0f3f5;
}

.ibp-story-archive-simple-pagination
.page-numbers.current,
.ibp-story-category-simple-pagination
.page-numbers.current {
    border-color: #34495e;
    background: #34495e;
    color: #fff;
}


/* =========================================================
   CATEGORY PAGE
   ========================================================= */

.ibp-story-category-simple-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 35px 20px 55px;
}

.ibp-story-category-simple-header {
    margin-bottom: 20px;
    text-align: center;
}

.ibp-story-category-simple-logo {
    display: block;
    width: 160px;
    height: auto;
    margin: 0 auto 15px;
}

.ibp-story-category-simple-header h1 {
    margin: 0;
    color: #263238;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 800;
}

.ibp-story-category-simple-header p {
    margin: 8px auto 0;
    color: #71808a;
    font-size: 14px;
}

.ibp-story-category-simple-back {
    margin-bottom: 15px;
}

.ibp-story-category-simple-back a {
    color: #526a79;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.ibp-story-category-simple-back a:hover {
    color: #263238;
}

.ibp-story-category-simple-info {
    margin-bottom: 18px;
    padding: 20px;
    border: 1px solid #e0e5e9;
    border-radius: 12px;
    background: #fff;
}

.ibp-story-category-simple-info h2 {
    margin: 0;
    color: #263238;
    font-size: 21px;
    line-height: 1.4;
}

.ibp-story-category-simple-info p {
    margin: 7px 0 0;
    color: #75818a;
    font-size: 14px;
}

.ibp-story-category-simple-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.ibp-story-category-simple-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 17px 18px;
    border: 1px solid #e0e5e9;
    border-radius: 11px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.ibp-story-category-simple-item:hover {
    border-color: #ccd5dc;
    box-shadow: 0 4px 14px rgba(31, 41, 51, .06);
    transform: translateY(-1px);
}

.ibp-story-category-simple-item-main {
    min-width: 0;
    flex: 1;
}

.ibp-story-category-simple-item-main h3 {
    margin: 0 0 5px;
    color: #263238;
    font-size: 16px;
    line-height: 1.45;
}

.ibp-story-category-simple-item-main p {
    margin: 0;
    color: #78848c;
    font-size: 13px;
}

.ibp-story-category-simple-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.ibp-story-category-simple-item-meta span {
    padding: 4px 9px;
    border-radius: 15px;
    background: #eef2f5;
    color: #566774;
    font-size: 11px;
    font-weight: 700;
}

.ibp-story-category-simple-item-meta small {
    color: #9aa3a9;
    font-size: 11px;
}

.ibp-story-category-simple-item-arrow {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f3f5;
    color: #566774;
    font-size: 18px;
}


/* =========================================================
   SINGLE STORY
   ========================================================= */

.ibp-story-single-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 35px 20px 55px;
}

.ibp-story-single-header {
    margin-bottom: 18px;
    padding: 25px;
    border: 1px solid #e0e5e9;
    border-radius: 13px;
    background: #fff;
    text-align: center;
}

.ibp-story-single-logo {
    display: block;
    width: 145px;
    height: auto;
    margin: 0 auto 13px;
}

.ibp-story-single-back {
    margin-bottom: 12px;
}

.ibp-story-single-back a {
    color: #526a79;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.ibp-story-single-back a:hover {
    color: #263238;
}

.ibp-story-single-header h1 {
    margin: 0;
    color: #263238;
    font-size: 30px;
    line-height: 1.35;
    font-weight: 800;
}

.ibp-story-single-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 13px;
}

.ibp-story-single-categories a {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 15px;
    background: #eef2f5;
    color: #566774;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   PART SELECTOR
   ========================================================= */

.ibp-story-single-part-selector {
    margin-bottom: 15px;
    padding: 17px 18px;
    border: 1px solid #e0e5e9;
    border-radius: 11px;
    background: #fff;
}

.ibp-story-single-part-selector label {
    display: block;
    margin-bottom: 7px;
    color: #34495e;
    font-size: 13px;
    font-weight: 800;
}

.ibp-story-single-part-selector select {
    display: block;
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #d6dee3;
    border-radius: 8px;
    background: #fff;
    color: #34495e;
    font-size: 13px;
    outline: none;
}

.ibp-story-single-part-selector select:focus {
    border-color: #9aabb7;
}

.ibp-story-single-part-count {
    margin-top: 7px;
    color: #89949b;
    font-size: 11px;
}


/* =========================================================
   SINGLE CONTENT
   ========================================================= */

.ibp-story-single-content {
    padding: 30px;
    border: 1px solid #e0e5e9;
    border-radius: 13px;
    background: #fff;
}

.ibp-story-single-content > h2 {
    margin: 0 0 22px;
    padding-bottom: 13px;
    border-bottom: 1px solid #e6eaed;
    color: #263238;
    font-size: 25px;
    line-height: 1.4;
    font-weight: 800;
}

.ibp-story-single-content-body {
    color: #303b43;
    font-size: 16px;
    line-height: 1.85;
}

.ibp-story-single-content-body p {
    margin: 0 0 18px;
}

.ibp-story-single-content-body h2,
.ibp-story-single-content-body h3,
.ibp-story-single-content-body h4 {
    color: #34495e;
    line-height: 1.45;
}

.ibp-story-single-content-body h2 {
    margin: 28px 0 13px;
    font-size: 23px;
}

.ibp-story-single-content-body h3 {
    margin: 25px 0 11px;
    font-size: 20px;
}

.ibp-story-single-content-body h4 {
    margin: 22px 0 10px;
    font-size: 18px;
}

.ibp-story-single-content-body ul,
.ibp-story-single-content-body ol {
    margin: 0 0 20px;
    padding-left: 25px;
}

.ibp-story-single-content-body li {
    margin-bottom: 7px;
}

.ibp-story-single-content-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 8px;
}

.ibp-story-single-content-body blockquote {
    margin: 22px 0;
    padding: 15px 18px;
    border-left: 4px solid #cbd5dc;
    border-radius: 0 8px 8px 0;
    background: #f6f8f9;
    color: #5d6b74;
}

.ibp-story-single-content-body a {
    color: #3e647b;
}

.ibp-story-single-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.ibp-story-single-content-body th,
.ibp-story-single-content-body td {
    padding: 9px 11px;
    border: 1px solid #dfe5e9;
}

.ibp-story-single-content-body th {
    background: #f3f6f8;
}


/* =========================================================
   BOTTOM NAV
   ========================================================= */

.ibp-story-single-bottom-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.ibp-story-single-bottom-nav a {
    display: block;
    padding: 15px 17px;
    border: 1px solid #e0e5e9;
    border-radius: 10px;
    background: #fff;
    color: #34495e;
    text-decoration: none;
}

.ibp-story-single-bottom-nav a:hover {
    background: #f8fafb;
}

.ibp-story-single-bottom-nav a.next {
    text-align: right;
}

.ibp-story-single-bottom-nav small {
    display: block;
    margin-bottom: 4px;
    color: #909aa1;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.ibp-story-single-bottom-nav strong {
    display: block;
    font-size: 13px;
    line-height: 1.45;
}


/* =========================================================
   FOOTER LINK
   ========================================================= */

.ibp-story-single-footer {
    margin-top: 20px;
    text-align: center;
}

.ibp-story-single-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 8px;
    background: #34495e;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.ibp-story-single-footer a:hover {
    background: #263746;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    .ibp-story-archive-simple-container,
    .ibp-story-category-simple-container,
    .ibp-story-single-container {
        padding: 22px 12px 40px;
    }

    .ibp-story-archive-simple-logo,
    .ibp-story-category-simple-logo {
        width: 125px;
    }

    .ibp-story-archive-simple-header h1 {
        font-size: 26px;
    }

    .ibp-story-category-simple-header h1 {
        font-size: 25px;
    }

    .ibp-story-single-logo {
        width: 120px;
    }

    .ibp-story-single-header {
        padding: 20px 15px;
    }

    .ibp-story-single-header h1 {
        font-size: 24px;
    }

    .ibp-story-archive-simple-search form {
        flex-direction: column;
    }

    .ibp-story-archive-simple-search input[type="search"],
    .ibp-story-archive-simple-search button {
        width: 100%;
    }

    .ibp-story-archive-simple-item,
    .ibp-story-category-simple-item {
        padding: 14px;
    }

    .ibp-story-archive-simple-item-main h3,
    .ibp-story-category-simple-item-main h3 {
        font-size: 15px;
    }

    .ibp-story-archive-simple-item-main p,
    .ibp-story-category-simple-item-main p {
        font-size: 12px;
    }

    .ibp-story-single-content {
        padding: 21px 17px;
    }

    .ibp-story-single-content > h2 {
        font-size: 21px;
    }

    .ibp-story-single-content-body {
        font-size: 15px;
        line-height: 1.8;
    }

    .ibp-story-single-bottom-nav {
        grid-template-columns: 1fr;
    }

    .ibp-story-single-bottom-nav a.next {
        text-align: left;
    }

}


/* =========================================================
   MOBILE KECIL
   ========================================================= */

@media (max-width: 420px) {

    .ibp-story-archive-simple-container,
    .ibp-story-category-simple-container,
    .ibp-story-single-container {
        padding-left: 9px;
        padding-right: 9px;
    }

    .ibp-story-archive-simple-header h1 {
        font-size: 23px;
    }

    .ibp-story-category-simple-header h1 {
        font-size: 22px;
    }

    .ibp-story-single-header h1 {
        font-size: 22px;
    }

    .ibp-story-archive-simple-heading h2 {
        font-size: 19px;
    }

    .ibp-story-single-part-topnav a {
        font-size: 11px;
        padding-left: 9px;
        padding-right: 9px;
    }

}