

/* Start:/local/templates/main/components/bitrix/news/news/bitrix/news.list/.default/style.css?17840362844763*/
/* ==========================================================================
   Редизайн карточек «Актуальные новости» (design_handoff_articles_cards).
   Namespace .a-card — не пересекается с .card (продукция остаётся без изменений).
   ========================================================================== */

/* Вводный текст раздела (если добавляется) */
.wrap .wrap__block.section-intro {
    padding-top: 2.5rem !important;
    padding-bottom: 0.5rem !important;
    font-family: "Montserrat", sans-serif;
}
.section-intro__text {
    margin: 0;
    max-width: 900px;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #364153;
}

/* Сетка карточек */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}
@media (max-width: 992px) {
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .articles-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Карточка */
.a-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e4e4e6;
    box-shadow: 0 1px 2px rgba(14, 14, 16, 0.06);
    transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.a-card:hover {
    box-shadow: 0 8px 24px rgba(14, 14, 16, 0.12);
    transform: translateY(-4px);
}

/* Медиа-зона: «буква-фото» + раскрытие фото при наведении */
.a-card__media {
    position: relative;
    height: 132px;
    padding: 24px 24px 0;
    overflow: hidden;
}
.a-card__char {
    display: block;
    height: 96px;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 88px;
    font-weight: 900;
    line-height: 1;
    background-size: cover;
    background-position: center;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.a-card__char--plain {
    color: #ff4f28;
    -webkit-text-fill-color: #ff4f28;
}
.a-card__photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.a-card:hover .a-card__photo {
    opacity: 1;
}

/* Контентная зона */
.a-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px 24px;
}
.a-card__title {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0e0e10;
}
.a-card__link {
    color: inherit;
    text-decoration: none;
}
/* Растянутая ссылка — вся карточка кликабельна, но заголовок остаётся текстом ссылки */
.a-card__link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
}
.a-card__excerpt {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.55;
    color: #6b6d72;
}

/* Мета-строка: дата • время чтения • поделиться */
.a-card__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #e4e4e6;
}
.a-card__meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 0.875rem;
    color: #6b6d72;
}
.a-card__meta-item svg { flex: none; }
.a-card__meta-item time { color: inherit; }

.a-card__share {
    position: relative;
    z-index: 1;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: auto;
    padding: 0;
    background: #fff;
    border: 2px solid #ff4f28;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.a-card__share svg {
    stroke: #ff4f28;
    transition: stroke 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.a-card__share:hover { background: #ff4f28; }
.a-card__share:hover svg { stroke: #fff; }
.a-card__share--copied { background: #ff4f28; }
.a-card__share--copied svg { stroke: #fff; }

/* Отступы секции на мобильных */
@media (max-width: 576px) {
    .a-card__media { height: 120px; padding: 16px 16px 0; }
    .a-card__char { font-size: 72px; height: 80px; }
    .a-card__body { padding: 16px 16px 20px; }
    .a-card__title { font-size: 1.05rem; }
}

/* End */
/* /local/templates/main/components/bitrix/news/news/bitrix/news.list/.default/style.css?17840362844763 */
