﻿.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 24px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin: 160px 0 40px;
    color: orange;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;

}

.tab {
    background: none;
    border: none;
    padding: 10px 6px;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    position: relative;
    transition: color .25s ease;

}

    .tab::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -6px;
        width: 0;
        height: 2px;
        background: orange;
        transition: width .25s ease;
    }

    .tab.active {
        color: #0f172a;
        font-weight: 700;
    }

        .tab.active::after {
            width: 100%;
        }

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

.vertical-list {
    max-width: 720px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

    .vertical-list li {
        background: #fff;
        margin-bottom: 14px;
        padding: 16px 18px 16px 56px;
        border-radius: 12px;
        font-size: 15px;
        color: #0f172a;
        box-shadow: 0 8px 22px rgba(0,0,0,.08);
        position: relative;
        transition: transform .25s ease, box-shadow .25s ease;
        cursor: pointer;
    }

        .vertical-list li a {
            text-decoration: none;
            color: inherit;
            display: block;
        }

        .vertical-list li::after {
            content: "→";
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: orange;
            font-weight: 700;
            opacity: .6;
            transition: all .25s ease;
        }

        .vertical-list li::before {
            content: "\f15c";
            font-family: "Font Awesome 6 Free";
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            font-weight: 900;
            color: #08162a;
        }

        .vertical-list li:hover {
            transform: translateY(-3px);
            box-shadow: 0 14px 30px rgba(0,0,0,.12);
            color:orange;
        }

            .vertical-list li:hover::after {
                opacity: 1;
                transform: translateY(-50%) translateX(4px);
            }

.articles-list li {
    cursor: pointer;
}

    .articles-list li a {
        text-decoration: none;
        color: inherit;
        display: block;
    }

        .articles-list li::after {
        content: "→";
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%) translateX(-6px);
        opacity: 0;
        transition: all .25s ease;
        color: orange;
    }

    .articles-list li:hover::after {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }

@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
    }

    .tabs {
        flex-wrap: wrap;
        gap: 14px;
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

.articles-grid {
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 32px;
}

    .articles-grid li {
        margin-bottom: 0;
    }


.test-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}


.test-block {
    background: #fff;
    padding: 20px 18px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

    .test-block h4 {
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 16px;
        color: orange;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .test-block ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .test-block li {
        margin-bottom: 10px;
    }

    .test-block a {
        text-decoration: none;
        font-size: 14px;
        color: #475569;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        transition: color .2s ease;
    }

        .test-block a:hover::after {
            opacity: 1;
            transform: translateX(4px);
        }

@media (max-width: 991px) {
    .test-grid {
        grid-template-columns: 1fr;
    }
}
