/* SW60+ Custom Styling */

:root {
    --sw60-gold: #C9A227;
    --sw60-dark: #1a1a1a;
    --sw60-light: #f8f8f8;
}


/* Color Classes */
.text-gold {
    color: var(--sw60-gold) !important;
}

.bg-gold {
    background-color: var(--sw60-gold) !important;
}

.badge-gold {
    background-color: var(--sw60-gold);
    color: #000;
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.75rem;
    text-transform: uppercase;
    display: inline-block;
}

/* Featured Article Section */
.featured-article {
    transition: all 0.3s ease;
}

.featured-article:hover {
    transform: translateY(-2px);
}

.featured-article h3 {
    font-weight: 700;
    line-height: 1.3;
}

.featured-article h3 a {
    transition: color 0.3s ease;
}

.featured-article h3 a:hover {
    color: var(--sw60-gold) !important;
}

/* Grid Articles */
.grid-articles {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.grid-articles figure {
    margin: 0;
    overflow: hidden;
    border-radius: 0;
}

.grid-articles figure img {
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;
}

.grid-articles div:hover figure img {
    transform: scale(1.05);
}

.grid-articles h5 {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0.5rem 0;
}

.grid-articles h5 a {
    transition: color 0.3s ease;
}

.grid-articles h5 a:hover {
    color: var(--sw60-gold) !important;
}

.grid-articles hr {
    margin: 0.75rem 0;
    border: none;
    border-top: 1px solid #e0e0e0;
}

/* Sidebar Featured */
.sidebar-featured {
    background: #fff;
}

.featured-item {
    display: flex;
    flex-direction: column;
}

.featured-item h5 {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.4;
}

.featured-item h5 a {
    transition: color 0.3s ease;
}

.featured-item h5 a:hover {
    color: var(--sw60-gold) !important;
}

/* Main Content Area */
.sw60-home-content {
    background-color: #fff;
    padding: 40px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .featured-article,
    .grid-articles,
    .sidebar-featured {
        margin-bottom: 2rem;
    }

    .sw60-home-content {
        padding: 20px 0;
    }
}

/* Index Articles Section */
.row.g-5 {
    gap: 2rem;
}

/* ============================================
   Global 5% Layout — applies to all landing
   page sections consistently
   ============================================ */
.sw60-navbar .container-lg,
.sw60-footer .container-lg,
.sw60-category-section .container {
    width: 100%;
    max-width: 100% !important;
    padding-left: 5% !important;
    padding-right: 5% !important;
}

/* Header Styling - from header partial */
@import url('https://rsms.me/inter/inter.css');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&display=swap');

.sw60-navbar {
    background-color: #fff !important;
    border-bottom: 1px solid #f0f0f0;
    padding: 0 !important;
    height: 170px !important;
    display: flex;
    align-items: center;
}

.sw60-navbar-brand {
    flex-shrink: 0;
    margin-right: 2rem !important;
}

.navbar-toggler {
    border: 2px solid var(--sw60-gold) !important;
    padding: 0.35rem 0.6rem !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23C9A227' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 1.5rem;
    height: 1.5rem;
}

.sw60-logo {
    height: 100px !important;
    width: auto;
    object-fit: contain;
}

/* ============================================================
   Mobile Drawer Navigation
   ============================================================ */

/* Backdrop */
.sw60-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.28s ease;
}
.sw60-nav-backdrop.show {
    display: block;
    opacity: 1;
}

/* Cegah scroll body saat drawer terbuka */
body.sw60-nav-open {
    overflow: hidden;
}

@media (max-width: 992px) {
    .sw60-navbar {
        height: auto;
        padding: 0.75rem 0 !important;
    }

    .sw60-logo {
        height: 40px;
        width: auto;
    }

    .sw60-navbar-brand {
        margin-right: 1rem !important;
    }

    /* ---- Drawer panel ---- */
    .navbar-collapse {
        position: fixed !important;
        top: 0;
        right: 0;
        width: 280px;
        max-width: 82vw;
        height: 100vh !important;
        max-height: 100vh !important;
        background: #fff;
        z-index: 9999;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 0;
        margin: 0 !important;
        border-top: none !important;
        box-shadow: -6px 0 24px rgba(0,0,0,0.12);
        transform: translateX(110%);
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0.28s;
        display: block !important;
        visibility: hidden;
        pointer-events: none;
    }

    /* drawer terbuka — dikelola custom JS via class sw60-open */
    .navbar-collapse.sw60-open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    /* Jaga-jaga: jika Bootstrap sempat menambah .show atau .collapsing,
       pastikan drawer tetap terlihat dan bisa diklik */
    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        transform: translateX(0) !important;
        visibility: visible !important;
        height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        pointer-events: auto !important;
        transition: none !important;
    }

    /* ---- Drawer header (logo + close) ---- */
    .sw60-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #efefef;
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 2;
    }

    .sw60-drawer-logo-img {
        height: 30px;
        width: auto;
    }

    .sw60-drawer-close {
        background: none;
        border: none;
        font-size: 1.5rem;
        line-height: 1;
        color: #777;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        transition: background 0.15s, color 0.15s;
    }
    .sw60-drawer-close:hover {
        background: #f0f0f0;
        color: #111;
    }

    /* ---- Drawer search ---- */
    .sw60-drawer-search {
        padding: 0.65rem 1rem;
        border-bottom: 1px solid #efefef;
    }

    .sw60-drawer-search-form {
        display: flex;
        border: 1.5px solid #e0e0e0;
        border-radius: 6px;
        overflow: hidden;
    }

    .sw60-drawer-search-input {
        flex: 1;
        border: none;
        outline: none;
        padding: 0.45rem 0.75rem;
        font-size: 0.85rem;
        font-family: 'Inter', sans-serif;
        background: #fafafa;
    }

    .sw60-drawer-search-btn {
        background: var(--sw60-gold);
        border: none;
        color: #fff;
        padding: 0 0.75rem;
        cursor: pointer;
        font-size: 0.85rem;
        transition: opacity 0.2s;
    }
    .sw60-drawer-search-btn:hover {
        opacity: 0.85;
    }

    /* ---- Drawer nav items ---- */
    .sw60-drawer-nav {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        padding: 0.25rem 0 1.5rem;
    }

    .sw60-drawer-nav .nav_item,
    .sw60-drawer-nav .nav-item {
        width: 100%;
        border-bottom: 1px solid #f2f2f2;
    }

    .sw60-drawer-nav .nav-link,
    .sw60-drawer-nav .sw60-nav-link,
    .sw60-drawer-nav .nav__item-link {
        display: flex !important;
        align-items: center;
        padding: 0.6rem 1rem !important;
        font-size: 0.875rem !important;
        font-weight: 500;
        color: #222 !important;
        text-decoration: none;
        transition: background 0.12s, color 0.12s;
        min-height: 42px;
        letter-spacing: 0.01em;
    }

    .sw60-drawer-nav .nav-link:hover,
    .sw60-drawer-nav .sw60-nav-link:hover,
    .sw60-drawer-nav .nav__item-link:hover,
    .sw60-drawer-nav .nav-link:active,
    .sw60-drawer-nav .sw60-nav-link:active,
    .sw60-drawer-nav .nav__item-link:active {
        background: #fdf8ec;
        color: var(--sw60-gold) !important;
    }

    /* Dropdown submenu di mobile */
    .sw60-drawer-nav .dropdown-menu {
        position: static !important;
        float: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: #f8f8f8;
        padding: 0;
        margin: 0;
        display: none;
    }
    .sw60-drawer-nav .dropdown-menu.show {
        display: block;
    }

    .sw60-drawer-nav .dropdown-menu .nav-link,
    .sw60-drawer-nav .dropdown-menu .dropdown-item {
        padding: 0.5rem 1rem 0.5rem 1.75rem !important;
        font-size: 0.825rem !important;
        font-weight: 400;
        color: #444 !important;
        min-height: 38px;
        display: flex !important;
        align-items: center;
        background: transparent;
        white-space: normal;
        border-radius: 0;
    }

    .sw60-drawer-nav .dropdown-menu .nav-link:hover,
    .sw60-drawer-nav .dropdown-menu .dropdown-item:hover {
        background: #fdf8ec !important;
        color: var(--sw60-gold) !important;
    }

    /* Dropdown toggle arrow di mobile */
    .sw60-drawer-nav .dropdown-toggle::after {
        margin-left: auto;
        flex-shrink: 0;
        transition: transform 0.2s;
    }
    .sw60-drawer-nav .dropdown.open > .dropdown-toggle::after,
    .sw60-drawer-nav li.open > .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    /* Sembunyikan desktop search di mobile drawer */
    .sw60-drawer-nav .d-none.d-lg-flex {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .sw60-navbar {
        height: auto;
        padding: 0.6rem 0 !important;
    }

    .sw60-logo {
        height: 32px;
        width: auto;
    }

    .sw60-navbar-brand {
        margin-right: 0.75rem !important;
    }

    .navbar-nav {
        gap: 0.5rem !important;
    }

    .sw60-nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0 !important;
        color: var(--sw60-gold) !important;
    }

    .nav-item .sw60-nav-link {
        color: var(--sw60-gold) !important;
    }

    .navbar-expand-lg .navbar-collapse .nav-link,
    .navbar-expand-lg .navbar-collapse .nav-link.active,
    .navbar-expand-lg .navbar-collapse .nav-link:focus,
    .navbar-expand-lg .navbar-collapse .nav-link:hover,
    .navbar-expand-lg .navbar-collapse .show > .nav-link {
        color: var(--sw60-gold) !important;
    }

    .sw60-search-form {
        width: 150px;
        height: 24px;
        margin-top: 0.5rem;
    }

    .sw60-search-input {
        padding: 0.3rem 0.5rem !important;
        font-size: 0.75rem;
    }

    .sw60-search-btn i {
        font-size: 0.8rem;
    }
}

.sw60-nav-link {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    color: var(--sw60-gold) !important;
    padding: 0 !important;
}

.sw60-nav-link:hover {
    color: var(--sw60-dark) !important;
}

/* Category dropdown in nav */
.sw60-category-dropdown {
    min-width: 200px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    padding: 4px 0;
}

.sw60-category-item {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--sw60-dark) !important;
    padding: 8px 16px;
    transition: background 0.2s, color 0.2s;
}

.sw60-category-item:hover {
    background-color: var(--sw60-gold);
    color: #fff !important;
}

/* Author link (avatar + name clickable) */
.nd-author-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}
.nd-author-link:hover {
    opacity: 0.75;
    color: var(--sw60-gold);
}

/* Author page hero */
.author-hero {
    background: #f8f8f6;
    border-bottom: 1px solid #e5e5e5;
    padding: 40px 0 32px;
}
.author-hero-inner {
    display: flex;
    align-items: center;
    gap: 24px;
}
.author-hero-avatar-img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--sw60-gold);
    flex-shrink: 0;
}
.author-hero-avatar-initials {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--sw60-gold);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.05em;
}
.author-hero-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sw60-dark);
    margin: 0 0 6px;
}
.author-hero-posisi {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--sw60-gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 6px;
}
.author-hero-desc {
    font-size: 16px !important;
    font-family: 'Roboto', sans-serif;
    color: #555;
    margin: 0 0 10px;
    max-width: 70%;
    line-height: 1.6;
}
.author-hero-count {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Search input styling */
.sw60-search-form {
    width: 213px;
    height: 28px;
    gap: 0;
    display: flex;
    align-items: center;
    border: 1px solid var(--sw60-gold);
    border-radius: 4px;
    padding: 0;
    background-color: #fff;
}

.sw60-search-input {
    border: none !important;
    border-radius: 0;
    padding: 0.4rem 0.75rem !important;
    font-size: 0.875rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: transparent;
    flex: 1;
    height: 100%;
}

.sw60-search-input:focus {
    border: none !important;
    box-shadow: none !important;
    outline: none;
}

.sw60-search-btn {
    padding: 0 0.5rem !important;
    text-decoration: none;
    border: none;
    background: transparent;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sw60-search-btn i {
    font-size: 0.9rem;
}

/* Footer Styling */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600&display=swap');

.sw60-footer {
    background-color: #f8f8f8;
    border-top: 1px solid #e0e0e0;
    padding: 2rem 0 !important;
}

.sw60-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.sw60-footer-brand {
    flex: 0 0 65%;
    max-width: none;
}

.sw60-footer-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--sw60-dark);
    margin-bottom: 0.5rem;
}

.sw60-footer-tagline {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px !important;
    font-weight: 500;
    color: #999;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.sw60-footer-social {
    display: flex;
    gap: 1rem;
}

.sw60-footer-image {
    height: 44px !important;
    width: auto !important;
    margin-left: -5px !important;
}

.sw60-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 50%;
    color: var(--sw60-dark);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sw60-social-link:hover {
    border-color: var(--sw60-gold);
    color: var(--sw60-gold);
    background-color: #fff;
}

.sw60-footer-nav {
    flex: 0 0 35%;
    display: flex;
    justify-content: flex-start;
    gap: 0.75rem;
}

.sw60-footer-column {
    flex: 0 0 130px;
    width: 130px;
}

.sw60-footer-heading {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--sw60-dark);
    margin-bottom: 1.5rem;
}

.sw60-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sw60-footer-links li {
    margin-bottom: 0.75rem;
}

.sw60-footer-links a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px !important;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sw60-footer-links a:hover {
    color: var(--sw60-gold);
}

@media (max-width: 768px) {
    .sw60-footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .sw60-footer-nav {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Progress Wrap */
.progress-wrap svg.progress-circle path {
    stroke: var(--sw60-gold) !important;
}

/* Utility Classes */
.font-gold {
    color: var(--sw60-gold);
}

.border-gold {
    border-color: var(--sw60-gold);
}

/* General Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Button Styling */
.btn {
    font-weight: 600;
    border-radius: 4px;
}

.btn-primary {
    background-color: var(--sw60-gold);
    border-color: var(--sw60-gold);
    color: #000;
}

.btn-primary:hover {
    background-color: #c9956a;
    border-color: #c9956a;
    color: #000;
}

/* Card & Content */
.card {
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Badge */
.badge {
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
}

/* Image styling */
img {
    max-width: 100%;
    height: auto;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Spacing utilities */
.py-10 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-12 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.mt-8 {
    margin-top: 3rem;
}

.mt-10 {
    margin-top: 3.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.pb-4 {
    padding-bottom: 1rem;
}

.pb-6 {
    padding-bottom: 1.5rem;
}

.progress-wrap::after {
    color:#C9A227 !important;
}

/* Hero Banner Section */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&display=swap');

.sw60-hero-banner {
    background-color: #111;
    position: relative;
    width: 100%;
}

.logo-img {
    height: 80px;
    width: auto;
    flex-shrink: 0;
}

.script-text {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
    font-style: italic;
    letter-spacing: -1px;
    color: #fff;
}

.hero-wrapper {
    width: 100%;
}

/* Hero Carousel Full Version */
.hero-carousel-full {
    position: relative;
    width: 100%;
}

.hero-carousel-full .carousel-inner {
    position: relative;
}

.hero-carousel-full .carousel-item {
    display: none;
    position: relative;
    min-height: 520px;
    overflow: hidden;
}

.hero-carousel-full .carousel-item.active {
    display: block;
}

/* Full-background layout */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 35%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(0.75) grayscale(15%);
    z-index: 0;
}

.hero-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.hero-text-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    max-width: 600px;
}

.hero-brand-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
}

.hero-carousel-full .carousel-control-prev,
.hero-carousel-full .carousel-control-next {
    width: auto;
    height: auto;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    padding: 12px 15px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease;
    z-index: 10;
}

.hero-carousel-full:hover .carousel-control-prev,
.hero-carousel-full:hover .carousel-control-next {
    opacity: 1;
}

.hero-carousel-full .carousel-control-prev:hover,
.hero-carousel-full .carousel-control-next:hover {
    background: rgba(201, 162, 39, 0.8);
}

.hero-description {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 460px;
}

.hero-description p {
    margin: 0;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-gold {
    background-color: var(--sw60-gold);
    color: #000;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--sw60-gold);
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--sw60-gold);
    text-decoration: none;
}

.btn-gold-outline {
    background-color: transparent;
    color: var(--sw60-gold);
    padding: 12px 30px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--sw60-gold);
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-gold-outline:hover {
    background-color: var(--sw60-gold);
    color: #000;
    text-decoration: none;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Category Section */
.sw60-category-section {
    background-color: #fff;
    padding: 60px 0;
}

.category-card {
    padding: 20px 0;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.category-subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.category-subtitle a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-subtitle a:hover {
    color: var(--sw60-gold);
}

.category-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-items hr {
    margin: 10px 0;
    border: none;
    border-top: 1px solid #e0e0e0;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-carousel-full .carousel-item {
        min-height: 460px;
    }

    .hero-text-side {
        max-width: 100%;
    }

    .hero-brand-row {
        flex-wrap: wrap;
        gap: 16px;
        margin-bottom: 20px;
    }

    .script-text {
        font-size: 2.4rem;
    }

    .sw60-category-section {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .hero-carousel-full .carousel-item {
        min-height: 400px;
    }

    .hero-content-wrapper {
        padding: 0 6%;
    }

    .script-text {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .logo-img {
        height: 60px;
    }

    .btn-gold,
    .btn-gold-outline {
        font-size: 0.85rem;
        padding: 10px 18px;
    }

    .sw60-category-section {
        padding: 32px 0;
    }

    .category-card {
        padding: 15px 0;
    }

    .category-title {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }

    .category-subtitle {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .hero-carousel-full .carousel-item {
        min-height: 340px;
    }

    .hero-content-wrapper {
        padding: 0 5%;
    }

    .hero-brand-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .script-text {
        font-size: 1.65rem;
    }

    .hero-description {
        font-size: 0.875rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn-gold,
    .btn-gold-outline {
        width: 100%;
        text-align: center;
        font-size: 0.85rem;
        padding: 10px 16px;
    }

    .logo-img {
        height: 50px;
    }

    .sw60-category-section {
        padding: 28px 0;
    }

    .category-card {
        padding: 12px 0;
        margin-bottom: 16px;
    }

    .row.g-4 {
        row-gap: 1.5rem;
    }
}

/* ============================================
   Kanal Page Layout
   ============================================ */
.kanal-two-col {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.kanal-col-left-lg {
    flex: 0 0 40%;
    max-width: 40%;
    min-width: 0;
}

.kanal-col-right-sm {
    flex: 1 1 0;
    min-width: 0;
}

.kanal-terbaru-grid {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.kanal-list-col {
    flex: 0 0 62%;
    max-width: 62%;
    min-width: 0;
}

.kanal-cat-col {
    flex: 1 1 0;
    min-width: 0;
}

.kanal-featured-img {
    width: 100%;
    height: 360px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.kanal-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kanal-article-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.kanal-article-thumb-sm {
    flex: 0 0 38%;
    width: 38%;
    height: auto;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.kanal-article-thumb-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right column: horizontal layout (image left, meta right) */
.kanal-col-right-sm .kanal-article-row {
    flex-direction: row;
    align-items: stretch;
    gap: 14px;
}

.kanal-col-right-sm .kanal-article-thumb-sm {
    flex: 0 0 38%;
    width: 38%;
    height: auto;
    aspect-ratio: 4 / 3;
    align-self: stretch;
}

.kanal-col-right-sm .kanal-article-thumb-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kanal-article-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px !important;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.kanal-article-thumb-md {
    flex: 0 0 150px;
    width: 150px;
    height: 105px;
    overflow: hidden;
}

.kanal-article-thumb-md img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kanal-article-meta {
    flex: 1;
    min-width: 0;
}

.kanal-author-avatar-sm {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.kanal-author-avatar-md {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.kanal-author-avatar-list {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Author avatar: photo or initials */
.author-avatar-img {
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: inline-block;
}

/* Initials avatar (fallback when no photo) */
.author-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--sw60-gold);
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
    text-transform: uppercase;
    line-height: 1;
}

.author-avatar-sm {
    width: 26px;
    height: 26px;
    font-size: 0.62rem;
}

.author-avatar-md {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
}

.author-avatar-lg {
    width: 60px;
    height: 60px;
    font-size: 1rem;
}

.author-avatar-list {
    width: 35px;
    height: 35px;
    font-size: 0.72rem;
}

.kanal-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 1.1rem 0;
}

.kanal-divider-list {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 30px 0 !important;
}

.kanal-section-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.kanal-sidebar-label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.kanal-sidebar-link {
    font-weight: 700;
    font-size: 0.88rem;
    line-height: 1.45;
}

.news-excerpt {
    font-size: 16px !important;
    font-family: 'Roboto',  sans-serif;
    color: #000000 !important;
    line-height: 1.5;
}

.news-author-name {
    font-size:18px !important;
    font-family: 'Roboto',  sans-serif;
    color: #888888 !important;
}

@media (max-width: 768px) {
    /* Sembunyikan sticky header clone di mobile */
    .navbar-clone.fixed {
        display: none !important;
    }

    .kanal-two-col,
    .kanal-terbaru-grid {
        flex-direction: column;
    }

    .kanal-col-left-lg,
    .kanal-col-right-sm,
    .kanal-list-col,
    .kanal-cat-col {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .kanal-featured-img {
        height: 220px;
    }

    /* Perbaiki article row pada kolom kanan - thumbnail responsif */
    .kanal-col-right-sm .kanal-article-row {
        gap: 10px;
        align-items: flex-start;
    }

    .kanal-col-right-sm .kanal-article-thumb-sm,
    .kanal-article-thumb-sm {
        flex: 0 0 120px;
        width: 120px;
        height: 88px;
        aspect-ratio: unset;
    }

    /* Perkecil font judul artikel di mobile */
    .kanal-article-title {
        font-size: 1rem !important;
        line-height: 1.4;
        margin-bottom: 6px;
    }

    .news-author-name {
        font-size: 13px !important;
    }

    .news-excerpt {
        font-size: 14px !important;
    }

    /* Avatar responsif di mobile */
    .author-hero-avatar-img,
    .author-hero-avatar-initials {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }

    .author-hero-name {
        font-size: 1.3rem;
    }

    .author-avatar-lg,
    .author-avatar-img.author-avatar-lg {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .author-avatar-list,
    .author-avatar-img.author-avatar-list {
        width: 26px;
        height: 26px;
        font-size: 0.62rem;
    }

    .nd-avatar-md,
    .nd-avatar-img.nd-avatar-md {
        width: 30px;
        height: 30px;
        font-size: 0.72rem;
    }
}

@media (max-width: 480px) {
    .kanal-col-right-sm .kanal-article-thumb-sm,
    .kanal-article-thumb-sm {
        flex: 0 0 95px;
        width: 95px;
        height: 72px;
        aspect-ratio: unset;
    }

    .kanal-article-title {
        font-size: 0.9rem !important;
    }
}

/* ============================================
   Search Results Page
   ============================================ */
.sw60-search-bar {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.65rem 0;
}

.sw60-search-bar-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.sw60-search-bar-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sw60-channel-select {
    appearance: none;
    -webkit-appearance: none;
    background: #f0f0f0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23555'/%3E%3C/svg%3E") no-repeat right 0.6rem center;
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 0.35rem 1.8rem 0.35rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

.sw60-channel-select:focus {
    border-color: var(--sw60-gold);
}

.sw60-keyword-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--sw60-gold);
    border-radius: 2px;
    padding: 0.3rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #000;
}

.sw60-keyword-chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    background: rgba(0,0,0,0.15);
    border-radius: 50%;
    color: #000;
    text-decoration: none;
    font-size: 0.7rem;
    line-height: 1;
    font-weight: 800;
    flex-shrink: 0;
}

.sw60-keyword-chip-remove:hover {
    background: rgba(0,0,0,0.3);
    color: #000;
    text-decoration: none;
}

.sw60-search-bar-right {
    display: flex;
    align-items: center;
    border: 1px solid var(--sw60-gold);
    border-radius: 2px;
    overflow: hidden;
    background: #fff;
}

.sw60-search-bar-input {
    border: none;
    outline: none;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    width: 220px;
    background: transparent;
}

.sw60-search-bar-btn {
    background: var(--sw60-gold);
    border: none;
    padding: 0.35rem 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 0.85rem;
}

.sw60-search-bar-btn:hover {
    background: #b8911f;
}

.sw60-result-count {
    font-size: 0.88rem;
    color: #555;
    margin-bottom: 1.5rem;
    padding-top: 0.25rem;
}

.sw60-result-count strong {
    color: var(--sw60-dark);
}

.sw60-search-result-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.1rem;
}

.sw60-search-thumb {
    flex: 0 0 150px;
    width: 150px;
    height: 105px;
    overflow: hidden;
}

.sw60-search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sw60-search-meta {
    flex: 1;
    min-width: 0;
}

.sw60-search-category {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sw60-gold);
    margin-bottom: 0.3rem;
}

.sw60-search-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.4rem;
}

.sw60-search-title a {
    color: var(--sw60-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.sw60-search-title a:hover {
    color: var(--sw60-gold);
}

.sw60-search-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sw60-search-author-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.sw60-search-author-placeholder {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e0e0e0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.65rem;
    color: #888;
    font-weight: 600;
}

.sw60-search-divider {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 0 0 1.1rem 0;
}

.sw60-search-empty {
    text-align: center;
    padding: 3rem 0;
    color: #888;
}

.sw60-search-empty i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    color: #ccc;
}

/* Pagination override for landing pages */
.sw60-pagination .pagination {
    gap: 0.2rem;
}

.sw60-pagination .page-link {
    border-radius: 2px !important;
    border-color: #e0e0e0;
    color: var(--sw60-dark);
    font-size: 0.85rem;
    padding: 0.4rem 0.7rem;
}

.sw60-pagination .page-item.active .page-link {
    background-color: var(--sw60-gold);
    border-color: var(--sw60-gold);
    color: #000;
}

.sw60-pagination .page-link:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
    color: var(--sw60-dark);
}

@media (max-width: 768px) {
    .sw60-search-bar-form {
        flex-direction: column;
        align-items: flex-start;
    }

    .sw60-search-bar-right {
        width: 100%;
    }

    .sw60-search-bar-input {
        width: 100%;
        flex: 1;
    }

    .sw60-search-thumb {
        flex: 0 0 110px;
        width: 110px;
        height: 80px;
    }
}
/* ============================================
   News Detail Page
   ============================================ */
.nd-section {
    padding: 52px 0 88px;
    background: #fff;
}

.nd-layout {
    display: flex;
    gap: 3.5rem;
    align-items: flex-start;
}

/* ---- Main Article ---- */
.nd-main {
    flex: 1 1 0;
    min-width: 0;
}

.nd-category {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sw60-gold);
    margin-bottom: 14px;
}

.nd-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #111;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

.nd-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.875rem;
    color: #555;
}

.nd-meta-dot {
    color: #ccc;
}

.nd-views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #888;
    font-size: 0.85rem;
}

/* Author avatars */
.nd-avatar,
.nd-avatar-img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    object-fit: cover;
}

.nd-avatar {
    background-color: var(--sw60-gold);
    color: #fff;
}

.nd-avatar-xs  { width: 24px; height: 24px; font-size: 0.58rem; }
.nd-avatar-sm  { width: 28px; height: 28px; font-size: 0.65rem; }
.nd-avatar-md  { width: 40px; height: 40px; font-size: 0.88rem; }

/* Featured image */
.nd-featured-image {
    width: 100%;
    max-height: 460px;
    overflow: hidden;
    margin-bottom: 36px;
}

.nd-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Article body */
.nd-content {
    font-size: 16px !important;
    font-family: 'Roboto', sans-serif;
    line-height: 1.85;
    color: #2a2a2a;
}

.nd-content p   { margin-bottom: 1.3rem; }
.nd-content img { max-width: 100%; height: auto; border-radius: 2px; }
.nd-content h2,
.nd-content h3  { font-family: 'Playfair Display', serif; margin: 2rem 0 1rem; }

/* Drop cap — first letter of first paragraph */
.nd-content > p:first-of-type::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 800;
    line-height: 0.82;
    float: left;
    margin-right: 10px;
    margin-top: 6px;
    color: #111;
}

/* Tags */
.nd-tags {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
    font-size: 0.85rem;
    color: #555;
}

.nd-tags-label {
    font-weight: 700;
    margin-right: 8px;
}

.nd-tags a {
    display: inline-block;
    background: #f2f2f2;
    color: #444;
    padding: 3px 10px;
    border-radius: 2px;
    margin: 3px 4px 3px 0;
    font-size: 0.8rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.nd-tags a:hover {
    background: var(--sw60-gold);
    color: #fff;
}

/* Prev / Next nav */
.nd-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 2px solid #e8e8e8;
}

.nd-nav-prev,
.nd-nav-next {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    color: #1a1a1a;
    max-width: 46%;
    transition: color 0.2s;
}

.nd-nav-prev:hover,
.nd-nav-next:hover { color: var(--sw60-gold); }

.nd-nav-arrow {
    font-size: 1.4rem;
    color: var(--sw60-gold);
    flex-shrink: 0;
    margin-top: 4px;
}

.nd-nav-text {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
}

.nd-nav-text small {
    font-size: 0.72rem;
    font-weight: 400;
    color: #888;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ---- Sidebar ---- */
.nd-sidebar {
    flex: 0 0 300px;
    width: 300px;
    position: sticky;
    top: 24px;
}

.nd-sidebar-block {
    margin-bottom: 2rem;
}

.nd-sidebar-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sw60-gold);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sw60-gold);
}

.nd-related-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
}

.nd-related-thumb {
    flex: 0 0 96px;
    width: 96px;
    height: 68px;
    overflow: hidden;
    border-radius: 2px;
}

.nd-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nd-related-meta {
    flex: 1;
    min-width: 0;
}

.nd-related-category {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sw60-gold);
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.nd-related-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 6px;
}

.nd-related-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s;
}

.nd-related-title a:hover { color: var(--sw60-gold); }

.nd-related-author {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #777;
}

.nd-sidebar-divider {
    border: none;
    border-top: 1px solid #ebebeb;
    margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .nd-layout {
        flex-direction: column;
        gap: 2.5rem;
    }

    .nd-sidebar {
        flex: none;
        width: 100%;
        position: static;
    }

    .nd-title { font-size: 2rem; }
}

@media (max-width: 576px) {
    .nd-section  { padding: 32px 0 60px; }
    .nd-title    { font-size: 1.6rem; }
    .nd-featured-image { max-height: 240px; }
    .nd-nav      { flex-direction: column; gap: 1.5rem; }
    .nd-nav-prev,
    .nd-nav-next { max-width: 100%; }
}
