/* === Подключение шрифтов === */
@import url('https://fonts.googleapis.com/css2?family=Days+One&family=Oswald:wght@400;500;600;700&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Шапка */
.header {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    padding: 1rem 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-family: 'Days One', sans-serif;
    font-size: 2.0rem;
    color: white;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    color: white;
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
    transition: opacity 0.2s;
    white-space: nowrap;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
    opacity: 0.9;
    text-decoration: underline;
}

.telegram-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.telegram-icon {
    opacity: 0.9;
    transition: opacity 0.2s;
}

.telegram-link:hover .telegram-icon {
    opacity: 1;
}

/* Hero */
.hero {
    background: linear-gradient(to bottom right, #121927 0%, #121927 55%, #7C1D1D 85%, #7C1D1D 100%);
    color: white;
    text-align: center;
    padding: 5.04rem 0;
}

.hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.6rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.3rem;
    flex-wrap: wrap;
}

/* Кнопки категорий в разделе Новости */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.6rem;
    border-radius: 4px;
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
    font-size: 1.05rem;
    text-align: center;
    transition: opacity 0.2s, background 0.2s;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #d32f2f;
    color: white;
}

.btn-primary:hover {
    background: #b71c1c;
    opacity: 1;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* Активная кнопка */
.btn-primary.active,
.btn-secondary.active {
    background: #d32f2f !important;
    color: white !important;
    border-color: #d32f2f !important;
}

/* Серая "Все новости", если не активна */
.hero-buttons .btn-primary:not(.active) {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Заголовок раздела под hero */
.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: #d32f2f;
    text-align: center;
    margin: 1.5rem 0 2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* Новости */
.news-section,
.market-news-section {
    padding: 2.5rem 0;
    background: #f9f9f9;
}

.market-news-section {
    background: #f5f7fa;
}

.news-section h2,
.market-news-section h2 {
    font-family: 'Oswald', sans-serif;
    text-align: center;
    margin-bottom: 1.8rem;
    font-size: 1.9rem;
    color: #d32f2f;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.news-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.news-link {
    display: block;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover img {
    transform: scale(1.04);
}

.news-card time {
    display: block;
    color: #777;
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    padding: 0.6rem 1rem 0;
}

.news-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.5rem 1rem 0.3rem;
    color: #222;
    line-height: 1.3;
    transition: color 0.2s;
    letter-spacing: -0.2px;
}

.news-link:hover h3 {
    color: #d32f2f;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.2em;
}

.news-card p {
    padding: 0 1rem 1rem;
    color: #555;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    line-height: 1.45;
    flex-grow: 1;
}

/* Все новости / Все марки */
.news-footer,
.brands-footer {
    text-align: center;
    margin-top: 2rem;
}

.btn-all-news,
.btn-all-brands {
    display: inline-block;
    color: #d32f2f;
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border: 1px solid #d32f2f;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.5px;
}

.btn-all-news:hover,
.btn-all-brands:hover {
    background: #d32f2f;
    color: white;
}

/* Марки */
.brands-section {
    padding: 2.5rem 0;
}

.brands-section h2 {
    font-family: 'Oswald', sans-serif;
    text-align: center;
    margin-bottom: 1.8rem;
    font-size: 1.9rem;
    color: #d32f2f;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.4rem;
    justify-items: center;
}

.brand-item-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 6px;
    overflow: hidden;
    display: block;
}

.brand-item-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

.brand-item {
    text-align: center;
    padding: 0.4rem;
    width: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 0.6rem;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: transform 0.25s ease;
}

.brand-item-link:hover .brand-item img {
    transform: scale(1.08);
}

.brand-placeholder {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #999;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 0.6rem;
    font-family: 'Roboto', sans-serif;
    transition: transform 0.25s ease;
}

.brand-item-link:hover .brand-placeholder {
    transform: scale(1.08);
}

.brand-item span {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.brand-item-link:hover span {
    color: #d32f2f;
}

/* Реклама Telegram */
.telegram-promo {
    background: #37aee2;
    padding: 1.5rem 0;
    color: white;
}

.telegram-promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.telegram-promo-icon {
    flex-shrink: 0;
}

.telegram-promo-text h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.telegram-promo-text p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    opacity: 0.9;
    max-width: 500px;
}

.btn-telegram-subscribe {
    display: inline-block;
    background: white;
    color: #37aee2;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn-telegram-subscribe:hover {
    opacity: 0.9;
}

/* Подвал — 3 КОЛОНКИ */
.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 2.5rem 0 1.5rem;
}

.footer-columns {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    font-family: 'Oswald', sans-serif;
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: #ccc;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #d32f2f;
}

.footer-copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #888;
}

/* Соцсети в подвале */
.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-link svg {
    fill: currentColor;
}

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.page-link {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border: 1px solid #d32f2f;
    color: #d32f2f;
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    transition: background 0.2s;
}

.page-link:hover,
.page-link.active {
    background: #d32f2f;
    color: white;
}

.page-link.prev,
.page-link.next {
    padding: 0.4rem 1rem;
    font-size: 0.95rem;
}

/* === Страница отдельной новости === */
.single-news {
    padding: 2rem 0;
    background: #fff;
}

.breadcrumbs {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
}

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

.breadcrumbs span {
    color: #999;
}

.news-h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.4rem;
    color: #222;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.news-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: #777;
    font-family: 'Roboto', sans-serif;
    flex-wrap: wrap;
}

.news-meta .author {
    color: #d32f2f;
    text-decoration: none;
    font-style: normal;
}

.news-meta .author:hover {
    text-decoration: underline;
}

/* Изображение на всю ширину колонки */
.news-hero-image-full {
    margin: 1.5rem 0 2rem;
    width: 100%;
}

.news-hero-image-full img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Блок "В статье упоминаются" — в одну строку */
.news-mentions {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    overflow-x: auto;
}

.news-mentions h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
    color: #333;
    white-space: nowrap;
}

.mentions-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding-bottom: 0.3rem;
}

.mention-link,
.mention-model {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    background: #eef2f7;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #222;
    text-decoration: none;
    white-space: nowrap;
}

.mention-link:hover {
    background: #d32f2f;
    color: white;
}

/* Текст новости */
.news-content {
    font-family: 'Roboto', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
}

.news-content p {
    margin-bottom: 1.2rem;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1rem 0;
}

/* Telegram CTA */
.news-telegram-cta {
    background: #f8fbff;
    border-left: 4px solid #37aee2;
    padding: 1.5rem;
    margin: 2.5rem 0;
    border-radius: 0 8px 8px 0;
}

.telegram-cta-content {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.telegram-cta-content svg {
    flex-shrink: 0;
}

.telegram-cta-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    margin: 0 0 0.4rem;
    color: #222;
}

.telegram-cta-content p {
    margin: 0;
    font-size: 1rem;
    color: #555;
    max-width: 500px;
}

.btn-telegram-cta {
    display: inline-block;
    background: #37aee2;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    margin-top: 0.5rem;
}

.btn-telegram-cta:hover {
    background: #2a8bc9;
}

/* Поделиться — в одну строку */
.news-share {
    margin: 2.5rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.news-share h4 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 0.8rem;
    color: #333;
}

.share-buttons {
    display: flex;
    gap: 0.6rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.3rem;
}

.share-btn {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-family: 'Oswald', sans-serif;
    white-space: nowrap;
    flex: 0 0 auto;
}

.share-btn.telegram { background: #37aee2; }
.share-btn.vk { background: #4c75a8; }
.share-btn.whatsapp { background: #25D366; }
.share-btn.copy { background: #6c757d; }
.share-btn:hover { opacity: 0.9; }

/* Сайдбар "Последние новости" */
.news-layout {
    display: flex;
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.news-content-column {
    flex: 3;
}

.news-sidebar {
    flex: 1;
}

/* Заголовок сайдбара — красный фон, белый шрифт */
.news-sidebar .sidebar-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    color: white;
    background: #d32f2f;
    padding: 0.6rem 1rem;
    margin-bottom: 1.2rem;
    border-radius: 4px;
    text-align: center;
}

.news-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.news-card-small {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s;
}

.news-card-small:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.news-card-small img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card-small:hover img {
    transform: scale(1.04);
}

.news-card-small h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    padding: 0.5rem 0.7rem 0.2rem;
    color: #222;
    line-height: 1.3;
    transition: color 0.2s;
}

.news-card-small:hover h4 {
    color: #d32f2f;
}

.news-card-small time {
    display: block;
    font-size: 0.8rem;
    color: #777;
    padding: 0 0.7rem 0.5rem;
}

/* Новости по теме */
.news-related-topic {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.news-related-topic h4 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 0.8rem;
    color: #333;
}

.related-topic-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-topic-list li {
    margin-bottom: 0.6rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px dashed #eee;
}

.related-topic-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-topic-list a {
    color: #222;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: color 0.2s;
}

.related-topic-list a:hover {
    color: #d32f2f;
}

/* ВКонтакте CTA */
.news-vk-cta {
    background: #f8fbff;
    border-left: 4px solid #4c75a8;
    padding: 1.5rem;
    margin: 2.5rem 0;
    border-radius: 0 8px 8px 0;
}

.vk-cta-content {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.vk-cta-content svg {
    flex-shrink: 0;
}

.vk-cta-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    margin: 0 0 0.4rem;
    color: #222;
}

.vk-cta-content p {
    margin: 0;
    font-size: 1rem;
    color: #555;
    max-width: 500px;
}

.btn-vk-cta {
    display: inline-block;
    background: #4c75a8;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    margin-top: 0.5rem;
}

.btn-vk-cta:hover {
    background: #3a5a80;
}

.news-share-and-mentions {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.news-share,
.news-mentions {
    flex: 1 1 45%;
    min-width: 300px;
}

.news-share h4,
.news-mentions h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8em;
    color: #333;
}

.mentions-list .mention-link,
.mentions-list .mention-model {
    display: inline-block;
    background: #f0f0f0;
    padding: 0.4em 0.8em;
    margin: 0 0.5em 0.5em 0;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #1a73e8;
    text-decoration: none;
}

.share-buttons .share-btn {
    padding: 0.6em 1em;
    font-size: 0.95rem;
}

.news-actions-row {
    display: flex;
    gap: 30px;
    margin-top: 2rem;
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.news-mentions,
.news-share {
    flex: 1;
    min-width: 300px;
}

.news-mentions h4,
.news-share h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8em;
    color: #1c1c1c;
    font-weight: 600;
    border-bottom: 2px solid #1a73e8;
    padding-bottom: 0.2em;
    display: inline-block;
}

.mentions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0.5em;
}

.mentions-list .mention-link,
.mentions-list .mention-model {
    display: inline-block;
    background: #e3f2fd;
    color: #1a73e8;
    padding: 0.4em 0.8em;
    border-radius: 6px;
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0.5em;
}

.share-buttons .share-btn {
    padding: 0.6em 1em;
    font-size: 0.95rem;
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.share-buttons .share-btn:hover {
    background: #e0e0e0;
}

/* === СТРАНИЦА КОНТАКТОВ === */

/* Hero Section */
.contacts-hero {
    background: #f0f0f0;
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.contacts-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: #1c1c1c;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.hero-description {
    font-family: 'Roboto', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Макет основного контента */
.contacts-layout {
    display: flex;
    gap: 40px;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.contact-info-and-map,
.contact-form-section,
.editors-section {
    flex: 1;
    min-width: 300px;
}

/* Контактная информация */
.contact-info h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: #d32f2f;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #d32f2f;
    padding-bottom: 0.3em;
    display: inline-block;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.9;
}

.contact-list a {
    color: #1a73e8;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-list a:hover {
    color: #d32f2f;
    text-decoration: underline;
}

/* Иконки мессенджеров */
.contact-icons {
    display: inline-flex;
    gap: 10px;
    margin-left: 10px;
}

.contact-icons svg {
    transition: opacity 0.2s, transform 0.2s;
    fill: currentColor;
}

.contact-icons svg:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

/* Карта */
#map {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    margin-top: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Форма обратной связи */
.contact-form-section h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: #d32f2f;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #d32f2f;
    padding-bottom: 0.3em;
    display: inline-block;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 600;
    color: #333;
    font-family: 'Roboto', sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8em;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.btn-submit {
    display: inline-block;
    background: #1a73e8;
    color: white;
    border: none;
    padding: 0.8em 1.5em;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    background: #1557b0;
    transform: translateY(-1px);
}

.form-success {
    padding: 1em;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

/* Блок Редакция */
.editors-section h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: #d32f2f;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #d32f2f;
    padding-bottom: 0.3em;
    display: inline-block;
}

.editors-grid {
    display: grid;
    gap: 24px;
    margin-top: 1.5rem;
}

.editor-card {
    display: flex;
    gap: 16px;
    background: #f9f9f9;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    align-items: flex-start;
    transition: transform 0.2s, box-shadow 0.2s;
}

.editor-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.editor-card img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #e0e0e0;
}

.editor-info {
    flex: 1;
}

.editor-info h3 {
    margin: 0 0 0.4em 0;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
}

.editor-name {
    color: #1a73e8;
    text-decoration: none;
}

.editor-name:hover {
    text-decoration: underline;
}

.editor-position {
    color: #555;
    font-size: 0.95rem;
    margin: 0.2em 0;
    font-style: italic;
    font-family: 'Roboto', sans-serif;
}

.editor-info p {
    margin: 0.3em 0;
    color: #333;
    font-size: 0.95rem;
    font-family: 'Roboto', sans-serif;
}

.editor-info a {
    color: #1a73e8;
    text-decoration: none;
}

.editor-info a:hover {
    text-decoration: underline;
}

/* === Страница сотрудника === */
.author-hero {
    background: #f0f0f0;
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.author-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: #1c1c1c;
    margin-bottom: 0.5em;
}

.author-hero .hero-description {
    font-size: 1.2rem;
    color: #555;
    font-weight: 500;
}

.author-layout {
    display: flex;
    gap: 40px;
    margin: 3rem 0;
    align-items: flex-start;
    flex-wrap: wrap;
}

.author-photo {
    flex: 0 0 300px;
}

.author-photo img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    object-fit: cover;
}

.author-info {
    flex: 1;
    min-width: 300px;
}

.author-details {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    line-height: 1.9;
}

.author-details strong {
    display: inline-block;
    width: 180px;
    vertical-align: top;
    color: #333;
    font-weight: 600;
}

.author-details li > div {
    display: inline-block;
    width: calc(100% - 180px);
    vertical-align: top;
    color: #333;
}

.author-bio h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: #d32f2f;
    margin-bottom: 1.2rem;
    border-bottom: 2px solid #d32f2f;
    padding-bottom: 0.3em;
    display: inline-block;
}

.author-bio p {
    margin-bottom: 1em;
    line-height: 1.7;
}

.author-info a {
    color: #1a73e8;
    text-decoration: none;
    transition: color 0.2s;
}
.author-info a:hover {
    color: #d32f2f;
    text-decoration: underline;
}

/* === Бейдж с названием сайта в hero === */
.site-badge {
    background: #d32f2f;
    color: white;
    padding: 0.2em 0.6em;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    margin: 0 0.3em; /* пробелы слева и справа */
}

/* Бейдж с количеством статей */
.articles-badge {
    background: #d32f2f;
    color: white;
    padding: 0.2em 0.6em;
    border-radius: 4px;
    font-weight: 600;
    margin: 0 0.3em;
    font-size: 0.95rem;
}

/* Отступ под пагинацией перед футером */
.author-news-list .pagination {
    margin-bottom: 3rem;
}

/* === Макет с двумя колонками: фиксированная левая, гибкая правая === */
.contacts-layout {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.contact-info-and-map {
    flex: 0 0 380px; /* Жёсткая ширина левой колонки */
    min-width: 320px;
}

.contact-form-section,
.editors-section {
    flex: 1;
    min-width: 300px;
}

/* Адаптив: на маленьких экранах — одна колонка */
@media (max-width: 768px) {
    .contacts-layout {
        flex-direction: column;
        gap: 2rem;
    }
    .contact-info-and-map,
    .contact-form-section,
    .editors-section {
        flex: none;
        width: 100%;
    }
}

#js-email-placeholder a {
    color: #000000;
    text-decoration: none;
}
#js-email-placeholder a:hover {
    text-decoration: underline;
}

/* Стили для иконок мессенджеров */
.contact-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.contact-icons img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    transition: transform 0.2s, opacity 0.2s;
}

.contact-icons a:hover img {
    transform: translateY(-2px);
    opacity: 0.9;
}

@media (max-width: 600px) {
    .author-hero {
        padding: 2rem 0;
    }
    .author-hero h1 {
        font-size: 2rem;
    }
    .author-details strong,
    .author-details li > div {
        display: block;
        width: 100% !important;
    }
    .author-details strong {
        margin-bottom: 0.2em;
        font-weight: 600;
        color: #1c1c1c;
    }
}

.author-details .car-model {
    font-weight: 600;
    color: #1a73e8;
}

/* Стили для контактной информации — одна колонка */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.9;
}

.contact-list strong {
    display: inline-block;
    width: auto;
    min-width: 130px;
    vertical-align: top;
    color: #333;
    font-weight: 600;
}

.contact-list li {
    margin-bottom: 0.5rem;
}

/* Мессенджеры в строке с заголовком */
.contact-icons-inline {
    display: inline-flex;
    gap: 1rem;
    align-items: center;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.contact-icons-inline img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    transition: transform 0.2s, opacity 0.2s;
}

.contact-icons-inline a:hover img {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Адаптив */
@media (max-width: 768px) {
    .author-layout {
        flex-direction: column;
    }
    .author-photo {
        flex: 0 0 auto;
        max-width: 300px;
        margin: 0 auto;
    }
    .author-details strong {
        width: 140px;
    }
    .author-details li > div {
        width: calc(100% - 140px);
    }
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .contacts-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-info h2,
    .contact-form-section h2,
    .editors-section h2 {
        font-size: 1.6rem;
    }

    .editor-card {
        flex-direction: column;
        text-align: center;
    }

    .editor-info h3 {
        text-align: center;
    }

    .editor-card img {
        margin: 0 auto;
    }
}

/* === Страница отдельного концерна === */
.concern-page {
    padding: 2rem 0;
    background: #fff;
}

.concern-content {
    max-width: 800px;
    margin: 0 auto;
}

.concern-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.concern-logo img {
    max-width: 180px;
    max-height: 120px;
    object-fit: contain;
}

.concern-info h2 {
    margin-top: 0;
    font-size: 1.8rem;
    color: #1c1c1c;
}

.concern-info p {
    margin: 0.3rem 0;
    line-height: 1.6;
}

.concern-info a {
    color: #1a73e8;
    text-decoration: none;
}

.concern-info a:hover {
    text-decoration: underline;
}

/* === Результат и инфо === */
.utilsbor-info {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin-top: 1rem;
    padding: 0.8rem;
    background: #f5f5f5;
    border-radius: 6px;
}

/* === Кнопки действий === */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Адаптив */

/* === Страница марок автомобилей === */
.cars-page {
    padding: 2rem 0 4rem; /* 2rem сверху, 4rem снизу */
    background: #fff;
}

/* Отступы для страницы концернов */
.concerns-page {
    padding: 2rem 0 4rem;
    background: #fff;
}

/* Цвет текста на неактивных кнопках */
.toggle-btn:not(.active) {
    color: #d32f2f;
}

/* === Промо-блоки на главной === */
.promo-box-section {
    padding: 1.5rem 0;
}
.promo-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, #1c1c1c 0%, #333 100%);
    color: white;
    padding: 1.4rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    flex-wrap: wrap;
}
.promo-box.telegram-promo-box {
    background: linear-gradient(135deg, #0088cc 0%, #005a88 100%);
}
.promo-box.utilsbor-promo-box {
    background: linear-gradient(135deg, #2c7a36 0%, #1d5524 100%);
}
.promo-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}
.promo-text h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}
.promo-text p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    opacity: 0.95;
    max-width: 500px;
    margin: 0;
}
.btn-promo {
    display: inline-block;
    background: white;
    color: #1c1c1c;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    padding: 0.55rem 1.3rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: opacity 0.2s, background 0.2s;
}
.btn-promo:hover {
    opacity: 0.9;
    background: #f0f0f0;
}

/* Адаптив для мобильных */
@media (max-width: 650px) {
    .promo-box {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .promo-text {
        width: 100%;
    }
    .btn-promo {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 1024px) {
    .brands-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 850px) {
    .brands-grid { grid-template-columns: repeat(4, 1fr); }
    .news-grid { grid-template-columns: repeat(3, 1fr); }
    .hero h1 { font-size: 2.3rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .telegram-promo-content { flex-direction: column; text-align: center; }
}

@media (max-width: 650px) {
    .brands-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-buttons { gap: 0.9rem; }
    .btn-primary,
    .btn-secondary {
        padding: 0.65rem 1.3rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .brands-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; }
    .header .container { flex-direction: column; text-align: center; }
    .nav { justify-content: center; }
    .hero { padding: 3.2rem 0; }
    .hero h1 { font-size: 2.0rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; align-items: center; gap: 0.8rem; }
    .btn-primary,
    .btn-secondary {
        width: 85%;
        max-width: 300px;
    }
    .logo {
        font-size: 1.8rem;
    }
    .footer-columns {
        flex-direction: column;
        align-items: center;
    }
    .footer-col {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .pagination {
        flex-direction: column;
        gap: 0.4rem;
    }
    .page-link {
        width: 100%;
        text-align: center;
        padding: 0.5rem;
        font-size: 1rem;
    }
    .page-link.prev,
    .page-link.next {
        width: 100%;
        text-align: center;
    }
}

/* === Блок "Поделиться" — фирменные цвета === */
.share-btn.telegram { background: #37aee2; }
.share-btn.max      { background: #51B9FF; } /* MAX — чёрный */
.share-btn.vk       { background: #0077FF; }
.share-btn.whatsapp { background: #25D366; color: #fff; }
.share-btn.copy     { background: #6c757d; color: #fff; }

/* === Адаптив: сайдбар под основным контентом на мобильных === */
@media (max-width: 768px) {
    .news-layout {
        flex-direction: column;
    }
    .news-sidebar {
        order: 4; /* Перемещаем сайдбар ВНИЗ */
        margin-top: 2rem;
    }
}