/* Дополнительные стили для месячного прогноза */

.month-navigation-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 0;
    border-bottom: 2px solid #dee2e6;
}

.month-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.month-nav-item {
    display: block;
    padding: 1.2rem;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: #495057;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.month-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(83, 75, 174, 0.1), transparent);
    transition: left 0.5s;
}

.month-nav-item:hover::before {
    left: 100%;
}

.month-nav-item:hover {
    border-color: #534bae;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(83, 75, 174, 0.2);
}

.month-nav-item.current {
    border-color: #534bae;
    background: linear-gradient(135deg, #534bae, #6c63ff);
    color: white;
    transform: translateY(-2px);
}

.month-name {
    font-weight: 600;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.current-badge {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    display: inline-block;
}

/* Улучшенные статистические карточки */
.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #534bae, #6c63ff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(83, 75, 174, 0.15);
    border-color: #534bae;
}

.stat-icon {
    font-size: 2.5rem;
    color: #534bae;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(83, 75, 174, 0.1), rgba(108, 99, 255, 0.1));
    border-radius: 50%;
    flex-shrink: 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #534bae;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-text {
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 500;
}

/* Улучшенный график */
.chart-container {
    height: 400px;
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(83, 75, 174, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(83, 75, 174, 0.1);
}

.chart-legend {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.legend-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #495057;
}

.legend-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    background: white;
    border-radius: 16px;
    border: 1px solid #dee2e6;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
}

/* Улучшенный календарь */
.calendar-container {
    margin: 2rem 0;
}

.calendar-grid {
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border-radius: 16px;
    overflow: hidden;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: linear-gradient(135deg, #534bae, #6c63ff);
}

.day-header {
    padding: 1rem;
    text-align: center;
    font-weight: 700;
    color: white;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.calendar-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: white;
}

.calendar-day {
    padding: 1rem 0.75rem;
    min-height: 100px;
    border: 1px solid #f1f3f4;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.calendar-day:hover {
    background: rgba(83, 75, 174, 0.05) !important;
    transform: scale(1.02);
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
}

.calendar-day.other-month {
    background: #fafbfc;
    opacity: 0.6;
    color: #9ca3af;
}

.calendar-day.today {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 2px solid #ffc107;
    font-weight: bold;
}

.calendar-day.today::after {
    content: 'СЕГОДНЯ';
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 0.6rem;
    background: #ffc107;
    color: #856404;
    padding: 0.15rem 0.3rem;
    border-radius: 8px;
    font-weight: bold;
}

/* Статусы календаря */
.calendar-day.status-calm {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
}

.calendar-day.status-unstable {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
}

.calendar-day.status-storm-mild {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

.calendar-day.status-storm-moderate {
    background: linear-gradient(135deg, #f5c6cb, #f1b0b7);
    color: #721c24;
}

.calendar-day.status-storm-severe {
    background: linear-gradient(135deg, #f1b0b7, #ec9ca4);
    color: #721c24;
}

.day-number {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.day-kp {
    font-size: 0.85rem;
    font-weight: 700;
    background: rgba(255,255,255,0.8);
    padding: 0.2rem 0.4rem;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 0.25rem;
}

.day-status {
    font-size: 0.7rem;
    opacity: 0.9;
    line-height: 1.2;
    font-weight: 500;
}

/* Улучшенная таблица */
.monthly-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    margin: 2rem 0;
}

.monthly-table th {
    background: linear-gradient(135deg, #534bae, #6c63ff);
    color: white;
    padding: 1.5rem 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.monthly-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #f1f3f4;
    vertical-align: middle;
}

.monthly-table tr:hover {
    background: linear-gradient(135deg, rgba(83, 75, 174, 0.02), rgba(108, 99, 255, 0.02));
}

.monthly-table tr:last-child td {
    border-bottom: none;
}

.date-cell {
    font-weight: 600;
    white-space: nowrap;
}

.date-cell small {
    display: block;
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.kp-cell {
    text-align: center;
}

.kp-value {
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.8);
}

.health-impact {
    text-align: center;
}

.impact-good, .impact-moderate, .impact-warning, .impact-danger {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.impact-good { 
    background: #d4edda; 
    color: #155724; 
}

.impact-moderate { 
    background: #fff3cd; 
    color: #856404; 
}

.impact-warning { 
    background: #ffeaa7; 
    color: #fd7e14; 
}

.impact-danger { 
    background: #f8d7da; 
    color: #721c24; 
}

/* SEO текст */
.seo-text-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #495057;
}

.seo-text-content p {
    margin-bottom: 1.25rem;
}

/* Рекомендации */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.recommendation-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border-left: 4px solid #534bae;
    transition: all 0.3s ease;
}

.recommendation-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(83, 75, 174, 0.1);
}

.recommendation-icon {
    font-size: 2rem;
    color: #534bae;
    flex-shrink: 0;
}

.recommendation-content h4 {
    margin-bottom: 0.5rem;
    color: #495057;
    font-size: 1.1rem;
}

.recommendation-content p {
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
}

/* Информационные блоки */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.info-item {
   display: flex;
   gap: 1.5rem;
   padding: 2rem;
   background: white;
   border-radius: 16px;
   border: 1px solid #e9ecef;
   transition: all 0.3s ease;
   position: relative;
   overflow: hidden;
}

.info-item::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 4px;
   height: 100%;
   background: linear-gradient(135deg, #534bae, #6c63ff);
   transform: scaleY(0);
   transition: transform 0.3s ease;
}

.info-item:hover::before {
   transform: scaleY(1);
}

.info-item:hover {
   transform: translateY(-4px);
   box-shadow: 0 12px 35px rgba(83, 75, 174, 0.12);
}

.info-icon {
   font-size: 2.5rem;
   color: #534bae;
   width: 80px;
   height: 80px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: linear-gradient(135deg, rgba(83, 75, 174, 0.1), rgba(108, 99, 255, 0.05));
   border-radius: 50%;
   flex-shrink: 0;
}

.info-content h4 {
   margin-bottom: 1rem;
   color: #495057;
   font-size: 1.2rem;
   font-weight: 600;
}

.info-content p {
   color: #6c757d;
   line-height: 1.6;
   margin: 0;
}

/* Связанные ссылки */
.related-links {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 2rem;
   margin: 2rem 0;
}

.links-group h4 {
   color: #534bae;
   margin-bottom: 1rem;
   font-size: 1.1rem;
   font-weight: 600;
   border-bottom: 2px solid #e9ecef;
   padding-bottom: 0.5rem;
}

.links-group ul {
   list-style: none;
   padding: 0;
   margin: 0;
}

.links-group li {
   margin: 0.75rem 0;
}

.links-group a {
   color: #495057;
   text-decoration: none;
   display: flex;
   align-items: center;
   gap: 0.5rem;
   padding: 0.5rem 0.75rem;
   border-radius: 8px;
   transition: all 0.3s ease;
   border-left: 3px solid transparent;
}

.links-group a::before {
   content: '→';
   color: #534bae;
   font-weight: bold;
   transition: transform 0.3s ease;
}

.links-group a:hover {
   background: linear-gradient(135deg, rgba(83, 75, 174, 0.05), rgba(108, 99, 255, 0.02));
   border-left-color: #534bae;
   color: #534bae;
   transform: translateX(4px);
}

.links-group a:hover::before {
   transform: translateX(4px);
}

/* Выделенная информация */
.highlight-info {
   background: linear-gradient(135deg, #e3f2fd, #bbdefb);
   border: 1px solid #2196f3;
   border-radius: 12px;
   padding: 1.5rem;
   margin: 2rem 0;
   text-align: center;
   color: #1976d2;
   font-weight: 500;
   position: relative;
   overflow: hidden;
}

.highlight-info::before {
   content: '';
   position: absolute;
   top: -50%;
   left: -50%;
   width: 200%;
   height: 200%;
   background: radial-gradient(circle, rgba(33, 150, 243, 0.1) 0%, transparent 70%);
   animation: highlight-pulse 3s ease-in-out infinite;
}

.highlight-info i {
   margin-right: 0.5rem;
   font-size: 1.2rem;
}

@keyframes highlight-pulse {
   0%, 100% { transform: scale(1); opacity: 0.5; }
   50% { transform: scale(1.05); opacity: 0.8; }
}

/* Анимации загрузки */
@keyframes fadeInUp {
   from {
       opacity: 0;
       transform: translateY(30px);
   }
   to {
       opacity: 1;
       transform: translateY(0);
   }
}

.fade-in {
   animation: fadeInUp 0.6s ease-out forwards;
}

/* Адаптивность */
@media (max-width: 768px) {
   .month-nav-grid {
       grid-template-columns: repeat(2, 1fr);
       gap: 0.75rem;
   }
   
   .month-nav-item {
       padding: 1rem;
   }
   
   .statistics-grid {
       grid-template-columns: repeat(2, 1fr);
       gap: 1rem;
   }
   
   .stat-card {
       padding: 1.5rem;
       flex-direction: column;
       text-align: center;
       gap: 1rem;
   }
   
   .stat-icon {
       width: 60px;
       height: 60px;
       font-size: 2rem;
   }
   
   .stat-number {
       font-size: 2rem;
   }
   
   .calendar-day {
       min-height: 80px;
       padding: 0.5rem 0.25rem;
   }
   
   .day-number {
       font-size: 1rem;
   }
   
   .day-kp {
       font-size: 0.7rem;
       padding: 0.15rem 0.3rem;
   }
   
   .day-status {
       font-size: 0.6rem;
   }
   
   .recommendations-grid,
   .info-grid {
       grid-template-columns: 1fr;
       gap: 1rem;
   }
   
   .recommendation-item,
   .info-item {
       padding: 1.25rem;
   }
   
   .related-links {
       grid-template-columns: 1fr;
       gap: 1.5rem;
   }
   
   .chart-container {
       height: 300px;
       margin: 1rem 0;
       padding: 0.5rem;
   }
   
   .legend-items {
       flex-direction: column;
       align-items: center;
       gap: 0.5rem;
   }
   
   .monthly-table {
       font-size: 0.9rem;
   }
   
   .monthly-table th,
   .monthly-table td {
       padding: 1rem 0.5rem;
   }
   
   .date-cell small {
       display: none;
   }
   
   .hero-kp-enhanced {
       flex-direction: column;
       text-align: center;
       gap: 1rem;
   }
   
   .city-hero-info-enhanced {
       flex-direction: column;
       gap: 0.75rem;
       text-align: center;
   }
}

@media (max-width: 480px) {
   .month-nav-grid {
       grid-template-columns: 1fr;
   }
   
   .statistics-grid {
       grid-template-columns: 1fr;
   }
   
   .calendar-header {
       font-size: 0.8rem;
   }
   
   .day-header {
       padding: 0.75rem 0.5rem;
   }
   
   .calendar-day {
       min-height: 70px;
       padding: 0.5rem 0.25rem;
   }
   
   .day-kp {
       font-size: 0.65rem;
   }
   
   .day-status {
       display: none;
   }
   
   .chart-container {
       height: 250px;
   }
   
   .hero-stats {
       flex-direction: column;
       gap: 1rem;
   }
   
   .stat-item {
       min-width: auto;
   }
}

/* Темная тема */
.dark-mode .month-navigation-section {
   background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
}

.dark-mode .month-nav-item {
   background: #495057;
   color: #f8f9fa;
   border-color: #6c757d;
}

.dark-mode .month-nav-item:hover {
   border-color: #6c63ff;
   background: #343a40;
}

.dark-mode .month-nav-item.current {
   background: linear-gradient(135deg, #6c63ff, #534bae);
}

.dark-mode .stat-card {
   background: #495057;
   color: #f8f9fa;
   border-color: #6c757d;
}

.dark-mode .stat-icon {
   background: linear-gradient(135deg, rgba(108, 99, 255, 0.2), rgba(83, 75, 174, 0.1));
}

.dark-mode .calendar-day {
   background: #495057;
   color: #f8f9fa;
   border-color: #6c757d;
}

.dark-mode .calendar-day.other-month {
   background: #343a40;
}

.dark-mode .monthly-table {
   background: #495057;
}

.dark-mode .monthly-table td {
   border-color: #6c757d;
   color: #f8f9fa;
}

.dark-mode .monthly-table tr:hover {
   background: rgba(108, 99, 255, 0.1);
}

.dark-mode .info-item,
.dark-mode .recommendation-item {
   background: #495057;
   color: #f8f9fa;
   border-color: #6c757d;
}

.dark-mode .seo-text-content {
   color: #e9ecef;
}

.dark-mode .chart-legend {
   background: #495057;
   color: #f8f9fa;
}

.dark-mode .legend-item {
   background: #343a40;
   border-color: #6c757d;
}

/* Улучшения для печати */
@media print {
   .header,
   .footer,
   .month-navigation-section,
   .nav-menu,
   .mode-toggle {
       display: none !important;
   }
   
   .section {
       page-break-inside: avoid;
       margin: 1rem 0;
   }
   
   .card {
       border: 1px solid #ddd;
       box-shadow: none;
       page-break-inside: avoid;
   }
   
   .calendar-day:hover {
       transform: none;
       box-shadow: none;
   }
   
   .chart-container {
       height: 300px;
   }
}

/* Дополнительные утилиты */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.font-weight-bold { font-weight: bold; }
.font-weight-normal { font-weight: normal; }

.text-muted { color: #6c757d; }
.text-primary { color: #534bae; }
.text-success { color: #28a745; }
.text-warning { color: #ffc107; }
.text-danger { color: #dc3545; }

/* Анимации для улучшения UX */
@keyframes pulse {
   0%, 100% { opacity: 1; }
   50% { opacity: 0.7; }
}

@keyframes bounce {
   0%, 20%, 53%, 80%, 100% { transform: translateY(0); }
   40%, 43% { transform: translateY(-10px); }
   70% { transform: translateY(-5px); }
   90% { transform: translateY(-2px); }
}

.animate-pulse {
   animation: pulse 2s infinite;
}

.animate-bounce {
   animation: bounce 1s infinite;
}

/* Скроллбар */
::-webkit-scrollbar {
   width: 8px;
   height: 8px;
}

::-webkit-scrollbar-track {
   background: #f1f1f1;
   border-radius: 4px;
}

::-webkit-scrollbar-thumb {
   background: linear-gradient(135deg, #534bae, #6c63ff);
   border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
   background: linear-gradient(135deg, #6c63ff, #534bae);
}

/* Фокус для доступности */
.month-nav-item:focus,
.calendar-day:focus,
.stat-card:focus {
   outline: 2px solid #534bae;
   outline-offset: 2px;
}

/* Загрузочные состояния */
.loading {
   position: relative;
   pointer-events: none;
}

.loading::after {
   content: '';
   position: absolute;
   top: 50%;
   left: 50%;
   width: 20px;
   height: 20px;
   margin: -10px 0 0 -10px;
   border: 2px solid #f3f3f3;
   border-top: 2px solid #534bae;
   border-radius: 50%;
   animation: spin 1s linear infinite;
}

@keyframes spin {
   0% { transform: rotate(0deg); }
   100% { transform: rotate(360deg); }
}


.month-nav-item.current {
    border-color: #534bae;
    background: linear-gradient(135deg, #534bae, #6c63ff);
    color: white;
}

.month-nav-item.calendar-current:not(.current) {
    border-color: #28a745;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.current-badge {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    display: inline-block;
}

.calendar-current-badge {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    display: inline-block;
}



.detailed-analysis-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    text-align: justify;
    text-indent: 2em;
}

.detailed-analysis-content p {
    margin-bottom: 1.5rem;
}

.medical-recommendations {
    margin-top: 1rem;
}

.alert {
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 4px solid;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.alert-success {
    background-color: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.alert-info {
    background-color: #d1ecf1;
    border-left-color: #17a2b8;
    color: #0c5460;
}

.alert-warning {
    background-color: #fff3cd;
    border-left-color: #ffc107;
    color: #856404;
}

.alert i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alert strong {
    font-weight: 600;
}


/* Стили для продвинутого SEO контента */
.storm-calendar-list {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    border-left: 4px solid #ff6b6b;
}

.storm-calendar-list li {
    margin-bottom: 12px;
    padding: 10px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    line-height: 1.5;
}

.technical-list {
    background: #e3f2fd;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    border-left: 4px solid #2196f3;
}

.technical-list li {
    margin-bottom: 8px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.seo-keywords {
    background: #fff3e0;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    border-left: 4px solid #ff9800;
}

.faq-section {
    background: #f3e5f5;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    border-left: 4px solid #9c27b0;
}

.faq-section p {
    margin-bottom: 15px;
}

.long-tail-keywords {
    background: #e8f5e8;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    border-left: 4px solid #4caf50;
}

.keywords-cloud {
    font-size: 12px;
    line-height: 1.8;
    color: #666;
}

.keyword-phrase {
    background: rgba(76, 175, 80, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    margin: 2px;
    display: inline-block;
    transition: background 0.2s;
}

.keyword-phrase:hover {
    background: rgba(76, 175, 80, 0.2);
    cursor: pointer;
}

/* Адаптивность для SEO блоков */
@media (max-width: 768px) {
    .storm-calendar-list,
    .technical-list,
    .seo-keywords,
    .faq-section,
    .long-tail-keywords {
        padding: 15px;
        margin: 10px 0;
    }
    
    .storm-calendar-list li {
        padding: 8px;
        font-size: 14px;
    }
    
    .technical-list li {
        font-size: 12px;
    }
    
    .keywords-cloud {
        font-size: 11px;
    }
}

/* Темная тема для SEO блоков */
.dark-mode .storm-calendar-list {
    background: #2d2d2d;
    color: #fff;
}

.dark-mode .storm-calendar-list li {
    background: #3d3d3d;
    color: #fff;
}

.dark-mode .technical-list {
    background: #1a237e;
    color: #fff;
}

.dark-mode .seo-keywords {
    background: #3e2723;
    color: #fff;
}

.dark-mode .faq-section {
    background: #4a148c;
    color: #fff;
}

.dark-mode .long-tail-keywords {
    background: #1b5e20;
    color: #fff;
}

.dark-mode .keyword-phrase {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.dark-mode .keyword-phrase:hover {
    background: rgba(255, 255, 255, 0.2);
}