/* [admax_blog] — szűrőchipek, kiemelt bejegyzés és kártyarács (saját classok, nem ütközik .am-card-dal). */

.am-blog-filters {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 38px 0 0;
    padding-top: 23px;
    border-top: 1px solid #dbeae3;
}

.am-blog-fil {
    border: 1px solid #dbeae3;
    background: #fff;
    color: #2c4b45;
    font-family: 'Archivo', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 9px 17px;
    border-radius: 100px;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.am-blog-fil:hover {
    border-color: #2c8b74;
    color: #2c8b74;
}

.am-blog-fil.is-on {
    background: #1e3a38;
    color: #fff;
    border-color: #1e3a38;
    font-weight: 800;
    padding: 10px 18px;
}

.am-blog-fil.is-on:hover {
    color: #fff;
    border-color: #1e3a38;
}

/* — Kiemelt bejegyzés — */
.am-blog-feat {
    margin-top: 39px;
    text-decoration: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #1e3a38;
    border-radius: 23px;
    overflow: hidden;
    box-shadow: 0 27px 57px rgba(22, 51, 46, 0.16);
    color: #fff;
}

.am-blog-feat.is-off {
    display: none;
}

.am-blog-feat-media {
    min-height: 286px;
    overflow: hidden;
}

.am-blog-feat-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.am-blog-feat-media.is-ph,
.am-blog-card-img.is-ph {
    background: linear-gradient(150deg, #2c8b74, #1e3a38);
}

.am-blog-feat-body {
    padding: 41px 39px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.am-blog-feat-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
}

.am-blog-feat-tag {
    background: #a7ebdd;
    color: #1e3a38;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 100px;
    white-space: nowrap;
}

.am-blog-feat-date {
    font-size: 12px;
    color: #8fbfb2;
    font-weight: 600;
}

.am-blog-feat-dot {
    color: rgba(167, 235, 221, 0.35);
}

.am-blog-feat-title {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 34px;
    line-height: 1.06;
    letter-spacing: -1px;
    color: #fff;
}

.am-blog-feat-p {
    font-size: 15px;
    line-height: 1.6;
    color: #cfe6de;
    margin: 16px 0 0;
    font-weight: 400;
    max-width: 411px;
}

.am-blog-feat .am-blog-link {
    margin-top: 25px;
}

.am-blog-feat .am-blog-link,
.am-blog-card-dark .am-blog-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #a7ebdd;
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: 13px;
    transition: gap 0.3s ease;
}

.am-blog-feat .am-blog-link:hover,
.am-blog-card-dark .am-blog-link:hover {
    gap: 13px;
    color: #a7ebdd;
}

.am-blog-card-dark .am-blog-link-sm {
    font-size: 13px;
    margin-top: auto;
    padding-top: 21px;
}

/* — Kártyarács — */
.am-blog-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 21px;
}

.am-blog-card {
    text-decoration: none;
    background: #fff;
    border: 1px solid #dbeae3;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 0.84, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.am-blog-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 25px 52px rgba(22, 51, 46, 0.13);
    border-color: #5fbda8;
    color: #1e3a38;
}

.am-blog-card.is-off {
    display: none;
}

.am-blog-card-img {
    height: 170px;
    overflow: hidden;
}

.am-blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.16, 0.84, 0.3, 1);
}

.am-blog-card:hover .am-blog-card-img img {
    transform: scale(1.06);
}

.am-blog-card-body {
    padding: 23px 25px 27px;
}

.am-blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 11px;
}

.am-blog-card-cat {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #2c8b74;
}

.am-blog-card-dot {
    color: #dbeae3;
}

.am-blog-card-date {
    font-size: 11px;
    color: #5c7b73;
    font-weight: 500;
}

.am-blog-card-title {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: 17px;
    line-height: 1.26;
    color: #16332e;
}

.am-blog-card-p {
    font-size: 13px;
    line-height: 1.56;
    color: #5c7b73;
    margin: 10px 0 0;
    font-weight: 400;
}

/* — Esettanulmány (sötét stat-kártya) — */
.am-blog-card.is-dark {
    background: #1e3a38;
    border-color: #1e3a38;
}

.am-blog-card.is-dark:hover {
    border-color: #5fbda8;
}

.am-blog-card-dark {
    padding: 27px 25px 29px;
    height: 100%;
    min-height: 286px;
    display: flex;
    flex-direction: column;
}

.am-blog-card-cat-light {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #a7ebdd;
}

.am-blog-card-stat {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 57px;
    line-height: 0.85;
    letter-spacing: -1.7px;
    color: #a7ebdd;
    margin: 20px 0 14px;
}

.am-blog-card-title-light {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: 17px;
    line-height: 1.26;
    color: #fff;
}

.am-blog-card-p-light {
    font-size: 13px;
    line-height: 1.56;
    color: #a9cfc5;
    margin: 10px 0 0;
    font-weight: 400;
}

@media (max-width: 767px) {
    .am-blog-filters {
        flex-wrap: wrap;
    }

    .am-blog-feat {
        grid-template-columns: 1fr;
    }

    .am-blog-feat-media {
        min-height: 190px;
    }

    .am-blog-feat-body {
        padding: 25px 23px 29px;
    }

    .am-blog-feat-title {
        font-size: 25px;
        letter-spacing: -0.7px;
    }

    .am-blog-feat-p {
        font-size: 14px;
    }

    .am-blog-grid {
        grid-template-columns: 1fr;
    }

    .am-blog-card-stat {
        font-size: 44px;
    }
}
