/* Блог: автор, даты, кнопка заявки, чек-лист, блок «Полезные статьи» */

/* ---------- Подпись автора и даты ---------- */
.fc-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 28px;
    margin-top: 20px;
}
.fc-byline__author {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--black);
    text-decoration: none;
}
.fc-byline__photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.fc-byline__name {
    font-weight: 600;
}
.fc-byline__author:hover .fc-byline__name {
    color: var(--green);
}
.fc-byline__dates {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    color: var(--dgray);
}

/* ---------- Текст статьи ---------- */
.article-single--blog .article-content a {
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.article-single--blog .article-content a:hover {
    color: var(--lgreen);
}
.article-single--blog .article-content h2 {
    line-height: 1.3;
}
.article-single--blog .article-content h3 {
    font-size: 22px;
    line-height: 1.35;
}
.article-content .fc-checklist {
    list-style: none;
    padding: 24px 28px;
    background: var(--gray);
    border-radius: 24px;
}
.article-content .fc-checklist li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 14px;
}
.article-content .fc-checklist li:last-child {
    margin-bottom: 0;
}
.article-content .fc-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ---------- Кнопка заявки ---------- */
.fc-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 50px;
    padding: 32px;
    border-radius: 24px;
    background: var(--green);
    color: var(--white);
}
.fc-cta__title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
}
.fc-cta__text {
    margin-top: 8px;
    opacity: .9;
}
.fc-cta .fc-cta__btn {
    flex-shrink: 0;
    background: var(--white);
    color: var(--green);
    font-weight: 600;
    white-space: nowrap;
}
.fc-cta .fc-cta__btn:hover {
    background: var(--black);
    color: var(--white);
}

/* ---------- Об авторе ---------- */
.fc-author {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    margin-top: 40px;
    padding: 32px;
    border-radius: 24px;
    background: var(--gray);
}
.fc-author__photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}
.fc-author__label {
    color: var(--dgray);
}
.fc-author__name {
    margin-top: 4px;
    font-size: 24px;
    font-weight: 600;
}
.fc-author__role {
    margin-top: 2px;
    color: var(--green);
    font-weight: 500;
}
.fc-author__bio {
    margin-top: 12px;
    line-height: 1.6;
}
.fc-author__link {
    display: inline-block;
    margin-top: 12px;
    color: var(--green);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Полезные статьи ---------- */
.fc-latest {
    display: block;
}
.fc-latest__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.fc-latest__all {
    color: var(--green);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.fc-latest__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 30px;
}
.fc-latest__card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 24px;
    border-radius: 24px;
    background: var(--gray);
    color: var(--black);
    overflow: hidden;
    transition: transform ease-in-out .3s, box-shadow ease-in-out .3s;
}
.fc-latest__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}
.fc-latest__img {
    display: block;
    aspect-ratio: 16 / 9;
    background: #e9ece8;
    overflow: hidden;
}
.fc-latest__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.fc-latest__date,
.fc-latest__title,
.fc-latest__text {
    padding: 0 24px;
}
.fc-latest__date {
    margin-top: 8px;
    color: var(--dgray);
}
.fc-latest__title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}
.fc-latest__card:hover .fc-latest__title {
    color: var(--green);
}
.fc-latest__text {
    color: var(--dgray);
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .fc-latest__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 768px) {
    .fc-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }
    .fc-cta__title {
        font-size: 20px;
    }
    .fc-author {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px;
    }
    .fc-author__photo {
        width: 96px;
        height: 96px;
    }
    .fc-latest__grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .article-single--blog .article-content h3 {
        font-size: 20px;
    }
    .article-content .fc-checklist {
        padding: 20px;
    }
}
