/* app/static/css/containers/section.css */
/* Стили для секций */

.section {
    padding: 0 0 1.875rem 0;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.section__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    width: 100%;
    box-sizing: border-box;
}

.section--fullwidth .section__container {
    max-width: 100%;
    padding: 0;
}

.section__title {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: var(--app-font-size-3xl);
    font-weight: 700;
    line-height: 1.2;
}

.section__title--left {
    text-align: left;
}

.section__title--right {
    text-align: right;
}

.section__content {
    width: 100%;
}

@media (max-width: 768px) {
    .section {
        padding-bottom: 2.5rem;
    }

    .section__title {
        font-size: var(--app-font-size-2xl);
        margin-bottom: 1.875rem;
    }

    .section__container {
        padding: 0 0.9375rem;
    }
}

@media (max-width: 576px) {
    .section__title {
        font-size: var(--app-font-size-xl);
    }
}