/* ОБЩЕЕ */

/* цвета */

:root {
    --gap: 15px;

    --cn-news-color: #f3a368;
    --cn-news-color-opacity: #f3a36850;
    --cn-movies-color: #9cd0b6;
    --cn-movies-color-opacity: #9cd0b650;
    --cn-fashion-color: #e88a9a;
    --cn-fashion-color-opacity: #e88a9a50;
    --cn-interview-color: #f0c569;
    --cn-interview-color-opacity: #f0c56950;
    --cn-horoscope-color: #7786c7;
    --cn-horoscope-color-opacity: #7786c750;
    --cn-recipe-color: #b4c88b;
    --cn-recipe-color-opacity: #b4c88b50;
    --cn-bday-color: #9483ba;
    --cn-bday-color-opacity: #9483ba50;
    --cn-awards-color: #efab46;
    --cn-awards-color-opacity: #efab4650;
}

/* основной блок */

.chicago-news {
    margin: 0 auto;
    width: 85%;
    background: white;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    font-family: 'montserrat';
    border-radius: var(--gap);
    text-align: justify;
}

.night .chicago-news {
    filter: brightness(0.8) contrast(1.1);
}

/* заголовочное */

/* название рубрики */

.chicago-news::before {
    position: absolute;
    z-index: 0;
    font-size: 87px;
    text-align: center;
    width: 100%;
    top: 10px;
    left: 0;
    font-family: 'Aila';
    line-height: 87px;
}

/* подзаголовок */

.chicago-news-title {
    margin: 20px auto 45px;
    padding: 5px;
    border-radius: 1.2em;
    text-transform: uppercase;
    text-align: center;
    width: 50%;
    color: white;
    letter-spacing: 1.2px;
    font-size: 0.9em !important;
    font-weight: 500;
    z-index: 1;
    position: relative;
    border: 1px solid white;
    opacity: .8;
}

/* мини заголовочки */

.cn-bday-person-info-sign::before,
.cn-bday-person-name,
.cn-recipe-list-wrap::before,
.cn-recipe-dish,
.cn-news-posts a,
.cn-news-quotes a,
.cn-news-diary-author,
.cn-news-achiever,
.cn-interview-quote,
.cn-interview-song-title,
.cn-news-song-title,
.cn-horoscope-column-sign,
.cn-horoscope-intro-month,
.cn-interview-questions-title,
.cn-interview-about-item::before,
.cn-movies-movie-title,
.cn-news-posts::before,
.cn-news-quotes::before,
.cn-news-diaries::before,
.cn-movies-intro-author,
.cn-fashion-person {
    font-weight: 600;
    letter-spacing: 0.8px;
    font-size: 0.9em;
}

.cn-bday-person-name::before,
.cn-recipe-dish::before,
.cn-horoscope-column-sign::before,
.cn-movies-intro-author::before,
.cn-news-posts a::after,
.cn-news-quotes a::after,
.cn-news-diary-author::after,
.cn-horoscope-intro-month::before {
    content: " * ";
}

/* контейнеры текста */

/* серый */
.cn-awards-winner-img,
.cn-bday-person-pic-wrap,
.cn-bday-container,
.cn-recipe-pic-wrap,
.cn-recipe-container,
.cn-horoscope-column-wrap,
.cn-horoscope-container,
.cn-awards-container,
.cn-interview-container,
.cn-fashion-container,
.cn-movies-container,
.cn-news-intro,
.cn-news-quotes,
.cn-news-diaries {
    background: #f2f2f2;
    border-radius: var(--gap);
    border: 1px solid white;
    box-shadow: 0 0 6px #f2f2f2, inset 0 0 8px #e6e6e6;
    padding: var(--gap);
    box-sizing: border-box;
}

/* черный */

.cn-recipe-list-wrap,
.cn-interview-pic-wrap,
.cn-interview-song,
.cn-fashion-pic-wrap,
.cn-movies-movie-pic-wrap,
.cn-news-achievements,
.cn-news-posts {
    background: #4e4e4e;
    box-shadow: 0 0 6px #f2f2f2, inset 0 0 10px #272727;
    color: white;
}

/* текст внутри контейнеров*/

.cn-recipe-text,
.cn-news-intro-text,
.cn-horoscope-intro-text,
.cn-interview-questions,
.cn-movies-movie-description,
.cn-movies-intro-text,
.cn-fashion-intro,
.cn-fashion-description {
    line-height: 1.4em;
    /* height = значение line-height * количество видимых строк (1.4*9) */
    height: 9.8em;
    overflow-y: auto;
    padding-right: 5px;
}

/* полосочки */

.cn-movies-intro::after,
.cn-horoscope-intro::after {
    content: '';
    width: 60%;
    height: 5px;
    border-radius: 3.5px;
    display: block;
    margin: 20px auto;
    border: 1px solid #f2f2f2
}

/* картинки с наведением */

/* фото */

.cn-awards-winner-img,
.cn-bday-person-pic-wrap,
.cn-movies-movie-pic-wrap,
.cn-fashion-pic-wrap,
.cn-recipe-pic-wrap,
.cn-interview-pic-wrap {
    position: relative;
    padding: 10px;
    box-sizing: border-box;
}

/* только для квадратных */
.cn-bday-person-pic,
.cn-recipe-pic-wrap::before,
.cn-recipe-pic-main,
.cn-recipe-pic-hover,
.cn-interview-pic-wrap::before,
.cn-interview-pic-main,
.cn-interview-pic-hover {
    width: 170px;
    aspect-ratio: 1 / 1;
}

.cn-awards-winner-img img,
.cn-bday-person-pic,
.cn-bday-person-pic-wrap,
.cn-bday-person-pic-wrap::before,
.cn-movies-movie-pic-wrap,
.cn-movies-movie-pic,
.cn-movies-movie-pic-wrap::before,
.cn-fashion-pic-wrap,
.cn-fashion-pic-wrap::before,
.cn-fashion-pic,
.cn-recipe-pic-wrap,
.cn-recipe-pic-wrap::before,
.cn-recipe-pic-main,
.cn-recipe-pic-hover,
.cn-interview-pic-wrap,
.cn-interview-pic-wrap::before,
.cn-interview-pic-main,
.cn-interview-pic-hover {
    border-radius: var(--gap);

}

.cn-movies-movie-pic-wrap::before,
.cn-bday-person-pic-wrap::before,
.cn-fashion-pic-wrap::before,
.cn-recipe-pic-wrap::before,
.cn-interview-pic-wrap::before {
    content: '';
    position: absolute;
    top: 11px;
    left: 11px;
    /* ширина 100% - 2*значение отступа слева */
    width: calc(100% - 22px);
    transition: opacity 300ms;
}

.cn-bday-person-pic,
.cn-movies-movie-pic,
.cn-fashion-pic,
.cn-recipe-pic-main,
.cn-recipe-pic-hover,
.cn-interview-pic-main,
.cn-interview-pic-hover {
    object-fit: cover;
    border: 1px solid white;
    filter: grayscale(1);
    opacity: .6;
    display: block;
    transition: opacity 300ms, filter 300ms;
    box-sizing: border-box;
}

/* для меняющихся картинок */
.cn-recipe-pic-hover,
.cn-interview-pic-hover {
    position: absolute;
    top: 10px;
    left: 10px;
    opacity: 0;
}

.cn-bday-person-pic-wrap:hover .cn-bday-person-pic-wrap::before,
.cn-movies-movie-pic-wrap:hover .cn-movies-movie-pic-wrap::before,
.cn-fashion-pic-wrap:hover .cn-fashion-pic-wrap::before,
.cn-recipe-pic-wrap:hover::before,
.cn-interview-pic-wrap:hover::before {
    opacity: 0;
}

.cn-movies-movie-pic-wrap:hover .cn-movies-movie-pic,
.cn-fashion-pic-wrap:hover .cn-fashion-pic,
.cn-bday-person-pic-wrap:hover .cn-bday-person-pic,
.cn-recipe-pic-wrap:hover .cn-recipe-pic-main,
.cn-recipe-pic-wrap:hover .cn-recipe-pic-hover,
.cn-interview-pic-wrap:hover .cn-interview-pic-main,
.cn-interview-pic-wrap:hover .cn-interview-pic-hover {
    opacity: 1;
    filter: grayscale(0);
}

.cn-recipe-pic-wrap:hover .cn-recipe-pic-hover,
.cn-interview-pic-wrap:hover .cn-interview-pic-hover {
    opacity: 1;
}

/* прокрутка */

.chicago-news *::-webkit-scrollbar {
    width: 2px;
    height: 2px;
}

.chicago-news *::-webkit-scrollbar-track {
    background: #c1c1c1;
    border-radius: 1px;
    border: none;
    box-shadow: none;
}

.chicago-news *::-webkit-scrollbar-thumb {
    border-radius: 1px;
    border: none;
    box-shadow: none;
}

.chicago-news *::-webkit-scrollbar-thumb:hover {
    background-color: #757575;
    cursor: pointer;
}

/* отдельные цвета для каждой рубрики */

.cn-news *::-webkit-scrollbar-thumb {
    background-color: var(--cn-news-color);
}

.cn-movies *::-webkit-scrollbar-thumb {
    background-color: var(--cn-movies-color);
}

.cn-fashion *::-webkit-scrollbar-thumb {
    background-color: var(--cn-fashion-color);
}

.cn-interview *::-webkit-scrollbar-thumb {
    background-color: var(--cn-interview-color);
}

.cn-horoscope *::-webkit-scrollbar-thumb {
    background-color: var(--cn-horoscope-color);
}

.cn-recipe *::-webkit-scrollbar-thumb {
    background-color: var(--cn-recipe-color);
}

.cn-bday *::-webkit-scrollbar-thumb {
    background-color: var(--cn-bday-color);
}

.cn-awards *::-webkit-scrollbar-thumb {
    background-color: var(--cn-awards-color);
}



/* НОВОСТИ */

.cn-news {
    display: grid;
    grid-template-areas: 'title title title'
        'intro intro avatars'
        'posts posts avatars'
        'quotes . avatars'
        'quotes diaries diaries'
        'quotes achievements achievements'
        'song song song';
    gap: var(--gap);
    grid-template-rows: auto auto auto 70px auto auto auto;
    grid-template-columns: 1.2fr 1fr;
}

/* заголовки */

.cn-news::before {
    content: 'memory lane';
    color: var(--cn-news-color);
}

.cn-news-title {
    background-color: var(--cn-news-color);
    box-shadow: 0 3px 4px var(--cn-news-color-opacity);
    grid-area: title;
    margin: 20px auto 30px;
}

.cn-news-posts::before,
.cn-news-quotes::before,
.cn-news-diaries::before {
    color: var(--cn-news-color);
}

.cn-news-quote-author,
.cn-news-diary-author,
.cn-news-diary-title,
.cn-news-song {
    color: #555555;
    display: block;
}

/* вступительное слово */

.cn-news-intro {
    grid-area: intro;
    width: 90%;
    height: 12.6em;
    margin: 0 auto;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.cn-news-intro-text {
    text-align: center;
    height: 100%;
    overflow-y: auto;
}

/* посты */

.cn-news-posts {
    grid-area: posts;
    border-radius: var(--gap);
    padding: var(--gap) 20px;
    box-sizing: border-box;
    overflow: hidden;
    margin-top: calc(var(--gap) * -1);
}

.cn-news-posts a {
    color: white;
}

.cn-news-posts::before {
    content: "* posts";
}

.cn-news-post {
    margin: 1.2em 0;
}

.cn-news-post:last-of-type {
    margin-bottom: 0;
}

.cn-news-post-text {
    font-size: 0.95em;
    line-height: 1.2em;
    /* height = значение line-height * количество видимых строк */
    height: 4.8em;
    overflow-y: auto;
    padding-right: 5px;
}

/* аватары */
.cn-news-avatars {
    grid-area: avatars;
}

.cn-news-avatar {
    width: 120px;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    position: relative;
}

.cn-news-avatar-preview {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
    filter: grayscale(1);
    transition: filter 0.3s ease;
    display: block;
}

.cn-news-avatars a:not(:last-child) {
    margin: 0 0 25px;
}

.cn-news-avatars a {
    display: block;
    position: relative;
}

.cn-news-avatars a:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 23px;
    height: 25px;
    /* далее указывается цвет в fill="%23f3a368" - тут %23 вместо # и width="23px" height="25px"*/
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="23px" height="25px"><path fill-rule="evenodd" fill="%23f3a368" d="M-0.000,-1.000 C7.667,-5.333 15.333,-5.333 23.000,-1.000 C17.186,7.685 17.186,16.352 23.000,25.000 C15.333,29.333 7.667,29.333 -0.000,25.000 C5.629,16.260 5.629,7.593 -0.000,-1.000 Z"/></svg>') no-repeat center;
    background-size: contain;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
}

.cn-news-avatar-full {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 4;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    width: auto;
    height: auto;
    box-shadow: 0 5px 15px var(--cn-news-color-opacity);
}

.cn-news-avatar:hover .cn-news-avatar-full {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* цитаты */

.cn-news-quotes {
    grid-area: quotes;
}

.cn-news-quotes::before {
    content: "* quotes";
}

.cn-news-quote {
    margin: 10px 0;
    font-size: 0.95em;
    line-height: 1.2em;
    /* height = значение line-height * количество видимых строк */
    height: 6em;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
}

.cn-news-quote:last-child {
    margin-bottom: 0;
}

.cn-news-quote-text {
    overflow-y: auto;
    padding-right: 5px;
    max-height: 4.8em;
    width: 100%;
}

/* дневники */

.cn-news-diaries {
    grid-area: diaries;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    gap: 10px;
    position: relative;
}

.cn-news-diaries::before {
    content: "* memories";
    width: 100%;
}

.cn-news-diary {
    width: 100%;
}

/* иконка цитаты */
.cn-news-diaries::after {
    content: '';
    background: url(https://forumstatic.ru/files/001b/ef/4a/37863.png);
    position: absolute;
    width: 94px;
    height: 85px;
    top: -93px;
    left: 25px;
    mix-blend-mode: multiply;
}

/* ачивки */

.cn-news-achievements {
    grid-area: achievements;
    padding: 10px;
    border-radius: 0 0 10px 10px;
    margin: calc(var(--gap) * -1) auto 0;
    width: 80%;
    font-size: .9em;
    line-height: 1.5;
}

.cn-news-achiever {
    color: inherit;
}

/* песня */

.cn-news-song {
    grid-area: song;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    border-radius: 20px;
    padding: 8px;
}


.cn-news-song-title {
    font-size: .8em;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
}

.cn-news-song-title::before {
    content: '';
    /* далее указывается цвет в fill="%23f3a368" - тут %23 вместо # */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Font1" x="0px" y="0px" viewBox="0 0 381.6 322" style="enable-background:new 0 0 381.6 322;" xml:space="preserve"><style type="text/css">.st0{fill:%23f3a368;}</style><path class="st0" d="M281.7,131.7c-3.5,1.4-6.7,2.7-10,4c-21,8.8-42.1,17.6-63.1,26.4c-0.8,0.3-1.6,0.7-2.5,1  c2.4-10,1.7-19.6-3.4-28.6c-5.1-8.9-12.6-15-22.6-17.5c-17.2-4.4-33.1,2.9-41.4,16.7c-8.5,14.1-6.6,32.2,4.4,44.3  c11.6,12.7,29.6,14.9,43.3,8.6c0,0.2,0.1,0.3,0.1,0.4c0,10.7-0.1,21.3,0,32c0,1.4-0.5,1.9-1.7,2.4c-16.2,5.5-25.9,16.7-29,33.5  c-0.6,3.1-0.3,6.4-0.4,9.6c0,0.4,0,0.7,0,1.3c-3.5-0.7-6.9-1.3-10.2-2c-36.7-8.3-68-35.6-81.2-72.5c-3.6-10.1-5.6-20.6-6.4-31.3  c-0.8-11.8,0.3-23.4,3.2-34.8c4.1-16.1,11.4-30.6,21.8-43.5c13.4-16.5,30.1-28.6,50.2-35.7c6-2.1,12.3-3.7,18.6-5  c8-1.7,16.1-1.9,24.3-1.5c19,0.8,36.8,6.2,53,16c22.6,13.7,38.7,33,48,57.8c2,5.4,3.3,11.1,4.9,16.7  C281.8,130.5,281.7,131.2,281.7,131.7z"/><path class="st0" d="M279.2,221.6c0-7.1,0-14,0-21c-3.3,1.4-6.5,2.8-9.7,4.1c-15.5,6.5-31.1,13-46.6,19.4c-1,0.4-1.3,0.9-1.3,2  c0,11.7,0,23.3,0,35c0,7.4-2.7,13.6-8.3,18.5c-13.4,11.9-34.6,5.8-39.6-11.8c-3.3-11.7,2.7-24.1,13.9-28.8c4.9-2.1,10-2.6,15.2-1.3  c0.3,0.1,0.6,0.1,1,0.2c0.1-0.3,0.2-0.6,0.2-0.9c-0.1-7.2-0.2-14.4-0.2-21.7c0-6.9,0-13.8,0-20.7c0-2.3,0.1-4.7,0.5-6.9  c0.4-3.1,2.2-5.3,5-6.5c6.1-2.6,12.2-5.1,18.3-7.7c19-7.9,37.9-15.9,56.9-23.8c5.5-2.3,11.6,1.4,12,7.4c0.1,1.4,0.1,2.7,0.1,4.1  c0,24.9,0,49.8,0,74.6c0,4.1,0.1,8.3-0.4,12.4c-1.2,10.3-9.4,18.6-19.5,20.7c-12.1,2.6-27.5-6.3-28.7-22.5  c-0.9-12.5,8.3-23.9,20.6-25.7C272.4,220.2,275.8,220.3,279.2,221.6z"/><path class="st0" d="M179.3,152.9c0,4.9-3.9,8.6-8.8,8.6c-4.7,0-8.6-4.1-8.6-8.9c0-4.8,4.1-8.6,9-8.6  C175.4,144.1,179.3,148.2,179.3,152.9z"/></svg>') no-repeat center;
    width: 2.3em;
    height: 2.3em;
    display: inline-block;
}

.cn-news-song audio {
    width: 100% !important;
    height: 30px !important;
    ;
}


/* ФИЛЬМЫ */

/* заголовки */

.cn-movies::before {
    content: 'memory movies';
    background: url(https://forumstatic.ru/files/001b/ef/4a/91672.png) no-repeat 10% 20px;
    background-blend-mode: multiply;
    padding-left: 41px;
    box-sizing: border-box;
}

.cn-movies-intro::after,
.cn-movies-title {
    background-color: var(--cn-movies-color);
    box-shadow: 0 3px 4px var(--cn-movies-color-opacity);
}

.cn-movies::before,
.cn-movies-movie-title,
.cn-movies-intro-author {
    color: var(--cn-movies-color);
}

.cn-movies-movie-title,
.cn-movies-intro-author {
    filter: brightness(0.8) saturate(1.8);
}

/* основной контейнер */

.cn-movies-container {
    width: 95%;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
}

/* автор */

.cn-movies-intro-author {
    margin: 0 0 10px;
}

.cn-movies-intro-author::after {
    content: ' вещает:';
}

.cn-movies-intro-text {
    height: 16.8em;
}

/* сами фильмы */

.cn-movies-movie {
    display: flex;
    align-items: center;
    gap: var(--gap);
    margin: 30px 0;
}

.cn-movies-movie:last-child {
    margin-bottom: 0;
}

.cn-movies-movie-alt {
    flex-direction: row-reverse;
}

.cn-movies-movie-title {
    margin: 0 0 10px;
}

/* фото */

.cn-movies-movie-pic-wrap {
    margin-left: -35px;
}

.cn-movies-movie-alt .cn-movies-movie-pic-wrap {
    margin-left: 0;
    margin-right: -35px;
}

.cn-movies-movie-pic-wrap::before {
    background: var(--cn-movies-color);
}

.cn-movies-movie-pic {
    width: 200px;
}

.cn-movies-movie-pic,
.cn-movies-movie-pic-wrap::before {
    aspect-ratio: 2 / 1;
}


/* МОДНЫЙ ПРИГОВОР */

/* заголовки */

.cn-fashion::before,
.cn-fashion-person {
    color: var(--cn-fashion-color);
}

.cn-fashion::before {
    content: 'memory look';
    background: url(https://forumstatic.ru/files/001b/ef/4a/13921.png) no-repeat 10% center;
    background-blend-mode: multiply;
    padding-left: 41px;
    box-sizing: border-box;
}

.cn-fashion-title {
    background-color: var(--cn-fashion-color);
    box-shadow: 0 3px 4px var(--cn-fashion-color-opacity);
}

/* основной контейнер */

.cn-fashion-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
    align-items: center;
}

/* структура элементов */

.cn-fashion-intro {
    grid-column: 1 / -1
}

/* фотки */


.cn-fashion-pic-wrap::before,
.cn-fashion-pic {
    aspect-ratio: 1 / 1.3;
}

.cn-fashion-pic {
    width: 100%;
}

.cn-fashion-pic-wrap::before {
    background: var(--cn-fashion-color);
}


/* текст */

.cn-fashion-description {
    height: 25.2em;

}



/* ИНТЕРВЬЮ */

/* заголовки */

.cn-interview::before,
.cn-interview-person {
    color: var(--cn-interview-color);
}

.cn-interview::before {
    content: 'memory stars';
    background: url(https://forumstatic.ru/files/001b/ef/4a/54383.png) no-repeat 10% center;
    background-blend-mode: multiply;
    padding-left: 41px;
    box-sizing: border-box;
}

.cn-interview-title {
    background-color: var(--cn-interview-color);
    box-shadow: 0 3px 4px var(--cn-interview-color-opacity);
}

/* основной контейнер */

.cn-interview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
    padding: 10px 10px 15px 25px;
    justify-content: space-around
}

/* о госте */

.cn-interview-about-item {
    margin: 0 0 var(--gap);
}

.cn-interview-about-item::before,
.cn-interview-questions-title {
    color: var(--cn-interview-color);
    filter: brightness(0.8) saturate(1.8);
}

.cn-interview-about-name::before {
    content: '* наш гость';
}

.cn-interview-about-name span {
    font-size: 1.5em;
    display: block;
    margin-top: 8px;
}

.cn-interview-about-age::before {
    content: '* возраст: ';
}

.cn-interview-about-relation::before {
    content: '* семейное положение: ';
}

.cn-interview-about-sign::before {
    content: '* знак зодиака: ';
}

/* фото */

.cn-interview-pic-wrap::before {
    background: var(--cn-interview-color);
}

/* цитата */

.cn-interview-quote::before {
    content: '"';
    font-size: 30px;
    color: var(--cn-interview-color);
    font-family: Aila;
    display: block;
    position: absolute;
    top: 50%;
    left: -30px;
}

.cn-interview-quote {
    font-style: italic;
    letter-spacing: 1.2px;
    line-height: 130%;
    font-size: 0.8em;
    width: 80%;
    position: relative;
}


/* вопросы */
.cn-interview-questions {
    height: 32em;
    padding-right: var(--gap);
}

.cn-interview-questions-title {
    margin: 1.5em 0 1em;
}

.cn-interview-questions-title:first-child {
    margin-top: 0;
}

/* песня */

.cn-interview-song {
    width: 90%;
    border-radius: 0 0 var(--gap) var(--gap);
    margin: 0 auto;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    padding: 5px;
    box-sizing: border-box;
}

.cn-interview-song-title {
    font-size: .8em;
    display: inline-flex;
    align-items: center;
}

.cn-interview-song-title::before {
    content: '';
    /* далее указывается цвет в fill="%23f0c569 - тут %23 вместо # */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Font1" x="0px" y="0px" viewBox="0 0 381.6 322" style="enable-background:new 0 0 381.6 322;" xml:space="preserve"><style type="text/css">.st0{fill:%23f0c569;}</style><path class="st0" d="M281.7,131.7c-3.5,1.4-6.7,2.7-10,4c-21,8.8-42.1,17.6-63.1,26.4c-0.8,0.3-1.6,0.7-2.5,1  c2.4-10,1.7-19.6-3.4-28.6c-5.1-8.9-12.6-15-22.6-17.5c-17.2-4.4-33.1,2.9-41.4,16.7c-8.5,14.1-6.6,32.2,4.4,44.3  c11.6,12.7,29.6,14.9,43.3,8.6c0,0.2,0.1,0.3,0.1,0.4c0,10.7-0.1,21.3,0,32c0,1.4-0.5,1.9-1.7,2.4c-16.2,5.5-25.9,16.7-29,33.5  c-0.6,3.1-0.3,6.4-0.4,9.6c0,0.4,0,0.7,0,1.3c-3.5-0.7-6.9-1.3-10.2-2c-36.7-8.3-68-35.6-81.2-72.5c-3.6-10.1-5.6-20.6-6.4-31.3  c-0.8-11.8,0.3-23.4,3.2-34.8c4.1-16.1,11.4-30.6,21.8-43.5c13.4-16.5,30.1-28.6,50.2-35.7c6-2.1,12.3-3.7,18.6-5  c8-1.7,16.1-1.9,24.3-1.5c19,0.8,36.8,6.2,53,16c22.6,13.7,38.7,33,48,57.8c2,5.4,3.3,11.1,4.9,16.7  C281.8,130.5,281.7,131.2,281.7,131.7z"/><path class="st0" d="M279.2,221.6c0-7.1,0-14,0-21c-3.3,1.4-6.5,2.8-9.7,4.1c-15.5,6.5-31.1,13-46.6,19.4c-1,0.4-1.3,0.9-1.3,2  c0,11.7,0,23.3,0,35c0,7.4-2.7,13.6-8.3,18.5c-13.4,11.9-34.6,5.8-39.6-11.8c-3.3-11.7,2.7-24.1,13.9-28.8c4.9-2.1,10-2.6,15.2-1.3  c0.3,0.1,0.6,0.1,1,0.2c0.1-0.3,0.2-0.6,0.2-0.9c-0.1-7.2-0.2-14.4-0.2-21.7c0-6.9,0-13.8,0-20.7c0-2.3,0.1-4.7,0.5-6.9  c0.4-3.1,2.2-5.3,5-6.5c6.1-2.6,12.2-5.1,18.3-7.7c19-7.9,37.9-15.9,56.9-23.8c5.5-2.3,11.6,1.4,12,7.4c0.1,1.4,0.1,2.7,0.1,4.1  c0,24.9,0,49.8,0,74.6c0,4.1,0.1,8.3-0.4,12.4c-1.2,10.3-9.4,18.6-19.5,20.7c-12.1,2.6-27.5-6.3-28.7-22.5  c-0.9-12.5,8.3-23.9,20.6-25.7C272.4,220.2,275.8,220.3,279.2,221.6z"/><path class="st0" d="M179.3,152.9c0,4.9-3.9,8.6-8.8,8.6c-4.7,0-8.6-4.1-8.6-8.9c0-4.8,4.1-8.6,9-8.6  C175.4,144.1,179.3,148.2,179.3,152.9z"/></svg>') no-repeat center;
    width: 2.3em;
    height: 2.3em;
    display: inline-block;
}

.cn-interview-song audio {
    width: 100% !important;
    height: 20px !important;
    filter: invert(1) brightness(2) contrast(0.5);
}



/* ГОРОСКОП */

/* заголовки */

.cn-horoscope::before {
    content: 'memory month';
    color: var(--cn-horoscope-color);
    background: url(https://forumstatic.ru/files/001b/ef/4a/85762.png) no-repeat 10% center;
    background-blend-mode: multiply;
    padding-left: 41px;
    box-sizing: border-box;
}

.cn-horoscope-intro::after,
.cn-horoscope-title {
    background-color: var(--cn-horoscope-color);
    box-shadow: 0 3px 4px var(--cn-horoscope-color-opacity);
}

.cn-horoscope-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
}

.cn-horoscope-intro {
    flex-basis: 100%;
    position: relative;
}

.cn-horoscope-intro-month {
    color: var(--cn-horoscope-color);
    filter: brightness(0.8) saturate(1.8);
    margin: 0 0 var(--gap);
}

.cn-horoscope-intro::before {
    content: url(https://forumstatic.ru/files/001b/ef/4a/85762.png);
    width: 54px;
    height: 60px;
    mix-blend-mode: multiply;
    position: absolute;
    bottom: -15px;
    right: -36px;
    transform: rotate(250deg) scale(0.9);
}

.night .cn-horoscope-intro::before {
    display: none;
}

.cn-horoscope-column-wrap {
    flex: 1;
    height: auto;
    padding-right: 8px;
}

.cn-horoscope-column {
    height: 30em;
    overflow-y: auto;
    padding-right: 7px;
}

.cn-horoscope-column-sign {
    margin: 20px 0 10px;
    color: var(--cn-horoscope-color);
    text-transform: uppercase;
}

.cn-horoscope-column-sign:first-child {
    margin-top: 0;
}



/* РЕЦЕПТ */

/* заголовки */

.cn-recipe::before {
    content: 'memory food';
    color: var(--cn-recipe-color);
    background: url(https://forumstatic.ru/files/001b/ef/4a/32242.png) no-repeat 10% center;
    background-blend-mode: multiply;
    padding-left: 41px;
    box-sizing: border-box;
}

.cn-recipe-intro::after,
.cn-recipe-title {
    background-color: var(--cn-recipe-color);
    box-shadow: 0 3px 4px var(--cn-recipe-color-opacity);
}

.cn-recipe-dish {
    text-transform: uppercase;
    color: var(--cn-recipe-color);
    margin-top: var(--gap);
}

/* текст */

.cn-recipe-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.cn-recipe-text {
    height: unset;
    max-height: 30.8em;
}

.cn-recipe-text span {
    display: block;
    margin: 0 0 1.4em;
}

/* фото */

.cn-recipe-pic-wrap::before {
    background: var(--cn-recipe-color);
}


/* список ингридиентов */

.cn-recipe-list-wrap::before {
    content: '* продукты';
    color: var(--cn-recipe-color);
    margin-bottom: var(--gap);
    display: block;
}

.cn-recipe-list-wrap {
    width: 100%;
    flex: 1;
    border-radius: var(--gap);
    padding: 10px var(--gap);
    height: 170px;
    position: relative;
}

.cn-recipe-list-wrap::after {
    position: absolute;
    content: '\f02e';
    color: var(--cn-recipe-color);
    font-family: var(--mem-font-v4);
    font-size: 25px;
    right: 33px;
    top: -6px;
}

.cn-recipe-list {
    width: 100%;
    height: 135px;
    overflow-y: auto;
    box-sizing: border-box;
}

.cn-recipe-list {
    list-style-type: none;
    padding: 0 3px 0 0 !important;
}

.cn-recipe-list>li {
    margin: 3px 0;
}

.cn-recipe-list>li:before {
    content: "—  ";
    color: var(--cn-recipe-color);
    font-weight: bold;
}



/* ДНИ РОЖДЕНИЯ */

/* заголовки */

.cn-bday::before {
    content: 'memory month';
    color: var(--cn-bday-color);
    background: url(https://forumstatic.ru/files/001b/ef/4a/38430.png) no-repeat 10% center;
    background-blend-mode: multiply;
    padding-left: 41px;
    box-sizing: border-box;
}

.cn-bday-title {
    background-color: var(--cn-bday-color);
    box-shadow: 0 3px 4px var(--cn-bday-color-opacity);
}

/* вступление */

.cn-bday-intro {
    height: auto;
    text-align: center;
    margin-bottom: var(--gap);
}

.cn-bday-intro::after {
    content: url(https://forumstatic.ru/files/001b/ef/4a/99146.svg);
    display: block;
    width: 70px;
    margin: 0 auto;
    filter: drop-shadow(-1px -2px 3px var(--cn-bday-color-opacity));
}

/* люди */

.cn-bday-people {
    height: calc(158px*3);
    overflow-y: auto;
}

.cn-bday-person {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--gap);
    margin-bottom: var(--gap);
    flex-wrap: wrap;
}

.cn-bday-person:not(:last-child)::after {
    content: '';
    width: 80%;
    height: 1px;
    border-bottom: 1px solid var(--cn-bday-color-opacity);
}

.cn-bday-person:last-child {
    margin-bottom: 0;
    border: none;
}

.cn-bday-person-info {
    width: 50%;
}

.cn-bday-person-name {
    text-transform: uppercase;
    text-align: left;
    color: var(--cn-bday-color);
    margin-bottom: var(--gap);
}

.cn-bday-person-pic {
    width: 120px;
}

.cn-bday-person-pic-wrap {
    padding: 5px;
}

.cn-bday-person-pic-wrap::before {
    background: var(--cn-bday-color);
    top: 6px;
    left: 6px;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
}

.cn-bday-person-pic-wrap:last-child::after {
    content: '';
}

.cn-bday-person-info-sign::before {
    content: 'Китайский зодиак: ';
}

.cn-bday-person-item {
    margin-bottom: 5px;
}


/* АВАРДС */

.cn-awards::before {
    content: 'awards';
    color: var(--cn-awards-color);
    background: url(https://forumstatic.ru/files/0019/9e/ef/39843.png) no-repeat 10% center;
    background-blend-mode: multiply;
    padding-left: 41px;
    box-sizing: border-box;
}

.cn-awards-intro::after,
.cn-awards-title {
    background-color: var(--cn-awards-color);
    box-shadow: 0 3px 4px var(--cn-awards-color-opacity);
}

.cn-awards-winners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
    max-height: 815px;
    overflow-y: auto;
    padding-right: 5px;
}

.cn-awards-winner {
    display: grid;
    gap: var(--gap);
    align-items: start;
    justify-items: center;
}

.cn-awards-winner-category {
    background: var(--cn-awards-color);
    color: #fff;
    text-transform: uppercase;
    padding: 3px 15px;
    border-radius: var(--gap);
    font-weight: 600;
    width: 80%;
    box-sizing: border-box;
    text-align: center;
    font-size: 12px;
}

.cn-awards-winner-img {
    max-width: 75%;
    width: fit-content;
    margin: auto;
    box-shadow: 0 0 6px #00000010;
}

.cn-awards-winner-img img {
    width: 120px;
    display: block;
    margin: auto;
    aspect-ratio: 1 / 1;
     object-fit: cover;
}

.cn-awards-winner-name {
    color: var(--cn-awards-color);
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

.cn-awards-winner-prize div.plashka {
    margin: 0 !important;
    text-align: center;
}


/* МОБИЛЬНЫЙ СТИЛЬ */

@media screen and (max-width: 540px) {

    /* ОБЩЕЕ */

    .chicago-news {
        width: 100%;
    }

    .chicago-news::before {
        font-size: 8cqh;
        white-space: nowrap;
    }

    .chicago-news-title {
        margin-top: 60px;
        margin-bottom: 10px;
        width: 80%;
    }

    .cn-news-diaries::after {
        display: none;
    }

    .cn-awards::before,
    .cn-bday::before,
    .cn-recipe::before,
    .cn-horoscope-intro::before,
    .cn-horoscope::before,
    .cn-movies::before,
    .cn-fashion::before,
    .cn-interview::before {
        background: none;
        padding: 0;
    }



    /* НОВОСТИ */

    .cn-news {
        grid-template-areas: 'title'
            'intro'
            'posts'
            'avatars'
            'quotes'
            'diaries'
            'achievements'
            'song';
        gap: 10px;
        grid-template-rows: unset;
        grid-template-columns: unset;
    }

    .cn-news-avatars {
        display: flex;
        gap: 20px;
    }

    .cn-news-avatars a:not(:last-child)::after {
        top: 50%;
        left: unset;
        right: -22px;
        height: 21px;
        transform: translateY(-50%) rotate(90deg);
    }

    .cn-news-avatars a {
        flex: 1;
        margin: unset !important;
    }

    .cn-news-avatar {
        width: unset;
    }

    .cn-news-avatar-full {
        position: fixed;
        top: 50%;
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
        max-width: 350px;
        max-height: 80vh;
        width: auto;
        height: auto;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 100;
    }

    .cn-news-avatar:hover .cn-news-avatar-full {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, -50%);
    }

    /* .cn-news-avatar-full {
        max-width: 350px;
        top: auto;
        bottom: 100%;
        right: 50%;
        left: auto;
        transform: translateX(50%) translateY(40%);
    }

    .cn-news-avatar:hover .cn-news-avatar-full {
        transform: translateX(50%) translateY(50%);
    } */



    .cn-news-quote {
        height: auto;
    }

    .cn-news-diary {
        flex: 0.5;
    }



    /* ФИЛЬМЫ */

    .cn-movies-movie {
        flex-wrap: wrap;
    }

    .cn-movies-movie-pic,
    .cn-movies-movie-pic-wrap::before {
        width: 200px;
    }

    .cn-movies-movie-pic-wrap,
    .cn-movies-movie-pic,
    .cn-movies-movie-pic-wrap::before {
        border-radius: 8px;
    }

    .cn-movies-movie-alt .cn-movies-movie-pic-wrap,
    .cn-movies-movie-pic-wrap {
        padding: 4px;
        margin: 0 auto;
    }

    .cn-movies-movie-pic-wrap::before {
        top: 5px;
        left: 5px;
        width: calc(100% - 10px);
    }



    /* МОДНЫЙ ПРИГОВОР */

    .cn-fashion-container {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .cn-fashion-item:nth-child(4) {
        grid-column: 1 / -1;
        order: 5;
    }

    .cn-fashion-item:nth-child(5) {
        order: 4;
    }

    .cn-fashion-description {
        height: 18.2em;
    }

    .cn-fashion-pic-wrap {
        padding: 5px;
    }

    .cn-fashion-pic-wrap::before {
        top: 6px;
        left: 6px;
        width: calc(100% - 12px);
    }

    .cn-fashion-pic-wrap:hover .cn-fashion-pic {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 350px;
        max-height: 80vh;
        width: auto;
        height: auto;
        z-index: 100;
    }

    .cn-fashion-pic-wrap:hover .cn-fashion-pic-wrap::before {
        display: none;
    }



    /* ИНТЕРВЬЮ */

    .cn-interview-about,
    .cn-interview-pic-wrap {
        flex: 1 0 calc(40% - 20px);
        text-align: left;
    }

    .cn-interview-about-item::before {
        display: block;
    }

    .cn-interview-pic-main,
    .cn-interview-pic-hover {
        width: 120px;
        aspect-ratio: 1 / 1;
    }



    /* ГОРОСКОП */

    .cn-horoscope-column-wrap {
        flex: unset;
    }

    .cn-horoscope-column {
        height: 15em;
    }



    /* РЕЦЕПТ */

    .cn-recipe-text {
        max-height: 18.4em;
    }

    .cn-recipe-pic-main {
        width: 100%;
    }

    .cn-recipe-pic-hover {
        width: calc(100% - 20px)
    }

    .cn-recipe-pic-wrap {
        order: 3;
    }

    .cn-recipe-list-wrap {
        order: 2;
    }


    /* ДНИ РОЖДЕНИЯ */
    .cn-bday-people {
        height: calc(118px*3);
        overflow-y: auto;
    }

    .cn-bday-person-info-sign::before {
        content: '';
    }

    .cn-bday-person-pic {
        width: 90px;
    }

    /* АВАРДС */

    .cn-awards-winners {
        grid-template-columns: 1fr;
    }

    .cn-awards-winner-prize {
        width: 90%;
    }

}