

/* Start:/bitrix/templates/university_default/components/bitrix/news.detail/journal/style.css?17689912353387*/
.journal-detail-new {
    position: relative;
    width: 100%;
    min-height: 600px;
    background-color: #ffffff;
}

.journal-bg-split {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: #1b4723;
    z-index: 1;
}

.journal-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* СЕТКА ДЛЯ ДЕСКТОПА */
.journal-grid {
    display: grid;
    grid-template-columns: 450px 1fr; /* Левая колонка 450px, правая - остаток */
    grid-template-areas: 
        "cover info-top"
        "cover info-bottom";
    gap: 0 40px;
}

.journal-left {
    grid-area: cover;
    align-self: start;
    padding-top: 20px;
}

.journal-info-top {
    grid-area: info-top;
    padding-bottom: 40px;
    align-self: end; /* Прижимаем к низу, чтобы быть ближе к нижнему блоку, если текста мало */
}

.journal-info-bottom {
    grid-area: info-bottom;
    padding-top: 40px;
    color: #fff;
}

/* Стили элементов (без изменений логики) */
.journal-main-cover img {
    width: 100%;
    height: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-radius: 4px;
}

.journal-title { font-size: 38px; line-height: 1.2; margin-bottom: 10px; }
.journal-title a { color: #222; text-decoration: none; }
.journal-title a:hover { color: #222 }
.journal-meta { color: #888; margin-bottom: 20px; }
.journal-descr { line-height: 1.6; color: #222; }
.other-title { font-size: 20px; margin-bottom: 30px; }

.other-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.other-item-link {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.other-item-link:hover { transform: translateX(5px); opacity: 0.8; color: #fff; }
.other-img { flex: 0 0 80px; }
.other-img img { width: 100%; border-radius: 2px; }
.other-name { font-size: 14px; font-weight: 500; }

.archive-btn {
    display: inline-block;
    padding: 12px 35px;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 4px;
    margin-top: 40px;
}

.archive-btn:hover { background: #fff; color: #1b4723;text-decoration: none }

/* АДАПТИВНОСТЬ */
@media (max-width: 991px) {
    .journal-grid {
        grid-template-columns: 1fr; /* Одна колонка */
        grid-template-areas: 
            "info-top"    /* Сначала текст */
            "cover"       /* Потом картинка */
            "info-bottom"; /* Потом выпуски */
        gap: 30px 0;
    }

    .journal-bg-split {
        display: none;
    }

    .journal-left {
        justify-self: center; /* Центрируем обложку */
        width: 100%;
        max-width: 400px;
        padding-top: 0;
    }

    .journal-info-top {
        padding-bottom: 0;
        align-self: start;
    }

    .journal-info-bottom {
        background: #1b4723;
        margin: 0 -20px; /* Растягиваем фон на всю ширину экрана */
        padding: 40px 20px;
    }

    .other-grid {
        grid-template-columns: 1fr; /* Выпуски в столбик */
        gap: 20px;
    }

    .journal-title { font-size: 28px; }
}
/* End */
/* /bitrix/templates/university_default/components/bitrix/news.detail/journal/style.css?17689912353387 */
