.articles-block{
    margin-top: 60px;
    margin-bottom: 40px;
}
.articles-block--title{
    margin: 0 0 28px;
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.2;
    text-align: center;
    color: #222222;
}
.articles-block--title::after{
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, #EF4A85 0%, #744A9E 100%);
}
.articles-block--grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.articles-block--card{
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid #E8E8E8;
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(34, 34, 34, 0.04);
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.articles-block--card:hover{
    border-color: rgba(116, 74, 158, 0.35);
    box-shadow: 0 12px 28px rgba(116, 74, 158, 0.14);
    transform: translateY(-3px);
    text-decoration: none;
    color: inherit;
}
.articles-block--card-media{
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(180deg, #fafafa 0%, #f2f2f2 100%);
}
.articles-block--card-media::after{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.28);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1;
}
.articles-block--card:hover .articles-block--card-media::after{
    opacity: 1;
}
.articles-block--card-media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.articles-block--card:hover .articles-block--card-media img{
    transform: scale(1.04);
}
.articles-block--card-body{
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 14px 16px;
    flex: 1 1 auto;
}
.articles-block--date{
    display: block;
    margin: 0;
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
    color: #989898;
}
.articles-block--card-name{
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.35;
    color: #222222;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}
.articles-block--card:hover .articles-block--card-name{
    color: #744A9E;
}
.articles-block--card-preview{
    margin: 0;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.45;
    color: #6f6f6f;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.articles-block--card-more{
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    padding-top: 2px;
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.02em;
    color: #EF4A85;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.articles-block--card-more::after{
    content: "→";
    font-size: 13px;
}
.articles-block--card:hover .articles-block--card-more{
    opacity: 1;
    transform: translateY(0);
}
.articles-block--actions{
    display: flex;
    justify-content: center;
    margin-top: 24px;
}
.articles-block--cta{
    display: inline-block;
    min-width: 220px;
    padding: 12px 28px;
    box-sizing: border-box;
    background: #633f86;
    border-radius: 4px;
    color: #fff !important;
    font-family: Manrope, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.articles-block--cta:hover,
.articles-block--cta:focus{
    background: #80E0A7;
    color: #fff !important;
    text-decoration: none;
}
@media (min-width: 768px){
    .articles-block--grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}
@media (min-width: 1200px){
    .articles-block--grid{
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }
    .articles-block--card-name{
        font-size: 16px;
    }
}
@media (hover: none){
    .articles-block--card-more{
        opacity: 1;
        transform: none;
    }
}
