.advantage-section {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 40px 0;
}
[data-theme='dark'] .advantage-section {
    background: var(--bg-color);
    color: var(--text-color);
}
.advantage-card {
    background: var(--bg-light);
    color: var(--text-color);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    position: relative;
}
[data-theme='dark'] .advantage-card {
    background: var(--bg-dark);
    color: var(--text-color);
    border-color: var(--border-light);
}
.advantage-card svg {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-bottom: 16px;
}
.advantage-card p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
    text-align: center;
}

/* Когда есть иконка - текст под ней */
.advantage-card:has(svg) {
    justify-content: flex-start;
}
.advantage-card:has(svg) p {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Когда нет иконки - текст по центру */
.advantage-card:not(:has(svg)) {
    justify-content: center;
}
.advantage-card:not(:has(svg)) p {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .advantage-card {
        padding: 24px;
        min-height: 160px;
    }
    
    .advantage-card p {
        font-size: 1rem;
    }
    
    .advantage-card:not(:has(svg)) p {
        font-size: 1rem;
    }
}

/* Advantages Section */
.advantages-section {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 40px 0;
}
[data-theme='dark'] .advantages-section {
    background: var(--bg-color);
    color: var(--text-color);
}

@media (max-width: 768px) {
    .advantages-section {
        padding: 40px 0;
    }
}

.advantages-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 48px;
}

@media (min-width: 768px) {
    .advantages-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .advantages-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.advantage-card {
    background: var(--bg-light);
    color: var(--text-color);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    text-align: center;
}
[data-theme='dark'] .advantage-card {
    background: var(--bg-dark);
    color: var(--text-color);
}

@media (max-width: 768px) {
    .advantage-card {
        padding: 20px;
    }
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.advantage-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-color);
}

.advantage-card p {
    color: var(--text-light);
}

.tariff-card-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.tariff-card-section h2 {
    color: white;
    margin-bottom: 3rem;
}

.tariff-card {
    background: transparent; /* Убираем фон */
    backdrop-filter: none; /* Убираем размытие */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tariff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent; /* Убираем фон */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tariff-card:hover {
    transform: translateY(-5px);
    box-shadow: none; /* Убираем тень */
}

.tariff-card:hover::before {
    opacity: 1;
}

.tariff-route h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.tariff-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
}

.distance {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
    .tariff-card-section {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    }
    
    .tariff-card {
        background: transparent; /* Убираем фон */
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .tariff-card::before {
        background: transparent; /* Убираем фон */
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .tariff-card-section {
        padding: 2rem 0;
    }
    
    .tariff-card {
        padding: 1.5rem;
    }
    
    .tariff-route h3 {
        font-size: 1.1rem;
    }
    
    .price {
        font-size: 1.25rem;
    }
    
    .distance {
        font-size: 0.9rem;
    }
    
    .tariff-details {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Tariff table */
.tariff-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 32px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: none; /* Убираем тень */
}

.tariff-table th,
.tariff-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.tariff-table th {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    font-weight: 600;
}

.tariff-table tbody tr:hover {
    background: var(--bg-light);
}

.tariff-info {
    text-align: center;
    margin-top: 24px;
    color: var(--text-muted);
    font-style: italic;
}

/* ——— Блок занимает всю высоту экрана ——— */
.tariffs-section {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 40px 0;
}

/* ——— Навигация (без изменений) ——— */
.tariffs-nav { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.tariff-tab { padding:.6rem 1.2rem; border:1px solid #ddd; background:#fff; cursor:pointer; }
.tariff-tab.is-active { background:#3e6d26; border-color:#3e6d26; color:#000; }

/* ——— Карточка: flex-row по умолчанию ——— */
.tariff-card           { display:none; flex-direction:row !important; /* переопределяем */ 
                         border:1px solid #eee; position:relative; overflow:hidden; flex:1 0 auto; }
.tariff-card.is-active { display:flex; flex-direction:row !important; animation:fade .3s ease; }

/* «Популярный» бейдж */
.tariff-card[data-popular="true"] { border-color:#3e6d26; }
.tariff-badge { position:absolute; top:1rem; right:1rem; background:#3e6d26; padding:.2rem .6rem;
                font-size:.8rem; font-weight:600; }

/* Левая колонка (изображение) */
.tariff-media { flex:0 0 45%; }
.tariff-photo { width:100%; height:100%; object-fit:cover; }

/* Правая колонка (контент) */
.tariff-content { flex:1 1 55%; display:flex; flex-direction:column; padding:2rem; }
.tariff-header h3 { margin:0 0 .4rem; font-size:1.6rem; }
.tariff-car { font-weight:500; color:#444; margin-bottom:.8rem; }

.tariff-params,
.tariff-benefits { list-style:none; margin:0 0 1.2rem; padding:0; }
.tariff-params li,
.tariff-benefits li { display:flex; justify-content:space-between; padding:.35rem 0; }

.tariff-footer { margin-top:auto; text-align:center; }
.btn { 
    padding: 0.6rem 1.5rem; 
    background: var(--primary-color, #3e6d26); 
    color: #fff; 
    border: none; 
    border-radius: 4px;
    cursor: pointer; 
    transition: all 0.3s ease;
    font-weight: 500;
    text-align: center;
    display: inline-block;
}

.btn:hover { 
    background: var(--primary-hover, #2e531d);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.tariff-note { margin-top:.8rem; font-size:.8rem; color:#555; }

/* ——— Мобильная адаптация: колонки вновь в стек ——— */
@media (max-width:767px){
    .tariff-card.is-active { flex-direction:column !important; }
    .tariff-media { flex:0 0 auto; height:220px; }
    .tariff-content { padding:1.5rem; }
}

@keyframes fade { from{opacity:0;transform:translateY(8px);} to{opacity:1;transform:translateY(0);} }

[data-theme='dark'] .tariffs-section {
  background: var(--bg-color);
  color: var(--text-color);
}
[data-theme='dark'] .tariff-card {
  background: var(--bg-dark);
  color: var(--text-color);
}
[data-theme='dark'] .tariff-card .tariff-car {
  color: #ccc !important;
}
[data-theme='dark'] .tariff-tab {
  background: #23242a !important;
  color: #fff !important;
  border-color: #444 !important;
}
[data-theme='dark'] .tariff-tab.is-active {
  background: #f9c400 !important;
  color: #000 !important;
  border-color: #f9c400 !important;
}
[data-theme='dark'] .tariff-note {
  color: #aaa !important;
}

.comparison-table-block-section {
    background-color: var(--bg-light);
    color: var(--text-color);
    padding: 40px 0;
}

.comparison-table-section table thead {
    /* Sticky header for the table */
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Эффект выделения строки при наведении */
.comparison-table-section table tbody tr {
    transition: background-color 0.2s ease, transform 0.1s ease;
    cursor: pointer;
}

.comparison-table-section table tbody tr:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
    transform: scale(1.01);
    box-shadow: none; /* Убираем тень */
}

.comparison-table-section table tbody tr:hover td {
    color: white !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Темная тема */
[data-theme='dark'] .comparison-table-section,
[data-theme='dark'] .comparison-table-block-section {
    background-color: #23272f !important;
    color: #fff !important;
}

[data-theme='dark'] .comparison-table-section table,
[data-theme='dark'] .comparison-table-section table thead,
[data-theme='dark'] .comparison-table-section table tbody,
[data-theme='dark'] .comparison-table-section table tr,
[data-theme='dark'] .comparison-table-section table th,
[data-theme='dark'] .comparison-table-section table td {
    background-color: #23272f !important;
    color: #fff !important;
    border-color: #444 !important;
}

[data-theme='dark'] .comparison-table-section table thead {
    background-color: #23272f !important;
}

[data-theme='dark'] .comparison-table-section table th {
    color: #bfc7d5 !important;
}

[data-theme='dark'] .comparison-table-section table tr {
    border-bottom: 1px solid #444 !important;
}

/* Эффект выделения для темной темы */
[data-theme='dark'] .comparison-table-section table tbody tr:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
    transform: scale(1.01);
    box-shadow: none; /* Убираем тень */
}

[data-theme='dark'] .comparison-table-section table tbody tr:hover td {
    color: white !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.contact-section {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 40px 0;
}
[data-theme='dark'] .contact-section {
    background: var(--bg-color);
    color: var(--text-color);
}
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}
.contact-info, .contact-form-wrapper {
    flex: 1 1 300px;
    min-width: 300px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-icon {
    color: var(--primary-color);
    font-size: 24px;
}
.contact-content h4 {
    margin: 0 0 4px 0;
    font-size: 1.1em;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: var(--form-input-padding, 12px 16px);
    height: var(--form-input-height, 48px);
    border: 1px solid var(--form-border-color, var(--border-color));
    border-radius: var(--form-border-radius, 8px);
    background: var(--form-bg-color, var(--bg-light));
    color: var(--form-text-color, var(--text-color));
    font-size: 16px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.contact-form textarea {
    height: auto;
    min-height: 96px;
    resize: vertical;
    line-height: 1.5;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--form-border-focus, var(--primary-color));
    outline: none;
    box-shadow: none; /* Убираем тень */
}
[data-theme='dark'] .contact-form input,
[data-theme='dark'] .contact-form textarea {
    background: var(--bg-light);
    color: var(--text-color);
    border-color: var(--border-light);
} 
.cta-section {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 48px 0;
    text-align: center;
}
[data-theme='dark'] .cta-section {
    background: var(--bg-color);
    color: var(--text-color);
}
.cta-content h2 {
    font-size: 2em;
    margin-bottom: 12px;
}
.cta-content p {
    font-size: 1.2em;
    margin-bottom: 24px;
}
.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.cta-buttons .btn-large {
    font-size: 1.2em;
    padding: 16px 32px;
}
.app-download {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.app-download img {
    height: 40px;
} 
/* FAQ Section */
.faq-section {
    background-color: var(--bg-light);
    color: var(--text-color);
    padding: 40px 0;
}

.faq-section .section-description {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-light);
}

.faq-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-color);
}

.faq-item p {
    color: var(--text-light);
}

.faq-section {
    background: var(--bg-color);
    color: var(--text-color);
}
[data-theme='dark'] .faq-section {
    background: var(--bg-color);
    color: var(--text-color);
} 
.plain-text-block-section {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 2rem 0;
}
[data-theme='dark'] .plain-text-block-section {
    background: var(--bg-color);
    color: var(--text-color);
} 
/* Custom styles for the App Promo Section */
.app-promo-section {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 40px 0;
}
[data-theme='dark'] .app-promo-section {
    background: var(--bg-color);
    color: var(--text-color);
}

.app-promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.app-promo-text {
    flex: 1;
    max-width: 55%;
}

.app-promo-text h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 20px;
}

.app-promo-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.app-download-buttons {
    display: flex;
    gap: 20px;
}

.app-download-buttons img {
    height: 50px;
    transition: transform 0.3s ease;
}

.app-download-buttons img:hover {
    transform: translateY(-5px);
}

.app-promo-image {
    flex: 1;
    max-width: 40%;
}

.app-promo-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

@media (max-width: 992px) {
    .app-promo-content {
        flex-direction: column;
        text-align: center;
    }

    .app-promo-text {
        max-width: 100%;
    }

    .app-download-buttons {
        justify-content: center;
    }

    .app-promo-image {
        max-width: 80%;
        margin-top: 40px;
    }
}

/* Partners Section */
.partners-section {
    background-color: var(--bg-light);
    color: var(--text-color);
    padding: 40px 0;
}

.partners-section .section-description {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-light);
}

.partners-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.partner-block {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    text-align: center;
}

.partner-block h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-color);
}

.partner-block p {
    color: var(--text-light);
    margin-bottom: 24px;
}

/* Services Section */
.services-section {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 40px 0;
}
[data-theme='dark'] .services-section {
    background: var(--bg-color);
    color: var(--text-color);
}
.services-section .section-description {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-item {
    background: var(--bg-light);
    color: var(--text-color);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}
[data-theme='dark'] .service-item {
    background: var(--bg-dark);
    color: var(--text-color);
}

.service-item h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-color);
}

.service-item p {
    color: var(--text-light);
}

.btn-details {
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 6px;
    background: var(--primary-color, #3e6d26);
    color: #fff;
    border: none;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    outline: none;
    display: inline-block;
    font-weight: 500;
}

.btn-details:hover {
    background: var(--primary-hover, #2e531d);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.details-link {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color, #3e6d26);
    text-decoration: none;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

.details-link:hover {
    color: var(--primary-hover, #2e531d);
    text-decoration: none;
    background-color: rgba(62, 109, 38, 0.1);
}
.details-arrow {
    font-size: 1.1em;
    margin-left: 4px;
    transition: transform 0.2s;
}
.details-link:hover .details-arrow {
    transform: translateX(2px);
}

.service-icon {
    display: inline-block;
    vertical-align: middle;
    width: 32px;
    height: 32px;
    margin-right: 10px;
    color: var(--primary-color, var(--button-blue));
    object-fit: contain;
    font-size: 32px;
}

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* reviews.css — заглушка для устранения 404 */ 
.plain-text-block-section {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 2rem 0;
}

.plain-text-block-inner {
    width: 80%;
    margin: 0 auto;
}

.plain-text-block-section .section-title {
    font-size: 2.5em;
    color: var(--text-color);
    margin-bottom: 20px;
}

.plain-text-block-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-color);
}

[data-theme='dark'] .plain-text-block-section {
    background: var(--bg-color);
    color: var(--text-color);
}
[data-theme='dark'] .plain-text-block-section .section-title {
    color: #fff !important;
}
[data-theme='dark'] .plain-text-block-content {
    color: #eee !important;
} 
.iframe-block-section {
    background-color: var(--bg-light);
    color: var(--text-color);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.iframe-block-form {
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

.iframe-block-form iframe {
    max-width: 100%;
    max-height: 100%;
}

@media (max-width: 768px) {
    .iframe-block-form {
        width: 95%;
        overflow: hidden;
    }
    
    .iframe-block-form iframe {
        width: 100%;
        height: 400px;
        border: 0;
    }
}

.extra-service-block-section {
    background-color: var(--bg-light);
    color: var(--text-color);
    padding: 20px 0;
}

[data-theme='dark'] .extra-service-block-section {
    background-color: var(--bg-dark);
    color: var(--text-color);
}

.value-right {
    text-align: right;
    color: var(--text-color) !important;
    display: block;
    min-width: 90px;
}

.disclaimer-block-section {
    background-color: var(--bg-light);
    color: var(--text-color);
    padding: 20px 0;
}

.final-cta-block-section {
    background-color: var(--bg-light);
    color: var(--text-color);
    padding: 40px 0;
}

.seo-text-block-section {
    background-color: var(--bg-light);
    color: var(--text-color);
    padding: 40px 0;
}

.custom-text-block-section {
    background-color: var(--bg-light);
    color: var(--text-color);
    padding: 40px 0;
}

.custom-text-block .container {
    max-width: 1200px;
    margin: 0 auto;
}

.custom-text-block h2 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
}

.custom-text-block .custom-content {
    line-height: 1.6;
}

.custom-text-block .custom-content h1,
.custom-text-block .custom-content h2,
.custom-text-block .custom-content h3,
.custom-text-block .custom-content h4,
.custom-text-block .custom-content h5,
.custom-text-block .custom-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.custom-text-block .custom-content p {
    margin-bottom: 1rem;
}

.custom-text-block .custom-content ul,
.custom-text-block .custom-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.custom-text-block .custom-content li {
    margin-bottom: 0.5rem;
}

.custom-text-block .custom-content blockquote {
    border-left: 4px solid #e5e7eb;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6b7280;
}

.custom-text-block .custom-content code {
    background-color: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.custom-text-block .custom-content pre {
    background-color: #f3f4f6;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.custom-text-block .custom-content pre code {
    background-color: transparent;
    padding: 0;
}

.custom-text-block .custom-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.custom-text-block .custom-content th,
.custom-text-block .custom-content td {
    border: 1px solid #d1d5db;
    padding: 0.75rem;
    text-align: left;
}

.custom-text-block .custom-content th {
    background-color: #f9fafb;
    font-weight: bold;
}

.custom-text-block .custom-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

.custom-text-block .custom-content a {
    color: #3b82f6;
    text-decoration: underline;
}

.custom-text-block .custom-content a:hover {
    color: #1d4ed8;
}

/* Адаптивность */
@media (max-width: 768px) {
    .custom-text-block {
        padding: 1rem 0;
    }
    
    .custom-text-block h2 {
        font-size: 2rem;
    }
    
    .custom-text-block .custom-content {
        font-size: 0.95rem;
    }
} 
/* testimonials.css — заглушка для устранения 404 */ 
.intercity-accordion-block-section {
    background-color: var(--bg-light);
    color: var(--text-color);
    padding: 40px 0;
}
[data-theme='dark'] .intercity-accordion-section,
[data-theme='dark'] .intercity-accordion-block-section {
    background-color: #23272f !important;
    color: #fff !important;
}
[data-theme='dark'] .accordion-item {
    background: #23272f !important;
    color: #fff !important;
    border-color: #444 !important;
}
[data-theme='dark'] .accordion-header {
    background: #23272f !important;
    color: #fff !important;
}
[data-theme='dark'] .accordion-content {
    background: #23272f !important;
    color: #fff !important;
    border-top: 1px solid #444 !important;
}

/* Минималистичный Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #333;
    padding: 16px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.cookie-consent-banner.show {
    opacity: 1;
    visibility: visible;
}

.cookie-consent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-message {
    font-size: 14px;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-details {
    color: #3e6d26;
    text-decoration: underline;
    font-size: 14px;
    transition: color 0.2s ease;
}

.cookie-details:hover {
    color: #2d5a1c;
}

.cookie-ok-btn {
    background-color: #3e6d26;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cookie-ok-btn:hover {
    background-color: #2d5a1c;
}

/* Темная тема */
[data-theme="dark"] .cookie-consent-banner {
    background-color: rgba(30, 30, 30, 0.95);
    color: #e0e0e0;
    border-top-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .cookie-details {
    color: #4ade80;
}

[data-theme="dark"] .cookie-details:hover {
    color: #22c55e;
}

[data-theme="dark"] .cookie-ok-btn {
    background-color: #4ade80;
    color: #000;
}

[data-theme="dark"] .cookie-ok-btn:hover {
    background-color: #22c55e;
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .cookie-consent-banner {
        bottom: 10px;
        left: 10px;
        right: 10px;
        border-radius: 8px;
        padding: 16px;
        border-top: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
    
    .cookie-consent-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .cookie-actions {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .cookie-ok-btn {
        width: 100%;
        padding: 10px 16px;
    }
    
    .cookie-message {
        font-size: 13px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .cookie-consent-banner {
        bottom: 5px;
        left: 5px;
        right: 5px;
        padding: 14px;
    }
    
    .cookie-message {
        font-size: 12px;
    }
    
    .cookie-details,
    .cookie-ok-btn {
        font-size: 13px;
    }
}