.maintexttitle {
    color: #000000;
    font-size: 12px;
    font-family: Tahoma, Verdana, Arial;
    font-weight: bold;
    text-decoration: none;
}

.huruf {
    font-family: 'Montserrat', sans-serif;
}

.putih {
    color: seashell;
}

.textGallery {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    text-align: justify;
}

.judulPublikasi {
    font-size: 18px;
}

/* awal lib */
@keyframes line-scale {
    0%, 100% { -webkit-transform: scaley(1); transform: scaley(1) }
    50% { -webkit-transform: scaley(.4); transform: scaley(.4) }
}

.line-scale>div:nth-child(1) { -webkit-animation: line-scale 1s -.4s infinite cubic-bezier(.2, .68, .18, 1.08); animation: line-scale 1s -.4s infinite cubic-bezier(.2, .68, .18, 1.08) }
.line-scale>div:nth-child(2) { -webkit-animation: line-scale 1s -.3s infinite cubic-bezier(.2, .68, .18, 1.08); animation: line-scale 1s -.3s infinite cubic-bezier(.2, .68, .18, 1.08) }
.line-scale>div:nth-child(3) { -webkit-animation: line-scale 1s -.2s infinite cubic-bezier(.2, .68, .18, 1.08); animation: line-scale 1s -.2s infinite cubic-bezier(.2, .68, .18, 1.08) }
.line-scale>div:nth-child(4) { -webkit-animation: line-scale 1s -.1s infinite cubic-bezier(.2, .68, .18, 1.08); animation: line-scale 1s -.1s infinite cubic-bezier(.2, .68, .18, 1.08) }
.line-scale>div:nth-child(5) { -webkit-animation: line-scale 1s 0s infinite cubic-bezier(.2, .68, .18, 1.08); animation: line-scale 1s 0s infinite cubic-bezier(.2, .68, .18, 1.08) }

.line-scale>div {
    animation-fill-mode: both;
    display: inline-block;
    background-color: #fff;
    border-radius: 2px;
    margin: 2px;
    width: 4px;
    height: 35px;
}

/* ## Site Loader */
.load-complete {
    position: fixed;
    background: #fff;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1031;
}

.load-complete .logo {
    color: #4C4C4C;
    text-align: center;
    display: block;
    margin-bottom: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 50px;
}

@keyframes loading { from { left: 0; } to { left: 100%; } }

/* MODERN UI OVERRIDE 2026 */
body { background-color: #f8f9fa; font-family: 'Montserrat', sans-serif; color: #333; }

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body .entry-title,
body .page-title,
body .item-title,
body .widget h3,
body .widget h4 {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif !important;
    letter-spacing: 0 !important;
}

body h1,
body h2,
body .entry-title,
body .page-title {
    font-weight: 700 !important;
}

body h3,
body h4,
body h5,
body h6,
body .item-title,
body .widget h3,
body .widget h4 {
    font-weight: 600 !important;
}

#topNav { border-bottom: 1px solid #eee !important; box-shadow: none !important; background: #fff !important; }
#topMain > li > a { font-weight: 600 !important; font-size: 13px; color: #444 !important; }

@media (max-width: 768px) {
    #slidetop,
    #slidetop .slidetop-toggle {
        display: none !important;
    }

    header#topNav {
        height: 66px !important;
        z-index: 1600 !important;
    }

    header#topNav a.logo {
        min-height: 66px !important;
        margin-top: -8px !important;
        align-items: center !important;
    }

    header#topNav a.logo img {
        max-height: 52px !important;
        max-width: 150px !important;
        padding: 3px 0 !important;
    }

    header#topNav button.btn-mobile {
        width: 38px !important;
        height: 38px !important;
        margin-top: 3px !important;
        padding: 0 !important;
    }

    header#topNav button.btn-mobile i {
        font-size: 18px !important;
        line-height: 38px !important;
    }

    header#topNav div.nav-main-collapse.in {
        position: relative !important;
        z-index: 1601 !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
    }

    header#topNav nav.nav-main,
    header#topNav ul#topMain {
        position: relative !important;
        z-index: 1602 !important;
    }

    header#topNav nav ul.nav-main li a,
    header#topNav nav ul.nav-main ul.dropdown-menu li > a {
        min-height: 42px !important;
        padding: 10px 15px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 20px !important;
        text-align: left !important;
    }

    header#topNav nav.nav-main li.resp-active > ul.dropdown-menu,
    header#topNav nav ul.nav-main li.resp-active > ul.dropdown-menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        max-height: none !important;
        position: static !important;
        margin: 0 !important;
        padding: 0 0 6px 18px !important;
        overflow: visible !important;
    }

    header#topNav nav ul.nav-main li.resp-active > ul.dropdown-menu > li > a {
        padding-left: 18px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
    }

    .contact-hero h2 {
        font-size: 22px !important;
        line-height: 1.25 !important;
    }

    .contact-hero p {
        font-size: 13px !important;
        line-height: 1.65 !important;
    }
}
#topMain > li.active > a { color: var(--brand-primary, #e62f17) !important; }

/* ==========================================================================
   REVISI SIDEBAR RIGHTLINK (Agar Tampilan Recent Posts Lebih Enak Dilihat)
   ========================================================================== */

/* Container Widget */
.widget h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 20px;
    border-left: 4px solid var(--brand-primary, #e62f17);
    padding-left: 10px;
    color: #1a202c;
}

/* List Recent Posts Modern */
.recent-posts-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}


/* Merapatkan List Recent Posts agar lebih padat */
.recent-posts-modern li {
    padding: 0 0 5px 0 !important; /* Diperkecil dari 15px/8px ke 5px */
    margin-bottom: 8px !important; /* Jarak antar baris berita */
    border-bottom: 1px solid #eee;
    display: block;
}

.recent-posts-modern li:last-child {
    border-bottom: none;
}

.recent-posts-modern a {
    text-decoration: none !important;
    display: block;
}

/* Merapatkan jarak antara label tipe (Video/Program) dengan judul */
.post-type-tag {
    font-size: 10px;
    margin-bottom: 0px !important; /* Menghapus margin bawah agar judul menempel */
    padding: 1px 6px !important;
    display: inline-block;
}

/* Merapatkan jarak antara judul dengan tanggal */
.post-title-sidebar {
    margin-bottom: 2px !important; /* Diperkecil dari 5px ke 2px */
    line-height: 1.2 !important; /* Spasi antar baris lebih rapat */
}

.recent-posts-modern li:hover .post-title-sidebar {
    color: var(--brand-primary, #e62f17);
}

/* Tanggal */
.recent-posts-modern small {
    font-size: 11px;
    color: #888;
    display: block;
    margin-top: 0px !important; /* Menghapus jarak antara judul dan tanggal */
}

.recent-posts-modern small i {
    margin-right: 5px;
}

/* Kategori Nav List */
.nav-list li a {
    color: #444 !important;
    font-weight: 500;
    transition: all 0.2s;
    padding: 8px 0 !important;
    border-bottom: 1px solid #f9f9f9;
}

.nav-list li a:hover {
    color: var(--brand-primary, #e62f17) !important;
    padding-left: 5px !important;
}

/* Video Gallery legacy selectors are intentionally left unstyled here.
   The current public video gallery is scoped in layout.css. */
body[data-color-scheme="dark"] #page-title {
    background: #171717 !important;
    border-bottom-color: #2f2f2f !important;
}
body[data-color-scheme="dark"] #portfolio h2,
body[data-color-scheme="dark"] #portfolio .lead,
body[data-color-scheme="dark"] #portfolio .item-box-desc h5 {
    color: #e5e7eb !important;
}
body[data-color-scheme="dark"] #portfolio .item-box {
    background: #1f1f1f !important;
    border: 1px solid #2f2f2f !important;
}
body[data-color-scheme="dark"] #portfolio .item-box-desc {
    background: #1f1f1f !important;
}
body[data-color-scheme="dark"] #portfolio .nav-pills > li > a {
    color: #e5e7eb !important;
    background: #1f1f1f !important;
    border: 1px solid #2f2f2f !important;
}
body[data-color-scheme="dark"] #portfolio .nav-pills > li.active > a,
body[data-color-scheme="dark"] #portfolio .nav-pills > li > a:hover {
    background: var(--brand-primary, #e62f17) !important;
    border-color: var(--brand-primary, #e62f17) !important;
    color: #fff !important;
}

/* Public page title and action button standard */
:root {
    --public-page-title-body-gap: 20px;
}

header#page-title.public-page-title {
    clear: none !important;
    margin-bottom: var(--public-page-title-body-gap) !important;
    padding: 16px 0 12px !important;
    background: #ffffff !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: 1px solid #e5e7eb !important;
    color: #111827 !important;
    text-align: left !important;
}

header#page-title.public-page-title .public-page-title-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    text-align: left !important;
}

header#page-title.public-page-title .public-page-title-copy {
    width: 100%;
    text-align: left !important;
}

header#page-title.public-page-title h1 {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

header#page-title.public-page-title .breadcrumb {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    font-size: 12px !important;
}

header#page-title.public-page-title .breadcrumb > li,
header#page-title.public-page-title .breadcrumb > li > a {
    color: #64748b !important;
    text-decoration: none !important;
}

header#page-title.public-page-title .breadcrumb > .active {
    color: #111827 !important;
    font-weight: 700 !important;
}

#app-content[data-route="index"] .fullwidthbanner-container {
    margin-bottom: 8px !important;
}

#app-content[data-route="index"] #blog.home-news-section header#page-title.public-page-title {
    margin-bottom: 14px !important;
    padding-top: 10px !important;
    padding-bottom: 9px !important;
}

@media (max-width: 768px) {
    #app-content[data-route="index"] #blog.home-news-section,
    #app-content[data-route="index"] #blog.home-news-section .container,
    #app-content[data-route="index"] #blog.home-news-section .row,
    #app-content[data-route="index"] #blog.home-news-section .left {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    #app-content[data-route="index"] #blog.home-news-section .masonry-list {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #app-content[data-route="index"] #blog.home-news-section .masonry-item {
        float: none !important;
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
        margin: 14px auto 22px !important;
        padding: 0 !important;
        border-radius: 8px !important;
    }

    #app-content[data-route="index"] #blog.home-news-section .news-content-padding {
        padding: 18px !important;
    }

    #app-content[data-route="index"] #blog.home-news-section .news-title-text a,
    #app-content[data-route="index"] #blog.home-news-section .news-title-link a {
        font-size: 17px !important;
        line-height: 1.28 !important;
    }

    header#page-title.public-page-title .breadcrumb {
        padding-right: 15px !important;
        padding-left: 15px !important;
    }

    body[data-route="detailnews"] .entry-content,
    body[data-route="detailnews"] .entry-content p,
    body[data-route="detailnews"] .blog-post-content,
    body[data-route="detailnews"] .blog-post-content p {
        word-spacing: normal !important;
        letter-spacing: 0 !important;
        line-height: 1.7 !important;
    }

    body[data-route="detailnews"] .entry-content,
    body[data-route="detailnews"] .blog-post-content {
        width: 100% !important;
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
        font-size: 15px !important;
    }

    body[data-route="detailnews"] .entry-content *,
    body[data-route="detailnews"] .blog-post-content * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    body[data-route="detailnews"] .entry-content p,
    body[data-route="detailnews"] .entry-content div,
    body[data-route="detailnews"] .entry-content span,
    body[data-route="detailnews"] .entry-content li,
    body[data-route="detailnews"] .blog-post-content p,
    body[data-route="detailnews"] .blog-post-content div,
    body[data-route="detailnews"] .blog-post-content span,
    body[data-route="detailnews"] .blog-post-content li {
        font-size: inherit !important;
        line-height: inherit !important;
        word-spacing: normal !important;
        letter-spacing: 0 !important;
    }

    body[data-route="detailnews"] .entry-content h1,
    body[data-route="detailnews"] .entry-content h2,
    body[data-route="detailnews"] .entry-content h3 {
        margin-top: 20px !important;
        margin-bottom: 10px !important;
        line-height: 1.25 !important;
        text-align: left !important;
    }

    body[data-route="detailnews"] .entry-content h1 { font-size: 23px !important; }
    body[data-route="detailnews"] .entry-content h2 { font-size: 21px !important; }
    body[data-route="detailnews"] .entry-content h3 { font-size: 18px !important; }

    body[data-route="detailnews"] .entry-content img,
    body[data-route="detailnews"] .entry-content figure,
    body[data-route="detailnews"] .entry-content iframe,
    body[data-route="detailnews"] .entry-content video {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    body[data-route="detailnews"] .entry-content table {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch;
    }
}

html[data-route="aboutas"],
body[data-route="aboutas"],
body[data-route="aboutas"] * {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

html[data-route="aboutas"]::-webkit-scrollbar,
body[data-route="aboutas"]::-webkit-scrollbar,
body[data-route="aboutas"] *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

html[data-route="detailprogram"],
body[data-route="detailprogram"] {
    max-width: 100% !important;
    overflow-x: hidden !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

body[data-route="detailprogram"] * {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

html[data-route="detailprogram"]::-webkit-scrollbar,
body[data-route="detailprogram"]::-webkit-scrollbar,
body[data-route="detailprogram"] *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

body[data-route="detailprogram"] #wrapper,
body[data-route="detailprogram"] #app-content {
    max-width: min(1170px, 100%) !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
}

body[data-route="detailprogram"] #slidetop {
    left: 0 !important;
    right: 0 !important;
    max-width: 100% !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
    transform: none !important;
}

body[data-route="detailprogram"] *::-webkit-scrollbar:horizontal {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.public-btn,
.btn-modern-back,
.btn-read-modern,
.btn-download-pub {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    min-height: 34px !important;
    padding: 8px 14px !important;
    border: 1px solid var(--brand-primary, #e62f17) !important;
    border-radius: 6px !important;
    background: var(--brand-primary, #e62f17) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.public-btn:hover,
.btn-modern-back:hover,
.btn-read-modern:hover,
.btn-download-pub:hover {
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 18px rgba(230, 47, 23, 0.22) !important;
}

.public-btn.public-btn-secondary,
.btn-modern-back {
    margin-left: auto !important;
    background: #ffffff !important;
    color: #111827 !important;
    border-color: #d1d5db !important;
    box-shadow: none !important;
}

.public-btn.public-btn-secondary:hover,
.btn-modern-back:hover {
    background: #f9fafb !important;
    color: #111827 !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08) !important;
}

body[data-color-scheme="dark"] header#page-title.public-page-title {
    background: #171717 !important;
    border-top-color: #2f2f2f !important;
    border-bottom-color: #2f2f2f !important;
    color: #e5e7eb !important;
}

body[data-color-scheme="dark"] header#page-title.public-page-title .breadcrumb > .active {
    color: #e5e7eb !important;
}

body[data-color-scheme="dark"] header#page-title.public-page-title .breadcrumb,
body[data-color-scheme="dark"] header#page-title.public-page-title .breadcrumb > li,
body[data-color-scheme="dark"] header#page-title.public-page-title .breadcrumb > li > a {
    color: #9ca3af !important;
}

body[data-color-scheme="dark"] .public-btn.public-btn-secondary,
body[data-color-scheme="dark"] .btn-modern-back {
    background: #1f1f1f !important;
    color: #e5e7eb !important;
    border-color: #374151 !important;
}

@media (max-width: 767px) {
    :root {
        --public-page-title-body-gap: 18px;
    }

    header#page-title.public-page-title {
        padding: 15px 0 11px !important;
        margin-bottom: var(--public-page-title-body-gap) !important;
    }

    header#page-title.public-page-title .public-page-title-inner {
        align-items: flex-start;
        flex-direction: column;
    }

}
