/* Основная секция */

.about {
    padding: 150px 0 50px 0;
    background-color: #ffffff;
    font-family: "DM Sans", sans-serif;
}
@media (min-width: 768px) {
    .about {
        padding: 250px 0 100px 0;
    }
}

/* Заголовок секции */
.about__title {
    font-size: 32px;
    font-weight: 700;
    color: #222222;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
    position: relative;
    padding-bottom: 20px;
}

.about__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--thm-base, #e63a27);
}

.about__paragraph {
    font-size: 18px;
    line-height: 1.6;
    color: #666666;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.about ol {
    list-style: none;
    padding: 0;
    counter-reset: section-counter;
}

.about ol > li {
    position: relative;
    background-color: #f9f9f9;
    padding: 30px 30px 30px 40px;
    margin-bottom: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--thm-base, #e63a27);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    counter-increment: section-counter;
    transition: transform 0.3s ease;
}

.about ol > li:hover {
    transform: translateY(-3px);
}

.about ol > li h3 {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.about ol > li h3::before {
    content: counter(section-counter) ". ";
    font-size: 24px;
    color: var(--thm-base, #e63a27);
    margin-right: 10px;
    font-weight: 800;
}

.about ol > li p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.about ol > li ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.about ol > li ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #444;
    line-height: 1.5;
}

.about ol > li ul li::before {
    content: "\f00c";
    font-family: "FontAwesome";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--thm-base, #e63a27);
    font-size: 14px;
}

.about ol > li ul li strong {
    color: #222;
    font-weight: 600;
    margin-right: 5px;
}

.about a {
    color: var(--thm-base, #e63a27);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.about a:hover {
    color: #222;
}

@media (max-width: 767px) {
    .about__title {
        font-size: 24px;
    }

    .about__paragraph {
        font-size: 16px;
        text-align: left;
    }

    .about ol > li {
        padding: 20px 15px 20px 20px;
    }

    .about ol > li h3 {
        font-size: 18px;
        align-items: flex-start;
    }
}
