/*
Theme Name: Tema Universitas Darunnajah
Theme URI: https://www.zakiy.my.id/wordpress
Author: Faishal Wafiq Zakiy
Author URI: https://www.zakiy.my.id/
Description: Tema WordPress minimalis untuk Universitas Darunnajah dari Faishal Wafiq Zakiy, S.Kom., M.T.I., dosen Program Studi Rekayasa Perangkat Lunak <a href="https://www.darunnajah.ac.id/">Universitas Darunnajah</a>. Mau membeli tema ini? Silakan menghubungi Faishal Wafiq Zakiy <a href="https://www.zakiy.my.id/kontak">disini</a>. 
Version: 2.1
Requires at least: 7.0
Requires PHP: 8.1
License: Premium
Text Domain: tema-wordpress-darunnajah
*/

:root {
    --body-background: var(--body-background, #ffffff);
    --body-text: #202124;
    --link-color: var(--primary, #1a73e8);
}

/* FORCE GOOGLE SANS FONT FAMILY */
body,
input,
textarea,
button,
select,
h1,
h2,
h3,
h4,
h5,
h6,
.dn-hero-title,
.dn-section-title,
.dn-stat-value,
.dn-program-title,
.dn-news-title,
.dn-feature-title,
.dn-cta-title,
.idx-title,
.post-title,
.widget-title {
    font-family: 'Google Sans', 'Plus Jakarta Sans', sans-serif !important;
}

/* Ensure the header shadow is clearly visible on the hero */
.home .nav-full-wrapper {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15) !important;
    border-bottom: none !important;
}

/* 1. RESET & BASICS */
*,
*:before,
*:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--body-background, #ffffff);
    color: var(--body-text, #202124);
    font-family: 'Google Sans', 'Plus Jakarta Sans', sans-serif;
    line-height: 1.7;
    font-size: 16px;
    margin: 0;
    overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.35;
}

a {
    text-decoration: none;
    color: var(--body-text, #202124);
    transition: 0.2s;
}

a:hover {
    color: var(--link-color, var(--primary, #1a73e8));
}

/* Link khusus di post & halaman statis */
.post-body a,
.static_page .post-body a {
    text-decoration: underline;
    color: #1565c0;
    position: relative;
    word-break: break-word;
}

.post-body a:hover,
.static_page .post-body a:hover {
    color: #e65100;
    text-decoration: underline;
}

/* Ikon panah keluar untuk link eksternal */
.post-body a.external-link,
.static_page .post-body a.external-link {
    padding-right: 1.1em;
}

.post-body a.external-link::after,
.static_page .post-body a.external-link::after {
    content: '\2197';
    font-size: 0.85em;
    color: #e65100;
    position: absolute;
    right: 0.1em;
    top: 0.15em;
    pointer-events: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.post-body img {
    width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* 2. LAYOUT UTAMA (DESKTOP) */
.content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.layout-container {
    display: flex;
    gap: 40px;
    align-items: stretch;
    margin: 20px 0;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.sidebar-wrapper {
    width: 300px;
    flex-shrink: 0;
}

/* 3. SIDEBAR & WIDGETS */
.sidebar {
    height: 100%;
    display: block;
}

.sidebar .widget {
    background: var(--body-background, #ffffff);
    padding: 0;
    border: none;
    margin: 0 0 30px 0;
    overflow: hidden;
    word-break: break-word;
}

.sidebar h2.title,
.sidebar h3.title,
.sidebar .widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: var(--body-text, #202124);
    border-bottom: 2px solid var(--primary, #1a73e8);
    display: inline-block;
    padding-bottom: 5px;
    text-transform: capitalize;
}

/* AJAX POPULAR WIDGETS */
.widget-title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: none;
    margin-bottom: 15px;
    padding-bottom: 0;
}

.widget-title-container h2.title,
.widget-title-container h3.title,
.widget-title-container .widget-title {
    border-bottom: 2px solid var(--primary, #1a73e8);
    margin-bottom: 0;
    padding-bottom: 5px;
}

.widget-time-filter {
    padding: 4px 24px 4px 8px;
    border-radius: 4px;
    border: 1px solid var(--border-primary, #dadce0);
    background: var(--body-background, #ffffff) url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%235f6368%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E") no-repeat right 8px center;
    background-size: 8px auto;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary, #5f6368);
    outline: none;
    cursor: pointer;
    transition: all 0.2s;
    max-width: 120px;
    -webkit-appearance: none;
    appearance: none;
}

.widget-time-filter:hover {
    border-color: var(--primary, #1a73e8);
    color: var(--primary, #1a73e8);
}

.popular-content-wrap {
    transition: opacity 0.3s ease;
}

/* POPULAR TAGS LIST */
.pt-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pt-item a {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    column-gap: 15px;
    padding: 4px 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--body-text, #202124);
    background: transparent;
    border: none;
    transition: color 0.2s ease;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
}

.pt-item:last-child a {
    padding-bottom: 0;
}

.pt-item a:hover {
    color: var(--primary, #1a73e8);
    background: transparent;
}

.pt-item a::before {
    content: "label";
    font-family: 'Material Icons Outlined';
    font-size: 20px;
    color: var(--text-muted, #80868b);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    margin-right: 0;
}

.pt-item a:hover::before {
    color: var(--primary, #1a73e8);
}

/* POPULAR POSTS - RANKING BADGE */
.sidebar .PopularPosts .widget-content,
.sidebar .LinkList .widget-content {
    padding: 0;
}

#LinkList3 .widget-content ul,
#LinkList4 .widget-content ul {
    margin: 0;
    padding: 0;
}

#LinkList3 .widget-content li,
#LinkList4 .widget-content li {
    margin: 0;
    list-style: none;
}

#LinkList3 .widget-content ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#LinkList3 .widget-content a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid var(--border-light, #eaebed);
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: var(--body-text, #202124);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
    box-shadow: 0 1px 2px rgba(32, 33, 36, 0.04);
}

#LinkList3 .widget-content a::before {
    content: "trending_up";
    font-family: 'Material Icons Outlined';
    font-size: 18px;
    line-height: 1;
    color: var(--primary, #1a73e8);
    flex-shrink: 0;
}

#LinkList3 .widget-content a::after {
    display: none;
}

#LinkList3 .widget-content a:hover {
    color: var(--body-text, #202124);
    border-color: rgba(26, 115, 232, 0.28);
    box-shadow: 0 10px 24px rgba(26, 115, 232, 0.08);
    transform: translateY(-1px);
}

#LinkList4 .widget-content ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

#LinkList4 .widget-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 0;
    padding: 8px 10px;
    border: 1px solid var(--border-primary, #dadce0);
    border-radius: 6px;
    background: var(--body-background, #ffffff);
    color: var(--text-secondary, #5f6368);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    box-shadow: none;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

#LinkList4 .widget-content a::before {
    content: "";
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#LinkList4 .widget-content li:nth-child(1) a::before {
    background-image: url('https://cdn.simpleicons.org/facebook/1877F2');
}

#LinkList4 .widget-content li:nth-child(2) a::before {
    background-image: url('https://cdn.simpleicons.org/x/111111');
}

#LinkList4 .widget-content li:nth-child(3) a::before {
    background-image: url('https://cdn.simpleicons.org/instagram/E4405F');
}

#LinkList4 .widget-content li:nth-child(4) a::before {
    background-image: url('https://cdn.simpleicons.org/youtube/FF0000');
}

#LinkList4 .widget-content li:nth-child(5) a::before {
    background-image: url('https://cdn.simpleicons.org/tiktok/000000');
}

#LinkList4 .widget-content li:nth-child(6) a::before {
    background-image: url('https://cdn.simpleicons.org/rss/FF6D00');
}

#LinkList4 .widget-content a:hover {
    color: var(--primary, #1a73e8);
    border-color: #bcd0f7;
    background: var(--bg-secondary, #f8f9fa);
}

.pp-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: pp-rank;
}

.pp-item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    column-gap: 15px;
    padding: 12px 0;
    border-bottom: none;
    counter-increment: pp-rank;
}

.pp-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pp-item::before {
    content: counter(pp-rank);
    width: 40px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    background: var(--border-light, #eaebed);
    color: var(--text-muted, #80868b);
}

.pp-item:nth-child(1)::before {
    background: var(--primary, #1a73e8);
    color: #fff;
}

.pp-item:nth-child(2)::before {
    background: #3c4043;
    color: #fff;
}

.pp-item:nth-child(3)::before {
    background: #80868b;
    color: #fff;
}

.pp-link {
    color: var(--body-text, #202124);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
    min-width: 0;
}

.pp-link:hover {
    color: var(--primary, #1a73e8);
}

.pp-item:nth-child(1) .pp-link {
    font-weight: 700;
}

.sidebar .widget:last-child {
    position: sticky;
    position: -webkit-sticky;
    top: 90px;
    margin-bottom: 0;
}

.widget.no-title-widget {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* BREAKING NEWS WIDGET */
.breaking-news-wrapper {
    width: 100%;
    display: block;
    margin: 25px auto -15px;
    text-align: center;
}

.breaking-news-wrapper .widget {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin: 0 auto !important;
    max-width: 100%;
}

.breaking-news-wrapper h2.title {
    display: none !important;
}

.bn-container {
    display: flex;
    align-items: stretch;
    background: #cc0000;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.bn-label {
    background: #a30000;
    color: #fff;
    font-weight: 700;
    padding: 10px 16px;
    font-size: 0.85rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.bn-label .material-icons-outlined {
    font-size: 18px;
    margin-right: 6px;
    animation: flash 1.5s infinite;
}

.bn-content {
    color: #ffffff;
    padding: 10px 16px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    min-width: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.bn-content a {
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: 0.2s;
    display: block;
    width: 100%;
}

.bn-content a:hover {
    opacity: 0.85;
    text-decoration: underline;
}

@keyframes flash {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0.5;
    }
}

/* 4. ADS CONTAINERS (FRONTEND) */
ins.adsbygoogle {
    max-width: 100% !important;
    box-sizing: border-box;
}

.ad-wrapper-section {
    width: 100%;
    display: block;
    margin: 40px auto;
    text-align: center;
    overflow: hidden;
}

.ad-wrapper-section .widget {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin: 0 auto !important;
    max-width: 100%;
    display: block;
    text-align: center;
    overflow: hidden;
    width: 100%;
}

.ad-wrapper-section .widget-content {
    max-width: 100%;
    overflow: hidden;
    width: 100%;
}

.ad-wrapper-section h2.title {
    display: none !important;
}

.in-feed-ad-container {
    text-align: center;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-light, #eaebed);
    width: 100%;
    overflow: hidden;
    display: block;
}

.in-feed-ad-container .widget {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    width: 100%;
    overflow: hidden;
}

.in-feed-ad-container h2.title {
    display: none !important;
}

.in-article-ad-wrapper {
    margin: 30px auto;
    text-align: center;
    width: 100%;
    overflow: hidden;
    display: block;
}

.in-article-ad-wrapper .widget {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    overflow: hidden;
    max-width: 100%;
}

.sidebar .widget-content {
    max-width: 100%;
    overflow: hidden;
}

.sidebar ins.adsbygoogle {
    max-width: 300px !important;
}

.ad-container {
    width: 100%;
    overflow: hidden;
}

/* FLOATING ADS DESKTOP */
.desktop-floating-ad-kiri,
.desktop-floating-ad-kanan {
    position: fixed;
    top: 150px;
    width: 160px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    transition: all 0.3s ease;
}

.desktop-floating-ad-kiri {
    left: calc(50% - 620px);
    transform: translateX(-100%);
}

.desktop-floating-ad-kanan {
    right: calc(50% - 620px);
    transform: translateX(100%);
}

.desktop-floating-ad-kiri .widget,
.desktop-floating-ad-kanan .widget {
    width: 100%;
    margin-bottom: 20px;
    background: transparent;
    box-shadow: none;
    padding: 0;
    border: none;
    max-width: 100%;
    overflow: hidden;
}

.desktop-floating-ad-kiri h2.title,
.desktop-floating-ad-kanan h2.title {
    display: none !important;
}

.floating-ad-close-btn {
    background: var(--bg-tertiary, #f1f3f4);
    border: 1px solid var(--border-light, #eaebed);
    color: var(--text-secondary, #5f6368);
    cursor: pointer;
    border-radius: 4px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: 0.2s;
}

.desktop-floating-ad-kiri .floating-ad-close-btn {
    align-self: flex-start;
}

.desktop-floating-ad-kanan .floating-ad-close-btn {
    align-self: flex-end;
}

.floating-ad-close-btn:hover {
    color: #d32f2f;
    background: #fce8e6;
    border-color: #fce8e6;
}

.floating-ad-close-btn .material-icons-outlined {
    font-size: 16px;
}

@media (max-width: 1540px) {

    .desktop-floating-ad-kiri,
    .desktop-floating-ad-kanan {
        display: none !important;
    }
}

.mobile-floating-ad-wrapper {
    display: none;
}

/* Default: Disembunyikan di Desktop */

/* AREA GADGET ATAS FOOTER */
.above-footer-widgets {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    box-sizing: border-box;
}

.above-footer-section .widget {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 20px;
    box-shadow: none;
}

.above-footer-section .widget h2.title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--body-text, #202124);
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light, #eaebed);
}

/* 5. HEADER & NAV */
.header-wrapper {
    padding: 0;
    background: var(--header-bg, var(--body-background, #ffffff));
    border-bottom: 1px solid var(--border-light, #eaebed);
}

.header-wrapper .content-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    flex-wrap: wrap;
}

.header-wrapper .content-area .header {
    width: 100%;
}

.header-wrapper .content-area .header .widget {
    width: 100%;
}

.header-social-section {
    display: none;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.header-wrapper h1 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0;
    white-space: nowrap;
}

.header-wrapper h1 a {
    color: var(--body-text, #202124);
    transition: 0.2s ease;
    display: inline-block;
}

.header-wrapper h1 a:hover {
    color: var(--primary, #1a73e8);
}

.header-logo-img {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    flex-shrink: 0;
}

.header-logo-img img {
    max-height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

.header-wrapper .description {
    display: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: auto;
}

.header-date {
    color: var(--text-secondary, #5f6368);
    font-size: 0.85rem;
    white-space: nowrap;
    padding-right: 16px;
    border-right: 1px solid var(--border-primary, #dadce0);
}

.header-social {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 16px;
}

.header-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: var(--text-secondary, #5f6368);
    transition: 0.2s;
}

.header-social a:hover {
    color: var(--primary, #1a73e8);
    background: var(--bg-tertiary, #f1f3f4);
}

.header-social img {
    width: 16px;
    height: 16px;
}

.mobile-menu-social-wrap {
    display: none;
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-right: 1px solid var(--border-primary, #dadce0);
}

.header-search-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: var(--text-secondary, #5f6368);
    transition: 0.2s;
}

.header-search-btn:hover {
    color: var(--primary, #1a73e8);
    background: var(--bg-tertiary, #f1f3f4);
}

.header-search-btn .material-icons-outlined {
    font-size: 22px;
}

.header-search-form {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--header-bg, var(--body-background, #ffffff));
    padding: 12px;
    width: 300px;
    border: 1px solid var(--border-light, #eaebed);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    z-index: 1001;
}

.header-search:hover .header-search-form {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-search-form .search-form-inline {
    display: flex;
    background: var(--bg-secondary, #f8f9fa);
    border: 1px solid var(--border-primary, #dadce0);
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    transition: 0.2s;
}

.header-search-form .search-form-inline:focus-within {
    border-color: var(--primary, #1a73e8);
    background: var(--body-background, #ffffff);
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.1);
}

.header-search-form .search-input-inline {
    border: none;
    background: transparent;
    padding: 10px 15px;
    width: 100%;
    outline: none;
    font-family: 'Google Sans', 'Plus Jakarta Sans', sans-serif;
    color: var(--body-text, #202124);
    font-size: 0.9rem;
}

.header-search-form .search-button-inline {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search-form .search-button-inline .material-icons-outlined {
    font-size: 20px;
    color: var(--text-secondary, #5f6368);
}

/* NETWORK BUTTON (DESKTOP) */
.header-network {
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-right: 1px solid var(--border-primary, #dadce0);
}

.header-network-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary, #5f6368);
    transition: 0.2s;
    white-space: nowrap;
}

.header-network-btn:hover,
.header-network:hover .header-network-btn,
.header-network.is-open .header-network-btn {
    color: var(--primary, #1a73e8);
    background: var(--bg-tertiary, #f1f3f4);
}

.header-network-btn .material-icons-outlined {
    font-size: 20px;
}

.header-network-btn .material-symbols-outlined {
    font-size: 20px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    line-height: 1;
}

.network-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff !important;
    border: 1px solid var(--border-light, #eaebed) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    border-radius: 0 0 12px 12px !important;
    z-index: 8000;
    padding: 0 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.header-network:hover .network-dropdown,
.network-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.network-dropdown-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 40px !important;
}

/* Mega Menu Grid */
.dn-mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
}

.dn-mega-menu-col {
    display: flex;
    flex-direction: column;
}

.dn-mega-menu-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--dn-blue-900, #002244);
    margin: 0 0 12px 0;
    text-transform: none;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
    font-family: var(--font-primary, sans-serif);
}

.dn-mega-menu-title a {
    color: var(--dn-blue-900, #002244);
    text-decoration: none;
    transition: color 0.2s ease;
}

.dn-mega-menu-title a:hover {
    color: var(--dn-gold, #C6893F);
}

.dn-mega-menu-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dn-mega-menu-list li {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

.dn-mega-menu-list li a {
    display: block;
    font-size: 0.88rem;
    color: var(--text-secondary, #5f6368);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
    padding: 4px 0;
    border: none !important;
    background: transparent !important;
}

.dn-mega-menu-list li a:hover {
    color: var(--primary, #1a73e8) !important;
    padding-left: 6px !important;
    text-decoration: none !important;
}

/* Legacy Flat Grid compatibility styled beautifully */
.dn-flat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 15px;
}

.dn-mega-menu-flat-item a {
    display: block;
    padding: 6px 10px;
    font-size: 0.875rem;
    color: var(--text-secondary, #5f6368);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.dn-mega-menu-flat-item a:hover {
    color: var(--dn-gold, #C6893F);
    text-decoration: underline;
}

@media (max-width: 991px) {
    .dn-flat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .dn-flat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.nav-full-wrapper {
    width: 100%;
    background: var(--header-bg, var(--body-background, #ffffff));
    border-top: none;
    border-bottom: 1px solid var(--border-light, #eaebed);
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px -6px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-height: 45px;
    min-height: 45px;
    position: relative;
}

.desktop-home-link {
    position: absolute;
    top: 50%;
    left: -34px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    color: var(--text-secondary, #5f6368);
    border: none;
    transition: color 0.2s, background 0.2s;
    z-index: 2;
}

.desktop-home-link:hover {
    color: var(--primary, #1a73e8);
    background: transparent;
}

.desktop-home-link .material-icons-outlined {
    font-size: 19px;
}

/* MENU DESKTOP WRAPPER */
.nav-menu-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.nav-left.desktop-menu {
    flex: 1;
    min-width: 0;
}

#main-menu {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    min-width: 0;
    white-space: nowrap;
    overflow: visible;
}

#main-menu>li {
    position: relative;
    list-style: none !important;
    flex: 0 0 auto;
    height: 100%;
}

#main-menu>li>a {
    display: flex;
    align-items: center;
    padding: 0 15px;
    height: 45px;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0.5px;
    color: var(--text-secondary, #5f6368);
    font-weight: 600;
}

#main-menu>li:first-child>a {
    padding-left: 0;
}

#main-menu li a:hover {
    color: var(--primary, #1a73e8);
}

#main-menu>li.menu-more-item {
    display: none;
}

#main-menu>li.menu-more-item>a {
    padding-right: 0;
}

#main-menu>li.menu-more-item ul {
    left: auto;
    right: 0;
    min-width: 240px;
}

/* Multi-kolom pada submenu Lainnya: tetap right-aligned & min-width disesuaikan */
#main-menu>li.menu-more-item>ul.submenu-cols-2 {
    min-width: 400px;
    right: 0;
    left: auto;
}

#main-menu>li.menu-more-item>ul.submenu-cols-3 {
    min-width: 540px;
    right: 0;
    left: auto;
}

#main-menu>li.menu-more-item>ul.submenu-cols-4 {
    min-width: 680px;
    right: 0;
    left: auto;
}

#main-menu>li.menu-more-item>ul.submenu-cols-5 {
    min-width: 800px;
    right: 0;
    left: auto;
}

#main-menu>li.menu-more-item>ul.submenu-cols-6 {
    min-width: 920px;
    right: 0;
    left: auto;
}

#main-menu>li.menu-more-item>ul>li>ul {
    top: 0;
    left: 100%;
    right: auto;
    margin-left: 0;
    margin-right: 0;
}

#main-menu>li.menu-more-item>ul>li>ul::before {
    left: -15px;
    right: auto;
}

#main-menu>li.menu-more-item>ul>li.has-sub>a:after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-top-color: transparent;
    border-left-color: var(--text-secondary, #5f6368);
    border-right-color: transparent;
    margin-left: 8px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

#main-menu>li.menu-more-item>ul>li.has-sub:hover>a:after {
    border-left-color: var(--primary, #1a73e8);
}

#main-menu>li.menu-more-item>ul>li.opens-left>ul {
    left: auto;
    right: 100%;
}

#main-menu>li.menu-more-item>ul>li.opens-left>ul::before {
    left: auto;
    right: -15px;
}

#main-menu>li.menu-more-item>ul>li.opens-left>a:after {
    transform: rotate(180deg);
}

#main-menu>li.menu-more-item>ul>li.opens-left:hover>a:after {
    border-left-color: var(--primary, #1a73e8);
    transform: rotate(180deg);
}

/* Indikator Panah Submenu Desktop */
#main-menu>li.has-sub>a:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    border: 4px solid transparent;
    border-top-color: var(--text-secondary, #5f6368);
    margin-left: 8px;
    margin-top: 2px;
    transition: transform 0.2s ease;
    transform-origin: center 2px;
}

#main-menu>li.has-sub:hover>a:after {
    transform: rotate(180deg);
    border-top-color: var(--primary, #1a73e8);
}

/* 6. SUBMENU DESKTOP */
#main-menu li ul {
    display: flex;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    background: var(--body-background, #ffffff);
    border: 1px solid var(--border-light, #eaebed);
    border-top: none;
    min-width: 220px;
    z-index: 1000;
    flex-direction: column;
    padding: 10px 0;
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1);
    list-style: none !important;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

#main-menu li ul::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 0;
    width: 100%;
    height: 5px;
    background: transparent;
}

#main-menu li:hover>ul {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#main-menu li ul li a {
    padding: 8px 25px !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
    text-transform: none;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: var(--text-secondary, #5f6368);
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    transition: all 0.2s ease !important;
}

#main-menu li ul li a:hover {
    background: transparent !important;
    color: var(--primary, #1a73e8);
    padding-left: 31px !important;
    padding-right: 19px !important; /* Keep total width consistent if needed, but box-sizing border-box handles width, so we adjust left padding */
}

/* Sub-Submenu Level 2 */
#main-menu li ul li {
    position: relative;
    list-style: none !important;
}

#main-menu li ul li ul {
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 0;
    border-top: 1px solid var(--border-light, #eaebed);
}

#main-menu li ul li ul::before {
    content: "";
    position: absolute;
    top: 0;
    left: -15px;
    width: 15px;
    height: 100%;
    background: transparent;
}

#main-menu li ul li.has-sub>a:after {
    content: '';
    border: 4px solid transparent;
    border-left-color: var(--text-secondary, #5f6368);
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

#main-menu li ul li.has-sub:hover>a:after {
    border-left-color: var(--primary, #1a73e8);
}

#main-menu li ul li.opens-left>a:after {
    transform: translateY(-50%) rotate(180deg);
}

#main-menu li ul li.opens-left:hover>a:after {
    border-left-color: var(--primary, #1a73e8);
    transform: translateY(-50%) rotate(180deg);
}

/* SUBMENU MULTI-KOLOM (otomatis berdasarkan jumlah item) */
#main-menu li:hover>ul.submenu-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-width: 420px;
}

#main-menu li:hover>ul.submenu-cols-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-width: 600px;
}

#main-menu li:hover>ul.submenu-cols-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-width: 720px;
}

#main-menu li:hover>ul.submenu-cols-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-width: 880px;
}

#main-menu li:hover>ul.submenu-cols-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    min-width: 1000px;
}

/* Pastikan item grid tetap rapi */
#main-menu li ul[class*="submenu-cols-"]>li {
    border-bottom: none;
}

#main-menu li ul[class*="submenu-cols-"]>li a {
    width: 100%;
    box-sizing: border-box;
}

/* Submenu dari item yang di dalam grid: tetap single column ke kanan */
#main-menu li ul[class*="submenu-cols-"]>li>ul {
    top: 0;
    left: 100%;
    grid-template-columns: unset !important;
    min-width: 220px !important;
    display: none;
}

#main-menu li ul[class*="submenu-cols-"]>li:hover>ul {
    display: flex;
}

/* SEARCH TOGGLE DESKTOP — dipindah ke header */
.nav-right {
    display: none;
}

.mobile-custom-menu {
    display: none;
}

.search-form-inline {
    display: flex;
    background: var(--bg-secondary, #f8f9fa);
    border: 1px solid var(--border-primary, #dadce0);
    width: 100%;
    transition: 0.2s;
    border-radius: 6px;
    overflow: hidden;
}

.search-form-inline:focus-within {
    border-color: var(--primary, #1a73e8);
    background: var(--body-background, #ffffff);
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.1);
}

.search-input-inline {
    border: none;
    background: transparent;
    padding: 10px 15px;
    width: 100%;
    outline: none;
    font-family: 'Google Sans', 'Plus Jakarta Sans', sans-serif;
    color: var(--body-text, #202124);
    font-size: 0.95rem;
}

.search-button-inline {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-button-inline .material-icons-outlined {
    font-size: 22px;
    color: var(--text-secondary, #5f6368);
}

/* MOBILE TOGGLE */
.mobile-logo {
    display: none;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}

.mobile-logo a {
    color: var(--body-text, #202124);
    transition: 0.2s ease;
    display: flex;
    align-items: center;
    height: 100%;
}

.mobile-logo a:hover {
    color: var(--primary, #1a73e8);
}

.mobile-logo a:active {
    transform: scale(0.95);
}

.mobile-logo .custom-logo-link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 5px 0;
}

.mobile-logo .custom-logo-link img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    padding: 0;
    margin-right: -10px;
    position: relative;
    width: 44px;
    height: 44px;
    z-index: 10001;
    background: transparent;
    border: none;
    outline: none;
}

.mobile-toggle .material-icons-outlined {
    font-size: 28px;
    color: var(--body-text, #202124);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-toggle .icon-menu {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
}

.mobile-toggle .icon-close {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-90deg);
    color: var(--primary, #1a73e8);
}

#mobile-menu-toggle-chk:checked~.header-wrapper .mobile-toggle .icon-menu {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

#mobile-menu-toggle-chk:checked~.header-wrapper .mobile-toggle .icon-close {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
}

/* OVERLAY */
.menu-overlay {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

#mobile-menu-toggle-chk:checked~.menu-overlay {
    display: block;
    opacity: 1;
}

/* 7. POSTS LAYOUT (DESKTOP) */
.search-result-header {
    margin: 0 0 40px 0;
}

.search-result-header .search-title {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--body-text, #202124);
}

.search-result-header .search-title span {
    color: var(--primary, #1a73e8);
}

.search-result-header .search-desc {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary, #5f6368);
}

.search-count {
    font-size: 0.9rem;
    color: var(--text-secondary, #5f6368);
    margin: 4px 0 0 0;
}

/* HALAMAN INDEKS SITUS */
.site-index-wrapper {
    width: 100%;
}

.site-index-header {
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--primary, #1a73e8);
}

.site-index-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--body-text, #202124);
    margin: 0 0 6px 0;
}

.site-index-desc {
    font-size: 0.9rem;
    color: var(--text-secondary, #5f6368);
    margin: 0;
}

.index-category-block {
    margin-bottom: 32px;
}

.index-cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light, #eaebed);
    margin-bottom: 12px;
}

.index-cat-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--body-text, #202124);
    text-decoration: none;
}

.index-cat-name .material-icons-outlined {
    font-size: 18px;
    color: var(--primary, #1a73e8);
}

.index-cat-name:hover {
    color: var(--primary, #1a73e8);
}

.index-cat-count {
    font-size: 0.8rem;
    color: var(--text-muted, #80868b);
    background: var(--bg-tertiary, #f1f3f4);
    padding: 2px 8px;
    border-radius: 20px;
}

.index-post-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.index-post-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 12px 7px 0;
    border-bottom: 1px solid var(--border-light, #eaebed);
}

.index-post-item:nth-child(odd) {
    padding-right: 24px;
}

.index-post-title {
    font-size: 0.875rem;
    color: var(--text-secondary, #5f6368);
    text-decoration: none;
    flex: 1;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

.index-post-title:hover {
    color: var(--primary, #1a73e8);
}

.index-post-date {
    font-size: 0.75rem;
    color: var(--text-muted, #80868b);
    white-space: nowrap;
    flex-shrink: 0;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.post-outer {
    display: none;
}

/* FEATURED POST WIDGET (BERANDA) */
.home-featured-widget-area {
    margin-bottom: 40px;
    margin-top: 10px;
}

.featured-post-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: transparent;
}

.featured-img-wrap {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.featured-img-wrap img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    aspect-ratio: 16/9;
    transition: transform 0.3s ease;
}

.featured-img-wrap:hover img {
    transform: scale(1.03);
}

.featured-content-wrap {
    padding: 0;
    color: var(--body-text, #202124);
}

.featured-title {
    margin: 0 0 10px 0;
    font-size: 1.7rem;
    line-height: 1.4;
    font-weight: 700;
}

.featured-title a {
    color: var(--body-text, #202124);
    text-decoration: none;
    transition: color 0.2s;
}

.featured-title a:hover {
    color: var(--primary, #1a73e8);
}

.featured-meta {
    font-size: 0.8rem;
    color: var(--text-secondary, #5f6368);
    display: flex;
    align-items: center;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.featured-cat {
    color: var(--primary, #1a73e8);
    text-decoration: none;
}

.featured-cat:hover {
    text-decoration: underline;
}

.featured-sep {
    margin: 0 8px;
    color: var(--border-primary, #dadce0);
}

.featured-date {
    text-transform: none;
    font-weight: normal;
    color: var(--text-secondary, #5f6368);
}

.featured-related-wrap {
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid var(--border-light, #eaebed);
}

.featured-related-title {
    margin-bottom: 12px;
}

.featured-related-title span {
    color: var(--primary, #1a73e8);
    font-weight: 700;
    font-size: 0.95rem;
}

.featured-related-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.featured-related-item {
    color: var(--body-text, #202124);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    transition: 0.2s;
}

.featured-related-item:hover {
    color: var(--primary, #1a73e8);
}

@media (max-width: 576px) {
    .featured-related-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .featured-title {
        font-size: 1.4rem;
    }
}

/* SECTION HEADER (TERBARU) */
.posts-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: none;
}

.posts-section-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: var(--body-text, #202124);
    text-transform: capitalize;
    border-bottom: 2px solid var(--primary, #1a73e8);
    padding-bottom: 5px;
}

.posts-section-header a {
    color: var(--primary, #1a73e8);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.posts-section-header a:hover {
    color: #0d47a1;
}

/* 8. PAGINASI (DESKTOP) */
#blog-pager {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    margin-top: 20px;
    font-weight: 600;
    align-items: center;
    border-top: none;
}

#blog-pager a {
    color: var(--primary, #1a73e8);
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid var(--border-primary, #dadce0);
    border-radius: 4px;
    transition: 0.2s;
    display: inline-block;
}

#blog-pager a:hover {
    background: var(--bg-secondary, #f8f9fa);
}

#numbered-pagination,
#idx-pagination {
    margin-top: 30px;
    text-align: center;
}

#numbered-pagination:not(:empty)+#blog-pager {
    display: none;
}

#idx-pagination {
    border-top: 1px solid var(--border-light, #eaebed);
    padding-top: 30px;
}

/* WORDPRESS NATIVE PAGINATION & PAGINATION WRAPPER */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

#blog-pager.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 35px;
}

.pagination-wrapper .pagination {
    margin: 0;
    padding: 0;
    border: none;
}

.pagination-wrapper .nav-links,
.pagination-wrapper .pagination-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap !important;
    align-items: center;
    overflow-x: auto;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 100%;
}

.pagination-wrapper .nav-links::-webkit-scrollbar,
.pagination-wrapper .pagination-links::-webkit-scrollbar {
    display: none;
    height: 0px;
    background: transparent;
}

.pagination-wrapper .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--border-primary, #dadce0);
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1;
    color: var(--body-text, #202124);
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
    background: #fff;
    flex-shrink: 0;
}

.pagination-wrapper .page-numbers:hover {
    background: var(--bg-tertiary, #f1f3f4);
    color: var(--primary, #1a73e8);
    border-color: var(--primary, #1a73e8);
}

.pagination-wrapper .page-numbers.current {
    background: var(--primary, #1a73e8);
    color: #fff;
    border-color: var(--primary, #1a73e8);
}

.pagination-wrapper .page-numbers.next,
.pagination-wrapper .page-numbers.prev {
    width: auto;
    font-weight: 700;
    padding: 0 18px;
}

.pagination-info {
    font-size: 0.95rem;
    color: var(--text-secondary, #5f6368);
    font-weight: 500;
}

@media (max-width: 576px) {
    #blog-pager.pagination-wrapper {
        flex-direction: column;
        justify-content: center;
        gap: 15px;
        text-align: center;
    }

    .pagination-wrapper .nav-links,
    .pagination-wrapper .pagination-links {
        justify-content: center;
    }
}

/* PAGINASI ANGKA MEMANJANG (Anti turun baris) */
.showpageArea {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap !important;
    align-items: center;
    overflow-x: auto;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    box-sizing: border-box;
}

.showpageArea::-webkit-scrollbar {
    display: none;
    height: 0px;
    background: transparent;
}

.showpageNum a,
.showpagePoint {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--border-primary, #dadce0);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--body-text, #202124);
    font-weight: 600;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
    transition: 0.2s;
}

.showpageNum a:hover {
    background: var(--bg-tertiary, #f1f3f4);
}

.showpagePoint {
    background: var(--primary, #1a73e8);
    color: #fff;
    border-color: var(--primary, #1a73e8);
}

.showpageEllipsis {
    border: none;
    color: var(--text-muted, #80868b);
    min-width: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    letter-spacing: 2px;
    font-weight: bold;
    flex-shrink: 0;
}

/* WIDGET FEATURED POST (ENTRI YANG DIUNGGULKAN) */
.custom-fp-wrapper {
    width: 100%;
    display: block;
    margin-bottom: 0;
    border-bottom: none;
}

.FeaturedPost>h2,
.FeaturedPost>h3,
.FeaturedPost h2.title,
.FeaturedPost h3.title,
.FeaturedPost .widget-title {
    display: none !important;
}

.FeaturedPost .post-snippet,
.FeaturedPost .snippet-item,
.FeaturedPost .post-summary {
    display: none !important;
}

.FeaturedPost .widget-content {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.fp-image-wrap {
    margin-bottom: 15px;
}

.fp-image-wrap img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin: 0;
}

.fp-info {
    padding: 0;
}

.fp-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.35;
}

.fp-title a {
    color: var(--body-text, #202124);
    transition: 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fp-title a:hover {
    color: var(--primary, #1a73e8);
}

.fp-meta {
    margin-top: 8px;
    margin-bottom: 12px;
}

/* BERITA TERKAIT DI FEATURED POST */
.fp-related-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 15px;
    padding-bottom: 20px;
}

.fp-related-title {
    font-size: 0.85rem;
    font-weight: normal;
    color: var(--text-secondary, #5f6368);
    line-height: 1;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fp-related-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-primary, #dadce0);
}

.fp-related-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.fp-related-list a {
    color: var(--body-text, #202124);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.4;
    transition: 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0;
}

.fp-related-list a:hover {
    color: var(--primary, #1a73e8);
    text-decoration: underline;
}

/* DAFTAR ARTIKEL BERANDA & INDEX (POST META DISATUKAN) */
.idx-post {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    align-items: center;
    transition: background 0.2s;
    border-bottom: none;
}

.idx-post:hover {
    background: #fafafa;
}

.idx-thumb {
    flex: 0 0 200px;
    width: 200px;
    position: relative;
}

.idx-thumb img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    background: var(--bg-tertiary, #f1f3f4);
    display: block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.idx-content {
    flex: 1;
    min-width: 0;
    padding-top: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.idx-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.4;
}

.idx-title a {
    color: var(--body-text, #202124);
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.idx-title a:hover {
    color: var(--primary, #1a73e8);
}

.idx-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary, #5f6368);
}

.idx-cat {
    color: var(--primary, #1a73e8);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: 0.2s;
    display: inline-block;
    margin-bottom: 0;
}

.idx-cat:hover {
    color: var(--primary-hover, #1558b0);
    text-decoration: underline;
}

.idx-separator {
    display: inline-flex;
    align-items: center;
    color: var(--border-light, #eaebed);
}

.idx-separator::before {
    content: "\2022";
    font-size: 14px;
}

.idx-date {
    display: inline-flex;
    align-items: center;
}

/* 9. SINGLE POST BODY */
/* BREADCRUMB ELLIPSIS FIX (Pasti 1 Baris & Titik Tiga) */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap !important;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary, #5f6368);
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.breadcrumb a {
    color: var(--primary, #1a73e8);
    text-decoration: none;
    font-weight: 500;
    flex-shrink: 0;
    display: inline-block;
    white-space: nowrap;
}

.breadcrumb .separator {
    color: var(--border-light, #eaebed);
    font-size: 1rem;
    flex-shrink: 0;
    display: inline-block;
}

.breadcrumb .current {
    color: var(--text-muted, #80868b);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1 1 auto;
    min-width: 0;
    display: block;
}

/* GAMBAR ANDALAN ARTIKEL */
.post-image {
    display: block;
    width: 100%;
    margin: 0 0 24px 0;
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    max-width: 100%;
}

.item-post-wrap .post-title {
    font-size: 2.4rem;
    text-align: left;
    margin-bottom: 10px;
    letter-spacing: -1px;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    display: block;
    line-height: 1.35;
}

/* POST META UI/UX POLISH - TEKS KIRI, AKSI KANAN */
.item-post-wrap .post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    margin-bottom: 35px;
    font-size: 0.85rem;
    border-bottom: none;
    color: var(--body-text, #202124);
}

.item-post-wrap .post-meta .meta-texts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.item-post-wrap .post-meta .meta-actions {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.item-post-wrap .post-meta .meta-author,
.item-post-wrap .post-meta .meta-date,
.item-post-wrap .post-meta .meta-share,
.item-post-wrap .post-meta .meta-comment-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary, #5f6368);
}

.item-post-wrap .post-meta .meta-share {
    cursor: pointer;
    transition: 0.2s;
}

.item-post-wrap .post-meta .meta-share a,
.item-post-wrap .post-meta .meta-comment-count a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.item-post-wrap .post-meta a {
    color: var(--text-secondary, #5f6368);
    transition: 0.2s;
    text-decoration: none;
}

.item-post-wrap .post-meta a:hover {
    color: var(--primary, #1a73e8);
    text-decoration: underline;
}

.item-post-wrap .post-meta .meta-share a:hover,
.item-post-wrap .post-meta .meta-comment-count a:hover {
    text-decoration: none;
}

.item-post-wrap .post-meta .meta-share a:hover span:first-child,
.item-post-wrap .post-meta .meta-comment-count a:hover span:first-child {
    text-decoration: underline;
}

.item-post-wrap .post-meta .meta-share:hover,
.item-post-wrap .post-meta .meta-share:hover a,
.item-post-wrap .post-meta .meta-share:hover .material-icons-outlined {
    color: var(--primary, #1a73e8);
}

.item-post-wrap .post-meta .meta-comment-count:hover a,
.item-post-wrap .post-meta .meta-comment-count:hover .material-icons-outlined {
    color: var(--primary, #1a73e8);
}

.item-post-wrap .post-meta .material-icons-outlined {
    font-size: 16px;
    margin: 0;
    color: var(--text-secondary, #5f6368);
    transition: 0.2s;
}

/* GAMBAR ANDALAN — FIGURE + CAPTION */
figure.post-image {
    display: block;
    width: 100%;
    margin: 0 0 24px 0;
}

figure.post-image>a {
    display: block;
    line-height: 0;
    border-radius: 8px;
    overflow: hidden;
}

figure.post-image img,
figure.post-image .featured-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    max-width: 100%;
    transition: transform 0.3s ease;
}

figure.post-image>a:hover img {
    transform: scale(1.015);
}

.post-featured-caption {
    font-size: 0.82rem;
    color: var(--text-muted, #80868b);
    text-align: center;
    margin-top: 6px;
    line-height: 1.5;
    font-style: italic;
}

.post-featured-caption a {
    display: inline;
    color: var(--text-muted, #80868b);
    text-decoration: none;
    transition: color 0.2s;
    font-style: italic;
    line-height: 1.5;
}

.post-featured-caption a:hover {
    color: var(--primary, #1a73e8);
    text-decoration: underline;
}

.post-body {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--body-text, #202124);
    margin-top: 30px;
}

.post-body p {
    margin-bottom: 1.8em;
}

/* BLOCKQUOTE STYLING */
blockquote,
.post-body blockquote {
    position: relative;
    margin: 35px 0 !important;
    padding: 24px 28px 24px 60px !important;
    background: #f4f8fc !important;
    border-left: 5px solid var(--primary, #1a73e8) !important;
    border-radius: 0 12px 12px 0 !important;
    box-sizing: border-box !important;
}

blockquote::before,
.post-body blockquote::before {
    content: "“" !important;
    position: absolute !important;
    top: 5px !important;
    left: 20px !important;
    font-family: Georgia, serif !important;
    font-size: 4.5rem !important;
    line-height: 1 !important;
    color: var(--primary, #1a73e8) !important;
    opacity: 0.25 !important;
}

blockquote p,
.post-body blockquote p,
blockquote,
.post-body blockquote {
    font-size: 1.15rem !important;
    line-height: 1.8 !important;
    color: var(--body-text, #202124) !important;
    font-style: italic !important;
}

blockquote p,
.post-body blockquote p {
    margin: 0 !important;
    padding: 0 !important;
}

.universitas-dropcap {
    float: left;
    font-size: 3.8em;
    line-height: 0.85;
    margin: 4px 10px 0 0;
    font-weight: 800;
    color: var(--primary, #1a73e8);
    text-transform: uppercase;
}

.post-body p.has-dropcap::after {
    content: "";
    display: table;
    clear: both;
}

.post-body ul,
.post-body ol {
    margin-bottom: 1.8em;
    padding-left: 1.6em;
}

.post-body ul {
    list-style: disc;
}

@counter-style decimal-paren {
    system: extends decimal;
    suffix: ') ';
    fallback: decimal;
}

@counter-style alpha-paren {
    system: extends lower-alpha;
    suffix: ') ';
    fallback: lower-alpha;
}

.post-body ol {
    list-style-type: decimal;
}

.post-body ol ol {
    list-style-type: lower-alpha;
}

.post-body ol ol ol {
    list-style-type: decimal-paren;
}

.post-body ol ol ol ol {
    list-style-type: alpha-paren;
}

.post-body ol[type="i"] {
    list-style-type: lower-roman;
}

.post-body ol[type="I"] {
    list-style-type: upper-roman;
}

.post-body ul ul,
.post-body ol ol,
.post-body ul ol,
.post-body ol ul {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.post-body li {
    margin-bottom: 0.5em;
    line-height: 1.6;
    padding-inline-start: 0.5em;
}

.post-body li>h2,
.post-body li>h3,
.post-body li>h4,
.post-body li>h5,
.post-body li>h6 {
    margin-top: 0;
    display: block;
}

.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5,
.post-body h6 {
    scroll-margin-top: 90px;
    line-height: 1.35;
}

.post-body h1 {
    font-size: 1.7rem;
    margin: 1.45em 0 0.65em;
}

.post-body h2 {
    position: relative;
    font-size: 1.6rem;
    margin: 1.8em 0 0.8em;
    font-weight: 800 !important;
    color: var(--dn-blue-900, #002244) !important;
    padding-left: 16px !important;
    letter-spacing: -0.3px;
}

.post-body h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 4px;
    background: linear-gradient(180deg, var(--primary, #1a73e8), #00d2ff) !important;
    border-radius: 4px;
}

.post-body h2 span,
.post-body h3 span {
    font-weight: 700 !important;
}

.post-body h3 {
    font-size: 1.3rem;
    margin: 1.25em 0 0.55em;
    font-weight: 700 !important;
}

.post-body h2:has(.universitas-heading-number),
.post-body h3:has(.universitas-heading-number) {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.universitas-heading-number {
    flex-shrink: 0;
    min-width: 25px;
}

.post-body h3:has(.universitas-heading-number) {
    padding-left: 35px;
}

.post-body h4 {
    font-size: 1.15rem;
    margin: 1.15em 0 0.5em;
}

.post-body h5 {
    font-size: 1.02rem;
    margin: 1.1em 0 0.45em;
}

.post-body h6 {
    font-size: 0.95rem;
    margin: 1.05em 0 0.4em;
}

/* CAPTION GAMBAR DIRAPATKAN */
.post-body .tr-caption-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 25px 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent;
    display: block !important;
}

.post-body .tr-caption-container tbody,
.post-body .tr-caption-container tr,
.post-body .tr-caption-container td {
    width: 100% !important;
    display: block !important;
    padding: 0 !important;
}

.post-body .tr-caption-container a {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.post-body .tr-caption-container img,
.post-body figure img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    border-radius: 8px;
}

.post-body .tr-caption {
    font-size: 0.9rem;
    color: var(--text-secondary, #5f6368);
    text-align: center;
    padding: 0 15px !important;
    margin-top: 4px;
    font-style: normal;
    line-height: 1.5;
    display: block;
}

.post-body figure {
    margin: 25px auto 25px;
    text-align: center;
    max-width: 100%;
}

.post-body figcaption {
    font-size: 0.9rem;
    color: var(--text-secondary, #5f6368);
    text-align: center;
    padding: 0 15px !important;
    margin-top: 4px;
    font-style: normal;
    line-height: 1.5;
    display: block;
}

.post-body hr {
    border: none;
    margin: 3rem 0;
    text-align: center;
    display: block;
}

.post-body hr::before {
    content: '...';
    font-size: 1.8rem;
    letter-spacing: 12px;
    color: var(--border-light, #eaebed);
    margin-left: 12px;
}

/* RESPONSIVE VIDEO EMBEDS (YOUTUBE, ETC.) */
.post-body iframe[src*="youtube.com"],
.post-body iframe[src*="youtu.be"],
.post-body iframe[src*="youtube-nocookie.com"],
.post-body iframe[src*="vimeo.com"],
.post-body iframe.youtube-player,
.post-body .embed-youtube iframe,
.post-body .wp-block-embed iframe {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.post-body .wp-block-embed,
.post-body .embed-youtube {
    width: 100% !important;
    max-width: 100% !important;
    margin: 25px 0 !important;
    display: block;
}

/* PREMIUM & RESPONSIVE TABLE STYLING */
.post-body table {
    width: 100%;
    margin: 25px 0;
    border-collapse: collapse;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: left;
    border: 1px solid var(--border-primary, #dadce0);
    border-radius: 8px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .post-body table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 4px;
    }
}

.post-body table th,
.post-body table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light, #eaebed);
}

.post-body table th {
    background-color: var(--primary, #00529c);
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-size: 0.82rem;
    border-bottom: 2px solid var(--primary-hover, #0b5da7);
}

.post-body table tr:last-child td {
    border-bottom: none;
}

/* Zebra Striping */
.post-body table tr:nth-child(even) {
    background-color: var(--bg-secondary, #f8f9fa);
}

/* Row Hover State */
.post-body table tr:hover {
    background-color: var(--primary-light, #e3f2fd);
    transition: background-color 0.15s ease;
}

/* Styled Scrollbar for Mobile Tables */
.post-body table::-webkit-scrollbar {
    height: 6px;
}
.post-body table::-webkit-scrollbar-track {
    background: var(--bg-secondary, #f8f9fa);
}
.post-body table::-webkit-scrollbar-thumb {
    background: var(--text-muted, #80868b);
    border-radius: 3px;
}
.post-body table::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary, #5f6368);
}

.floating-toc-wrapper {
    position: fixed;
    top: 100px;
    left: 0;
    width: 280px;
    background: var(--body-background, #ffffff);
    border: 1px solid var(--border-primary, #dadce0);
    border-left: none;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.05);
    z-index: 1001;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 120px);
    transform: translateX(-100%);
    border-radius: 0 8px 8px 0;
}

.floating-toc-wrapper.active {
    transform: translateX(0);
}

.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--bg-secondary, #f8f9fa);
    border-bottom: 1px solid var(--border-light, #eaebed);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--body-text, #202124);
}

.toc-header span {
    font-style: normal;
}

.toc-close {
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-secondary, #5f6368);
    line-height: 1;
    transition: 0.2s;
    font-style: normal !important;
}

.toc-close:hover {
    color: var(--primary, #1a73e8);
}

/* FIX TOC PADDING & ALIGNMENT */
.toc-body {
    padding: 15px 20px;
    overflow-y: auto;
}

.toc-body ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.toc-body li {
    margin-bottom: 10px;
    padding: 0 !important;
    margin-left: 0 !important;
}

.toc-body a {
    color: var(--text-secondary, #5f6368);
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
    transition: 0.2s;
}

.toc-body a:hover {
    color: var(--primary, #1a73e8);
}

.toc-number {
    min-width: 22px;
    flex-shrink: 0;
}

.toc-h2 .toc-number,
.toc-h2 .toc-text {
    font-weight: 600;
    color: var(--body-text, #202124);
}

.toc-body li.toc-h3 {
    padding-left: 26px !important;
}

.toc-toggle-btn {
    position: fixed;
    top: 100px;
    left: 0;
    background: var(--primary, #1a73e8);
    color: #ffffff;
    padding: 15px 10px;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    transform: translateX(-100%);
    border-radius: 0 4px 4px 0;
}

.toc-toggle-btn.active {
    transform: translateX(0);
}

.toc-btn-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    font-style: normal;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.toc-btn-inner .material-icons-outlined {
    font-size: 20px;
    color: #ffffff;
}

.post-footer-settings {
    margin-top: 40px;
}

.post-share-section {
    margin-bottom: 25px;
}

.post-share-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--body-text, #202124);
    margin: 0 0 12px;
}

/* BOTTOM LABELS */
.post-tags-container {
    position: relative;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
    gap: 10px;
}

.post-tags-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-secondary, #5f6368);
}

.post-tags-icon .material-icons-outlined {
    font-size: 20px;
    margin: 0;
}

.post-tags-scroll-area {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.post-bottom-labels {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
    width: 100%;
    scroll-behavior: smooth;
}

.post-bottom-labels::-webkit-scrollbar {
    display: none;
}

.post-bottom-labels a {
    background: var(--bg-secondary, #f8f9fa);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary, #5f6368);
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    border: 1px solid var(--border-primary, #dadce0);
    display: inline-block;
    flex-shrink: 0;
}

.post-bottom-labels a:hover {
    background: var(--primary-light, #e8f0fe);
    color: var(--primary, #1a73e8);
    border-color: var(--primary, #1a73e8);
}

.tags-scroll-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s;
}

.tags-scroll-fade.left {
    left: 0;
    background: linear-gradient(to right, #ffffff 15%, rgba(255, 255, 255, 0));
}

.tags-scroll-fade.right {
    right: 0;
    background: linear-gradient(to left, #ffffff 15%, rgba(255, 255, 255, 0));
}

.tag-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--body-background, #ffffff);
    border: 1px solid var(--border-primary, #dadce0);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    color: var(--text-secondary, #5f6368);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s, visibility 0.3s;
    opacity: 0;
    visibility: hidden;
}

.tag-scroll-btn:hover {
    background: var(--bg-secondary, #f8f9fa);
    color: var(--body-text, #202124);
}

.tag-scroll-btn .material-icons-outlined {
    font-size: 18px;
}

.tag-scroll-btn.left {
    left: 0;
}

.tag-scroll-btn.right {
    right: 0;
}

.post-tags-container.can-scroll-left .tags-scroll-fade.left {
    opacity: 1;
}

.post-tags-container.can-scroll-left .tag-scroll-btn.left {
    opacity: 1;
    visibility: visible;
}

.post-tags-container.can-scroll-right .tags-scroll-fade.right {
    opacity: 1;
}

.post-tags-container.can-scroll-right .tag-scroll-btn.right {
    opacity: 1;
    visibility: visible;
}

/* TOMBOL BAGIKAN ARTIKEL (BAWAH) */
.post-bottom-share {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.post-bottom-share .share-buttons {
    grid-template-columns: repeat(8, 1fr);
}

@media (max-width: 768px) {
    .post-bottom-share .share-buttons {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* TOMBOL BAGIKAN DIBUAT 2 BARIS (4 KOLOM) DEFAULT */
.share-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 0;
    width: 100%;
}

.share-btn {
    padding: 12px 0;
    color: #fff !important;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none !important;
}

.share-btn svg {
    width: 18px;
    height: 18px;
    display: block;
}

.share-btn .material-icons-outlined {
    font-size: 20px;
    margin: 0;
    display: block;
}

.share-btn.fb {
    background: #1877F2;
}

.share-btn.tw {
    background: #000000;
}

.share-btn.wa {
    background: #25D366;
}

.share-btn.tg {
    background: #24A1DE;
}

.share-btn.in {
    background: #007EBB;
}

.share-btn.in img {
    filter: brightness(0) invert(1);
}

.share-btn.pr {
    background: #E60023;
}

.share-btn.ln {
    background: #00C300;
}

.share-btn.qr {
    background: #e53935;
}

.share-btn.qr:hover {
    background: #e53935 !important;
    opacity: 1 !important;
    transform: translateY(-2px);
    color: #fff !important;
}

.share-btn.qr:hover .material-icons-outlined {
    color: #fff !important;
}

.share-btn.cp {
    background: #5f6368;
}

.share-btn.cp:hover {
    background: #5f6368 !important;
    opacity: 1 !important;
    transform: translateY(-2px);
    color: #fff !important;
}

.share-btn.cp:hover .material-icons-outlined {
    color: #fff !important;
}

.share-btn:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* SHARE MODAL POPUP */
.share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.share-modal-box {
    background: var(--body-background, #ffffff);
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    position: relative;
}

.share-modal-overlay.active .share-modal-box {
    transform: scale(1);
}

.share-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    color: var(--text-secondary, #5f6368);
    line-height: 1;
    transition: 0.2s;
    font-size: 24px !important;
}

.share-modal-close:hover {
    color: #d32f2f;
}

.share-modal-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--body-text, #202124);
    text-align: center;
}

.related-posts-wrapper {
    margin-top: 20px;
    padding-top: 25px;
    border-top: none;
}

.related-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--body-text, #202124);
    margin: 0 0 15px 0;
}

.related-posts-list {
    padding: 0;
    margin: 0;
}

.related-posts-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.related-posts-list li>.material-icons-outlined {
    font-size: 20px;
    color: var(--primary, #1a73e8);
    margin-top: 2px;
}

.related-content {
    display: flex;
    flex-direction: column;
}

.related-content a {
    color: var(--primary, #1a73e8);
    font-size: 0.95rem;
    text-decoration: none;
    transition: 0.2s;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 3px;
}

.related-content a:hover {
    text-decoration: underline;
    color: var(--primary-hover, #1558b0);
}

.related-date {
    font-size: 0.8rem;
    color: var(--text-secondary, #5f6368);
    display: flex;
    align-items: center;
    gap: 4px;
}

.related-date .material-icons-outlined {
    font-size: 12px;
    color: var(--text-secondary, #5f6368);
    margin: 0;
}

.author-profile {
    display: flex;
    gap: 20px;
    align-items: center;
    background: var(--bg-secondary, #f8f9fa);
    padding: 25px;
    border: 1px solid var(--border-primary, #dadce0);
    border-radius: 8px;
    margin-top: 30px;
}

.author-avatar {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
}

.author-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: var(--body-text, #202124);
}

.author-info p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary, #5f6368);
    line-height: 1.6;
}

/* =========================================
       SEKSI KOMENTAR — UI/UX PREMIUM
       ========================================= */
.post-comments {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid var(--border-light, #eaebed);
    scroll-margin-top: 80px;
}

/* Daftar Komentar */
.comments-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--body-text, #202124);
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comments-title .material-icons-outlined {
    font-size: 22px;
    color: var(--primary, #1a73e8);
}

.universitas-comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.universitas-comment {
    padding: 18px 0;
    border-bottom: 1px solid var(--border-light, #eaebed);
}

.universitas-comment:last-child {
    border-bottom: none;
}

.universitas-comment .children {
    list-style: none;
    padding: 0 0 0 16px;
    margin: 14px 0 0 56px;
    border-left: 2px solid var(--border-light, #eaebed);
}

.universitas-comment .children .universitas-comment {
    padding: 12px 0;
}

.comment-block-inner {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar .avatar-img {
    border-radius: 50%;
    display: block;
    width: 44px;
    height: 44px;
    object-fit: cover;
    background: var(--bg-tertiary, #f1f3f4);
}

.is-reply .comment-avatar .avatar-img {
    width: 32px;
    height: 32px;
}

.comment-body-wrap {
    flex: 1;
    min-width: 0;
}

.comment-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    margin-bottom: 7px;
}

.comment-author-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--body-text, #202124);
}

.comment-author-name a {
    color: var(--body-text, #202124);
    text-decoration: none;
}

.comment-author-name a:hover {
    color: var(--primary, #1a73e8);
}

.comment-time {
    font-size: 0.78rem;
    color: var(--text-muted, #80868b);
}

.comment-time a {
    color: var(--text-muted, #80868b);
    text-decoration: none;
}

.comment-time a:hover {
    color: var(--primary, #1a73e8);
}

.comment-edit-link a {
    font-size: 0.76rem;
    color: var(--primary, #1a73e8);
    text-decoration: none;
    padding: 1px 7px;
    background: var(--primary-light, #e8f0fe);
    border-radius: 4px;
}

.comment-awaiting-moderation {
    font-size: 0.8rem;
    color: #f9ab00;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 6px 0;
}

.comment-awaiting-moderation .material-icons-outlined {
    font-size: 14px;
}

.comment-text {
    font-size: 0.88rem;
    color: var(--text-secondary, #5f6368);
    line-height: 1.65;
    word-break: break-word;
}

.comment-text p {
    margin: 0 0 0.7em 0;
}

.comment-reply-action {
    margin-top: 7px;
}

.comment-reply-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary, #5f6368);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.comment-reply-link .material-icons-outlined {
    font-size: 14px;
}

.comment-reply-link:hover {
    color: var(--primary, #1a73e8);
}

/* Form Komentar */
.comment-form-area {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light, #eaebed);
}

.comment-reply-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--body-text, #202124);
    margin: 0 0 18px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-reply-title .material-icons-outlined {
    font-size: 19px;
    color: var(--primary, #1a73e8);
}

.comment-reply-title small {
    margin-left: auto;
}

.comment-reply-title small a {
    font-size: 0.8rem;
    font-weight: 500;
    color: #ea4335;
    text-decoration: none;
}

.comment-reply-title small a:hover {
    text-decoration: underline;
}

.comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.cf-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cf-field-comment,
.cf-submit-wrap {
    grid-column: 1 / -1;
}

.cf-field label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary, #5f6368);
}

.cf-label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.cf-label-row label {
    flex-shrink: 0;
}

.field-note-inline {
    font-size: 0.73rem;
    color: var(--text-muted, #80868b);
    text-align: right;
    line-height: 1.4;
}

.cf-field .required {
    color: #ea4335;
    margin-left: 2px;
}

.cf-field input[type="text"],
.cf-field input[type="email"],
.cf-field input[type="url"] {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid var(--border-primary, #dadce0);
    border-radius: 8px;
    font-size: 0.88rem;
    font-family: inherit;
    color: var(--body-text, #202124);
    background: var(--body-background, #ffffff);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.cf-field input:focus {
    border-color: var(--primary, #1a73e8);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.cf-field textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1.5px solid var(--border-primary, #dadce0);
    border-radius: 8px;
    font-size: 0.88rem;
    font-family: inherit;
    color: var(--body-text, #202124);
    background: var(--body-background, #ffffff);
    outline: none;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    line-height: 1.6;
}

.cf-field textarea:focus {
    border-color: var(--primary, #1a73e8);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.field-note {
    font-size: 0.74rem;
    color: var(--text-muted, #80868b);
    margin: 1px 0 0 0;
}

.cf-submit-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-submit-comment {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary, #1a73e8);
    color: #fff;
    border: none;
    padding: 10px 26px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    align-self: flex-start;
}

.btn-submit-comment:hover {
    background: var(--primary-hover, #1558b0);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.comment-ite-note {
    font-size: 0.8rem;
    color: var(--text-secondary, #5f6368);
    background: var(--bg-secondary, #f8f9fa);
    border-left: 3px solid var(--border-primary, #dadce0);
    border-radius: 0 6px 6px 0;
    padding: 9px 13px;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.logged-in-as {
    font-size: 0.83rem;
    color: var(--text-secondary, #5f6368);
    margin: 0 0 14px 0;
    grid-column: 1/-1;
    background: var(--bg-secondary, #f8f9fa);
    padding: 9px 13px;
    border-radius: 7px;
    border: 1px solid var(--border-light, #eaebed);
}

.logged-in-as a {
    color: var(--primary, #1a73e8);
    text-decoration: none;
    font-weight: 500;
}

.comment-closed-notice {
    font-size: 0.88rem;
    color: var(--text-muted, #80868b);
    padding: 14px;
    background: var(--bg-secondary, #f8f9fa);
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    border: 1px dashed var(--border-primary, #dadce0);
}

.comment-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.comment-navigation a {
    font-size: 0.85rem;
    color: var(--primary, #1a73e8);
    text-decoration: none;
    font-weight: 600;
}

.dropdown-toggle {
    font-family: 'Google Sans', 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary, #5f6368);
    border: 1px solid var(--border-primary, #dadce0);
    padding: 6px 12px;
    border-radius: 4px;
    background: var(--body-background, #ffffff);
    cursor: pointer;
    transition: 0.2s;
    outline: none;
}

.dropdown-toggle:hover {
    background: var(--bg-secondary, #f8f9fa);
    border-color: var(--primary, #1a73e8);
    color: var(--primary, #1a73e8);
}

/* Legacy classes (backward compat) */
.comment-block {
    display: flex;
    gap: 15px;
}

.comment-block.is-reply {
    gap: 12px;
}

.avatar-image-container {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-tertiary, #f1f3f4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.dt-desktop {
    display: inline;
}

.dt-mobile {
    display: none;
}

.custom-lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-sizing: border-box;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.custom-lightbox.active {
    display: flex;
    opacity: 1;
}

.custom-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: 0.3s;
    z-index: 100000;
    line-height: 1;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.custom-lightbox-close:hover {
    color: #d32f2f;
    transform: scale(1.1);
}

.custom-lightbox-content {
    text-align: center;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.6);
    border-radius: 6px;
}

.custom-lightbox-caption {
    color: var(--border-light, #eaebed);
    font-size: 1rem;
    margin-top: 15px;
    padding: 0 20px;
    line-height: 1.5;
    font-style: italic;
    font-weight: 300;
}

.lightbox-caption {
    margin-top: 15px;
    color: #f8f9fa;
    font-size: 1rem;
    text-align: center;
    max-width: 90%;
    font-weight: 500;
    animation: zoomIn 0.3s ease;
    line-height: 1.5;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    line-height: 1;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoomIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.scroll-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    background: var(--primary, #1a73e8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-radius: 50%;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    bottom: 30px;
}

.scroll-top:hover {
    background: var(--primary-hover, #1558b0);
    transform: translateY(-3px);
}

.footer-menu-wrapper {
    margin-bottom: 15px;
}

.footer-menu-wrapper ul {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.footer-menu-wrapper ul li a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.2s;
    text-decoration: none;
}

.footer-menu-wrapper ul li a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.footer-widgets-area,
.footer-widgets-area h1,
.footer-widgets-area h2,
.footer-widgets-area h3,
.footer-widgets-area h4,
.footer-widgets-area h5,
.footer-widgets-area h6,
.footer-widgets-area p,
.footer-widgets-area span,
.footer-widgets-area div,
.footer-widgets-area li,
.footer-widgets-area .widget-title {
    color: #ffffff !important;
}

.footer-widgets-area a {
    color: rgba(255, 255, 255, 0.85) !important;
}

.footer-widgets-area a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.footer-wrapper {
    margin-top: 0;
    padding: 20px 0;
    background: var(--footer-bg, var(--bg-secondary, #f8f9fa));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    color: #ffffff !important;
    font-size: 0.9rem;
}

.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-top: 6px;
}

/* Fix footer widget lists numbering/bullets overflow */
.footer-widgets-area ol {
    padding-left: 0 !important;
    list-style-position: inside !important;
    list-style-type: decimal !important;
}

.footer-widgets-area ul:not(.dn-social-menu):not(.social-menu-list) {
    padding-left: 0 !important;
    list-style-position: inside !important;
    list-style-type: disc !important;
}

/* Bullet and Number marker colors */
.footer-widgets-area ul:not(.dn-social-menu):not(.social-menu-list) li::marker,
.footer-widgets-area ol li::marker {
    color: #ffffff !important;
}

.footer-widgets-area ul.dn-social-menu,
.footer-widgets-area ul.social-menu-list {
    padding-left: 0 !important;
    list-style: none !important;
}

/* CSS INDEKS BERITA (ALA MEDIA NASIONAL) & BERANDA */
#indeks-berita-app {
    margin-top: 10px;
    font-family: 'Google Sans', 'Plus Jakarta Sans', sans-serif;
    display: none;
}

.idx-controls {
    display: flex;
    gap: 10px;
    background: var(--body-background, #ffffff);
    padding: 15px;
    border: 1px solid var(--border-light, #eaebed);
    border-top: 3px solid var(--primary, #1a73e8);
    border-radius: 6px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.idx-controls select {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--border-primary, #dadce0);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--text-secondary, #5f6368);
    background: var(--bg-secondary, #f8f9fa);
    outline: none;
    cursor: pointer;
    transition: 0.2s;
}

.idx-controls select:focus {
    border-color: var(--primary, #1a73e8);
    background: var(--body-background, #ffffff);
}

.idx-controls button {
    flex: 0 0 120px;
    background: var(--primary, #1a73e8);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    transition: 0.2s;
}

.idx-controls button:hover {
    background: var(--primary-hover, #1558b0);
    box-shadow: 0 2px 6px rgba(26, 115, 232, 0.3);
}

/* =========================================
       10. RESPONSIVE MOBILE & TABLET (< 992px) 
       (DI BAWAH AGAR OVERRIDE DESKTOP)
       ========================================= */
@media (max-width: 992px) {

    /* PENYESUAIAN UKURAN HEADING DAN JUDUL ARTIKEL DI MOBILE */
    h1,
    .item-post-wrap .post-title {
        font-size: 1.5rem !important;
        line-height: 1.35 !important;
    }

    h2,
    .post-body h2 {
        font-size: 1.3rem !important;
        line-height: 1.4 !important;
    }

    h3,
    .post-body h3 {
        font-size: 1.15rem !important;
        line-height: 1.4 !important;
    }

    h4,
    .post-body h4 {
        font-size: 1.05rem !important;
        line-height: 1.4 !important;
    }

    h5,
    .post-body h5 {
        font-size: 1rem !important;
    }

    h6,
    .post-body h6 {
        font-size: 0.95rem !important;
    }

    .search-result-header .search-title {
        font-size: 1.3rem !important;
    }

    .content-area {
        padding: 0 15px !important;
    }

    /* MENCEGAH IKLAN ADSENSE MENEMPEL DI TEPI LAYAR (EDGE-TO-EDGE) */
    ins.adsbygoogle {
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .ad-wrapper-section,
    .above-footer-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    .layout-container {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 0;
    }

    .main-content {
        width: 100%;
        display: block;
    }

    .sidebar-wrapper {
        width: 100%;
        max-width: 100%;
        display: block;
        border-top: none !important;
        padding: 0 !important;
        margin-top: 0 !important;
    }

    .sidebar .widget {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        border: none !important;
        padding: 0 !important;
        background: transparent !important;
        margin-bottom: 30px !important;
    }

    .sidebar .widget:last-child {
        position: static;
        margin-bottom: 0 !important;
    }

    .pp-item {
        grid-template-columns: 34px minmax(0, 1fr);
        column-gap: 14px;
        padding: 10px 0;
    }

    .pt-item a {
        grid-template-columns: 34px minmax(0, 1fr);
        column-gap: 14px;
        padding: 4px 0;
    }

    .pp-item::before {
        width: 34px;
        height: 30px;
        font-size: 0.82rem;
        border-radius: 5px;
    }

    .pp-link {
        font-size: 0.88rem;
    }

    #LinkList3 .widget-content a {
        border-radius: 10px;
    }

    #LinkList4 .widget-content a {
        border-radius: 6px;
    }

    .header-wrapper {
        display: none;
    }

    .desktop-home-link {
        display: none !important;
    }

    .mobile-logo {
        display: block;
    }

    .nav-container {
        max-height: 60px !important;
        min-height: 60px !important;
    }

    .nav-full-wrapper {
        border-top: none !important;
        z-index: 1001 !important;
        position: sticky !important;
        position: -webkit-sticky !important;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
        margin-right: 0 !important;
        width: 44px !important;
        height: 44px !important;
    }

    /* MENU SLIDE DARI KANAN (PERBAIKAN LEBAR PENUH & SCROLL) */
    .nav-menu-wrapper {
        position: fixed !important;
        top: 61px !important;
        right: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        height: calc(100vh - 61px) !important;
        width: 100% !important;
        max-width: 100vw !important;
        background: var(--body-background, #ffffff) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        padding: 24px 15px 24px 15px !important;
        box-shadow: none !important;
        transform: translateX(100%) !important;
        opacity: 1 !important;
        visibility: visible !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 999 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
        border-top: 4px solid var(--border-light, #eaebed) !important;
        border-bottom: none !important;
        box-sizing: border-box !important;
    }

    #mobile-menu-toggle-chk:checked~.nav-full-wrapper .nav-menu-wrapper {
        transform: translateX(0) !important;
    }

    #mobile-menu-toggle-chk:checked~.nav-full-wrapper {
        box-shadow: none !important;
        border-bottom: 1px solid var(--border-light, #eaebed) !important;
    }

    .mobile-close {
        display: none !important;
    }

    /* FORM PENCARIAN DI ATAS MENU GRID */
    .nav-right {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 0 25px 0 !important;
        order: -1 !important;
        position: static !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .search-toggle-btn {
        display: none !important;
    }

    .search-form-wrapper {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        margin-top: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .search-form-inline {
        display: flex !important;
        width: 100% !important;
        background: var(--body-background, #ffffff) !important;
        border: 1px solid var(--border-primary, #dadce0) !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .search-input-inline {
        border: none !important;
        background: transparent !important;
        padding: 12px 15px !important;
        width: 100% !important;
        flex: 1 !important;
        outline: none !important;
        font-family: 'Google Sans', 'Plus Jakarta Sans', sans-serif !important;
        color: var(--body-text, #202124) !important;
        font-size: 0.95rem !important;
        box-sizing: border-box !important;
    }

    .search-button-inline {
        flex-shrink: 0 !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        padding: 12px 15px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .nav-left {
        width: 100% !important;
        margin-bottom: 20px !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .desktop-menu {
        display: none !important;
    }

    .mobile-custom-menu {
        display: block !important;
    }

    #mobile-menu-list {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .mobile-menu-heading {
        margin-bottom: 25px !important;
    }

    .mobile-heading-text {
        display: block !important;
        background: transparent !important;
        border: none !important;
        padding: 0 0 10px 0 !important;
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        color: var(--text-secondary, #5f6368) !important;
        margin-bottom: 10px !important;
        text-transform: none !important;
        border-bottom: 1px solid var(--border-light, #eaebed) !important;
    }

    .mobile-submenu-list {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .mobile-submenu-item a {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        background: transparent !important;
        border: none !important;
        padding: 8px 0 !important;
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        color: var(--text-secondary, #5f6368) !important;
        text-decoration: none !important;
        transition: 0.2s !important;
        text-align: left !important;
    }

    .mobile-submenu-item a:hover {
        color: var(--primary, #1a73e8) !important;
    }

    /* IKON SOSIAL DI BAGIAN BAWAH MENU MOBILE */
    .mobile-menu-social-wrap {
        display: block !important;
        width: 100% !important;
        margin-top: 20px !important;
        padding-top: 18px !important;
        border-top: 1px solid var(--border-light, #eaebed) !important;
    }

    .header-social.header-social-mobile {
        justify-content: center !important;
        gap: 12px !important;
        padding-left: 0 !important;
        display: flex !important;
    }

    .header-social.header-social-mobile a {
        width: 36px !important;
        height: 36px !important;
        background: var(--bg-secondary, #f8f9fa) !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
    }

    .header-social.header-social-mobile img {
        width: 18px !important;
        height: 18px !important;
    }

    /* Sembunyikan ikon sosial desktop di header topbar pada mobile */
    #header-social {
        display: none !important;
    }

    /* OVERRIDE MENU MENJADI LIST BIASA (BUKAN KOTAK KHUSUS) */
    #main-menu {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 0 !important;
        box-sizing: border-box !important;
    }

    #main-menu>li.menu-more-item {
        display: none !important;
    }

    #main-menu>li {
        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #main-menu>li>a {
        background: transparent !important;
        padding: 0 !important;
        height: 46px !important;
        min-height: 46px !important;
        max-height: 46px !important;
        line-height: 46px !important;
        font-size: 1.05rem !important;
        font-weight: 700 !important;
        color: var(--body-text, #202124) !important;
        border-bottom: 1px solid var(--border-light, #eaebed) !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        text-align: left !important;
        text-transform: capitalize !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    #main-menu>li:not(.has-sub) {
        border: none !important;
    }

    #main-menu>li:not(.has-sub)>a {
        border-bottom: 1px solid var(--border-light, #eaebed) !important;
    }

    #main-menu>li:first-child>a {
        border-top: 1px solid var(--border-light, #eaebed) !important;
    }

    /* Tanda Submenu (Panah CSS) */
    #main-menu li.has-sub>a:after {
        content: '' !important;
        border: 5px solid transparent !important;
        border-top-color: var(--body-text, #202124) !important;
        margin-top: 6px !important;
        margin-left: 8px !important;
        display: block !important;
        transition: transform 0.3s ease !important;
        /* Animasi Putar Saat Diklik */
    }

    /* Animasi Rotasi Panah Saat Menu Terbuka */
    #main-menu li.has-sub.open>a:after {
        transform: rotate(180deg) !important;
        border-top-color: var(--primary, #1a73e8) !important;
        margin-top: -4px !important;
    }

    /* SUBMENU TERBUKA DEFAULT & RAPI (1 KOLOM VERTIS KAL) */
    #main-menu li ul {
        display: none !important;
        flex-direction: column !important;
        /* MURNI 1 KOLOM */
        gap: 0 !important;
        background: var(--body-background, #ffffff) !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        box-sizing: border-box !important;
    }

    /* Tampilkan submenu ketika kelas 'open' aktif */
    #main-menu li.open>ul {
        display: flex !important;
        border-left: 3px solid var(--border-primary, #dadce0) !important;
    }

    #main-menu li ul::before {
        display: none !important;
    }

    #main-menu li ul li {
        background: var(--body-background, #ffffff) !important;
        border: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        border-bottom: 1px solid #eee !important;
        border-right: none !important;
        box-sizing: border-box !important;
    }

    #main-menu li ul li:last-child {
        border-bottom: 1px solid var(--border-light, #eaebed) !important;
    }

    #main-menu li ul li a {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 0 16px !important;
        font-size: 0.9rem !important;
        color: var(--text-secondary, #5f6368) !important;
        text-transform: capitalize !important;
        border: none !important;
        font-weight: 600 !important;
        height: 46px !important;
        min-height: 46px !important;
        max-height: 46px !important;
        box-sizing: border-box !important;
        transition: 0.2s !important;
        word-break: break-word !important;
        white-space: normal !important;
        line-height: 46px !important;
        overflow: hidden !important;
    }

    #main-menu li ul li a:hover {
        background: var(--bg-secondary, #f8f9fa) !important;
        color: var(--primary, #1a73e8) !important;
    }

    #main-menu li ul li ul {
        border-top: 1px solid #eee !important;
    }

    /* SEMBUNYIKAN TEKS PAGINASI DI MOBILE (HANYA PANAH) */
    .prev-nav,
    .next-nav {
        display: none !important;
    }

    /* BREAKING NEWS MOBILE */
    .breaking-news-wrapper {
        margin: 15px auto -20px !important;
    }

    .bn-container {
        flex-direction: column;
        border-radius: 6px;
    }

    .bn-label {
        justify-content: flex-start;
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    .bn-content {
        padding: 12px 15px;
        text-align: left;
    }

    .bn-content a {
        white-space: normal;
        display: block;
        line-height: 1.5;
    }

    /* IKLAN MELAYANG MOBILE */
    .mobile-floating-ad-wrapper {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 10002;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mobile-floating-ad-wrapper.ad-hidden {
        transform: translateY(100%);
    }

    .mobile-floating-ad-wrapper.ad-hidden .icon-close {
        display: none;
    }

    .mobile-floating-ad-wrapper.ad-hidden .icon-open {
        display: inline !important;
    }

    .floating-ad-container {
        position: relative;
        background: var(--body-background, #ffffff);
        height: 100px !important;
        min-height: 100px !important;
        max-height: 100px !important;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100vw;
        overflow: visible;
        box-sizing: border-box;
    }

    .floating-ad-container .widget-content,
    .floating-ad-container .widget,
    .floating-ad-container .textwidget {
        width: 100% !important;
        height: 100px !important;
        min-height: 100px !important;
        max-height: 100px !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        box-sizing: border-box;
    }

    .floating-ad-container ins.adsbygoogle,
    .floating-ad-container iframe {
        margin: 0 auto !important;
        display: block !important;
        max-height: 100px !important;
    }

    .floating-ad-close {
        position: absolute;
        top: -28px;
        right: 15px;
        width: 28px;
        height: 28px;
        background: var(--body-background, #ffffff);
        color: var(--text-secondary, #5f6368);
        font-size: 22px;
        line-height: 28px;
        text-align: center;
        border-radius: 6px 6px 0 0;
        cursor: pointer;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.08);
        font-weight: bold;
        font-family: sans-serif;
    }

    /* Saat menu mobile dibuka, sembunyikan iklan melayang dan tombol scroll agar tidak menutupi menu */
    #mobile-menu-toggle-chk:checked ~ .mobile-floating-ad-wrapper {
        display: none !important;
    }

    #mobile-menu-toggle-chk:checked ~ .scroll-top {
        display: none !important;
    }

    #mobile-menu-toggle-chk:checked ~ .toc-toggle-btn {
        display: none !important;
    }

    #mobile-menu-toggle-chk:checked ~ .dn-a11y-widget {
        display: none !important;
    }

    #mobile-menu-toggle-chk:checked ~ .floating-toc-wrapper {
        display: none !important;
    }

    body.mobile-menu-open.has-mobile-ad {
        padding-bottom: 0 !important;
    }

    /* NETWORK BUTTON - sembunyikan di mobile, tampilkan section dalam menu */
    .header-network {
        display: none !important;
    }

    .network-dropdown {
        display: none !important;
    }

    .mobile-network-section {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid var(--border-light, #eaebed);
    }

    .mobile-network-title {
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--text-secondary, #5f6368);
        padding: 0 0 8px 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .mobile-network-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .mobile-network-links a {
        display: block;
        padding: 9px 8px 9px 0;
        font-size: 0.875rem;
        color: var(--text-secondary, #5f6368);
        font-weight: 500;
        border-bottom: 1px solid var(--border-light, #eaebed);
        text-decoration: none;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-network-links a:last-child {
        border-bottom: none;
    }

    .mobile-network-links a:nth-last-child(2):nth-child(odd) {
        border-bottom: none;
    }

    .mobile-network-links a:hover {
        color: var(--primary, #1a73e8);
    }

    /* MENGANGKAT KONTEN / FOOTER KETIKA IKLAN TAMPIL */
    body.has-mobile-ad {
        padding-bottom: 100px !important;
    }

    /* THUMBNAIL MOBILE (90x90px) & TYPOGRAPHY */
    .blog-posts {
        margin-top: 10px;
        gap: 0;
    }

    .idx-controls {
        flex-wrap: wrap;
        padding: 12px;
    }

    .idx-controls select {
        flex: 1 1 calc(50% - 5px);
    }

    .idx-controls button {
        flex: 1 1 100%;
        padding: 12px;
    }

    .idx-post {
        gap: 15px;
        padding: 15px 0;
        flex-direction: row;
        align-items: center;
    }

    .idx-thumb {
        flex: 0 0 90px !important;
        width: 90px !important;
    }

    .idx-thumb img {
        height: 90px !important;
    }

    .idx-content {
        padding-top: 0;
        justify-content: flex-start;
    }

    .idx-title {
        font-size: 16px !important;
        margin-bottom: 6px !important;
        line-height: 1.4 !important;
    }

    .idx-title a {
        -webkit-line-clamp: 3 !important;
        line-clamp: 3 !important;
    }

    .idx-meta {
        gap: 6px;
        font-size: 0.75rem;
        flex-direction: row;
        align-items: center;
    }

    .idx-cat {
        font-size: 0.7rem !important;
        margin-bottom: 0 !important;
        order: 0;
    }

    .idx-date {
        font-size: 0.75rem !important;
        order: 0;
    }

    .idx-separator {
        display: inline-flex !important;
    }

    .idx-separator::before {
        font-size: 12px;
    }

    /* FEATURED POST MOBILE */
    .custom-fp-wrapper {
        margin-bottom: 30px !important;
    }

    .fp-title {
        font-size: 1.3rem !important;
        margin-bottom: 6px !important;
    }

    .fp-image-wrap img {
        border-radius: 6px !important;
    }

    .fp-info {
        padding: 0 !important;
    }

    .fp-related-box {
        margin-top: 10px !important;
    }

    .fp-related-title {
        font-size: 0.85rem !important;
        margin-bottom: 4px !important;
    }

    .fp-related-list {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .fp-related-list a {
        font-size: 0.9rem !important;
        white-space: normal !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        padding: 0 !important;
    }

    /* 9.1 TOC BOTTOM SHEET MOBILE (PERBAIKAN) */
    .floating-toc-wrapper {
        position: fixed !important;
        width: 100% !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        max-height: 80vh !important;
        transform: translateY(100%) !important;
        border-radius: 20px 20px 0 0 !important;
        border: none !important;
        box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15) !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .floating-toc-wrapper.active {
        transform: translateY(0) !important;
    }

    .toc-header {
        border-radius: 20px 20px 0 0 !important;
        padding: 20px 15px !important;
    }

    .toc-body {
        padding: 15px 15px 40px !important;
        max-height: calc(80vh - 65px) !important;
    }

    /* 9.2 TOC FAB BUTTON MOBILE */
    .toc-toggle-btn {
        top: auto !important;
        bottom: 15px !important;
        left: auto !important;
        right: 15px !important;
        width: 45px !important;
        height: 45px !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        border: none !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
        transform: scale(0) !important;
        opacity: 0 !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 10005 !important;
        background-color: var(--primary, #1a73e8) !important;
        color: #ffffff !important;
    }

    .toc-toggle-btn.active.show-on-scroll {
        transform: scale(1) !important;
        opacity: 1 !important;
    }

    .toc-btn-inner {
        flex-direction: row !important;
        transform: none !important;
        writing-mode: horizontal-tb !important;
        gap: 0 !important;
        color: #ffffff !important;
        width: 100% !important;
        height: 100% !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .toc-btn-inner span:not(.material-icons-outlined) {
        display: none !important;
    }

    /* Teks disembunyikan, ICON TETAP TAMPIL */
    .toc-btn-inner .material-icons-outlined {
        font-size: 24px !important;
        margin: 0 !important;
        color: #ffffff !important;
        display: block !important;
    }

    /* SHARE MODAL BOX MOBILE */
    .share-modal-box {
        padding: 20px !important;
    }

    /* 9.3 SCROLL TO TOP — di sebelah kanan tombol TOC, sejajar vertikal */
    .scroll-top {
        bottom: 15px !important;
        right: 15px !important;
        width: 40px !important;
        height: 40px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        border: none !important;
        z-index: 10005 !important;
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1), bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1), right 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease !important;
    }

    .scroll-top.show {
        bottom: 15px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* KETIKA IKLAN MELAYANG AKTIF (GESER TOMBOL KE ATAS) */
    body.has-mobile-ad .scroll-top,
    body.has-mobile-ad .scroll-top.show {
        bottom: 140px !important;
        right: 15px !important;
    }

    body.has-mobile-ad .universitas-toc-fab,
    body.has-mobile-ad .universitas-toc-fab.show {
        bottom: 140px !important;
        right: 68px !important;
    }

    .custom-lightbox {
        padding: 10px;
    }

    .lightbox-caption {
        font-size: 0.9rem;
        margin-top: 12px;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 35px;
    }

    /* PAGINASI MOBILE SAFE HACK (Angka saja pas 1 baris) */
    .showpageArea {
        display: flex !important;
        justify-content: center !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        padding-bottom: 5px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        gap: 6px !important;
    }

    .showpageArea::after {
        content: '';
        display: block;
        padding-right: 2px;
    }

    .showpageNum a,
    .showpagePoint {
        min-width: 32px !important;
        height: 32px !important;
        padding: 0 4px !important;
        border-radius: 4px !important;
        font-size: 0.85rem !important;
        flex-shrink: 0 !important;
    }

    .showpageEllipsis {
        min-width: 15px !important;
        height: 32px !important;
        flex-shrink: 0 !important;
    }

    /* FIX POST META MOBILE: AKSI TETAP DI KANAN */
    .item-post-wrap .post-meta {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 10px 12px !important;
        font-size: 12px !important;
        margin-bottom: 25px !important;
    }

    .item-post-wrap .post-meta .meta-texts {
        gap: 6px !important;
    }

    .item-post-wrap .post-meta .meta-actions {
        gap: 8px !important;
    }

    .item-post-wrap .post-meta .material-icons-outlined {
        font-size: 14px !important;
        margin: 0;
    }

    /* BREADCRUMB MOBILE: Titik Tiga (Ellipsis) Jika Terpotong */
    .breadcrumb {
        margin-bottom: 10px;
        font-size: 0.8rem;
    }

    /* FIX TOC PADDING MOBILE */
    .toc-body ul {
        padding: 0 !important;
        margin: 0 !important;
    }

    .toc-body li {
        margin-bottom: 10px;
        padding: 0 !important;
        margin-left: 0 !important;
    }

    .toc-body a {
        color: var(--text-secondary, #5f6368);
        font-size: 0.9rem;
        text-decoration: none;
        display: flex;
        align-items: flex-start;
        line-height: 1.5;
        transition: 0.2s;
    }

    .toc-body a:hover {
        color: var(--primary, #1a73e8);
    }

    .toc-number {
        min-width: 22px;
        flex-shrink: 0;
    }

    .toc-h2 .toc-number,
    .toc-h2 .toc-text {
        font-weight: 600;
        color: var(--body-text, #202124);
    }

    .toc-body li.toc-h3 {
        padding-left: 26px !important;
    }

    /* FOOTER RATA KIRI DI MOBILE */
    .footer-wrapper {
        text-align: left !important;
        padding: 20px 0 !important;
    }

    .footer-menu-wrapper ul {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px 15px !important;
        justify-items: start !important;
    }

    /* MOBILE COMMENTS */
    .post-comments {
        padding-top: 30px;
        margin-top: 30px;
    }

    .avatar-image-container {
        width: 36px;
        height: 36px;
    }

    .comment-header {
        font-size: 0.9rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .comment-content {
        font-size: 0.9rem;
    }

    .comment-replies {
        padding-left: 12px;
        margin-top: 12px;
        gap: 12px;
    }

    .comment-block.is-reply .avatar-image-container {
        width: 28px;
        height: 28px;
    }

    .comment-form {
        grid-template-columns: 1fr;
    }

    .cf-label-row {
        align-items: baseline;
    }

    .field-note-inline {
        text-align: right;
    }

    .dt-desktop {
        display: none !important;
    }

    .dt-mobile {
        display: inline !important;
    }
}

/* Override Khusus Mobile Portrait (HP) */
@media (max-width: 576px) {
    .idx-meta {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
    }

    .idx-cat {
        order: 2 !important;
    }

    .idx-date {
        order: 1 !important;
    }

    .idx-separator {
        display: none !important;
    }
}

/* Override Khusus Tablet Horizontal */
@media (min-width: 481px) and (max-width: 992px) {
    .nav-menu-wrapper {
        width: 350px !important;
        max-width: 350px !important;
        border-left: 1px solid var(--border-light, #eaebed) !important;
        left: auto !important;
    }
}

/* =========================================
       11. KHUSUS HALAMAN TATA LETAK (BACKEND)
       ========================================= */
body#layout .nav-full-wrapper {
    position: static !important;
    z-index: 1 !important;
    box-shadow: none !important;
}

body#layout .content-area {
    max-width: 920px !important;
    margin: 0 auto !important;
    padding: 16px 20px 24px !important;
    display: block !important;
}

body#layout .layout-container {
    display: block !important;
    width: 100% !important;
    max-width: 920px !important;
    clear: both !important;
    overflow: hidden !important;
    margin: 0 auto 20px !important;
    padding-top: 15px !important;
}

body#layout .main-content {
    width: 64% !important;
    float: left !important;
    display: block !important;
    margin: 0 !important;
    flex: none !important;
}

body#layout .sidebar-wrapper {
    width: 33% !important;
    float: right !important;
    display: block !important;
    margin: 0 !important;
    flex: none !important;
    max-width: none !important;
    border: none !important;
    padding: 0 !important;
}

body#layout .footer-wrapper {
    width: 100% !important;
    max-width: 920px !important;
    display: block !important;
    clear: both !important;
    margin: 20px auto 0 !important;
    padding: 0 !important;
    border: none !important;
}

body#layout .footer-wrapper .section {
    width: 100% !important;
    display: block !important;
    clear: both !important;
    margin: 0 0 20px 0 !important;
}

body#layout .above-footer-widgets {
    width: 100% !important;
    max-width: 920px !important;
    display: block !important;
    clear: both !important;
    margin: 20px auto 0 !important;
    padding: 0 !important;
}

body#layout #AboveFooterWidgets {
    position: relative !important;
    padding: 40px 10px 10px 10px !important;
    border: 2px dashed #4caf50 !important;
    background-color: #e8f5e9 !important;
    min-height: 80px !important;
    display: block !important;
}

body#layout #AboveFooterWidgets::before {
    content: "Area Gadget : Atas Footer (Tanpa Batas Widget)" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 6px 12px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #2e7d32 !important;
    background-color: #c8e6c9 !important;
    border-bottom: 2px dashed #4caf50 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

body#layout .FeaturedPost>h2,
body#layout .FeaturedPost>h3,
body#layout .FeaturedPost h2.title,
body#layout .FeaturedPost h3.title {
    display: block !important;
}

body#layout .FeaturedPost .widget-content {
    background: transparent !important;
    display: block !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

body#layout .in-feed-ad-container {
    display: none !important;
}

body:not(#layout) #feed-ad-2 {
    display: none !important;
}

body:not(#layout) #feed-ad-2-layout {
    display: none !important;
}

/* FIX MENU SECTION IN BACKEND */
body#layout .nav-menu-wrapper {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    transform: none !important;
}

body#layout .nav-left {
    display: block !important;
    width: 100% !important;
    float: none !important;
    margin-bottom: 0 !important;
}

body#layout .nav-right {
    display: none !important;
}

body#layout .desktop-home-link {
    display: none !important;
}

body#layout .header-social-section {
    display: block !important;
    width: 100% !important;
    margin-top: 10px !important;
    position: relative !important;
    padding: 30px 10px 10px !important;
    border: 2px dashed var(--primary, #1a73e8) !important;
    background-color: #e3f2fd !important;
    min-height: 50px !important;
}

body#layout .header-social-section::before {
    content: "Media Sosial Header : Diatur via Daftar Link" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 6px 12px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #0d47a1 !important;
    background-color: #bbdefb !important;
    border-bottom: 2px dashed var(--primary, #1a73e8) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

body#layout .header-social-data {
    display: block !important;
}

body#layout .network-links-section {
    display: block !important;
    width: 100% !important;
    margin-top: 10px !important;
    position: relative !important;
    padding: 30px 10px 10px !important;
    border: 2px dashed #e65100 !important;
    background-color: #fff3e0 !important;
    min-height: 50px !important;
}

body#layout .network-links-section::before {
    content: "Network Links : Diatur via Daftar Link" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 6px 12px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #bf360c !important;
    background-color: #ffccbc !important;
    border-bottom: 2px dashed #e65100 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

body#layout .network-links-data {
    display: block !important;
}

@media (min-width: 993px) {
    .mobile-network-section {
        display: none;
    }
}

/* FIX: MENGIZINKAN SEMUA CONTAINER IKLAN TAMPIL DI TATA LETAK TANPA TERTUTUP CSS FRONTEND */
body#layout .section,
body#layout .breaking-news-wrapper,
body#layout #IklanBawahHeader,
body#layout #IklanAtasFooter,
body#layout #IklanTengahArtikel,
body#layout .feed-ad-section,
body#layout #IklanMelayangMobile {
    position: relative !important;
    padding: 40px 10px 10px 10px !important;
    border: 2px dashed var(--border-primary, #dadce0) !important;
    border-radius: 8px !important;
    background-color: var(--bg-secondary, #f8f9fa) !important;
    margin-bottom: 25px !important;
    width: 100% !important;
    max-width: 920px !important;
    box-sizing: border-box !important;
    float: none !important;
    display: block !important;
    min-height: 80px !important;
    clear: both !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body#layout .section::before,
body#layout .breaking-news-wrapper::before,
body#layout #IklanBawahHeader::before,
body#layout #IklanAtasFooter::before,
body#layout #IklanTengahArtikel::before,
body#layout .feed-ad-section::before,
body#layout #IklanMelayangMobile::before {
    font-family: 'Google Sans', 'Plus Jakarta Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--primary, #1a73e8) !important;
    background: var(--primary-light, #e8f0fe) !important;
    padding: 6px 14px !important;
    border-radius: 6px 0 6px 0 !important;
    position: absolute !important;
    top: -2px !important;
    left: -2px !important;
    display: inline-block !important;
    border: 2px solid var(--border-primary, #dadce0) !important;
    border-top: none !important;
    border-left: none !important;
    letter-spacing: 0.3px !important;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05) !important;
    content: attr(id) !important;
}

body#layout .breaking-news-wrapper {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-color: #d32f2f !important;
    background-color: #ffebee !important;
}

body#layout .content-area>#BreakingNews {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto 25px !important;
}

body#layout .breaking-news-wrapper::before {
    color: #c62828 !important;
    background: #ffcdd2 !important;
    border-color: #d32f2f !important;
}

/* WADAH KHUSUS IKLAN ARTIKEL */
body#layout #backend-ads {
    display: block !important;
    width: 100% !important;
    max-width: 920px !important;
    border: 2px dashed #ffb74d !important;
    padding: 40px 10px 10px 10px !important;
    background: #fff8e1 !important;
    margin-bottom: 25px !important;
    border-radius: 8px !important;
    position: relative !important;
    box-sizing: border-box !important;
    clear: both !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body#layout #backend-ads::before {
    content: "Area Sistem Iklan Dalam Artikel (JANGAN DIHAPUS)" !important;
    font-family: 'Google Sans', 'Plus Jakarta Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #e65100 !important;
    background: #ffe0b2 !important;
    padding: 6px 14px !important;
    border-radius: 6px 0 6px 0 !important;
    position: absolute !important;
    top: -2px !important;
    left: -2px !important;
    display: inline-block !important;
    border: 2px solid #ffb74d !important;
    border-top: none !important;
    border-left: none !important;
}

body#layout #backend-ads .section {
    border-color: #ffb74d !important;
    background-color: var(--body-background, #ffffff) !important;
    margin-bottom: 20px !important;
}

body#layout #backend-ads .section::before {
    color: #e65100 !important;
    border-color: #ffb74d !important;
    background-color: #fff3e0 !important;
}

body#layout #feed-ad-2-layout {
    width: 64% !important;
    float: left !important;
    clear: left !important;
    margin: 0 0 25px 0 !important;
    box-sizing: border-box !important;
}

body#layout #feed-ad-2-layout .feed-ad-section {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

/* LABEL INFORMASI TATA LETAK */
body#layout #header::before {
    content: "Header Utama : Logo & Judul Blog" !important;
}

body#layout #navigation::before {
    content: "Menu Navigasi Tunggal (Desktop & Mobile Digabung)" !important;
}

body#layout #BreakingNews::before {
    content: "Breaking News : Tulis Link & Teks Berita Saja" !important;
}

body#layout #IklanBawahHeader::before {
    content: "Slot Iklan : Bawah Navigasi (100% Full Lebar)" !important;
}

body#layout #feed-ad::before {
    content: "Slot Iklan : Feed (Menyisip Setiap 2 Postingan)" !important;
}

body#layout #feed-ad-2::before {
    content: "Slot Iklan : Feed 2 (Di Bawah Entri yang Diunggulkan)" !important;
}

body#layout #IklanTengahArtikel::before {
    content: "Slot Iklan : Tengah Artikel (Otomatis Tiap 3 Paragraf)" !important;
}

body#layout #main::before {
    content: "Konten Utama : Area Daftar Postingan & Baca Artikel" !important;
}

body#layout #sidebar::before {
    content: "Sidebar Kanan : Gadget Terbawah Akan Otomatis Sticky" !important;
}

body#layout #IklanAtasFooter::before {
    content: "Slot Iklan : Atas Footer (100% Full Lebar)" !important;
}

body#layout #IklanMelayangMobile::before {
    content: "Slot Iklan : Melayang Bawah (Khusus Mobile)" !important;
}

body#layout #footer-menu-section::before {
    content: "Footer Menu : Link Navigasi Area Bawah" !important;
}

body#layout #footer-copyright::before {
    content: "Footer Copyright : Teks Hak Cipta Paling Bawah" !important;
}

body#layout .mobile-floating-ad-wrapper {
    display: block !important;
    position: static !important;
    width: calc(100% - 40px) !important;
    max-width: 920px !important;
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body#layout #mobile-floating-ad-wrapper {
    width: calc(100% - 40px) !important;
    max-width: 920px !important;
    margin: 0 auto 25px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

body#layout .mobile-floating-ad-wrapper #IklanMelayangMobile {
    width: 100% !important;
    max-width: 920px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body#layout .floating-ad-close {
    display: none !important;
}

/* =========================================
       12. PRINT STYLES 
       ========================================= */
.print-only-header {
    display: none;
}

@media print {

    .menu-overlay,
    .header-wrapper,
    .nav-full-wrapper,
    .scroll-top,
    .footer-wrapper,
    #blog-pager,
    #numbered-pagination,
    .floating-toc-wrapper,
    .toc-toggle-btn,
    .breadcrumb,
    .post-footer-settings,
    .custom-lightbox,
    .search-result-header,
    .sidebar-wrapper,
    .ad-container,
    .ad-wrapper-section,
    .in-feed-ad-container,
    .in-article-ad-wrapper,
    .post-comments,
    .mobile-floating-ad-wrapper,
    .floating-ad-container,
    .share-modal-overlay,
    .share-modal-box,
    .breaking-news-wrapper,
    #BreakingNews {
        display: none !important;
    }

    body {
        background: var(--body-background, #ffffff) !important;
        color: #000 !important;
    }

    .site-wrapper,
    .content-area,
    .main-content,
    .layout-container,
    .item-post-wrap {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }

    .print-only-header {
        display: block !important;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid #000;
    }

    .print-site-name {
        font-size: 1.5rem;
        font-weight: 700;
        color: #000;
    }

    .print-site-url {
        font-size: 0.9rem;
        color: var(--text-secondary, #5f6368);
        margin-top: 5px;
        word-break: break-all;
    }

    .item-post-wrap .post-title {
        font-size: 2rem !important;
        text-align: left !important;
        margin-bottom: 10px !important;
        color: #000 !important;
    }

    .item-post-wrap .post-meta {
        justify-content: flex-start !important;
        margin-bottom: 20px !important;
        color: var(--body-text, #202124) !important;
    }

    .item-post-wrap .post-meta .meta-share,
    .item-post-wrap .post-meta .meta-comment-count {
        display: none !important;
    }

    .post-body hr::before {
        color: #000 !important;
    }
}

/* ------------------------------------- */
/* DAFTAR ISI (TOC) FLOATING / OFF-CANVAS */
/* ------------------------------------- */

/* Overlay */
.universitas-toc-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.universitas-toc-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Panel */
.universitas-toc-panel {
    position: fixed;
    top: 130px;
    left: -350px;
    width: 320px;
    max-width: 85%;
    height: auto;
    max-height: 50vh;
    background: var(--body-background, #ffffff);
    z-index: 9999;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    border-radius: 0 0 8px 0;
}

.universitas-toc-panel.open {
    left: 0;
}

.toc-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 60px;
    min-height: 60px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--border-light, #eaebed);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--body-text, #202124);
}

.toc-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary, #5f6368);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 100%;
}

.toc-panel-content {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.toc-panel-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-panel-content li {
    margin-bottom: 15px;
    line-height: 1.5;
}

.toc-panel-content li.toc-subheading {
    font-size: 0.9rem;
    margin-top: 6px;
}

.toc-panel-content a {
    color: var(--body-text, #202124);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    transition: color 0.2s;
}

.toc-panel-content .toc-number {
    min-width: 18px;
    flex-shrink: 0;
    font-weight: 600;
}

.toc-panel-content li.toc-subheading a {
    padding-left: 26px;
}

.toc-panel-content a:hover {
    color: var(--primary, #1a73e8);
}

/* Desktop Trigger (Tab Kiri) - Selalu terlihat */
.universitas-toc-fab {
    position: fixed;
    left: 0;
    top: 130px;
    transform: none;
    background: var(--primary, #1a73e8);
    color: #fff;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    z-index: 9999;
    border-radius: 0 8px 8px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.2s, transform 0.3s, opacity 0.3s, visibility 0.3s, left 0.3s ease;
    opacity: 1;
    visibility: visible;
}

.universitas-toc-fab:hover {
    background: #1557b0;
}

.universitas-toc-fab .material-icons-outlined {
    font-size: 20px;
}

.universitas-toc-fab .fab-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Mobile Trigger (FAB Kanan Bawah) - Selalu terlihat */
@media (max-width: 768px) {
    .universitas-toc-panel {
        top: 0;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .universitas-toc-fab {
        top: auto !important;
        left: auto !important;
        bottom: 15px !important;
        right: 68px !important;
        transform: scale(0) translateY(0) !important;
        border-radius: 50% !important;
        width: 45px !important;
        height: 45px !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        border: none !important;
        justify-content: center !important;
        opacity: 0 !important;
        visibility: hidden !important;
        z-index: 10005 !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1), right 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .universitas-toc-fab.show {
        transform: scale(1) translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .universitas-toc-fab .fab-text {
        display: none;
    }

    .universitas-toc-fab .material-icons-outlined {
        font-size: 22px;
    }
}

/* ------------------------------------- */
/* 15. FOOTER & FOOTER WIDGETS           */
/* ------------------------------------- */
.footer-widgets-area {
    width: 100%;
    display: block;
}

.footer-widgets-grid {
    display: grid;
    gap: 30px;
}

/* Grid Layouts */
.footer-widgets-grid.layout-1 {
    grid-template-columns: 1fr;
}

.footer-widgets-grid.layout-1-2-1-2 {
    grid-template-columns: 1fr 1fr;
}

.footer-widgets-grid.layout-1-3-2-3 {
    grid-template-columns: 1fr 2fr;
}

.footer-widgets-grid.layout-2-3-1-3 {
    grid-template-columns: 2fr 1fr;
}

.footer-widgets-grid.layout-1-3-1-3-1-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.footer-widgets-grid.layout-1-2-1-4-1-4 {
    grid-template-columns: 2fr 1fr 1fr;
}

.footer-widgets-grid.layout-1-4-1-4-1-2 {
    grid-template-columns: 1fr 1fr 2fr;
}

.footer-widgets-grid.layout-1-4-1-4-1-4-1-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

/* Footer Widget Element Styles */
.footer-widget-col .widget {
    margin-bottom: 30px;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.footer-widget-col .widget:last-child {
    margin-bottom: 0;
}

.footer-widget-col .widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: var(--body-text, #202124);
    border-bottom: 2px solid var(--primary, #1a73e8);
    display: inline-block;
    padding-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .footer-widgets-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }
}

.contact-form-wrapper {
    margin-top: 30px;
}

.universitas-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.universitas-contact-form label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--body-text, #202124);
}

.universitas-contact-form input,
.universitas-contact-form select,
.universitas-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-primary, #dadce0);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--body-text, #202124);
    background: var(--bg-secondary, #f8f9fa);
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
    box-sizing: border-box;
}

.universitas-contact-form input:focus,
.universitas-contact-form select:focus,
.universitas-contact-form textarea:focus {
    border-color: var(--primary, #1a73e8);
    background: var(--body-background, #ffffff);
}

.contact-submit-btn {
    background: var(--primary, #1a73e8);
    color: #fff;
    border: none;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}

.contact-submit-btn:hover {
    background: #1557b0;
}

.contact-alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
}

.contact-alert.success {
    background: #e6f4ea;
    color: #137333;
    border: 1px solid #ceead6;
}

.contact-alert.error {
    background: #fce8e6;
    color: #c5221f;
    border: 1px solid #fad2cf;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}

/* CSS Khusus Halaman Statis & Detail Agenda */
body.page .sidebar-wrapper,
body.single-agenda .sidebar-wrapper {
    display: none !important;
}

body.page .layout-container,
body.single-agenda .layout-container {
    display: block !important;
}

body.page .main-content,
body.single-agenda .main-content {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
}

@media (max-width: 992px) {
    body.page .post-title {
        margin-top: 30px !important;
    }
}

/* Daftar Tautan Widget WordPress (Meniru Sedang Populer / LinkList3) */
.widget_nav_menu ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget_nav_menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget_nav_menu a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 3px 14px;
    border: 1px solid var(--border-light, #eaebed);
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: var(--body-text, #202124);
    font-size: 0.92rem;
    font-weight: 600;
    text-align: left;
    box-shadow: 0 1px 2px rgba(32, 33, 36, 0.04);
}

.widget_nav_menu a::before {
    content: "trending_up";
    font-family: 'Material Icons Outlined';
    font-size: 18px;
    color: var(--primary, #1a73e8);
}

.widget_nav_menu a:hover {
    color: var(--body-text, #202124);
    border-color: rgba(26, 115, 232, 0.28);
    box-shadow: 0 10px 24px rgba(26, 115, 232, 0.08);
    transform: translateY(-1px);
}

/* Tampilan Khusus Menu Sosial (Horizontal) */
.widget_nav_menu ul.social-menu-list,
ul.social-menu-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget_nav_menu ul.social-menu-list li,
ul.social-menu-list li {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-block;
}

.widget_nav_menu ul.social-menu-list a,
ul.social-menu-list a {
    display: inline-flex;
    padding: 10px;
    border-radius: 50%;
    border: 1px solid var(--border-light, #eaebed);
    background: var(--body-background, #ffffff);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    width: auto;
    height: auto;
}

.widget_nav_menu ul.social-menu-list a::before,
ul.social-menu-list a::before {
    display: none !important;
    /* Buang ikon trending_up dari widget menu untuk khusus menu sosial */
}

/* Override khusus untuk menu sosial di dalam widget footer */
.footer-widgets-area .widget_nav_menu ul.social-menu-list a,
.footer-widgets-area ul.social-menu-list a {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 6px !important;
    color: #ffffff !important;
}
.footer-widgets-area .widget_nav_menu ul.social-menu-list a:hover,
.footer-widgets-area ul.social-menu-list a:hover {
    color: var(--dn-gold, #C6893F) !important;
    background: transparent !important;
}
.footer-widgets-area .widget_nav_menu ul.social-menu-list a svg,
.footer-widgets-area ul.social-menu-list a svg {
    fill: currentColor !important;
}

/* KHUSUS TABLET (768px - 992px) - NAV MENU MAKSIMAL 350px DARI KANAN */
@media (min-width: 768px) and (max-width: 992px) {
    .nav-menu-wrapper {
        width: 350px !important;
        max-width: 350px !important;
        left: auto !important;
        border-left: 1px solid var(--border-primary, #dadce0) !important;
        box-shadow: none !important;
    }
}

/* =========================================
       HALAMAN INDEKS BERITA
       ========================================= */
.index-title-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.index-title-wrapper .page-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--body-text, #202124);
    margin: 0;
    padding-right: 15px;
}

.title-line {
    flex: 1;
    height: 3px;
    background: var(--primary, #1a73e8);
    border-radius: 2px;
}

.index-filter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--primary, #1a73e8);
    flex-wrap: wrap;
    gap: 15px;
}

.index-subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary, #1a73e8);
    font-style: italic;
}

.nav-left.desktop-menu {
    flex: 1;
    min-width: 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

#main-menu {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: nowrap;
    align-items: center;
}

#main-menu>li {
    position: relative;
    flex-shrink: 0;
}

.index-select-cat,
.daterange-input-wrapper input {
    background: var(--body-background, #ffffff);
    border: 1px solid var(--border-primary, #dadce0);
    border-radius: 4px;
    padding: 6px 30px 6px 12px;
    font-size: 0.85rem;
    color: var(--text-secondary, #5f6368);
    cursor: pointer;
    height: 36px;
    outline: none;
    transition: 0.2s;
    -webkit-appearance: none;
    appearance: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    box-sizing: border-box;
}

.index-select-cat:focus,
.daterange-input-wrapper input:focus {
    border-color: var(--primary, #1a73e8);
}

.index-select-cat {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%235f6368%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px auto;
    min-width: 140px;
}

.daterange-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.daterange-input-wrapper input {
    width: 230px;
    padding-right: 30px;
}

.daterange-input-wrapper .arrow {
    position: absolute;
    right: 8px;
    color: var(--text-secondary, #5f6368);
    pointer-events: none;
    font-size: 18px;
}

/* Override Daterangepicker style to match theme */
.daterangepicker {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    border-radius: 8px !important;
    border: 1px solid var(--border-primary, #dadce0) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    margin-top: 5px !important;
    z-index: 100000 !important;
}

.daterangepicker .ranges li.active {
    background-color: var(--primary, #1a73e8) !important;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
    background-color: var(--primary, #1a73e8) !important;
}

.daterangepicker .btn-primary {
    background-color: var(--primary, #1a73e8) !important;
    border-color: var(--primary, #1a73e8) !important;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .index-filter-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .index-filter-form {
        width: 100%;
        justify-content: space-between;
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        width: 48%;
    }

    .filter-group label {
        margin-bottom: 5px;
    }

    .daterange-input-wrapper input,
    .index-select-cat {
        width: 100%;
        min-width: 0;
    }
}

/* ============================================================ */
/* BERANDA KAMPUS — UNIVERSITAS DARUNNAJAH                      */
/* ============================================================ */

:root {
    --dn-blue-900: #00529c;
    --dn-blue-800: #0b5da7;
    --dn-blue-700: #1565c0;
    --dn-blue-600: #1e88e5;
    --dn-blue-100: #e3f2fd;
    --dn-blue-50: #f1f8fe;
    --dn-gold: #C6893F;
    --dn-gold-dark: #A56B2A;
    --dn-gold-light: #F5E6CC;
    --dn-dark: #1A1F16;
    --dn-radius: 16px;
    --dn-radius-sm: 10px;
}

/* ========= SCROLL REVEAL BASE ========= */
[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].dn-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========= SHARED SECTION STYLES ========= */
.dn-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.dn-section-header-left {
    text-align: left;
    margin: 0 0 24px;
}

.dn-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    background: var(--dn-blue-100);
    color: var(--dn-blue-900);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 16px;
}

.dn-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dn-dark);
    margin: 0 0 12px;
    line-height: 1.25;
}

.dn-section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary, #5f6368);
    line-height: 1.7;
    margin: 0;
}

/* ========= SHARED BUTTONS ========= */
.dn-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid transparent;
    letter-spacing: 0.2px;
}

.dn-btn .material-icons-outlined,
.dn-btn .material-symbols-outlined {
    font-size: 20px;
}

.dn-btn-primary {
    background: var(--dn-gold);
    color: #fff;
    border-color: var(--dn-gold);
    box-shadow: 0 4px 20px rgba(198, 137, 63, 0.35);
}

.dn-btn-primary:hover {
    background: var(--dn-gold-dark);
    border-color: var(--dn-gold-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(198, 137, 63, 0.45);
    color: #fff;
}

.dn-btn-outline {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
}

.dn-btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #fff;
    transform: translateY(-3px);
    color: #fff;
}

.dn-btn-secondary {
    background: var(--dn-blue-900);
    color: #fff;
    border-color: var(--dn-blue-900);
    box-shadow: 0 4px 16px rgba(27, 94, 32, 0.25);
}

.dn-btn-secondary:hover {
    background: var(--dn-blue-800);
    border-color: var(--dn-blue-800);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(27, 94, 32, 0.35);
    color: #fff;
}

.dn-btn-gold {
    background: var(--dn-gold);
    color: #fff;
    border-color: var(--dn-gold);
    box-shadow: 0 4px 20px rgba(198, 137, 63, 0.4);
}

.dn-btn-gold:hover {
    background: #fff;
    color: var(--dn-gold-dark);
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.dn-btn-white-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.dn-btn-white-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-3px);
    color: #fff;
}

/* ============================================ */
/* 1. HERO SECTION                              */
/* ============================================ */
.dn-hero {
    position: relative;
    min-height: calc(100vh - var(--header-height, 105px));
    /* Fallback untuk browser lama */
    min-height: calc(100dvh - var(--header-height, 105px));
    /* Unit dinamis stabil untuk mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #002244 0%, #00529c 35%, #0b5da7 70%, #002244 100%);
    overflow: hidden;
    margin-top: 0;
}

.dn-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(198, 137, 63, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(21, 101, 192, 0.2) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.dn-hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.dn-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s linear;
    transform: scale(1);
}

.dn-hero-slide.active {
    opacity: 1;
    transform: scale(1.05); /* Slight zoom effect over time */
}

.dn-hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.dn-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: dn-float linear infinite;
}

@keyframes dn-float {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-120px) scale(0.3);
        opacity: 0;
    }
}

.dn-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    padding: 40px 24px 60px;
}

.dn-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    color: var(--dn-gold-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.dn-hero-badge .material-icons-outlined,
.dn-hero-badge .material-symbols-outlined {
    font-size: 18px;
    color: var(--dn-gold);
}

.dn-hero-badge-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
}

.dn-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 20px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

.dn-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
    margin: 0 auto 36px;
    max-width: 600px;
}

.dn-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.dn-hero-scroll-indicator {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    animation: dn-bounce 2s ease-in-out infinite;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.dn-hero-scroll-indicator:hover {
    color: #ffffff;
}

.dn-scroll-text {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.dn-hero-scroll-indicator .material-icons-outlined {
    font-size: 28px;
    line-height: 1;
}

@keyframes dn-bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-12px);
    }

    60% {
        transform: translateX(-50%) translateY(-6px);
    }
}

/* ============================================ */
/* 2. STATS SECTION                             */
/* ============================================ */
.dn-stats {
    padding: 60px 0 20px 0;
    margin-top: 0;
    position: relative;
    z-index: 10;
    background: var(--body-background, #ffffff);
}

.dn-stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dn-stat-card {
    background: #fff;
    border-radius: var(--dn-radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dn-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(27, 94, 32, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.dn-stat-icon-wrap {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--dn-blue-100), var(--dn-blue-50));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dn-stat-icon-wrap .material-icons-outlined,
.dn-stat-icon-wrap .material-symbols-outlined {
    font-size: 28px;
    color: var(--dn-blue-900);
}

.dn-stat-value {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--dn-blue-900);
    line-height: 1.2;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}

.dn-stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary, #5f6368);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ============================================ */
/* 3. PROGRAMS SECTION                          */
/* ============================================ */
.dn-programs {
    padding: 80px 0;
    background: var(--body-background, #fff);
}

.dn-programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.dn-program-card {
    position: relative;
    background: #fff;
    border-radius: var(--dn-radius);
    padding: 36px 28px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    cursor: pointer;
}

.dn-program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-accent, var(--dn-blue-900));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dn-program-card:hover::before {
    transform: scaleX(1);
}

.dn-program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.dn-program-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--card-accent, var(--dn-blue-900)) 12%, transparent),
            color-mix(in srgb, var(--card-accent, var(--dn-blue-900)) 5%, transparent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.35s ease;
}

.dn-program-icon .material-icons-outlined,
.dn-program-icon .material-symbols-outlined {
    font-size: 28px;
    color: var(--card-accent, var(--dn-blue-900));
    transition: all 0.35s ease;
}

.dn-program-card:hover .dn-program-icon {
    background: var(--card-accent, var(--dn-blue-900));
}

.dn-program-card:hover .dn-program-icon .material-icons-outlined,
.dn-program-card:hover .dn-program-icon .material-symbols-outlined {
    color: #fff;
}

.dn-program-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dn-dark);
    margin: 0 0 10px;
}

.dn-program-desc {
    font-size: 0.9rem;
    color: var(--text-secondary, #5f6368);
    line-height: 1.65;
    margin: 0 0 16px;
}

.dn-program-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--dn-blue-100);
    color: var(--dn-blue-900);
    transition: all 0.35s ease;
    opacity: 0;
    transform: translateX(-8px);
}

.dn-program-card:hover .dn-program-arrow {
    opacity: 1;
    transform: translateX(0);
}

.dn-program-arrow .material-icons-outlined {
    font-size: 18px;
}

/* ============================================ */
/* 4. WELCOME / SAMBUTAN SECTION                */
/* ============================================ */
.dn-welcome {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--dn-blue-50) 0%, #fff 100%);
}

.dn-welcome-container {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 48px;
    align-items: start;
}

.dn-welcome-decor {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.dn-welcome-pattern {
    width: 160px;
    height: 160px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, var(--dn-blue-900) 0%, var(--dn-blue-800) 100%);
    opacity: 0.08;
    transform: rotate(6deg);
}

.dn-welcome-icon-wrap {
    position: absolute;
    top: 40px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--dn-blue-900), var(--dn-blue-700));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(27, 94, 32, 0.3);
}

.dn-welcome-icon-wrap .material-icons-outlined,
.dn-welcome-icon-wrap .material-symbols-outlined {
    font-size: 36px;
    color: #fff;
}

.dn-welcome-body {
    min-width: 0;
}

.dn-welcome-quote {
    border: none;
    padding: 0;
    margin: 0 0 28px;
    font-style: normal;
    background: transparent;
}

.dn-welcome-quote p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--body-text, #202124);
    margin: 0;
    position: relative;
}

.dn-welcome-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dn-welcome-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dn-blue-900), var(--dn-blue-700));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 82, 156, 0.2);
    overflow: hidden;
}

.dn-rector-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dn-welcome-avatar .material-icons-outlined,
.dn-welcome-avatar .material-symbols-outlined {
    font-size: 26px;
    color: #fff;
}

.dn-welcome-info {
    display: flex;
    flex-direction: column;
}

.dn-welcome-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dn-dark);
}

.dn-welcome-role {
    font-size: 0.85rem;
    color: var(--dn-blue-900);
    font-weight: 600;
}

/* ============================================ */
/* 4.1 PRESTASI SECTION                         */
/* ============================================ */
.dn-prestasi-section {
    padding: 80px 0;
}

.dn-prestasi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.dn-prestasi-left {
    background: var(--dn-blue-900);
    color: #fff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dn-prestasi-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
}

.dn-prestasi-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    margin: 0 0 20px 0;
}

.dn-prestasi-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
}

.dn-prestasi-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

.dn-prestasi-stat .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.dn-prestasi-stat .stat-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7);
}

.dn-prestasi-right {
    padding: 60px;
    background: #fff;
}

.dn-prestasi-right-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.dn-prestasi-right-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dn-dark);
    margin: 0;
}

.dn-prestasi-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dn-blue-600);
    text-decoration: none;
    transition: color 0.3s;
}

.dn-prestasi-link:hover {
    color: var(--dn-blue-800);
}

.dn-prestasi-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dn-prestasi-item {
    display: flex;
    gap: 20px;
    align-items: center;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.dn-prestasi-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.dn-prestasi-thumb {
    width: 100px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.dn-prestasi-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dn-prestasi-body {
    flex-grow: 1;
}

.dn-prestasi-item-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.dn-prestasi-item-title a {
    color: var(--dn-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.dn-prestasi-item-title a:hover {
    color: var(--dn-blue-600);
}

.dn-prestasi-item-date {
    font-size: 0.85rem;
    color: var(--dn-gray-600);
}

.dn-prestasi-empty {
    color: var(--dn-gray-600);
    font-style: italic;
}

@media (max-width: 992px) {
    .dn-prestasi-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dn-prestasi-section {
        padding: 50px 0;
    }
    .dn-prestasi-grid {
        margin-left: -15px;
        margin-right: -15px;
    }
    .dn-prestasi-left, .dn-prestasi-right {
        padding: 40px 20px;
    }
    .dn-prestasi-title {
        font-size: 1.5rem;
    }
    .dn-prestasi-stats {
        flex-direction: row;
        justify-content: space-between;
        gap: 15px;
    }
}

/* ============================================ */
/* 5. NEWS / BERITA SECTION                     */
/* ============================================ */
.dn-news {
    padding: 80px 0;
    background: var(--body-background, #fff);
}

.dn-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.dn-news-card {
    background: #fff;
    border-radius: var(--dn-radius);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.dn-news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.dn-news-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.dn-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.dn-news-card:hover .dn-news-thumb img {
    transform: scale(1.06);
}

.dn-news-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.dn-news-body {
    padding: 20px 22px 24px;
}

.dn-news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.dn-news-cat {
    background: var(--dn-blue-100);
    color: var(--dn-blue-900);
    padding: 3px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.dn-news-cat:hover {
    background: var(--dn-blue-900);
    color: #fff;
}

.dn-news-cat-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    background: var(--dn-blue-900);
    color: #fff;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dn-news-cat-badge:hover {
    background: var(--dn-blue-700);
    transform: translateY(-2px);
    color: #fff !important;
}

.dn-news-date {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    color: var(--text-muted, #80868b);
    font-weight: 500;
}

.dn-news-date .material-icons-outlined {
    font-size: 14px;
}

.dn-news-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dn-news-title a {
    color: var(--dn-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.dn-news-title a:hover {
    color: var(--dn-blue-900);
}

.dn-news-excerpt {
    font-size: 0.88rem;
    color: var(--text-secondary, #5f6368);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dn-news-more {
    text-align: center;
    margin-top: 40px;
}

/* ============================================ */
/* 6. FEATURES / KEUNGGULAN SECTION             */
/* ============================================ */
.dn-features {
    padding: 80px 0;
    background: linear-gradient(180deg, #fff 0%, var(--dn-blue-50) 100%);
}

.dn-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.dn-feature-card {
    position: relative;
    background: #fff;
    border-radius: var(--dn-radius);
    padding: 36px 24px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.dn-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(27, 94, 32, 0.1);
    border-color: var(--dn-blue-100);
}

.dn-feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--dn-blue-900), var(--dn-blue-700));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(27, 94, 32, 0.25);
    transition: all 0.35s ease;
}

.dn-feature-card:hover .dn-feature-icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 10px 30px rgba(27, 94, 32, 0.35);
}

.dn-feature-icon .material-icons-outlined,
.dn-feature-icon .material-symbols-outlined {
    font-size: 32px;
    color: #fff;
}

.dn-feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dn-dark);
    margin: 0 0 10px;
}

.dn-feature-desc {
    font-size: 0.88rem;
    color: var(--text-secondary, #5f6368);
    line-height: 1.65;
    margin: 0;
}

.dn-feature-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg,
            transparent 30%,
            rgba(255, 255, 255, 0.08) 38%,
            rgba(255, 255, 255, 0.15) 40%,
            rgba(255, 255, 255, 0.08) 42%,
            transparent 50%);
    transform: rotate(25deg) translateX(-100%);
    transition: transform 0.7s ease;
    pointer-events: none;
}

.dn-feature-card:hover .dn-feature-shine {
    transform: rotate(25deg) translateX(100%);
}

/* ============================================ */
/* 7. CTA SECTION                               */
/* ============================================ */
.dn-cta {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #002244 0%, #00529c 50%, #0b5da7 100%);
    overflow: hidden;
}

.dn-cta-bg-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 50%, rgba(198, 137, 63, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 90% 50%, rgba(198, 137, 63, 0.08) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath fill-rule='evenodd' d='M0 20L20 0h20v20L20 40H0V20z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.dn-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.dn-cta-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.dn-cta-icon .material-icons-outlined,
.dn-cta-icon .material-symbols-outlined {
    font-size: 34px;
    color: var(--dn-gold);
}

.dn-cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.2;
}

.dn-cta-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
    margin: 0 0 36px;
}

.dn-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================ */
/* HOME WIDGETS WRAPPER                         */
/* ============================================ */
.dn-home-widgets {
    padding: 40px 0;
    background: var(--body-background, #fff);
}

/* ============================================ */
/* RESPONSIVE — BERANDA KAMPUS                  */
/* ============================================ */
@media (max-width: 1024px) {
    .dn-hero-title {
        font-size: 2.4rem;
    }

    .dn-stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .dn-programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dn-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dn-welcome-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .dn-welcome-decor {
        display: none;
    }
}

@media (max-width: 768px) {
    .dn-hero-title {
        font-size: 1.9rem;
    }

    .dn-hero-subtitle {
        font-size: 1rem;
    }

    .dn-hero-badge {
        font-size: 0.75rem;
        padding: 6px 18px;
    }

    .dn-btn {
        padding: 12px 24px;
        font-size: 0.88rem;
    }

    .dn-section-title {
        font-size: 1.6rem;
    }

    .dn-section-desc {
        font-size: 0.95rem;
    }

    .dn-stats {
        margin-top: 0;
        padding: 40px 0 10px 0;
    }

    .dn-stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .dn-stat-card {
        padding: 24px 16px;
    }

    .dn-stat-value {
        font-size: 1.8rem;
    }

    .dn-stat-icon-wrap {
        width: 44px;
        height: 44px;
    }

    .dn-stat-icon-wrap .material-icons-outlined,
    .dn-stat-icon-wrap .material-symbols-outlined {
        font-size: 22px;
    }

    .dn-programs {
        padding: 60px 0;
    }

    .dn-programs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dn-program-card {
        display: flex !important;
        align-items: flex-start !important;
        gap: 16px !important;
        padding: 20px 16px !important;
    }
    
    .dn-program-icon {
        margin-bottom: 0 !important;
        flex-shrink: 0 !important;
        width: 48px !important;
        height: 48px !important;
        border-radius: 12px !important;
    }
    
    .dn-program-icon .material-icons-outlined,
    .dn-program-icon .material-symbols-outlined {
        font-size: 22px !important;
    }

    .dn-program-body {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .dn-program-title {
        font-size: 1.05rem !important;
        margin: 0 0 6px 0 !important;
        text-align: left !important;
    }

    .dn-program-desc {
        font-size: 0.85rem !important;
        margin: 0 0 12px 0 !important;
        text-align: left !important;
    }
    
    .dn-program-info {
        margin-bottom: 0 !important;
    }

    .dn-program-arrow {
        display: none !important;
    }

    .dn-news {
        padding: 60px 0;
    }

    .dn-news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dn-welcome {
        padding: 60px 0;
    }

    .dn-welcome-quote p {
        font-size: 1rem;
    }

    .dn-welcome-more-btn {
        display: none !important;
    }

    .dn-features {
        padding: 60px 0;
    }

    .dn-features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dn-feature-card {
        display: flex !important;
        align-items: flex-start !important;
        gap: 16px !important;
        padding: 20px 16px !important;
        text-align: left !important;
    }
    
    .dn-feature-icon {
        margin: 0 !important;
        flex-shrink: 0 !important;
        width: 48px !important;
        height: 48px !important;
        border-radius: 12px !important;
    }
    
    .dn-feature-icon .material-icons-outlined,
    .dn-feature-icon .material-symbols-outlined {
        font-size: 22px !important;
    }

    .dn-feature-body {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .dn-feature-title {
        font-size: 1.05rem !important;
        margin: 0 0 6px 0 !important;
        text-align: left !important;
    }

    .dn-feature-desc {
        font-size: 0.85rem !important;
        margin: 0 !important;
        text-align: left !important;
    }

    .dn-cta {
        padding: 60px 0;
    }

    .dn-cta-title {
        font-size: 1.6rem;
    }

    .dn-cta-desc {
        font-size: 0.95rem;
    }

    .dn-cta-icon {
        width: 60px;
        height: 60px;
    }

    .dn-cta-icon .material-icons-outlined,
    .dn-cta-icon .material-symbols-outlined {
        font-size: 28px;
    }

    .dn-section-header {
        margin-bottom: 36px;
    }
}

@media (max-width: 480px) {
    .dn-hero-title {
        font-size: 1.55rem;
    }

    .dn-hero-subtitle {
        font-size: 0.92rem;
    }

    .dn-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .dn-hero-actions .dn-btn {
        width: 100%;
        justify-content: center;
    }

    .dn-stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .dn-stat-card {
        padding: 20px 12px;
    }

    .dn-stat-value {
        font-size: 1.5rem;
    }

    .dn-stat-label {
        font-size: 0.72rem;
    }

    .dn-cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .dn-cta-actions .dn-btn {
        width: 100%;
        justify-content: center;
    }

    .dn-news-grid {
        grid-template-columns: 1fr;
    }
}

.dn-program-info {
    display: inline-block;
    padding: 4px 10px;
    background: var(--dn-blue-100);
    color: var(--dn-blue-900);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

/* ============================================ */
/* TOP MENU & SUB MENU                          */
/* ============================================ */
.dn-top-bar {
    background: #001b35;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 0;
}

.dn-top-bar-inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.dn-top-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.dn-top-menu li {
    display: inline-block;
}

.dn-top-menu li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.dn-top-menu li a:hover {
    color: var(--dn-gold, #C6893F);
}

.dn-sub-nav-wrapper {
    background: var(--dn-blue-50, #f1f8fe);
    border-bottom: 1px solid var(--dn-blue-100, #e3f2fd);
    padding: 10px 0;
}

.dn-sub-nav-inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.dn-sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.dn-sub-menu li {
    display: inline-block;
}

.dn-sub-menu li a {
    color: var(--dn-blue-900, #002244);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.dn-sub-menu li a:hover {
    color: var(--dn-blue-700, #1565c0);
}

@media (max-width: 768px) {
    .dn-top-bar {
        display: none;
    }
    .dn-sub-nav-inner {
        overflow-x: auto;
        padding-bottom: 0;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
    .dn-sub-nav-inner::-webkit-scrollbar {
        display: none; /* Chrome, Safari and Opera */
    }
    .dn-sub-menu {
        flex-wrap: nowrap !important;
        gap: 20px;
    }
    .dn-sub-menu li {
        flex-shrink: 0;
    }
    .dn-sub-menu li a {
        white-space: nowrap;
    }
}

/* ============================================ */
/* DAFTAR MITRA (PARTNERS)                      */
/* ============================================ */
.dn-partners {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid var(--dn-blue-100, #e3f2fd);
}

.dn-partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.dn-partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    max-width: 160px;
    height: 60px;
    opacity: 0.65;
    transition: all 0.3s ease;
}

.dn-partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.dn-partner-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.dn-partner-item:hover img {
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .dn-partners {
        padding: 60px 0;
    }
    .dn-partners-grid {
        gap: 24px;
    }
    .dn-partner-item {
        min-width: 100px;
        max-width: 120px;
        height: 50px;
    }
}

/* ============================================ */
/* NEW INFORMASI / 3-COLUMN SECTIONS           */
/* ============================================ */
.dn-info-section {
    padding: 80px 0;
    background: #ffffff;
}

.dn-info-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.dn-info-column {
    display: flex;
    flex-direction: column;
}

.dn-info-column-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 2px solid #eaebed;
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.dn-info-column-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dn-dark, #1A1F16);
    margin: 0;
    line-height: 1.2;
}

.dn-info-column-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dn-blue-700, #1565c0);
    text-decoration: none;
    transition: color 0.2s ease;
}

.dn-info-column-link:hover {
    color: var(--dn-blue-900, #002244);
}

.dn-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dn-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.dn-info-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f8fe;
}

.dn-info-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.dn-info-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dn-info-item:hover .dn-info-thumb img {
    transform: scale(1.05);
}

.dn-info-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
}

.dn-info-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dn-info-item-title a {
    color: var(--dn-dark, #1A1F16);
    text-decoration: none;
    transition: color 0.2s ease;
}

.dn-info-item-title a:hover {
    color: var(--dn-blue-700, #1565c0);
}

.dn-info-item-date {
    font-size: 0.78rem;
    color: #80868b;
    font-weight: 500;
}

.dn-info-empty {
    font-size: 0.9rem;
    color: #80868b;
    font-style: italic;
    margin: 0;
}

@media (max-width: 992px) {
    .dn-info-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .dn-info-section {
        padding: 50px 0;
    }
    .dn-info-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ============================================ */
/* KABAR REKTORAT & AGENDA                      */
/* ============================================ */
.dn-rectorate-agenda {
    padding: 80px 0;
}

.dn-rec-age-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

@media (max-width: 768px) {
    .dn-rectorate-agenda {
        padding: 60px 0;
    }
    .dn-rec-age-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ============================================ */
/* MEGA MENU                                    */
/* ============================================ */
#main-menu > li.mega-menu {
    position: static !important;
}

#main-menu > li.mega-menu > ul {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 30px 40px !important;
    display: grid !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px !important;
    background: #ffffff !important;
    border: 1px solid var(--border-light, #eaebed) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    border-radius: 0 0 12px 12px !important;
    list-style: none !important;
    transition: opacity 0.2s ease, visibility 0.2s ease !important;
}

#main-menu > li.mega-menu:hover > ul {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

#main-menu > li.mega-menu > ul > li {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    position: static !important;
    border: none !important;
}

#main-menu > li.mega-menu > ul > li > a {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: var(--dn-blue-900, #002244) !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
    padding: 0 0 8px 0 !important;
    border-bottom: 2px solid #f0f0f0 !important;
    height: auto !important;
    min-height: auto !important;
    line-height: normal !important;
    pointer-events: auto !important;
    display: block !important;
    text-align: left !important;
}

#main-menu > li.mega-menu > ul > li > a:after {
    display: none !important;
}

#main-menu > li.mega-menu > ul > li > ul {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: inherit !important;
    flex-direction: column !important;
    gap: 8px !important;
    position: static !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-width: 0 !important;
    background: transparent !important;
}

#main-menu > li.mega-menu > ul > li > ul li {
    border: none !important;
    padding: 0 !important;
}

#main-menu > li.mega-menu > ul > li > ul li a {
    padding: 4px 0 !important;
    height: auto !important;
    min-height: auto !important;
    line-height: normal !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    color: var(--text-secondary, #5f6368) !important;
    border: none !important;
    justify-content: flex-start !important;
    transition: all 0.2s ease !important;
    display: block !important;
    text-align: left !important;
}

#main-menu > li.mega-menu > ul > li > ul li a:hover {
    color: var(--primary, #1a73e8) !important;
    background: transparent !important;
    padding-left: 6px !important;
}

/* ==========================================================================
   14. ERROR PAGES (403 & 404) STYLE SYSTEM
   ========================================================================== */
body.error403 {
    background: radial-gradient(circle at center, #f8f9fa 0%, #e9ecef 100%) !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Google Sans', 'Plus Jakarta Sans', sans-serif !important;
    margin: 0 !important;
    padding: 24px !important;
    box-sizing: border-box !important;
}
.error-403-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(234, 67, 53, 0.08);
    max-width: 500px;
    width: 100%;
    padding: 50px 40px;
    text-align: center;
    border: 1px solid rgba(234, 67, 53, 0.08);
    animation: dnFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}
.error-403-icon {
    font-size: 80px;
    color: #ea4335;
    margin-bottom: 16px;
    display: inline-block;
    line-height: 1;
}
.error-403-icon span {
    font-size: 80px !important;
}
.error-403-code {
    font-size: 5rem;
    font-weight: 800;
    color: #ea4335;
    line-height: 1;
    margin: 0 0 16px;
    letter-spacing: -2px;
}
.error-403-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1A1F16;
    margin: 0 0 16px;
}
.error-403-desc {
    font-size: 0.95rem;
    color: #5f6368;
    line-height: 1.6;
    margin: 0 0 36px;
}
.error-403-btn {
    display: inline-block;
    background: #ea4335;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 14px 36px;
    border-radius: 100px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(234, 67, 53, 0.2);
}
.error-403-btn:hover {
    background: #c53026;
    box-shadow: 0 6px 20px rgba(197, 48, 38, 0.3);
    transform: translateY(-2px);
}

body.error404 {
    background: radial-gradient(circle at center, #f8f9fa 0%, #e9ecef 100%) !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Google Sans', 'Plus Jakarta Sans', sans-serif !important;
    margin: 0 !important;
    padding: 24px !important;
    box-sizing: border-box !important;
}
.error-404-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 82, 156, 0.08);
    max-width: 500px;
    width: 100%;
    padding: 50px 40px;
    text-align: center;
    border: 1px solid rgba(0, 82, 156, 0.08);
    animation: dnFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}
.error-404-icon {
    font-size: 80px;
    color: #C6893F;
    margin-bottom: 16px;
    display: inline-block;
    line-height: 1;
}
.error-404-icon span {
    font-size: 80px !important;
}
.error-404-code {
    font-size: 5rem;
    font-weight: 800;
    color: #00529c;
    line-height: 1;
    margin: 0 0 16px;
    letter-spacing: -2px;
}
.error-404-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1A1F16;
    margin: 0 0 16px;
}
.error-404-desc {
    font-size: 0.95rem;
    color: #5f6368;
    line-height: 1.6;
    margin: 0 0 32px;
}
.error-404-search {
    margin-bottom: 32px;
    position: relative;
}
.error-404-search form {
    display: flex;
    background: #f1f8fe;
    border: 1px solid #e3f2fd;
    border-radius: 100px;
    padding: 4px 6px 4px 20px;
    align-items: center;
    transition: all 0.3s ease;
}
.error-404-search form:focus-within {
    border-color: #00529c;
    box-shadow: 0 0 0 3px rgba(0, 82, 156, 0.15);
    background: #fff;
}
.error-404-search input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 0.9rem;
    color: #1A1F16;
    font-family: inherit;
}
.error-404-search button {
    background: #00529c;
    border: none !important;
    outline: none !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
.error-404-search button:hover {
    background: #003d75;
}
.error-404-search button span {
    font-size: 20px !important;
}
.error-404-btn {
    display: inline-block;
    background: #00529c;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 14px 36px;
    border-radius: 100px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 82, 156, 0.2);
}
.error-404-btn:hover {
    background: #C6893F;
    box-shadow: 0 6px 20px rgba(198, 137, 63, 0.3);
    transform: translateY(-2px);
}

.error-403-logo,
.error-404-logo {
    margin-bottom: 24px;
}
.error-403-logo img,
.error-404-logo img {
    max-height: 70px;
    width: auto;
    display: inline-block;
}

/* Agenda Archive Title Clamping */
body.post-type-archive-agenda .idx-title a {
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
}

/* Footer Navigation Social Icons */
.footer-widgets-area .social-icon-link {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 6px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.footer-widgets-area .social-icon-img {
    filter: brightness(0) invert(1) !important;
    transition: opacity 0.2s ease, transform 0.2s ease;
    width: 20px;
    height: 20px;
}

.footer-widgets-area .social-icon-link:hover .social-icon-img {
    opacity: 0.7 !important;
    transform: translateY(-2px);
}

.desktop-home-img-icon {
    width: 19px !important;
    height: 19px !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    display: block !important;
}

/* ============================================ */
/* COOKIE CONSENT BANNER                        */
/* ============================================ */
.dn-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 15px 0;
}

.dn-cookie-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dn-cookie-icon {
    color: var(--dn-blue-600);
}

.dn-cookie-icon span {
    font-size: 32px;
}

.dn-cookie-text {
    flex-grow: 1;
}

.dn-cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--dn-dark);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .dn-cookie-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* ============================================ */
/* ACCESSIBILITY WIDGET                         */
/* ============================================ */
.dn-a11y-widget {
    position: fixed;
    bottom: 25px;
    z-index: 9998;
}
.dn-a11y-widget.pos-right { right: 25px; }
.dn-a11y-widget.pos-left { left: 25px; }

@media (max-width: 768px) {
    .dn-a11y-widget.pos-right { right: 15px; bottom: 15px; }
    .dn-a11y-widget.pos-left { left: 15px; bottom: 15px; }
}

body.has-a11y-pos-right .scroll-top {
    bottom: 85px !important;
}
@media (max-width: 768px) {
    body.has-a11y-pos-right .scroll-top,
    body.has-a11y-pos-right .scroll-top.show {
        bottom: 75px !important;
    }
}

.dn-a11y-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dn-blue-600);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}
.dn-a11y-btn:hover {
    transform: scale(1.1);
}

.dn-a11y-panel {
    position: absolute;
    bottom: 60px;
    background: #fff;
    width: 300px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}
.dn-a11y-widget.pos-right .dn-a11y-panel { right: 0; }
.dn-a11y-widget.pos-left .dn-a11y-panel { left: 0; }
.dn-a11y-panel.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dn-a11y-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}
.dn-a11y-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dn-dark);
}
.dn-a11y-header button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dn-gray-600);
}

.dn-a11y-body {
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.dn-a11y-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--dn-dark);
    text-align: left;
    transition: background 0.2s;
}
.dn-a11y-action:hover { background: #e9ecef; }
.dn-a11y-action.active {
    background: var(--dn-blue-600);
    color: #fff;
    border-color: var(--dn-blue-600);
}
.dn-a11y-action.active .material-icons-outlined { color: #fff; }
.dn-a11y-action .material-icons-outlined { color: var(--dn-blue-600); }

.dn-a11y-reset-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    margin-top: 10px;
    background: none;
    border: 1px solid #ff4d4f;
    color: #ff4d4f;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
}
.dn-a11y-reset-btn:hover {
    background: #fff1f0;
}

/* Accessibility Body Classes */
body.a11y-high-contrast {
    background: #000 !important;
    color: #fff !important;
}
body.a11y-high-contrast * {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
}

body.a11y-dark-mode::before,
body.a11y-grayscale::after {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 9997;
}
body.a11y-dark-mode::before {
    backdrop-filter: invert(1) hue-rotate(180deg);
}
body.a11y-grayscale::after {
    backdrop-filter: grayscale(100%);
}
body.a11y-highlight-links a {
    text-decoration: underline !important;
    background: #ff0 !important;
    color: #000 !important;
}
body.a11y-readable-font * {
    font-family: Arial, Helvetica, sans-serif !important;
}