﻿
.category-chip {
    display: inline-block;
    padding: 6px 14px;
    margin-right: 8px;
    margin-bottom: 8px;
    background-color: #f1f3f5;
    color: #333;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    border-radius: 0 !important;
    border-left: 3px solid transparent; 
    font-weight: 500;
}
.lead p {
    font-weight:400;
}
    .accent-line {
        display: block;
        width: 180px;
        height: auto;
        margin: 0.5rem auto 1rem auto;
    }

    .home-hero {
        position: relative;
        background-image: url(/images/Kbach-1.png), url(/images/Kbach-2.png);
        background-position: 1% 5%, 99% 5%;
        background-repeat: no-repeat, no-repeat;
        /*background-size: auto 90%, auto 90%;*/
        background-color: #fff;
        z-index: 1;
    }

    .font-khmer .nav-link,
    .font-khmer .dropdown-item {
        font-family: 'Hanuman', sans-serif;
    }

    #countdown {
        width: 100%;
        font-size: 2rem;
        padding-left: 0;
        font-weight: 600;
        color: #0055a4;
        letter-spacing: 0.1em;
        font-variant-numeric: tabular-nums;
        opacity: 1;
        transition: opacity 0.5s ease-in-out;
    }

    .history-one__content-title {
        color: #0055a4;
        font-weight: 500;
    }

    .history-one__content-right {
        position: relative;
        display: block;
        margin-left: 0px;
        text-align: center;
    }

    .history-one__content-img {
        object-fit: contain;
    }

        .history-one__content-img img {
            object-fit: contain;
            width: 100%;
        }

    .history-one__inner {
        position: relative;
        display: block;
        padding: 0 0 50px;
    }

    .latest-block-box .type-post .blog-content {
        position: initial;
    }

    .last-news-img {
        object-fit: cover;
    }

    .nav-tabs.flat-tabs .nav-link {
        border: none;
        border-bottom: 3px solid transparent;
        color: #444;
        font-weight: 500;
        background: none;
        transition: all 0.2s ease;
        white-space: nowrap;
        width: 100%;
    }

    .type-post .blog-content .entry-title h3 a {
        margin: 15px 0;
        color: #0055a4;
        text-transform: uppercase;
        letter-spacing: .2px;
        text-decoration: none;
    }

    .three-line-truncate p {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 6em;
        line-height: 2em;
    }

    .entry-content {
        color: #666;
        font-weight: 400;
    }

    .type-post .post-date span {
        display: block;
        color: #fff;
        text-transform: uppercase;
    }

    .latest-block-box .type-post .post-date {
        left: 15px;
        padding: 5px 0;
        right: 0;
    }

    .type-post .post-date {
        background-color: #373737;
        display: inline-block;
        text-align: center;
    }

    .nav-tabs.flat-tabs .nav-link:hover {
        border-bottom: 3px solid #cccccc;
        color: #000;
    }

    .nav-tabs.flat-tabs .nav-link.active {
        color: #0055a4;
        border-bottom: 3px solid #0055a4;
        font-weight: 600;
    }

    .history-one__wrap {
        position: relative;
        display: block;
        width: 100%;
        margin: 0 auto 0;
        background-color: #f7f7f7;
        overflow: hidden;
        z-index: 1;
        padding: 0 60px;
    }

    .history-one__content-left {
        position: relative;
        display: block;
        margin-top: 20px;
    }

    .media-photo-container > img {
        width: 100%;
        object-fit: cover;
        object-position: center;
    }

    .video-thumbnail-wrapper {
        cursor: pointer;
    }

    .latest-block-box .type-post {
        max-width: none;
    }

    .text-xs {
        color: grey;
    }

    .schedule-section {
        padding-bottom: 50px;
    }

    .counter-content .countdown li > span {
        font-weight: 700;
        background: #2a5298;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: none;
    }

    .news-one-press__content {
        position: relative;
        display: block;
        background-color: rgb(255, 255, 255);
        box-shadow: 0px 10px 60px 0px rgba(0, 0, 0, 0.07);
    }

    .page-title-wrapper {
        padding: 40px 0;
        text-align: center;
    }

    .page-title {
        font-size: 2.2rem;
        font-weight: 600;
        color: #222;
        margin: 0;
        position: relative;
        display: inline-block;
        padding-bottom: 10px;
    }
        /* Modern underline accent */
        .page-title::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 180px;
            height: 4px;
            background: linear-gradient(90deg, #000091);
            border-radius: 2px;
        }

    .navbar-brand img {
        height: auto;
        width: auto;
    }

    .section-title {
        position: relative;
        display: block;
        margin-top: -13px;
        margin-bottom: 48px;
    }

    .section-title__title {
        margin: 0;
        color: var(--govity-black);
        font-size: clamp(28px, 6vw, 45px); /* Scales smoothly between 28px and 45px */
        line-height: clamp(36px, 7vw, 54px); /* Scales with font size */
        font-weight: 600;
        letter-spacing: var(--govity-letter-spacing);
        line-height: 2
    }

    .how_work_img i {
        color: #bb9350;
    }

    .line_animation {
        top: 0px;
        left: 50%;
        bottom: 0px;
        z-index: -1;
        display: block;
        position: absolute;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        border-left: 1px solid #f4f4f4;
    }

        .line_animation:before {
            width: 3px;
            left: -2px;
            content: "";
            height: 12px;
            border-radius: 100%;
            position: absolute;
            -webkit-animation: line_animation 15s ease-out infinite;
            animation: line_animation 15s ease-out infinite;
            background-color: #b89b5e;
        }

        .line_animation .line_area {
            width: 100%;
            float: left;
            height: 100%;
            position: relative;
            display: inline-block;
            border-right: 1px solid #f4f4f4;
        }

            .line_animation .line_area:nth-child(odd):before {
                -webkit-animation: line_animation_2 15s ease-out infinite;
                animation: line_animation_2 15s ease-out infinite;
            }

            .line_animation .line_area:before {
                width: 3px;
                right: -2px;
                content: "";
                height: 12px;
                border-radius: 100%;
                position: absolute;
                background-color: #b89b5e;
            }

            .line_animation .line_area:nth-child(even):before {
                -webkit-animation: line_animation 15s ease-out infinite;
                animation: line_animation 15s ease-out infinite;
            }

    @-webkit-keyframes line_animation {
        0% {
            top: 0px;
            opacity: 1;
        }

        50% {
            top: 50%;
        }

        100% {
            top: 100%;
            opacity: 1;
        }
    }

    @keyframes line_animation {
        0% {
            top: 0px;
            opacity: 1;
        }

        50% {
            top: 50%;
        }

        100% {
            top: 100%;
            opacity: 1;
        }
    }

    @-webkit-keyframes line_animation_2 {
        0% {
            opacity: 1;
            bottom: 0px;
        }

        50% {
            bottom: 50%;
        }

        100% {
            bottom: 100%;
            opacity: 1;
        }
    }

    @keyframes line_animation_2 {
        0% {
            opacity: 1;
            bottom: 0px;
        }

        50% {
            bottom: 50%;
        }

        100% {
            bottom: 100%;
            opacity: 1;
        }
    }
.news-one-date-press-release {
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: #000091;
    padding: 5px 15px 10px;
    z-index: 2;
    height: 49px;
}
/* ===============================
   ARCHIVE EMPTY STATE
   =============================== */

.archive-empty-state {
    text-align: center;
    padding: 4rem 1.5rem;
    background: #f9fafb;
    border: 1px dashed #d0d7de;
    border-radius: 6px;
}

.archive-empty-icon {
    font-size: 3rem;
    color: #adb5bd;
}

.archive-empty-state h4 {
    color: #000091;
    font-weight: 600;
}

.archive-empty-state p {
    max-width: 450px;
    margin-inline: auto;
}

.archive-empty-actions .btn {
    min-width: 160px;
}
