/* =========================================================
   NOTICE PAGE
========================================================= */

.notice-page {
    padding: 20px 0 40px;
    background: #fff;
}


/* =========================================================
   NOTICE LISTING
========================================================= */

.notice-listing {
    width: 100%;
}


/* =========================================================
   NOTICE HEADER
========================================================= */

.notice-header {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 25px;
    padding: 17px 20px;

    background: linear-gradient(
        135deg,
        #f3fbf7 0%,
        #e7f6ee 100%
    );

    border: 1px solid #dcece5;
    border-radius: 10px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}


/* Header Icon */

.notice-header-icon {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0a9b5c;
    color: #fff;

    border-radius: 8px;

    font-size: 19px;

    box-shadow: 0 4px 10px rgba(10, 155, 92, 0.20);
}


/* Header Content */

.notice-header-content {
    min-width: 0;
}


/* Important:
   This overrides the existing global h1 style
*/

.notice-header h1 {
    display: block;

    position: static;

    margin: 0 !important;
    padding: 0;

    color: #006d46;

    font-size: 26px;
    font-weight: 700;

    line-height: 1.3;
}


/* Remove global h1 underline */

.notice-header h1:after {
    display: none !important;
    content: none !important;
}


/* Header Subtitle */

.notice-header p {
    margin: 4px 0 0;

    color: #7d8f89;

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   NOTICE GRID
========================================================= */

.notice-grid {
    display: flex;
    flex-wrap: wrap;

    margin-left: -10px;
    margin-right: -10px;
}


/* =========================================================
   NOTICE CARD
========================================================= */

.notice-card {
    position: relative;

    width: calc(50% - 20px);

    margin: 0 10px 20px;

    background: #fff;

    border: 1px solid #e1eee9;
    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.045);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


/* Top Green Line */

.notice-card:before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background: linear-gradient(
        90deg,
        #0a9b5c,
        #30d87b
    );
}


/* Hover */

.notice-card:hover {
    transform: translateY(-4px);

    border-color: #b9dfcf;

    box-shadow:
        0 10px 25px rgba(0, 109, 70, 0.10);
}


/* =========================================================
   CARD TOP
========================================================= */

.notice-card-top {
    display: flex;
    align-items: center;

    padding: 18px 18px 10px;
}


/* Notice Icon */

.notice-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: #edf9f3;
    color: #0a9b5c;

    border-radius: 7px;

    font-size: 15px;
}


/* Notice Label */

.notice-label {
    margin-left: 9px;

    padding: 4px 8px;

    background: #f2faf6;
    color: #0a9b5c;

    border-radius: 4px;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.5px;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.notice-content {
    padding: 4px 18px 15px;
}


/* Notice Title */

.notice-content h3 {
    margin: 0 0 10px;

    color: #006d46;

    font-size: 17px;
    font-weight: 700;

    line-height: 1.45;

    word-break: break-word;

    transition: color 0.2s ease;
}


.notice-card:hover .notice-content h3 {
    color: #0a9b5c;
}


/* Description */

.notice-description {
    color: #687875;

    font-size: 12px;

    line-height: 1.75;

    word-break: break-word;
}


/* Description Paragraph */

.notice-description p {
    margin: 0 0 7px;
}


/* Remove last paragraph margin */

.notice-description p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   CARD FOOTER
========================================================= */

.notice-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 3px;

    padding: 11px 18px;

    background: #fbfdfc;

    border-top: 1px solid #edf2ef;
}


/* Date */

.notice-date {
    display: inline-flex;
    align-items: center;

    color: #8a9994;

    font-size: 10px;
    font-weight: 500;
}


.notice-date i {
    margin-right: 5px;

    color: #0a9b5c;

    font-size: 11px;
}


/* Arrow */

.notice-arrow {
    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #b1c1bb;

    border-radius: 50%;

    transition: all 0.2s ease;
}


.notice-card:hover .notice-arrow {
    background: #edf9f3;
    color: #0a9b5c;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.notice-empty {
    width: 100%;

    padding: 60px 20px;

    text-align: center;

    background: #fbfdfc;

    border: 1px dashed #d6e7df;
    border-radius: 10px;
}


/* Empty Icon */

.notice-empty-icon {
    width: 55px;
    height: 55px;

    margin: 0 auto 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #edf9f3;
    color: #0a9b5c;

    border-radius: 50%;

    font-size: 21px;
}


.notice-empty h3 {
    margin: 0 0 5px;

    color: #006d46;

    font-size: 17px;
    font-weight: 700;
}


.notice-empty p {
    margin: 0;

    color: #8a9994;

    font-size: 12px;
}


/* =========================================================
   PAGINATION
========================================================= */

.notice-pagination {
    margin-top: 8px;

    text-align: center;
}


.notice-pagination .pagination {
    margin: 0;
}


/* Pagination Items */

.notice-pagination .pagination li a,
.notice-pagination .pagination li span {
    color: #006d46;
}


.notice-pagination .pagination li.active a,
.notice-pagination .pagination li.active span {
    background: #0a9b5c;
    border-color: #0a9b5c;
    color: #fff;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 767px) {

    .notice-page {
        padding: 15px 0 30px;
    }


    /* Header */

    .notice-header {
        padding: 14px;
        gap: 11px;

        margin-bottom: 20px;
    }


    .notice-header-icon {
        width: 40px;
        height: 40px;

        font-size: 16px;
    }


    .notice-header h1 {
        font-size: 22px;
    }


    .notice-header p {
        font-size: 10px;
    }


    /* Cards */

    .notice-card {
        width: calc(100% - 20px);

        margin-bottom: 15px;
    }


    .notice-card-top {
        padding: 15px 15px 9px;
    }


    .notice-content {
        padding: 3px 15px 14px;
    }


    .notice-content h3 {
        font-size: 16px;
    }


    .notice-description {
        font-size: 11px;
        line-height: 1.65;
    }


    .notice-footer {
        padding: 10px 15px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .notice-page {
        padding-top: 10px;
    }


    .notice-header {
        padding: 13px;
    }


    .notice-header h1 {
        font-size: 20px;
    }


    .notice-header p {
        display: none;
    }


    .notice-header-icon {
        width: 38px;
        height: 38px;

        font-size: 15px;
    }


    .notice-content h3 {
        font-size: 15px;
    }



    .notice-description {
        font-size: 11px;
    }


    .notice-label {
        font-size: 8px;
    }


    .notice-date {
        font-size: 9px;
    }
}