/*
Theme Name:     Newspaper Child theme
Theme URI: 		http://themeforest.net/user/tagDiv/portfolio
Description:    Child theme made by tagDiv
Author:         tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
Template:       Newspaper
Version:        9.0c
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/


/*  ----------------------------------------------------------------------------
    ULTIMATE WEATHER WIDGET STYLES (Shortcode:[ultimate_weather])
----------------------------------------------------------------------------- */

/* Main Container */
.custom-bg-weather-full {
    font-family: sans-serif;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

/* Titles */
.weather-title {
    text-align: center;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.forecast-title {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #1e293b;
}

/* 1. Current Weather Grid */
.current-weather-box {
    display: flex;
    flex-wrap: wrap;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    gap: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.current-main {
    flex: 1;
    min-width: 200px;
    text-align: center;
    border-right: 1px solid #e2e8f0;
}

.weather-icon {
    width: 64px;
    height: 64px;
}

.current-temp {
    font-size: 42px;
    font-weight: bold;
    color: #0ea5e9;
    line-height: 1.2;
}

.current-condition {
    font-size: 18px;
    font-weight: 600;
    color: #475569;
    margin-top: 5px;
}

.current-details {
    flex: 2;
    min-width: 200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-content: center;
}

.current-details p {
    margin: 5px 0;
    font-size: 15px;
    color: #334155;
}

.current-details p strong {
    color: #64748b;
    font-weight: normal;
}

/* 2. 3-Day Forecast Grid */
.forecast-container {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin-bottom: 30px;
}

.forecast-day {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.forecast-day:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.forecast-date {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    color: #1e293b;
}

.forecast-condition {
    font-size: 14px;
    color: #475569;
    min-height: 40px; /* Keeps boxes aligned if text is 2 lines */
    display: flex;
    align-items: center;
    justify-content: center;
}

.forecast-temps {
    font-size: 20px;
    margin: 10px 0;
}

.max-t { 
    color: #dc2626; 
    font-weight: bold; 
} 

.min-t { 
    color: #2563eb; 
    font-weight: bold; 
} 

.forecast-rain {
    font-size: 14px;
    color: #64748b;
    font-weight: bold;
}

/* 3. Map Container */
.weather-map-container {
    width: 100%;
    margin-top: 15px;
}

/* 4. Mobile Responsiveness */
@media (max-width: 600px) {
    .current-details { 
        grid-template-columns: 1fr; 
    }
    .current-main { 
        border-right: none; 
        border-bottom: 1px solid #e2e8f0; 
        padding-bottom: 15px; 
    }
    .forecast-container { 
        flex-direction: column; 
    }
}