﻿/* =================================
   ARIONepc ARTICLES PAGE
================================= */

.articles-page {
    min-height: 600px;
    background: #ffffff;
    padding-bottom: 50px;
}


/* =================================
   INTRO
================================= */

.articles-intro {
    width: calc(100% - 40px);
    max-width: 1450px;
    min-height: 220px;
    margin: 25px auto 35px;
    padding: 40px 55px;
    border-radius: 22px;
    background: linear-gradient( 115deg, #edf9f2, #ffffff 55%, #e9f7ef );
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}


    .articles-intro::before {
        content: "";
        position: absolute;
        width: 340px;
        height: 340px;
        border-radius: 50%;
        background: rgba(114,194,154,.08);
        left: -100px;
        top: -120px;
    }


    .articles-intro::after {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        border: 1px solid rgba(72,168,120,.13);
        right: 8%;
        bottom: -90px;
    }


.articles-intro-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}


.articles-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 30px;
    background: rgba(114,194,154,.14);
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 13px;
}


.articles-intro h1 {
    margin: 0 0 12px;
    font-size: 32px;
    line-height: 1.5;
    color: #26332d;
}


.articles-intro p {
    margin: 0;
    max-width: 650px;
    color: #68756f;
    font-size: 14px;
    line-height: 2;
}


/* =================================
   ARTICLES SECTION
================================= */

.articles-section {
    width: calc(100% - 40px);
    max-width: 1450px;
    margin: auto;
}


.articles-header {
    margin-bottom: 20px;
}


.articles-title {
    display: flex;
    align-items: center;
    gap: 12px;
}


    .articles-title span {
        color: var(--green-dark);
        font-size: 22px;
        font-weight: 800;
    }


.articles-title-line {
    width: 38px;
    height: 4px;
    background: var(--green);
    border-radius: 10px;
}


/* =================================
   GRID
================================= */

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}


/* =================================
   ARTICLE CARD
================================= */

.article-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 19px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(40,70,55,.045);
    transition: .3s ease;
}


    .article-card:hover {
        transform: translateY(-5px);
        border-color: rgba(72,168,120,.30);
        box-shadow: 0 13px 30px rgba(40,70,55,.10);
    }


/* =================================
   IMAGE
================================= */

.article-image {
    display: block;
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: #f6f9f7;
}


    .article-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .45s ease;
    }


.article-card:hover
.article-image img {
    transform: scale(1.04);
}


/* =================================
   CATEGORY
================================= */

.article-category {
    position: absolute;
    top: 13px;
    right: 13px;
    padding: 7px 11px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    color: var(--green-dark);
    border: 1px solid rgba(72,168,120,.15);
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
}


/* =================================
   CONTENT
================================= */

.article-content {
    padding: 17px 18px 18px;
}


.article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8b9590;
    font-size: 10px;
    margin-bottom: 10px;
}


.meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #a7b0ac;
}


/* =================================
   TITLE
================================= */

.article-content h2 {
    margin: 0 0 9px;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 800;
    color: #26332d;
}


    .article-content h2 a {
        transition: .2s;
    }


        .article-content h2 a:hover {
            color: var(--green-dark);
        }


/* =================================
   DESCRIPTION
================================= */

.article-content p {
    margin: 0;
    color: #727d77;
    font-size: 12px;
    line-height: 2;
}


/* =================================
   READ MORE
================================= */

.article-read-more {
    margin-top: 17px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 800;
}


    .article-read-more span {
        font-size: 16px;
        transition: .2s;
    }


    .article-read-more:hover span {
        transform: translateX(-4px);
    }


/* =================================
   TABLET
================================= */

@media (max-width: 1050px) {

    .articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =================================
   MOBILE
================================= */

@media (max-width: 650px) {

    .articles-intro {
        width: calc(100% - 16px);
        min-height: 190px;
        margin-top: 15px;
        padding: 28px 22px;
        border-radius: 17px;
    }


        .articles-intro h1 {
            font-size: 25px;
        }


        .articles-intro p {
            font-size: 12px;
            line-height: 2;
        }


    .articles-section {
        width: calc(100% - 16px);
    }


    .articles-title span {
        font-size: 19px;
    }


    .articles-title-line {
        width: 27px;
        height: 3px;
    }


    .articles-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }


    .article-image {
        height: 205px;
    }


    .article-content {
        padding: 15px;
    }


        .article-content h2 {
            font-size: 14px;
        }
}
