/* =========================================
   GLOBAL RESPONSIVENESS (MOBILE FIXES)
   ========================================= */
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden; /* Prevents side-to-side scrolling on phones */
}

img, iframe, video {
    max-width: 100%;
    height: auto;
}

/* =========================================
   CORPORATE NEWS GRID (MALAYSIAKINI STYLE)
   ========================================= */
.news-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .news-grid-container {
        grid-template-columns: 1fr;
    }
}

/* The Massive Featured Article */
.mk-featured-card {
    border-bottom: 2px solid var(--border-color, #eee);
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.mk-featured-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 4px;
}

.mk-featured-title {
    font-size: 2.6rem;
    font-family: Arial, sans-serif;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.mk-featured-title a {
    color: var(--mkini-dark, #111);
    text-decoration: none;
}

.mk-featured-title a:hover {
    color: var(--mkini-red, #cc0000);
}

.mk-excerpt {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* The Smaller Grid Articles */
.mk-grid-card {
    display: flex;
    flex-direction: column;
}

.mk-grid-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 4px;
}

.mk-grid-category {
    color: var(--mkini-red, #cc0000);
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.mk-grid-title {
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.25;
    margin-bottom: 8px;
}

.mk-grid-title a {
    color: var(--mkini-dark, #111);
    text-decoration: none;
}

.mk-grid-title a:hover {
    color: var(--mkini-red, #cc0000);
}

.mk-meta-text {
    font-size: 0.8rem;
    color: #888;
}

/* Mobile Adjustments for Grid Features */
@media (max-width: 768px) {
    .mk-featured-img {
        height: 250px; /* Stop massive images from taking up the whole phone screen */
    }
    .mk-featured-title {
        font-size: 1.8rem; /* Scale down the main title */
    }
    .mk-excerpt {
        font-size: 1rem;
    }
    .mk-grid-img {
        height: 180px;
    }
}