/* Привет */
.about-hello {
    padding: 60px 0;
}

.about-hello .img-wrapper {
    min-width: 300px;
    transform: rotate(-1.84deg);
}

.about-hello .img-wrapper.pin::before {
    left: 15px;
}

.about-hello .img-wrapper img {
    width: 310px;
    height: 360px;
    object-fit: cover;
    border: 4px solid var(--main);
}

.about-hello .header {
    font-family: Noto Serif;
    font-weight: 600;
    font-style: Italic;
    font-size: 35px;
    line-height: 112.99999999999999%;
    margin: 4px 50px;
}

.about-hello .header::before {
    background-color: var(--red);
}

.about-hello .header-after {
    font-family: Noto Serif;
    font-weight: 600;
    font-style: Italic;
    font-size: 35px;
    line-height: 112.99999999999999%;
    margin: 0;

}

.about-hello .columns-to-rows {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto 1fr;
    gap: 40px;
    /* можно убрать или настроить */
    align-items: start;
}

.about-hello .columns-to-rows .txt {
  grid-column: 2;
  grid-row: 1;
}

.about-hello .columns-to-rows .text {
  grid-column: 2;
  grid-row: 2;
}

.about-hello .columns-to-rows .img {
  grid-column: 1;
  grid-row: 1 / 3; /* растягивается на 2 строки */
}

/*
.about-hello .header-after::before {
    transform: rotate(0.9deg);
}*/

.about-hello .text {
    border-left: 5px solid var(--blue);
    padding: 10px 20px;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    line-height: 120%;
}

.about-hello .header-before {
    margin: 70px 0 40px 0;
    font-family: Noto Serif;
    font-weight: 600;
    font-style: Italic;
    font-size: 35px;
    line-height: 112.99999999999999%;
}

/*
.about-hello .header-before::before {
    transform: rotate(-0.6deg);
}*/

.about-hello .list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.about-hello .list .item {
    padding: 20px;
    background-color: var(--blue-trans2);
    font-family: Inter Tight;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: space-between;
    position: relative;
}

.about-hello .list .item:nth-child(5)::before {
    content: url(/wp-content/themes/selfstartglobal/images/pin_main.svg);
    position: absolute;
    bottom: -20px;
    right: 5%;
    transform: translateX(-50%);
    z-index: 10;
    width: 30px;
    height: auto;
    pointer-events: none;
}

.about-hello .list .item .title {
    font-family: Noto Serif;
    font-weight: 600;
    font-style: Italic;
    font-size: 35px;
    line-height: 101%;
    color: var(--main);
    flex-grow: 1;
}

.about-hello .list .item .title.smaller {
    font-family: Noto Serif;
    font-weight: 600;
    font-style: Italic;
    font-size: 25px;
    line-height: 115.99999999999999%;
}

@media (max-width: 1024px) {
    .about-hello .img-wrapper img {
        border-width: 2px;
    }

    .about-hello .columns-to-rows {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        grid-template-columns: auto;
        grid-template-rows: auto;
        align-items: stretch;
    }

    .about-hello .img-wrapper {
        min-width: 155px;
    }

    .about-hello .img-wrapper img {
        width: 155px;
        height: 210px;
    }

    .about-hello .columns-to-rows .img {
        width: 40%;
        flex-grow: 1;
        grid-column: auto;
        grid-row: auto;
    }

    .about-hello .img-wrapper.pin::before {
        content: url(/wp-content/themes/selfstartglobal/images/pin2.svg);
    }

        .about-hello .columns-to-rows .txt {
            width: 40%;
            flex-grow: 1;
            grid-column: auto;
            grid-row: auto;
            text-align: center;
              display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 0;
        }


        .about-hello .columns-to-rows .text {
            width: 100%;
            grid-column: auto;
            grid-row: auto;
            border-left: 3px solid var(--blue);
            padding: 8px 10px;
            font-weight: 500;
            font-size: 13px;
            line-height: 120%;
        }

    .about-hello .header {
        font-size: 22px;
        line-height: 110%;
        margin: 0 0 4px 0;
        padding: 3px 6px;

    }

    .about-hello .header-after {
        font-size: 22px;
        line-height: 110%;
        padding: 3px 6px;
    }

    .about-hello .header-before {
        margin: 50px 0 30px 0;
        font-size: 23px;
    }

    .about-hello .list {
        display: flex;
        /* grid-template-columns: 1fr 1fr 1fr; */
        gap: 8px;
        flex-wrap: wrap;
    }

    .about-hello .list .item {
        padding: 10px 10px 15px 10px;
        font-size: 13px;
        flex-grow: 1;
        width: 40%;
    }

    .about-hello .list .item:nth-child(3n) {
        width: 90%;
    }

    .about-hello .list .item .title {
        font-size: 20px;
    }

    .about-hello .list .item .title.smaller {
        font-size: 18px;
    }

}


/* поступим */
.about-guaranteed {
    padding: 60px 0;
    background: var(--main) url("/wp-content/themes/selfstartglobal/images/graduate.png");
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: auto;
}

.about-guaranteed .header,
.about-guaranteed .header-after {
    font-family: Noto Serif;
    font-weight: 600;
    font-style: Italic;
    font-size: 40px;
    line-height: 112.99999999999999%;
    margin: 0;
}

/*
.about-guaranteed .header {
    margin-bottom: 5px;
}*/

/*
.about-guaranteed .header::before {
    transform: rotate(-0.79deg);
}

.about-guaranteed .header-after::before {
    transform: rotate(0deg);
}*/

.about-guaranteed .text {
    max-width: 600px;
    font-family: Inter Tight;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 120%;
    padding: 20px;
    background-color: var(--grey);
    margin: 40px 0 70px 0;
    position: relative;
}

.about-guaranteed .text:before {
    left: unset;
    top: unset;
    right: 2%;
    bottom: -35px;
}

@media (max-width: 1024px) {
    .about-guaranteed {
        padding: 50px 0;
        background: var(--main) url(/wp-content/themes/selfstartglobal/images/graduate_mob.png);
        background-position: right center;
        background-repeat: no-repeat;
        background-size: 170px;;
    }

    .about-guaranteed .header, .about-guaranteed .header-after {
        font-size: 25px;
        padding: 3px 7px;
    }

    .about-guaranteed .text {
        padding: 18px;
        margin: 35px 0 45px 0;
        font-size: 13px;
        line-height: 130%;
    }

    .about-guaranteed .text:before {
        content: url(/wp-content/themes/selfstartglobal/images/pin2.svg);
        right: 3%;
        bottom: -16px;
        transform: rotate(60deg);
    }
}

/* Миссия */
.about-mission {
    padding: 52px 0 80px 0;
    background-color: var(--blue-bg);
    background-image: url(/wp-content/themes/selfstartglobal/images/line-dotted.png);
    background-repeat: repeat-x;
    background-position: center center;
}

.about-mission .header {
    font-family: Noto Serif;
    font-weight: 600;
    font-style: Italic;
    font-size: 40px;
    line-height: 112.99999999999999%;
    white-space: nowrap;
    margin: 0;
    position: relative;
    bottom: -28px;
}

.about-mission .header:before {
    background-color: var(--red);
    /* transform: rotate(-0.79deg); */
}

.about-mission .columns-to-rows {
    gap: 0px;
    flex-direction: column;
    width: 710px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.about-mission .text {
    padding: 60px 80px;
    background-color: var(--white);
    font-family: Inter Tight;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    line-height: 120%;
    position: relative;
}

.about-mission .text::before {
    top: unset;
    left: unset;
    bottom: -35px;
    right: 2%;
}

@media (max-width: 1024px) {
    .about-mission {
        padding: 50px 0;
    }

    .about-mission .columns-to-rows {
        width: 100%;
        gap: 23px;
        align-items: start;
    }

    .about-mission .header {
        bottom: 0;
        font-size: 25px;
        padding: 3px 7px;
    }

    .about-mission .text {
        padding: 18px;
        font-size: 13px;
    }

    .about-mission .text::before {
        top: -20px;
        left: unset;
        bottom: unset;
        right: 1%;
        content: url(/wp-content/themes/selfstartglobal/images/pin2.svg);
        transform: rotate(60deg);
    }
}

/* Преимущества */
.about-advantages {
    padding: 60px 0;
    background-color: var(--blue-bg);
    position: relative;
}

.about-advantages .flag {
    position: absolute;
    top: 60px;
    right: 70px;
    z-index: 0;
}

.about-advantages .header {
    font-family: Noto Serif;
    font-weight: 600;
    font-style: Italic;
    font-size: 40px;
    line-height: 112.99999999999999%;
    margin: 0 0 90px 0;
    /* transform: rotate(-0.79deg); */
}

.about-advantages .header:before {
    background-color: var(--red);
    /* transform: rotate(-0.79deg); */
}


@media (min-width: 1024px) {
  .about-advantages .list {
    column-count: 3;
    column-gap: 20px; /* отступ между колонками */
  }

  .about-advantages .list .item {
    break-inside: avoid;
    margin-bottom: 20px;
  }
}

.about-advantages .list .item {
    padding: 20px;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.about-advantages .list .item .title {
    font-family: Noto Serif;
    font-weight: 600;
    font-style: Italic;
    font-size: 25px;
    line-height: 100%;
    color: var(--main);
}

.about-advantages .list .item .text {
    font-family: Inter Tight;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0%;
}

.about-advantages .list .item .text blockquote {
    border-left: 2px solid var(--red);
    padding-left: 15px;
    margin: 0;
    margin-top: 15px;
    font-family: Noto Serif;
    font-weight: 500;
    font-style: Italic;
    font-size: 16px;
    line-height: 110.00000000000001%;
    letter-spacing: 0%;
    color: var(--main);
}

.about-advantages .list .item:before {
    left: 8px;
    top: -13px;
    content: url(/wp-content/themes/selfstartglobal/images/pin2.svg);
}

.about-advantages .list .item:last-child {
    border: 1px solid var(--red);
}

.about-advantages .header-add {
    text-align: center;
    font-family: Noto Serif;
    font-weight: 600;
    font-style: Italic;
    font-size: 30px;
    line-height: 100%;
    text-align: center;
    color: var(--main);
    margin: 50px 0 30px 0;
}

.about-advantages  .button_block {
    text-align: center;
}

@media (max-width: 1024px) {
    .about-advantages {
        padding: 50px 0;
    }

    .about-advantages .header {
        font-size: 25px;
        margin-bottom: 40px;
    }

    .about-advantages .list {
        display: flex;
        flex-direction: column;
        gap: 21px;
    }

    .about-advantages .list .item:before {
        left: unset;
        right: 1%;
        transform: rotate(60deg);
    }

    .about-advantages .list .item {
        padding: 18px;
        gap: 13px;
    }

    .about-advantages .list .item .title {
        font-size: 20px;
        line-height: 100%
    }

    .about-advantages .list .item .text {
        font-size: 13px;
        line-height: 130%;
    }

    .about-advantages .list .item .text blockquote {
        font-size: 15px;
        line-height: 110%;
        padding-left: 11px;
    }

    .about-advantages .flag {
        display: block;
        position: relative;
        top: unset;
        right: unset;
        margin-left: auto;
        margin-right: auto;
        margin-top: 21px;
        margin-bottom: 21px;
    }

    .about-advantages .header-add {
        font-size: 20px;
        line-height: 100%;
        margin-top: 21px;
        margin-bottom: 27px;
    }
}

/* FAQ */
/* Часто задаваемые вопросы */ 
.about-faq {
    padding: 60px 0;
}

.about-faq .header {
    margin: 0px 0 50px 0;
    font-family: Noto Serif;
    font-weight: 600;
    font-style: Italic;
    font-size: 40px;
    line-height: 112.99999999999999%;
}
/*
.about-faq .header::before {
    transform: rotate(-0.21deg);
}*/


.about-faq .accordion {
    margin: 0;
}

@media (max-width: 1024px) {
    .about-faq {
        padding: 50px 0;
    }

    .about-faq .header {
        font-size: 25px;
        padding: 3px 8px;
        margin-bottom: 35px;
    }
}

/* Менеджеры */
.about-managers {
    padding: 60px 0;
    background-color: var(--blue-bg);
}

.about-managers .site-main {
    position: relative;
}

.about-managers .site-main .flag2 {
    position: absolute;
    bottom: 10%;
    left: calc(75% - 20px);
    transform: translateX(-50%);
    z-index: 0;
    width: 350px;
}

.about-managers .header {
    margin: 0px 0 50px 0;
    font-family: Noto Serif;
    font-weight: 600;
    font-style: Italic;
    font-size: 40px;
    line-height: 112.99999999999999%;
}
/*
.about-managers .header::before {
    transform: rotate(-0.53deg);
}*/

.about-managers .list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}

.about-managers .list .item {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 25px;
    background-color: var(--white);
    border-radius: 19px;
    font-family: Noto Serif;
    font-weight: 600;
    font-style: Italic;
    font-size: 25px;
    line-height: 1em;
    color: var(--main);
    align-items: center;
    text-align: center;
    z-index: 1;
}

.about-managers .list .item img {
    width: 130px;
    height: 130px;
    border-radius: 65px;
}

@media (max-width: 1024px) {
    .about-managers {
        padding: 50px 0;
    }

    .about-managers .header {
        font-size: 25px;
        margin-bottom: 40px;
    }

    .about-managers .list {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .about-managers .list .item {
        gap: 15px;
        font-size: 18px;
        line-height: 100%;
        padding: 15px;
    }

    .about-managers .list .item img {
        width: 75px;
        height: 75px;
    }

    .about-managers .site-main .flag2 {
        display: none;
    }
}