/*
Theme Name: Univeral clean news theme
Author: Gemini Partner / A.Y.
Version: 1.0
Description: A high-performance, SEO-optimized news theme.
*/
:root {
    --bg-main: #fff;
    --separator: rgb(248, 247, 252);
    --text-dark: #222;
    --text-light: #555;
    --accent: #6200ee;
    --accent2: #008bee;
    --fira: "Fira Sans", sans-serif;
    --lora: "Lora", serif;
    --primary-font: "Fira Sans", sans-serif;
    --secondary-font: "Lora", serif;
    /* Для заголовков и лид-абзацев */
    }
* {
    box-sizing: border-box
    }
body {
    background-color: var(--bg-main);
    margin: 0;
    padding: 0;
    font-family: var(--lora);
    font-size: 16.8px;
    line-height: 26.88px;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased
    }
h1, h2, h3, h4, h5, h6, .site-logo, .nav-links a, .search-input-full, .sidebar-title, .sidebar-post-title, .main-pagination a, .main-pagination span, .tag-link, .widget-title {
    font-family: var(--fira) !important;
    font-weight: 600 !important
    }
.post-date {
    font-size: 11px;
    color: #888;
    font-family: var(--secondary-font);
    margin-bottom: 10px
    }
.breadcrumb {
    font-size: 11px;
    color: #ccc
    }
.breadcrumb a {
    font-size: 11px;
    font-weight: 300;
    color: var(--accent2)
    }
.main-layout {
    display: grid;
    grid-template-columns: minmax(0, 750px) 320px;
    max-width: 1140px;
    margin: 40px auto;
    gap: 70px;
    padding: 0 20px
    }
.content-area {
    min-width: 0 !important;
    overflow: hidden
    }
.sidebar-area {
    width: 320px
    }
.main-header {
    border-bottom: 1px solid var(--separator);
    height: 70px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1000;
    background-color: rgb(229, 246, 255)
    }
.header-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative
    }
.site-logo {
    font-size: 24px;
    text-decoration: none;
    color: #000;
    text-transform: uppercase
    }
.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0
    }
.nav-links a {
    text-decoration: none;
    color: #000;
    text-transform: uppercase;
    font-size: 14px
    }
#search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #fff;
    display: none;
    align-items: center;
    z-index: 1100;
    padding: 0 20px
    }
#search-overlay.is-active {
    display: flex
    }
.search-form-fullscreen {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto
    }
.search-input-full {
    flex-grow: 1;
    border: none;
    font-size: 18px;
    padding: 10px 20px;
    outline: none
    }
.search-trigger, .search-close, .menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    display: flex;
    align-items: center
    }
.menu-toggle {
    display: none
    }
.post-item-list {
    display: flex;
    gap: 25px;
    padding: 30px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
    clear: both;
    padding-bottom: 25px;
    margin-bottom: 25px
    }
.post-item-image {
    flex-shrink: 0;
    width: 240px;
    height: 155px;
    flex: 0 0 200px;
    overflow: hidden;
    border-radius: 4px
    }
.post-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    object-position: center;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease !important
    }
.post-item-content h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    line-height: 1.2
    }
@media (max-width: 600px) {
    .post-item-list {
        flex-direction: column;
        /* Фото станет над текстом */
        }
    .post-item-image {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
        /* На мобилках можно сделать фото покрупнее */
        }
    .vd-standard-post .post-item-content h2 {
        font-size: 18px !important
        }
    }
.post-tags-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--separator);
    display: flex;
    flex-wrap: wrap;
    gap: 10px
    }
.tag-link {
    background-color: rgb(248, 247, 252) !important;
    color: #444;
    padding: 5px 12px;
    border-radius: 3px;
    text-decoration: none !important;
    font-size: 13px;
    display: inline-block;
    align-items: center;
    border: 1px solid rgb(235, 235, 245);
    transition: background 0.2s;
    background: #f0f0f0;
    margin: 5px 5px 0 0
    }
.tag-link:hover {
    background-color: var(--accent) !important;
    color: #fff !important;
    border-color: var(--accent);
    background: #e0e0e0
    }
.entry-title {
    font-size: 2.2em;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: var(--secondary-font);
    font-weight: 700
    }
.post-main-image img {
    width: 100%;
    height: auto;
    border-radius: 4px
    }
.image-caption {
    font-family: var(--secondary-font);
    font-size: 14px;
    color: #666;
    text-align: center;
    margin: 12px 0 30px 0;
    font-style: italic;
    margin-top: 10px
    }
.sidebar-widget {
    margin-bottom: 45px
    }
.sidebar-title {
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    margin-bottom: 20px;
    font-size: 16px;
    text-transform: uppercase
    }
.sidebar-small-post {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    margin-bottom: 20px
    }
.sidebar-thumb {
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    border-radius: 4px;
    overflow: hidden
    }
.sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
    }
.sidebar-post-title {
    font-size: 0.9em;
    line-height: 1.3em
    }
.main-pagination {
    margin-top: 40px;
    display: flex;
    gap: 8px;
    margin: 40px 0;
    justify-content: center
    }
.main-pagination a, .main-pagination span {
    padding: 10px 18px;
    background: var(--separator);
    text-decoration: none;
    color: var(--text-dark);
    border-radius: 4px
    }
.main-pagination .current {
    background: var(--accent);
    color: #fff !important;
    background-color: #07C !important;
    border-color: #07C !important
    }
.scroll-top-btn {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translatey(-50%);
    background: var(--accent);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001
    }
@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
        max-width: 800px
        }
    .sidebar-area {
        width: 100%
        }
    }
@media (max-width: 768px) {
    .menu-toggle {
        display: flex
        }
    .desktop-nav {
        display: none
        }
    .post-item-list {
        flex-direction: column
        }
    .post-item-image {
        width: 100%;
        height: 200px
        }
    .wp-block-gallery .wp-block-image {
        width: calc(50% - 15px)
        }
    .wp-block-gallery figure img {
        height: 180px !important
        }
    .footer-feedback-btn.md-btn {
        display: flex;
        width: 100%;
        max-width: 300px;
        margin: 10px auto
        }
    .archive-subtitle {
        font-size: 1.2rem;
        margin: 30px 0 20px 0;
        text-align: center;
        border-left: none;
        padding-left: 0
        }
    .team-card-header {
        flex-direction: column;
        text-align: center
        }
    .team-main-info h3 {
        justify-content: center
        }
    .team-content-grid {
        grid-template-columns: 1fr
        }
    .team-col-facts {
        border-right: none;
        border-bottom: 1px solid #f0f0f0
        }
    .race-card-header {
        flex-direction: column;
        text-align: center
        }
    .race-main-info h3 {
        justify-content: center
        }
    .race-stages-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr))
        }
    }
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: all 0.3s ease;
    padding: 30px 20px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1)
    }
.mobile-drawer.is-active {
    left: 0
    }
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 9998
    }
.mobile-drawer-overlay.is-active {
    display: block
    }
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px
    }
.mobile-nav-links {
    list-style: none;
    padding: 0
    }
.mobile-nav-links li {
    margin-bottom: 20px
    }
.mobile-nav-links a {
    text-decoration: none;
    color: #000;
    font-family: var(--fira);
    font-weight: 600;
    font-size: 18px
    }
.site-footer {
    background-color: rgb(226, 237, 243);
    padding: 60px 0;
    margin-top: 60px;
    color: var(--text-dark)
    }
.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Две основные колонки */
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 60px
    }
.footer-left .footer-logo {
    font-size: 28px;
    font-family: var(--fira);
    font-weight: 600;
    text-decoration: none;
    color: #000
    }
.footer-description {
    margin: 20px 0;
    font-size: 15px;
    color: var(--text-light)
    }
.footer-socials {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    align-items: center
    }
.footer-socials a {
    color: var(--accent);
    text-decoration: none;
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 1
    }
.footer-socials i {
    font-size: 24px
    }
.footer-legal-blocks {
    margin-top: 30px
    }
.legal-item {
    font-size: 14px;
    margin: 10px 0
    }
.tiny-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.4
    }
.footer-separator {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 15px 0
    }
.partner-label {
    font-family: var(--fira);
    font-weight: 600;
    font-size: 14px;
    margin: 0;
    color: var(--text-dark)
    }
.footer-copyright-block {
    font-size: 13px;
    color: var(--text-light)
    }
.footer-copyright-block a {
    color: inherit;
    text-decoration: underline
    }
.footer-right {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Три равных части внутри правой колонки */
    gap: 20px
    }
.footer-nav-col h4 {
    font-family: var(--fira);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--accent)
    }
.footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0
    }
.footer-nav-col li {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text-light)
    }
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px
        }
    .footer-right {
        grid-template-columns: 1fr
        }
    .desktop-nav {
        display: none;
        /* Скрываем обычное меню */
        }
    .mobile-menu-toggle {
        display: flex;
        /* Показываем гамбургер */
        align-items: center;
        justify-content: center
        }
    .teams-grid {
        grid-template-columns: 1fr
        }
    .team-main-photo img {
        height: 200px;
        /* Уменьшаем высоту фото на мобильных */
        }
    .vd-hero-section-wrapper {
        grid-template-columns: 1fr;
        /* Все в одну колонку */
        padding: 15px
        }
    .vd-hero-post .post-item-image {
        height: 250px !important
        }
    .vd-featured-post .post-item-image {
        height: 180px !important
        }
    }
.footer-socials svg {
    width: 32px !important;
    height: 32px !important;
    display: block;
    fill: #222 !important;
    /* Принудительно черный цвет */
    transition: fill 0.2s ease, transform 0.2s ease
    }
.footer-socials a:hover svg {
    fill: var(--accent) !important;
    /* Пурпурный при наведении */
    transform: translatey(-3px)
    }
.footer-counters {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start
    }
.yandex-counter {
    min-height: 31px;
    /* Стандартная высота информера */
    display: block;
    clear: both
    }
.page-header {
    padding-bottom: 15px;
    margin-top: 0;
    border-bottom: 1px solid var(--separator);
    margin-bottom: 30px
    }
.search-results .post-item-list {
    border-color: var(--separator)
    }
a {
    transition: color 0.2s ease-in-out
    }
.archive-description {
    max-width: 750px;
    margin-bottom: 30px;
    line-height: 1.5;
    font-family: var(--primary-font);
    margin-top: 10px;
    font-style: italic;
    color: #666;
    font-size: 15px
    }
.page-title {
    margin: 0;
    padding-bottom: 5px;
    letter-spacing: -0.5px;
    font-family: var(--secondary-font);
    font-size: 28px;
    text-transform: uppercase
    }
.breadcrumbs-content a {
    text-decoration: none;
    color: var(--accent);
    transition: opacity 0.2s
    }
.breadcrumbs-content a:hover {
    opacity: 0.7
    }
.breadcrumbs-content span {
    margin: 0 8px;
    color: #ccc
    }
figcaption {
    font-family: var(--lora);
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
    margin: 12px 0 30px 0;
    font-style: italic
    }
.teams-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 колонки на десктопе */
    gap: 30px;
    /* Расстояние между карточками */
    margin-top: 30px
    }
@media (min-width: 1200px) {
    .teams-grid {
        grid-template-columns: repeat(3, 1fr)
        }
    }
.team-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Все карточки одной высоты в ряду */
    }
.team-details {
    flex-grow: 1;
    /* Растягиваем контент, чтобы кнопки прижались к низу */
    display: flex;
    flex-direction: column
    }
.team-actions {
    margin-top: auto;
    /* Прижимает кнопки к нижней границе карточки */
    }
.riders-list {
    list-style: none;
    /* Убираем стандартные точки */
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column
    }
.riders-list li {
    font-size: 14px;
    padding: 5px 0;
    border-bottom: 1px dashed #eee;
    /* Легкий разделитель между именами */
    color: #333
    }
.riders-list li:last-child {
    border-bottom: none;
    /* Убираем черту у последнего гонщика */
    }
.riders-list li::before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
    display: inline-block;
    width: 15px
    }
.team-main-photo {
    margin: 15px 0;
    max-height: 250px;
    /* Ограничиваем высоту (те самые 200-300px) */
    overflow: hidden;
    position: relative;
    border-radius: 4px
    }
.team-main-photo img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    /* Картинка заполнит область без искажений */
    transition: transform 0.3s ease;
    display: block
    }
.team-photo-link:hover img {
    transform: scale(1.05)
    }
.zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none
    }
.team-photo-link:hover .zoom-icon {
    opacity: 1
    }
.vd-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer
    }
.vd-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5)
    }
.vd-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer
    }
.vd-close:hover {
    color: var(--accent)
    }
.wp-block-table {
    border-radius: 12px;
    border: 1px solid #e0e6ed;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin: 35px 0;
    background: #fff;
    display: block;
    overflow-x: auto;
    /* Для мобильных */
    font-family: "Fira Sans"
    }
.wp-block-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0
    }
.wp-block-table th {
    background-color: #f8fafd;
    color: #8898aa;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #e0e6ed
    }
.wp-block-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #f0f2f5;
    font-size: 15px;
    color: #32325d
    }
.wp-block-table tr:nth-child(1) td {
    background-color: rgba(255, 237, 0, 0.1)
    }
.wp-block-table tr:nth-child(1) td:first-child {
    color: #d4af37;
    font-weight: 800
    }
.wp-block-table tr:nth-child(2) td {
    background-color: rgba(157, 161, 164, 0.1)
    }
.wp-block-table tr:nth-child(2) td:first-child {
    color: #9da1a4;
    font-weight: 800
    }
.wp-block-table tr:nth-child(3) td {
    background-color: rgba(205, 127, 50, 0.1)
    }
.wp-block-table tr:nth-child(3) td:first-child {
    color: #cd7f32;
    font-weight: 800
    }
.wp-block-table td:first-child {
    font-weight: 400;
    color: #adb5bd;
    width: 60px
    }
.wp-block-table tr:last-child td {
    border-bottom: none
    }
.row-dnf td, .row-dns td, .row-otl td {
    color: #a0aec0 !important;
    /* Серый приглушенный цвет */
    background-color: #fafbfc !important;
    /* Очень светлый фон */
    }
.row-dnf td:first-child, .row-dns td:first-child {
    border-left: 4px solid #e53e3e;
    /* Яркий красный маркер слева */
    color: #e53e3e !important;
    font-weight: 600
    }
.row-otl td:first-child {
    border-left: 4px solid #ed8936;
    /* Оранжевый маркер */
    color: #ed8936 !important;
    font-weight: 600
    }
.row-dnf:hover td, .row-dns:hover td, .row-otl:hover td {
    color: #4a5568 !important;
    opacity: 1
    }
.entry-content iframe, .entry-content object, .entry-content embed, .wp-block-embed {
    max-width: 100%;
    /* Видео никогда не выйдет за границы текста */
    border-radius: 12px;
    /* Скругление в стиле ваших таблиц */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* Легкая тень для объема */
    }
.wp-block-embed-youtube, .wp-block-embed {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    /* Центрируем, если видео узкое */
    }
.wp-block-embed__wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    /* Соотношение сторон 16:9 */
    height: 0;
    overflow: hidden
    }
.wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
    }
.wp-block-video {
    width: 100% !important;
    max-width: 100% !important;
    margin: 30px 0;
    box-sizing: border-box
    }
.wp-block-video video {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    border-radius: 12px;
    /* Скругление как у таблиц */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: block
    }
.wp-block-video figcaption {
    margin-top: 12px;
    font-size: 13px;
    color: #8898aa;
    text-align: center;
    font-style: italic;
    font-family: "Fira Sans", sans-serif
    }
.entry-content img, .wp-block-image img, .wp-block-image {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin-left: auto;
    margin-right: auto
    }
.wp-block-image img {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 10px
    }
.wp-block-image figcaption {
    font-size: 13px;
    color: #8898aa;
    text-align: center;
    margin-top: 8px;
    font-style: italic
    }
.wp-block-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    /* Расстояние между фото */
    margin: 30px 0 !important;
    padding: 0 !important;
    list-style-type: none !important
    }
.wp-block-gallery .wp-block-image {
    margin: 0 !important;
    flex-grow: 1;
    /* Расчет ширины для 3 колонок по умолчанию */
    width: calc(33.33% - 15px);
    position: relative
    }
.wp-block-gallery figure img {
    width: 100% !important;
    height: 250px !important;
    /* Фиксированная высота для ровной сетки */
    object-fit: cover !important;
    /* Обрезает фото, чтобы они были одинаковыми */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease
    }
.wp-block-gallery figure img:hover {
    transform: scale(1.02)
    }
@media (max-width: 480px) {
    .wp-block-gallery .wp-block-image {
        width: 100%
        }
    }
.wp-block-gallery .wp-block-image figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 !important;
    padding: 20px 10px 10px !important;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    /* Градиент для читаемости */
    color: #fff !important;
    font-size: 12px !important;
    text-align: center;
    border-bottom-left-radius: 12px;
    /* Закругляем под радиус фото */
    border-bottom-right-radius: 12px;
    opacity: 0;
    /* Скрываем по умолчанию */
    transition: opacity 0.3s ease
    }
.wp-block-gallery .wp-block-image:hover figcaption {
    opacity: 1
    }
#backToTop {
    display: none;
    /* Скрыта по умолчанию */
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translatey(-50%);
    /* Точное центрирование по вертикали */
    z-index: 999;
    width: 45px;
    height: 45px;
    border: none;
    outline: none;
    background-color: #07C !important;
    /* Тёмный цвет из вашей палитры */
    color: white;
    cursor: pointer;
    border-radius: 12px;
    /* Единство стиля с таблицами */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease
    }
#backToTop:hover {
    background-color: #05a !important;
    /* Золотой при наведении (как 1-е место в таблице) */
    transform: translatey(-50%) scale(1.1)
    }
.arrow-up {
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    margin-top: 5px
    }
.main-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #e1eff7;
    color: #333;
    font-family: "Fira Sans", sans-serif;
    font-size: 15px;
    transition: all 0.2s ease
    }
.main-pagination .prev, .main-pagination .next {
    font-size: 18px;
    font-weight: bold;
    color: rgb(0, 122, 255);
    /* Сделаем их акцентными */
    }
.main-pagination .page-numbers:hover {
    background-color: rgb(229, 246, 255);
    border-color: #07C !important;
    color: #07C !important
    }
.entry-content p:first-of-type {
    font-weight: 600;
    /* Делаем жирным */
    font-size: 1em;
    /* Немного увеличиваем размер для акцента */
    color: #1f201d;
    /* Делаем цвет чуть насыщеннее */
    line-height: 1.5;
    /* Увеличиваем межстрочный интервал для читаемости */
    font-family: var(--lora)
    }
@media screen and (max-width: 768px) {
    .entry-content p:first-of-type {
        font-weight: 600;
        font-size: 1.05em;
        /* Чуть меньше, чем на десктопе */
        line-height: 1.4;
        /* Более компактный интервал */
        margin-bottom: 15px;
        /* Отступ снизу, чтобы текст не слипался со вторым абзацем */
        }
    .related-grid {
        /* На смартфонах: 1 колонка (один над другим) */
        grid-template-columns: 1fr;
        gap: 30px;
        /* Увеличим отступ между новостями для удобства */
        }
    .related-post-title {
        font-size: 18px;
        /* На мобильном заголовки можно сделать чуть крупнее */
        }
    }
.news-post {
    margin-bottom: 3rem;
    max-width: 100%
    }
.post-meta {
    color: #888;
    font-family: var(--secondary-font);
    font-size: 12px;
    margin-bottom: 10px
    }
.post-main-image {
    margin: 0
    }
.responsive-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block
    }
.featured-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block
    }
.related-grid {
    display: grid;
    /* На компьютере: 3 колонки одинаковой ширины */
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px
    }
.related-item {
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    /* Внутренний отступ, чтобы картинка и текст не прилипали к краям */
    transition: all 0.3s ease;
    /* Плавность для всех изменений */
    border: 1px solid #eee;
    /* Тонкая рамка в обычном состоянии */
    display: flex;
    flex-direction: column;
    font-size: 0.88rem;
    border-left: 3px solid var(--team-color);
    padding-left: 10px
    }
.related-item:hover {
    transform: translatey(-5px);
    /* Карточка слегка приподнимается */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    /* Появляется мягкая тень */
    border-color: #d1e7ff;
    /* Рамка становится чуть синее */
    cursor: pointer
    }
.related-thumb {
    width: 100%;
    /* Устанавливаем жесткое соотношение сторон 16:9 */
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 6px;
    background-color: #f0f0f0;
    /* Фон на случай, если картинка долго грузится */
    }
.related-item a {
    text-decoration: none;
    color: inherit
    }
.related-thumb img {
    width: 100%;
    height: 100%;
    /* Магия здесь: картинка заполняет контейнер без искажений,
           лишнее просто обрезается, как в Instagram */
    object-fit: cover;
    /* Центрируем изображение, чтобы важная часть была посередине */
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
    /* Подготовили для эффекта наведения */
    }
.related-item:hover .related-thumb img {
    transform: scale(1.05)
    }
.related-post-title {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.4;
    transition: color 0.3s ease
    }
.related-item:hover .related-post-title {
    color: #08c;
    /* Цвет вашего бренда или Telegram-бара */
    }
.vd-hero-section-wrapper {
    background-color: #f9fbff !important;
    padding: 25px;
    margin-bottom: 35px;
    border-radius: 4px;
    /* Как в твоем оригинале */
    border: 1px solid #eef4f9;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px
    }
.vd-hero-section-wrapper .post-item-list {
    display: block !important;
    /* Отменяем flex из раздела №6 */
    border-bottom: none !important;
    /* Убираем черту под 1 и 2 постом */
    padding: 0 !important;
    margin: 0 !important
    }
.vd-hero-section-wrapper .vd-hero-post {
    grid-column: 1/-1;
    border-bottom: 1px solid #e1eff7 !important;
    padding-bottom: 25px !important;
    margin-bottom: 5px !important
    }
.vd-hero-section-wrapper .post-item-image {
    width: 100% !important;
    /* Вместо 200px */
    height: auto !important;
    /* Вместо 155px */
    flex: none !important;
    margin-bottom: 15px
    }
.vd-hero-post .post-item-image img {
    height: 380px !important;
    width: 100% !important;
    object-fit: cover
    }
.vd-featured-post .post-item-image img {
    height: 200px !important;
    width: 100% !important;
    object-fit: cover
    }
.vd-hero-post .post-item-content h2 {
    font-size: 28px !important;
    /* Чуть крупнее стандартных 24px */
    margin-bottom: 10px !important
    }
.vd-featured-post .post-item-content h2 {
    font-size: 20px !important;
    /* Чуть меньше стандартных 24px */
    }
.vd-hero-section-wrapper .entry-excerpt {
    font-size: 15px !important;
    line-height: 1.5;
    color: var(--text-light)
    }
@media (max-width: 800px) {
    .vd-hero-section-wrapper {
        grid-template-columns: 1fr;
        padding: 15px
        }
    .vd-hero-post .post-item-image img {
        height: 220px !important
        }
    }
.vd-standard-post .post-item-content h2 {
    font-size: 19px !important;
    /* Было 24px, делаем компактнее */
    line-height: 1.15 !important;
    margin-bottom: 6px !important;
    letter-spacing: -0.2px
    }
.vd-standard-post .entry-excerpt {
    font-family: var(--lora) !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    color: #444 !important
    }
.post-item-list.vd-standard-post {
    padding: 20px 0 !important;
    /* Чуть уменьшили вертикальные отступы */
    border-bottom: 1px solid #f0f0f0 !important;
    padding-bottom: 25px !important;
    margin-bottom: 25px !important;
    gap: 20px !important
    }
.vd-standard-post:last-of-type {
    border-bottom: none !important
    }
.entry-content img, .post-main-image img, .featured-image {
    max-width: 100% !important;
    height: auto !important
    }
.post-item-list .post-item-content h2 a {
    transition: color 0.2s ease-in-out !important;
    color: var(--text-dark);
    text-decoration: none !important
    }
.post-item-list .post-item-content h2 a:hover {
    color: #07C !important;
    /* Глубокий голубой */
    }
.post-item-image a {
    display: block;
    overflow: hidden;
    border-radius: 4px
    }
.post-item-image:hover img {
    filter: brightness(1.05);
    transform: scale(1.03)
    }
.entry-excerpt {
    color: var(--text-light)
    }
.telegram-bar {
    background-color: #f7fcff;
    border-bottom: 1px solid #d1e7ff;
    border-top: 1px solid #d1e7ff;
    padding: 10px 15px;
    text-align: center;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85em
    }
.telegram-bar a {
    color: #08c;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 136, 204, 0.3);
    transition: all 0.2s ease
    }
.telegram-bar a:hover {
    color: #005f99;
    border-bottom-color: #005f99
    }
@media (max-width: 850px) {
    .main-layout {
        display: flex !important;
        flex-direction: column !important;
        float: none !important;
        width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important
        }
    .content-area {
        order: 1 !important;
        width: 100% !important;
        float: none !important;
        margin: 0 !important
        }
    .sidebar-area {
        order: 2 !important;
        width: 100% !important;
        float: none !important;
        margin-top: 50px !important;
        /* Отступ, чтобы не слипалось с пагинацией */
        padding-top: 30px;
        border-top: 2px solid #f0f0f0
        }
    .vd-hero-section-wrapper {
        display: block !important;
        margin-left: -15px !important;
        /* Растягиваем фон до краев экрана */
        margin-right: -15px !important;
        padding: 20px 20px !important;
        /* Внутренние отступы для контента (20px) */
        background-color: #f9fbff !important;
        border-top: 1px solid #eef4f9 !important;
        /* Легкая верхняя граница */
        border-bottom: 1px solid #eef4f9 !important;
        /* Легкая нижняя граница */
        box-sizing: border-box !important;
        border-radius: 0 !important
        }
    .vd-hero-section-wrapper .post-item-image {
        width: 100% !important;
        height: auto !important;
        /* Позволяем картинке сохранять пропорции */
        margin-bottom: 15px !important
        }
    .vd-hero-section-wrapper .post-item-image img {
        width: 100% !important;
        height: 200px !important;
        object-fit: cover;
        border-radius: 4px;
        /* Скругление углов у самой картинки */
        }
    .vd-hero-section-wrapper .post-item-list {
        display: block !important;
        margin-bottom: 25px !important;
        padding-bottom: 20px !important;
        border-bottom: 1px solid #e1eff7 !important
        }
    .vd-hero-section-wrapper .post-item-content {
        padding: 0 5px !important
        }
    .post-item-list.vd-standard-post {
        flex-direction: column !important;
        /* Фото над текстом */
        padding: 20px 0 !important
        }
    .post-item-list.vd-standard-post .post-item-image {
        width: 100% !important;
        height: 200px !important;
        margin-bottom: 15px
        }
    .telegram-bar {
        font-size: 13px;
        line-height: 1.4;
        padding: 12px;
        text-align: center
        }
    .entry-title {
        font-size: 24px !important;
        /* Было 36px, для мобильных 24px — идеал */
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
        padding: 0 5px !important
        }
    .main-header {
        padding: 5px 0 !important
        }
}
.has-background {
    padding: 10px !important
    }
.vd-tg-form-wrapper {
    background: #f7fcff;
    /* Тот самый светлый бэкграунд */
    color: #333;
    /* Темный текст для контраста */
    padding: 25px;
    border-radius: 12px;
    font-family: inherit;
    margin: 20px 0;
    border: 1px solid #e1e8ed;
    /* Тонкая рамка, чтобы форма не сливалась с белым фоном */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03)
    }
.vd-tg-form-wrapper h3 {
    margin-top: 0;
    color: #2c3e50 !important;
    /* Темный заголовок */
    font-size: 1.5em;
    margin-bottom: 15px
    }
.vd-tg-form-wrapper input[type="text"], .vd-tg-form-wrapper input[type="email"], .vd-tg-form-wrapper textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    /* Более заметная граница для светлого фона */
    background: #fff;
    color: #333;
    box-sizing: border-box
    }
.vd-tg-form-wrapper input:focus, .vd-tg-form-wrapper textarea:focus {
    border-color: #e67e22;
    /* Оранжевый акцент при наведении */
    outline: none
    }
.vd-tg-form-wrapper .form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap
    }
.vd-tg-form-wrapper .form-col {
    flex: 1;
    min-width: 200px
    }
.vd-tg-form-wrapper .file-upload {
    margin-bottom: 15px;
    font-size: 0.9em
    }
.vd-tg-form-wrapper .file-upload label {
    display: block;
    margin-bottom: 5px;
    color: #555
    }
.vd-tg-form-wrapper .form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px
    }
.vd-tg-form-wrapper .privacy-note {
    font-size: 0.78em;
    color: #7f8c8d;
    /* Серый текст для пояснения */
    margin: 0;
    line-height: 1.4;
    max-width: 70%
    }
.vd-tg-form-wrapper .submit-btn {
    background: #e67e22;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease
    }
.vd-tg-form-wrapper .submit-btn:hover {
    background: #d35400;
    transform: translatey(-1px)
    }
.vd-tg-form-wrapper .success-msg {
    background: #eafaf1;
    border: 1px solid #27ae60;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    color: #27ae60
    }
.footer-feedback-btn.md-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    /* Белый цвет, чтобы выделиться на rgb(226, 237, 243) */
    color: #1976d2 !important;
    /* Material Blue для текста */
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    /* text-transform: uppercase; */
    letter-spacing: 0.8px;
    border-radius: 4px;
    border: none;
    /* Мягкая тень для эффекта глубины Material */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1)
    }
.footer-feedback-btn.md-btn:hover {
    background-color: #f0f7ff;
    /* Очень легкий голубой оттенок при наведении */
    box-shadow: 0 5px 12px rgba(25, 118, 210, 0.15);
    /* Цветная тень при наведении */
    transform: translatey(-2px)
    }
.footer-feedback-btn.md-btn:active {
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    transform: translatey(0)
    }
.velo-breadcrumbs a {
    text-decoration: none;
    transition: color 0.2s
    }
.velo-breadcrumbs a:hover {
    color: #e67e22 !important
    }
.calculator-page-wrapper {
    max-width: 800px;
    /* Ограничиваем ширину для лучшей читаемости */
    margin: 0 auto
    }
.yandex-ad-block {
    min-height: 250px;
    /* Чтобы страница не "прыгала" при загрузке рекламы */
    display: flex;
    flex-direction: column;
    justify-content: center
    }

/* Контейнер должен быть относительным */
.post-inline-image {
    position: relative; 
    margin: 20px 0;
    display: inline-block; /* Контейнер сжимается до размеров картинки */
    line-height: 0; /* Убираем микро-отступ под картинкой */
	vertical-align: top;
}

.post-inline-image a {
    display: block;
    line-height: 0;
}

.post-inline-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* Опционально: скруглим углы картинки */
}

/* Подпись внутри картинки */
.image-caption {
    position: absolute;
    bottom: 10px!important; /* Отступ от нижнего края */
    right: 10px;  /* Отступ от правого края */
    
    /* Стили плашки */
    background: rgba(0, 0, 0, 0.6); /* Полупрозрачный черный фон */
    backdrop-filter: blur(4px);    /* Эффект матового стекла */
    color: #ccc;                   /* Белый текст */
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11x;
    line-height: 1.2;
    pointer-events: none;          /* Чтобы подпись не мешала кликать по ссылке-картинке */
    z-index: 10;
    
    /* Чтобы текст не растягивался на всю ширину */
    max-width: 80%;
    text-align: right;
	white-space: nowrap;
}

.cap-sep {
    opacity: 0.5;
    margin: 0 4px;
    font-weight: 300;
}

/* Стили для источника внутри плашки */
.img-source {
    opacity: 0.9;
    /* font-weight: bold; */
    margin-left: 5px;
    
    /* УДАЛИ ИЛИ ЗАКОММЕНТИРУЙ ЭТИ СТРОКИ: */
    /* border-left: 1px solid rgba(255,255,255,0.3); */
    /* padding-left: 5px; */
}

.cap-text {
    display: inline-block;
}

/* Изначально подпись чуть прозрачнее */
.image-caption {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* При наведении на всю фигуру подпись становится четкой */
.post-inline-image:hover .image-caption {
    opacity: 1;
}

figure {
	margin-bottom:10px!important;
	margin-top:10px!important;
}

figcaption.image-caption {
    bottom: 15px!important;
    right: 10px;
    margin: 0; /* Сброс возможных отступов */
    padding: 6px 12px;
}