@import url("../fonts/life/fontslife3.css?v=4.005_lifefull");

:root {
    --journal-sprite: url("../img/journal/journal-sprite.svg");
}
.journal-media {
    background: #ffffff;
    color: #343333;
}

/* Hero /journal/ — новый светлый хиро (как deti-v-bolnice), title+lead.
   Декор flower/sun — цветные PNG, остаются. */
.journal-media .journal-hero {
    position: relative;
    min-height: 420px;
    overflow: visible;
    background: transparent;
    color: #343333;
}

.journal-media .journal-hero__inner {
    position: relative;
    width: 100%;
    max-width: 1440px;
    min-height: 420px;
    margin: 0 auto;
    container-type: inline-size;
    container-name: journal-hero;
}

.journal-media .journal-hero__breadcrumbs {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.journal-media .journal-hero__title {
    position: absolute;
    left: 50%;
    top: 68px;
    z-index: 2;
    width: calc(1357 / 1440 * 100%);
    margin: 0;
    transform: translateX(-50%);
    text-align: center;
    color: #3EA74F;
}

.journal-media .journal-hero__title-text {
    display: block;
    font-family: "life-full", "LifeFull", "life4", "Life4", "life", "Life", "Google Sans", Arial, sans-serif;
    font-size: clamp(72px, calc(148 / 1440 * 100cqi), 148px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04em;
    text-transform: none;
    color: #3EA74F;
    white-space: nowrap;
}

.journal-media .journal-hero__title--long {
    width: min(1280px, calc(100% - 24px));
}

.journal-media .journal-hero__title--long .journal-hero__title-text {
    font-size: clamp(64px, calc(120 / 1440 * 100cqi), 120px);
    white-space: nowrap;
}

.journal-media .journal-hero__text {
    position: absolute;
    left: 50%;
    top: 260px;
    z-index: 2;
    width: 688px;
    max-width: calc(100% - 40px);
    margin: 0;
    transform: translateX(-50%);
    color: #4D4D4D;
    text-align: center;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.56px;
}

.journal-media .journal-hero__flower,
.journal-media .journal-hero__sun {
    position: absolute;
    z-index: 1;
    display: block;
    height: auto;
    max-width: none;
    pointer-events: none;
}

/* Доли контейнера 1440, не viewport. Солнце правее глифов «Р» (они вылезают из бокса 808). */
.journal-media .journal-hero__flower {
    left: calc(20 / 1440 * 100%);
    bottom: calc(35 / 520 * 100%);
    width: calc(250 / 1440 * 100%);
}

.journal-media .journal-hero__sun {
    right: calc(24 / 1440 * 100%);
    top: calc(80 / 520 * 100%);
    width: calc(176 / 1440 * 100%);
}

.journal-media .journal-media__body {
    margin-top: 0;
    border-radius: 0;
}


.journal-media__body {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding: 64px 0 40px;
    border-radius: 8px 8px 0 0;
    background: #ffffff;
}

.journal-media-container {
    max-width: 1280px;
    margin: 0 auto;
}

.journal-media-section {
    margin-bottom: 64px;
}

.journal-media-section__title {
    margin: 0 0 40px;
    color: #343333;
    font-size: 52px;
    line-height: 1.05;
    font-weight: 400;
    text-align: center;
}

.journal-slider {
    position: relative;
    overflow: visible;
}

/* padding даёт место тени карточек; отрицательный margin сохраняет сетку.
   Селектор сильнее `.swiper { padding:0; margin-left/right:auto }` из swiper-bundle. */
.journal-slider .journal-slider__swiper.swiper {
    overflow: hidden;
    margin: -20px -24px -40px;
    padding: 20px 24px 40px;
}

/* height:auto — иначе при #bx-panel у админа .swiper-wrapper {height:100%}
   резолвится в высоту main и карточки раздуваются (margin-top:auto у даты). */
.journal-slider__swiper .swiper-wrapper {
    height: auto;
}

.journal-slider__slide {
    height: auto;
}

.journal-card {
    display: flex;
    flex-direction: column;
    min-height: 423px;
    height: auto;
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    color: #343333;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(52, 51, 51, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.journal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(52, 51, 51, 0.12);
}

.journal-card__image-wrap {
    position: relative;
    display: block;
    height: 235px;
    overflow: hidden;
    background: #e5e5e5;
}

.journal-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.journal-card:hover .journal-card__image {
    transform: scale(1.035);
}

.journal-card__tag {
    position: absolute;
    left: 14px;
    top: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #ffffff;
    color: #343333;
    font-size: 10px;
    line-height: 1;
    text-transform: uppercase;
}

.journal-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 26px 30px 24px;
}

.journal-card__title {
    display: block;
    color: #343333;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 400;
}

.journal-card__preview {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin-top: 12px;
    color: #5f5f5f;
    font-size: 14px;
    line-height: 1.35;
}

.journal-card__date {
    display: block;
    margin-top: auto;
    padding-top: 28px;
    color: rgba(52, 51, 51, 0.45);
    font-size: 13px;
    line-height: 1.2;
}

.journal-card--plain {
    min-height: 215px;
}

.journal-card--plain .journal-card__content {
    padding: 34px 30px 28px;
}

.journal-card__plain-tag {
    display: block;
    margin-bottom: 34px;
    color: #343333;
    font-size: 42px;
    line-height: 1;
    font-weight: 600;
}

.journal-slider__arrow {
    position: absolute;
    top: 152px;
    z-index: 3;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.journal-slider__arrow span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 26px;
    height: 14px;
    transform: translate(-50%, -50%);
}

.journal-slider__arrow span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: #343333;
}

.journal-slider__arrow span::after {
    content: "";
    position: absolute;
    top: 2px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #343333;
    border-left: 2px solid #343333;
}

.journal-slider__arrow--prev {
    left: -64px;
}

.journal-slider__arrow--prev span::after {
    left: 0;
    transform: rotate(-45deg);
}

.journal-slider__arrow--next {
    right: -64px;
}

.journal-slider__arrow--next span::after {
    right: 0;
    transform: rotate(135deg);
}

.journal-slider__arrow.swiper-button-disabled {
    opacity: 0.25;
    cursor: default;
}

.journal-slider__more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.journal-slider__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    min-height: 40px;
    padding: 10px 28px;
    border-radius: 999px;
    background: #3ea74f;
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.journal-slider__more:hover {
    background: #52bb63;
    color: #ffffff;
    text-decoration: none;
}

.journal-press {
    margin-top: 28px;
    margin-bottom: 40px;
}

.journal-press__box {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    border-radius: 8px;
    background: #3ea74f;
    color: #ffffff;
}

.journal-press__content {
    position: relative;
    z-index: 2;
    width: 360px;
    padding: 64px 0 60px 62px;
}

.journal-press__title {
    margin-bottom: 72px;
    font-size: 52px;
    line-height: 0.92;
    font-weight: 400;
}

.journal-press__person strong {
    display: block;
    margin-bottom: 8px;
    font-size: 27px;
    line-height: 1.1;
    font-weight: 400;
}

.journal-press__person span {
    display: block;
    margin-bottom: 8px;
    font-size: 17px;
    line-height: 1.25;
}

.journal-press__person a {
    color: #ffffff;
    font-size: 24px;
    line-height: 1.15;
    text-decoration: none;
}

.journal-press__person a:hover {
    text-decoration: underline;
}

.journal-press__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-top: 70px;
    padding: 9px 26px;
    border-radius: 999px;
    background: #ee7b2d;
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.journal-press__btn:hover {
    background: #ff8f41;
    color: #ffffff;
    text-decoration: none;
}

.journal-press__photo {
    position: absolute;
    left: 520px;
    bottom: -50px;
    width: 395px;
    height: 430px;
    background: url("../img/journal/press-photo.jpg") center / cover no-repeat;
    transform: rotate(-8deg);
}

.journal-press__decor {
    position: absolute;
    right: 45px;
    top: 42px;
    width: 360px;
    height: 420px;
    background: url("../img/journal/press-decor.svg") center / contain no-repeat;
}
.journal-press__decor {
    position: absolute;
    right: 35px;
    top: 40px;
    width: 387px;
    height: 456px;
    background-image: var(--journal-sprite);
    background-repeat: no-repeat;
    background-size: 1440px 4331px;
    background-position: -936px -3327px;
    pointer-events: none;
}
.journal-press__photo {
    position: absolute;
    left: 520px;
    bottom: -52px;
    z-index: 1;
    width: 405px;
    height: 430px;
    overflow: hidden;
    border-radius: 0;
    transform: rotate(-8deg);
    transform-origin: center center;
}

.journal-press__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (min-width: 768px) and (max-width: 991px) {

    .journal-media {
        overflow: hidden;
        background: #ffffff;
    }

    .journal-media__body {
        position: relative;
        z-index: 4;
        margin-top: -24px;
        padding: 48px 0 36px;
        border-radius: 8px 8px 0 0;
        background: #ffffff;
    }

    .journal-media-container {
        max-width: none;
        width: auto;
        margin: 0;
        padding: 0 48px;
    }

    .journal-media-section {
        margin-bottom: 48px;
    }

    .journal-media-section__title {
        margin: 0 0 32px;
        color: #343333;
        text-align: center;
        font-size: 40px;
        line-height: 1.05;
        font-weight: 400;
    }

    .journal-slider {
        position: relative;
        margin: 0;
    }

    .journal-slider__swiper {
        overflow: visible;
    }

    .journal-card {
        min-height: 270px;
        border-radius: 8px;
    }

    .journal-card__image-wrap {
        height: 165px;
    }

    .journal-card__content {
        padding: 18px 18px 20px;
    }

    .journal-card__title {
        font-size: 14px;
        line-height: 1.22;
    }

    .journal-card__preview {
        margin-top: 8px;
        font-size: 12px;
        line-height: 1.3;
        -webkit-line-clamp: 3;
    }

    .journal-card__date {
        padding-top: 20px;
        font-size: 10px;
        line-height: 1.2;
    }

    .journal-card__tag {
        left: 10px;
        top: 10px;
        min-height: 18px;
        padding: 3px 8px;
        font-size: 8px;
        line-height: 1;
    }

    .journal-slider__arrow {
        top: 112px;
        width: 26px;
        height: 26px;
    }

    .journal-slider__arrow span {
        width: 22px;
        height: 12px;
    }

    .journal-slider__arrow span::before {
        top: 5px;
        width: 22px;
        height: 1.5px;
    }

    .journal-slider__arrow span::after {
        width: 8px;
        height: 8px;
        border-top-width: 1.5px;
        border-left-width: 1.5px;
    }

    .journal-slider__arrow--prev {
        left: -42px;
    }

    .journal-slider__arrow--next {
        right: -42px;
    }

    .journal-slider__more-wrap {
        margin-top: 32px;
    }

    .journal-slider__more {
        min-width: 200px;
        min-height: 38px;
        padding: 10px 28px;
        font-size: 10px;
        border-radius: 999px;
    }

    .journal-card--plain {
        min-height: 190px;
    }

    .journal-card--plain .journal-card__content {
        padding: 30px 22px 24px;
    }

    .journal-card__plain-tag {
        margin-bottom: 26px;
        font-size: 34px;
        line-height: 1;
    }

    .journal-press {
        margin-top: 8px;
        margin-bottom: 28px;
    }

    .journal-press .journal-media-container {
        padding: 0 10px;
    }

    .journal-press__box {
        position: relative;
        min-height: 320px;
        overflow: hidden;
        border-radius: 8px;
        background: #3ea74f;
    }

    .journal-press__content {
        position: relative;
        z-index: 4;
        width: 260px;
        padding: 30px 0 28px 34px;
    }

    .journal-press__title {
        margin-bottom: 48px;
        color: #ffffff;
        font-size: 40px;
        line-height: 0.95;
        font-weight: 400;
    }

    .journal-press__person strong {
        margin-bottom: 5px;
        color: #ffffff;
        font-size: 18px;
        line-height: 1.12;
        font-weight: 400;
    }

    .journal-press__person span {
        margin-bottom: 5px;
        color: #ffffff;
        font-size: 12px;
        line-height: 1.2;
    }

    .journal-press__person a {
        color: #ffffff;
        font-size: 17px;
        line-height: 1.15;
    }

    .journal-press__btn {
        min-height: 36px;
        margin-top: 22px;
        padding: 10px 22px;
        border-radius: 999px;
        font-size: 9px;
    }

    .journal-press__photo {
        position: absolute;
        left: 330px;
        bottom: -56px;
        z-index: 2;
        width: 250px;
        height: 300px;
        overflow: hidden;
        transform: rotate(-8deg);
    }

    .journal-press__photo img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .journal-press__decor {
        position: absolute;
        right: -36px;
        top: 64px;
        z-index: 3;
        width: 180px;
        height: 250px;
        background-image: var(--journal-sprite);
        background-repeat: no-repeat;
        background-size: 710px auto;
        background-position: -461px -1640px;
        pointer-events: none;
    }
}
@media (max-width: 767px) {

    .journal-media {
        overflow: hidden;
        background: #ffffff;
    }

    .journal-media__body {
        position: relative;
        z-index: 4;
        margin-top: 0;
        padding: 28px 0 34px;
        border-radius: 0;
        background: #ffffff;
    }

    .journal-media-container {
        max-width: none;
        width: auto;
        margin: 0;
        padding: 0 16px;
    }

    .journal-media-section {
        margin-bottom: 40px;
    }

    .journal-media-section__title {
        margin: 0 0 24px;
        color: #343333;
        text-align: center;
        font-size: 36px;
        line-height: 1.05;
        font-weight: 400;
    }

    .journal-slider {
        position: relative;
        margin: 0;
    }

    .journal-slider__swiper {
        overflow: visible;
    }

    .journal-slider__swiper .swiper-wrapper {
        display: flex;
        flex-direction: column;
        gap: 12px;
        height: auto !important;
        transform: none !important;
    }

    .journal-slider__slide {
        width: 100% !important;
        height: auto !important;
        margin-right: 0 !important;
    }

    .journal-slider__arrow {
        display: none !important;
    }

    .journal-card {
        display: flex;
        flex-direction: column;
        min-height: 0;
        height: auto;
        overflow: hidden;
        border-radius: 8px;
        background: #ffffff;
        color: #343333;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(52, 51, 51, 0.06);
        transform: none;
    }

    .journal-card:hover {
        transform: none;
        box-shadow: 0 4px 12px rgba(52, 51, 51, 0.06);
    }

    .journal-card__image-wrap {
        position: relative;
        display: block;
        height: 200px;
        overflow: hidden;
        background: #e5e5e5;
    }

    .journal-card__image {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: none !important;
    }

    .journal-card__tag {
        position: absolute;
        left: 14px;
        top: 14px;
        display: inline-flex;
        align-items: center;
        min-height: 22px;
        padding: 4px 10px;
        border-radius: 999px;
        background: #ffffff;
        color: #343333;
        font-size: 10px;
        line-height: 1;
        text-transform: uppercase;
    }

    .journal-card__tag::before {
        display: none;
    }

    .journal-card__content {
        display: flex;
        flex-direction: column;
        flex: 1;
        padding: 20px 22px 22px;
    }

    .journal-card__title {
        display: block;
        color: #343333;
        font-size: 17px;
        line-height: 1.25;
        font-weight: 400;
    }

    .journal-card__preview {
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.35;
        -webkit-line-clamp: 3;
    }

    .journal-card__date {
        display: block;
        margin-top: auto;
        padding-top: 18px;
        color: rgba(52, 51, 51, 0.45);
        font-size: 13px;
        line-height: 1.2;
    }

    .journal-slider__more-wrap {
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }

    .journal-slider__more {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 200px;
        min-height: 40px;
        padding: 11px 28px;
        border-radius: 999px;
        background: #3ea74f;
        color: #ffffff;
        font-size: 11px;
        line-height: 1;
        font-weight: 700;
        text-transform: uppercase;
        text-decoration: none;
    }

    .journal-card--plain {
        min-height: 128px;
        border-radius: 6px;
    }

    .journal-card--plain .journal-card__content {
        padding: 18px 18px 16px;
    }

    .journal-card__plain-tag {
        display: block;
        margin-bottom: 16px;
        color: #343333;
        font-size: 24px;
        line-height: 1;
        font-weight: 600;
    }

    .journal-card--plain .journal-card__title {
        font-size: 13px;
        line-height: 1.22;
    }

    .journal-card--plain .journal-card__preview {
        margin-top: 8px;
        font-size: 12px;
        -webkit-line-clamp: 3;
    }

    .journal-card--plain .journal-card__date {
        padding-top: 22px;
        font-size: 10px;
    }

    .journal-press {
        margin: 8px 0 28px;
    }

    .journal-press .journal-media-container {
        padding: 0 16px;
    }

    .journal-press__box {
        position: relative;
        min-height: 0;
        padding-bottom: 210px;
        overflow: hidden;
        border-radius: 8px;
        background: #3ea74f;
        color: #ffffff;
    }

    .journal-press__content {
        position: relative;
        z-index: 4;
        width: auto;
        padding: 32px 24px 20px;
        text-align: left;
    }

    .journal-press__title {
        margin: 0 0 28px;
        color: #ffffff;
        font-size: 36px;
        line-height: 0.98;
        font-weight: 400;
        text-align: left;
    }

    .journal-press__person strong {
        display: block;
        margin-bottom: 6px;
        color: #ffffff;
        font-size: 22px;
        line-height: 1.15;
        font-weight: 400;
    }

    .journal-press__person span {
        display: block;
        max-width: none;
        margin: 0 0 6px;
        color: #ffffff;
        font-size: 15px;
        line-height: 1.25;
    }

    .journal-press__person a {
        color: #ffffff;
        font-size: 18px;
        line-height: 1.2;
        text-decoration: none;
        word-break: break-word;
    }

    .journal-press__btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 165px;
        min-height: 40px;
        margin-top: 28px;
        padding: 10px 24px;
        border-radius: 999px;
        background: #ee7b2d;
        color: #ffffff;
        font-size: 12px;
        line-height: 1;
        font-weight: 800;
        text-transform: uppercase;
        text-decoration: none;
    }

    .journal-press__photo {
        position: absolute;
        left: auto;
        right: 16px;
        bottom: -36px;
        z-index: 2;
        width: 200px;
        height: 240px;
        overflow: hidden;
        transform: rotate(-8deg);
        transform-origin: center center;
    }

    .journal-press__photo img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .journal-press__decor {
        display: none;
    }
}

/* Mobile: убираем лишний белый декоративный квадрат в блоке "Контакты для СМИ" */

@media (max-width: 767px) {
    .journal-media-page .journal-press__decor,
    .journal-media-page .journal-press__decor::before,
    .journal-media-page .journal-press__decor::after {
        display: none !important;
        content: none !important;
    }
}
@media (max-width: 767px) {
    .journal-media-page .journal-press__box::before,
    .journal-media-page .journal-press__box::after {
        display: none !important;
        content: none !important;
    }
}
/* Mobile: убираем белую плашку в блоке "Контакты для СМИ" */

@media (max-width: 767px) {
    .journal-press__content,
    .journal-press__person {
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .journal-press__content::before,
    .journal-press__content::after,
    .journal-press__person::before,
    .journal-press__person::after,
    .journal-press__box::before,
    .journal-press__box::after,
    .journal-press__decor,
    .journal-press__decor::before,
    .journal-press__decor::after {
        display: none !important;
        content: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}
.journal-news-page-section {
    padding-bottom: 0px;
}

.journal-news-page-section .journal-media-section__title {
    margin-bottom: 40px;
}

.journal-news-grid {
    width: 100%;
    overflow: visible;
}

.journal-news-grid__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 28px;
    /* место под тень карточек у краёв сетки */
    margin: -20px -24px -40px;
    padding: 20px 24px 40px;
}

.journal-news-grid__item {
    min-width: 0;
}

.journal-news-grid__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    text-decoration: none;
    color: #262626;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 4px 12px rgba(52, 51, 51, 0.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.journal-news-grid__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(52, 51, 51, 0.12);
}

.journal-news-grid__image {
    position: relative;
    display: block;
    width: 100%;
    height: 235px;
    overflow: hidden;
    border-radius: 22px 22px 0 0;
    background: #f0f0f0;
}

.journal-news-grid__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.journal-news-grid__image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: #f0f0f0;
}

.journal-news-grid__content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px 22px 24px;
}

.journal-news-grid__title {
    display: block;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 500;
    color: #262626;
}

.journal-news-grid__preview {
    display: block;
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.45;
    color: #5d5d5d;
}

.journal-news-grid__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: auto;
    padding-top: 20px;
}

.journal-news-grid__date {
    display: block;
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.2;
    color: #8c8c8c;
}

.journal-news-grid__content > .journal-news-grid__date:first-child,
.journal-news-grid__title + .journal-news-grid__date,
.journal-news-grid__preview + .journal-news-grid__date {
    margin-top: auto;
    padding-top: 20px;
}

.journal-news-grid__tags-item {
    font-size: 12px;
    line-height: 1.3;
    font-weight: 400;
    color: #b0b0b0;
}

.journal-news-grid__tags-item--audience {
    color: #a8c4ae;
}

.journal-news-grid__tags-item--topic {
    color: #d4b39a;
}

.journal-news-more {
    display: flex;
    justify-content: center;
    margin-top: 44px;
}

.journal-news-more__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 40px;
    padding: 10px 30px;
    border: 0;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    color: #ffffff;
    background: #ee7b2d;
    cursor: pointer;
    transition: background .2s ease, opacity .2s ease;
}

.journal-news-more__btn:hover {
    background: #ff8f41;
    color: #ffffff;
    text-decoration: none;
}

.journal-news-more__btn:disabled {
    opacity: .65;
    cursor: default;
}

@media (max-width: 991px) {
    .journal-news-grid__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .journal-news-grid__list {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .journal-news-grid__image {
        height: 220px;
    }

    .journal-news-grid__title {
        font-size: 18px;
    }
}
/* FIX /journal/: ширина контента как у футера */
.journal-media .journal-media-container {
    width: min(100%, 1440px) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 8px !important;
    padding-left: 8px !important;
    box-sizing: border-box !important;
}

.journal-media .journal-press .journal-media-container {
    width: min(100%, 1440px) !important;
    max-width: none !important;
    padding-right: 8px !important;
    padding-left: 8px !important;
}

/* Блок "Контакты для СМИ" как на странице contacts */
.journal-media .journal-press {
    margin-top: 28px !important;
    margin-bottom: 8px !important;
}

.journal-media .journal-press__box {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 360px 420px 1fr !important;
    min-height: 500px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 50px 60px !important;
    border-radius: 4px !important;
    background: #39a94f !important;
    color: #ffffff !important;
    box-sizing: border-box !important;
}

.journal-media .journal-press__content {
    position: relative !important;
    z-index: 3 !important;
    width: auto !important;
    padding: 0 !important;
    text-align: left !important;
}

.journal-media .journal-press__title {
    margin: 0 0 70px !important;
    color: #ffffff !important;
    font-size: 56px !important;
    line-height: .98 !important;
    font-weight: 400 !important;
    text-align: left !important;
}

.journal-media .journal-press__person strong,
.journal-media .journal-press__person span,
.journal-media .journal-press__person a {
    display: block !important;
}

.journal-media .journal-press__person strong {
    margin-bottom: 4px !important;
    color: #ffffff !important;
    font-size: 25px !important;
    line-height: 1.1 !important;
    font-weight: 400 !important;
}

.journal-media .journal-press__person span {
    margin-bottom: 4px !important;
    color: rgba(255, 255, 255, .82) !important;
    font-size: 19px !important;
    line-height: 1.25 !important;
}

.journal-media .journal-press__person a {
    color: #ffffff !important;
    font-size: 25px !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
}

.journal-media .journal-press__btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 165px !important;
    min-height: 40px !important;
    margin-top: 64px !important;
    padding: 10px 24px !important;
    border-radius: 999px !important;
    background: #ee7b2d !important;
    color: #ffffff !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    transform: none !important;
}

.journal-media .journal-press__btn:hover {
    background: #ff8f41 !important;
    transform: none !important;
}

.journal-media .journal-press__photo {
    position: relative !important;
    z-index: 3 !important;
    align-self: end !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 408px !important;
    height: 410px !important;
    margin: 35px 0 -68px -8px !important;
    overflow: visible !important;
    border-radius: 0 !important;
    background: #e9e9e9 !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .4) !important;
    transform: rotate(-8deg) !important;
    transform-origin: center center !important;
}

.journal-media .journal-press__photo img {
    display: block !important;
    width: 100% !important;
    height: 103% !important;
    object-fit: cover !important;
}

.journal-media .journal-press__decor {
    position: absolute !important;
    z-index: 1 !important;
    top: 96px !important;
    right: 166px !important;
    display: block !important;
    width: 372px !important;
    height: 402px !important;
    background-image: url("/local/templates/doroga_new/assets/img/journal/decor.svg") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    pointer-events: none !important;
}

/* ==========================================================
   UNIFIED PRESS BLOCK: journal-press / contacts-press
   Эталон: блок "Контакты для СМИ" на странице журнала
   ========================================================== */

.journal-media .journal-press {
    margin-top: 28px !important;
    margin-bottom: 40px !important;
}

.journal-media .journal-press .journal-media-container {
    max-width: 1410px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.journal-media .journal-press__box,
.contacts-press {
    position: relative !important;
    display: block !important;
    min-height: 500px !important;
    margin: 0 0 40px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    background: #3ea74f !important;
    color: #ffffff !important;
}

.journal-media .journal-press__content,
.contacts-press__content {
    position: relative !important;
    z-index: 4 !important;
    width: 425px !important;
    padding: 64px 0 60px 62px !important;
    text-align: left !important;
}

.journal-media .journal-press__title,
.contacts-press__title {
    margin: 0 0 72px !important;
    color: #ffffff !important;
    font-size: 52px !important;
    line-height: .92 !important;
    font-weight: 400 !important;
    text-align: left !important;
}

.journal-media .journal-press__person strong,
.contacts-press__person strong {
    display: block !important;
    margin: 0 0 8px !important;
    color: #ffffff !important;
    font-size: 30px !important;
    line-height: 1.1 !important;
    font-weight: 400 !important;
}

.journal-media .journal-press__person span,
.contacts-press__person span {
    display: block !important;
    margin: 0 0 8px !important;
    color: rgba(255, 255, 255, .82) !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
}

.journal-media .journal-press__person a,
.contacts-press__person a {
    display: block !important;
    color: #ffffff !important;
    font-size: 30px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

.journal-media .journal-press__person a:hover,
.contacts-press__person a:hover {
    text-decoration: underline !important;
}

.journal-media .journal-press__btn,
.contacts-press__btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 40px !important;
	width:210px;
    margin: 70px 0 0 !important;
    padding: 9px 26px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #ee7b2d !important;
    color: #ffffff !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

.journal-media .journal-press__btn:hover,
.contacts-press__btn:hover {
    background: #ff8f41 !important;
    color: #ffffff !important;
    transform: none !important;
}

.journal-media .journal-press__photo,
.contacts-press__photo {
    position: absolute !important;
    left: 520px !important;
    bottom: -50px !important;
    z-index: 2 !important;
    width: 396px !important;
    height: 452px !important;
    margin: 0 !important;
    overflow: visible !important;
    border-radius: 0 !important;
    background: #e9e9e9 !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .4) !important;
    transform: rotate(-8deg) !important;
    transform-origin: center center !important;
}

.journal-media .journal-press__photo img,
.contacts-press__photo img {
    display: block !important;
    width: 100% !important;
    height: 118% !important;
    object-fit: cover !important;
    padding-bottom: 34px;
}

.journal-media .journal-press__photo::before,
.journal-media .journal-press__photo::after,
.contacts-press__photo::before,
.contacts-press__photo::after {
    content: "" !important;
    position: absolute !important;
    z-index: 4 !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: #fafdfb !important;
    pointer-events: none !important;
}

.journal-media .journal-press__photo::before,
.contacts-press__photo::before {
    top: -6px !important;
    left: 83px !important;
    box-shadow: -88px 330px 0 #fafdfb !important;
}

.journal-media .journal-press__photo::after,
.contacts-press__photo::after {
    top: 60px !important;
    right: -6px !important;
}

.journal-media .journal-press__decor,
.contacts-press__decor {
    position: absolute !important;
    z-index:  2 !important;
    top: -72px !important;
    right: 123px !important;
    display: block !important;
    width: 393px !important;
    height: 699px !important;
    max-width: none !important;
    background-image: url("/local/templates/doroga_new/assets/img/journal/decor.svg") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    object-fit: contain !important;
    pointer-events: none !important;
}

@media (min-width: 768px) and (max-width: 991px) {
    .journal-media .journal-press {
        margin-top: 8px !important;
        margin-bottom: 28px !important;
    }

    .journal-media .journal-press .journal-media-container {
        max-width: none !important;
        padding: 0 10px !important;
    }

    .journal-media .journal-press__box,
    .contacts-press {
        min-height: 320px !important;
        margin-bottom: 28px !important;
        border-radius: 8px !important;
    }

    .journal-media .journal-press__content,
    .contacts-press__content {
        width: 260px !important;
        padding: 30px 0 28px 34px !important;
        text-align: left !important;
    }

    .journal-media .journal-press__title,
    .contacts-press__title {
        margin-bottom: 48px !important;
        font-size: 40px !important;
        line-height: .95 !important;
    }

    .journal-media .journal-press__person strong,
    .contacts-press__person strong {
        margin-bottom: 5px !important;
        font-size: 18px !important;
    }

    .journal-media .journal-press__person span,
    .contacts-press__person span {
        margin-bottom: 5px !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

    .journal-media .journal-press__person a,
    .contacts-press__person a {
        font-size: 17px !important;
    }

    .journal-media .journal-press__btn,
    .contacts-press__btn {
        min-height: 38px !important;
        margin-top: 28px !important;
        padding: 10px 22px !important;
        font-size: 12px !important;
        font-weight: 800 !important;
    }

    .journal-media .journal-press__photo,
    .contacts-press__photo {
        left: 330px !important;
        bottom: -50px !important;
        width: 250px !important;
        height: 300px !important;
    }

    .journal-media .journal-press__photo::before,
    .contacts-press__photo::before {
        top: -7px !important;
        left: 58px !important;
        box-shadow: -62px 224px 0 #fafdfb !important;
    }

    .journal-media .journal-press__photo::after,
    .contacts-press__photo::after {
        top: 48px !important;
        right: -7px !important;
    }

    .journal-media .journal-press__decor,
    .contacts-press__decor {
        right: -36px !important;
        top: 64px !important;
        width: 180px !important;
        height: 250px !important;
    }
}

@media (max-width: 767px) {
    .journal-media .journal-press {
        margin: 8px 0 28px !important;
    }

    .journal-media .journal-press .journal-media-container {
        max-width: none !important;
        padding: 0 16px !important;
    }

    /* Как desktop: слева текст, снизу/справа фото; без center-layout */
    .journal-media .journal-press__box,
    .contacts-press {
        min-height: 0 !important;
        margin-bottom: 28px !important;
        padding-bottom: 210px !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    .journal-media .journal-press__content,
    .contacts-press__content {
        width: auto !important;
        max-width: 100% !important;
        padding: 32px 24px 20px !important;
        text-align: left !important;
    }

    .journal-media .journal-press__title,
    .contacts-press__title {
        margin: 0 0 28px !important;
        font-size: 36px !important;
        line-height: 0.98 !important;
        text-align: left !important;
    }

    .journal-media .journal-press__person strong,
    .contacts-press__person strong {
        margin-bottom: 6px !important;
        font-size: 22px !important;
        line-height: 1.15 !important;
    }

    .journal-media .journal-press__person span,
    .contacts-press__person span {
        max-width: none !important;
        margin: 0 0 6px !important;
        font-size: 15px !important;
        line-height: 1.25 !important;
    }

    .journal-media .journal-press__person a,
    .contacts-press__person a {
        font-size: 18px !important;
        line-height: 1.2 !important;
        word-break: break-word;
    }

    .journal-media .journal-press__btn,
    .contacts-press__btn {
        min-width: 165px !important;
        min-height: 40px !important;
        margin-top: 28px !important;
        padding: 10px 24px !important;
        font-size: 12px !important;
        font-weight: 800 !important;
    }

    .journal-media .journal-press__photo,
    .contacts-press__photo {
        left: auto !important;
        right: 16px !important;
        bottom: -36px !important;
        width: 200px !important;
        height: 240px !important;
        transform: rotate(-8deg) !important;
        transform-origin: center center !important;
    }

    .journal-media .journal-press__photo::before,
    .contacts-press__photo::before {
        top: -6px !important;
        left: 46px !important;
        box-shadow: -50px 180px 0 #fafdfb !important;
    }

    .journal-media .journal-press__photo::after,
    .contacts-press__photo::after {
        top: 40px !important;
        right: -6px !important;
    }

    .journal-media .journal-press__decor,
    .contacts-press__decor {
        display: none !important;
    }
}

.journal-tags {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 36px;
}

.journal-tags__row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
}

.journal-tags__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 16px;
    border: 1px solid;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;
    text-decoration: none;
    background: #ffffff;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.journal-tags__chip--audience {
    border-color: #3ea74f;
    color: #185e30;
}

.journal-tags__chip--audience:hover,
.journal-tags__chip--audience.is-active,
.journal-tags__chip--audience[aria-pressed="true"] {
    background: #3ea74f;
    border-color: #3ea74f;
    color: #ffffff;
    text-decoration: none;
}

.journal-tags__chip--topic {
    border-color: #ee7b2d;
    color: #ee7b2d;
}

.journal-tags__chip--topic:hover,
.journal-tags__chip--topic.is-active,
.journal-tags__chip--topic[aria-pressed="true"] {
    background: #ee7b2d;
    border-color: #ee7b2d;
    color: #ffffff;
    text-decoration: none;
}

.journal-tags__reset {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.2;
    color: #8c8c8c;
    text-decoration: underline;
}

.journal-tags__reset:hover {
    color: #343333;
}

.journal-news-grid__empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 12px 0 8px;
    font-size: 16px;
    line-height: 1.4;
    color: #5d5d5d;
}

.journal-news-grid.is-loading {
    opacity: .55;
    pointer-events: none;
}

@media (max-width: 767px) {
    .journal-tags {
        margin-bottom: 24px;
        gap: 10px;
    }

    .journal-tags__chip {
        min-height: 32px;
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* ========================================================================
   ≤991: hero как на десктопе (mint + flow), без absolute 1440-раскладки
   ======================================================================== */

@media (max-width: 991px) {
    .journal-media .journal-hero {
        position: relative;
        min-height: 0;
        overflow: visible !important;
        background: transparent !important;
        color: #343333;
        isolation: isolate;
    }

    .journal-media .journal-hero::before {
        content: "";
        position: absolute;
        left: 50%;
        top: -160px;
        z-index: 0;
        width: 100vw;
        height: calc(100% + 160px);
        transform: translateX(-50%);
        background: linear-gradient(180deg, #E2FFE7 0%, #FFFFFF 100%);
        pointer-events: none;
    }

    .journal-media .journal-hero > * {
        position: relative;
        z-index: 1;
    }

    .journal-media .journal-hero__inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        margin: 0 auto;
        padding: 56px 24px 40px;
        box-sizing: border-box;
    }

    .journal-media .journal-hero__title {
        position: static;
        left: auto;
        top: auto;
        width: 100%;
        max-width: 100%;
        margin: 0;
        transform: none;
        text-align: center;
        color: #3EA74F;
    }

    .journal-media .journal-hero__title-text {
        display: block;
        width: 100%;
        font-size: clamp(56px, 12vw, 96px);
        line-height: 1;
        letter-spacing: -0.04em;
        white-space: normal;
        color: #3EA74F;
    }

    .journal-media .journal-hero__text {
        position: static;
        left: auto;
        top: auto;
        width: 100%;
        max-width: 520px;
        margin: 20px 0 0;
        transform: none;
        font-size: 18px;
        line-height: 1.25;
        letter-spacing: -0.02em;
        color: #4D4D4D;
        text-align: center;
    }

    .journal-media .journal-hero__flower,
    .journal-media .journal-hero__sun {
        position: absolute;
        z-index: 0;
        opacity: 0.85;
        pointer-events: none;
    }

    .journal-media .journal-hero__flower {
        left: 4px;
        bottom: 8px;
        width: 88px;
    }

    .journal-media .journal-hero__sun {
        right: 8px;
        top: 48px;
        width: 72px;
    }

    .journal-media .journal-media__body {
        margin-top: 0;
        padding-top: 24px;
    }
}

@media (max-width: 767px) {
    .journal-media .journal-hero__inner {
        padding: 52px 16px 28px;
    }

    .journal-media .journal-hero__title-text {
        font-size: clamp(48px, 14vw, 64px);
    }

    .journal-media .journal-hero__text {
        max-width: 340px;
        margin-top: 14px;
        font-size: 15px;
        line-height: 1.35;
    }

    /* Десктопные <br> ломают узкий лид — пусть текст течёт сам */
    .journal-media .journal-hero__text br {
        display: none;
    }

    .journal-media .journal-hero__flower {
        left: 0;
        bottom: 4px;
        width: 64px;
    }

    .journal-media .journal-hero__sun {
        right: 4px;
        top: 40px;
        width: 52px;
    }

    .journal-media .journal-media-container {
        padding-right: 16px !important;
        padding-left: 16px !important;
    }

    .journal-media .journal-slider .journal-slider__swiper.swiper {
        margin: -12px -8px -24px;
        padding: 12px 8px 24px;
    }

    .journal-card--plain {
        min-height: 0;
    }

    .journal-card--plain .journal-card__content {
        padding: 22px 22px 20px;
    }

    .journal-card__plain-tag {
        margin-bottom: 18px;
        font-size: 28px;
    }

    .journal-card--plain .journal-card__title {
        font-size: 16px;
        line-height: 1.25;
    }

    .journal-slider__more {
        min-width: 210px;
        min-height: 40px;
        font-size: 13px;
        font-weight: 800;
    }
}
