/* Main Latest Section Styles */
.main-latest-wrapper {
    width: 100%;
    margin-top: 30px;
}

.main-latest-grid {
    display: flex;
    flex-wrap: wrap;
    background-color: #000;
    /* Assuming the dark background fills the area if image doesn't cover */
}

/* Left Side - Featured */
.main-latest-featured {
    flex: 0 0 65%;
    /* Approximately 2/3 */
    max-width: 65%;
    position: relative;
    padding: 0;
}

.main-latest-featured-card {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.main-latest-featured-card a {
    display: block;
    height: 100%;
    width: 100%;
}

.main-latest-img-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.main-latest-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 450px;
    /* Ensure sufficient height */
    transition: transform 0.5s ease;
}

.main-latest-featured-card:hover .main-latest-img {
    transform: scale(1.05);
}

.main-latest-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Cover full height for gradient control if needed, or keep auto */
    max-height: 60%;
    /* Only cover bottom part with gradient */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
    padding: 20px 25px 25px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.main-latest-cat-badge {
    display: inline-block;
    background-color: #e67817;
    color: #fff;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 2px;
    margin-bottom: 12px;
    /* Space between badge and title */
    text-transform: uppercase;
}

.main-latest-title-large {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    line-height: 1.35;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease;
}

.main-latest-title-large:hover {
    color: #e67817;
}

/* Right Side - List */
.main-latest-list-container {
    flex: 0 0 35%;
    max-width: 35%;
    background-color: #111;
    /* Darker background */
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-latest-list-item {
    padding: 15px 0;
    border-bottom: 1px solid #333;
    /* Darker border */
}

.main-latest-list-item:last-child {
    border-bottom: none;
}

.main-latest-list-item a {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-decoration: none;
}

.main-latest-list-thumb {
    flex: 0 0 130px;
    /* Slightly wider */
    width: 130px;
    overflow: hidden;
    position: relative;
}

.main-latest-small-img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 3px;
    display: block;
    transition: transform 0.3s ease;
}

.main-latest-list-item:hover .main-latest-small-img {
    transform: scale(1.05);
    /* Zoom effect on hover */
}

.main-latest-list-content {
    flex: 1;
}

.main-latest-title-small {
    font-size: 15px;
    color: #fff;
    margin: 0;
    line-height: 1.45;
    font-weight: 500;
}

.main-latest-title-small:hover {
    color: #e67817;
}

/* Responsive */
@media (max-width: 991px) {

    .main-latest-featured,
    .main-latest-list-container {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .main-latest-img {
        min-height: 300px;
    }

    .main-latest-list-container {
        padding: 20px;
    }
}