/* Ubah lebar ruang artikel */
.sppb-container, .article-details, .com-content-article__body {
  max-width: 1320px; /* ubah ikut kehendak anda, contoh 1100px atau 90% */
  margin: 0 auto;
}

/* Jika masih terhad oleh layout column */
.sp-page-builder .page-content .sppb-row-container {
  max-width: 1100px;
}

/* ───────────── Buang semua garis bawah / pemisah dalam artikel ───────────── */

/* Semua HR dalam artikel */
.com-content-article__body hr,
.article-details hr,
.com-content-article hr {
  display: none !important;
  border: 0 !important;
  background: none !important;
  height: 0 !important;
}

/* Garis pseudo-element automatik Helix */
.article-details::after,
.article-content::after,
.com-content-article::after,
.article-tags::after,
.article-tags::before,
.article-footer::before,
.article-footer::after,
.article-ratings-social-share::before,
.article-ratings-social-share::after,
.related-article::before,
.related-article::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

/* Kadang Helix guna border-top */
.article-tags,
.article-ratings-social-share,
.article-footer,
.article-navigation,
.pagination,
.pager,
.pagination-wrap {
  border: none !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  background: none !important;
}

/* Buang garis pembahagi dalam modul bawah artikel */
.article-details-social-share,
.article-details-social-share::before,
.article-details-social-share::after {
  border: 0 !important;
  background: none !important;
  content: none !important;
  display: none !important;
}

/* Padam margin tambahan yang buat ruang kosong macam garis */
.article-details,
.article-footer,
.article-content,
.article-tags,
.related-article {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ────────── Pulihkan border jadual ────────── */
.article-details table,
.article-details table th,
.article-details table td,
.article-content table,
.article-content table th,
.article-content table td {
  border-width: 1px !important;
  border-style: solid !important;
  border-color: #444 !important;
  border-collapse: collapse !important;
}

/* Opsyen tambahan supaya nampak kemas */
.article-details table {
  width: 100%;
  border-collapse: collapse !important;
}

.article-details th,
.article-details td {
  padding: 8px 10px;
}

/* ───────────── Jadual Gaya Federal Dipertingkat ───────────── */
.article-details table,
.article-content table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #dee2e6; /* warna lembut seperti bootstrap */
  background-color: #fff;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.article-details table th,
.article-details table td,
.article-content table th,
.article-content table td {
  border: 1px solid #dee2e6;
  padding: 10px 12px;
  vertical-align: middle;
}

.article-details table thead th,
.article-content table thead th {
  background-color: #f5f6f8; /* warna kelabu lembut Federal */
  font-weight: 600;
  text-transform: uppercase;
  color: #333;
  border-bottom: 2px solid #d0d0d0;
}

/* Striping selang baris */
.article-details table tbody tr:nth-child(odd),
.article-content table tbody tr:nth-child(odd) {
  background-color: #fafafa;
}

/* Hover effect */
.article-details table tbody tr:hover,
.article-content table tbody tr:hover {
  background-color: #f1f7ff;
}

/* Jika nak gaya Bootstrap aktif semula */ .table, .table-bordered { border: 2px solid #18A047 !important; } .table th, .table td { border: 1px solid #dee2e6 !important; }


/* ────────── Betulkan penjajaran teks nombor telefon ────────── */
.article-details table td,
.article-details table th {
  vertical-align: middle !important; /* Tengah menegak */
  line-height: 1.4 !important;       /* Tinggi baris sederhana */
  padding: 10px 12px !important;
}

/* Tambahan opsyenal jika jadual gunakan class .table */
.table td, .table th {
  vertical-align: middle !important;
}

/* ───────────── PAKSA font pagination kepada Arial ───────────── */
.pagination-wrapper {
  margin-top: 20px;
  align-items: center;
  justify-content: center !important;
}

.pagination-wrapper .pagination {
  margin-bottom: 0 !important;
}

.pagenavigation {
  padding: 2rem 0 0;
}

.pagenavigation .pagination {
  justify-content: center;
  margin: 0 -5px;
}

.pagenavigation .pagination a {
  margin: 0 5px;
  padding: 8px 20px;
}

/* ─── Font Arial untuk semua elemen pagination ─── */
.pagination,
.pagination * {
  font-family: Arial, Helvetica, sans-serif !important;
}

.pagenavigation .pagination a.previous .icon-chevron-left:before {
  content: "";
  font-weight: 900;
  font-family: "Font Awesome 6 Free";
  margin-right: 5px;
}

.pagenavigation .pagination a.next .icon-chevron-right:before {
  content: "";
  font-weight: 900;
  font-family: "Font Awesome 6 Free";
  margin-left: 5px;
}

.pagination-counter {
  display: none;
}

.pagination li {
  margin: 0 20px;
}

.pagination li:first-child,
.pagination li:last-child {
  display: none;
}

.pagination li .page-link {
  font-size: 16px;
  line-height: 40px;
  color: #252525;
  padding: 0;
  border: 0;
  background-color: transparent;
}

.pagination li .page-link:hover {
  color: #0345bf;
  background-color: transparent;
}

.pagination li.active .page-link {
  background-color: transparent;
  color: #0345bf;
}

.pagination li.disabled span.page-link,
.pagination li a[aria-label="Go to previous page"],
.pagination li a[aria-label="Go to next page"] {
  border-radius: 5px;
  padding: 0 15px;
  border: 1px solid #252525;
}

.pagination li.disabled span.page-link:hover,
.pagination li a[aria-label="Go to previous page"]:hover,
.pagination li a[aria-label="Go to next page"]:hover {
  border-color: #0345bf;
}

.pagination li .fa-angle-left:after {
  content: "Previous Page";
  text-transform: capitalize;
  margin-left: 5px;
  font-family: Arial, Helvetica, sans-serif !important;
}

.pagination li .fa-angle-left:before {
  font-weight: 900;
  font-family: "Font Awesome 6 Free";
  content: "";
}

.pagination li .fa-angle-left:hover {
  color: #0345bf;
}

.pagination li .fa-angle-right:before {
  content: "Next Page";
  text-transform: capitalize;
  margin-right: 5px;
  font-family: Arial, Helvetica, sans-serif !important;
}

.pagination li .fa-angle-right:after {
  font-weight: 900;
  font-family: "Font Awesome 6 Free";
  content: "";
}

.pagination li .fa-angle-right:hover {
  color: #0345bf;
}

.pagination a {
  padding: 5px 15px;
}

.pagination .next {
  float: right;
}

.pagination .previous {
  float: left;
}

.pagination:before,
.pagination:after {
  clear: both;
  display: table;
  content: "";
  line-height: 0;
  box-sizing: border-box;
}

.article-details .article-info span {
    font-size: 14px;
    line-height: 22px;
    color:#9d9d9d
}

.rsseo_title {
	font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
}

.rsseo_links_small {
    font-size: 18px;

}

/* ───────────── Kotak Ringkasan Utama (JMG Summary Box) ───────────── */ .jmg-box { border: 1px solid #dcdcdc; border-left: 5px solid #0345bf; background-color: #f8f9fa; padding: 20px 24px; border-radius: 6px; margin: 1.5rem 0; font-family: Arial, Helvetica, sans-serif; } .jmg-box h4 { font-size: 1.35rem; font-weight: 600; color: #0345bf; margin-bottom: 1rem; } .jmg-numbered { counter-reset: jmg-counter; list-style: none; margin: 0; padding: 0; } .jmg-numbered li { counter-increment: jmg-counter; position: relative; margin-bottom: 0.8rem; padding-left: 3rem; line-height: 1.5; color: #333; } .jmg-numbered li::before { content: counter(jmg-counter); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; background-color: #0345bf; color: #fff; font-weight: 700; border-radius: 50%; text-align: center; line-height: 2rem; font-size: 1rem; box-shadow: 0 0 3px rgba(0,0,0,0.1); } /* Nota JMG */ .jmg-quote { border-left: 4px solid #2e7d32; background-color: #eaf1ff; padding: 14px 20px; margin: 1.5rem 0 0 0; font-style: italic; color: #333; border-radius: 4px; } .jmg-quote strong { color: #003c99; font-style: normal; } /* Nota kaki AI */ .ai-footnote { margin-top: 10px; font-size: 1rem; color: #777; font-style: italic; }

/****************************************************
 * OFFCANVAS FIX – JMG CUSTOM
 * Compatible: Joomla 4/5 + Helix Ultimate
 * Version: 1.0
 ****************************************************/

/* ===============================
   1. GENERAL OFFCANVAS STRUCTURE
   =============================== */

.offcanvas-menu {
    background: #ffffff;
    width: 100%;
    max-width: 360px;
    padding: 0 18px 40px;
}

.offcanvas-menu a {
    text-decoration: none !important;
    color: #1b1b1b;
    font-size: 16px;
}

.offcanvas-menu .offcanvas-inner {
    padding-top: 0 !important;
}

.offcanvas-menu .close-offcanvas {
    padding: 10px 0;
}


/* ===============================
   2. TOP-LEVEL MENU ITEMS
   =============================== */

.offcanvas-menu ul.mod-menu > li > a {
    display: block;
    padding: 14px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1b1b1b;
    border-bottom: 1px solid #f0f0f0;
}

.offcanvas-menu ul.mod-menu > li.menu-parent > a {
    padding-right: 30px;
    position: relative;
}


/* ===============================
   3. MENU TOGGLER (ARROW)
   =============================== */

.offcanvas-menu .menu-toggler {
    position: absolute;
    right: 0;
    top: 14px;
    width: 22px;
    height: 22px;
    cursor: pointer;

    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path fill="%23252525" d="M8 6l8 6-8 6z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    transition: transform .25s ease-in-out;
}

.offcanvas-menu .menu-parent-open > a > .menu-toggler,
.offcanvas-menu .menu-parent-open > span > .menu-toggler {
    transform: rotate(90deg);
}


/* ===============================
   4. SUBMENU WRAPPER
   =============================== */

.offcanvas-menu .mod-menu__sub {
    padding-left: 18px !important;
    margin-top: 6px;
    border-left: 1px solid #e4e4e4;
    display: none;
}

.offcanvas-menu .menu-parent-open > .mod-menu__sub {
    display: block !important;
}

.offcanvas-menu .mod-menu__sub a {
    display: block;
    padding: 10px 0 !important;
    font-size: 15px;
    color: #242424;
    border-bottom: 1px solid #f4f4f4;
}


/* ===============================
   5. SUBMENU HEADINGS
   =============================== */

.offcanvas-menu .mod-menu__heading {
    display: block;
    font-weight: 600;
    padding: 14px 0;
    color: #222;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-right: 30px;
}

.offcanvas-menu .mod-menu__heading .menu-toggler {
    top: 14px;
}


/* ===============================
   6. SPACING & VISUAL CLEANS
   =============================== */

.offcanvas-menu .sp-module {
    margin: 0;
    padding: 0;
    border: 0;
}

.offcanvas-menu a:hover {
    color: #0345bf;
}

.offcanvas-menu ul.mod-menu,
.offcanvas-menu .mod-menu__sub {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.offcanvas-menu .mod-menu__sub .mod-menu__sub {
    padding-left: 16px !important;
    border-left: 1px solid #efefef;
}


/* ===============================
   7. BUG FIXES (HELIX)
   =============================== */

.offcanvas-menu [style*="display: block"] {
    display: block !important;
}

.offcanvas-menu li {
    position: relative;
    width: 100%;
}

.offcanvas-menu .menu-parent > a,
.offcanvas-menu .menu-parent > span {
    padding-right: 34px !important;
}


/****************************************************
 * ACTIVE LEFT BAR INDICATOR (JMG)
 ****************************************************/

.offcanvas-menu ul.mod-menu > li.current > a,
.offcanvas-menu ul.mod-menu > li.active > a,
.offcanvas-menu .mod-menu__sub li.current > a,
.offcanvas-menu .mod-menu__sub li.active > a {
    background: transparent !important;
    position: relative;
    color: #1b1b1b !important;
    font-weight: 600 !important;
}

.offcanvas-menu ul.mod-menu > li.current > a::before,
.offcanvas-menu ul.mod-menu > li.active > a::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 0;
    width: 4px;
    height: 100%;
    background: #0345bf;
    border-radius: 0 4px 4px 0;
}

.offcanvas-menu .mod-menu__sub li.current > a::before,
.offcanvas-menu .mod-menu__sub li.active > a::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 0;
    width: 3px;
    height: 100%;
    background: #0345bf;
    border-radius: 0 4px 4px 0;
}

.offcanvas-menu .mod-menu__sub a {
    position: relative;
}

.offcanvas-menu .mod-menu__sub li.current > a,
.offcanvas-menu .mod-menu__sub li.active > a,
.offcanvas-menu ul.mod-menu > li.current > a,
.offcanvas-menu ul.mod-menu > li.active > a {
    background: #f8f8f8 !important;
    border-radius: 6px;
}


/****************************************************
 * 2) UNIFY FONT SIZE
 ****************************************************/

.offcanvas-menu ul.mod-menu > li > a {
    font-size: 18px !important;
}

.offcanvas-menu .mod-menu__heading {
    font-size: 18px !important;
}

.offcanvas-menu .mod-menu__sub a {
    font-size: 16px !important;
}

.offcanvas-menu .menu-toggler {
    width: 20px !important;
    height: 20px !important;
    background-size: 12px !important;
}


/****************************************************
 * 3) PREVENT WHITE TEXT OVERRIDE
 ****************************************************/

.offcanvas-menu a,
.offcanvas-menu a.current,
.offcanvas-menu a.active,
.offcanvas-menu .mod-menu__heading {
    color: #1b1b1b !important;
}


/****************************************************
 * 4) UNIFORM CURSOR
 ****************************************************/

.offcanvas-menu a,
.offcanvas-menu .mod-menu__heading,
.offcanvas-menu .menu-parent > a,
.offcanvas-menu .menu-parent > span,
.offcanvas-menu .mod-menu__sub a {
    cursor: pointer !important;
}

.offcanvas-menu .menu-toggler {
    cursor: pointer !important;
}

.offcanvas-menu li,
.offcanvas-menu ul,
.offcanvas-menu .sp-module,
.offcanvas-menu .mod-menu__sub {
    cursor: default !important;
}


/****************************************************
 * 5) HOVER BLOCK (NO ANIMATION)
 ****************************************************/

/* Tiada transition langsung pada semua elemen menu */
.offcanvas-menu a,
.offcanvas-menu .mod-menu__heading,
.offcanvas-menu .menu-toggler,
.offcanvas-menu .mod-menu__sub a {
    transition: none !important;
}

/* Hover untuk parent (Korporat, Perkhidmatan…) */
.offcanvas-menu ul.mod-menu > li.menu-parent > a:hover,
.offcanvas-menu ul.mod-menu > li.menu-parent:hover > a {
    background: #eaf1ff !important; /* biru lembut */
    border-radius: 6px;
    color: #0345bf !important;
}

/* Hover untuk heading submenu (Mengenai Kami, Identiti…) */
.offcanvas-menu .mod-menu__heading:hover {
    background: #eaf1ff !important;
    border-radius: 6px;
    color: #0345bf !important;
}

/* Hover untuk submenu items */
.offcanvas-menu .mod-menu__sub a:hover {
    background: #eaf1ff !important;
    border-radius: 6px;
    color: #0345bf !important;
}

/* Active item tidak berubah bila hover */
.offcanvas-menu li.active > a:hover,
.offcanvas-menu li.current > a:hover {
    background: #f8f8f8 !important;
    color: #1b1b1b !important;
}

/****************************************************
 * FIX: OFFCANVAS KELUAR DARI TEPI SKRIN
 * (Force hidden when closed, show when active)
 ****************************************************/

/* Posisi asal – sorok di luar skrin sebelah kanan */
.offcanvas-menu {
    position: fixed !important;
    top: 0;
    right: 0;
    height: 100vh !important;
    transform: translateX(100%) !important;
    transition: none !important;
    overflow-y: auto !important; /* pastikan boleh scroll */
}

/* Bila aktif (menu dibuka) */
body.offcanvas-active .offcanvas-menu {
    transform: translateX(0%) !important;
}

/* Overlay juga mesti tutup klik luar */
.offcanvas-overlay {
    position: fixed !important;
    inset: 0;
}

/* Pastikan body tidak overflow sideways */
body.offcanvas-active {
    overflow: hidden !important;
}

/****************************************************
 * FONT CONSISTENCY – Use Figtree for All Offcanvas Items
 ****************************************************/
.offcanvas-menu,
.offcanvas-menu * {
    font-family: 'Figtree', Arial, sans-serif !important;
    font-weight: 500 !important;
    color: #1c1c1c !important; /* warna teks sama seperti navbar utama */
}

/* Top-level menu text weight (same as desktop navbar) */
.offcanvas-menu ul.mod-menu > li > a {
    font-weight: 600 !important;
}

/* Submenu & heading just slightly lighter */
.offcanvas-menu .mod-menu__heading,
.offcanvas-menu .mod-menu__sub a {
    font-weight: 500 !important;
}

/****************************************************
 * COLOR CONSISTENCY – Match Navbar Theme
 ****************************************************/
/* Top-level default color */
.offcanvas-menu ul.mod-menu > li > a {
    color: #1e1e1e !important;
}

/* Submenu items */
.offcanvas-menu .mod-menu__sub a {
    color: #2a2a2a !important;
}

/* Hover color (match main menu hover) */
.offcanvas-menu a:hover,
.offcanvas-menu .mod-menu__heading:hover,
.offcanvas-menu ul.mod-menu > li.menu-parent:hover > a {
    color: #0345bf !important; /* warna biru JMG */
}

/* Active state color */
.offcanvas-menu li.active > a,
.offcanvas-menu li.current > a {
    color: #0345bf !important;
}

/* Arrow color also unify */
.offcanvas-menu .menu-toggler {
    filter: brightness(0) saturate(100%) invert(10%) sepia(3%) saturate(400%) hue-rotate(180deg);
}


/****************************************************
 * END – OFFCANVAS FIX JMG
 ****************************************************/

/* =====================================================
   FORCE 4 ICONS IN ONE ROW (MOBILE ONLY)
   Untuk section id="sp-section-1"
   ===================================================== */
/* ===== FORCE 4 ICONS IN 1 ROW (MOBILE) ===== */
/* --- Fix container width (SPPB override) --- */
@media (max-width: 575.98px) {
    #section-id-9ce34eba-993a-49ed-8e41-bb3cd65da009 {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Paksa 4 ikon dalam 1 baris */
    #section-id-9ce34eba-993a-49ed-8e41-bb3cd65da009 .sppb-row {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 10px;
    }

    #section-id-9ce34eba-993a-49ed-8e41-bb3cd65da009 .sppb-row-column {
        flex: unset !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        text-align: center;
    }

    #section-id-9ce34eba-993a-49ed-8e41-bb3cd65da009 img {
        height: 40px !important;
        width: auto !important;
    }
}

/**********************************************************
 * JMG — CUSTOM.CSS (FINAL AUTOSCALE LOGO VERSION v2)
 * Logo penuh, auto-resize ikut HP, hamburger kekal
 * FIXED: buang logo duplicate, pastikan logo-image-phone sahaja
 **********************************************************/

/* SEMBUNYIKAN LOGO DESKTOP DI MOBILE */
@media (max-width: 991px) {
    .logo-image {
        display: none !important;  /* elak double logo */
    }
}

/* MOBILE (≤ 991px) */
@media (max-width: 991px) {

    /* HEADER sebagai Flexbox */
    #sp-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 8px 15px !important;
        height: auto !important;
        min-height: 70px !important;
        position: relative !important;
        background: #0d2243 !important; /* warna header */
    }

    /* LOGO CONTAINER = ambil ruang fleksibel */
    #sp-header .logo {
        flex: 1 1 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin-right: 10px !important;
        padding: 0 !important;
    }

    /* Hanya gunakan logo-image-phone utk mobile */
    .logo-image-phone {
        display: block !important;
    }

    /* AUTOSCALE LOGO — ikut saiz HP */
    #sp-header .logo img {
        width: 100% !important;        /* penuh ruang yang dibenarkan */
        height: auto !important;       /* ikut ratio asal imej */
        max-width: 260px !important;   /* optimum untuk HP 390–430px */
        object-fit: contain !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* HAMBURGER = sentiasa fixed width */
    #offcanvas-toggler {
        flex: 0 0 40px !important;
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 9999 !important;
        position: relative !important;
        margin-left: 5px !important;
        padding: 0 !important;
    }

    /* Pastikan Helix tak sembunyikan */
    #sp-header #offcanvas-toggler.offcanvas,
    #sp-header #offcanvas-toggler.mega {
        display: flex !important;
    }
}

/* EXTRA SMALL – iPhone SE / skrin kecil (≤ 575px) */
@media (max-width: 575px) {

    #sp-header .logo img {
        max-width: 220px !important;   /* lebih kecil sikit utk ruang sempit */
    }

    #offcanvas-toggler {
        width: 36px !important;
        height: 36px !important;
    }
}

/* ============================================================
   FORCE ONLY MOBILE LOGO TO DISPLAY — REMOVE ALL DUPLICATES
   ============================================================ */
@media (max-width: 991px) {

    /* Buang SEMUA imej logo lain */
    #sp-header .logo img:not(.logo-image-phone) {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        pointer-events: none !important;
    }

    /* Pastikan mobile logo SAHAJA muncul */
    .logo-image-phone {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-width: 260px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* Hide search bar JMG (mod-finder) pada skrin ≤ 1200px (iPad + mobile) */
@media (max-width: 1200px) {
    #menu-right .header-modules .sp-module .mod-finder,
    #menu-right .header-modules .sp-module form.mod-finder,
    #menu-right .header-modules .sp-module {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/*
=========================================
 FORCE ALL CAROUSEL BANNERS TO BE SQUARE
=========================================
@media (max-width: 768px) {

    .sppb-carousel-extended-item {
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        overflow: hidden !important;
        position: relative !important;
    }

    .sppb-carousel-extended-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
    }

    .sppb-carousel-extended-outer-stage,
    .sppb-carousel-extended-list {
        height: auto !important;
    }
}

/****************************************************
 * REMOVE BLUE GAP BETWEEN BANNERS (DESKTOP)
 ****************************************************
@media (min-width: 992px) {

    .sppb-carousel-extended .sppb-carousel-extended-item {
        margin-right: 3px !important;
        margin-left: 3px !important;
    }

    .sppb-carousel-extended .sppb-carousel-extended-item {
        width: calc(100% / 3) !important;
        aspect-ratio: 1 / 1 !important;
        overflow: hidden;
    }

    .sppb-carousel-extended-list,
    .sppb-carousel-extended-outer-stage {
        padding: 0 !important;
        margin: 0 !important;
    }

    .sppb-carousel-extended .sppb-carousel-extended-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}
*/

/* ===========================================
   JMG HEADER SEARCH BOX – AUTO RESIZE (FIXED)
   =========================================== */

/* HEADER mesti satu baris (desktop) */
#sp-header > .container,
#sp-header > .container > .row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;  /* ⭐ kekalkan kiri → kanan */
    flex-wrap: nowrap !important; /* ⭐ JANGAN bagi dia jatuh 2 baris */
}

/* KANAN HEADER (Search + Ikon + Hamburger) */
#menu-right {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    flex-shrink: 0 !important;     /* ⭐ Jangan biar ruang mengecil */
}

/* ==============================
   SEARCH BAR
   ============================== */

/* Hilangkan tulisan Search / Carian */
#mod-finder-searchword::placeholder {
    color: transparent !important;
    opacity: 0 !important;
}


/* Auto-resize + ikon */
#mod-finder-searchword.js-finder-search-query.form-control {
    flex: 0 0 auto !important;  /* ⭐ NILAI TEPAT: tiada squeeze */
    width: clamp(140px, 18vw, 240px) !important;
    min-width: 140px !important;
    max-width: 240px !important;

    height: 34px !important;
    padding: 6px 12px 6px 32px !important;
    font-size: 0.95rem !important;

    border-radius: 4px !important;
    border: 1px solid #ccc !important;

    background-image: url("https://cdn-icons-png.flaticon.com/512/622/622669.png");
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: right 10px center;
}

/* HAMBURGER sentiasa duduk KANAN */
#offcanvas-toggler {
    flex-shrink: 0 !important;   /* ⭐ ini kunci */
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* MOBILE */
@media (max-width: 768px) {
    #mod-finder-searchword.js-finder-search-query.form-control {
        width: clamp(110px, 40vw, 200px) !important;
    }
}

/* OFFCANVAS – remove hover background */
.offcanvas-menu a:hover,
.offcanvas-menu .mod-menu__heading:hover,
.offcanvas-menu ul.mod-menu > li.menu-parent:hover > a,
.offcanvas-menu .mod-menu__sub a:hover {
    background: transparent !important;
    color: #0345bf !important;
}

/* ===========================================
   JARAK / LINE-HEIGHT SUBMENU MEGAMENU JMG
   =========================================== */

/* Item submenu (dalam dropdown) */
.sp-megamenu-parent .sp-dropdown li a {
    line-height: 1.6 !important;     /* lebih selesa */
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

/* Jika submenu ada <span> atau <div> dalam item */
.sp-megamenu-parent .sp-dropdown li {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

.sp-copyright {
    display: block !important;
    margin-top: 25px !important;
}

/* ====== CENTER SEARCH FORM (Joomla Finder) ====== */

/* Bungkus seluruh form ke tengah */
.com-finder__form,
.com-finder .js-finder-searchform {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Fieldset align tengah */
.com-finder__search.word {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Buang label "Search Terms:" */
.com-finder__search label[for="q"] {
    display: none !important;
}

/* Kumpulkan input + button */
.com-finder__search .form-inline {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Input group pusat */
.com-finder__search .input-group {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Input carian */
.com-finder__search input#q {
    width: 450px !important;
    max-width: 95%;
    padding: 12px 16px;
    font-size: 1.1rem;
}

/* Button */
.com-finder__search button[type="submit"] {
    padding: 12px 22px;
    font-size: 1.05rem;
}

/* ===== MOBILE VIEW ===== */
@media (max-width: 768px) {

    .com-finder__search .input-group {
        flex-direction: column;
        width: 100%;
    }

    .com-finder__search button[type="submit"] {
        width: 100%;
    }

    .com-finder__search input#q {
        width: 100% !important;
    }
}

.article-tags {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.article-tags ul,
.article-tags li {
    display: inline-block !important;
}

/* Turunkan kotak Megamenu (dropdown) */
.sp-megamenu-parent .sp-dropdown {
    margin-top: 0px !important;   /* ubah nilai ikut kesesuaian */
}

<!-- =========================================================
     CSS – FEDERAL WHITE CARD
     ========================================================= -->

/* ===== Outer container ===== */
.federal-box{
  background:#f4f6f9;
  border:1px solid rgba(0,0,0,.06);
  border-radius:14px;
  padding:26px;
}

/* ===== Titles ===== */
.federal-title{
  font-size:1.45rem;
  font-weight:800;
  margin-bottom:6px;
  text-transform:uppercase;
}
.federal-subtitle{
  font-size:1.05rem;
  margin-bottom:20px;
}
.federal-section-title{
  font-size:1.25rem;
  font-weight:700;
  margin-bottom:14px;
}

.text-muted{opacity:.75;}

/* ===== White card for table ===== */
.federal-card{
  background:#ffffff;
  border-radius:0px;
  box-shadow:0 4px 10px rgba(0,0,0,.08);
  padding:0;
  overflow:hidden;
}

/* ===== Table XL ===== */
.table-federal-xl th{
  font-size:1.2rem;
  font-weight:700;
  background:#eef2f6;
  border-bottom:2px solid rgba(0,0,0,.15);
}
.table-federal-xl td{
  font-size:1.15rem;
  line-height:1.85;
  padding:1rem 1.1rem;
}
.table-federal-xl td:first-child{
  font-weight:600;
  white-space:nowrap;
}