/* =========================================================
   DOKUMENTASI KEGIATAN MEDNUS
   ========================================================= */

.dokumentasi-section {
    position: relative;
    padding: 90px 0;
    background: #f8fbff;
    overflow: hidden;
}

.dokumentasi-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.dokumentasi-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 42px;
}

.dokumentasi-heading {
    max-width: 720px;
}

.dokumentasi-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    margin-bottom: 16px;

    background: #edf5ff;
    color: #1769e0;

    border: 1px solid #dbeaff;
    border-radius: 50px;

    font-size: 14px;
    font-weight: 600;
}

.dokumentasi-badge i {
    font-size: 15px;
}

.dokumentasi-heading h2 {
    margin: 0 0 14px;

    color: #172033;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1px;
}

.dokumentasi-heading h2 span {
    color: #216be5;
}

.dokumentasi-heading p {
    margin: 0;

    color: #6f8099;
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   BUTTON
   ========================================================= */

.dokumentasi-btn {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 13px 20px;

    background: #ffffff;
    color: #1769e0;

    border: 1px solid #dce8f7;
    border-radius: 10px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition: all .25s ease;
}

.dokumentasi-btn i {
    transition: transform .25s ease;
}

.dokumentasi-btn:hover {
    background: #1769e0;
    color: #ffffff;
    border-color: #1769e0;

    transform: translateY(-2px);

    box-shadow: 0 10px 25px rgba(23, 105, 224, .18);
}

.dokumentasi-btn:hover i {
    transform: translateX(4px);
}


/* =========================================================
   GRID
   ========================================================= */

.dokumentasi-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 26px;
}


/* =========================================================
   CARD
   ========================================================= */

.dokumentasi-card {
    position: relative;

    background: #ffffff;

    border: 1px solid #e5edf7;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 8px 30px rgba(26, 66, 110, .06);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.dokumentasi-card:hover {
    transform: translateY(-6px);

    border-color: #d6e5f8;

    box-shadow: 0 18px 45px rgba(26, 66, 110, .12);
}


/* =========================================================
   IMAGE
   ========================================================= */

.dokumentasi-image-link {
    display: block;

    color: inherit;
    text-decoration: none;
}

.dokumentasi-image {
    position: relative;

    width: 100%;
    height: 245px;

    overflow: hidden;

    background: #edf2f7;
}

.dokumentasi-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform .5s ease;
}

.dokumentasi-card:hover .dokumentasi-image img {
    transform: scale(1.06);
}


/* =========================================================
   OVERLAY
   ========================================================= */

.dokumentasi-overlay {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(15, 35, 65, .28);

    opacity: 0;

    transition: opacity .3s ease;
}

.dokumentasi-card:hover .dokumentasi-overlay {
    opacity: 1;
}

.dokumentasi-view {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 16px;

    background: rgba(255, 255, 255, .96);

    color: #1769e0;

    border-radius: 50px;

    font-size: 13px;
    font-weight: 700;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .12);
}


/* =========================================================
   NO IMAGE
   ========================================================= */

.dokumentasi-no-image {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 10px;

    color: #91a1b6;

    background: #f1f5f9;
}

.dokumentasi-no-image i {
    font-size: 36px;
}

.dokumentasi-no-image span {
    font-size: 13px;
}


/* =========================================================
   CONTENT
   ========================================================= */

.dokumentasi-content {
    padding: 21px 22px 24px;
}

.dokumentasi-date {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 10px;

    color: #8292a8;

    font-size: 13px;
    font-weight: 500;
}

.dokumentasi-date i {
    color: #216be5;
}

.dokumentasi-content h3 {
    margin: 0 0 9px;

    font-size: 20px;
    line-height: 1.35;
    font-weight: 750;
}

.dokumentasi-content h3 a {
    color: #172033;
    text-decoration: none;

    transition: color .2s ease;
}

.dokumentasi-content h3 a:hover {
    color: #216be5;
}

.dokumentasi-content p {
    margin: 0;

    color: #74849a;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   EMPTY
   ========================================================= */

.dokumentasi-empty {
    grid-column: 1 / -1;

    padding: 70px 20px;

    text-align: center;

    background: #ffffff;

    border: 1px dashed #dce7f3;
    border-radius: 18px;
}

.dokumentasi-empty-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #edf5ff;
    color: #216be5;

    font-size: 28px;
}

.dokumentasi-empty h3 {
    margin: 0 0 8px;

    color: #172033;

    font-size: 21px;
}

.dokumentasi-empty p {
    margin: 0;

    color: #7c8da3;

    font-size: 14px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .dokumentasi-section {
        padding: 70px 0;
    }

    .dokumentasi-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .dokumentasi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .dokumentasi-section {
        padding: 55px 0;
    }

    .dokumentasi-container {
        width: min(100% - 28px, 1180px);
    }

    .dokumentasi-heading h2 {
        font-size: 32px;
    }

    .dokumentasi-heading p {
        font-size: 14px;
        line-height: 1.7;
    }

    .dokumentasi-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dokumentasi-image {
        height: 230px;
    }

    .dokumentasi-btn {
        width: 100%;
        justify-content: center;
    }

}