/* ===========================
   Featured News Card Component
   =========================== */

/* Shared category tag styles */
.news-category {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin-bottom: 12px;
}

.news-category__tag {
    display: inline-block;
    border-radius: 100px;
    background: #15BDAC;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1em;
    font-family: "Roboto", sans-serif;
    padding: 5px 18px;
}

/* Featured News Card - Base Mobile Styles */
.news-card-featured {
    position: relative;
    display: block;
    font-weight: normal;
    color: #6D6E76;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: #FFF;
    box-shadow: 0 3.196px 6.392px 0 rgba(0, 0, 0, 0.08);
}

.news-card-featured__image {
    width: 100%;
    height: 133px;
}

.news-card-featured__info {
    padding: 18px 15px 20px;
}

.featured-news-description {
    margin-top: 0;
}

.featured-news-description h3 {
    margin: 0 0 14px 0;
    padding: 0;
    color: #232536;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.04em;
}

.news-author-info {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 22px;
}

.news-author,
.news-date,
.news-reading-time {
    margin: 0;
    padding: 0;
    color: #0A7D73;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.04em;
    position: relative;
}

.news-author + .news-date::before,
.news-author + .news-reading-time::before,
.news-date + .news-reading-time::before {
    content: "";
    position: absolute;
    left: -11px;
    top: 2px;
    width: 1px;
    height: 13px;
    background: #0A7D73;
}

/* ===========================
   Tablet Styles (768px+)
   =========================== */
@media (min-width: 768px) {
    .news-card-featured {
        border-radius: 33px;
        box-shadow: 0 6.412px 12.823px 0 rgba(0, 0, 0, 0.08);
    }

    .news-card-featured__image {
        height: 333px;
        position: relative;
        overflow: hidden;
    }

    .news-card-featured__image::before {
        content: "";
        position: absolute;
        left: 0px;
        bottom: -20px;
        width: 100%;
        height: 98px;
        height: 46%;
        pointer-events: none;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.56) 0%, rgba(0, 0, 0, 0.08) 55%, transparent 100%);
        background-repeat: no-repeat;
    }

    .news-card-featured__info {
        padding: 30px 24px 30px 30px;
    }

    .news-category__tag {
        padding: 5px 15px;
    }

    .featured-news-description h3 {
        margin: 0 0 14px 0;
        font-size: 28px;
        line-height: 1.14em;
    }

    .news-author-info {
        margin-top: 20px;
    }
}

/* ===========================
   Desktop Styles (1200px+)
   =========================== */
@media (min-width: 1200px) {
    .news-card-featured {
        border-radius: 42px;
        box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.08);
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .news-card-featured__image {
        height: 439px;
        flex-shrink: 0;
    }

    .news-card-featured__image::before {
        bottom: -20px;
        height: 130px;
    }

    .news-card-featured__info {
        padding: 40px 25px 55px 38px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .news-category__tag {
        padding: 5px 17px;
        font-size: 14px;
    }

    .featured-news-description {
        flex-grow: 1;
    }

    .featured-news-description h3 {
        margin: 0 0 5px 0;
        font-size: 36px;
        line-height: 1.14em;
        letter-spacing: -0.03em;
    }

    .news-author-info {
        margin-top: 30px;
        gap: 0 18px;
    }

    .news-author,
    .news-date,
    .news-reading-time {
        font-size: 14px;
    }

    .news-author + .news-date::before,
    .news-author + .news-reading-time::before,
    .news-date + .news-reading-time::before {
        left: -10px;
        top: 2px;
        height: 11px;
    }

    .news-card-featured:hover {
        box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.15);
        color: #6D6E76;
    }
}

