@charset "UTF-8";

/* Latest published articles ticker below the main header. */
.rtc-news-ticker {
    --rtc-ticker-bg: #253d6b;
    --rtc-ticker-accent: #ffc600;
    position: relative;
    z-index: 5;
    width: 100%;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.16);
    background: var(--rtc-ticker-bg);
    box-shadow: 0 0 0 100vmax var(--rtc-ticker-bg);
    clip-path: inset(0 -100vmax);
    color: #ffffff;
    font-family: "Noto Sans Khmer", "Battambang", "Khmer OS Battambang", Arial, sans-serif;
}

.rtc-news-ticker__inner {
    display: grid;
    width: min(100% - 32px, 1320px);
    min-height: 44px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: stretch;
    margin: 0 auto;
}

.rtc-news-ticker__label {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 18px 8px 2px;
    color: var(--rtc-ticker-accent);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    white-space: nowrap;
}

.rtc-news-ticker__label::after {
    position: absolute;
    top: 9px;
    right: 0;
    bottom: 9px;
    width: 1px;
    background: rgba(255, 255, 255, 0.24);
    content: "";
}

.rtc-news-ticker__viewport {
    min-width: 0;
    overflow: hidden;
    outline: none;
    mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}

.rtc-news-ticker__track {
    display: flex;
    width: max-content;
    min-width: 100%;
    align-items: center;
    animation: rtc-news-ticker-scroll var(--rtc-ticker-duration, 48s) linear infinite;
    will-change: transform;
}

.rtc-news-ticker__group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    padding-right: 36px;
}

.rtc-news-ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 22px;
    color: rgba(255, 255, 255, 0.94) !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.75;
    text-decoration: none !important;
    white-space: nowrap;
}

.rtc-news-ticker__item:hover,
.rtc-news-ticker__item:focus-visible {
    color: var(--rtc-ticker-accent) !important;
}

.rtc-news-ticker__item:focus-visible {
    border-radius: 4px;
    outline: 2px solid var(--rtc-ticker-accent);
    outline-offset: -4px;
}

.rtc-news-ticker__dot {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: var(--rtc-ticker-accent);
    box-shadow: 0 0 0 3px rgba(255, 198, 0, 0.14);
}

.rtc-news-ticker__all {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 2px 8px 18px;
    color: var(--rtc-ticker-accent) !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
    text-decoration: none !important;
    white-space: nowrap;
}

.rtc-news-ticker__all:hover,
.rtc-news-ticker__all:focus-visible {
    color: #ffffff !important;
}

.rtc-news-ticker:hover .rtc-news-ticker__track,
.rtc-news-ticker:focus-within .rtc-news-ticker__track {
    animation-play-state: paused;
}

@keyframes rtc-news-ticker-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Astroid's hero position sits immediately below the menu; remove its empty gutters. */
#hs-1529739480502,
#hs-1529739480502 > .container,
#hs-1529739480502 .astroid-row,
#hs-1529739480502 .astroid-column,
#hs-1529739480502 .astroid-module-position,
#hs-1529739480502 .moduletable {
    width: 100%;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 767.98px) {
    .rtc-news-ticker__inner {
        width: min(100% - 20px, 1320px);
        min-height: 40px;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .rtc-news-ticker__label {
        gap: 7px;
        padding-right: 12px;
        font-size: 12px;
    }

    .rtc-news-ticker__item {
        padding: 6px 16px;
        font-size: 12px;
        line-height: 1.75;
    }

    .rtc-news-ticker__all {
        display: none;
    }
}

@media (max-width: 420px) {
    .rtc-news-ticker__label > span:last-child {
        display: none;
    }

    .rtc-news-ticker__label {
        padding-right: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rtc-news-ticker__viewport {
        overflow-x: auto;
        mask-image: none;
        scrollbar-width: thin;
    }

    .rtc-news-ticker__track {
        animation: none;
        will-change: auto;
    }

    .rtc-news-ticker__group[aria-hidden="true"] {
        display: none;
    }
}
