/* =========================================*/
/* Стилі блоку info_block Погода сайту */
/* =========================================*/

/* Крижаний градієнт для контенту погоди */
.info_block_content.weather-content {
    background: linear-gradient(135deg, #e3f2fd 0%, #d4edfc 50%, #c8e9fb 100%);
    border: 2px solid rgba(42, 111, 151, 0.25);
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

/* Крижаний ефект з прозорими плямами */
.info_block_content.weather-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(179, 223, 245, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.info_block_content.weather-content > * {
    position: relative;
    z-index: 1;
}

.weather-current {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    margin-bottom: 0;
    border-bottom: 2px solid rgba(42, 111, 151, 0.15);
    background: rgba(255, 255, 255, 0.5);
}

.weather-icon-large {
    font-size: 48px;
    line-height: 1;
    animation: snowfallPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(42, 111, 151, 0.3));
}

@keyframes snowfallPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.08) rotate(5deg); }
}

.weather-status-text {
    flex: 1;
}

.weather-label {
    font-size: 10px;
    color: #2A6F97;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
    font-weight: 600;
}

.weather-name {
    font-size: 16px;
    font-weight: 600;
    color: #2A6F97;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.weather-indicators {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 15px;
    margin-bottom: 0;
    border-bottom: 2px solid rgba(42, 111, 151, 0.15);
}

.weather-indicator {
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
    padding: 12px 8px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(42, 111, 151, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(42, 111, 151, 0.12);
    transition: all 0.2s ease;
}

.weather-indicator:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 111, 151, 0.12);
}

.weather-indicator-label {
    font-size: 10px;
    color: #666;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.weather-indicator-value {
    font-size: 18px;
    font-weight: bold;
    color: #2A6F97;
    letter-spacing: 2px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.weather-forecast {
    padding: 15px;
    margin-bottom: 0;
    border-bottom: 2px solid rgba(42, 111, 151, 0.15);
}

.weather-forecast-title {
    font-size: 11px;
    font-weight: 600;
    color: #2A6F97;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.weather-timeline {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(42, 111, 151, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(42, 111, 151, 0.12);
}

.weather-time-item {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    border-radius: 6px;
    transition: background 0.2s;
}

.weather-time-item:hover {
    background: rgba(42, 111, 151, 0.08);
}

.weather-time-item-highlight {
    background: rgba(42, 111, 151, 0.12);
    font-weight: 600;
}

.weather-time-emoji {
    font-size: 16px;
    margin-right: 8px;
    min-width: 20px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.weather-time-text {
    font-size: 11px;
    color: #444;
    line-height: 1.4;
}

.weather-funny {
    background: rgba(255, 255, 255, 0.7);
    padding: 12px;
    margin: 15px;
    border-radius: 10px;
    font-size: 11px;
    color: #2A6F97;
    text-align: center;
    font-style: italic;
    box-shadow: 0 2px 8px rgba(42, 111, 151, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(42, 111, 151, 0.12);
    line-height: 1.5;
    font-weight: 500;
}

/* Адаптив */
@media (max-width: 1550px) {
    .weather-name {
        font-size: 15px;
    }

    .weather-indicator-value {
        font-size: 16px;
    }

    .weather-time-text {
        font-size: 10px;
    }

    .weather-funny {
        font-size: 10px;
    }
}

@media (max-width: 1430px) {
    .weather-current {
        gap: 10px;
        padding: 12px;
    }

    .weather-icon-large {
        font-size: 40px;
    }

    .weather-name {
        font-size: 14px;
    }

    .weather-indicators {
        padding: 12px;
        gap: 8px;
    }

    .weather-indicator {
        padding: 10px 6px;
    }

    .weather-indicator-value {
        font-size: 15px;
    }

    .weather-forecast {
        padding: 12px;
    }

    .weather-time-text {
        font-size: 10px;
    }

    .weather-funny {
        font-size: 10px;
        padding: 10px;
        margin: 12px;
    }
}

@media (max-width: 768px) {
    .weather-current {
        flex-direction: column;
        text-align: center;
    }

    .weather-indicators {
        grid-template-columns: 1fr;
    }
}