:root {
    --primary-color: #159bd7;
    --secondary-color: #2c7da3;
    --neutral-light: #f5e1a4;
    --neutral-dark: #333333;
    --background-color: #ffffff;
}
body {
    background-color: #f6f6f6;
    font-family: "Poppins", sans-serif;
}
.nav-bottom {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: white;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
}

.nav-bottom div {
    text-align: center;
    font-size: 14px;
    color: gray;
    cursor: pointer;
}

.nav-bottom div i {
    font-size: 21px;
    display: block;
    color: gray;
}

.nav-bottom a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 0.5rem 0;
}

/* ACTIVE STATE */
.nav-bottom div.active,
.nav-bottom div.active i,
.nav-bottom div.active span {
    color: var(--primary-color);
}

.nav-bottom div.active i {
    fill: var(--primary-color);
}

.headline-title {
    font-weight: 600;
    font-size: 16px;
    margin-top: 20px;
}

.header {
    background: linear-gradient(135deg, #2c7da3, #00c6ff);
    color: var(--background-color);
    padding: 15px;
}

.header h4 {
    display: inline-block;
    margin: 0;
}

.back-button {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.back-button:hover,
.back-button:focus,
.back-button:active {
    background-color: transparent;
    color: inherit;
    box-shadow: none;
    outline: none;
}

.back-button i {
    margin-right: 10px;
}

/*=============================== HOME ===============================*/
.owl-dot.active span {
    background: var(--primary-color) !important;
}

.owl-carousel .item img {
    border-radius: 8px;
}

.header-bg {
    background: linear-gradient(135deg, #2c7da3, #00c6ff);
    color: white;
    border-radius: 0 0 30px 30px;
    padding: 30px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    text-align: center;
    position: relative;
}

.header-bg h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    letter-spacing: 1px;
}

.header-bg h2 {
    font-size: 1.5rem;
    margin: 15px 0;
}

.header-bg p {
    font-size: 1.2rem;
    margin: 10px 0;
}

.header-bg i {
    font-size: 1.5rem;
    margin-right: 8px;
}

/* Countdown Styling */
#countdown {
    font-size: 2rem;
    font-weight: bold;
    margin: 10px 0;
    font-family: 'Courier New', Courier, monospace;
}

#date {
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Link Styling */
a.text-white {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

a.text-white:hover {
    text-decoration: underline;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .header-bg {
        padding: 20px 15px;
    }

    .header-bg h1 {
        font-size: 2rem;
    }

    .header-bg h2 {
        font-size: 1.3rem;
    }

    #countdown {
        font-size: 1.8rem;
    }

    #date {
        font-size: 1rem;
    }

    .header-bg p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .header-bg h1 {
        font-size: 1.5rem;
    }

    .header-bg h2 {
        font-size: 1.1rem;
    }

    #countdown {
        font-size: 1.5rem;
    }

    #date {
        font-size: 0.9rem;
    }

    .header-bg p {
        font-size: 0.9rem;
    }
}

.icon-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
    padding: 10px;  
}

.icon-item {
    text-align: center;
    color: var(--secondary-color);
    font-size: 14px;
}

.icon-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 10px;
}

.icon-item div {
    font-size: 13px;
}

.search-bar input {
    border-radius: 10px;
}

.headline-list {
    margin-top: 10px;
}

.badge-category {
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 6px;
}

.headline-title-text {
    font-weight: 600;
    font-size: 16px;
    color: var(--neutral-dark);
    max-width: 450px;
}

.headline-image {
    width: 100px;
    height: 80px;
    object-fit: cover;
    margin-left: 15px;
    flex-shrink: 0;
    border-radius: 6px;
}

.section-header {
    font-weight: 700;
    font-size: 18px;
    border-left: 4px solid var(--secondary-color);
    padding-left: 10px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--neutral-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header a {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 14px;
    text-decoration: none;
}

.section-header a:hover {
    text-decoration: underline;
}

.topik-list {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 10px;
}

.topik-item {
    min-width: 180px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
    cursor: pointer;
    flex-shrink: 0;
}

.topik-item img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}

.topik-item-text {
    padding: 10px;
    font-weight: 600;
    font-size: 14px;
    color: var(--neutral-dark);
    line-height: 1.2;
}

.rekomendasi-list {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-top: 10px;
    margin-bottom: 10px;
}

.rekomendasi-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}

.rekomendasi-item:last-child {
    border-bottom: none;
}

.rekomendasi-info {
    max-width: calc(100% - 110px);
}

.rekomendasi-badge {
    background-color: var(--primary-color);
    color: var(--background-color);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 4px;
    display: inline-block;
}

.rekomendasi-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--neutral-dark);
    line-height: 1.2;
}

.rekomendasi-image {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    margin-left: 15px;
}

.video-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.video-card {
    width: 220px;
    background: var(--background-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.video-thumb {
    position: relative;
    width: 100%;
    height: 140px;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
}

.video-meta {
    padding: 8px;
    flex-grow: 1;
}

.video-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.video-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--neutral-dark);
    line-height: 1.3;
    height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.terpopuler-list {
    margin-top: 10px;
}

.terpopuler-item {
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}

.terpopuler-badge {
    background-color: var(--primary-color);
    color: var(--background-color);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 6px;
}

.terpopuler-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--neutral-dark);
    line-height: 1.3;
}

.terpopuler-thumb {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    margin-left: 15px;
}
#mapModal {
    height: 400px;
    width: 100%;
}
#selected-city {
    min-height: 40px;
    display: block;
}