/* PAGE */
.lnews-page {
    padding: 26px 0 60px;
    background: #fff;
    color: #172434;
    font-family:
        "Inter",
        "Battambang",
        "Khmer OS Battambang",
        sans-serif;
}

.lnews-page *,
.lnews-page *::before,
.lnews-page *::after {
    box-sizing: border-box;
}

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

.lnews-page a {
    text-decoration: none;
}

.lnews-page a:focus-visible,
.lnews-page button:focus-visible {
    outline: 3px solid #139ee8;
    outline-offset: 4px;
}

/* SECTION HEADING */
.lnews-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.lnews-heading h1,
.lnews-heading h2 {
    margin: 0;
    color: #35465a;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.8;
}

.lnews-heading > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #08a4e9;
    font-size: 14px;
    white-space: nowrap;
}

/* TOP SLIDER */
.lnews-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
}

.lnews-slider::-webkit-scrollbar {
    display: none;
}

.lnews-feature {
    position: relative;
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: 0;
    height: 350px;
    overflow: hidden;
    border-radius: 18px;
    background: #18364d;
    scroll-snap-align: start;
}

.lnews-feature-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
}

.lnews-feature-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lnews-feature:hover .lnews-feature-image {
    transform: scale(1.05);
}

.lnews-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 20%,
        rgba(0, 0, 0, 0.15) 45%,
        rgba(0, 0, 0, 0.95) 100%
    );
}

.lnews-feature-info {
    position: absolute;
    right: 24px;
    bottom: 24px;
    left: 24px;
}

.lnews-feature-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.lnews-tag {
    padding: 4px 15px;
    border-radius: 20px;
    background: #00a6e8;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.lnews-feature-top time {
    color: #f1f5f9;
    font-size: 11px;
    text-transform: uppercase;
    white-space: nowrap;
}

.lnews-feature-info h2 {
    display: -webkit-box;
    margin: 0 0 12px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.lnews-feature-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    color: #d0d5de;
    font-size: 13px;
}

.lnews-feature-bottom > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.lnews-author img {
    width: 38px;
    height: 38px;
    padding: 3px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #fff;
    object-fit: contain;
}

/* SLIDER DOTS */
.lnews-dots {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-top: 8px;
}

.lnews-dots:empty {
    display: none;
}

.lnews-dot {
    display: grid;
    place-items: center;
    width: 25px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.lnews-dot::before {
    content: "";
    width: 15px;
    height: 4px;
    background: #92959e;
}

.lnews-dot.active::before {
    background: #111;
}

/* BOTTOM GRID */
.lnews-all {
    margin-top: 42px;
    scroll-margin-top: 110px;
}

.lnews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 32px;
}

.lnews-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 25px rgba(20, 40, 70, 0.08);
}

.lnews-cover {
    position: relative;
    display: block;
    height: 245px;
    overflow: hidden;
    background: #eaf3fa;
}

.lnews-cover > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lnews-card:hover .lnews-cover > img {
    transform: scale(1.05);
}

.lnews-cover-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 45%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

.lnews-card-tag {
    position: absolute;
    right: 20px;
    bottom: 20px;
    padding: 4px 15px;
    border-radius: 20px;
    background: #3982f5;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.lnews-card-body {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 30px 24px 20px;
}

.lnews-avatar {
    position: absolute;
    top: -38px;
    left: 24px;
    width: 68px;
    height: 68px;
    padding: 5px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 10px rgba(20, 40, 60, 0.15);
}

.lnews-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
}

.lnews-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    color: #8791a1;
    font-size: 11px;
}

.lnews-card-meta time {
    text-transform: uppercase;
}

.lnews-card-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 7px;
    border: 1px dashed #8cbef4;
    border-radius: 6px;
}

.lnews-card h3 {
    min-height: 3.4em;
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.7;
}

.lnews-card h3 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    color: #111827;
    overflow-wrap: anywhere;
}

.lnews-card h3 a:hover {
    color: #3685f5;
}

.lnews-excerpt {
    display: -webkit-box;
    min-height: 3.8em;
    margin: 0 0 18px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    color: #7c889a;
    font-size: 13px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

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

.lnews-card-footer > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #138ccc;
    font-size: 13px;
    font-weight: 600;
}

.lnews-card-footer > a:hover {
    text-decoration: underline;
}

.lnews-card-footer > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #8995a5;
    font-size: 12px;
}

.lnews-pagination {
    margin-top: 35px;
}

.lnews-empty {
    padding: 60px 20px;
    color: #7c889a;
    text-align: center;
}

.lnews-page img.lnews-placeholder {
    padding: 50px;
    background: #eaf3fa;
    object-fit: contain;
}

/* TABLET */
@media (max-width: 991px) {
    .lnews-container {
        width: calc(100% - 32px);
    }

    .lnews-feature {
        flex-basis: calc((100% - 20px) / 2);
        height: 320px;
    }

    .lnews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .lnews-feature-info {
        right: 18px;
        bottom: 20px;
        left: 18px;
    }
}

/* MOBILE */
@media (max-width: 600px) {
    .lnews-page {
        padding: 18px 0 40px;
    }

    .lnews-container {
        width: calc(100% - 28px);
    }

    .lnews-heading h1,
    .lnews-heading h2 {
        font-size: 17px;
    }

    .lnews-heading > a {
        font-size: 12px;
    }

    .lnews-slider {
        gap: 14px;
    }

    .lnews-feature {
        flex-basis: 92%;
        height: 310px;
        border-radius: 14px;
    }

    .lnews-feature-info h2 {
        font-size: 17px;
    }

    .lnews-feature-bottom {
        gap: 12px;
        font-size: 12px;
    }

    .lnews-all {
        margin-top: 28px;
    }

    .lnews-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .lnews-cover {
        height: 235px;
    }

    .lnews-card-body {
        padding: 30px 18px 18px;
    }

    .lnews-avatar {
        left: 18px;
    }

    .lnews-card h3 {
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lnews-feature-image,
    .lnews-cover > img {
        transition: none;
    }
}

/* ទំហំកាតខាងលើ */
.lnews-container {
    max-width: 1320px;
}

.lnews-feature {
    height: 290px;
    border-radius: 15px;
}

.lnews-feature-info {
    right: 18px;
    bottom: 18px;
    left: 18px;
}

.lnews-feature-info h2 {
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.7;
}

/* Logo + Date + Counts នៅជួរតែមួយ */
.lnews-feature-bottom {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    font-size: 11px;
}

.lnews-feature-bottom > span {
    flex-shrink: 0;
    gap: 6px;
}

.lnews-author img {
    width: 32px;
    height: 32px;
    padding: 2px;
}

.lnews-feature-date {
    flex-shrink: 0;
    color: #e2e8f0;
    font-size: 10px;
    line-height: 1.5;
    white-space: nowrap;
}

/* Tablet */
@media (max-width: 991px) {
    .lnews-feature {
        height: 275px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .lnews-feature {
        height: 260px;
    }

    .lnews-feature-info {
        right: 14px;
        bottom: 16px;
        left: 14px;
    }

    .lnews-feature-info h2 {
        font-size: 16px;
    }

    .lnews-feature-bottom {
        gap: 9px;
        font-size: 10px;
    }

    .lnews-author img {
        width: 28px;
        height: 28px;
    }

    .lnews-feature-date {
        font-size: 9px;
    }
}

/* Logo + Views + Likes + Comments + Date */
.lnews-feature-bottom {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    width: 100%;
    color: #e2e8f0;
    font-size: 13px;
    line-height: 1.5;
}

.lnews-feature-bottom > span {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 6px;
}

.lnews-author img {
    width: 36px;
    height: 36px;
    padding: 2px;
}

.lnews-feature-bottom .lnews-stat i {
    font-size: 14px;
}

/* Push date to the far right */
.lnews-feature-date {
    flex-shrink: 0;
    margin-left: auto;
    color: #e2e8f0;
    font-size: 13px;
    white-space: nowrap;
}

/* Featured title: maximum 2 lines */
.lnews-feature-info h2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    max-height: 3.4em;
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

/* Lower card title: maximum 2 lines */
.lnews-card h3 {
    min-height: 3.4em;
    line-height: 1.7;
}

.lnews-card h3 a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    max-height: 3.4em;
    overflow-wrap: anywhere;
}

/* Narrow cards */
@media (max-width: 1200px) {
    .lnews-feature-bottom {
        gap: 8px;
        font-size: 11px;
    }

    .lnews-feature-date {
        font-size: 11px;
    }

    .lnews-author img {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 600px) {
    .lnews-feature-info h2 {
        font-size: 16px;
    }

    .lnews-feature-bottom {
        gap: 8px;
        font-size: 11px;
    }

    .lnews-feature-bottom .lnews-stat i {
        font-size: 12px;
    }

    .lnews-feature-date {
        font-size: 11px;
    }

    .lnews-author img {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 380px) {
    .lnews-feature-bottom {
        gap: 6px;
        font-size: 10px;
    }

    .lnews-feature-bottom > span {
        gap: 4px;
    }

    .lnews-feature-date {
        font-size: 10px;
    }
}

.lnews-feature-info h2 a {
    color: #fff;
}

.lnews-feature-bottom .lnews-like-form {
    flex-shrink: 0;
    margin: 0;
}

.lnews-feature-bottom .lnews-social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 6px;
    min-height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #e2e8f0;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

.lnews-feature-bottom .lnews-social-button:hover,
.lnews-feature-bottom .lnews-social-button.is-liked {
    color: #ff637c;
}

.lnews-comment-dialog {
    width: min(460px, calc(100% - 32px));
    max-height: 85dvh;
    padding: 24px;
    overflow-y: auto;
    border: 0;
    border-radius: 16px;
    color: #24364b;
    font-family: "Inter", "Battambang", sans-serif;
}

.lnews-comment-dialog::backdrop {
    background: rgba(12, 22, 42, 0.65);
}

.lnews-dialog-close {
    display: flex;
    justify-content: flex-end;
}

.lnews-dialog-close button {
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}

.lnews-comment-dialog h2 {
    font-size: 20px;
}

.lnews-comment-dialog p {
    line-height: 1.8;
}

.lnews-comment-dialog label {
    display: block;
    margin-bottom: 10px;
}

.lnews-comment-dialog textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 12px;
    border: 1px solid #d8e2ed;
    border-radius: 8px;
    font: inherit;
    resize: vertical;
}

.lnews-comment-submit {
    margin-top: 12px;
    padding: 10px 20px;
    border: 0;
    border-radius: 8px;
    background: #0b83c7;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

/* LOWER CARDS — reference style */
.lnews-grid {
    gap: 30px;
    align-items: stretch;
}

.lnews-card {
    overflow: hidden;
    border: 0;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(25, 45, 75, 0.07);
}

/* Shorter cover image */
.lnews-card .lnews-cover {
    flex: 0 0 auto;
    height: 205px;
}

.lnews-card .lnews-cover > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lnews-card .lnews-card-tag {
    right: 22px;
    bottom: 19px;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
}

/* Content */
.lnews-card .lnews-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px 24px 18px;
}

/* Avatar overlaps the image edge */
.lnews-card .lnews-avatar {
    top: -36px;
    left: 24px;
    width: 60px;
    height: 60px;
    padding: 3px;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(25, 45, 75, 0.15);
}

.lnews-card .lnews-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Date and views */
.lnews-card .lnews-card-meta {
    gap: 10px;
    margin: 0 0 5px;
    color: #7c8799;
    font-size: 11px;
    line-height: 1.6;
}

.lnews-card .lnews-card-meta time {
    text-transform: uppercase;
}

.lnews-card .lnews-card-meta > span {
    padding: 0 5px;
    border: 1px dashed #429bff;
    border-radius: 6px;
    white-space: nowrap;
}

/* Exactly enough space for two title lines */
.lnews-card h3 {
    min-height: 0;
    height: 3.4em;
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.7;
}

.lnews-card h3 a {
    display: -webkit-box;
    max-height: 3.4em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    color: #111;
}

.lnews-card h3 a:hover {
    color: #3982ff;
}

/* Reading time */
.lnews-reading-time {
    margin: 0 0 5px;
    color: #3982ff;
    font-size: 12px;
    line-height: 1.6;
}

/* Footer */
.lnews-card .lnews-card-footer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 0;
    border-top: 1px solid #edf0f5;
}

.lnews-card-footer > .lnews-card-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111;
    font-size: 13px;
    font-weight: 400;
}

.lnews-card-read > span {
    font-size: 22px;
}

.lnews-card-like-form {
    flex-shrink: 0;
    margin: 0;
}

/* Round heart button */
.lnews-card-footer .lnews-round-like {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #eaf1ff;
    color: #3982ff;
    text-decoration: none;
    cursor: pointer;
}

.lnews-round-like i {
    font-size: 23px;
}

.lnews-card-footer .lnews-round-like:hover {
    background: #dce9ff;
}

.lnews-card-footer .lnews-round-like.is-liked {
    background: #fff0f3;
    color: #ef476f;
}

.lnews-round-like:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* Keep AJAX error text below the footer */
.lnews-card-footer > [role="alert"] {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
}

.lnews-card-footer > [role="alert"]:not(:empty) {
    position: static;
    flex-basis: 100%;
}

.lnews-card-footer:has(> [role="alert"]:not(:empty)) {
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .lnews-card .lnews-cover {
        height: 200px;
    }

    .lnews-card .lnews-card-body {
        padding: 26px 20px 16px;
    }

    .lnews-card .lnews-avatar {
        left: 20px;
    }
}

@media (max-width: 600px) {
    .lnews-card .lnews-cover {
        height: 210px;
    }

    .lnews-card h3 {
        font-size: 17px;
    }

    .lnews-card .lnews-card-body {
        padding: 26px 18px 16px;
    }

    .lnews-card .lnews-avatar {
        left: 18px;
    }

    .lnews-card-footer .lnews-round-like {
        width: 42px;
        height: 42px;
    }
}

.lnews-card-social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.lnews-card-social .lnews-like-form {
    margin: 0;
}

.lnews-card-social .lnews-round-comment,
.lnews-card-social .lnews-round-like {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #eaf1ff;
    color: #3982ff;
    text-decoration: none;
    cursor: pointer;
}

.lnews-card-social .lnews-round-comment i {
    font-size: 21px;
}

.lnews-card-social .lnews-round-like i {
    font-size: 23px;
}

.lnews-card-social .lnews-round-comment:hover,
.lnews-card-social .lnews-round-like:hover {
    background: #dce9ff;
}

.lnews-card-social .lnews-round-like.is-liked {
    background: #fff0f3;
    color: #ef476f;
}

/* AJAX error message */
.lnews-card-social > [role="alert"]:empty {
    display: none;
}

.lnews-card-social > [role="alert"]:not(:empty) {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    padding: 6px;
    background: #fff;
    color: #be123c !important;
    font-size: 12px;
}

@media (max-width: 600px) {
    .lnews-card-social {
        gap: 8px;
    }

    .lnews-card-social .lnews-round-comment,
    .lnews-card-social .lnews-round-like {
        width: 42px;
        height: 42px;
    }
}
.lnews-card-social .lnews-round-like,
.lnews-card-social .lnews-round-comment {
    box-shadow: none;
    background: #f3f7ff;
}

.lnews-card-social .lnews-round-like:hover,
.lnews-card-social .lnews-round-comment:hover {
    box-shadow: none;
    background: #eaf1ff;
}
.lnews-card-social .lnews-round-like,
.lnews-card-social .lnews-round-comment {
    width: 34px;
    height: 34px;
    min-height: 0;
    padding: 0;
}

.lnews-card-social .lnews-round-like i,
.lnews-card-social .lnews-round-comment i {
    font-size: 20px;
}
.lnews-grid .lnews-card {
    transform: translateY(0);
    box-shadow: 0 3px 12px rgba(25, 45, 75, 0.05);

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

.lnews-grid .lnews-card h3 a {
    transition: color 0.3s ease;
}

/* Hover with mouse */
@media (hover: hover) and (pointer: fine) {
    .lnews-grid .lnews-card:hover {
        transform: translateY(8px);
        box-shadow: 0 14px 26px -10px rgba(57, 130, 255, 0.3);
    }

    .lnews-grid .lnews-card:hover h3 a {
        color: #3982ff;
    }
}

/* Keyboard */
.lnews-grid .lnews-card:focus-within {
    box-shadow: 0 14px 26px -10px rgba(57, 130, 255, 0.3);
}

@media (prefers-reduced-motion: reduce) {
    .lnews-grid .lnews-card,
    .lnews-grid .lnews-card h3 a {
        transition: none;
    }

    .lnews-grid .lnews-card:hover {
        transform: none;
    }
}

.lnews-slider {
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.lnews-feature {
    scroll-snap-align: start;
}

.lnews-dot::before {
    transition: background-color 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
    .lnews-slider {
        scroll-behavior: auto;
    }
}

.lnews-grid .lnews-card 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;
    margin: 10px 0 12px;
    overflow: hidden;

    font-size: 18px;
    line-height: 1.8;
    white-space: normal;
    overflow-wrap: anywhere;
}

.lnews-grid .lnews-card h3 a {
    display: inline;
    font: inherit;
    line-height: inherit;
    white-space: normal;
}

/* 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;
}

/* ចំណងជើង News និង Slide */
.lnews-page .lnews-card-body h3,
.lnews-page .lnews-card-body h3 a,
.lnews-page .lnews-feature-info h2,
.lnews-page .lnews-feature-info h2 a {
    font-size: 17px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
}

.lnews-page .lnews-card-body h3,
.lnews-page .lnews-feature-info h2 {
    margin: 8px 0 !important;
    padding: 0 !important;
}

/* រក្សាចំណងជើងត្រឹម ២ បន្ទាត់ */
.lnews-page .lnews-card-body h3 a,
.lnews-page .lnews-feature-info h2 a {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

@media (max-width: 767px) {
    .lnews-page .lnews-card-body h3,
    .lnews-page .lnews-card-body h3 a,
    .lnews-page .lnews-feature-info h2,
    .lnews-page .lnews-feature-info h2 a {
        font-size: 15px !important;
    }
}

.lnews-page .lnews-feature-info h2,
.lnews-page .lnews-feature-info h2 a {
    font-size: 15px !important;
    line-height: 1.4 !important;
}

@media (max-width: 767px) {
    .lnews-page .lnews-feature-info h2,
    .lnews-page .lnews-feature-info h2 a {
        font-size: 14px !important;
    }
}

.lnews-page .lnews-card-body h3,
.lnews-page .lnews-card-body h3 a {
    font-size: 16px !important;
    line-height: 1.5 !important;
    text-align: left !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.lnews-page .lnews-card-body h3 {
    margin: 8px 0 !important;
}

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

@media (max-width: 767px) {
    .lnews-page .lnews-card-body h3,
    .lnews-page .lnews-card-body h3 a {
        font-size: 14px !important;
    }
}