/* ----------------------------------------------------
 * Базовые Стили
 * ---------------------------------------------------- */
* {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.news-item p {
    margin-bottom: 24px !important;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out both;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

[x-cloak] { display: none !important; }

/* ----------------------------------------------------
 * Логотип
 * ---------------------------------------------------- */
.logo a.tarap-logo-link,
.logo .tarap-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}

.logo .tarap-logo-img {
    display: block;
    width: auto;
    height: 36px;
    max-width: min(180px, 46vw);
    object-fit: contain;
}

@media (min-width: 768px) {
    .logo .tarap-logo-img {
        height: 44px;
        max-width: 220px;
    }
}

/* ----------------------------------------------------
 * Переключатель День / Ночь
 * ---------------------------------------------------- */
#switch {
    position: relative;
    width: 70px;
    height: 30px;
    border-radius: 30px;
    border: 2px solid rgb(211, 239, 255);
    background-color: rgb(186, 230, 255);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    cursor: pointer;
    transition: background-color 1s;
}

#switch.off {
    background-color: rgb(23, 23, 35);
    border-color: rgb(40, 40, 51);
}

#contentwrapper {
    position: absolute;
    inset: 0;
    border-radius: 30px;
    overflow: hidden;
    z-index: 2;
}

/* Круг */
#circle {
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 0;
    transform: translate(0%, -50%);
    border-radius: 50%;
    background-color: rgb(255, 233, 183);
    box-shadow: 0 0 3px 1px rgb(255, 233, 183), 0 0 6px 3px rgb(255, 219, 140), 0 0 9px 6px rgb(255, 209, 109);
    transition: all 1.2s ease;
    z-index: 1;
}

#circle::before,
#circle::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background-color: rgb(183, 188, 187);
    opacity: 0;
    transition: opacity 0s;
}

#circle::before {
    width: 3px;
    height: 5px;
    left: 15%;
    top: 30%;
    box-shadow: 0 0 1px 1px rgb(183, 188, 187);
}

#circle::after {
    width: 3px;
    height: 3px;
    left: 55%;
    top: 70%;
    box-shadow: 0 0 1px 1px rgb(183, 188, 187);
}

#switch.off #circle {
    width: 22px;
    height: 22px;
    left: 100%;
    transform: translate(-100%, -50%);
    background-color: rgb(237, 242, 241);
    box-shadow: 0 0 5px 1px rgb(244, 247, 246);
}

#switch.off #circle::before,
#switch.off #circle::after {
    opacity: 1;
    transition: opacity 1s 0.2s;
}

/* ----------------------------------------------------
 * Элементы Ночи: Звезды, Метеор, Облака
 * ---------------------------------------------------- */

/* Звезды */
#stars {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 0 2px rgb(255, 255, 255);
    opacity: 0;
}

.star::before,
.star::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 0 2px rgb(255, 255, 255);
    animation: growbrighter 1s linear alternate infinite;
}

.star::before {
    width: 6px;
    height: 1px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.star::after {
    width: 1px;
    height: 6px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#switch.off .star {
    opacity: 1;
    transition: opacity 1s 1s;
}

#switch.off #stars .star:nth-of-type(1) {
    left: 60%;
    top: 20%;
    animation: startravel1 6s linear infinite;
}

#switch.off #stars .star:nth-of-type(2) {
    left: 70%;
    top: 55%;
    animation: startravel2 8s linear infinite;
}

#switch.off #stars .star:nth-of-type(3) {
    left: 40%;
    top: 35%;
    animation: startravel3 9s linear infinite;
}

@keyframes growbrighter {
    0% { box-shadow: 0 0 1px rgb(255, 255, 255); }
    100% { box-shadow: 0 0 5px rgb(255, 255, 255); }
}

@keyframes startravel1 {
    0% { transform: rotate(65deg) translate(-20px) scale(1.0); }
    100% { transform: rotate(-60deg) translate(-20px) scale(1.2); }
}

@keyframes startravel2 {
    0% { transform: rotate(27deg) translate(-30px) scale(1.1); }
    100% { transform: rotate(-25deg) translate(-30px) scale(0.9); }
}

@keyframes startravel3 {
    0% { transform: rotate(22deg) translate(-35px) scale(1.0); }
    100% { transform: rotate(-20deg) translate(-35px) scale(0.8); }
}

/* Метеор */
#shtngstarwrapper {
    position: absolute;
    transform: translate(70px, -10px) rotate(-30deg);
    opacity: 0;
}

#shootingstar {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    left: 20%;
    top: 50%;
    background: radial-gradient(rgba(255, 231, 193, 0.9), rgba(237, 155, 61, 1));
    box-shadow: -1px 0 6px rgba(237, 155, 61, 0.7);
}

#shootingstar::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 3px;
    top: 50%;
    transform: translateY(-50%);
    background: radial-gradient(rgba(255, 231, 193, 0.9), rgba(237, 155, 61, 0.9));
    border-radius: 50px;
    z-index: -1;
}

#switch.off #shtngstarwrapper {
    animation: shootingstartravel 8s linear infinite;
    animation-delay: 1s;
    opacity: 1;
    transition: opacity 0s 1s;
}

#switch.off #shootingstar::after {
    animation: growtrail 8s linear infinite;
    animation-delay: 1s;
}

@keyframes shootingstartravel {
    0% { transform: translate(70px, -10px) rotate(-30deg); }
    8% { transform: translate(-40px, 25px) rotate(-30deg); }
    100% { transform: translate(-40px, 25px) rotate(-30deg); }
}

@keyframes growtrail {
    0% { width: 20px; }
    8% { width: 50px; }
    100% { width: 50px; }
}

/* Облака */
.cloud {
    position: absolute;
    width: 15px;
    height: 13px;
    background: radial-gradient(white 30%, #e0e0e0);
    border-radius: 50%;
    top: 6px;
    left: -20px;
    z-index: 1;
    opacity: 1;
    animation: cloudmove 10s linear infinite;
}

.cloud .cloudpart {
    position: absolute;
    background: inherit;
    border-radius: 50%;
}

.cloud .cloudpart:nth-child(1) {
    width: 7px;
    height: 6px;
    left: -40%;
    bottom: 0;
}

.cloud .cloudpart:nth-child(2) {
    width: 6px;
    height: 6px;
    left: 100%;
    bottom: 0;
}

.cloud .cloudpart:nth-child(3) {
    width: 8px;
    height: 6px;
    left: 50%;
    top: 0;
}

@keyframes cloudmove {
    0% { left: -20px; }
    100% { left: 90px; }
}

#switch.off .cloud {
    opacity: 0;
    animation: none;
    transition: opacity 0.6s;
}

/* ----------------------------------------------------
 * Погода (Температура)
 * ---------------------------------------------------- */
#weather-temp {
    width: 40px;
}

/* ----------------------------------------------------
 * Главное изображение новости
 * ---------------------------------------------------- */
.main-news:hover img {
    transform: scale(1.05);
}

.newscover {
    padding-top: 56.25%;
    width: 100%;
    position: relative;
}

.newscover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newscover span{
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: block;
    color: #fff;
    font-size: 12px;
    text-shadow: #000 .1em .1em .5em;
    font-stretch: 90%;
}

.yt{
    position: relative;
    padding-bottom: 56.25%;
    margin-bottom: 24px;
}

.yt iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 6px;
}

.news-item blockquote{
    background: #f6f6f8;
    padding: 48px 24px 24px;
    margin-bottom: 24px;
    border-radius: 6px;
    position: relative;
}
.news-item blockquote::before {
    content: '\e9ad'; /* код иконки */
    font-family: 'coolicons'; /* имя шрифта, как в твоём проекте */
    position: absolute;
    top: 12px;
    left: 24px;
    font-size: 24px;
    color: #0b6dd7;
}

.news-item blockquote p{
    margin: 0!important;
}

.share{
    border-top: 2px solid #f2f4f6;
    border-bottom: 2px solid #f2f4f6;
    padding: 16px 0;
}

.slinks a {
    background: #f2f4f6;
    padding: 8px;
    border-radius: 3px;
    font-size: 20px;
    -webkit-transition: all .25s;
    transition: all .25s;
}

.slinks a svg{
    width: 24px;
    height: 24px;
}

.slinks a:hover svg{
    filter: invert(98%) sepia(64%) saturate(581%) hue-rotate(180deg) brightness(110%) contrast(100%);
}

.slinks a.fb:hover {
    background: #1877f2;
}
.slinks a.tg:hover {
    background: #2ca5e0;
}
.slinks a.wp:hover {
    background: #009688;
}
.slinks a.x:hover {
    background: #191C1D;
}
.slinks a.vk:hover {
    background: #4a76a8;
}

.footer-social a svg{
    width: 24px;
    height: 24px;
    filter: invert(98%) sepia(64%) saturate(581%) hue-rotate(180deg) brightness(110%) contrast(100%);
}

.news-text a{
    color: #0b6dd7;
}
.news-text a:hover{
    text-decoration: underline;
}

.news-text ul,
.news-text ol {
    list-style: disc;
    margin-left: 1.2rem; /* чтобы маркеры не выходили за границы */
    padding-left: 1rem;
}

.news-text ol {
    list-style: auto;
}

.news-text ul li,
.news-text ol li {
    margin: 0.4rem 0;
}

/* Цвет буллитов для UL */
.news-text ul li::marker {
    color: #0b6dd7;
}

/* Цвет нумерации для OL */
.news-text ol li::marker {
    color: #0b6dd7;
}
