/* Blog Update Styles - home.php - Mobile First */

/* ===== SEARCH STYLES ===== */

body {
    background-color: #f3f3f3;
}

.blog-search-wrapper {
    display: none;
    margin-bottom: 2rem;
}

.blog-search-form {
    display: flex;
    gap: 0.5rem;
}

.blog-search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.blog-search-input:focus {
    outline: none;
    border-color: #0389CB;
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.blog-search-button {
    padding: 0.75rem 1.5rem;
    background-color: #0389CB;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.blog-search-button:hover {
    background-color: #00a8b5;
}

/* ===== MAIN LAYOUT ===== */
.content-root-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
}

.blog-title {

    margin-top: 0 !important;
    font-size: 34px !important;
    font-weight: 500;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.container>.blog-title {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}

.container.mini-container {
    max-width: 1400px;
    padding: 0 15px;
}

/* ===== BLOG ROOT (Articles) ===== */
.blog-root {
    width: 100%;
    max-width: 890px;
}

.article-item {
    margin-bottom: 15px;

    padding-bottom: 2rem;
    transition: all 0.3s ease;
    border-radius: 15px;
    background-color: #fff;
    padding: 15px 20px;

}

.article-item:hover {
    box-shadow: 0 0 10px #00000010;
}

.article-border {
    height: 3px;
    width: 0;
    background-color: #0389CB;
    margin-bottom: 1rem;
    transition: width 0.3s ease;
    display: none;
}

.article-item:hover .article-border {
    width: 50px;
}

.article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.title-root {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

/* single-meta — общий враппер */
.single-meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

/* строка: дата + время чтения */
.single-info-wr {
    display: flex;
    align-items: baseline;
    gap: 60px;
    flex-wrap: wrap;
}

.updated-at {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.4;
    white-space: nowrap;
}

.readtime {
    font-size: 16px;
    color: #3b3f47;
    line-height: 1.4;
    white-space: nowrap;

}

.readtime span {
    /* "Время на чтение:" — обычный цвет */
    color: #6b7280;
}

/* блок автора */
.author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e5e7eb;
    flex-shrink: 0;
}

.author-text p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: rgba(19, 19, 19, 1);
    line-height: 1.3;
    margin-bottom: 0 !important;
}

.author-text span {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .single-info-wr {
        gap: 16px;
    }
}

.article-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1rem;

}

.blog-btn {
    font-size: 16px;
    display: block;
    text-align: center;
    color: #fff;
    background-color: #0389CB;
    border-radius: 5px;
    text-decoration: none;
    padding: 12px 20px;
    transition: .35s ease;
    border: 1px solid transparent;
    max-width: 240px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.additional {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 10px;
}

.additional a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #f5f5f5;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.additional a:hover {
    background-color: #0389CB;
    color: white;
}

.additional a.active-category {
    background-color: #0389CB;
    color: white;
    font-weight: 600;
}

.additional a.active-category:hover {
    background-color: #00a8b5;
}

/* ===== RIGHT SIDE (Categories) ===== */
.right-side {
    width: 100%;
}


.lg-down {
    display: block;
}

.lg-up {
    display: none;
}

.right-side-root {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
}

.right-side.custom .right-side-root {
    padding: 0;
    background-color: transparent;
}

.content-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 1rem 0;
}

.categories-chip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.categories-chip a {
    display: inline-block;
    padding: 5px 15px;
    background-color: #fff;
    color: #666;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.categories-chip a:hover {
    border-color: #0389CB;
    color: #0389CB;
    background-color: #f0f8fa;
}

.categories-chip a.active {
    background-color: #0389CB;
    color: white;
    border-color: #0389CB;
    font-weight: 600;
    order: -1;
}

.categories-chip a.active:hover {
    background-color: #00a8b5;
    border-color: #00a8b5;
}

/* ===== SINGLE PAGE STYLES ===== */
.article-additional {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #999;
    padding: 0 15px;
}

.article-additional .updated-at {
    color: #999;
}

.article-additional .dot {
    width: 4px;
    height: 4px;
    background-color: #ddd;
    border-radius: 50%;
}

.article-additional a {
    color: #0389CB;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-additional a:hover {
    color: #00a8b5;
}

/* ===== .single-content CONTENT STYLES ===== */
article,
.entry-content,
.post-content {
    font-size: 1.0625rem;
    line-height: 1.4;
    color: #555;
    box-sizing: border-box;

}
.single-content {
    color: #555;
}
.single-content >img {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}
/* Paragraph styles */
.single-content p,
article p,
.entry-content p,
.post-content p,
article article p,
.entry-content article p,
.post-content article p {
    margin-bottom: 1.25rem;
    color: inherit;
}

/* Heading styles */
.single-content h1,
.single-content h2,
.single-content h3,
.single-content h4,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.single-content article h1,
.single-content article h2,
.single-content article h3,
.single-content article h4 {
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 600;
}

.single-content,
.entry-content h3,
.post-content h3,
.single-content article h3 {
    font-size: 1.3rem;
}

.single-content h2,
.entry-content h2,
.post-content h2,
.single-content article h2 {
    font-size: 1.5rem;
}

.single-content h1,
.entry-content h1,
.post-content h1,
.single-content article h1 {
    font-size: 48px;
    font-weight: 500;
}

/* List styles */
.single-content ul,
.single-content ol,
.entry-content ul,
.entry-content ol,
.post-content ul,
.post-content ol,
.single-content article ul,
.single-content article ol {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
}

.single-content li,
.entry-content li,
.post-content li,
.single-content article li {
    margin-bottom: 0.75rem;
    color: #555;
}

.single-content li strong,
.entry-content li strong,
.post-content li strong {
    color: #333;
    font-weight: 600;
}

/* Strong text styles */
.single-content strong,
.entry-content strong,
.post-content strong,
.single-content article strong {
    color: #333;
    font-weight: 600;
}

/* Link styles */
.single-content a,
.entry-content a,
.post-content a,
.single-content article a {
    color: #1e90ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.single-content a:hover,
.entry-content a:hover,
.post-content a:hover,
.single-content article a:hover {
    color: #1a7acc;
    text-decoration: underline;
}

/* Blockquote styles */
.single-content blockquote,
.entry-content blockquote,
.post-content blockquote,
.single-content article blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid #0389CB;
    background-color: #f9f9f9;
    color: #666;
    font-style: italic;
}

/* Code styles */
.single-content code,
.entry-content code,
.post-content code,
.single-content article code {
    background-color: #f5f5f5;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: #d63384;
}

/* Table styles */
.single-content table,
.entry-content table,
.post-content table,
.single-content article table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.single-content table th,
.single-content table td,
.entry-content table th,
.entry-content table td,
.post-content table th,
.post-content table td {
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.single-content table th,
.entry-content table th,
.post-content table th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #333;
}

/* Mobile: таблицы прокручиваются горизонтально */
@media (max-width: 619px) {
    .single-content table,
    .entry-content table,
    .post-content table,
    .single-content article table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .single-content table th,
    .single-content table td,
    .entry-content table th,
    .entry-content table td,
    .post-content table th,
    .post-content table td {
        white-space: nowrap;
    }
}

/* Help buttons */
.help-buttons {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.help-buttons a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #0389CB;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.help-buttons a.button-green {
    background-color: #4caf50;
}

.help-buttons a:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* ===== PAGINATION ===== */
.app-paginator {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.app-paginator .wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.app-paginator-root {
    display: flex;
    gap: 0.5rem;
}

.app-paginator-root a {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.app-paginator-root a.current {
    background-color: #0389CB;
    color: white;
    border-color: #0389CB;
}

.app-paginator-root a:hover:not(.current) {
    border-color: #0389CB;
    color: #0389CB;
}

.app-paginator a.no-padding {
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.app-paginator a.no-padding:hover:not(.disabled) {
    transform: scale(1.1);
}

.app-paginator a.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== ACCORDION (Mobile Categories) ===== */
.accordion-button {
    width: 100%;
    padding: 1rem;
    background-color: transparent;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
}

.accordion-button:hover {
    color: #0389CB;
}

.accordion-collapse {
    overflow: hidden;
}

.accordion-body {
    padding: 1rem;
    background-color: #f9f9f9;
}

.content-root-grid {
    margin-bottom: 40px;
    justify-content: center;
}

.custom-container {
    max-width: none;
    /* margin-top: 50px; */
}

.single-content {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    position: relative;
    line-height: 1.4;
    letter-spacing: -.05em;
    font-size: 17px;
    padding: 0;
    margin: 0;
    max-width: 890px;
    width: 100%;
    background-color: transparent;
}

.single-content p img {
    display: block;
    max-width: 100%;
    border-radius: 30px;
    border: 1px solid #00a8b5;
}

.single-content .article,
.single-content .news-article,
.single-content .entry-content,
.single-content .post-content {
    padding: 0;
}

.single-content ul li {
    list-style: disc;
}

/* ===== TABLET STYLES (769px+) ===== */
@media (min-width: 769px) {
    .blog-title {
        font-size: 40px !important;
    }

    .single-content {
        border-radius: 10px;
        padding: 50px 70px;
        background-color: #fff;

    }

    .content-root-grid {
        flex-direction: row-reverse;
        align-items: flex-start;
        gap: 10px;
    }

    .blog-root {
        flex: 1;
    }

    .right-side {
        flex: 0 0 280px;
    }

    .lg-down {
        display: none;
    }

    .lg-up {
        display: block;
        position: sticky;
        top: 80px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

    .title {
        font-size: 1.4rem;
    }

    .article-description {
        font-size: 14px;
    }

    /* Single page tablet styles */
    article,
    .entry-content,
    .post-content {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        background-color: #fff;
        border-radius: 10px;
        padding: 50px 70px;
        position: relative;
        line-height: 1.4;
        letter-spacing: -.05em;
        font-size: 17px;
    }

    .single-content h3,
    .entry-content h3,
    .post-content h3 {
        font-size: 1.3rem;
        margin-top: 1.5rem;
    }
}

/* ===== DESKTOP STYLES (1025px+) ===== */
@media (min-width: 1025px) {
    .blog-title {
        font-size: 48px;
    }

    .content-root-grid {
        gap: 10px;
    }

    .blog-root {
        flex: 1;
    }

    .right-side {
        flex: 0 0 440px;
    }

    .article-item {
        margin-bottom: 15px;
        padding-bottom: 2.5rem;
    }

    .title {
        font-size: 1.5rem;
    }

    .updated-at {
        font-size: 0.9rem;
    }

    .article-description {
        font-size: 14px;
    }

    .categories-chip a {
        font-size: 1rem;
    }

    /* Single page desktop styles */
    article,
    .entry-content,
    .post-content {
        font-size: 1.0625rem;
        line-height: 1.4;
    }

    .single-content h1,
    .entry-content h1,
    .post-content h1 {
        font-size: 48px;
        font-weight: 500;
        margin-top: 1.75rem;
        margin-bottom: 1.25rem;
    }

    .single-content h2,
    .entry-content h2,
    .post-content h2 {
        font-size: 1.5rem;
        margin-top: 1.75rem;
        margin-bottom: 1.25rem;
    }

    .single-content h3,
    .entry-content h3,
    .post-content h3 {
        font-size: 1.3rem;
        margin-top: 1.75rem;
        margin-bottom: 1.25rem;
    }

    .single-content p,
    .entry-content p,
    .post-content p {
        margin-bottom: 1.25rem;
    }

    .single-content ul,
    .single-content ol,
    .entry-content ul,
    .entry-content ol,
    .post-content ul,
    .post-content ol {
        margin-bottom: 1.25rem;
        padding-left: 2rem;
    }

    .single-content li,
    .entry-content li,
    .post-content li {
        margin-bottom: 0.75rem;
    }
}

/* ===== SCROLLBAR STYLES ===== */
.lg-up::-webkit-scrollbar {
    width: 6px;
}

.lg-up::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.lg-up::-webkit-scrollbar-thumb {
    background: #0388cb4f;
    border-radius: 10px;
}

.lg-up::-webkit-scrollbar-thumb:hover {
    background: #00a9b53f;
}


/* Стили .cp-breadcrums перенесены в assets/css/breadcrumbs-2026.css */

.toc-block {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
}

.toc-title {
    font-size: 22px;
    line-height: 1.1;
    font-weight: 700;
    margin: 0;
    margin-bottom: 14px;
    color: rgba(19, 19, 19, 1);
}

.toc-nav {
    display: flex;
    flex-direction: column;
    max-height: 600px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #0388cb48 transparent;
}

.toc-nav::-webkit-scrollbar {
    width: 3px;
}

.toc-nav::-webkit-scrollbar-track {
    background: transparent;
}

.toc-nav::-webkit-scrollbar-thumb {
    background: #0388cb4b;
    border-radius: 3px;
}

.toc-link {
    display: block;
    font-size: 17px;
    letter-spacing: -0.05em;
    line-height: 1.4;
    color: rgba(19, 19, 19, 1);
    text-decoration: none;
    padding: 12px 10px;
    margin: 2px 0;
    position: relative;
    transition: color 0.2s;
}

.toc-link::before {
    display: none;
}

.toc-link.toc-h2 {
    font-size: 17px;
    letter-spacing: -0.05em;
    color: rgba(19, 19, 19, 1);
    opacity: 1;
    padding-left: 10px;
    line-height: 1.1;
}

.toc-link.toc-h3 {
    font-size: 16px;
    letter-spacing: -0.05em;
    color: rgba(19, 19, 19, 1);
    opacity: 0.8;
    padding-left: 22px;
}

.toc-link:hover {
    color: #0389CB;
    opacity: 1;
}

.toc-link.is-active {
    color: #0389CB;
    font-weight: 500;
    opacity: 1;
}

.toc-link.is-active::before {
    display: none;
}

.toc-skeleton {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 2px 0;
}

.toc-skeleton-item {
    height: 14px;
    border-radius: 6px;
    background: linear-gradient(90deg,
            #dbeaf2 25%,
            #c8dde8 50%,
            #dbeaf2 75%);
    background-size: 200% 100%;
    animation: toc-shimmer 1.4s ease-in-out infinite;
}

.toc-skeleton-h3 {
    margin-left: 14px;
    height: 12px;
}

@keyframes toc-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.single-content .border-text {
    border-radius: 12px;
    margin-bottom: 24px;
    padding: 20px 24px;
    transition: all 0.2s ease;
    margin: 10px 0;
    background-color: #f0f7fb;

}
.single-content .uppercase-text {
   font-size: 24px;
   line-height: 1.1;
   letter-spacing: -0.05em;
   color: rgba(19, 19, 19, 1);

}

.single-content .border-text p:last-child {
    margin-bottom: 0;

}



/* ── Общий: фото с круглой маской ────────────────── */
.expert-single-photo,
.expert-card__photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background-color: #e5e7eb;
    display: block;
}

.expert-single-photo--placeholder,
.expert-card__photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.expert-single-photo--placeholder svg,
.expert-card__photo--placeholder svg {
    width: 100%;
    height: 100%;
}

/* ── author--expert: кликабельный автор в single.php ─ */
.author.author--expert {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.author.author--expert:hover {
    opacity: 0.75;
}

.author-img img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* ── SINGLE EXPERT PAGE ──────────────────────────── */
.expert-single-card {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    background-color: #fff;
    border-radius: 15px;
    padding: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.expert-single-photo-wrap {
    flex-shrink: 0;
}

.expert-single-photo {
    width: 160px;
    height: 160px;
}

.expert-single-info {
    flex: 1;
    min-width: 220px;
}

.expert-single-name {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px;
    line-height: 1.3;
}

.expert-single-position {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 16px;
}

.expert-single-bio {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.expert-single-bio p:last-child {
    margin-bottom: 0;
}

/* ── Статьи автора (секция на single-expert) ────── */
.expert-articles-section {
    max-width: 360px;
    width: 100%;
    box-sizing: border-box;
}

.expert-articles-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.expert-articles-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.expert-article-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    transition: box-shadow 0.25s;
}

.expert-article-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.expert-article-card__thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.expert-article-card__body {
    flex: 1;
}

.expert-article-card__date {
    font-size: 13px;
    color: #9ca3af;
    margin: 0 0 4px;
}

.expert-article-card__title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

/* ── ARCHIVE EXPERTS PAGE ────────────────────────── */
.experts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

.expert-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.25s ease;
}

.expert-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
}

.expert-card__photo-wrap {
    flex-shrink: 0;
}

.expert-card__photo {
    width: 90px;
    height: 90px;
}

.expert-card__body {
    flex: 1;
    min-width: 0;
}

.expert-card__name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px;
    line-height: 1.3;
}

.expert-card__position {
    font-size: 14px;
    color: #0389CB;
    margin: 0 0 8px;
    font-weight: 500;
}

.expert-card__bio {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* пустой список */
.experts-empty {
    font-size: 16px;
    color: #6b7280;
    text-align: center;
    padding: 60px 0;
}

/* многоточие в пагинации */
.paginator-dots {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1rem;
    pointer-events: none;
}

/* ── TABLET 769px+ ───────────────────────────────── */
@media (min-width: 769px) {
    .experts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .expert-single-photo {
        width: 180px;
        height: 180px;
    }
}

/* ── DESKTOP 1025px+ ─────────────────────────────── */
@media (min-width: 1025px) {
    .experts-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .expert-single-card {
        flex-wrap: nowrap;
    }
}

.expert-content-block .single-content {
    max-width: none;
}

.author-content-wrap {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-bottom: 40px;
    align-items: stretch;
}


.expert-content-block {
    width: calc(100% - 360px);
}

@media(max-width:920px) {
    .author-content-wrap {
        flex-direction: column;
    }

    .expert-content-block {
        width: 100%;
        box-sizing: border-box;
    }

    .expert-articles-grid {
        max-width: none;
    }
}



.single-content article > img {
  max-width: 100%;
  display: block;
}



/* ===== обновление стилей ===== */

/* ===== ARTICLE CONTENT (тело статьи) ===== */
.single-content article {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

.single-content article > script {
  display: none;
}

.single-content article p {
  margin: 0 0 1.25rem;
}

.single-content article strong,
.single-content article b {
  display: block;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.5rem;
}

.single-content article h2,
.single-content article h3,
.single-content article h4 {
  color: #222;
  line-height: 1.3;
  margin: 2rem 0 1rem;
}

.single-content article h2 {
  font-size: 1.5rem;
}

.single-content article h3 {
  font-size: 1.25rem;
}

.single-content article ul,
.single-content article ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}

.single-content article li {
  margin-bottom: 0.5rem;
}

.single-content article a {
  color: #00bcd4;
  text-decoration: underline;
  text-decoration-color: rgba(0, 188, 212, 0.4);
  transition: color 0.3s ease;
}

.single-content article a:hover {
  color: #00a8b5;
}

.single-content article img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border-radius: 10px;
}

.single-content article blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid #00bcd4;
  background-color: #f5fbfc;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #555;
}

.single-content article blockquote p:last-child {
  margin-bottom: 0;
}

/* Блоки типа <div class="colored-box green-box"><strong>...</strong></div> —
   strong внутри был инлайновым, из-за этого не получалось нормально
   управлять отступами/выравниванием текста внутри цветного блока */
.single-content article .colored-box {
  display: block;
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
  line-height: 1.6;
}

.single-content article .colored-box strong {
  display: block;
  color: inherit;
  font-weight: 600;
}

.single-content article .colored-box.green-box {
  background-color: #eafaf1;
  border: 1px solid #b7ecc8;
  color: #1e7a3d;
}

@media (min-width: 769px) {
  .single-content article {
    font-size: 1.05rem;
  }

  .single-content article h2 {
    font-size: 1.75rem;
  }

  .single-content article h3 {
    font-size: 1.4rem;
  }
}
