﻿.legal-articles-section {
    padding: 50px 0;
    font-family: var(--font-family-secondary);
}

.legal-articles-area {
    display: flex;
    flex-direction: column;
    row-gap: 32px;
    padding: 36px 48px;
    border: 1px solid #E3E3E3;
    border-radius: 8px;
}

.legal-articles-top {
    display: flex;
    flex-direction: column;
    row-gap: 32px;
}

.legal-articles-bottom {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.legal-articles-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 38px;
    text-align: left;
    color: #151515;
}

.legal-articles-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #444444;
}

.legal-articles-bottom-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    text-align: left;
    color: #151515;
}

.legal-articles-bottom-description ol, .legal-articles-bottom-description ul {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    padding: 0 16px;
    margin: 0;
}

    .legal-articles-bottom-description ol li, .legal-articles-bottom-description ul li {
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        text-align: left;
        color: #444444;
    }

.legal-articles-bottom-description-and-information {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.legal-articles-bottom-information {
    padding: 1rem;
    display: flex;
    column-gap: 10px;
    background: #F2F4F7;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #444444;
}

    .legal-articles-bottom-information svg {
        width: 20px;
        height: 20px;
        min-width: 20px;
        min-height: 20px;
    }

@media only screen and (max-width: 1199px) {
    .legal-articles-title {
        font-size: 26px;
        line-height: 36px;
    }

    .legal-articles-description {
        font-size: 15px;
        line-height: 23px;
    }
}

@media only screen and (max-width: 991px) {
    .legal-articles-section {
        padding: 20px 0;
    }

    .legal-articles-title {
        font-size: 24px;
        line-height: 34px;
    }

    .legal-articles-description {
        font-size: 15px;
        line-height: 23px;
    }

    .legal-articles-bottom-description ol li, .legal-articles-bottom-description ul li {
        font-size: 15px;
        line-height: 23px;
    }

    .legal-articles-bottom-information {
        font-size: 15px;
        line-height: 23px;
    }
}

@media only screen and (max-width: 767px) {
    .legal-articles-title {
        font-size: 22px;
        line-height: 32px;
    }

    .legal-articles-description {
        font-size: 14px;
        line-height: 22px;
    }

    .legal-articles-bottom-description ol li, .legal-articles-bottom-description ul li {
        font-size: 14px;
        line-height: 22px;
    }

    .legal-articles-bottom-information {
        font-size: 14px;
        line-height: 22px;
    }
}

.legal-menu-container {
    border: 1px solid #E3E3E3;
    border-radius: 8px;
    padding: 10px 0;
}

.legal-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .legal-menu-list li {
        padding: 0 24px;
        margin: auto;
        width: 85%;
        border-bottom: 1px solid #E3E3E3;
        text-wrap: nowrap;
    }

        .legal-menu-list li:last-child {
            border-bottom: none;
        }

    .legal-menu-list a {
        display: block;
        padding: 16px 24px;
        color: var(--color-dark);
        font-weight: 500;
        font-size: 1rem;
        text-decoration: none;
        transition: all 0.2s ease-in-out;
    }

        .legal-menu-list a:hover {
            background-color: #f8f9fa;
            color: #111;
        }

        .legal-menu-list a.active {
            color: #FFC107;
            font-weight: 600;
        }

.legal-menu-mobile {
    display: none;
}

@media (max-width: 1200px) {
    .legal-menu-desktop {
        display: none;
    }

    .legal-menu-mobile {
        display: block;
        margin-bottom: 20px;
    }

    .legal-articles-area {
        padding: 12px 12px;
        border: none;
    }

    .legal-menu-container {
        border: none !important;
        box-shadow: none;
        background-color: transparent;
        padding: 0;
        overflow: hidden;
        margin-bottom: 20px;
    }

    .legal-menu-list.owl-carousel {
        padding: 0 15px;
        margin: 0 -15px;
    }

    .legal-menu-list li {
        padding: 0px;
        border-bottom: none;
    }

    .legal-menu-list a {
        padding: 10px 16px;
        border: 1px solid #e0e0e0;
        border-radius: 20px;
        background-color: #f8f9fa;
        font-size: 0.9rem;
    }

        .legal-menu-list a.active {
            color: var(--color-primary);
        }

    .legal-menu-list .owl-stage {
        display: flex;
        align-items: center;
    }

    .legal-menu-list .owl-item {
        width: auto !important;
        text-wrap: nowrap;
    }

    .legal-menu-list li {
        width: 100%;
    }
}
