/* Стили только для первого экрана страницы course_electrician.html. */
.electrician-hero .electrician-hero__content {
    justify-content: center;
}

.electrician-hero .electrician-hero__features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: min(100%, 960px);
    margin-top: 80px;
    counter-reset: electrician-feature;
}

.electrician-hero .electrician-hero__feature {
    position: relative;
    overflow: hidden;
    min-width: 0;
    min-height: 170px;
    padding: 42px 18px 18px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(15, 23, 31, 0.9), rgba(5, 11, 17, 0.76));
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
    counter-increment: electrician-feature;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    -webkit-backdrop-filter: blur(9px) saturate(120%);
    backdrop-filter: blur(9px) saturate(120%);
}

.electrician-hero .electrician-hero__feature::before {
    content: "0" counter(electrician-feature);
    position: absolute;
    top: 15px;
    left: 18px;
    color: #4fc1ff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1.4px;
}

.electrician-hero .electrician-hero__feature::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #00a3ff 0%, rgba(0, 163, 255, 0.15) 72%, transparent 100%);
}

.electrician-hero .electrician-hero__feature-title {
    margin-bottom: 10px;
    color: #fff;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.1px;
}

.electrician-hero .electrician-hero__feature-text {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12.5px;
    line-height: 1.42;
}

.electrician-hero .electrician-hero__plus {
    display: inline-block;
    margin: 0 2px;
    color: #00a3ff;
    font-size: 1.18em;
    line-height: 0;
}

@media (hover: hover) and (pointer: fine) {
    .electrician-hero .electrician-hero__feature:hover {
        border-color: rgba(79, 193, 255, 0.55);
        background: linear-gradient(145deg, rgba(19, 31, 41, 0.94), rgba(6, 15, 23, 0.82));
        transform: translateY(-3px);
    }
}

@media (max-width: 991px) {
    .electrician-hero .electrician-hero__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(100%, 680px);
    }

    .electrician-hero .electrician-hero__feature {
        min-height: 145px;
        padding-top: 40px;
    }
}

@media (max-width: 767px) {
    .electrician-hero .electrician-hero__content {
        min-height: 0;
        padding-top: 80px;
        padding-bottom: 20px;
    }

    .electrician-hero .electrician-hero__features {
        display: flex;
        gap: 10px;
        width: 100%;
        margin-top: 18px;
        margin-right: -20px;
        padding-right: 20px;
        padding-bottom: 8px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline mandatory;
        scrollbar-width: thin;
    }

    .electrician-hero .electrician-hero__feature {
        flex: 0 0 min(72vw, 245px);
        min-height: 155px;
        padding: 40px 16px 17px;
        border-radius: 14px;
        scroll-snap-align: start;
    }

    .electrician-hero .electrician-hero__feature-title {
        margin-bottom: 8px;
        font-size: 14px;
    }

    .electrician-hero .electrician-hero__feature-text {
        font-size: 11.5px;
    }
}

@media (max-width: 479px) {
    .electrician-hero .electrician-hero__features {
        margin-right: -12px;
        padding-right: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .electrician-hero .electrician-hero__features {
        scroll-behavior: auto;
    }
}
.electrician-hero .electrician-hero__feature::before {
    display: none;
}

.electrician-hero .electrician-hero__feature {
    padding-top: 18px;
}