.blog-section {
   /*  background: #f5f5f5; */
    padding-top: 0;
    padding-bottom: 80px;
}

.blog-section > .container {
    max-width: 1060px;
    /* background: #fff; */
    /* padding-bottom: 70px; */
    padding-left: 25px;
    padding-right: 25px;
    -webkit-box-shadow: 0px 2px 16px 0px rgba(146, 184, 255, .3);
    box-shadow: 0px 2px 16px 0px rgba(146, 184, 255, .3);
    /* border-radius: 10px; */
    margin-bottom: 30px;
}

.blog-section > .container > .section-title {
    max-width: none;
    margin: 0;
}

.blog-section > .container > .section-title img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    border-radius: 0 0 8px 8px;
}

.blog-section .breadcrumb-item a {
    text-decoration: none;
}

.blog-section .author,
.blog-section .author-info,
.blog-section .blog-author {
    max-width: 800px;
}

.blog-section .author img,
.blog-section .blog-author img {
    border-radius: 50%;
}

.blog-section .section-title h1 {
    max-width: 800px;
    margin: 25px auto 35px;
    font-size: clamp(38px, 5vw, 52px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.blog-section .container > p {
    font-size: 18px;
    line-height: 1.68;
    margin-bottom: 22px;
}

.blog-section .container > p:first-of-type {
    font-size: 19px;
    line-height: 1.65;
    margin-bottom: 32px;
}

.blog-section .container > ol:first-of-type li {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 7px;
}

.blog-section .container > ol:first-of-type a {
    text-decoration: none;
}

.blog-section .container > h2,
.blog-section .container > h3 {
    margin-top: 65px;
    margin-bottom: 25px;
    margin-left: auto;
    margin-right: auto;
    font-size: 34px;
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.blog-section .container > h4 {
    max-width: 800px;
    margin-top: 42px;
    margin-bottom: 18px;
    margin-left: auto;
    margin-right: auto;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 650;
}

.blog-section .container img {
    max-width: 100%;
    height: auto;
}

.blog-section .container > p[align="center"],
.blog-section .container > p[style*="text-align:center"] {
    margin-top: 35px;
    margin-bottom: 45px;
}

.blog-section .container > p[align="center"] img,
.blog-section .container > p[style*="text-align:center"] img {
    display: block;
    max-width: 100%;
    height: auto !important;
    margin-left: auto;
    margin-right: auto;
    border-radius: 7px;
}

.blog-section blockquote {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px 25px;
    border-left: 3px solid #222;
    font-size: 19px;
    line-height: 1.6;
}

.blog-section .project-img-slider {
    margin: 55px auto 65px;
}

.blog-section .project-img-slider img {
    border-radius: 7px;
}

@media (max-width: 767px) {
    .blog-section {
        padding-bottom: 40px;
    }

    .blog-section > .container {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .blog-section > .container > .section-title img {
        width: calc(100% + 32px);
        max-width: none;
        margin-left: -16px;
        border-radius: 0;
    }

    .blog-section > .container > *:not(.section-title):not(.breadcrumb) {
        max-width: none;
    }

    .blog-section .section-title h1 {
        margin-top: 20px;
        margin-bottom: 25px;
        font-size: 34px;
        line-height: 1.1;
    }

    .blog-section .container > p {
        font-size: 16px;
        line-height: 1.65;
    }

    .blog-section .container > p:first-of-type {
        font-size: 17px;
    }

    .blog-section .container > h2,
    .blog-section .container > h3 {
        margin-top: 50px;
        font-size: 28px;
        line-height: 1.2;
    }

    .blog-section .container > h4 {
        margin-top: 35px;
        font-size: 22px;
    }

    .blog-section .container > ol:first-of-type li {
        font-size: 15px;
    }

    .blog-section .container > p[align="center"],
    .blog-section .container > p[style*="text-align:center"] {
        margin-top: 28px;
        margin-bottom: 35px;
    }

   
}

.blog-section .container img {
}

.blog-section .container > p:has(img) {
    float: none !important;
    clear: both !important;
}

.blog-section .container > ol:first-of-type + p {
    clear: both !important;
}

.blog-section .container > p:has(img) img {
    display: block;
    max-width: 100%;
    height: auto !important;
    margin-left: auto;
    margin-right: auto;
}

.blog-section .container > ul:first-of-type {
    list-style: none;
    counter-reset: item;
    margin: 24px 0;
    padding: 20px 28px;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    max-width: 420px;
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #2b2b2b;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.blog-section .container > ul:first-of-type::before {
    content: "Содержание";
    display: block;
    font-size: 22px;
    font-weight: 400;
    color: #1f1f1f;
    margin-bottom: 14px;
}

.blog-section .container > ul:first-of-type > li {
    counter-increment: item;
    margin-bottom: 6px;
    font-size: 15px;
}

.blog-section .container > ul:first-of-type > li > a {
    color: #b28800;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-section .container > ul:first-of-type > li > a::before {
    content: counter(item) ". ";
    color: #b28800;
}

.blog-section .container > ul:first-of-type > li > a:hover {
    color: #5c1231;
    text-decoration: underline;
}

.blog-section .container > ul:first-of-type ul {
    list-style: disc;
    counter-reset: none;
    margin: 8px 0 8px 22px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    max-width: none;
    font-size: 14px;
}

.blog-section .container > ul:first-of-type ul::before {
    content: none;
    display: none;
}

.blog-section .container > ul:first-of-type ul > li {
    counter-increment: none;
    margin-bottom: 4px;
}

.blog-section .container > ul:first-of-type ul > li > a {
    color: #b28800;
    font-size: 14px;
    text-decoration: none;
}

.blog-section .container > ul:first-of-type ul > li > a::before {
    content: none;
}

.blog-section .container > ul:first-of-type ul > li > a:hover {
    color: #222;
    text-decoration: underline;
}
.blog-section .author-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 25px auto 35px;
    font-family: Arial, sans-serif;
}

.blog-section .author-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.blog-section .author-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.blog-section .author-card-name {
    font-size: 20px;
    font-weight: 700;
    color: #b28800;
}

.blog-section .author-card-name:hover {
    color: #5c1231;
    text-decoration-color: #5c1231;
}

.blog-section .author-card-role {
    font-size: 16px;
    color: #2b2b2b;
}

.blog-section .author-card-socials {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.blog-section .author-card-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.blog-section .author-card-socials a:hover {
    opacity: 0.8;
}

.blog-section .author-card-socials .social-telegram {
    background: #29b6f6;
    color: #fff;
}

.blog-section .author-card-socials .social-whatsapp {
    background: #25d366;
    color: #fff;
}

.blog-section .author-card-socials svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}
.blog-section .author-card-date {
    margin-left: auto;
    font-size: 15px;
    color: #777;
    white-space: nowrap;
    align-self: center;
}
@media (max-width: 767px) {
    .blog-section .author-card {
        flex-wrap: wrap;
        gap: 12px;
    }

    .blog-section .author-card img {
        width: 60px;
        height: 60px;
    }

    .blog-section .author-card-name {
        font-size: 17px;
    }

    .blog-section .author-card-role {
        font-size: 14px;
    }

    .blog-section .author-card-socials {
        margin-left: 0;
        width: 100%;
    }

    .blog-section .author-card-socials a {
        width: 40px;
        height: 40px;
    }
       .blog-section .author-card-date{
    display: contents;
    }
}

.blog-section table {
    width: 100%;
    max-width: 800px;
    margin: 35px auto 45px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 16px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.blog-section th,
.blog-section td {
    padding: 14px 18px;
    text-align: left;
}

.blog-section th {
    font-weight: 650;
    background: #b28800;
    color: #fff;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.blog-section td {
    border-bottom: 1px solid #eee;
    color: #2b2b2b;
}

.blog-section tr:last-child td {
    border-bottom: none;
}

.blog-section tbody tr:nth-child(even) {
    background: #fafafa;
}

.blog-section tbody tr:hover {
    background: #f5f5f5;
}

@media (max-width: 767px) {
    .blog-section table {
        display: block;
        overflow-x: auto;
        font-size: 14px;
        border-radius: 0;
        box-shadow: none;
    }

    .blog-section th,
    .blog-section td {
        padding: 10px 14px;
        white-space: nowrap;
    }
}