.main-news-area {
    padding-bottom: 20px;
}

/* LEFT SLIDER NEWS */
.single-main-news {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;

    &::before {
        position: absolute;
        content: "";
        background: linear-gradient(transparent,#111), linear-gradient(transparent,#111);
        height: 70%;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1;
        opacity: .7;
    }

    img {
        width: 100%;
        height: 550px; /* consistent height */
        object-fit: cover;
        overflow: hidden;
        transition: all 1.5s ease-out;
        border-radius: 6px;
    }

    .news-content {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 30px;
        z-index: 2;

        .tag {
            display: inline-block;
            font-size: 14px;
            background-color: $main-color;
            color: $white-color;
            padding: 2px 10px;
            font-weight: 400;
            transition: $transition;
        }

        h3 {
            font-size: 36px;
            font-weight: bold;
            margin-top: 16px;
            margin-bottom: 20px;

            a {
                color: $white-color;
                position: relative;

                &::before {
                    content: "";
                    position: absolute;
                    width: 0%;
                    height: 100%;
                    left: 0;
                    top: 0;
                    border-bottom: 1px solid $main-color;
                    transition: $transition;
                    z-index: -1;
                }
            }
        }

        span {
            color: $white-color;

            a {
                color: $white-color;
                font-weight: 400;
            }
        }
    }

    &:hover {
        img {
            transform: scale(1.1);
        }

        .news-content {
            .tag {
                background-color: $optional-color;
            }

            h3 a {
                color: $main-color;

                &::before {
                    width: 100%;
                }
            }

            span a {
                color: $main-color;
            }
        }
    }
}

/* RIGHT SIDEBAR POPULAR NEWS: Large Box */
.single-main-news-inner {
    position: relative;
    overflow: hidden;

    &::before {
        position: absolute;
        content: "";
        background: linear-gradient(transparent,#111), linear-gradient(transparent,#111);
        height: 70%;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1;
        opacity: .7;
    }

    img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        overflow: hidden;
        transition: all 1.5s ease-out;
        border-radius: 6px;
    }

    .news-content {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 20px;
        z-index: 2;

        h3 {
            font-size: 30px;
            margin-top: 12px;
            margin-bottom: 10px;

            a {
                color: #ffffff; /* black text */
                font-size: 14px;
                transition: color 0.3s ease;

                &:hover {
                    color: #B12325; /* hover red */
                }
            }
        }

        span {
            color: $paragraph-color;
            font-size: 14px;
        }
    }

    &:hover {
        img {
            transform: scale(1.05);
        }
    }
}


