/* Giao diện riêng cho khu vực Thông báo của học sinh và phụ huynh */

.my-news {
    padding: 53px 0 101px !important;
}

.bottom-full-news {
    background: rgba(255, 255, 255, .92) !important;
    border: 0 !important;
    border-radius: 24px !important;
    padding: 24px !important;
    box-shadow: 0 14px 40px rgba(31, 86, 132, .10);
}

.notice-page-heading {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 4px 4px 24px;
    margin-bottom: 24px;
    border-bottom: 1px dashed #cfe2ee;
}

.notice-heading-mark {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    color: #fff;
    font-size: 25px;
    border-radius: 20px 20px 20px 7px;
    background: linear-gradient(145deg, #ffca55, #ff8a4c);
    box-shadow: 0 9px 18px rgba(255, 151, 70, .28);
    transform: rotate(-5deg);
}

.notice-heading-copy {
    min-width: 0;
}

.notice-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #e01f2f;
    font-family: 'Inter_24pt-SemiBold';
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.my-news .notice-page-heading h1 {
    margin: 0;
    color: #0055b3;
    font-family: 'MuiNe Baloo';
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.15;
    text-transform: none;
    white-space: normal;
}

.notice-heading-description {
    margin: 7px 0 0;
    color: #69849a;
    font-family: 'Inter_24pt-Regular';
    font-size: 15px;
}

.notice-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px !important;
    margin: 0 !important;
}

.notice-item {
    min-width: 0;
    padding: 0 !important;
}

.notice-item .p-news-link__type2 {
    height: 100%;
    display: flex !important;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e3edf3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 7px 18px rgba(48, 102, 138, .07);
}

.notice-item .p-news-img__type2 {
    height: 184px !important;
    flex: 0 0 184px;
    background: #eaf7fb;
}

.notice-card-badge {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    color: #fff;
    font-family: 'Inter_24pt-SemiBold';
    font-size: 11px;
    letter-spacing: .02em;
    border-radius: 999px;
    background: rgb(0 106 218);
    box-shadow: 0 4px 10px rgba(13, 91, 111, .18);
}

.notice-item .p-news-content__type2 {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 17px 18px 18px !important;
}

.notice-item .p-news-date__type2 {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
    color: #7a98a9;
    font-family: 'Inter_24pt-Regular';
    font-size: 12px;
}

.notice-item .p-news-date__type2 svg {
    width: 14px;
    height: 14px;
    position: relative;
    top: -1px;
}

.notice-item .p-news-date__type2 svg path {
    fill: #ff9a55;
}

.notice-views {
    margin-left: auto;
    color: #91a6b2;
    white-space: nowrap;
}

.notice-views i {
    margin-right: 3px;
}

.notice-item .p-news-content__type2 .title {
    display: -webkit-box;
    min-height: auto;
    margin: 0 0 8px;
    overflow: hidden;
    color: #0745c1;
    font-family: 'Inter_24pt-SemiBold';
    font-size: 16px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.notice-item .p-news-content__type2 .descript {
    display: -webkit-box;
    min-height: 45px;
    margin: 0;
    overflow: hidden;
    color: #718595;
    font-family: 'Inter_24pt-Regular';
    font-size: 14px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.notice-item .detail-link-new {
    margin-top: auto;
    padding-top: 14px;
    color: #ef7c4a;
    font-family: 'Inter_24pt-SemiBold';
    font-size: 13px;
}

.notice-item .detail-link-new svg path {
    fill: #ef7c4a;
}

.notice-item .p-news-link__type2:hover {
    border-color: #8ad8e0;
}

.list-side-bar-minibanner {
    padding-left: 0;
}

.list-side-bar-minibanner .list-mini-banner-l,
.list-side-bar-minibanner .side-link .p-side-wrap {
    border-radius: 18px;
    box-shadow: 0 9px 25px rgba(31, 86, 132, .08);
}

.list-side-bar-minibanner .list-mini-banner-l {
    background: #fff;
    padding: 12px;
}

.list-side-bar-minibanner .side-link .p-side-wrap {
    border-color: #bde2e1;
    background: #f8fffc;
}

.list-side-bar-minibanner .side-link .p-side-wrap h5,
.list-side-bar-minibanner .side-thongke h4 {
    color: #0055b3;
}

@media (max-width: 1023px) {
    .my-news {
        padding-top: 22px !important;
    }
    .list-side-bar-minibanner {
        padding-left: 0;
    }
}

@media (max-width: 739px) {
    .my-news {
        padding: 14px 0 32px !important;
    }
    .bottom-full-news {
        padding: 17px 13px !important;
        border-radius: 18px !important;
    }
    .notice-page-heading {
        gap: 12px;
        padding-bottom: 18px;
        margin-bottom: 17px;
    }
    .notice-heading-mark {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 15px 15px 15px 5px;
        font-size: 19px;
    }
    .notice-eyebrow {
        font-size: 10px;
    }
    .my-news .notice-page-heading h1 {
        font-size: 23px !important;
    }
    .notice-heading-description {
        font-size: 13px;
        line-height: 1.45;
    }
    .notice-list {
        grid-template-columns: 1fr;
        gap: 14px !important;
    }
    .notice-item .p-news-link__type2 {
        flex-direction: row;
        min-height: 110px;
    }
    .notice-item .p-news-img__type2 {
        width: 112px;
        height: auto !important;
        min-height: 110px;
        flex: 0 0 112px;
    }
    .notice-card-badge {
        top: 9px;
        left: 8px;
        padding: 5px 7px;
        font-size: 0;
    }
    .notice-card-badge i {
        font-size: 13px;
    }
    .notice-item .p-news-content__type2 {
        padding: 12px 13px !important;
    }
    .notice-item .p-news-content__type2 .title {
        min-height: 0;
        font-size: 15px;
        line-height: 1.4;
        margin-bottom: 3px;
    }
    .notice-item .p-news-content__type2 .descript {
        min-height: 0;
        font-size: 12px;
        line-height: 1.45;
        -webkit-line-clamp: 2;
        display: none;
    }
    .notice-item .detail-link-new {
        padding-top: 3px;
        font-size: 12px;
        margin-top: 4px;
    }
    .notice-item .p-news-date__type2 {
        gap: 6px;
        font-size: 10px;
    }
}