/* Mobile-first styles for h1, h2, h3, h4, .container, .section */
/* Base styles (mobile-first) */
.container {
    margin: 0 16px;
    padding: 0;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

section {
    margin: 0;
}

.section {
    padding: 40px 12px;
    margin: 0;
    position: relative;
    z-index: 1;
}

.container, h1, h2, h3, h4 {
    margin-right: auto;
    margin-left: auto;
}
@media screen and (max-width: 767px){
    .container{
         margin-left: 16px;
        margin-right: 16px;
        box-sizing: border-box;
        width: calc( 100% - 32px );
    }
}
h1, h2, h3, h4 {
    margin-top: 0;
    font-family: var(--font-secondary);
}

h1, .header__title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -1.2px;
    /* text-align: center; */
    line-height: 1.1;
    margin: 0;
}

h2 {
    margin-bottom: 0;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    text-align: left;
    /* line-height: 1.2; */
}

h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.4px;
}

h4 {
    /* Base styles for h4 */
}

.section__bottom-text {
    text-align: center;
    font-size: 18px;
    line-height: 24px;
}

.section__bottom-link {
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px;
    margin-top: 16px;
}

.section__subtitle {
    text-align: left;
    font-size: 16px;
    font-weight: 400;
}

/* Tablet styles (768px and up) */
@media screen and (min-width: 768px) {
    .container {
        padding-left: 0;
        padding-right: 0;
        max-width: 678px;
        margin: 0 auto;
        position: relative;
    }

    .section {
        padding: 40px 0;
    }

    h1 {
        font-size: 40px;
    }

    h2, .section__title {
        font-size: 24px;
    }

    .section__subtitle {
        font-size: 16px;
        max-width: 100%;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        /* Tablet styles for h4 */
    }

    .section__bottom-text {
        font-size: 18px;
    }

    .section__bottom-link {
        font-size: 20px;
    }
}

/* Desktop styles (1024px and up) */
@media screen and (min-width: 1024px) {
    .container {
        max-width: 994px;
    }

    .section {
        padding: 64px 0;
    }

    h1 {
        font-size: 40px;
    }

    h2, .section__title {
        font-size: 20px;
        /* margin-bottom: 50px; */
    }

    .section__subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        /* Desktop styles for h4 */
    }

    .section__bottom-text {
        width: 100%;
        font-size: 20px;
    }

    .section__bottom-link {
        margin-left: auto;
        margin-right: auto;
        font-size: 20px;
    }
}

/* Large desktop styles (1280px and up) */
@media screen and (min-width: 1280px) {
    .container {
        max-width: 1126px;
    }

    .section {
        padding: 72px 0;
    }

    h1 {
        font-size: 60px;
        line-height: 70px;
        margin: 0 0 40px;
        max-width: 100%;
        text-align: left;
        letter-spacing: -.64px;
    }

    h2, .section__title {
        font-size: 28px;
        /* margin-bottom: 50px; */
    }

    .section__subtitle {
        font-size: 18px;
        line-height: 28px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        /* Large desktop styles for h4 */
    }

    .section__bottom-text {
        font-size: 20px;
    }

    .section__bottom-link {
        font-size: 20px;
    }
}

/* Extra large desktop styles (1600px and up) */
@media screen and (min-width: 1600px) {
    .container {
        max-width: 1296px;
    }

    .section {
        /* padding: 48px 0; */
    }

    h1 {
        font-size: 72px;
        margin-bottom: 50px;
    }

    h2, .section__title {
        font-size: 40px;
        margin-bottom: 8px;
    }

    .section__subtitle {
        font-size: 20px;
        line-height: 28px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        /* Extra large desktop styles for h4 */
    }

    .section__bottom-text {
        font-size: 20px;
    }

    .section__bottom-link {
        margin-top: 16px;
        font-size: 20px;
    }

    .v3 .section__title {
        font-size: 34px;
        font-style: normal;
        font-weight: 700;
        line-height: 40px;
        letter-spacing: -0.68px;
    }
}

/* Additional utility classes */
.bg--gray {
    background: linear-gradient(51deg, rgba(157, 179, 195, 0.10) 35.33%, rgba(224, 233, 238, 0.60) 57.88%, rgba(250, 254, 255, 0.80) 80.86%);
}

.bg--gray-gradient {
    background: linear-gradient(329deg, rgba(185, 205, 217, 0.10) 26.32%, #F1F6F7 81.28%);
}

.bg--light-blue {
    position: relative;
    overflow: hidden;
    background: linear-gradient(0deg, rgba(34, 121, 226, 0.24) 0%, rgba(34, 121, 226, 0.24) 100%), #FFF;
    padding-bottom: 100px;
    margin-bottom: -100px;
}

.bg--dark-blue {
    position: relative;
    overflow: hidden;
    background: linear-gradient(0deg, #0F182B 0.02%, rgba(22, 58, 107, 0.96) 50.57%, #2279E2 100%), #F6F9F9;
    margin-bottom: -100px;
    padding-bottom: 100px;
}

.bg--dark-blue .section__title, .bg--dark-blue .section__subtitle {
    color: #ffffff;
}

.bg--dark {
    position: relative;
    background: #0B2740;
    overflow: hidden;
}

.bg--white {
    background: rgba(255, 255, 255, 0.88);
}

.section--dark {
    text-align: center;
    background: var(--Black-Main);
    color: #ffffff;
}

.section--dark path {
    fill: #ffffff;
}

nav.category ul {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    gap: 4px;
    padding: 0;
    margin: 10px 0 0 16px;
}

nav.category li {
    font-family: Inter;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
}

nav.category a {
    color: var(--color-text);
    text-decoration: none;
}

.m-0 {
    margin: 0 !important;
}

.is--desktop {
    display: none !important;
}

.link {
    cursor: pointer;
    text-decoration: underline;
}

@media screen and (min-width: 1024px) {
    .is--desktop {
        display: block !important;
    }

    .is--mobile {
        display: none !important;
    }
}
