/* =========================================================
   INDBEASISWA
   DETAIL ARTIKEL BEASISWA
   FINAL CSS
   Container mengikuti Kadence .site-container
========================================================= */


/* =========================================================
   CONTAINER UTAMA
   Ukuran mengikuti Kadence
========================================================= */

.indb-scholarship-detail {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


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

.indb-detail-header {
    width: 100%;
    margin: 45px 0 24px;
}

.indb-detail-eyebrow {
    display: inline-block;

    margin-bottom: 14px;

    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;

    letter-spacing: .5px;

    color: #ef4223;
}


/* =========================================================
   DEADLINE BADGE
========================================================= */

.indb-deadline-badge {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 9px 14px;

    background: #fff5f2;

    border: 1px solid #ffd8ce;
    border-radius: 8px;

    color: #444;

    font-size: 14px;
    line-height: 1.4;
}

.indb-deadline-badge strong {
    color: #ef4223;
}

.indb-deadline-icon {
    font-size: 16px;
    line-height: 1;
}


/* =========================================================
   SCHOLARSHIP SNAPSHOT
========================================================= */

.indb-scholarship-snapshot {
    display: grid !important;

    grid-template-columns:
        repeat(4, minmax(0, 1fr)) !important;

    gap: 16px !important;

    width: 100% !important;

    margin: 0 0 32px !important;
}

.indb-snapshot-item {
    padding: 18px 20px;

    box-sizing: border-box;

    background: #fff;

    border: 1px solid #e7e7e7;
    border-radius: 12px;
}

.indb-snapshot-label {
    display: block;

    margin-bottom: 7px;

    font-size: 13px;
    line-height: 1.4;

    color: #777;
}

.indb-snapshot-value {
    display: block;

    font-size: 16px;
    line-height: 1.45;

    color: #222;
}


/* =========================================================
   IKLAN DI BAWAH SNAPSHOT
========================================================= */

.indb-ad-bawah-snapshot {
    width: 100%;

    margin: 24px auto 30px;

    text-align: center;

    clear: both;
}

.indb-ad-bawah-snapshot .adsbygoogle {
    display: block;

    width: 100%;
}


/* =========================================================
   SUMMARY
========================================================= */

.indb-summary {
    width: 100%;

    margin: 0 0 36px;
    padding: 24px 26px;

    box-sizing: border-box;

    background: #fafafa;

    border: 1px solid #eeeeee;
    border-radius: 14px;
}

.indb-summary-title {
    margin: 0 0 10px;

    font-family: "Roboto", sans-serif;

    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;

    color: #222;
}

.indb-summary-text {
    font-size: 16px;
    line-height: 1.75;

    color: #555;
}

.indb-summary-text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   MAIN DETAIL LAYOUT
========================================================= */

.indb-detail-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr) 340px;

    gap: 40px;

    align-items: start;
}

.indb-article-content {
    min-width: 0;
}

.indb-article-inner {
    width: 100%;
    max-width: 900px;
}


/* =========================================================
   ARTICLE SECTION
========================================================= */

.indb-content-section {
    margin-bottom: 42px;
}

.indb-content-section h2 {
    margin: 0 0 18px;
    padding-bottom: 10px;

    border-bottom: 2px solid #ef4223;

    font-family: "Roboto", sans-serif;

    font-size: 26px;
    line-height: 1.35;
    font-weight: 700;

    color: #222;
}

.indb-section-content {
    font-size: 16px;
    line-height: 1.8;

    color: #333;
}

.indb-section-content p {
    margin-bottom: 18px;
}

.indb-section-content ul,
.indb-section-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.indb-section-content li {
    margin-bottom: 8px;
}


/* =========================================================
   ORIGINAL CONTENT
========================================================= */

.indb-original-content {
    margin-top: 10px;
}


/* =========================================================
   HILANGKAN GAMBAR PERTAMA DARI CONTENT
   Featured image sudah ditangani Kadence
========================================================= */

.indb-original-content > .indb-section-content > figure:first-child,
.indb-original-content > .indb-section-content > p:first-child img,
.indb-original-content > .indb-section-content > img:first-child {
    display: none !important;
}


/* =========================================================
   SIDEBAR
========================================================= */

.indb-sidebar {
    position: sticky;

    top: 30px;

    min-width: 0;
}

.indb-sidebar-card {
    padding: 24px;

    box-sizing: border-box;

    background: #fff;

    border: 1px solid #e5e5e5;
    border-radius: 14px;

    box-shadow:
        0 4px 18px rgba(0, 0, 0, .05);
}

.indb-sidebar-card h3 {
    margin: 0 0 20px;
    padding-bottom: 14px;

    border-bottom: 1px solid #eeeeee;

    font-family: "Roboto", sans-serif;

    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;

    color: #222;
}


/* =========================================================
   SIDEBAR INFO
========================================================= */

.indb-info-row {
    padding: 14px 0;

    border-bottom: 1px solid #eeeeee;
}

.indb-info-row span {
    display: block;

    margin-bottom: 5px;

    font-size: 13px;
    line-height: 1.4;

    color: #777;
}

.indb-info-row strong {
    display: block;

    font-size: 15px;
    line-height: 1.5;

    color: #222;
}


/* =========================================================
   REGISTER BUTTON
========================================================= */

.indb-register-button {
    display: block;

    width: 100%;

    margin-top: 20px;
    padding: 13px 18px;

    box-sizing: border-box;

    text-align: center;
    text-decoration: none;

    background: #ef4223;
    color: #fff;

    border-radius: 8px;

    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;

    transition:
        background .2s ease,
        transform .2s ease;
}

.indb-register-button:hover {
    background: #d9361b;
    color: #fff;

    transform: translateY(-1px);
}


/* =========================================================
   IKLAN DI BAWAH ARTIKEL
========================================================= */

.indb-ad-bawah-artikel {
    width: 100%;

    margin: 35px auto 40px;

    text-align: center;

    clear: both;
}

.indb-ad-bawah-artikel .adsbygoogle {
    display: block;

    width: 100%;
}


/* =========================================================
   FEATURED IMAGE
   DESKTOP DISEMBUNYIKAN
========================================================= */

@media (min-width: 1001px) {

    .single-post .entry-hero-container-inner .post-thumbnail {
        display: none !important;
    }
}


/* =========================================================
   FEATURED IMAGE MOBILE
========================================================= */

body.single-post .entry-hero-container-inner .post-thumbnail-inner {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}

body.single-post .entry-hero-container-inner .post-thumbnail img {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover;

    box-sizing: border-box !important;
}

@media (max-width: 600px) {

    body.single-post .entry-hero-container-inner .post-thumbnail img {
        width: 100% !important;

        height: auto !important;

        max-height: 260px;

        object-fit: cover;
    }
}


/* =========================================================
   HIDE TAG & POST NAVIGATION
========================================================= */

.single-post .entry-tags {
    display: none !important;
}

.single-post .post-navigation,
.single-post .navigation.post-navigation {
    display: none !important;

}


/* =========================================================
   RELATED POSTS
========================================================= */

.indb-related-posts {
    width: 100%;

    margin: 64px 0 20px;
    padding-top: 48px;

    box-sizing: border-box;

    border-top: 1px solid #e5e7eb;
}

.indb-related-header {
    margin-bottom: 28px;
}

.indb-related-eyebrow {
    display: block;

    margin-bottom: 8px;

    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;

    letter-spacing: .08em;

    color: #ef4223;

    text-transform: uppercase;
}

.indb-related-header h2 {
    margin: 0 0 8px;

    font-family: "Roboto", sans-serif;

    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;

    color: #172033;
}

.indb-related-header p {
    margin: 0;

    font-family: "Open Sans", sans-serif;

    font-size: 15px;
    line-height: 1.7;

    color: #667085;
}


/* =========================================================
   RELATED GRID
========================================================= */

.indb-related-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;

    width: 100%;
}


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

.indb-related-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    background: #fff;

    border: 1px solid #e5e7eb;
    border-radius: 14px;

    box-shadow:
        0 4px 14px rgba(15, 23, 42, .05);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.indb-related-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 24px rgba(15, 23, 42, .10);
}


/* =========================================================
   RELATED IMAGE
========================================================= */

.indb-related-image {
    display: block;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #f3f4f6;
}

.indb-related-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .3s ease;
}

.indb-related-card:hover .indb-related-image img {
    transform: scale(1.03);
}


/* =========================================================
   RELATED BODY
========================================================= */

.indb-related-body {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 20px;
}

.indb-related-category {
    margin-bottom: 8px;

    font-size: 11px;
    line-height: 1.4;
    font-weight: 800;

    color: #ef4223;

    text-transform: uppercase;
    letter-spacing: .04em;
}

.indb-related-body h3 {
    margin: 0 0 12px;

    font-family: "Roboto", sans-serif;

    font-size: 19px;
    line-height: 1.4;
    font-weight: 700;
}

.indb-related-body h3 a {
    color: #172033;

    text-decoration: none;
}

.indb-related-body h3 a:hover {
    color: #ef4223;
}

.indb-related-date {
    margin-bottom: 16px;

    font-family: "Open Sans", sans-serif;

    font-size: 12px;

    color: #98a2b3;
}

.indb-related-link {
    display: inline-flex;
    align-items: center;

    margin-top: auto;

    font-family: "Open Sans", sans-serif;

    font-size: 13px;
    font-weight: 700;

    color: #ef4223;

    text-decoration: none;
}

.indb-related-link:hover {
    color: #d9361b;
}


/* =========================================================
   SITE TITLE
   Tetap putih di halaman artikel
========================================================= */

body.single-post .site-header .site-title,
body.single-post .site-header .site-title a,
body.single-post .site-header .site-title a:visited,
body.single-post .site-header .site-title a:hover {
    color: #fff !important;
}


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

@media (max-width: 1000px) {

    .indb-detail-header {
        margin-top: 36px;
    }

    .indb-detail-layout {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .indb-article-inner {
        max-width: 100%;
    }

    .indb-sidebar {
        position: static;
    }

    .indb-scholarship-snapshot {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

    .indb-related-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .indb-detail-header {
        margin-top: 30px;
        margin-bottom: 22px;
    }

    .indb-summary {
        padding: 20px;
    }

    .indb-content-section {
        margin-bottom: 34px;
    }

    .indb-content-section h2 {
        font-size: 23px;

        margin-bottom: 16px;
    }

    .indb-section-content {
        font-size: 15.5px;
        line-height: 1.75;
    }

    .indb-ad-bawah-snapshot {
        margin: 20px auto 25px;
    }

    .indb-ad-bawah-artikel {
        margin: 30px auto 35px;
    }

    .indb-deadline-badge {
        font-size: 13px;
    }

    .indb-related-posts {
        margin-top: 44px;
        padding-top: 36px;
    }

    .indb-related-header h2 {
        font-size: 24px;
    }

    .indb-related-header p {
        font-size: 14px;
    }

    .indb-related-body {
        padding: 16px;
    }

    .indb-related-body h3 {
        font-size: 18px;
    }
}


/* =========================================================
   MOBILE KECIL
========================================================= */

@media (max-width: 600px) {

    .indb-detail-header {
        margin-top: 28px;
    }

    .indb-scholarship-snapshot {
        grid-template-columns: 1fr !important;
    }

    .indb-snapshot-item {
        padding: 15px 16px;
    }

    .indb-sidebar-card {
        padding: 20px;
    }

    .indb-related-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }
}