/* ==========================================================================
   Tinfo — Front Page
   ========================================================================== */

/* ---- Section tops -------------------------------------------------------- */
.news__top,
.orgs__top,
.articles__top {
    position: relative;
    z-index: 3;
}

/* ---- Main Title --------------------------------------------------------- */
.main-title {
    margin: 0 0 26px;
    padding: 0;
    font: 500 30px/1.32 Roboto, sans-serif;
    letter-spacing: -.5px;
    color: #171717;
}

.main-title__link {
    display: inline-block;
    vertical-align: top;
    text-decoration: none;
    color: inherit;
    transition: color .3s;
}

.main-title__link:hover {
    color: #555;
}

.main-title__text {
    padding: 0 1px 0 0;
    display: inline-block;
    vertical-align: top;
}

.main-title__icon {
    width: 20px;
    height: 22px;
    position: relative;
    top: 12px;
    display: inline-block;
    vertical-align: top;
}

.main-title__icon .st0 {
    fill: #d9d9d9;
}

/* ---- News Section ------------------------------------------------------- */
.news {
    margin: 25px 0;
    padding: 0 0 21px;
    border-bottom: 2px solid #efefef;
}

/* ---- Grid --------------------------------------------------------------- */
.fp-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Featured card spans 2 columns */
.fp-news-item--featured {
    grid-column: span 2;
}

/* ---- Card --------------------------------------------------------------- */
.fp-news-item__main {
    position: relative;
}

.fp-news-item__image-wrap {
    height: 210px;
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    text-decoration: none;
}

.fp-news-item--featured .fp-news-item__image-wrap {
    height: 380px;
}

.fp-news-item__image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-position: center center;
    background-size: cover;
    transition: .5s;
}

/* Gradient overlay */
.fp-news-item__image-wrap:before {
    content: "";
    width: 100%;
    height: 72px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .25) 50%, rgba(0, 0, 0, .6) 100%);
    pointer-events: none;
}

.fp-news-item--featured .fp-news-item__image-wrap:before {
    height: 100%;
}

/* Hover */
.fp-news-item__image-wrap:hover .fp-news-item__image {
    transform: scale(1.1);
}

/* ---- Content (regular cards) ------------------------------------------- */
.fp-news-item__content {
    height: 160px;
    padding: 16px 0 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.fp-news-item__all {
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.fp-news-item__title {
    margin: 0;
    padding: 0 0 10px;
    letter-spacing: -.03em;
    font: 500 20px/1.2 Roboto, sans-serif;
    color: #171717;
    flex-shrink: 0;
}

.fp-news-item__link {
    color: #1d1d1d;
    text-decoration: none;
    transition: color .3s;
}

.fp-news-item__link:hover {
    color: #555;
}

.fp-news-item__text {
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    margin: 0;
    font: 15px/1.5 Roboto, sans-serif;
    color: #404040;
}

.fp-news-item__info {
    flex-shrink: 0;
    padding: 0 0 7px;
    color: #a29e9e;
    font: 500 11px/1.5 Roboto, sans-serif;
    text-transform: uppercase;
    letter-spacing: .2px;
}

.fp-news-item__date {
    padding: 0 12px 0 0;
    display: inline-block;
}

.fp-news-item__cat {
    color: #a29e9e;
    text-decoration: none;
    font-weight: 500;
    transition: color .3s;
}

.fp-news-item__cat:hover {
    color: #000;
}

/* ---- Featured card content (over image) -------------------------------- */
.fp-news-item--featured .fp-news-item__content {
    width: 100%;
    height: auto;
    padding: 0 43px 17px;
    position: absolute;
    bottom: 0;
    z-index: 2;
    box-sizing: border-box;
    overflow: visible;
}

.fp-news-item--featured .fp-news-item__all {
    min-height: 0;
    flex: none;
    overflow: visible;
}

.fp-news-item--featured .fp-news-item__title {
    max-width: 480px;
    padding: 0 0 20px;
    letter-spacing: -.03em;
    font: 500 28px/1.4 Roboto, sans-serif;
}

.fp-news-item--featured .fp-news-item__link {
    color: #fff;
}

.fp-news-item--featured .fp-news-item__link:hover {
    color: #fff;
}

.fp-news-item--featured .fp-news-item__info {
    padding: 0 0 20px;
    color: rgba(255, 255, 255, .8);
}

.fp-news-item--featured .fp-news-item__date {
    color: rgba(255, 255, 255, .8);
}

.fp-news-item--featured .fp-news-item__cat {
    color: rgba(255, 255, 255, .8);
}

.fp-news-item--featured .fp-news-item__cat:hover {
    color: #fff;
}

/* ---- Responsive --------------------------------------------------------- */
@media screen and (max-width: 992px) {
    .fp-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fp-news-item--featured {
        grid-column: span 2;
    }

    /* На планшете показываем только 5 материалов: 1 featured + 4 обычных */
    .fp-news-item:not(.fp-news-item--featured):nth-child(n+6) {
        display: none;
    }

    .fp-news-item--featured .fp-news-item__content {
        padding: 0 30px 7px;
    }

    .fp-news-item--featured .fp-news-item__title {
        font: 500 22px/1.4 Roboto, sans-serif;
    }
}

@media screen and (max-width: 767px) {
    .fp-news-grid {
        display: block;
        position: relative;
    }

    /* Сбрасываем скрытие планшетных карточек — слайдер управляет сам */
    .fp-news-item:not(.fp-news-item--featured):nth-child(n+6) {
        display: block;
    }

    .main-title {
        margin: 15px 0 23px;
        text-align: center;
        font-size: 24px;
    }

    .main-title__link {
        display: inline-flex;
        align-items: center;
        vertical-align: top;
    }

    .main-title__icon {
        top: auto;
        margin-left: 4px;
        position: relative;
    }

    .news {
        margin: 10px 0;
        padding: 0 0 21px;
        border-bottom: 2px solid #efefef;
    }

    /* Featured — обычный блок */
    .fp-news-item--featured {
        margin-bottom: 20px;
    }

    .fp-news-item--featured .fp-news-item__image-wrap {
        height: 380px;
        border-radius: 10px;
    }

    .fp-news-item--featured .fp-news-item__content {
        padding: 0 20px 8px;
    }

    .fp-news-item--featured .fp-news-item__title {
        font: 500 22px/1.2 Roboto, sans-serif;
        padding: 0 0 20px;
    }

    .fp-news-item--featured .fp-news-item__info {
        padding: 0 0 8px;
    }

    /* Слайдер обычных карточек */
    .fp-news-slider {
        position: relative;
    }

    .fp-news-slider-track {
        position: relative;
        min-height: 370px;
        /* image 210px + content 160px */
    }

    .fp-news-item:not(.fp-news-item--featured) {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    .fp-news-item:not(.fp-news-item--featured).fp-slide-active {
        opacity: 1;
        pointer-events: auto;
    }

    /* Фиксированная высота контента в слайдере */
    .fp-news-item:not(.fp-news-item--featured) .fp-news-item__content {
        height: 160px;
        padding: 11px 0 0;
        display: flex !important;
        flex-direction: column;
        overflow: hidden !important;
        box-sizing: border-box;
    }

    .fp-news-item:not(.fp-news-item--featured) .fp-news-item__all {
        flex: 1 1 0 !important;
        min-height: 0 !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column;
    }

    .fp-news-item:not(.fp-news-item--featured) .fp-news-item__info {
        flex-shrink: 0;
    }

    /* Кнопки навигации */
    .fp-slider-btn {
        width: 36px;
        height: 36px;
        position: absolute;
        top: 112px;
        z-index: 3;
        background: rgba(0, 0, 0, 0.35);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 18px;
        line-height: 1;
        padding: 0 0 4px 0px;
        transform: translateY(-50%);
    }

    .fp-slider-btn--prev {
        left: 10px;
    }

    .fp-slider-btn--next {
        right: 10px;
    }

    /* Regular cards on mobile */
    .fp-news-item:not(.fp-news-item--featured) .fp-news-item__main {
        margin: 0;
    }

    .fp-news-item__title {
        padding: 0 0 12px;
        font: 500 18px/1.35 Roboto, sans-serif;
        flex-shrink: 0;
    }

    .fp-news-item__text {
        font: 13px/1.6 Roboto, sans-serif;
        padding: 0 0 10px;
        flex: 1 1 0;
        min-height: 0;
        overflow: hidden;
    }

    .fp-news-item__info {
        padding: 0 0 7px;
    }
}

/* ==========================================================================
   Orgs Section — Front Page
   ========================================================================== */
.orgs {
    margin: 25px 0;
    padding: 0 0 21px;
    border-bottom: 2px solid #efefef;
}

.orgs__top {
    /* uses .news__top styles via .main-title */
}

.orgs__main {
    position: relative;
}

.orgs__list {
    margin: 0 -10px;
    padding: 0;
    font-size: 0;
    /* убирает пробелы между inline-block */
}

/* Базовая карточка — 25% ширины, inline-block */
.orgs__list .org {
    width: 25%;
    margin: 0 0 20px 0;
    padding: 0 10px;
    display: inline-block;
    vertical-align: top;
    position: relative;
    font-size: 14px;
    /* восстанавливаем */
    box-sizing: border-box;
}

/* Переопределяем org__main для orgs__list — убираем flex из inner-orgs */
.orgs__list .org__main {
    height: auto;
    min-height: 350px;
    display: block;
    margin: 0;
    position: relative;
}

/* Для 7-й карточки — фиксированная высота и overflow hidden */
/* Фиксированная высота контента для обычных карточек */
.orgs__list .org:not(.styled) .org__content {
    height: 175px;
    padding: 14px 0 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.orgs__list .org:not(.styled) .org__fix-1 {
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.orgs__list .org:not(.styled) .org__fix-2 {
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: auto;
}

.orgs__list .org:not(.styled) .org__bottom {
    flex-shrink: 0;
}

/* Позиции 1 и 6 — тёмный фон */
.orgs__list .org:first-child .org__main,
.orgs__list .org:nth-child(6) .org__main {
    background: #2d2d2f;
}

.orgs__list .org:first-child .org__title,
.orgs__list .org:nth-child(6) .org__title {
    color: #fff;
}

.orgs__list .org:first-child .org__bottom,
.orgs__list .org:nth-child(6) .org__bottom {
    border-color: #3c3c3d;
}

.orgs__list .org:first-child .org__cat,
.orgs__list .org:nth-child(6) .org__cat {
    color: #bdc9cd;
}

.orgs__list .org:first-child .org__loc,
.orgs__list .org:nth-child(6) .org__loc {
    color: #afafaf;
}

.orgs__list .org:first-child .phone,
.orgs__list .org:nth-child(6) .phone {
    color: #fff;
}

.orgs__list .org:first-child .phone__icon .st0,
.orgs__list .org:nth-child(6) .phone__icon .st0 {
    fill: #fff;
}

/* Styled (позиция 2) — 50% ширины, вертикальная картинка справа */
.orgs__list .org.styled {
    width: 50%;
}

.orgs__list .org.styled .org__main {
    padding: 0 50% 0 0;
}

.orgs__list .org.styled .org__content {
    display: table;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: visible;
}

.orgs__list .org.styled .org__top {
    width: 50%;
    height: 100%;
    padding: 0 0 0 9px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

.orgs__list .org.styled .org__image-wrap {
    height: 100%;
    min-height: 100%;
}

.orgs__list .org.styled .org__fix-1 {
    display: table;
    width: 100%;
    height: 100%;
    table-layout: fixed;
    margin: 0;
}

.orgs__list .org.styled .org__fix-2 {
    display: table-cell;
    height: 310px;
    padding: 30px 27px 20px 39px;
    vertical-align: top;
    overflow: hidden;
}

.orgs__list .org.styled .org__cat {
    padding: 0 0 14px;
}

.orgs__list .org.styled .org__loc {
    min-height: 48px;
}

.orgs__list .org.styled .org__text {
    padding: 0 0 20px;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.orgs__list .org.styled .org__title {
    padding: 0 0 6px;
    font: 500 24px/1.3 Roboto, sans-serif;
}

.orgs__list .org.styled .org__bottom {
    height: auto;
    margin: 0 0 0 -3px;
    padding: 0;
    position: static;
    border: none;
}

/* nth-child корректировки отступов */
.orgs__list .org:nth-child(7n-4) {
    margin-right: -8px;
}

/* Hover */
.orgs__list .org:first-child .org__main:hover,
.orgs__list .org:nth-child(6) .org__main:hover {
    background: #222224;
}

/* ---- Responsive ---- */
@media screen and (max-width: 992px) {
    .orgs__list .org.styled {
        width: 100%;
        height: 350px;
        overflow: hidden;
        position: absolute;
        top: 0;
        left: 0;
    }

    .orgs__list {
        padding: 350px 0 0;
        position: relative;
    }

    .orgs__list .org.vert,
    .orgs__list .org:nth-child(7n-2),
    .orgs__list .org:nth-child(7n-4) {
        margin-right: -8px;
    }
}

@media screen and (max-width: 767px) {
    .orgs__list {
        padding: 0;
        position: static;
    }

    .orgs__list .org.styled {
        width: 100%;
        height: auto;
        position: static;
        overflow: visible;
    }

    .orgs__list .org.styled .org__main {
        padding: 0;
    }

    .orgs__list .org.styled .org__top {
        width: 100%;
        height: 200px;
        position: static;
        padding: 0;
    }
}

/* Front page main-wrap override */
.main-wrap {
    max-width: 1280px;
}

/* ---- Vert card (position 7) — Centered Title, Hidden Metadata ---- */
.orgs__list .org:nth-child(7) .org__main,
.orgs__list .org--vert .org__main {
    height: 350px;
    overflow: hidden;
    background: #000;
}

.orgs__list .org:nth-child(7) .org__image-wrap,
.orgs__list .org--vert .org__image-wrap {
    width: 100%;
    height: 100%;
    min-height: 100%;
    height: 175px;
    padding: 14px 0 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.orgs__list .org:not(.styled) .org__fix-1 {
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.orgs__list .org:not(.styled) .org__fix-2 {
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: auto;
}

.orgs__list .org:not(.styled) .org__bottom {
    flex-shrink: 0;
}

/* Позиции 1 и 6 — тёмный фон */
.orgs__list .org:first-child .org__main,
.orgs__list .org:nth-child(6) .org__main {
    background: #2d2d2f;
}

.orgs__list .org:first-child .org__title,
.orgs__list .org:nth-child(6) .org__title {
    color: #fff;
}

.orgs__list .org:first-child .org__bottom,
.orgs__list .org:nth-child(6) .org__bottom {
    border-color: #3c3c3d;
}

.orgs__list .org:first-child .org__cat,
.orgs__list .org:nth-child(6) .org__cat {
    color: #bdc9cd;
}

.orgs__list .org:first-child .org__loc,
.orgs__list .org:nth-child(6) .org__loc {
    color: #afafaf;
}

.orgs__list .org:first-child .phone,
.orgs__list .org:nth-child(6) .phone {
    color: #fff;
}

.orgs__list .org:first-child .phone__icon .st0,
.orgs__list .org:nth-child(6) .phone__icon .st0 {
    fill: #fff;
}

/* Styled (позиция 2) — 50% ширины, вертикальная картинка справа */
.orgs__list .org.styled {
    width: 50%;
}

.orgs__list .org.styled .org__main {
    padding: 0 50% 0 0;
}

.orgs__list .org.styled .org__content {
    display: table;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: visible;
}

.orgs__list .org.styled .org__top {
    width: 50%;
    height: 100%;
    padding: 0 0 0 9px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

.orgs__list .org.styled .org__image-wrap {
    height: 100%;
    min-height: 100%;
}

.orgs__list .org.styled .org__fix-1 {
    display: table;
    width: 100%;
    height: 100%;
    table-layout: fixed;
    margin: 0;
}

.orgs__list .org.styled .org__fix-2 {
    display: table-cell;
    height: 310px;
    padding: 30px 27px 20px 39px;
    vertical-align: top;
    overflow: hidden;
}

.orgs__list .org.styled .org__cat {
    padding: 0 0 14px;
}

.orgs__list .org.styled .org__loc {
    min-height: 48px;
}

.orgs__list .org.styled .org__text {
    padding: 0 0 20px;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.orgs__list .org.styled .org__title {
    padding: 0 0 6px;
    font: 500 24px/1.3 Roboto, sans-serif;
}

.orgs__list .org.styled .org__bottom {
    height: auto;
    margin: 0 0 0 -3px;
    padding: 0;
    position: static;
    border: none;
}

/* nth-child корректировки отступов */
.orgs__list .org:nth-child(7n-4) {
    margin-right: -8px;
}

/* Hover */
.orgs__list .org:first-child .org__main:hover,
.orgs__list .org:nth-child(6) .org__main:hover {
    background: #222224;
}

/* ---- Responsive ---- */
@media screen and (max-width: 992px) {
    .orgs__list .org.styled {
        width: 100%;
        height: 350px;
        overflow: hidden;
        position: absolute;
        top: 0;
        left: 0;
    }

    .orgs__list {
        padding: 350px 0 0;
        position: relative;
    }

    .orgs__list .org.vert,
    .orgs__list .org:nth-child(7n-2),
    .orgs__list .org:nth-child(7n-4) {
        margin-right: -8px;
    }
}

/* ---- Responsive for Orgs Grid (Tablet) ---- */
@media screen and (max-width: 992px) {
    .orgs__list {
        display: flex !important;
        flex-wrap: wrap !important;
        padding: 0 !important;
        margin: 0 -10px !important;
    }

    .orgs__list .org {
        width: 50% !important;
        /* Restored tablet 50% */
        position: static !important;
        display: block !important;
        margin-bottom: 20px !important;
        padding: 0 10px !important;
    }

    .orgs__list .org.styled,
    .orgs__list .org--featured {
        width: 100% !important;
        /* Featured is 100% on tablet */
        order: -1 !important;
    }

    .orgs__list .org.vert,
    .orgs__list .org--vert {
        width: 50% !important;
        margin-right: 0 !important;
    }

    .wrapper {
        padding: 0 15px !important;
    }
}

@media screen and (max-width: 767px) {
    .orgs__list {
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        bottom: 13px !important;
        display: block !important;
        background: #fff !important;
    }

    .orgs__list .org,
    .orgs__list .org.styled,
    .orgs__list .org--featured,
    .orgs__list .org--vert {
        width: 100% !important;
        /* Explicit 100% */
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
    }

    .orgs__list .org__main {
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        display: table !important;
        table-layout: fixed;
        overflow: hidden;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    .orgs__list .org__top {
        width: 82px !important;
        height: 95px !important;
        padding: 6px !important;
        display: table-cell !important;
        vertical-align: middle !important;
        position: static !important;
        background: transparent !important;
        border-bottom: 1px solid #e1e1e1 !important;
    }

    .orgs__list .org__image,
    .orgs__list .org__image--desktop,
    .orgs__list .org__image--mobile {
        width: 52px !important;
        height: 52px !important;
        border-radius: 27px !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        display: block;
        margin: 0;
    }

    .orgs__list .org__content {
        max-width: 100% !important;
        height: 95px !important;
        padding: 13px 0 11px !important;
        overflow: hidden !important;
        display: table-cell !important;
        vertical-align: middle !important;
        background: transparent !important;
        border-bottom: 1px solid #e1e1e1 !important;
        margin: 0 !important;
    }

    .org__fix-1,
    .org__fix-2 {
        display: block !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
    }

    .org__cat {
        display: block !important;
        padding: 0 0 12px !important;
        font: 500 10px/1.5 Roboto, sans-serif !important;
        color: #9b9b9b !important;
        text-transform: uppercase !important;
    }

    .org__title {
        max-width: 100% !important;
        padding: 0 0 4px !important;
        font: 500 16px/1.25 Roboto, sans-serif !important;
        color: #171717 !important;
        text-shadow: none !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden !important;
        text-overflow: ellipsis;
    }

    .org__bottom {
        display: block !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        position: static !important;
        border: none !important;
        background: transparent !important;
    }

    .phone {
        padding: 0 0 0 24px !important;
        font: 500 11px/1.5 Roboto, sans-serif !important;
        color: #707070 !important;
        position: relative !important;
        display: inline-block !important;
    }

    .phone__icon {
        width: 20px !important;
        height: 20px !important;
        position: absolute !important;
        top: -2px !important;
        left: 0 !important;
    }

    .phone__icon .st0 {
        fill: #878787 !important;
    }

    .org__loc,
    .org__text {
        display: none !important;
    }

    /* Position 7 specific mobile cleanups */
    .orgs__list .org--vert .org__main {
        background: transparent !important;
        height: auto !important;
    }

    .orgs__list .org--vert .org__top,
    .orgs__list .org--vert .org__content {
        height: 95px !important;
        border-bottom: 1px solid #e1e1e1 !important;
        overflow: visible !important;
    }

    .orgs__list .org--vert .org__loc,
    .orgs__list .org--vert .org__cat {
        display: none !important;
    }

    .orgs__list .org--vert .org__bottom {
        display: flex !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        border: none !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .orgs__list .org:nth-child(7) .phone,
    .orgs__list .org--vert .phone {
        color: #707070 !important;
    }

    .orgs__list .org:nth-child(7) .phone__icon .st0,
    .orgs__list .org--vert .phone__icon .st0 {
        fill: #878787 !important;
    }

    /* Position 7 Reset */
    .orgs__list .org:nth-child(7) .org__image-wrap:before,
    .orgs__list .org--vert .org__image-wrap:before,
    .orgs__list .org--featured .org__image-wrap:before {
        display: none !important;
    }
}

/* ---- Position 7: Vertical Full Background Card (.org--vert) — Final Spacings ---- */
.orgs__list .org:nth-child(7) .org__main,
.orgs__list .org--vert .org__main {
    height: 350px;
    overflow: hidden;
    background: #000;
}

.orgs__list .org:nth-child(7) .org__image-wrap,
.orgs__list .org--vert .org__image-wrap {
    width: 100%;
    height: 100%;
    min-height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.orgs__list .org:nth-child(7) .org__image-wrap:before,
.orgs__list .org--vert .org__image-wrap:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: rgba(0, 0, 0, .45);
}

.orgs__list .org:nth-child(7) .org__content,
.orgs__list .org--vert .org__content {
    position: relative;
    z-index: 3;
    display: table;
    width: 100%;
    height: 100%;
    padding: 0;
}

.orgs__list .org:nth-child(7) .org__fix-1,
.orgs__list .org--vert .org__fix-1 {
    width: 100%;
    display: table;
    height: 100%;
    table-layout: fixed;
    margin: 0;
}

.orgs__list .org:nth-child(7) .org__fix-2,
.orgs__list .org--vert .org__fix-2 {
    height: 302px;
    display: table-cell;
    vertical-align: bottom;
    padding: 0 20px 60px;
    /* Side padding 20px, bottom 60px */
    overflow: hidden;
}

.orgs__list .org:nth-child(7) .org__title,
.orgs__list .org--vert .org__title {
    max-width: 160px;
    padding: 0 0 15px;
    color: #fff;
    font: 500 16px / 1.5 Roboto, sans-serif;
    text-transform: none;
}

.orgs__list .org:nth-child(7) .org__cat,
.orgs__list .org--vert .org__cat {
    display: block !important;
    color: #bdc9cd;
    font: 500 11px/1.5 Roboto, sans-serif;
    text-transform: uppercase;
    padding: 0 0 15px;
}

.orgs__list .org:nth-child(7) .org__loc,
.orgs__list .org--vert .org__loc {
    display: block !important;
    color: rgba(255, 255, 255, 0.7);
    font: 13px/1.4 Roboto, sans-serif;
    padding: 0 0 10px;
}

.orgs__list .org:nth-child(7) .org__bottom,
.orgs__list .org--vert .org__bottom {
    display: flex !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 20px;
    box-sizing: border-box;
    height: 38px;
}

.orgs__list .org:nth-child(7) .phone,
.orgs__list .org--vert .phone {
    color: #fff !important;
}

.orgs__list .org:nth-child(7) .phone__icon .st0,
.orgs__list .org--vert .phone__icon .st0 {
    fill: #fff !important;
}

.orgs__list .org:nth-child(7) .org__text,
.orgs__list .org--vert .org__text {
    display: none !important;
}

.orgs__list .org:nth-child(7) .org__main:hover .org__image,
.orgs__list .org--vert .org__main:hover .org__image {
    transform: scale(1.1);
}

@media screen and (max-width: 767px) {

    .orgs__list .org:nth-child(7) .phone,
    .orgs__list .org--vert .phone {
        color: #707070 !important;
    }

    .orgs__list .org:nth-child(7) .phone__icon .st0,
    .orgs__list .org--vert .phone__icon .st0 {
        fill: #878787 !important;
    }

    .orgs__list .org:nth-child(7) .org__main:hover .org__image,
    .orgs__list .org--vert .org__main:hover .org__image {
        transform: none !important;
    }
}

/* ============================================================
   СТАТЬИ — главная страница
   ============================================================ */

.fp-articles {
    margin: 25px 0 0;
    padding: 0 0 0;
}

.fp-articles__list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    padding: 0 0 38px;
}

/* --- Карточка --- */
.fp-article {
    width: 25%;
    margin-bottom: 20px;
    padding: 0;
    box-sizing: border-box;
    position: relative;
}

.fp-article--featured {
    width: 50%;
}

.fp-article__main {
    display: block;
    margin: 0 10px;
    position: relative;
    text-decoration: none;
    color: inherit;
}

/* --- Изображение --- */
.fp-article__top {
    position: relative;
    overflow: hidden;
}

.fp-article__image-wrap {
    height: 210px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: block;
    border-radius: 8px;
}

.fp-article--featured .fp-article__image-wrap {
    height: 350px;
}

/* Градиент снизу */
.fp-article__image-wrap::before {
    content: "";
    width: 100%;
    height: 60px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .25) 50%, rgba(0, 0, 0, .6) 100%);
    border-radius: 0 0 8px 8px;
}

.fp-article--featured .fp-article__image-wrap::before {
    height: 260px;
}

/* Hover overlay */
.fp-article__image-wrap::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
    background: rgba(0, 0, 0, .2);
    transition: .5s;
    border-radius: 8px;
}

.fp-article__image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: transform .5s;
}

/* --- Категория поверх картинки --- */
.fp-article__info {
    padding: 0 28px 13px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
    color: #cbcbcb;
    font: 700 11px/1.5 Roboto, sans-serif;
    text-transform: uppercase;
}

.fp-article--featured .fp-article__info {
    padding: 0 41px 30px;
}

.fp-article__cat {
    color: #cbcbcb;
}

/* --- Контент под картинкой (обычная карточка) --- */
.fp-article__content {
    padding: 16px 0 0;
}

.fp-article--featured .fp-article__content {
    width: 100%;
    padding: 0 41px;
    position: absolute;
    bottom: 56px;
    left: 0;
    z-index: 3;
}

.fp-article__title {
    padding: 0 0 14px;
    font: 500 18px/1.35 Roboto, sans-serif;
    color: #1b1b1b;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fp-article--featured .fp-article__title {
    padding: 0;
    font: 500 24px/1.25 Roboto, sans-serif;
    color: #fff;
    -webkit-line-clamp: 3;
}

.fp-article__text {
    margin: 0;
    padding: 0;
    font: 14px/1.6 Roboto, sans-serif;
    color: #777;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Hover (только десктоп/планшет) --- */
@media screen and (min-width: 768px) {
    .fp-article__top:hover .fp-article__image {
        transform: scale(1.15);
    }

    .fp-article__top:hover .fp-article__image-wrap::after {
        opacity: 1;
    }
}


/* ---- Адаптив планшет (992px) ---- */
@media screen and (max-width: 992px) and (min-width: 768px) {

    /* Все маленькие (33.33%) */
    .fp-articles__list .fp-article {
        width: 33.33%;
    }

    /* Большие карточки (66.67%) */
    .fp-articles__list .fp-article--featured {
        width: 66.67%;
    }

    /* Большие карточки — featured-стиль */
    .fp-articles__list .fp-article--featured .fp-article__image-wrap {
        height: 350px;
    }

    .fp-articles__list .fp-article--featured .fp-article__image-wrap::before {
        height: 260px;
    }

    .fp-articles__list .fp-article--featured .fp-article__content {
        width: 100%;
        padding: 0 28px;
        position: absolute;
        bottom: 56px;
        left: 0;
        z-index: 3;
    }

    .fp-articles__list .fp-article--featured .fp-article__title {
        padding: 0;
        font: 500 24px/1.25 Roboto, sans-serif;
        color: #fff;
    }

    .fp-articles__list .fp-article--featured .fp-article__text {
        display: none;
    }

    .fp-articles__list .fp-article:nth-child(1) .fp-article__info,
    .fp-articles__list .fp-article:nth-child(4) .fp-article__info,
    .fp-articles__list .fp-article:nth-child(5) .fp-article__info {
        padding: 0 28px 30px;
    }
}

/* ---- Адаптив мобильный ---- */
@media screen and (max-width: 767px) {

    .fp-article,
    .fp-article--featured {
        width: 100%;
    }

    /* На мобильных меняем местами 4 и 6 карточки для красивого ритма (большая-мелкая-мелкая) */
    .fp-articles__list .fp-article:nth-child(4) {
        order: 6;
    }
    .fp-articles__list .fp-article:nth-child(5) {
        order: 5;
    }
    .fp-articles__list .fp-article:nth-child(6) {
        order: 4;
    }

    /* Regular cards: обычная высота */
    .fp-article__image-wrap {
        height: 210px;
    }

    /* Featured cards: сохраняют высокое изображение с overlay */
    .fp-article--featured .fp-article__image-wrap {
        height: 350px;
    }

    .fp-article--featured .fp-article__content {
        padding: 0 20px;
        bottom: 40px;
    }

    .fp-article--featured .fp-article__info {
        padding: 0 20px 20px;
    }
}

/* ==========================================================================
   Promo / Partners block
   ========================================================================== */

.fp-promo__bg-wrap {
    background: #f9f9f9;
    border-top: 2px solid #eee;
}

.fp-promo__list {
    display: flex;
    flex-wrap: wrap;
    padding: 24px 0 29px;
}

/* ---- Card grid ---------------------------------------------------------- */
.article-2 {
    width: 50%;
    min-width: 0;
    /* flex-child не растягивается шире 50% */
    box-sizing: border-box;
    padding: 0 10px;
}

.article-2__main {
    min-height: 212px;
    padding: 30px 0;
    border-bottom: 1px solid #e6e6e6;
}

/* Последние два — без нижней границы (нижний ряд сетки) */
.article-2:nth-last-child(-n+2) .article-2__main {
    border-bottom: none;
}

/* ---- Внутренний layout: логотип | контент ------------------------------- */
/* display: table + table-layout: fixed — единственный надёжный способ
   заставить текст переноситься без break-word-хаков */
.article-2__cols {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.article-2__col {
    display: table-cell;
    vertical-align: middle;
    /* вертикальное центрирование без flex */
}

.article-2__col:first-child {
    width: 137px;
    padding: 0;
}

.article-2__col:last-child {
    padding: 0 25px 0 0;
}

/* ---- Логотип ------------------------------------------------------------ */
.article-2__image {
    display: block;
}

.article-2__image img {
    width: 110px;
    height: 110px;
    border-radius: 55px;
    object-fit: cover;
    display: block;
}

/* ---- Заголовок ---------------------------------------------------------- */
/* clamp — на <h4>, НЕ на <a>: border-bottom на <a> работает как подчёркивание,
   а не как разделительная линия */
.article-2__title {
    margin: 0 0 14px;
    font: 500 18px/1.35 Roboto, sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-2__link {
    color: #1b1b1b;
    border-bottom: 1px solid #d7d7d7;
    text-decoration: none;
}

.article-2__link:hover {
    border-bottom-width: 2px;
}

/* ---- Описание ----------------------------------------------------------- */
/* font: shorthand не используем — он сбрасывает white-space и другие свойства,
   что может нарушить наследование в некоторых браузерах */
.article-2__text {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.6;
    font-family: Arial, sans-serif;
    color: #777;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- «Перейти» ---------------------------------------------------------- */
.article-2__bottom {
    font: 500 10px/1.5 Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-2__cat {
    color: #afafaf;
    text-decoration: none;
}

.article-2__cat:hover {
    color: #1b1b1b;
}

/* Tablet (768–1150px) ----------------------------------------------------- */
@media screen and (max-width: 1150px) and (min-width: 768px) {
    .article-2__col:first-child {
        width: 130px;
    }
}

/* Mobile (<768px) --------------------------------------------------------- */
@media screen and (max-width: 767px) {
    .fp-promo__list {
        padding: 0 0 16px;
    }

    /* 1 колонка, центрирование всего содержимого */
    .article-2 {
        width: 100%;
        padding: 0;
        text-align: center;
    }

    /* На мобиле показываем только 1-ю и 4-ю карточки (как в референсе) */
    .article-2:nth-child(2),
    .article-2:nth-child(3) {
        display: none;
    }

    .article-2__main {
        min-height: 0;
        padding: 29px 20px 16px;
        border-bottom: 1px solid #e6e6e6;
    }

    /* 4-я карточка — последняя видимая, без нижней границы */
    .article-2:nth-child(4) .article-2__main {
        border-bottom: none;
    }

    /* Columns → вертикальный стек */
    .article-2__cols {
        display: block;
    }

    .article-2__col {
        display: block;
        width: 100%;
    }

    .article-2__col:first-child {
        width: auto;
        margin-bottom: 14px;
        padding: 0;
    }

    .article-2__col:last-child {
        padding: 0;
    }

    /* inline-block чтобы text-align: center работал на <a> */
    .article-2__image {
        display: inline-block;
    }

    .article-2__image img {
        width: 80px;
        height: 80px;
    }

    .article-2__title {
        margin: 0 0 8px;
        font: 500 16px/1.55 Roboto, sans-serif;
    }

    .article-2__text {
        margin: 0 0 10px;
        font-size: 13px;
        line-height: 1.4;
    }
}