
/* =========================================
   LAPORAN PUBLIKASI — KARTU DOKUMEN
========================================= */

.report-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.report-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;

    min-width: 0;
    padding: 26px 24px;

    color: #173D2C;
    text-decoration: none;

    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(12, 59, 42, 0.12);
    border-radius: 20px;

    box-shadow: 0 8px 24px rgba(12, 59, 42, 0.05);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.report-card:hover {
    transform: translateY(-5px);
    background: #FFFFFF;
    border-color: rgba(22, 132, 90, 0.38);

    box-shadow: 0 16px 34px rgba(12, 59, 42, 0.10);
}

.report-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;
    flex: 0 0 54px;

    color: #16845A;
    background: #E7F4E9;
    border: 1px solid #D5E8DD;
    border-radius: 16px;

    font-size: 23px;
}

.report-info {
    flex: 1;
    min-width: 0;
}

.report-info span {
    display: block;
    margin-bottom: 7px;

    color: #16845A;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.report-info h3 {
    margin: 0 0 8px;

    color: #0C3B2A;
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    line-height: 1.45;
}

.report-info small {
    color: #62776A;
    font-size: 13px;
}

.report-card > .fa-arrow-up-right-from-square {
    flex-shrink: 0;
    color: #16845A;
    font-size: 15px;
    transition: transform 0.3s ease;
}

.report-card:hover > .fa-arrow-up-right-from-square {
    transform: translate(3px, -3px);
}

.report-timestamp {
    display: block;
    margin-top: 12px;
    color: #62776A;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.8;
}

.report-timestamp::before {
    content: "\f017";
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    color: #16845A;
    margin-right: 6px;
}

/* Memastikan isi kartu laporan terlihat */
.report-card {
    display: flex !important;
    align-items: center;
    gap: 18px;
    min-height: 130px;
    color: #173D2C !important;
    background: #FFFFFF !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.report-icon {
    display: flex !important;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    color: #16845A !important;
    background: #E7F4E9 !important;
}

.report-info {
    display: block !important;
    flex: 1;
    min-width: 0;
    opacity: 1 !important;
    visibility: visible !important;
}

.report-info span,
.report-info h3,
.report-info small,
.report-timestamp {
    display: block !important;
    color: #173D2C !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.report-info h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

.report-info small,
.report-timestamp {
    color: #62776A !important;
}

@media (max-width: 600px) {
    .report-timestamp {
        font-size: 10px;
    }
}


/* Tablet */

@media (max-width: 900px) {
    .report-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .report-card {
        padding: 22px 18px;
    }
}

/* HP */

@media (max-width: 600px) {
    .report-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 28px;
    }

    .report-card {
        padding: 20px;
        border-radius: 16px;
    }

    .report-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 13px;
        font-size: 20px;
    }

    .report-info h3 {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .report-card,
    .report-card > .fa-arrow-up-right-from-square {
        transition: none;
    }

    .report-card:hover {
        transform: none;
    }
}
