/* Хлебные крошки */
.breadcrumbs {
    margin: 0 0 0px 0;
}

.breadcrumbs a {
    color: #FF8F01;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: #FF8F01;
}

.hero-content>div:first-child {
    display: flex;
    flex-direction: column;
}

.breadcrumbs {
    order: 1;
    margin-bottom: 10px;
    position: relative;
    top: -30px;
}

.hero-title {
    order: 2;
    margin: 10px 0 10px 0;
}

.post-meta-hero {
    order: 3;
    margin: 15px 0 15px 0;
}

/* Hero блок */
.hero {
    background: #8669EE;
    color: #fff;
    padding: 0 0 60px;
    position: relative;
    overflow: hidden;
    min-height: 450px;
}

.hero-section {
    width: 100%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-top: 0;
}

.hero-title {
    margin: 0;
    font-size: 44px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #fff !important;
    font-family: 'Roboto', sans-serif !important;
    margin: 0 30px 10px !important;
    order: 2;
}

.hero-content>div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 40px;
}

.hero-image-wrapper {
    flex-basis: 90%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: 10px;
}

.hero-image-wrapper img {
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    display: block;
    object-fit: contain;
}

.post-meta-hero {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    margin-bottom: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    justify-content: flex-start;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-label {
    font-weight: 600;
    color: #FFB007;
}

.meta-value {
    font-weight: 500;
}

/* Адаптив */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0 30px !important;
        min-height: auto !important;
    }

    .hero-title {
        font-size: 28px !important;
        margin: 20px 0 15px !important;
        text-align: center !important;
        width: 100%;
    }

    h1,
    .hero-title {
        margin-block-start: 0 !important;
    }

    .breadcrumbs {
        display: none !important;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-content>div:first-child {
        order: 2;
        margin-left: 0 !important;
    }



    .meta-item {
        justify-content: center !important;
    }

    .blog-content-wrapper {
        padding: 20px;
    }

    .post-content h2 {
        font-size: 28px;
    }

    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }

    .nav-next {
        text-align: left;
    }
}

/* ============================
   Paragraphs & Intro
============================ */
.single p {
    margin: 16px 0;
    line-height: 1.6;
}

.single .intro-block {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    font-size: 20px;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* ============================
   TOC (Оглавление)
============================ */
.single .toc {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0 40px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.single .toc__title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #007cba;
}

.single .toc__list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.single .toc__list li {
    margin: 8px 0;
    padding-left: 20px;
    position: relative;
}

.single .toc__list li::before {
    content: "➜";
    color: #007cba;
    position: absolute;
    left: 0;
    top: 0;
}

.single .toc__list a {
    text-decoration: none;
    color: #333;
}

.single .toc__list a:hover {
    color: #007cba;
}

/* ============================
   Main Keys
============================ */
.single .main-keys li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 32px;
    border-bottom: 1px dashed #eee;
    line-height: 1.6;
}

.single .main-keys li:last-child {
    border-bottom: none;
    margin-bottom: 40px;
}

.single .main-keys li::before {
    content: "✓";
    background: #EA098E;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
}

.single .main-keys strong {
    display: block;
    font-size: 1.3rem;
    color: #EA098E;
    margin-bottom: 15px;
}

/* ============================
   Title & Subtitle
============================ */
.single .title-block {
    font-size: 1.6rem;
    font-weight: bold;
    color: #333;
    padding-bottom: 6px;
    border-bottom: 3px solid #007cba;
    display: inline-block;
    margin-top: 30px;
}

.single .checklist__title,
.single h3 {
    font-size: 1.2rem;
    margin: 20px 0 12px;
    font-weight: 600;
    color: #007cba;
    border-left: 4px solid #007cba;
    padding-left: 10px;
}

/* ============================
   Checklist
============================ */
.single .checklist {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 18px 20px;
    margin: 20px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.single .checklist__list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.single .checklist__list li {
    margin: 10px 0;
    padding-left: 28px;
    position: relative;
    line-height: 1.5;
}

.single .checklist__list li::before {
    content: "✔";
    color: #28a745;
    position: absolute;
    left: 0;
    top: 0;
}

.single .checklist ol {
    list-style: none;
    counter-reset: num;
    padding-left: 0;
}

.single .checklist ol li {
    counter-increment: num;
    margin: 10px 0;
    padding-left: 32px;
    position: relative;
}

.single .checklist ol li::before {
    content: counter(num);
    background: #007cba;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    font-weight: bold;
}

/* ============================
   Tables
============================ */
.single table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    font-size: 0.95rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.single table th {
    background: #007cba;
    color: #fff;
    padding: 12px;
    text-align: left;
}

.single table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.single table tr:nth-child(even) {
    background: #f9fbff;
}

/* ============================
   FAQ
============================ */
.faq {
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
}

.faq__item {
    border-bottom: 1px solid #e0e0e0;
}

.faq__question {
    cursor: pointer;
    padding: 15px 20px;
    background: #f8f9fa;
    font-weight: 600;
    color: #007cba;
    transition: background 0.3s ease;
    position: relative;
}

.faq__question:hover {
    background: #eef6ff;
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s ease;
    background: #fff;
    padding: 0 20px;
    font-size: 0.95rem;
    color: #333;
}

.faq__item.active .faq__answer {
    max-height: 300px;
    padding: 15px 20px;
}

.faq__item.active .faq__question {
    background: #e6f2ff;
}

.faq__question::after {
    content: "➕";
    position: absolute;
    right: 20px;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.faq__item.active .faq__question::after {
    content: "➖";
    transform: rotate(180deg);
}

/* ============================
   Warning Box
============================ */
.single .warning-box {
    background: #fff9e6;
    border-left: 4px solid #FFC107;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    font-size: 0.95rem;
}

/* ============================
   Post Navigation
============================ */
.single .post-navigation {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 40px 0;
    gap: 20px;
}

.single .post-navigation a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.single .post-navigation a:hover {
    color: #007cba;
}

.single .nav-previous,
.single .nav-next {
    flex: 1;
}

.single .nav-previous a i {
    margin-right: 10px;
}

.single .nav-next {
    text-align: right;
}

.single .nav-next a {
    justify-content: flex-end;
}

.single .nav-next a i {
    margin-left: 10px;
}