.FeaturedSection {
    margin-top: 30px;
    margin-bottom: 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 0 15px;
}

.FeaturedSection__wrapper {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    /* Adjust based on container */
    margin: 0 auto;
    width: 100%;
    align-items: flex-start;
    /* Align columns to top */
}

.FeaturedSection__column {
    flex: 1;
    min-width: 0;
    /* Prevent columns from expanding beyond their flex share */
}

.FeaturedSection__column.center {
    flex: 2.2;
    /* Give center column slightly more priority */
}

.FeaturedSection__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.FeaturedSection__header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    margin: 0;
}

.FeaturedSection__header a {
    font-size: 13px;
    color: #999;
    text-decoration: none;
}

.FeaturedSection__header a:hover {
    color: #d32f2f;
}

/* List Styles (Left & Right Columns) */
.FeaturedSection__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.FeaturedSection__list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
}

.FeaturedSection__list li:last-child {
    border-bottom: none;
}

.FeaturedSection__list li a.title {
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
}

.FeaturedSection__list li a.title:hover {
    color: #d32f2f;
}

.FeaturedSection__list li span.chapter-count {
    color: #999;
    font-size: 12px;
}

/* Center Column Styles */
.FeaturedSection__main-story {
    background-color: #1a1a1a;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    min-height: 250px;
}

/* Background image effect if needed, or just use the dark bg */
.FeaturedSection__main-story::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 40%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.FeaturedSection__main-story .content {
    position: relative;
    z-index: 2;
    width: 65%;
    display: flex;
    flex-direction: column;
}

.FeaturedSection__main-story .badge {
    background-color: #d32f2f;
    color: #fff;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    width: fit-content;
    margin-bottom: 10px;
    border-radius: 2px;
}

.FeaturedSection__main-story h3 {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.FeaturedSection__main-story p {
    font-size: 13px;
    color: #ccc;
    margin: 3px 0;
    line-height: 1.5;
}

.FeaturedSection__main-story .desc {
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.FeaturedSection__main-story .bottom {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 15px;
}

.FeaturedSection__main-story .author-name {
    color: #ffc107;
    font-weight: bold;
}

.FeaturedSection__main-story .read-now-btn {
    border: 1px solid #d4af37;
    color: #fff;
    padding: 5px 15px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s;
}

.FeaturedSection__main-story .read-now-btn:hover {
    background-color: #d4af37;
    color: #000;
}

.FeaturedSection__main-story .cover-img {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50%;
    object-fit: cover;
    z-index: 0;
    mask-image: linear-gradient(to left, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 60%, transparent 100%);
}

/* Grid Items */
.FeaturedSection__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.FeaturedSection__grid-item {
    position: relative;
}

.FeaturedSection__grid-item img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.FeaturedSection__grid-item .info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 10px 5px;
    color: #fff;
}

.FeaturedSection__grid-item .title {
    font-size: 13px;
    font-weight: bold;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    text-decoration: none;
}

.FeaturedSection__grid-item .chapters {
    font-size: 11px;
    color: #ccc;
    display: block;
}

/* Sub List (Below Grid) */
.FeaturedSection__sub-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.FeaturedSection__sub-item h4 {
    margin: 0 0 5px 0;
    font-size: 15px;
}

.FeaturedSection__sub-item h4 a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.FeaturedSection__sub-item .chapters {
    color: #d32f2f;
    font-weight: bold;
    font-size: 13px;
    margin-left: 5px;
}

.FeaturedSection__sub-item .desc {
    font-size: 13px;
    color: #666;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.FeaturedSection__sub-item .meta {
    font-size: 12px;
    color: #999;
    margin-top: 3px;
}

/* Responsive */
@media (max-width: 1024px) {
    .FeaturedSection__wrapper {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .FeaturedSection__column {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .FeaturedSection__column.center {
        order: -1;
        /* Show center first on mobile */
        flex: none !important;
        width: 100% !important;
        margin-bottom: 20px;
    }

    .FeaturedSection__grid {
        display: none !important;
        /* Ẩn grid trên tablet */
    }
}

@media (max-width: 768px) {
    .FeaturedSection__main-story {
        flex-direction: column-reverse;
        padding: 15px;
    }

    .FeaturedSection__main-story .content {
        width: 100%;
    }

    .FeaturedSection__main-story .cover-img {
        position: relative;
        width: 100%;
        height: 200px;
        margin-bottom: 15px;
        mask-image: none;
        -webkit-mask-image: none;
        border-radius: 4px;
    }

    .FeaturedSection__grid {
        display: none !important;
        /* Ẩn grid trên mobile */
    }
}