/* ===== Реализованные проекты ===== */
.realized {
    margin: 40px 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
}

/* Заголовок блока */
.realized__hdr {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.realized__hdr svg {
    margin-right: 10px;
    stroke: #e63946;
}
.realized__title {
    font-size: 1.3rem;
    font-weight: 600;
}

/* Список карточек — вертикально */
.realized__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 20px;
}

/* Карточка */
.realized-card {
    display: flex;
    flex-direction: column;
    background: #fafafa;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
    border: 1px solid #f0f0f0;
}
.realized-card:hover {
    background: #f9f9fb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Фото — на всю ширину сверху */
.realized-card__img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

/* Контейнер текста */
.realized-card__body {
    padding: 15px 20px;
}

/* Заголовок проекта */
.realized-card__title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

/* Метаданные */
.realized-card__meta {
    font-size: 0.9rem;
    color: #666;
}

/* Кнопка внизу */
.realized__btn {
    text-align: center;
}
.btn.btn--outline {
    padding: 10px 20px;
    border: 1px solid #e63946;
    border-radius: 6px;
    color: #e63946;
    font-weight: 500;
    text-decoration: none;
    transition: 0.2s;
}
.btn.btn--outline:hover {
    background: #e63946;
    color: #fff;
}
/* Сетка для нескольких проектов */
.realized__list--grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* На мобильных всё равно одна колонка */
@media (max-width: 768px) {
    .realized__list--grid {
        grid-template-columns: 1fr;
    }
}
