/* =========================================================
   PENGUMUMAN & INFO SINGKAT
========================================================= */

.pengumuman {
    padding: 110px 0;
    background: var(--krem);
}

.pengumuman .wrap {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.pengumuman .section-head {
    margin-bottom: 34px;
}

.pengumuman .section-head-text {
    max-width: 680px;
}


/* =========================================================
   NOTICE BOARD
========================================================= */

.pengumuman-board {
    border: 1px solid var(--garis);
    background: var(--putih);

    box-shadow:
        0 18px 40px rgba(23, 59, 47, 0.05);
}


/* =========================================================
   BOARD HEADER
========================================================= */

.pengumuman-board-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 17px 23px;

    border-bottom: 1px solid var(--garis);

    background: var(--kertas);
}

.pengumuman-board-title {
    display: flex;
    align-items: center;

    gap: 10px;

    font-family: "IBM Plex Mono", monospace;

    font-size: 9px;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: .10em;

    color: var(--tinta);
}

.pengumuman-pulse {
    position: relative;

    display: block;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--emas);
}

.pengumuman-pulse::after {
    content: "";

    position: absolute;

    inset: -4px;

    border: 1px solid rgba(184, 145, 71, .35);

    border-radius: 50%;

    animation: pengumumanPulse 2s ease-out infinite;
}

@keyframes pengumumanPulse {

    0% {
        opacity: .8;
        transform: scale(.7);
    }

    70% {
        opacity: 0;
        transform: scale(1.8);
    }

    100% {
        opacity: 0;
        transform: scale(1.8);
    }

}

.pengumuman-count {
    font-family: "IBM Plex Mono", monospace;

    font-size: 8px;

    text-transform: uppercase;
    letter-spacing: .07em;

    color: rgba(35, 41, 31, .42);
}


/* =========================================================
   LIST
========================================================= */

.pengumuman-list {
    display: flex;
    flex-direction: column;
}


/* =========================================================
   ITEM
========================================================= */

.pengumuman-item {
    display: grid;

    grid-template-columns:
        85px
        minmax(0, 1fr)
        40px;

    align-items: center;

    gap: 20px;

    padding: 22px 23px;

    border-bottom: 1px solid var(--garis);

    background: var(--putih);

    transition:
        background .2s ease,
        padding-left .2s ease;
}

.pengumuman-item:last-child {
    border-bottom: 0;
}

.pengumuman-item:hover {
    background: #fbfaf5;

    padding-left: 28px;
}


/* =========================================================
   DATE
========================================================= */

.pengumuman-date {
    display: flex;
    flex-direction: column;

    align-items: flex-start;
}

.pengumuman-date strong {
    display: block;

    font-family: "Fraunces", serif;

    font-size: 31px;
    font-weight: 500;

    line-height: .95;

    color: var(--hijau-tua);
}

.pengumuman-date span {
    margin-top: 5px;

    font-family: "IBM Plex Mono", monospace;

    font-size: 8px;

    text-transform: uppercase;
    letter-spacing: .05em;

    color: rgba(35, 41, 31, .42);
}


/* =========================================================
   CONTENT
========================================================= */

.pengumuman-item-content {
    min-width: 0;
}

.pengumuman-tag {
    display: inline-block;

    margin-bottom: 7px;

    padding: 4px 7px;

    border: 1px solid rgba(184, 145, 71, .28);

    background: rgba(184, 145, 71, .08);

    font-family: "IBM Plex Mono", monospace;

    font-size: 7px;

    text-transform: uppercase;
    letter-spacing: .08em;

    color: var(--emas);
}

.pengumuman-item-content h3 {
    margin: 0;

    font-family: "Fraunces", serif;

    font-size: 20px;
    font-weight: 600;

    line-height: 1.25;

    color: var(--tinta);
}

.pengumuman-item-content p {
    margin: 7px 0 0;

    max-width: 720px;

    font-size: 10px;
    line-height: 1.65;

    color: rgba(35, 41, 31, .53);
}


/* =========================================================
   ARROW
========================================================= */

.pengumuman-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    padding: 0;

    border: 1px solid var(--garis);

    background: transparent;

    color: rgba(35, 41, 31, .42);

    font-family: inherit;
    font-size: 17px;
    line-height: 1;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.pengumuman-arrow:hover {
    background: var(--hijau-tua);

    color: var(--putih);

    border-color: var(--hijau-tua);

    transform: translateX(3px);
}


/* =========================================================
   FOOTER
========================================================= */

.pengumuman-board-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 15px 23px;

    background: var(--kertas);

    border-top: 1px solid var(--garis);
}

.pengumuman-board-footer > span:first-child {
    font-family: "IBM Plex Mono", monospace;

    font-size: 7px;

    text-transform: uppercase;
    letter-spacing: .07em;

    color: rgba(35, 41, 31, .37);
}

.pengumuman-all {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: var(--hijau-tua);

    font-size: 9px;
    font-weight: 600;

    text-decoration: none;

    cursor: pointer;

    transition:
        color .2s ease;
}

.pengumuman-all span {
    transition:
        transform .2s ease;
}

.pengumuman-all:hover {
    color: var(--emas);
}

.pengumuman-all:hover span {
    transform: translateX(3px);
}


/* =========================================================
   EMPTY
========================================================= */

.pengumuman-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 180px;

    padding: 30px;

    text-align: center;
}

.pengumuman-empty strong {
    font-family: "Fraunces", serif;

    font-size: 21px;
    font-weight: 500;

    color: var(--tinta);
}

.pengumuman-empty span {
    margin-top: 8px;

    max-width: 420px;

    font-family: "IBM Plex Mono", monospace;

    font-size: 8px;

    line-height: 1.7;

    text-transform: uppercase;
    letter-spacing: .05em;

    color: rgba(35, 41, 31, .38);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .pengumuman {
        padding: 80px 0;
    }

    .pengumuman .wrap {
        width: min(100% - 30px, 1180px);
    }

    .pengumuman-board-head {
        padding: 15px 17px;
    }

    .pengumuman-item {
        grid-template-columns:
            65px
            minmax(0, 1fr)
            34px;

        gap: 13px;

        padding: 18px 17px;
    }

    .pengumuman-item:hover {
        padding-left: 20px;
    }

    .pengumuman-date strong {
        font-size: 27px;
    }

    .pengumuman-item-content h3 {
        font-size: 17px;
    }

    .pengumuman-item-content p {
        font-size: 9px;
    }

    .pengumuman-arrow {
        width: 32px;
        height: 32px;
    }

    .pengumuman-board-footer {
        align-items: flex-start;
        flex-direction: column;

        gap: 9px;

        padding: 14px 17px;
    }
}

@media (max-width: 500px) {

    .pengumuman-board-head {
        align-items: flex-start;
        flex-direction: column;

        gap: 8px;
    }

    .pengumuman-item {
        grid-template-columns:
            52px
            minmax(0, 1fr)
            30px;

        gap: 10px;

        padding: 17px 14px;
    }

    .pengumuman-item:hover {
        padding-left: 17px;
    }

    .pengumuman-date strong {
        font-size: 24px;
    }

    .pengumuman-date span {
        font-size: 7px;
    }

    .pengumuman-tag {
        font-size: 6px;
        padding: 3px 6px;
    }

    .pengumuman-item-content h3 {
        font-size: 15px;
    }

    .pengumuman-item-content p {
        font-size: 8.5px;
    }

    .pengumuman-arrow {
        width: 29px;
        height: 29px;

        font-size: 14px;
    }
}