/* >> */
section:has( .ours_services) {
    display: none;
}
/* >> */

.block_about_main {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    height: auto;
    background-color: var(--GnpG5_clr_background);
}

.about_main {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    z-index: 1;
}

.about_main .breadcrumbs {
    width: 174px;
    height: 11px;
    display: none;
}

.about_main h1 > span {
    color: var(--GnpG5_clr_gold_light);
}

.about_main_wrp .wave_bckgrnd {
    position: absolute;
    width: 100%;
    height: auto;
    left: 0;
    bottom: 0;
    transform: translateY(0%);
    z-index: -2;
    mask-image: linear-gradient(270deg, #000 39%, transparent 52%);
}

.block_about_main h1 {
    margin-bottom: 2.12em;
}

.about_year {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.about_year > p {
    max-width: 19.2em;
    margin-bottom: 20.6em;
    line-height: 1.35;
}

.txt_year {
    max-width: 56.5em;
    display: flex;
    flex-direction: column;
    gap: 0em;
    align-items: flex-start;
}

.txt_year > span:first-child {
    font-size: 12em;
    font-weight: 200;
    text-transform: uppercase;
}

.txt_year > span:last-child {
    color: var(--GnpG5_clr_river);
    font-weight: 200;
    text-transform: uppercase;
}

.about_main_wrp .bckgrnd_img {
    position: absolute;
    top: 35%;
    left: 0;
    width: 65.5em;
    aspect-ratio: 1048 / 896;
    z-index: -1;
    mask-image: linear-gradient(90deg, #000 34%, transparent 90%);
}

.about_main_wrp .bckgrnd_img img {
    height: 100%;
}

.about_main .h1 {
    text-transform: uppercase;
}

@media screen and (max-width: 981px) {
    .about_main_wrp {
        display: flex;
        flex-direction: column;
        margin-top: 4em;
    }

    .about_main_wrp > .about_main,
    .about_main > .about_year {
        display: contents;
    }

    .about_main .h1 {
        text-transform: uppercase;
    }

    .about_year {
        gap: 2em;
    }

    .about_year > p {
        max-width: none;
        margin-bottom: 10em;
        font-size: 1.3382em;
        font-weight: 300;
        line-height: 1.4;
        margin-bottom: 1em;
        order: 1;
    }

    .about_main_wrp .bckgrnd_img {
        position: relative;
        top: auto;
        left: auto;
        width: 100vw;
        margin-left: calc(-1 * var(--pad_horiz));
        aspect-ratio: 375/320;
        z-index: -1;
        order: 2;
        margin-bottom: 1em;
        mask-image: none;
    }

    .txt_year {
        max-width: none;
        gap: 1.5em;
        order: 3;
    }

    .txt_year > span:first-child {
        font-size: 5.8536em;
    }
    
    .txt_year > span:last-child {
        width: 80%;
        font-size: 1.626em;
        font-weight: 200;
    }

    .about_main_wrp .wave_bckgrnd {
        width: 100vw;
        transform: translateY(68%);
        mask-image: none;
    }
}