@charset "UTF-8";
/* ============================================================
   SINGLE POST
   ============================================================ */


.single-post .header-subnav ul::before,
.single-post .header-subnav ul::after {
    display: none !important;
  
}


.single-post .header-mobile__top::before,
.single-post .header-mobile__top::after {
    display: none !important;
}



.single-post {
    

    background: url('/wp-content/uploads/2026/05/post-fon.png') 100% top / cover no-repeat;

}

.single-post__inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
  width: 100%;
  padding-top: 220px;
}

/* ── Мета ── */
.single-post__meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.single-post__meta-date,
.single-post__meta-time {
    color: rgba(232,232,232,.5);
    -webkit-text-fill-color: rgba(232,232,232,.5);
    font-family: var(--font-myriad);
    font-size: 15px;
    line-height: 1;
    font-weight: 400;
}

.single-post__meta-sep {
    color: rgba(232,232,232,.3);
    -webkit-text-fill-color: rgba(232,232,232,.3);
    font-size: 15px;
}

.single-post__meta-cat {
    background: var(--gradient-zheltyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-myriad);
    font-size: 15px;
    line-height: 1;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* ── Заголовок ── */
.single-post__title {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-bebas);
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.05;
    font-weight: 700;
    margin: 0;
}

/* ── Краткое описание ── */
.single-post__excerpt {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-myriad);
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
    margin: 0;
    opacity: .8;
}

/* ── Обложка ── */
.single-post__cover {
    align-self: stretch;
    border-radius: 20px;
    overflow: hidden;
}

.single-post__cover-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* ── Контент ── */
.post-content {
    color: rgba(232,232,232,.85);
    -webkit-text-fill-color: rgba(232,232,232,.85);
    font-family: var(--font-myriad);
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-bebas);
    font-weight: 700;
    margin: 2em 0 .75em;
    line-height: 1.1;
}

.post-content h2 { font-size: clamp(28px, 3vw, 38px); }
.post-content h3 { font-size: clamp(22px, 2.5vw, 30px); }
.post-content h4 { font-size: clamp(18px, 2vw, 24px); }

.post-content p {
    margin: 0 0 1.4em;
}

.post-content p:last-child {
    margin-bottom: 0;
}

.post-content a {
    color: rgba(255,219,115,.8);
    -webkit-text-fill-color: rgba(255,219,115,.8);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s;
}

.post-content a:hover {
    color: #FFDB73;
    -webkit-text-fill-color: #FFDB73;
}

.post-content ul,
.post-content ol {
    padding-left: 1.5em;
    margin: 0 0 1.4em;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-content ul li::marker {
    color: rgba(255,219,115,.7);
}

.post-content ol li::marker {
    color: rgba(255,219,115,.7);
    font-family: var(--font-bebas);
    font-size: 1.1em;
}

/* ── Цитата в стиле Figma ── */
.post-content blockquote {
    background: rgba(142, 114, 23, .12);
    border-radius: 30px;
    border: 1px solid rgba(255, 219, 115, .11);
    padding: 40px 40px 54px;
    display: flex;
    flex-direction: column;
    gap: 21px;
    align-items: center;
    margin: 2em 0;

    /* убираем старые стили */
    border-left: none;
    font-style: normal;
}

/* Иконка кавычек сверху через псевдоэлемент */
.post-content blockquote::before {
    content: '';
    display: block;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: url('/wp-content/uploads/2026/05/quote-icon.svg') center / contain no-repeat;
}

/* Текст цитаты */
.post-content blockquote p {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-family: var(--font-myriad);
    font-size: 18px;
    line-height: 21px;
    font-weight: 400;
    margin: 0;
    align-self: stretch;
}

.post-content blockquote h3 {
  margin: 0px !important;
}

.post-content blockquote h3 span {
    background: var(--gradient-zheltyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* cite — заголовок цитаты (если нужен) */
.post-content blockquote cite {
    text-align: center;
    font-family: var(--font-bebas);
    font-size: 38px;
    line-height: 41px;
    font-weight: 700;
    font-style: normal;
    align-self: stretch;

    background: var(--gradient-zheltyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 1.5em 0;
    width: 100%;
}



.post-content figure {
    margin: 1.5em 0;
    width: 100% !important;
}

.post-content figure img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0;
    margin: 40px 0;
}


.post-content img {
    width: 100% !important;
    max-width: 100%;
    height: auto;
}

.post-content .wp-caption-text {
    font-size: 16px;
   margin-top: 1.5em;
   text-align: center;
}



.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 16px;
}

.post-content th,
.post-content td {
    padding: 12px 16px;
    border: 1px solid var(--linii);
    text-align: left;
}

.post-content th {
    background: rgba(255,219,115,.08);
    color: rgba(255,219,115,.9);
    -webkit-text-fill-color: rgba(255,219,115,.9);
    font-family: var(--font-bebas);
    font-size: 18px;
}



.post-content ol {
    list-style: none;
    padding-left: 0;
    margin: 1.5em 0;
    display: flex;
    flex-direction: column;
    gap: 35px;
    counter-reset: ol-counter;
}

.post-content ol li {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    align-self: stretch;
    counter-increment: ol-counter;
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-myriad);
    font-size: 18px;
    line-height: 21px;
    font-weight: 400;
}

.post-content ol li::before {
    content: counter(ol-counter);
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(255, 219, 115, .36);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-bebas);
    font-size: 20px;
    line-height: 1;
    font-weight: 700;

    color: #FFDB73;
    -webkit-text-fill-color: #FFDB73;
    background: none;
    background-clip: unset;
    -webkit-background-clip: unset;
}




/* ── Теги ── */
.single-post__tags {
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid var(--linii);
}

.single-post__tag {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 4px;
    border: 1px solid var(--linii);
    font-family: var(--font-myriad);
    font-size: 14px;
    font-weight: 400;
    color: rgba(232,232,232,.5);
    -webkit-text-fill-color: rgba(232,232,232,.5);
    text-decoration: none;
    transition: border-color .2s, color .2s;
}

.single-post__tag:hover {
    border-color: rgba(255,219,115,.4);
    color: rgba(255,219,115,.8);
    -webkit-text-fill-color: rgba(255,219,115,.8);
}

/* ── Related posts секция ── */
.related-posts {
    margin-top: 10px;
    margin-bottom: 80px;
    border-top: 1px solid var(--linii);
    
}


.related-posts .section-head__title {
   text-align: left;
}

.related-posts .blog__card-inner-wrap {
    padding: 0px 16px; 
    height: 100%;
}

.related-posts .blog__card-inner{
    border-radius: 12px;
    border: 1px solid rgba(54, 54, 54, 0.56);
    background: rgba(5, 5, 5, 0.44);


}

.related-posts .blog__card-inner:hover { 
       background: #151515 url('/wp-content/uploads/2026/05/frame-hover3.png') top left / 100% auto no-repeat;
}


/* ── Адаптив ── */
@media (max-width: 1023px) {
    .single-post__inner {
        gap: 32px;
        padding-top: 130px;
    }

    .single-post .blog {      
        padding-top: 80px;
    }

}

@media (max-width: 599px) {
    .single-post {
        padding-top: 24px;
    }

    .single-post__inner {
        gap: 20px;
    }

    .post-content {
        font-size: 16px;
        line-height: 26px;
    }
}


@media (max-width: 480px) {
    .single-post__inner {
        padding-top: 70px;
    }

    .single-post__title{ font-size: 32px; }

    .single-post__excerpt{ font-size: 15px; }
    .post-content h2,
    .post-content h3 {
        margin: 40px 0 17px;
        font-size: 22px;
    }

    .post-content {
        font-size: 15px;
        line-height: 18px;
    }


    .post-content blockquote {   
        padding: 20px;   
        gap: 13px;
    }


    .post-content blockquote p {
        font-size: 15px;
        line-height: 18px;
    }

    .post-content .wp-caption-text {
        font-size: 15px;
        margin-top: 1em;
        text-align: center;
    }



    .post-content ol li {
        font-size: 15px;
        line-height: 18px;
        align-items: flex-start;
    }
    .post-content ol li::before {
        margin-top: 5px;
    }
    .single-post .blog {
        padding-top: 40px;
    }
}