/* =========================================
   MISSING HOMEPAGE STYLES
   ========================================= */

/* Global Font Override */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
div {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* News List Small (Left Column) */
.news-list-small {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item-small {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.news-item-small:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-thumb-small {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.news-thumb-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content-small h4 {
    font-size: 13px;
    margin: 0 0 5px;
    line-height: 1.4;
}

.news-content-small h4 a {
    color: #000;
    /* Black title */
    text-decoration: none;
    /* No underline */
    transition: color 0.2s;
}

.news-content-small h4 a:hover {
    color: var(--primary-blue);
}

.news-meta-small {
    font-size: 11px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Populer Grid (Center Column) */
.populer-grid-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.populer-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.populer-thumb {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.populer-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.populer-card:hover .populer-thumb img {
    transform: scale(1.05);
}

.populer-card h4 {
    padding: 10px;
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

.populer-card h4 a {
    color: #000;
    /* Black title */
    text-decoration: none;
    /* No underline */
}

/* Populer List (Center Column Bottom) */
.populer-list-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.populer-list-item {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.populer-list-item h4 {
    margin: 5px 0;
    font-size: 16px;
}

.populer-list-item h4 a {
    color: #000;
    /* Black title */
    text-decoration: none;
    /* No underline */
    transition: color 0.2s;
}

.populer-list-item h4 a:hover {
    color: var(--primary-blue);
}

.populer-list-item p {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Terpopuler List (Right Column) */
.terpopuler-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.terpopuler-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.tp-thumb {
    width: 70px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.tp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tp-content h4 {
    font-size: 13px;
    margin: 0 0 5px;
    line-height: 1.3;
}

.tp-content h4 a {
    color: #000;
    /* Black title */
    text-decoration: none;
    /* No underline */
}

.tp-meta {
    font-size: 10px;
    color: #999;
}

/* Video Gallery */
.video-gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-gallery-main {
    margin-bottom: 10px;
}

.video-main-thumb {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.video-main-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.video-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.video-thumb-item {
    position: relative;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
}

.video-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Headers */
.section-header-striped {
    background: repeating-linear-gradient(45deg,
            #f8f9fa,
            #f8f9fa 10px,
            #fff 10px,
            #fff 20px);
    padding: 10px;
    font-weight: bold;
    border-left: 4px solid var(--primary-blue);
    margin-bottom: 15px;
    font-size: 14px;
}

.section-header-striped-orange {
    background: repeating-linear-gradient(45deg,
            #fff3e0,
            #fff3e0 10px,
            #fff 10px,
            #fff 20px);
    padding: 10px;
    font-weight: bold;
    border-left: 4px solid var(--accent-orange);
    margin-bottom: 15px;
    font-size: 14px;
}

.section-header-purple {
    background: #f3e5f5;
    padding: 10px;
    font-weight: bold;
    border-left: 4px solid #9c27b0;
    margin-bottom: 15px;
    font-size: 14px;
    color: #9c27b0;
}

.section-header-pink {
    background: #fce4ec;
    padding: 10px;
    font-weight: bold;
    border-left: 4px solid #e91e63;
    margin-bottom: 15px;
    font-size: 14px;
    color: #e91e63;
}

.section-header-red {
    background: #ffebee;
    padding: 10px;
    font-weight: bold;
    border-left: 4px solid #f44336;
    margin-bottom: 15px;
    font-size: 14px;
    color: #f44336;
}

.section-header-purple-gradient {
    background: linear-gradient(to right, #9c27b0, #e040fb);
    color: white;
    padding: 10px;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 14px;
    border-radius: 4px;
}

.section-header-orange-block {
    background: var(--accent-orange);
    color: white;
    padding: 10px;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 14px;
}

.section-header-orange-icon {
    border-bottom: 2px solid var(--accent-orange);
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 14px;
    color: var(--accent-orange);
}

/* Badges */
.badge-blue {
    background: var(--primary-blue);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
}

.badge-blue-dark {
    background: #0d47a1;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
}

.cat-badge-light {
    background: #e3f2fd;
    color: var(--primary-blue);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 5px;
}

.date-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
}

/* Gallery Grid */
.gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-main img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.gallery-thumb-item img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

/* Trending List */
.trending-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trending-item {
    display: flex;
    gap: 15px;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.trending-num {
    font-size: 24px;
    font-weight: bold;
    color: #ddd;
    font-style: italic;
}

.trending-content h4 {
    margin: 0;
    font-size: 14px;
}

.trending-content h4 a {
    color: #000;
    /* Black title */
    text-decoration: none;
    /* No underline */
}

/* Rekomendasi Grid */
.rekomendasi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    /* Increased gap */
}

/* Premium Card Design (Sorotan Utama) */
.rekomendasi-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    border: 1px solid #eee;
}

.rekomendasi-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.rekomendasi-thumb {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.rekomendasi-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.rekomendasi-item:hover .rekomendasi-thumb img {
    transform: scale(1.05);
}

/* Date Badge (Square Top-Left) */
.date-badge-square {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #00c853;
    /* Green like reference */
    color: white;
    width: 45px;
    height: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.date-badge-square .day {
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
}

.date-badge-square .month {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.rekomendasi-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Category Pill */
.cat-pill {
    display: inline-block;
    background: #e3f2fd;
    color: var(--primary-blue);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    align-self: flex-start;
    margin-bottom: 10px;
}

.rekomendasi-item h4 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.rekomendasi-item h4 a {
    color: #000;
    /* Black title */
    text-decoration: none;
    /* No underline */
    transition: color 0.2s;
}

.rekomendasi-item h4 a:hover {
    color: var(--primary-blue);
}

.rekomendasi-summary {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
}

/* Outlined Button */
.btn-outline-pill {
    display: inline-block;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start;
    transition: all 0.2s;
}

.btn-outline-pill:hover {
    background: var(--primary-blue);
    color: white;
}

/* Redaksi List */
.redaksi-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.redaksi-item {
    display: flex;
    gap: 15px;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
}

.redaksi-thumb {
    width: 100px;
    height: 80px;
    flex-shrink: 0;
}

.redaksi-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Redaksi Title Fix */
.redaksi-content h4 a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s;
}

.redaksi-content h4 a:hover {
    color: var(--primary-blue);
}

/* Buttons */
.btn-read-more-small {
    display: inline-block;
    font-size: 12px;
    color: var(--primary-blue);
    margin-top: 5px;
    text-decoration: none;
    font-weight: bold;
}

.btn-outline-blue {
    display: block;
    text-align: center;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 8px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    margin-top: 10px;
}

.btn-outline-purple {
    display: block;
    text-align: center;
    border: 1px solid #9c27b0;
    color: #9c27b0;
    padding: 8px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    margin-top: 10px;
}

.full-width {
    width: 100%;
}

/* Spacing Improvements */
.section-box {
    margin-bottom: 30px;
    /* Increased from default/implicit */
}

.sidebar-ad {
    margin-bottom: 30px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .populer-grid-top {
        grid-template-columns: 1fr;
    }

    .rekomendasi-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-box {
        margin-bottom: 20px;
    }
}

/* Story Category Badge (Top Stories) */
.story-cat {
    display: inline-block;
    background: linear-gradient(45deg, #2196F3, #21CBF3);
    color: white;
    padding: 2px 10px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Trending Numbers */
.trending-number {
    position: absolute;
    left: 0;
    top: 5px;
    font-size: 32px;
    font-weight: 800;
    font-style: italic;
    line-height: 1;
    opacity: 0.8;
}

.num-1 {
    color: #ff0000;
}

/* Red */
.num-2 {
    color: #ff5e00;
}

/* Orange */
.num-3 {
    color: #ffcc00;
}

/* Yellow/Gold */
.num-4 {
    color: #00ccff;
}

/* Blue */
.num-5 {
    color: #00ff99;
}

/* Green */