.phpb-kegiatan-header {
    padding: 24px 0;

    background: #fff;

    border-bottom: 1px solid #e5e7eb;
}

.phpb-kegiatan-breadcrumb {
    font-size: .85rem;
}

.phpb-kegiatan-breadcrumb a {
    color: #2563eb;

    font-weight: 600;

    text-decoration: none;
}

.phpb-kegiatan-breadcrumb a:hover {
    color: #1d4ed8;
}

.phpb-kegiatan-breadcrumb .breadcrumb-item {
    color: #64748b;
}

.phpb-kegiatan-breadcrumb .breadcrumb-item.active {
    color: #172033;

    font-weight: 600;
}

.phpb-kegiatan-title {
    display: flex;

    align-items: center;

    gap: 14px;
}

.phpb-kegiatan-title-icon {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #2563eb;

    background: #eff6ff;

    border-radius: 14px;

    font-size: 1.25rem;
}

.phpb-kegiatan-title h1 {
    margin: 0 0 3px;

    color: #172033;

    font-size: clamp(1.8rem, 3vw, 2.35rem);

    line-height: 1.25;

    font-weight: 800;

    letter-spacing: -.5px;
}

.phpb-kegiatan-title p {
    margin: 0;

    color: #64748b;

    font-size: .95rem;

    line-height: 1.4;
}

.phpb-kegiatan-container {
    padding-top: 28px;

    padding-bottom: 50px;
}

.phpb-kegiatan-year-card {
    overflow: hidden;

    background: #fff;

    border: 1px solid #e5e7eb;

    border-radius: 15px;

    box-shadow:
        0 5px 18px rgba(15, 23, 42, .04);

    position: sticky;

    top: 90px;
}

.phpb-kegiatan-year-header {
    display: flex;

    align-items: center;

    gap: 9px;

    padding: 13px 16px;

    color: #fff;

    background: #2563eb;

    font-size: .95rem;

    font-weight: 700;
}

.phpb-kegiatan-year-header i {
    font-size: 1rem;
}

.phpb-kegiatan-year-list {
    padding: 6px;
}

.phpb-kegiatan-year-item {
    min-height: 42px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    padding: 8px 11px;

    color: #475569;

    border-radius: 9px;

    font-size: .92rem;

    font-weight: 650;

    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease;
}

.phpb-kegiatan-year-item:hover {
    color: #2563eb;

    background: #eff6ff;
}

.phpb-kegiatan-year-item.active {
    color: #fff;

    background: #2563eb;
}

.phpb-kegiatan-year-count {
    min-width: 25px;
    height: 23px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0 7px;

    color: #2563eb;

    background: #eff6ff;

    border-radius: 50px;

    font-size: .76rem;

    font-weight: 700;
}

.phpb-kegiatan-year-item.active .phpb-kegiatan-year-count {
    color: #2563eb;

    background: #fff;
}

.phpb-kegiatan-year-empty {
    padding: 12px 10px;

    color: #64748b;

    font-size: .88rem;
}

.phpb-kegiatan-content-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 22px;

    padding-bottom: 12px;

    border-bottom: 1px solid #e5e7eb;
}

.phpb-kegiatan-content-header h2 {
    margin: 0 0 3px;

    color: #172033;

    font-size: 1.25rem;

    font-weight: 750;
}

.phpb-kegiatan-content-header p {
    margin: 0;

    color: #64748b;

    font-size: .87rem;
}

.phpb-kegiatan-total {
    flex-shrink: 0;

    padding: 6px 11px;

    color: #475569;

    background: #f1f5f9;

    border-radius: 50px;

    font-size: .8rem;

    font-weight: 700;
}


.phpb-kegiatan-month {
    margin-bottom: 25px;
}

.phpb-kegiatan-month-title {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 11px;

    color: #2563eb;

    font-size: .95rem;

    font-weight: 750;
}

.phpb-kegiatan-month-icon {
    width: 30px;
    height: 30px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    color: #2563eb;

    background: #eff6ff;

    border-radius: 8px;

    font-size: .85rem;
}


.phpb-kegiatan-card {
    height: 100%;

    background: #fff;

    border: 1px solid #e5e7eb;

    border-radius: 14px;

    box-shadow:
        0 4px 15px rgba(15, 23, 42, .035);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.phpb-kegiatan-card:hover {
    transform: translateY(-2px);

    border-color: #dbeafe;

    box-shadow:
        0 8px 22px rgba(15, 23, 42, .07);
}

.phpb-kegiatan-card-body {
    padding: 16px;
}


.phpb-kegiatan-card-top {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 9px;
}

.phpb-kegiatan-date {
    display: flex;

    align-items: flex-start;

    gap: 7px;

    color: #64748b;

    font-size: .8rem;

    line-height: 1.45;
}

.phpb-kegiatan-date > i {
    flex-shrink: 0;

    margin-top: 2px;

    color: #2563eb;

    font-size: .9rem;
}

.phpb-kegiatan-time {
    display: inline-flex;

    align-items: center;

    gap: 3px;

    margin-left: 5px;

    color: #64748b;
}

.phpb-kegiatan-time i {
    color: #64748b;
}


.phpb-kegiatan-status {
    flex-shrink: 0;

    padding: 4px 8px;

    border-radius: 50px;

    font-size: .7rem;

    line-height: 1;

    font-weight: 700;

    text-transform: capitalize;
}

.phpb-status-success {
    color: #166534;

    background: #dcfce7;
}

.phpb-status-danger {
    color: #991b1b;

    background: #fee2e2;
}

.phpb-status-warning {
    color: #854d0e;

    background: #fef9c3;
}

.phpb-status-secondary {
    color: #475569;

    background: #f1f5f9;
}


.phpb-kegiatan-name {
    margin: 0 0 9px;

    color: #172033;

    font-size: 1.02rem;

    line-height: 1.4;

    font-weight: 750;
}

.phpb-kegiatan-info {
    display: flex;

    align-items: flex-start;

    gap: 7px;

    margin-bottom: 7px;

    color: #475569;

    font-size: .84rem;

    line-height: 1.45;
}

.phpb-kegiatan-info i {
    flex-shrink: 0;

    margin-top: 2px;

    color: #64748b;
}


.phpb-kegiatan-description {
    color: #64748b;

    font-size: .84rem;

    line-height: 1.55;
}



.phpb-kegiatan-empty {
    padding: 45px 25px;

    text-align: center;

    background: #fff;

    border: 1px solid #e5e7eb;

    border-radius: 17px;

    box-shadow:
        0 5px 18px rgba(15, 23, 42, .035);
}

.phpb-kegiatan-empty-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 13px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #2563eb;

    background: #eff6ff;

    border-radius: 50%;

    font-size: 1.35rem;
}

.phpb-kegiatan-empty h3 {
    margin: 0 0 5px;

    color: #172033;

    font-size: 1.2rem;

    font-weight: 750;
}

.phpb-kegiatan-empty p {
    margin: 0;

    color: #64748b;

    font-size: .92rem;
}


@media (max-width: 991.98px) {

    .phpb-kegiatan-header {
        padding: 22px 0;
    }

    .phpb-kegiatan-container {
        padding-top: 24px;

        padding-bottom: 45px;
    }

    .phpb-kegiatan-year-card {
        position: static;
    }

    .phpb-kegiatan-year-list {
        display: flex;

        flex-wrap: wrap;

        gap: 5px;
    }

    .phpb-kegiatan-year-item {
        flex: 0 0 auto;

        min-width: 90px;
    }

}


@media (max-width: 767.98px) {

    .phpb-kegiatan-header {
        padding: 20px 0;
    }

    .phpb-kegiatan-breadcrumb {
        font-size: .8rem;
    }

    .phpb-kegiatan-title {
        gap: 11px;

        align-items: flex-start;
    }

    .phpb-kegiatan-title-icon {
        width: 45px;
        height: 45px;

        border-radius: 12px;

        font-size: 1rem;
    }

    .phpb-kegiatan-title h1 {
        font-size: 1.55rem;

        line-height: 1.3;
    }

    .phpb-kegiatan-title p {
        font-size: .84rem;
    }

    .phpb-kegiatan-container {
        padding-top: 20px;

        padding-bottom: 40px;
    }


    /* Year */

    .phpb-kegiatan-year-header {
        padding: 12px 14px;
    }

    .phpb-kegiatan-year-list {
        padding: 5px;
    }

    .phpb-kegiatan-year-item {
        min-height: 39px;

        padding: 7px 10px;

        font-size: .85rem;
    }


    /* Content */

    .phpb-kegiatan-content-header {
        align-items: flex-start;

        margin-bottom: 18px;
    }

    .phpb-kegiatan-content-header h2 {
        font-size: 1.1rem;
    }

    .phpb-kegiatan-content-header p {
        font-size: .8rem;
    }

    .phpb-kegiatan-total {
        font-size: .72rem;

        padding: 5px 9px;
    }


    /* Month */

    .phpb-kegiatan-month {
        margin-bottom: 21px;
    }

    .phpb-kegiatan-month-title {
        margin-bottom: 9px;

        font-size: .9rem;
    }


    /* Card */

    .phpb-kegiatan-card-body {
        padding: 15px;
    }

    .phpb-kegiatan-card-top {
        flex-direction: column;

        gap: 6px;
    }

    .phpb-kegiatan-status {
        align-self: flex-start;
    }

    .phpb-kegiatan-name {
        font-size: .98rem;
    }

    .phpb-kegiatan-date {
        font-size: .78rem;
    }

    .phpb-kegiatan-info,
    .phpb-kegiatan-description {
        font-size: .82rem;
    }


    /* Empty */

    .phpb-kegiatan-empty {
        padding: 38px 20px;
    }

}


@media (max-width: 420px) {

    .phpb-kegiatan-title h1 {
        font-size: 1.4rem;
    }

    .phpb-kegiatan-title p {
        font-size: .8rem;
    }

    .phpb-kegiatan-year-list {
        display: grid;

        grid-template-columns: 1fr 1fr;
    }

    .phpb-kegiatan-year-item {
        width: 100%;

        min-width: 0;
    }

    .phpb-kegiatan-content-header {
        flex-direction: column;

        gap: 7px;
    }

    .phpb-kegiatan-total {
        align-self: flex-start;
    }

}