/* DESKTOP STYLES - LAYAR >= 1024PX */

.top-bar-desktop {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-gray-border);
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-date {
    font-size: 13px;
    color: #666;
}

.top-bar-social a {
    margin-left: 15px;
    color: #666;
    font-size: 16px;
}

.top-bar-social a:hover {
    color: var(--color-primary);
}

.main-navigation-desktop {

    padding: 15px 0;
    position: relative;
    z-index: 100;
    transition: all 0.3s ease;
}

.main-navigation-desktop.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.menu-primary-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.menu-primary-container ul li {
    margin: 0;
}

.menu-primary-container ul li a {
    font-size: 13.5px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--color-text);
    text-transform: uppercase;
}

.menu-primary-container ul li a:hover {
    color: var(--color-primary);
}

.breaking-news-wrapper {
    background-color: #a30000;
    color: #fff;
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.breaking-label {
    background: #000;
    padding: 4px 10px;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    margin-right: 15px;
    white-space: nowrap;
}

.breaking-marquee {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.breaking-marquee ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-block;
    animation: marquee 25s linear infinite;
}

.breaking-marquee ul li {
    display: inline-block;
    margin-right: 50px;
}

.breaking-marquee ul li a {
    color: #fff;
}

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

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

.home-grid {
    max-width: 100%;
    margin: 15px 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 336px;
    justify-content: space-between;
    gap: 25px;
}

.home-content {
    /* Normal scrolling behavior */
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.featured-main {
    grid-column: span 2;
}

.featured-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: #fff;
}

.featured-overlay h2 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 5px;
}

.featured-main .featured-overlay h2 {
    font-size: 26px;
}

.cat-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--color-primary);
    color: #fff;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.news-card-horizontal {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-gray-border);
    padding-bottom: 20px;
}

.news-card-thumb {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.news-card-content .meta {
    font-size: 12px;
    color: #999;
}

.sidebar-desktop {
    width: 336px;
}

.widget {
    margin-bottom: 30px;
    background: transparent;
    padding: 20px;
    border: none;
}

.widget-title {
    font-size: 18px;
    border: none;
    padding-bottom: 10px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.site-footer {
    background-color: var(--color-footer-bg);
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.site-info {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 13px;
    color: #999;
}
/* UNGGULAN WIDGET */
.unggulan-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}
.unggulan-card {
    display: flex;
    flex-direction: column;
}
.unggulan-thumb-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    background: #ccc;
}
.unggulan-img, .unggulan-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.unggulan-title {
    font-family: var(--font-primary, Arial, sans-serif);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: #333;
    margin: 0;
    transition: color 0.2s ease;
}
.unggulan-link {
    text-decoration: none;
}
.unggulan-link:hover .unggulan-title {
    color: red;
}
