.unews-page {
    background: #fff;
    color: #203858;
    font-family: "Inter", "Battambang", "Khmer OS Battambang", sans-serif;
}

.unews-page *,
.unews-lightbox {
    box-sizing: border-box;
}

.unews-container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.unews-page a {
    color: inherit;
    text-decoration: none;
}

/* Blue university banner */
.unews-banner {
    padding: 30px 0;
    background: #203858;
    color: #fff;
}

.unews-banner-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
}

.unews-banner h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.unews-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    color: #a9bbd1;
    font-size: 11px;
    line-height: 1.9;
}

.unews-breadcrumb [aria-current] {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.unews-breadcrumb a:hover {
    color: #fff;
}

/* Main layout */
.unews-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 44px;
    padding-top: 55px;
}

.unews-article,
.unews-sidebar {
    min-width: 0;
}

.unews-cover {
    position: relative;
}

.unews-image-button {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.unews-cover img {
    display: block;
    width: 100%;
    height: auto;
}

.unews-category,
.unews-date-badge {
    position: absolute;
    top: 10px;
    padding: 5px 9px;
    font-size: 10px;
    line-height: 1.5;
    pointer-events: none;
}

.unews-category {
    left: 10px;
    background: #343434;
    color: #fff;
}

.unews-date-badge {
    right: 10px;
    background: #fff;
    color: #203858;
    font-weight: 700;
}

.unews-article-title {
    margin: 30px 0 12px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.unews-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    margin-bottom: 24px;
    color: #8998aa;
    font-size: 12px;
}

.unews-content {
    margin-bottom: 28px;
    color: #35485f;
    font-size: 16px;
    line-height: 2.1;
    overflow-wrap: anywhere;
}

/* 3-column gallery */
.unews-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
}

.unews-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.unews-gallery button:hover img {
    opacity: 0.88;
}

.unews-video {
    display: block;
    width: 100%;
    margin-top: 20px;
    background: #111;
}

/* Sidebar widgets */
.unews-widget {
    margin-bottom: 28px;
    padding: 22px;
    background: #f5f5f5;
}

.unews-widget>h2 {
    margin: 0 0 18px;
    font-size: 16px;
    font-weight: 700;
}

.unews-search {
    display: flex;
    border: 1px solid #e0e4e9;
    background: #fff;
}

.unews-search input {
    width: 100%;
    min-width: 0;
    padding: 11px;
    border: 0;
    background: transparent;
    color: #203858;
    font: inherit;
    font-size: 12px;
}

.unews-search button {
    padding: 0 12px;
    border: 0;
    background: transparent;
    color: #8d9bad;
    cursor: pointer;
}

.unews-recent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.unews-recent:last-child {
    margin-bottom: 0;
}

.unews-recent>img {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.unews-recent>div {
    min-width: 0;
}

.unews-recent h3 {
    margin: 0 0 5px;
    color: #25466c;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.unews-recent:hover h3 {
    color: #1884c3;
}

.unews-recent time {
    color: #98a3b0;
    font-size: 11px;
}

/* Comments */
.unews-comments {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #e6eaf0;
}

.unews-comments h2 {
    font-size: 19px;
}

.unews-comment {
    margin-bottom: 12px;
    padding: 14px;
    background: #f5f7fa;
    font-size: 14px;
}

.unews-comment p {
    margin: 8px 0 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.unews-comments label {
    display: block;
    margin: 20px 0 10px;
}

.unews-comments textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 12px;
    border: 1px solid #d7e0e9;
    font: inherit;
    resize: vertical;
}

.unews-submit {
    margin-top: 12px;
    padding: 11px 22px;
    border: 0;
    background: #203858;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.unews-error {
    color: #be123c;
}

/* Related cards */
.unews-related {
    padding-top: 50px;
    padding-bottom: 55px;
}

.unews-related-heading {
    margin: 0 0 25px;
    font-size: 24px;
    text-align: center;
}

.unews-related-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 60px) / 4);
    gap: 20px;
    overflow-x: auto;
    padding: 8px 0 18px;
    scroll-snap-type: x mandatory;
}

.unews-related-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #edf0f4;
    border-radius: 12px;
    scroll-snap-align: start;
    transition: transform 0.25s ease;
}

.unews-related-card:hover {
    transform: translateY(-4px);
}

.unews-related-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.unews-related-body {
    padding: 16px;
}

.unews-related-body time {
    color: #8a97a8;
    font-size: 10px;
}

.unews-related-body h3 {
    display: -webkit-box;
    height: 3.6em;
    margin: 9px 0 15px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: 15px;
    line-height: 1.8;
}

.unews-related-body>span {
    color: #1682bd;
    font-size: 12px;
}

/* Photo preview */
.unews-lightbox {
    width: min(1100px, calc(100% - 24px));
    max-height: 92dvh;
    padding: 40px 12px 12px;
    border: 0;
    background: #fff;
}

.unews-lightbox::backdrop {
    background: rgba(10, 20, 35, 0.85);
}

.unews-lightbox form button {
    position: absolute;
    top: 3px;
    right: 10px;
    border: 0;
    background: transparent;
    font-size: 30px;
    cursor: pointer;
}

.unews-lightbox>img {
    display: block;
    max-width: 100%;
    max-height: 80dvh;
    margin: auto;
    object-fit: contain;
}

@media (max-width: 991px) {
    .unews-layout {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 25px;
    }

    .unews-related-track {
        grid-auto-columns: calc((100% - 20px) / 2);
    }
}

@media (max-width: 767px) {
    .unews-container {
        width: calc(100% - 28px);
    }

    .unews-banner-inner,
    .unews-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .unews-banner-inner {
        gap: 15px;
    }

    .unews-banner h1 {
        font-size: 19px;
    }

    .unews-breadcrumb {
        justify-content: flex-start;
    }

    .unews-layout {
        padding-top: 28px;
    }

    .unews-article-title {
        margin-top: 22px;
        font-size: 19px;
    }

    .unews-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .unews-related-track {
        grid-auto-columns: 82%;
    }
}

@media (prefers-reduced-motion: reduce) {

    .unews-related-card,
    .unews-gallery img {
        transition: none;
    }
}

.unews-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
}

.unews-article>.unews-article-title {
    margin: 0 0 10px;
}

.unews-article>.unews-meta {
    margin-bottom: 20px;
    font-size: 13px;
}

.unews-article>.unews-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    margin: 0 0 20px;
    color: #8998aa;
    font-size: 14px;
}

.unews-meta-brand {
    justify-self: start;
}

.unews-meta-date {
    justify-self: center;
    white-space: nowrap;
}

.unews-meta-stats {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 16px;
}

.unews-meta-stats span,
.unews-meta-stats a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.unews-meta-stats a {
    color: inherit;
    text-decoration: none;
}

.unews-meta-stats a:hover {
    color: #203858;
}

@media (max-width: 576px) {
    .unews-article>.unews-meta {
        gap: 8px;
        font-size: 11px;
    }

    .unews-meta-stats {
        gap: 8px;
    }
}

.unews-article>.unews-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    width: 100%;
    margin: 0 0 20px;
    color: #687b93;
    font-size: 14px;
}

.unews-meta .unews-meta-stats,
.unews-meta .unews-meta-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0;
}

.unews-meta .unews-meta-info {
    margin-left: auto;
}

.unews-meta-stats>span,
.unews-meta-stats>a,
.unews-meta-info>time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.unews-meta-stats>a {
    color: inherit;
    text-decoration: none;
}

/* ដកចំណុចពី CSS ចាស់ */
.unews-meta-stats>span::before,
.unews-meta-stats>a::before {
    content: none;
}

/* ចំណុចបំបែក */
.unews-meta-stats>*+*::before,
.unews-meta-info>*+*::before {
    content: "•";
    margin-right: 8px;
    color: #687b93;
}

@media (max-width: 576px) {
    .unews-article>.unews-meta {
        font-size: 12px;
        gap: 10px;
    }

    .unews-meta .unews-meta-stats,
    .unews-meta .unews-meta-info {
        gap: 8px;
    }
}

/* កំណត់កម្ពស់ជួរ Views / Like / Comment / Date */
.unews-article>.unews-meta {
    min-height: 28px;
    margin: 0 0 20px;
    align-items: center;
}

/* រុញ Sidebar ឱ្យស្មើនឹងរូបភាព */
.unews-layout>.unews-sidebar {
    margin-top: 48px;
    /* ជួរ metadata 28px + ចន្លោះ 20px */
}

/* Mobile: Sidebar ចុះក្រោមអត្ថបទ */
@media (max-width: 767px) {
    .unews-layout>.unews-sidebar {
        margin-top: 0;
    }
}

.unews-meta-wide {
    padding-top: 40px;
    padding-bottom: 20px;
}

.unews-meta-wide>.unews-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    width: 100%;
    min-height: 28px;
    margin: 0;
    color: #687b93;
    font-size: 14px;
    line-height: 1.8;
}

.unews-meta-wide .unews-meta-info,
.unews-meta-wide .unews-meta-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0;
}

.unews-meta-wide .unews-meta-info>*,
.unews-meta-wide .unews-meta-stats>* {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* សម្អាតចំណុចបំបែកចាស់ */
.unews-meta-wide .unews-meta-info>*::before,
.unews-meta-wide .unews-meta-stats>*::before {
    content: none;
}

/* ចំណុចបំបែករវាងព័ត៌មាន */
.unews-meta-wide .unews-meta-info>*+*::before,
.unews-meta-wide .unews-meta-stats>*::before {
    content: "•";
    margin-right: 8px;
}

.unews-meta-wide a {
    color: inherit;
    text-decoration: none;
}

/* រូបភាព និង Sidebar ចាប់ផ្ដើមស្មើគ្នា */
.unews-page .unews-layout {
    padding-top: 0;
}

.unews-layout>.unews-sidebar {
    margin-top: 0;
}

@media (max-width: 767px) {
    .unews-meta-wide {
        padding-top: 24px;
        padding-bottom: 18px;
    }

    .unews-meta-wide>.unews-meta {
        font-size: 12px;
        gap: 8px 12px;
    }

    .unews-meta-wide .unews-meta-info,
    .unews-meta-wide .unews-meta-stats {
        gap: 10px;
    }
}

.unews-banner .unews-banner-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
}

.unews-banner .unews-banner-inner h1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;

    min-width: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: hidden;

    text-align: left;
    font-size: 22px;
    line-height: 1.9;
    max-height: 3.8em;
}

.unews-banner .unews-breadcrumb {
    justify-self: end;
    align-self: center;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .unews-banner .unews-banner-inner {
        gap: 16px;
    }

    .unews-banner .unews-banner-inner h1 {
        font-size: 18px;
    }
}

/* រូបភាពធំ */
.unews-cover {
    border-radius: 10px;
    overflow: hidden;
}

.unews-cover .unews-image-button,
.unews-cover img {
    display: block;
    width: 100%;
    border-radius: inherit;
}

/* ប្រអប់ Search និងព័ត៌មានថ្មីៗ */
.unews-sidebar .unews-widget {
    border-radius: 10px;
    overflow: hidden;
}

/* ប្រអប់បញ្ចូល Search */
.unews-search input {
    border-radius: 6px;
}

/* រូបភាព Gallery */
.unews-gallery .unews-image-button {
    border-radius: 8px;
    overflow: hidden;
}

.unews-meta-stats .unews-like-stat.is-liked {
    color: #e54865;
}

#news-comments {
    scroll-margin-top: 110px;
}

.unews-related {
    padding-top: 45px;
    padding-bottom: 45px;
}

.unews-related-heading {
    margin: 0 0 30px;
    text-align: center;
    font-size: 24px;
}

.unews-related-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    overflow: visible;
}

.unews-related-track .unews-related-card {
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border: 0;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(32, 56, 88, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.unews-related-card a {
    color: inherit;
    text-decoration: none;
}

.unews-related-card .unews-related-cover {
    display: block;
    overflow: hidden;
}

.unews-related-card .unews-related-cover img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.unews-related-card .unews-related-body {
    position: relative;
    padding: 30px 20px 16px;
}

.unews-related-card .unews-related-avatar {
    position: absolute;
    top: -30px;
    left: 20px;

    width: 58px;
    height: 58px;
    aspect-ratio: 1;
    padding: 5px;
    object-fit: contain;

    border: 3px solid #fff;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.14);
}

.unews-related-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;

    color: #8491a3;
    font-size: 11px;
}

.unews-related-meta>span {
    padding: 1px 5px;
    border: 1px dashed #3982ff;
    border-radius: 5px;
    white-space: nowrap;
}

.unews-related-card .unews-related-body h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;

    height: 3.6em;
    margin: 0;
    overflow: hidden;

    color: #203858;
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
    transition: color 0.3s ease;
}

.unews-related-reading {
    margin: 12px 0 6px;
    color: #3982ff;
    font-size: 12px;
    text-align: center;
}

.unews-related-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid #eef1f5;
}

.unews-related-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.unews-related-more>span {
    transition: transform 0.3s ease;
}

.unews-related-heart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 38px;
    min-height: 38px;
    padding: 0 8px;
    border-radius: 22px;
    background: #edf3ff;
    color: #3982ff;
    font-size: 12px;
}

.unews-related-heart i {
    font-size: 19px;
}

/* Animation ពេលដាក់ mouse លើកាត */
@media (hover: hover) and (pointer: fine) {
    .unews-related-track .unews-related-card:hover {
        transform: translateY(8px);
        box-shadow: 0 14px 26px -10px rgba(57, 130, 255, 0.3);
    }

    .unews-related-card:hover .unews-related-cover img {
        transform: scale(1.05);
    }

    .unews-related-card:hover .unews-related-body h3 {
        color: #3982ff;
    }

    .unews-related-card:hover .unews-related-more>span {
        transform: translateX(4px);
    }
}

@media (max-width: 991px) {
    .unews-related-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .unews-related-track {
        display: flex;
        overflow-x: auto;
        gap: 16px;
        padding: 4px 2px 20px;
        scroll-snap-type: x mandatory;
    }

    .unews-related-track .unews-related-card {
        flex: 0 0 85%;
        height: auto;
        scroll-snap-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {

    .unews-related-card,
    .unews-related-card img,
    .unews-related-card h3,
    .unews-related-more>span {
        transition: none !important;
        transform: none !important;
    }
}

/* សម្អាតការកំណត់ Grid ចាស់ */
.unews-related-track {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
}

/* រៀបរូបភាព និងព័ត៌មានជាបញ្ឈរ */
.unews-related-track .unews-related-card {
    display: flex;
    flex-direction: column;
    height: auto;
}

/* តំណរូបភាពមិនត្រូវមាន height: 100% */
.unews-related-card>a.unews-related-cover {
    display: block;
    flex: 0 0 auto;
    height: auto;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.unews-related-card>.unews-related-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ព័ត៌មាននៅក្រោមរូបភាព */
.unews-related-card>.unews-related-body {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 36px 20px 16px;
}

/* Logo ត្រួតលើគែមរូបភាព */
.unews-related-card .unews-related-avatar {
    top: -29px;
    left: 20px;
    width: 58px;
    height: 58px;
}

.unews-related-card .unews-related-footer {
    margin-top: auto;
}

.unews-related-card .unews-related-reading {
    margin: 12px 0;
}

@media (max-width: 991px) {
    .unews-related-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .unews-related-track {
        display: flex;
        overflow-x: auto;
        padding-bottom: 20px;
    }

    .unews-related-track .unews-related-card {
        flex: 0 0 85%;
        height: auto;
    }
}

.unews-related-card .unews-related-body h3 {
    text-align: left;
}

.unews-related-card .unews-related-body h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;

    height: 3.6em;
    min-height: 3.6em;
    max-height: 3.6em;
    overflow: hidden;

    text-align: left;
    line-height: 1.8;
    white-space: normal;
    overflow-wrap: anywhere;
}

.unews-related-card .unews-related-body h3 a {
    display: inline;
    white-space: normal;
    line-height: inherit;
}

.unews-related-like-form {
    margin: 0;
}

.unews-related-footer .unews-related-heart {
    border: 0;
    font-family: inherit;
    cursor: pointer;
}

.unews-related-footer .unews-related-heart.is-liked {
    background: #fff0f4;
    color: #e54865;
}

.unews-related-heart:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* រៀបកាតជាជួរផ្ដេកសម្រាប់ Auto Slide */
.unews-related .unews-related-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 8px 2px 24px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.unews-related-track::-webkit-scrollbar {
    display: none;
}

.unews-related .unews-related-track .unews-related-card {
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: 0;
    height: auto;
    scroll-snap-align: start;
}

@media (max-width: 991px) {
    .unews-related .unews-related-track .unews-related-card {
        flex-basis: calc((100% - 20px) / 2);
    }
}

@media (max-width: 575px) {
    .unews-related .unews-related-track .unews-related-card {
        flex-basis: 85%;
    }
}

.unews-related-card .unews-related-reading {
    margin: 12px 0 6px;
    color: #3982ff;
    font-size: 12px;
    text-align: center;
}

.unews-related-card .unews-related-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #eef1f5;
}

.unews-related-footer .unews-related-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #203858;
    font-size: 13px;
    text-decoration: none;
}

.unews-related-footer .unews-related-like-form {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
}

.unews-related-footer .unews-related-heart {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    margin: 0;
    padding: 0;

    appearance: none;
    border: 0;
    border-radius: 50%;
    background: #edf3ff;
    color: #3982ff;
    box-shadow: none;
    cursor: pointer;
}

.unews-related-footer .unews-related-heart i {
    font-size: 22px;
}

/* លាក់តែចំនួន ដូចគំរូ។ AJAX នៅតែ update បាន */
.unews-related-heart [data-like-count] {
    display: none;
}

.unews-related-footer .unews-related-heart.is-liked {
    background: #fff0f4;
    color: #e54865;
}

.unews-related-heart:focus-visible {
    outline: 2px solid #3982ff;
    outline-offset: 3px;
}

.unews-comment-thread {
    margin-bottom: 24px;
}

.unews-comment {
    border-radius: 8px;
}

.unews-comment.unews-comment-reply {
    margin-left: 24px;
    border-left: 3px solid #dbe6f5;
}

.unews-comment-delete {
    padding: 5px 0;
    border: 0;
    background: transparent;
    color: #d34562;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.unews-reply-box summary {
    width: fit-content;
    color: #3982ff;
    font-size: 13px;
    cursor: pointer;
}

.unews-reply-box form {
    margin-top: 12px;
}

.unews-comments textarea,
.unews-comments .unews-submit {
    border-radius: 6px;
}

.unews-comments .unews-reply-login {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    color: #3982ff;
    font-size: 13px;
    cursor: pointer;
}

.unews-reply-login:hover {
    text-decoration: underline;
}

.unews-comment[id] {
    scroll-margin-top: 110px;
}

#unews-new-comment-form[hidden] {
    display: none;
}

/* មួយក្រុម = Comment ដើម និង Replies */
.unews-comment-thread {
    position: relative;
    margin-bottom: 26px;
}

.unews-discussion-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 16px;
    scroll-margin-top: 110px;
}

/* Avatar */
.unews-discussion-avatar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #e7effb;
    color: #25466c;
    font-size: 17px;
    font-weight: 700;
}

.unews-discussion-main {
    flex: 1;
    min-width: 0;
}

/* Bubble សមនឹងអត្ថបទ */
.unews-discussion-bubble {
    display: inline-block;
    max-width: 100%;
    padding: 10px 15px;
    border-radius: 18px;
    background: #f0f2f5;
    color: #203858;
}

.unews-discussion-bubble strong {
    display: block;
    font-size: 14px;
    line-height: 1.7;
}

.unews-discussion-bubble p {
    margin: 3px 0 0;
    font-size: 15px;
    line-height: 1.8;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}


/* Date និង Delete ក្រៅ Bubble */
.unews-discussion-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 5px 0 0 12px;
    color: #8491a3;
    font-size: 11px;
}

.unews-discussion-actions form {
    margin: 0;
}

.unews-discussion-actions button {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #d34562;
    font: inherit;
    cursor: pointer;
}

.unews-discussion-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.unews-discussion-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.unews-discussion-avatar span {
    font-weight: 700;
}

/* ខ្សែពី Comment ដើមទៅក្រុម Replies */
.unews-comment-thread:has(.is-reply)>.unews-discussion-item:first-child::after {
    content: "";
    position: absolute;
    top: 40px;
    bottom: 0;
    left: 19px;
    width: 2px;
    background: #dfe3e8;
}

/* Reply រុញចូលខាងស្ដាំ */
.unews-discussion-item.is-reply {
    margin-left: 20px;
    padding-left: 30px;
}

/* ខ្សែបញ្ឈរ */
.unews-discussion-item.is-reply::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -1px;
    width: 2px;
    background: #dfe3e8;
}

/* ខ្សែកោងចូលទៅ Avatar */
.unews-discussion-item.is-reply::after {
    content: "";
    position: absolute;
    top: 0;
    left: -1px;
    width: 25px;
    height: 21px;
    border-left: 2px solid #dfe3e8;
    border-bottom: 2px solid #dfe3e8;
    border-bottom-left-radius: 14px;
}

.unews-discussion-item.is-reply:last-of-type::before {
    bottom: auto;
    height: 20px;
}

.unews-comment-thread>.unews-reply-box,
.unews-comment-thread>.unews-reply-login {
    margin-left: 50px;
}

@media (max-width: 575px) {
    .unews-discussion-avatar {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .unews-discussion-bubble {
        padding: 8px 12px;
    }

    .unews-discussion-bubble p {
        font-size: 14px;
    }

    .unews-discussion-item.is-reply {
        padding-left: 20px;
    }

    .unews-discussion-item.is-reply::after {
        width: 16px;
    }
}

.unews-discussion-bubble .unews-deleted-comment {
    margin: 0;
    color: #8a94a3;
    font-size: 13px;
    font-style: italic;
}

#news-comments .unews-discussion-bubble.is-deleted {
    display: block !important;
    position: static !important;
    width: fit-content !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 8px 12px !important;
    margin: 0 !important;
    border-radius: 12px !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

#news-comments .unews-discussion-bubble.is-deleted p {
    display: block !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

#news-comments .unews-discussion-bubble.is-deleted p {
    white-space: normal !important;
}

/* លាក់ Reply ដោយមិនទុកចន្លោះ */
#news-comments .unews-discussion-item[hidden] {
    display: none !important;
}

/* លាក់ខ្សែតភ្ជាប់ ពេលបិទ Replies */
.unews-comment-thread:not(.replies-expanded)>.unews-discussion-item:first-child::after {
    display: none;
}

.unews-toggle-replies {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 10px 50px;
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: #687b93;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.unews-toggle-replies:hover {
    color: #3982ff;
}

.unews-replies-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.unews-toggle-replies[aria-expanded="true"] .unews-replies-arrow {
    transform: rotate(180deg);
}

@media (max-width: 575px) {
    .unews-toggle-replies {
        margin-left: 44px;
    }
}

.unews-comments-scroll {
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 14px 12px;
    margin-bottom: 18px;
    border: 1px solid #e6eaf0;
    border-radius: 12px;
    background: #fff;
    scrollbar-width: thin;
    scrollbar-color: #bdc9d8 transparent;
}

.unews-comments-scroll::-webkit-scrollbar {
    width: 6px;
}

.unews-comments-scroll::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #bdc9d8;
}

.unews-comments-scroll>.unews-comment-thread:last-child {
    margin-bottom: 0;
}

.unews-comments-scroll:focus-visible {
    outline: 2px solid #3982ff;
    outline-offset: 2px;
}

@media (max-width: 575px) {
    .unews-comments-scroll {
        max-height: 350px;
        padding: 12px 8px;
    }
}

.unews-reply-trigger {
    display: inline-flex;
    align-items: center;
    margin: 6px 0 0 50px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #3982ff;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.unews-reply-trigger:hover {
    text-decoration: underline;
}

.unews-composer-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

#news-comments .unews-composer-heading label {
    margin: 0;
    font-size: 14px;
}

#unews-new-comment-form {
    scroll-margin-top: 110px;
}

#unewsCancelReply {
    flex-shrink: 0;
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: #d34562;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

#unewsCancelReply[hidden] {
    display: none !important;
}

@media (max-width: 575px) {
    .unews-reply-trigger {
        margin-left: 44px;
    }
}

/* ចំណងជើងផ្នែក */
.unews-related-heading {
    margin-bottom: 28px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 7px;
}

/* ជួរ Slide */
.unews-related-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 6px 0 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.unews-related-track::-webkit-scrollbar {
    display: none;
}

.unews-related-track .unews-related-card {
    flex: 0 0 calc((100% - 60px) / 4);
    height: auto;
    border-radius: 16px;
    scroll-snap-align: start;
    box-shadow: 0 6px 18px rgba(32, 56, 88, 0.07);
}

/* រូបភាព */
.unews-related-card>a.unews-related-cover {
    aspect-ratio: 16 / 9;
}

/* កាត់ចន្លោះក្នុងកាត */
.unews-related-card>.unews-related-body {
    display: flex;
    flex-direction: column;
    padding: 30px 22px 16px;
}

.unews-related-card .unews-related-avatar {
    width: 58px;
    height: 58px;
    top: -29px;
    left: 22px;
}

.unews-related-card .unews-related-meta {
    margin-bottom: 6px;
    font-size: 11px;
}

.unews-related-card .unews-related-meta time {
    font-size: 11px;
    text-transform: uppercase;
}

/* ចំណងជើង ២បន្ទាត់ នៅកណ្ដាល */
.unews-related-card .unews-related-body h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    height: 3.6em;
    min-height: 0;
    margin: 0;
    color: #203858;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.8;
    text-align: center;
}

.unews-related-card .unews-related-body h3 a {
    display: inline;
    text-align: inherit;
}

.unews-related-card .unews-related-reading {
    margin: 8px 0 6px;
    text-align: center;
    font-size: 12px;
}

.unews-related-card .unews-related-footer {
    margin-top: 0;
    padding-top: 8px;
}

.unews-related-footer .unews-related-heart {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
}

/* សញ្ញា Slide */
.unews-related-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 8px;
}

.unews-related-dots button {
    width: 15px;
    height: 5px;
    margin: 0;
    padding: 0;
    border: 0;
    background: #989eaa;
    cursor: pointer;
}

.unews-related-dots button.is-active {
    background: #203858;
}

@media (max-width: 991px) {
    .unews-related-track .unews-related-card {
        flex-basis: calc((100% - 20px) / 2);
    }
}

@media (max-width: 575px) {
    .unews-related-track .unews-related-card {
        flex-basis: 85%;
    }
}

/* English ប្រើ Georgia; Khmer ប្រើ Battambang */
@font-face {
    font-family: "LMTC News English";
    src: local("Georgia");
    font-style: normal;
    font-weight: 400;
    unicode-range: U+0000-024F, U+2000-206F;
}

@font-face {
    font-family: "LMTC News English";
    src: local("Georgia Bold"), local("Georgia-Bold");
    font-style: normal;
    font-weight: 700;
    unicode-range: U+0000-024F, U+2000-206F;
}

.news-font-scope,
.news-font-scope *:not(i):not(svg):not(svg *) {
    font-family:
        "LMTC News English",
        "Battambang",
        "Khmer OS Battambang",
        serif !important;
}

/* ឱ្យលេខឈរលើបន្ទាត់ និងមានកម្ពស់ស្មើគ្នា */
.news-font-scope,
.news-font-scope *:not(i):not(svg):not(svg *) {
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "lnum" 1, "tnum" 1;
}

/* កាត់បន្ថយភាពដិតនៃអក្សរតូចៗ និងលេខ */
.news-font-scope :is(time, small),
.news-font-scope .unews-meta,
.news-font-scope .unews-related-meta,
.news-font-scope .unews-related-reading {
    font-weight: 400;
    letter-spacing: normal;
}

/* Font សម្រាប់ Metadata និងលេខ */
.unews-page.news-font-scope :is(.unews-meta,
    .unews-related-meta,
    .unews-related-reading,
    .unews-recent time,
    .unews-discussion-actions),
.unews-page.news-font-scope :is(.unews-meta,
    .unews-related-meta,
    .unews-related-reading,
    .unews-discussion-actions) :not(i):not(svg):not(svg *) {
    font-family: Georgia, "Times New Roman", "Battambang", "Khmer OS Battambang", serif !important;
    font-weight: 400 !important;
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: normal;
    letter-spacing: normal;
}

/* ជួរ LMTC / ថ្ងៃខែ / ចំនួន */
.unews-page .unews-meta-wide .unews-meta {
    font-size: 13px;
    line-height: 1.5;
}

.unews-page .unews-meta-info>span {
    font-weight: 600 !important;
}

.unews-page .unews-meta-info>*,
.unews-page .unews-meta-stats>* {
    display: inline-flex;
    align-items: center;
    line-height: 1.5;
}

/* ថ្ងៃខែ និង Views ក្នុងកាត */
.unews-page .unews-related-meta,
.unews-page .unews-related-meta time,
.unews-page .unews-related-meta>span {
    font-size: 12px;
    line-height: 1.5;
}

.unews-page .unews-related-meta {
    align-items: center;
}

.unews-page .unews-related-meta time {
    text-transform: none;
}

.unews-page .unews-related-reading {
    font-size: 12px;
    line-height: 1.5;
}

/* ចំណងជើងក្នុង News ព័ត៌មានពេញ */
.unews-page h1,
.unews-page h2,
.unews-page h3 {
    font-family: Georgia, "Times New Roman",
        "Battambang", serif !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
}

/* ឈ្មោះ LMTC និងថ្ងៃខែឆ្នាំ */
.unews-page .unews-meta,
.unews-page .unews-meta *:not(i):not(svg):not(svg *),
.unews-page .unews-related-meta,
.unews-page .unews-related-meta *:not(i):not(svg):not(svg *) {
    font-family: Georgia, "Times New Roman",
        "Battambang", serif !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;

    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "lnum" 1, "tnum" 1;
}

/* អក្សរ និងលេខ */
html body .unews-page .unews-meta,
html body .unews-page .unews-meta :is(span, time, a, button) {
    font-size: 16px !important;
    line-height: 1.5 !important;
}

/* Icon */
html body .unews-page .unews-meta i {
    font-size: 17px !important;
    vertical-align: middle;
}

@media (max-width: 767px) {

    html body .unews-page .unews-meta,
    html body .unews-page .unews-meta :is(span, time, a, button) {
        font-size: 14px !important;
    }

    html body .unews-page .unews-meta i {
        font-size: 15px !important;
    }
}

/* ចំណងជើងកាតព័ត៌មានផ្សេងទៀត */
html body .unews-page .unews-related-body h3,
html body .unews-page .unews-related-body h3 a {
    font-size: 16px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    text-align: left !important;
    text-indent: 0 !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    padding: 0 !important;
}

html body .unews-page .unews-related-body h3 {
    width: 100% !important;
    min-height: 0 !important;
    margin: 8px 0 10px !important;
}

html body .unews-page .unews-related-body h3 a {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

@media (max-width: 767px) {

    html body .unews-page .unews-related-body h3,
    html body .unews-page .unews-related-body h3 a {
        font-size: 14px !important;
    }
}

.unews-page .unews-banner-inner h1 {
    text-align: center !important;
    text-indent: 0 !important;
}

.unews-page .unews-story-block {
    margin-bottom: 28px;
}

.unews-page .unews-story-image {
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 7px;
}

.unews-page .unews-story-image img {
    display: block;
    width: 100%;
    height: auto;
}

.unews-page .unews-story-block .unews-content {
    margin: 14px 0 0;
}

/* អត្ថបទក្រោមរូបភាព៖ រក្សា font ដើម */
.unews-page .unews-story-block .unews-content {
    color: #8b9199 !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    text-align: left !important;
    text-indent: 0 !important;
    margin: 12px 0 !important;
    padding: 0 !important;
}

/* ចំណងជើងអត្ថបទបន្ទាប់ */
.unews-page .unews-story-heading {
    width: 78%;
    margin: 28px auto 18px;
    color: #203858;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.65;
    text-align: left;
}

@media (max-width: 767px) {
    .unews-page .unews-story-block .unews-content {
        font-size: 15px !important;
    }

    .unews-page .unews-story-heading {
        width: 94%;
        font-size: 18px;
    }
}

.unews-page .unews-story-block .unews-caption-heading {
    width: 76% !important;
    margin: 26px auto !important;
    padding: 0 !important;

    color: #203858 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;

    text-align: left !important;
    text-indent: 0 !important;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .unews-page .unews-story-block .unews-caption-heading {
        width: 94% !important;
        font-size: 17px !important;
        margin: 20px auto !important;
    }
}

.unews-page .unews-story-block .unews-caption-normal {
    width: 100% !important;
    margin: 14px 0 22px !important;
    padding: 0 !important;
    color: #8b9199 !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    text-align: left !important;
}

@media (max-width: 767px) {
    .unews-page .unews-story-block .unews-caption-normal {
        font-size: 15px !important;
    }
}

/* អត្ថបទខាងលើធំជាងអត្ថបទខាងក្រោម */
.unews-page .unews-story-block .unews-intro-text {
    font-size: 22px !important;
}

@media (max-width: 767px) {
    .unews-page .unews-story-block .unews-intro-text {
        font-size: 19px !important;
    }
}

.unews-page .unews-story-block .unews-intro-text,
.unews-page .unews-story-block .unews-caption-heading,
.unews-page .unews-story-block .unews-caption-normal {
    text-align: justify !important;
    text-align-last: left !important;
}

.unews-page .unews-story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
}

.unews-page .unews-story-grid>.unews-story-block {
    min-width: 0;
    margin-bottom: 0;
}

/* រូបទី១ និងអត្ថបទខាងក្រោមនៅពេញទទឹង */
.unews-page .unews-story-grid>.is-first {
    grid-column: 1 / -1;
}

/* រូបបន្ទាប់ៗមានទំហំស្មើគ្នា */
.unews-page .unews-story-grid> :not(.is-first) .unews-story-image img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

@media (max-width: 767px) {
    .unews-page .unews-story-grid {
        gap: 10px;
    }
}

/* រូបភាពបន្តបង្ហាញ ២ ក្នុងមួយជួរ */
.unews-page .unews-story-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px;
}

/* ដកប្រអប់ពាក់កណ្ដាលដែលរុំរូប និងអត្ថបទ */
.unews-page .unews-story-grid>.unews-story-block:not(.is-first) {
    display: contents !important;
}

/* អត្ថបទនៅក្រោមរូប ពេញមួយជួរ ចាប់ពីឆ្វេង */
.unews-page .unews-story-grid>.unews-story-block:not(.is-first)>.unews-content {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin: 0 0 22px !important;
    padding: 0 !important;
    text-align: left !important;
    text-align-last: left !important;
}

/* រូបទី១នៅពេញទទឹងដដែល */
.unews-page .unews-story-grid>.is-first {
    grid-column: 1 / -1 !important;
}

/* ប្រើ ៦ column ដើម្បីចែកជួរលើ ២ និងជួរក្រោម ៣ */
.unews-page .unews-story-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

/* រូបធំទី១ */
.unews-page .unews-story-grid>.is-first {
    grid-column: 1 / -1 !important;
}

/* រូប២បន្ទាប់៖ មួយជួរមាន២ */
.unews-page .unews-story-grid .is-upper-photo {
    grid-column: span 3 !important;
}

/* រូបខាងក្រោម៖ មួយជួរមាន៣ */
.unews-page .unews-story-grid .is-lower-photo {
    grid-column: span 2 !important;
}

/* អត្ថបទខាងលើ */
.unews-page .unews-story-block .unews-intro-text {
    font-size: 20px !important;
}

/* អត្ថបទខាងក្រោមពណ៌ខៀវដិត */
.unews-page .unews-story-block .unews-caption-heading {
    font-size: 18px !important;
}

/* អត្ថបទក្រោមរូបបន្ទាប់ៗ */
.unews-page .unews-story-block .unews-caption-normal {
    font-size: 16px !important;
}

@media (max-width: 767px) {
    .unews-page .unews-story-block .unews-intro-text {
        font-size: 17px !important;
    }

    .unews-page .unews-story-block .unews-caption-heading {
        font-size: 16px !important;
    }

    .unews-page .unews-story-block .unews-caption-normal {
        font-size: 14px !important;
    }
}

.unews-page .unews-content .unews-latin-text {
    font-family: inherit !important;
    font-size: 85% !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    vertical-align: baseline;
}

/* កុំឱ្យ justify ពង្រីកចន្លោះពាក្យ English */
.unews-page .unews-story-block .unews-caption-heading {
    text-align: left !important;
    text-align-last: left !important;
    word-spacing: normal !important;
}

.unews-page .unews-content .unews-latin-text {
    font-family: inherit !important;
    font-size: 85% !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    vertical-align: baseline;
}

/* កុំឱ្យ justify ពង្រីកចន្លោះពាក្យ English */
.unews-page .unews-story-block .unews-caption-heading {
    text-align: left !important;
    text-align-last: left !important;
    word-spacing: normal !important;
}

.unews-page .unews-content .unews-latin-text {
    font-family: inherit !important;
    font-size: 95% !important;
    font-weight: 500 !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    vertical-align: baseline;
}

/* កុំឱ្យ justify ពង្រីកចន្លោះពាក្យ English */
.unews-page .unews-story-block .unews-caption-heading {
    text-align: left !important;
    text-align-last: left !important;
    word-spacing: normal !important;
}
#news-comments {
    scroll-margin-top: 100px;
}
/* Delete Comment Confirmation Modal */
.unews-delete-modal {
    width: min(360px, calc(100% - 32px));
    padding: 0;
    border: none;
    border-radius: 18px;
    background: #fff;
    color: #263b55;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
}

.unews-delete-modal::backdrop {
    background: rgba(0, 0, 0, .48);
}

.unews-delete-modal-content {
    padding: 26px;
}

.unews-delete-modal-content h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: #263b55;
    font-size: 20px;
    font-weight: 700;
}

.unews-delete-modal-content h3 i {
    color: #64748b;
}

.unews-delete-modal-content p {
    margin: 0;
    color: #718096;
    font-size: 15px;
    line-height: 1.6;
}

.unews-delete-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 24px;
}

.unews-delete-modal-actions button {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

#unewsDeleteCancel {
    color: #475569;
    background: #fff;
    border: 1px solid #d8e1eb;
}

#unewsDeleteConfirm {
    color: #fff;
    background: #e33445;
    border: 1px solid #e33445;
}

#unewsDeleteConfirm:hover {
    background: #c92335;
}

#unewsDeleteCancel:hover {
    background: #f5f7fa;
}

@media (max-width: 480px) {
    .unews-delete-modal-content {
        padding: 22px;
    }

    .unews-delete-modal-content h3 {
        font-size: 18px;
    }
}