/* =========================================================================
   /o-kompanii2/ — страница «О фабрике» (новый шаблон portaprima-main).
   Все правила ограничены классом body .about2-page.
   Утилиты (grid/gap/text-center/…) берутся из
   /bitrix/templates/portaprima-main/css/utils.css
   ========================================================================= */

.about2-page {
    --ab-dark: #4A5261;
    --ab-gold: #C9A35C;
    --ab-red: #8F1913;
    --ab-red-hover: #8F342F;
    --ab-bg: #F3F2F3;
    --ab-band: #BBBBBB;
    --ab-text: #1D1D21;
    --ab-muted: #7C7C82;
    --ab-radius: 12px;
    --ab-pad: 60px;      /* совпадает с padding у .container */
    --ab-gap: 22px;      /* шаг карточек в горизонтальных скроллерах */
    background-color: var(--ab-bg);
}

@media (max-width: 1250px) {
    .about2-page { --ab-pad: 30px; }
}
@media (max-width: 1023px) {
    .about2-page { --ab-pad: 25px; }
}
@media (max-width: 590px) {
    .about2-page { --ab-pad: 12px; --ab-gap: 12px; }
}

/* --- Общая типографика ------------------------------------------------- */

.ab-section {
}

.ab-text {
    line-height: 1.45;
    color: var(--ab-text);
}
.ab-text p {
    margin: 0 0 16px;
}
.ab-text p:last-child {
    margin-bottom: 0;
}
.ab-text--lead {
    margin-bottom: 24px;
}
.ab-list {
    margin: 0 0 16px;
    padding-left: 24px;
    list-style: disc;
}
.ab-list li {
    margin-bottom: 6px;
}

/* --- Заглушки изображений ---------------------------------------------- */

.ab-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #C9C9C9;
    border-radius: 10px;
    color: #3D3D3D;
    font-size: 16px;
    text-align: center;
    overflow: hidden;
}
/* Когда заглушку заменили настоящей картинкой: она заполняет блок, а не растягивает его.
   Без этого img вылезает за границы: в шаблоне у img нет max-width, а min-width:auto
   не даёт flex-элементу сжаться ниже натуральной ширины. */
.ab-ph > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--ab-focus-x, 50%) var(--ab-focus-y, 50%);
}

/* Точка кадрирования: картинка мысленно делится на 4 строки и 4 столбца,
   класс ab-focus-<строка>-<столбец> на .ab-ph притягивает кроп к центру ячейки.
   Центры ячеек по оси = 12.5% / 37.5% / 62.5% / 87.5%. Без класса — центр (50%/50%).
   Работает только там, где кроп вообще есть (пропорции блока ≠ пропорций картинки).
   Для нестандартной точки можно задать переменные напрямую:
   style="--ab-focus-x:70%;--ab-focus-y:20%" */
.ab-focus-1-1, .ab-focus-1-2, .ab-focus-1-3, .ab-focus-1-4 { --ab-focus-y: 12.5%; }
.ab-focus-2-1, .ab-focus-2-2, .ab-focus-2-3, .ab-focus-2-4 { --ab-focus-y: 37.5%; }
.ab-focus-3-1, .ab-focus-3-2, .ab-focus-3-3, .ab-focus-3-4 { --ab-focus-y: 62.5%; }
.ab-focus-4-1, .ab-focus-4-2, .ab-focus-4-3, .ab-focus-4-4 { --ab-focus-y: 87.5%; }
.ab-focus-1-1, .ab-focus-2-1, .ab-focus-3-1, .ab-focus-4-1 { --ab-focus-x: 12.5%; }
.ab-focus-1-2, .ab-focus-2-2, .ab-focus-3-2, .ab-focus-4-2 { --ab-focus-x: 37.5%; }
.ab-focus-1-3, .ab-focus-2-3, .ab-focus-3-3, .ab-focus-4-3 { --ab-focus-x: 62.5%; }
.ab-focus-1-4, .ab-focus-2-4, .ab-focus-3-4, .ab-focus-4-4 { --ab-focus-x: 87.5%; }
.ab-ph--video {
    aspect-ratio: 16 / 5;
}
.ab-ph--dna {
    aspect-ratio: 16 / 7;
}
@media (min-width: 1024px) {
    /* в двухколоночной сетке картинка тянется по высоте текстовой колонки */
    .ab-ph--dna {
        aspect-ratio: auto;
        height: 100%;
        min-height: 260px;
    }
}
.ab-ph--value {
    aspect-ratio: 16 / 7;
}
.ab-ph--banner {
    aspect-ratio: 16 / 5;
}
.ab-ph--expert {
    aspect-ratio: 5 / 4;
    border-radius: var(--ab-radius) var(--ab-radius) 0 0;
}
.ab-ph--timeline {
    aspect-ratio: 5 / 3;
    border-radius: var(--ab-radius);
}
.ab-ph--step {
    aspect-ratio: 4 / 3;
    border-radius: var(--ab-radius) var(--ab-radius) 0 0;
}
.ab-ph--salon {
    aspect-ratio: 5 / 3;
    border-radius: var(--ab-radius) var(--ab-radius) 0 0;
}
.ab-ph--news {
    aspect-ratio: 3 / 2;
    background-color: #DCDCDC;
    border-radius: var(--ab-radius) var(--ab-radius) 0 0;
}
.ab-ph--review {
    width: 84px;
    height: 84px;
    flex-shrink: 0;
    background-color: #DCDCDC;
    border-radius: 8px;
}

@media (max-width: 749px) {
    .ab-ph--video,
    .ab-ph--value,
    .ab-ph--banner {
        aspect-ratio: 4 / 3;
    }
    .ab-ph--dna {
        aspect-ratio: 16 / 9;
    }
}

/* --- Интро ------------------------------------------------------------- */

.about2-page .ab-intro__text {
    max-width: 640px;
    color: #fff;
    font-size: 18px;
    line-height: 1.35;
}
.about2-page .intro_swing_button {
    width: 100%;
    max-width: 320px;
}

@media (max-width: 749px) {
    .about2-page .ab-intro__text {
        font-size: 16px;
    }
}

/* --- ДНК единого стиля ------------------------------------------------- */

.ab-dna {
    background-color: var(--ab-dark);
    color: #fff;
}
.ab-dna__head {
    display: flex;
    align-items: stretch;
    gap: 24px;
}
.ab-dna__dnk {
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--ab-gold);
}
.ab-dna__titles {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.ab-dna__title {
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0.04em;
}
.ab-dna__subtitle {
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}
@media (min-width: 360px) {
    .ab-dna__subtitle {
        letter-spacing: 0.18em;
    }
}
@media (max-width: 749px) {
    .ab-dna {
        padding-block: 26px;
    }
    .ab-dna__head {
        gap: 14px;
        margin-bottom: 16px;
    }
}
@media (min-width: 750px) {
    .ab-dna__subtitle {
        letter-spacing: 0.20em;
    }
}
@media (min-width: 1440px) {
    .ab-dna__title {
        line-height: 0.60;
    }
    .ab-dna__subtitle {
        line-height: 0.60;
        letter-spacing: 0.17em;
    }
}

/* --- Преимущества: тёмные карточки ------------------------------------- */

.ab-card-dark {
    position: relative;
    height: 100%;
    padding: 29px 14px 16px;
    background-color: var(--ab-dark);
    border-radius: var(--ab-radius);
    color: #fff;
}
.ab-card-dark__icon {
    float: right;
    margin: -27px -11px 0 12px;
    color: #fff;
}
.ab-card-dark__title {
    margin-bottom: 6px;
    font-weight: 400;
    line-height: 1.2;
}
.ab-card-dark__text {
    line-height: 1.35;
}

/* --- Ценности фабрики -------------------------------------------------- */

.ab-band {
    height: 10px;
    background-color: var(--ab-band);
}
.ab-value__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 18px;
    margin-bottom: 14px;
}
.ab-value__name {
    font-weight: bold;
    text-transform: uppercase;
    color: var(--ab-text);
}
.ab-value__note {
    font-weight: bold;
    text-transform: uppercase;
    color: #AEAEAE;
;
}

/* --- Горизонтальные скроллеры ------------------------------------------ */

.ab-scroller {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.ab-scroller::-webkit-scrollbar {
    display: none;
}
/* перетаскивание мышью (js), тач скроллит нативно */
.ab-scroller--draggable {
    cursor: grab;
}
.ab-scroller--dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
    user-select: none;
    -webkit-user-select: none;
}
.ab-scroller--dragging * {
    pointer-events: none;
}
.ab-scroller__track {
    display: flex;
    align-items: stretch;
    gap: var(--ab-gap);
    width: max-content;
    max-width: none;
    padding-inline: max(var(--ab-pad), calc((100vw - 1920px) / 2 + var(--ab-pad)));
}

/* Стрелки листания скроллера (по мотивам .comprehensiveSolutions_items_arrows).
   Ставятся отдельным блоком в .container рядом со скроллером своей .ab-section. */
.ab-arrows {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.ab-arrows--hidden {
    display: none;
}
.ab-arrows__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 0;
    border-radius: 6px;
    background-color: transparent;
    color: var(--ab-text);
    cursor: pointer;
    transition: .2s linear;
}
.ab-arrows__btn:hover {
    background-color: #fff;
}
.ab-arrows__btn:disabled {
    opacity: .35;
    cursor: default;
    background-color: transparent;
}

/* Вариант поверх заголовка секции: стрелки не занимают своей строки,
   а прижимаются к правому краю контента на уровне заголовка.
   right отсчитывается от padding-box .container, поэтому нужен отступ --ab-pad. */
.ab-section-head {
    position: relative;
}
.ab-arrows--float {
    position: absolute;
    right: var(--ab-pad);
    top: 50%;
    transform: translateY(-50%);
    margin-bottom: 0;
}
/* На узких экранах заголовок дотягивается до правого края — стрелки бы его перекрыли.
   Там листают свайпом, поэтому просто прячем. */
@media (max-width: 749px) {
    .ab-arrows--float {
        display: none;
    }
}

/* --- Наши эксперты ---------------------------------------------------- */

.ab-expert {
    display: flex;
    flex-direction: column;
    width: 344px;
    flex-shrink: 0;
    background-color: transparent;
    border: 1px solid #C3C3C3;
    border-radius: var(--ab-radius);
    overflow: hidden;
}
/* --- Развитие бренда (таймлайн) ---------------------------------------- */

.ab-timeline__item {
    position: relative;
    width: 435px;
    flex-shrink: 0;
}
.ab-timeline__arrow {
    height: 144px;
    background-color: #fff;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.ab-timeline__year-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    padding-block: 8px;
    margin-top: -70px;
}
/* красная линия «прошивает» карточки: заезжает в промежутки между ними */
.ab-timeline__year-wrap::before {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(-1 * var(--ab-gap) / 2 - 1px);
    right: calc(-1 * var(--ab-gap) / 2 - 1px);
    height: 2px;
    background-color: var(--ab-red);
}
.ab-timeline__item:first-child .ab-timeline__year-wrap::before {
    left: 0;
}
.ab-timeline__item:last-child .ab-timeline__year-wrap::before {
    right: 0;
}
.ab-timeline__year {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background-color: var(--ab-red);
    color: #fff;
    font-weight: 700;
}
.ab-timeline__text {
    padding: 16px 10px 0;
    line-height: 1.35;
    text-align: center;
    color: var(--ab-text);
}

@media (max-width: 749px) {
    .ab-timeline__item {
        width: 260px;
    }
    .ab-timeline__arrow {
        height: 144px;
    }
    .ab-timeline__year {
        width: 74px;
        height: 74px;
    }
}

/* --- Путь от проекта до решения --------------------------------------- */

.ab-step {
    display: flex;
    flex-direction: column;
    width: 338px;
    flex-shrink: 0;
    background-color: transparent;
    border: 1px solid #C3C3C3;
    border-radius: var(--ab-radius);
    overflow: hidden;
}
.ab-step__body {
    padding: 16px 18px 22px;
}
.ab-step__title {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--ab-text);
}
.ab-step__text {
    line-height: 1.35;
    color: #3D3D42;
}

/* На широких экранах все шаги помещаются в ряд: скроллинг выключаем,
   карточки растягиваются на равные доли вместо фиксированных 338px. */
@media (min-width: 1920px) {
    .ab-scroller--way {
        overflow: visible;
    }
    .ab-scroller--way .ab-scroller__track {
        width: auto;
    }
    .ab-scroller--way .ab-step {
        width: auto;
        min-width: 0;
        flex: 1 1 0;
    }
}

/* --- Салоны ----------------------------------------------------------- */

.ab-salon {
    display: flex;
    flex-direction: column;
    width: 315px;
    flex-shrink: 0;
    background-color: #fff;
    border: 1px solid #E6E6E6;
    border-radius: var(--ab-radius);
    overflow: hidden;
}
.ab-salon__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px 22px;
    font-size: 15px;
    color: var(--ab-text);
}
.ab-salon__name {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
}
.ab-salon__label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
}
.ab-salon__label-mark {
    flex-shrink: 0;
    color: var(--ab-red);
}
.ab-salon__hr {
    height: 1px;
    margin: 0;
    border: 0;
    background-color: #E0E0E0;
}
.ab-salon__row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.3;
}
.ab-salon__row--muted {
    color: var(--ab-muted);
}
@media (min-width: 1024px) {
    /* Карта — фоном справа, на месте пустой колонки .grid-lg-2.
       Ниже 1024px сетка схлопывается в одну колонку, и фон лёг бы на текст.
       contain вписывает картинку целиком по высоте блока (её задаёт текстовая
       колонка) и не даёт ей вылезти за половину ширины.
       background-origin: content-box — чтобы правый край и масштаб считались
       от контента, а не вместе с боковыми паддингами .container (60/30px). */
    .ab-salon-map {
        background: url('/bitrix/templates/portaprima-main/img/about/salons2.png') no-repeat;
        background-origin: content-box;
        background-position: calc(100vw/2 + 20px) center;
        background-size: contain;
        min-height: 500px;
    }
}
@media (min-width: 1920px) {
    .ab-salon-map {
        min-height: 550px;
    }
}
.ab-salon__icon {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--ab-red);
}
.ab-salon__route,
.ab-salon__phone {
    font-weight: 600;
    color: var(--ab-text);
}
.ab-salon__phones {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ab-salon__messengers {
    display: flex;
    gap: 10px;
    padding-left: 30px;
}
.ab-salon__messengers a {
    font-size: 0;
}
.ab-salon__installment {
    margin-top: auto;
    line-height: 1.3;
}

/* --- Станьте частью команды ------------------------------------------- */

.ab-invite {
    border: 1px solid #C3C3C3;
}
.ab-invite__title {
    margin-bottom: 14px;
}

@media (min-width: 1024px) {
    /* Раскладка блока «Станьте частью команды»:
         | ab-invite        | ab-resume |
         | ab-resume-banner | ab-resume |
       Общую высоту задаёт форма. auto/1fr: приглашение занимает ровно свой
       текст, весь остаток высоты достаётся баннеру.
       Ниже 1024px сетка в одну колонку и порядок берётся из вёрстки. */
    /* :has — дубль на случай, если отдаётся закэшированный HTML без класса:
       без grid-template-rows строки станут auto/auto, форма разделит лишнюю
       высоту поровну и приглашение растянется. */
    .ab-career-grid {
        grid-template-rows: auto 1fr;
    }
    .ab-invite {
        grid-column: 1;
        grid-row: 1;
        align-self: start;
    }
    .ab-resume {
        grid-column: 2;
        grid-row: 1 / span 2;
    }
    /* без сброса aspect-ratio (16/5 из .ab-ph--banner) баннер не растянется
       на всю строку — так же, как .ab-ph--dna в двухколоночной сетке */
    .ab-resume-banner {
        grid-column: 1;
        grid-row: 2;
        aspect-ratio: auto;
        height: 100%;
        min-height: 200px;
    }
}

.ab-resume {
    padding: 30px 40px 34px;
    background-color: #fff;
    border-radius: var(--ab-radius);
}
.ab-resume__title {
    margin-bottom: 26px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    color: var(--ab-text);
}
.ab-resume__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 780px;
    margin: 0 auto;
}
.ab-field {
    display: block;
    padding: 12px 18px;
    background-color: #EDEDED;
    border: 1px solid #DCDCDC;
    border-radius: 10px;
    cursor: text;
}
.ab-field__label {
    display: block;
    font-size: 16px;
    color: #3D3D42;
}
.ab-field__label i {
    color: var(--ab-red-hover);
    font-style: normal;
}
.ab-field__input {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 16px;
    color: var(--ab-text);
    outline: none;
}
.ab-field__input--area {
    min-height: 76px;
    resize: vertical;
}
.ab-field--file {
    cursor: default;
}
.ab-field__label--file {
    margin-bottom: 10px;
    color: var(--ab-muted);
}
.ab-file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: #fff;
    border: 1px solid #1D1D21;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}
.ab-agree {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.3;
    color: var(--ab-text);
}
.ab-agree__check {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--ab-red);
}
.ab-agree__text a {
    text-decoration: underline;
}
.ab-agree__text i {
    color: var(--ab-red-hover);
    font-style: normal;
}
.ab-submit {
    width: 100%;
    padding: 16px 20px;
    border: 0;
    border-radius: 10px;
    background-color: var(--ab-red-hover);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: .2s ease-out;
}
.ab-submit:hover {
    background-color: var(--ab-red);
}
.ab-resume__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    max-width: 780px;
    margin: 22px auto 0;
}
.ab-resume__contact--right {
    text-align: right;
}
.ab-resume__contact-title {
    margin-bottom: 6px;
    font-size: 16px;
    color: var(--ab-muted);
}
.ab-resume__phone {
    font-size: 18px;
    text-decoration: underline;
    color: var(--ab-text);
}
.ab-resume__messengers {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* --- Новости ---------------------------------------------------------- */

.ab-news {
    display: flex;
    flex-direction: column;
    width: 435px;
    flex-shrink: 0;
    background-color: #fff;
    border-radius: var(--ab-radius);
    overflow: hidden;
}
.ab-news__body {
    padding: 16px 18px 22px;
}
.ab-news__title {
    margin-bottom: 14px;
    font-size: 17px;
    font-weight: 700;
    color: var(--ab-text);
}
.ab-news__text {
    font-size: 15px;
    line-height: 1.35;
    color: #3D3D42;
}

/* --- Отзывы ----------------------------------------------------------- */

.ab-rating {
    margin-bottom: 22px;
}
.ab-rating__logo {
    display: block;
    width: 240px;
    max-width: 100%;
    height: auto;
    margin-bottom: 14px;
}
.ab-stars {
    display: inline-flex;
    gap: 4px;
    color: #FFAA00;
}
.ab-stars--sm {
    gap: 6px;
}
.ab-stat {
    height: 100%;
    padding: 16px;
    background-color: #E4E4E4;
    border-radius: var(--ab-radius);
}
.ab-stat__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.ab-stat__percent {
    color: #2FA84F;
}
.ab-stat__thumb {
    color: #2FA84F;
    width: 16px;
    height: 15px;
}
@media (min-width: 1440px) {
    .ab-stat__thumb {
        width: 18px;
        height: 17px;
        margin-left: 4px;
    }
}
@media (min-width: 1920px) {
    .ab-stat__thumb {
        width: 22px;
        height: 21px;
        margin-left: 8px;
    }
}
.ab-stat__count {
    color: #55555A;
}

.ab-review {
    width: 250px;
    flex-shrink: 0;
    padding-right: var(--ab-gap);
    border-right: 1px solid #D6D6D6;
}
.ab-scroller__track .ab-review:last-child {
    border-right: 0;
}
.ab-review__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.ab-review__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    color: #fff;
}
.ab-review__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 22px;
}
.ab-review__date {
    color: #1D1D21;
}
.ab-review__text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ab-review._open .ab-review__text {
    display: block;
    overflow: visible;
}
.ab-review__more {
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    color: #6A6A6A;
    cursor: pointer;
}
.ab-review__more:hover {
    color: var(--ab-text);
}
.ab-review__photos {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
@media (min-width: 750px) {
    .ab-review {
        width: 430px;
    }
    .ab-review__avatar {
        width: 70px;
        height: 70px;
    }
}
/* --- Сертификаты ------------------------------------------------------ */

.ab-cert {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}
.ab-cert__frame {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background-color: #fff;
    border-radius: var(--ab-radius);
    aspect-ratio: 4 / 5;
}
.ab-cert__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.ab-cert__name {
    font-size: 16px;
    line-height: 1.3;
    color: var(--ab-red-hover);
}
.ab-cert:hover .ab-cert__name {
    text-decoration: underline;
}

@media (max-width: 749px) {
    .ab-cert__name {
        font-size: 15px;
    }
}

/* --- Подключённые общие блоки ----------------------------------------- */

/* «Комплексные решения» — в макете только заголовок, без подзаголовка */
.about2-page .comprehensiveSolutions_subtitle {
    display: none;
}


.videovkabout {
     width:100%;
     min-height:440px;
}
.ab-ph--video {aspect-ratio: auto;}
.ab-ph--value {aspect-ratio: auto;}

.ab-invite p {
    line-height: 160%!important;
}
