﻿:root {
    --fn-teal: #377E9A;
    --fn-green: #5B8137;
    --fn-orange: #CC5500;
    --fn-text: #333333;
    --fn-text-light: #555555;
    --fn-white: #ffffff;
    --fn-radius: 0 26px 26px 26px;
    --fn-font: "Rubik", sans-serif;
    --fn-font-sub: "Merriweather", serif;
    --font-light: 300;
    --font-regular: 400;
    --font-semibold: 500;
    --font-bold: 700;
    --container: 1330px;
    --btn-green: #68a422;
}

.featured-news {
    padding: 60px 24px;
    background: var(--fn-white);
    font-family: var(--fn-font);
}

.fn-container {
    max-width: var(--container);
    margin: 0 auto;
}

/* Heading */
.fn-heading {
    text-align: center;
    font-size: clamp(28px, 4vw, 40px);
    color: var(--fn-green);
    font-weight: var(--font-regular);
    margin-bottom: 48px;
    letter-spacing: -0.5px;
    font-family: var(--fn-font-sub);
}

    .fn-heading strong {
        color: var(--fn-teal);
        font-weight: var(--font-bold);
        font-family: var(--fn-font) !important;
    }

/* 2-col section grid */
.fn-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

/* Card: image left, body right */
.fn-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
}

/* Image */
.fn-card__img-wrap {
    border-radius: var(--fn-radius);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    width: 100%;
}

.fn-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}

.fn-card:hover .fn-card__img {
    transform: scale(1.03);
}

/* Body */
.fn-card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 4px;
}

.fn-card__category {
    font-size: 14px;
    font-style: italic;
    color: var(--fn-orange);
    font-weight: var(--font-semibold);
}

.fn-card__title {
    font-size: clamp(22px, 2vw, 31px);
    font-weight: var(--font-semibold);
    color: var(--fn-teal);
    line-height: 1.3;
    margin: 0;
}

.fn-card__summary {
    font-size: 18px;
    line-height: 1.6;
    color: var(--fn-text-light);
    margin: 0;
}

/* Highlights */
.fn-highlights {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fn-highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.fn-highlight__icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--fn-green);
    margin-top: 2px;
}

    .fn-highlight__icon img {
        width: 28px;
        height: 28px;
    }

.fn-highlight__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fn-highlight__label {
    font-size: 15px;
    font-weight: var(--font-bold);
    color: var(--fn-green);
}

.fn-highlight__desc {
    font-size: 13px;
    color: var(--fn-text-light);
}

/* Read More button */
.fn-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 6px 33px;
    background-color: var(--btn-green);
    color: var(--fn-white);
    text-decoration: none;
    font-size: 20px;
    font-weight: var(--font-regular);
    border-radius: 50px;
    align-self: flex-start;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

    .fn-card__btn:hover {
        background-color: #68A423;
        transform: translateY(-1px);
        color: var(--fn-white);
    }

/* Responsive */
@media (max-width: 1100px) {
    .fn-card {
        grid-template-columns: 220px 1fr;
    }
}

@media (max-width: 900px) {
    .fn-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
   
}

@media (max-width: 600px) {
    .fn-card {
        grid-template-columns: 1fr;
    }
     .fn-card__img-wrap {
        display: flex;
        justify-content: center;
    }
    .featured-news {
        padding-left: 50px;
        padding-right: 50px;
    }
}
