body:not(.elementor-editor-active) .popup-noti {
    display: none;
}
.ct-pagination {
    padding-bottom: 30px;
}

#metaslider-id-181897 .flexslider .flex-control-nav li a.flex-active {
    background: #F51E1E !important;
}
#metaslider-id-181897 .flexslider .flex-control-nav li a {
    margin: 0 5px;
}

.banner-metaslider .metaslider .flexslider {
    margin: 0;
}

.banner-metaslider .metaslider .flex-control-nav {
    bottom: 15px;
}

.hero-section {
    position: relative;
}

/* .ulasan-berita {
    position: absolute;
    bottom: 0;
    right: 40%;
    display: inline-block;
    margin: 0;
    background: #E5E7EB;
    padding: 5px 20px;
    border-radius: 17px;
    color: #FF2E6C;
    font-weight: 600;
    font-size: 14px;
} */

/* GTranslate custom dropdown */
/* --- Dropdown utama --- */
.gtranslate_wrapper .gt_selector.notranslate {
    background-color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 0px 15px;
    width: auto;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #F51E1E;
    text-align: right;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg fill='red' height='12' viewBox='0 0 24 24' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0px center;
    background-size: 20px;
    box-shadow: none;
    height: 30px;
    width: 60px;
    margin-right: 0;
}

/* --- Option dalam dropdown --- */
.gtranslate_wrapper .gt_selector.notranslate option {
    font-weight: 600;
    color: #374151;
    text-align: right;
}

/* --- Bahasa aktif --- */
.gtranslate_wrapper .gt_selector.notranslate option:checked,
.gtranslate_wrapper .gt_selector.notranslate option:hover {
    color: #F51E1E;
}

/* --- Hover border --- */
.gtranslate_wrapper .gt_selector.notranslate:hover {
    border-color: #F51E1E;
}


/* Main Banner */
.main-banner-slider.metaslider .flexslider {
    margin: 0 0 0px;
}

.main-banner-slider.metaslider .flex-control-nav {
    bottom: 5px;
}

.main-banner-slider .flex-direction-nav {
    display: none;
}

/* Target card container sahaja */

.title-indicator::before {
    content: "";
    border-left: 8px solid #FF2147;
    border-radius: 4px;
    height: 30px;
    position: absolute;
    left: 0;
    top: 3px;
}

.berita-custom-layout.e-flex {
    padding: 0 !important;
}

.berita-custom-layout .e-con-boxed {
    padding: 0px !important;
}

.berita-custom-layout .elementor-widget-theme-post-excerpt p,
.berita-front .elementor-widget-theme-post-excerpt p {
    margin-bottom: 0;
}

.timestamp-icon {
    position: relative;
    top: -1px;
}

/* Pengumuman */
.ticker-wrap {
    overflow: hidden;
    background: #FF8048;
    white-space: nowrap;
}

.ticker {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 60s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 2rem;
}

.ticker-item a {
    font-size: 14px;
    color: #FFF;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Pause on hover */
.ticker-wrap:hover .ticker {
    animation-play-state: paused;
}

/*** Laporan Langsung ***/
.live-header-title:before {
    content: "";
    background: url("/wp-content/uploads/Icon-News-updates.png");
    width: 18px;
    height: 18px;
    position: absolute;
    left: 10px;
    top: 9px;
}

.live-header-container::after {
    content: "";
    width: 100%;
    height: 5px;
    background: #F51E1E;
    top: 15px;
    position: absolute;
    right: 0;
}

.live-container .eael-grid-post .eael-entry-wrapper {
    display: flex;
    padding: 0;
}

.live-container .eael-grid-post-holder {
    border: 0;
}

.live-container .eael-post-grid-container .eael-post-grid .eael-grid-post {
    padding: 0 10px;
}

.rtm-live-post {
    padding-left: 20px;
}

.rtm-live-post::before {
    content: "◉";
    color: #F51E1E;
    position: absolute;
    left: 0px;
}

.live-shortcode .elementor-shortcode::before {
    content: "";
    width: 1px;
    height: 60%;
    background: #D1D5DB;
    position: absolute;
    left: 6px;
    z-index: -1;
    top: 9px;
}

.rtm-post-views::before {
    content: "";
    background: url("/wp-content/uploads/Baca.png");
    width: 14px;
    height: 11px;
    display: inline-flex;
}

.post-views {
    font-size: 14px;
    color: #6B7280;
    display: none;
}

.me-auto {
    margin-right: auto;
}

/**** Landing page category ***/
.post-lain {
    display: flex;
    flex-direction: row;
    margin-bottom: 2rem;
    gap: 15px;
}

.post-thumb {
    width: 180px;
    height: 124px;
    flex-shrink: 0;
}

.post-thumb img {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content .post-title {
    margin-bottom: 10px;
}

.post-content .post-title h1 {
    line-height: 22px;
}

.post-content .post-title h1 a {
    color: #1C1C1C;
    font-size: 20px;
    line-height: 22px;
}

.post-category {
    position: absolute;
    background: #FF2147;
    padding: 3px 15px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    border-radius: 10px;
    text-transform: uppercase;
    margin: 10px 8px;
}

.post-time .time-ago {
    font-size: 12px;
    font-weight: 500;
    color: #6B7280;
    line-height: 17px;
}

.category-landing {
    padding-top: 15px;
}

.category-wrapper {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.category-column2 {
    width: 80%;
}

.kata-kunci-item {
    background: #FF2147;
    color: #fff;
    font-size: 14px;
    border-radius: 2px;
    line-height: 16px;
    display: inline-block;
    padding: 6px 12px;
    margin: 3px 3px;
}

.kata-kunci-item:hover {
    color: #fff;
    background: #F51E1E;
}

.title-part {
    margin-bottom: 10px;
}

.sidebar-widget .title-part {
    color: #2B2B2B;
}

.title-part::before,
.ct-sidebar .widget-title:before,
.ct-related-posts .ct-module-title:before {
    content: "";
    border-left: 8px solid #FF2147;
    border-radius: 4px;
    height: 30px;
    position: absolute;
    left: 0;
    top: 3px;
}

.ct-sidebar .widget-title,
.ct-related-posts .ct-module-title {
    font-size: 26px;
    text-transform: uppercase;
    font-weight: 400;
    color: #2B2B2B;
    padding-left: 25px;
    position: relative;
    line-height: 34px;
}

.ct-related-posts .ct-module-title {
    font-size: 18px;
}

.ct-related-posts {
    margin:20px 0; 
    padding-left: 50px;
    padding-bottom: 30px;
}

.sidebar-widget {
    margin-bottom: 10px;
    border-bottom: 1px solid #D1D5DB;
    padding-bottom: 1rem;
}

.ct-sidebar .ct-widget {
    border-bottom: 1px solid #D1D5DB;
    margin-bottom: 20px !important;
	padding-bottom: 10px;
}

.ct-sidebar .ct-widget:last-child {
    border-bottom: 0;
}

.berita-popular-title a,
.entry-card .entry-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* max 2 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bp-image {
    min-width: 114px;
    min-height: 11px;
}

.mb-0,
.mb-0 p {
    margin-bottom: 0;
}

.single-post .ct-share-box[data-type=type-1]>div {
    display: inline-flex;
    gap: 25px;
}

.single-post article>.ct-related-posts {
    margin-top: 30px;
    padding-top: 30px;
    padding-bottom: 35px;
}

.meta-categories a {
    border-radius: 10px !important;
}

/*** Ringkasan berita AI ***/
.wpsummary_box.design-classic {
    border: 1px solid #EAEDEE;
    padding: 10px 20px;
    box-shadow: 0px 3px 6px #00000029;
    background: #FBFBFC;
    margin-bottom: 20px !important;
}

.wpsummary_box ul {
    list-style-position: inherit;
}

.wpsummary_box.design-classic .wpsummarize_title {
    padding-bottom: 0px;
    font-size: 16px;
    font-weight: 700;
    color: #1C1C1C;
    line-height: 24px;
}

.wpsummary_box.design-classic .wpsummarize_title:before {
    content: "";
    background: url("/wp-content/uploads/Icon-Ringkasan-AI.png");
    width: 50px;
    height: 48px;
    display: inline-block;
    vertical-align: text-bottom;
}

.wpsummary_box.design-classic li::after {
    display: none;
}

.wpsummary_box.design-classic ul {
    list-style-type: none;
}

.wpsummary_box.design-classic li {
    padding-left: 20px;
    position: relative;
}

.wpsummary_box.design-classic li::before {
    content: "";
    background: url("/wp-content/uploads/Bullet-Point.png");
    width: 10px;
    height: 10px;
    display: flex;
    position: absolute;
    left: 0;
    top: 7px;
}

/*** Load More Button ***/
#load-more-container {
    padding-bottom: 5rem;
}

#load-more {
    padding: 7px;
    background: #fff;
    border: 1px solid #ff2147;
    border-radius: 7px;
    display: block;
    width: 100%;
    color: #ff2147;
    font-weight: 700;
}

/*** Ringkasan Berita ***/
.custom-tabs .tab-btn {
    padding: 10px 0px;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
    color: #1c1c1c;
    font-size: 18px;
    line-height: 27px;
    background: #fff;
}

.custom-tabs .tab-btn:hover {
    font-weight: 600;
    background: transparent;
}

.custom-tabs .tab-btn.active {
    color: #1c1c1c;
    font-weight: 600;
}

.custom-tab-content .tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.custom-tab-content .tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/** slider **/
.berita-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.berita-slider .e-parent {
    padding: 0;
}

.berita-slider .e-parent .e-con-inner {
    padding: 0;
}

.swiper {
    height: 100%;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.swiper-button-group {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

/* === Button di luar container === */
.berita-prev,
.berita-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 64px;
    height: 65px;
    transition: all 0.3s ease;
    font-size: 0;
    background: url('/wp-content/uploads/Icon-DOWN.svg') no-repeat center center;
}

.berita-prev {
    width: 65px;
    left: unset;
    right: -93px;
    background: url(/wp-content/uploads/Icon-DOWN.svg);
    transform: translateY(-50%) rotate(180deg);
}

.berita-next {
    right: -93px;
    top: 63%;
    /*  background: url("/wp-content/uploads/Icon-DOWN.svg") */
}

/* khas untuk prev bila disabled → tukar panah ke bawah */
.swiper-button-disabled.berita-prev {
    background: url('/wp-content/uploads/Icon-UP.svg') no-repeat center center;
    transform: translateY(-50%);
    /* reset rotate(180deg) sebab kita nak ke bawah */
}

/* khas untuk next bila disabled → optional tukar warna lain */
.swiper-button-disabled.berita-next {
    background: url('/wp-content/uploads/Icon-UP.svg') no-repeat center center;
    transform: translateY(-50%) rotate(180deg);
}

.berita-penuh li a:after {
    content: "";
    background: url("/wp-content/uploads/Arrow-Right.svg");
    width: 8px;
    height: 16px;
    display: inline-block;
    margin-left: 8px;
}

.berita-slider .swiper-scrollbar {
    display: none !important;
}

.ringkasan-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.ringkasan-body {
    flex: 1 !important;
    overflow-y: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    /* smooth scroll iOS */
}

/* Optional scrollbar styling */
.ringkasan-body::-webkit-scrollbar {
    width: 6px;
}

.ringkasan-body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.8);
    /*   border-radius: 3px; */
}

.ringkasan-body::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.ringkasan-footer {
    flex-shrink: 0 !important;
    padding: 15px 10px;
    background: transparent linear-gradient(180deg, #FFFFFF00 0%, #FFFFFF 51%, #FFFFFF 100%) 0% 0% no-repeat padding-box;
    position: sticky;
    bottom: 0px;
    z-index: 10;
}

.berita-summary ul {
    padding: 0;
    list-style: none;
}

.berita-summary li {
    font-size: 14px;
    line-height: 19px;
    position: relative;
    padding-left: 15px;
    margin-bottom: 10px;
}

.berita-summary li:before {
    content: "";
    background: url("/wp-content/uploads/Bullet-Point.png");
    width: 10px;
    height: 10px;
    display: flex;
    position: absolute;
    left: 0;
    top: 5px;
}

.ai-title {
    font-size: 14px;
    line-height: 15px;
    color: #FF2E6C;
    font-weight: 600;
}

.ringkasan-featured-img:before {
    content: "";
    height: 100%;
    width: 100%;
    background-image: linear-gradient(to top, #fff 5%, transparent 50%);
    position: absolute;
    bottom: -1px;
    left: 0;
}

.popup-toggle {
    background: transparent;
    border-right: 1px solid #D1D5DB;
    padding-right: 10px;
    margin-right: 10px;
}

.ringkasan-part {
    position: relative;
    overflow: hidden;
}

/* menu kategori kiri */
.category-toggle {
    position: relative;
    z-index: 5;
    display: flex;
}

/* content utama */
.category-content {
    transition: all 0.4s ease;
}

/* butang toggle (ikon burger) */
.popup-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: 10px;
}

.popup-toggle img {
    width: 28px;
    height: 28px;
}

@media (max-width: 768px) {
    .swiper-button-group {
        display: none;
    }
}

/* === SARI AI Popup === */
#ai-popup {
    position: fixed;
    bottom: 350px;
    right: 0px;
    display: flex;
    align-items: center;
    z-index: 9;
    animation: popupFadeIn 0.6s ease-out;
	width: auto !important;
}

#ai-popup img {
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* #ai-popup img:hover {
  transform: scale(1.05);
} */
#ai-popup button {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 25px;
    line-height: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
    position: absolute;
    right: 40px;
    top: 12px;
}

#ai-popup button:hover {
    background: rgba(0, 0, 0, 0.9);
}

@keyframes popupFadeIn {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/** Disyorkan **/
.entry-content .ct-related-posts ul {
    list-style-type: none;
    padding: 0;
}

.entry-content .ct-related-posts ul li {
    padding-left: 20px;
    position: relative;
}

.entry-content .ct-related-posts ul li:before {
    content: "";
    background: url(/wp-content/uploads/Bullet-Point.png);
    width: 10px;
    height: 10px;
    display: flex;
    position: absolute;
    left: 0;
    top: 12px;
}

.entry-content .ct-related-posts ul li a {
    color: #2A2A84;
    font-weight: 600;
    line-height: 36px;
    font-size: 14px;
}

.popular-single .elementor-grid-item:last-child .popular-grid {
    border-right: 0;
}

.entry-content figcaption {
    background: #F4F4F8;
    border-radius: 0px 0px 10px 10px;
    overflow: hidden;
    padding: 10px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.wp-caption {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    position: relative;
}

.wp-caption img {
    border-radius: 10px 10px 0px 0px;
}

/*.wp-caption:before {
    content: "";
    background: url(/wp-content/uploads/RTM-watermark.png);
    width: 204px;
    height: 52px;
    position: absolute;
    right: 0;
    display: block;
    z-index: 1;
    top: 50%;
}*/

/*** Custom navigation single post ****/
.custom-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 50px;
}

.custom-post-nav .nav-label a {
    font-size: 0;
    margin-bottom: 8px;
}

.custom-post-nav .prev-post .nav-label a:before {
    content: "";
    background: url(/wp-content/uploads/Icon_prev.svg);
    width: 40px;
    height: 28px;
    display: inline-block;
}

.custom-post-nav .next-post .nav-label a:before {
    content: "";
    background: url(/wp-content/uploads/Icon_next.svg);
    width: 40px;
    height: 28px;
    display: inline-block;
}

.custom-post-nav a {
    color: #2A2A84;
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
}

.custom-post-nav a:hover {
    color: #359CFC;
}

.custom-post-nav .prev-post {
    text-align: left;
}

.custom-post-nav .next-post {
    text-align: right;
}

.now-playing:before {
    content: "";
    background: #FF2147;
    width: 26px;
    height: 26px;
    display: inline-block;
    border-radius: 100px;
    left: 0;
    position: absolute;
}

.header-mobile.fixed {
    position: fixed;
    box-shadow: 0px 3px 26px #00000029;
    top: 0;
}

/*** popup notifications ***/
.popup-noti {
    position: fixed;
    right: 0;
    bottom: 150px;
    width: auto;
	box-shadow: 0px 3px 6px #00000029;
	z-index: 9;
    animation: popupFadeIn 0.6s ease-out;
}

.popup-noti-close {
    cursor: pointer;
}

.infografik-slider .swiper-pagination-bullet {
	opacity: 1;
	transition: all .3s;
}
.infografik-slider .swiper-pagination-bullet.swiper-pagination-bullet-active {
	width: 33px;
	border-radius: 5px;
	background: #FF2147;
}

.infografik-slider .swiper-pagination-bullets {
    margin: 0 auto;
    transform: translate(0px, 0px);
}

.single-post iframe {
    margin: 0 auto;
    display: flex;
}

.penyampai-pic {
    position: relative;
    top: -7px;
    margin-right: 10px;
}

/*** Responsives **/
@media (max-width: 992px) {
	.category-wrapper {
  		flex-direction: column;
	}

    .post-content .post-title h1 a {
        font-size: 18px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .post-content .post-excerpt {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 22px;
    }

    .title-part {
        font-size: 20px !important;
    }

    .title-part:before {
        top: 0px !important;
    }
}
@media (max-width: 767px) {
    #sidebar {
        padding-left: 10px;
        padding-right: 10px;
    }
	
	.wp-caption {
		max-width: 350px;
	}

    .popular-grid .e-con-inner {
        padding-bottom: 0;
    }

    .ct-related-posts .ct-module-title {
        font-size: 20px;
    }

    .entry-content .ct-related-posts ul li a {
        line-height: 14px;
    }

    

    .category-wrapper {
        flex-direction: column;
    }

    #load-more-container {
        padding-bottom: 1rem;
    }

    .category-column2 {
        width: 100%;
    }

    .ringkasan-part {
        display: block;
    }

    .search header.entry-header .page-title {
        padding: 0 10px;
    }

    #ai-popup img {
        width: 170px;
    }

    #ai-popup button {
        right: 23px;
        top: 7px;
        width: 15px;
        height: 15px;
        font-size: 13px;
        font-weight: 700;
    }

    .ringkasan-wrapper {
        overflow: visible;
    }

    .ringkasan-body {
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        padding-bottom: 100px;
        flex-wrap: nowrap;
    }

    .ringkasan-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        background: fff;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    }

    .custom-post-nav a {
        font-size: 16px;
        line-height: 24px;
    }

    .custom-post-nav .nav-label {
        font-size: 13px;
    }

    .icon-ringkasan .wpulike {
        padding: 0;
    }

    .category-list-popup {
        position: fixed;
        bottom: -100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.2);
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        transition: bottom 0.4s ease;
        z-index: 9999;
        padding: 15px;
    }

    .category-list-popup.active {
        bottom: 0;
    }

    .category-list-popup .popup-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #eee;
        padding-bottom: 8px;
    }

    .popup-toggle::after {
        content: "";
        background: #D1D5DB;
        width: 1px;
        height: 30px;
        position: absolute;
        margin-left: 10px;
        top: 4px;
    }

    .popup-close {
        background: none;
        border: none;
        font-size: 22px;
        cursor: pointer;
    }

    .footer-toggle {
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
    }

    .cat-heading {
        padding-left: 8px;
    }
    
    .ct-related-posts {
        padding-left: 30px;
    }
    
    .berita-summary {
        max-height: 190px;
        overflow-y: scroll;
    }
    
    .banner-metaslider .metaslider .flex-control-nav {
            display: none;
    }

}