/* Стили для статей мастера Алексея */
.septic-articles-container {
    max-width: 1280px;
    margin: 0 auto;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: #f5faf8;
    padding: 20px;
    border-radius: 0;
}

/* каждая карточка — отдельное окно */
.septic-card {
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 12px 28px rgba(0, 40, 20, 0.08);
    margin-bottom: 48px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
    border: 1px solid #e2ede7;
}

.septic-card:hover {
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
}

.septic-header {
    padding: 28px 32px 12px 32px;
    border-bottom: 2px solid #e0ede6;
}

.septic-badge {
    display: inline-block;
    background: #dff0e8;
    color: #1e6f5c;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 5px 14px;
    border-radius: 30px;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.septic-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #0b3b35;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.septic-meta {
    color: #6f8f87;
    font-size: 0.85rem;
    display: flex;
    gap: 20px;
    margin-bottom: 8px;
}

.septic-meta i {
    margin-right: 6px;
}

.septic-content {
    padding: 28px 32px 24px 32px;
}

.septic-content p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #1e2e2a;
}

.septic-content h2 {
    font-size: 1.5rem;
    margin: 1.8rem 0 0.8rem 0;
    color: #0f5c4f;
    font-weight: 600;
}

.septic-content h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.6rem 0;
    color: #1f6d5e;
}

.septic-content ul, .septic-content ol {
    margin: 1rem 0 1.2rem 1.8rem;
}

.septic-photo-placeholder {
    background: #eef4f1;
    border-radius: 24px;
    padding: 40px 20px;
    text-align: center;
    margin: 30px 0;
    border: 1px dashed #a8c3b8;
    color: #2c6e5f;
    font-weight: 500;
    font-size: 0.9rem;
}

.septic-photo-placeholder i {
    font-size: 1.5rem;
    margin-right: 8px;
}

.master-signature {
    margin-top: 36px;
    padding: 20px 24px;
    background: #f2f9f6;
    border-radius: 28px;
    font-style: normal;
    border-left: 5px solid #2b9b82;
    font-size: 1rem;
    color: #1a4e43;
}

.master-signature i {
    color: #2b9b82;
    margin-right: 8px;
}

.faq-block {
    margin-top: 32px;
    background: #f9fdfb;
    border-radius: 28px;
    padding: 20px 28px;
    border: 1px solid #cde2da;
}

.faq-block h4 {
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 20px;
    color: #0b4d42;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-item {
    border-bottom: 1px solid #d4e3dd;
    margin-bottom: 12px;
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 16px 8px 16px 0;
    font-size: 1.08rem;
    font-weight: 600;
    color: #1b4e44;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s;
}

.faq-question:hover {
    color: #0c6b58;
}

.faq-question .fa-chevron-down {
    transition: transform 0.2s;
}

.faq-question.active .fa-chevron-down {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 8px 20px 0;
    display: none;
    line-height: 1.5;
    color: #2c4a42;
}

.faq-answer.show {
    display: block;
}

@media (max-width: 720px) {
    .septic-header, .septic-content {
        padding-left: 20px;
        padding-right: 20px;
    }
    .septic-title {
        font-size: 1.6rem;
    }
}

/* Контейнер списка статей */
.blog-master-children {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

/* Карточка одного материала */
.blog-child-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-child-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Заголовок */
.child-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    line-height: 1.3;
    color: #1a1a1a;
}

/* Кнопка "Читать" */
.btn-read {
    display: inline-block;
    background-color: #0077cc;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 30px;
    transition: background-color 0.2s ease, transform 0.1s;
    text-align: center;
}

.btn-read:hover {
    background-color: #005fa3;
    color: #fff;
    transform: scale(1.02);
}

.btn-read:active {
    transform: scale(0.98);
}

/* Адаптив для маленьких экранов */
@media (max-width: 640px) {
    .blog-master-children {
        gap: 20px;
    }
    .child-title {
        font-size: 1.25rem;
    }
    .btn-read {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}


        .septic-master-card {
            max-width: 1280px;
            margin: 0 auto;
            font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
            line-height: 1.4;
            color: #1e293b;
        }

        /* ОСНОВНОЙ БЛОК: гибкий, с тенью, скруглениями */
        .septic-master-card__container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: stretch;
            gap: 2rem;
            background: #ffffff;
            border-radius: 2rem;
            box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.02);
            padding: 2rem 2rem 2rem 2rem;
            transition: all 0.2s ease;
            border: 1px solid #e9edf2;
        }

        /* ЛЕВАЯ ЧАСТЬ: текст + акценты */
        .septic-master-card__left {
            flex: 2;
            min-width: 240px;
        }

        /* ПРАВАЯ ЧАСТЬ: колонка со ссылками */
        .septic-master-card__right {
            flex: 1.2;
            min-width: 220px;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
        }

        /* Заголовок левой части */
        .septic-master-card__title {
            font-size: 1.75rem;
            font-weight: 700;
            margin: 0 0 0.75rem 0;
            color: #0f172a;
            letter-spacing: -0.01em;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .septic-master-card__title span {
            background: linear-gradient(135deg, #0f2b3d 0%, #1b4a2e 100%);
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
        }

        /* Выделение стажа и оборудования */
        .highlight {
            background: #eef6f0;
            color: #166534;
            font-weight: 600;
            padding: 0.1rem 0.3rem;
            border-radius: 12px;
            display: inline-block;
        }

        .septic-master-card__desc {
            font-size: 1rem;
            line-height: 1.5;
            color: #2c3e4e;
            margin: 0 0 1.25rem 0;
        }

        /* Небольшой список преимуществ (наглядность) */
        .feature-list {
            list-style: none;
            padding: 0;
            margin: 0 0 1.5rem 0;
            display: flex;
            flex-direction: column;
            gap: 0.7rem;
        }

        .feature-list li {
            display: flex;
            align-items: center;
            gap: 0.7rem;
            font-size: 0.95rem;
            color: #1e2f3e;
        }

        .feature-list li::before {
            content: "✅";
            font-size: 1.1rem;
            display: inline-block;
            width: 1.4rem;
        }

        /* Дополнительный призыв / подпись */
        .master-signature {
            font-size: 0.95rem;
            background: #f8fafc;
            padding: 0.8rem 1rem;
            border-radius: 1.2rem;
            border-left: 4px solid #2b7e3a;
            color: #14532d;
            font-weight: 500;
            margin-top: 0.5rem;
        }

        /* Стили для ссылок-кнопок (правый блок) */
        .service-links-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            width: 100%;
        }

        .service-link {
            display: flex;
            align-items: center;
            gap: 0.85rem;
            background: #f9fbfd;
            padding: 1rem 1.2rem;
            border-radius: 1.2rem;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.05rem;
            color: #1e2f3e;
            transition: all 0.25s ease;
            border: 1px solid #e2e8f0;
            box-shadow: 0 1px 2px rgba(0,0,0,0.02);
        }

        /* иконка-эмодзи внутри ссылки */
        .service-link .service-icon {
            font-size: 1.6rem;
            line-height: 1;
            filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
        }

        .service-link .service-text {
            flex: 1;
        }

        /* ховер эффект: смещение, цвет фона, бордер */
        .service-link:hover {
            background: #eef4ff;
            border-color: #b9d0f0;
            transform: translateX(6px);
            box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.12);
            color: #0f3b2c;
        }

        .service-link:active {
            transform: translateX(2px);
            transition: 0.05s;
        }

        /* небольшой заголовок над ссылками */
        .services-headline {
            font-size: 1.2rem;
            font-weight: 600;
            margin: 0 0 1rem 0;
            color: #0f172a;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            letter-spacing: -0.2px;
            border-bottom: 2px solid #e2e8f0;
            padding-bottom: 0.5rem;
        }

        .services-headline:before {
            content: "🛠️";
            font-size: 1.3rem;
        }

        /* Адаптивность: на планшетах и телефонах колонки идут друг под другом */
        @media (max-width: 780px) {
            .septic-master-card__container {
                flex-direction: column;
                padding: 1.5rem;
                gap: 1.8rem;
            }
            .septic-master-card__right {
                width: 100%;
            }
            .service-link:hover {
                transform: translateX(4px);
            }
            .septic-master-card__title {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .septic-master-card__container {
                padding: 1.2rem;
                border-radius: 1.5rem;
            }
            .service-link {
                padding: 0.8rem 1rem;
                font-size: 0.95rem;
            }
            .service-link .service-icon {
                font-size: 1.4rem;
            }
        }

        /* для очень больших экранов — не растягивается безобразно */
        @media (min-width: 1400px) {
            .septic-master-card {
                max-width: 1400px;
            }
        }