.weather-report {
    width: 100%;
    max-width: 100%;
    margin: 2rem auto;
    padding: 0;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #2c3e50;
    line-height: 1.6;
}

/* Weather narrative styles with higher specificity */
.weather-report .weather-narrative,
.wp-block-html .weather-narrative {
    padding: 0 !important;
    margin: 0 0 24px 0 !important;
    text-align: left !important;
    width: 100% !important;
    line-height: 1.8 !important;
    color: #333 !important;
    font-size: 1.1em !important;
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.weather-report .weather-narrative p,
.wp-block-html .weather-narrative p {
    margin: 0 0 2em !important;
    padding: 0 !important;
    text-align: left !important;
}

.weather-report .weather-narrative p:last-child,
.wp-block-html .weather-narrative p:last-child {
    margin-bottom: 0 !important;
}

.weather-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 24px 0;
    width: 100%;
}

.metric-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.metric-box.temperature {
    grid-column: 1 / -1;
    justify-content: center;
    padding: 24px;
}

.metric-box.temperature .current-temp {
    font-size: 3.5em;
    font-weight: 600;
    color: #00a3e6;
    margin-right: 24px;
}

.metric-box.temperature .temp-range {
    display: flex;
    gap: 16px;
    font-size: 1.2em;
    color: #455a64;
}

.metric-box i {
    font-size: 1.5em;
    color: #1a237e;
    width: 24px;
    text-align: center;
}

.metric-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-label {
    font-size: 0.9em;
    color: #78909c;
}

.metric-value {
    font-size: 1.1em;
    font-weight: 500;
    color: #37474f;
    word-break: break-word;
}

.weather-hourly-chart-container {
    width: 100%;
    margin: 0;
}

.weather-hourly-chart-container h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.2em;
    font-weight: 600;
}

.weather-hourly-chart-container canvas {
    width: 100% !important;
    height: 300px !important;
    background: #fff;
}

.current-conditions {
    width: 100%;
    margin-bottom: 25px;
}

.main-temp-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.current-temp {
    font-size: 4.5em;
    font-weight: 700;
    line-height: 1;
    color: #1a237e;
    margin-right: 24px;
}

.weather-overview {
    background: #ffffff;
    border-radius: 16px;
    margin-bottom: 0px;
}

.weather-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.location {
    font-size: 1.5em;
    font-weight: 600;
    color: #1a237e;
}

.current-date {
    color: #666;
    font-size: 1.1em;
}

.weather-main {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.temp-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.high-low {
    font-size: 1.4em;
    color: #37474f;
}

.separator {
    margin: 0 8px;
}

.weather-hourly {
    margin: 0;
    padding: 24px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.weather-hourly h3 {
    margin: 0 0 16px 0;
    color: #1a237e;
    font-size: 1.4em;
    font-weight: 600;
}

.weather-hourly-chart-container {
    position: relative;
    width: 100%;
    height: 300px;
    margin-top: 16px;
}

.weather-hourly-chart-container canvas {
    width: 100% !important;
    height: 100% !important;
    color: #90a4ae;
}
    

.conditions {
    font-size: 1.2em;
    color: #546e7a;
    text-transform: capitalize;
}

.feels-like {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feels-like-label {
    font-size: 0.9em;
    color: #666;
    text-transform: uppercase;
}

.feels-like-temp {
    font-size: 1.8em;
    font-weight: 500;
    color: #37474f;
}

.temp-range {
    display: flex;
    gap: 20px;
}

.temp-range-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.range-label {
    font-size: 0.9em;
    color: #666;
}

.high, .low {
    font-size: 1.2em;
    font-weight: 500;
}

.metric-box {
    background: #ffffff;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 80px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.metric-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.metric-icon {
    font-size: 1.1em;
    color: #4a90e2;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.weather-hourly-chart-container {
    margin: 0;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.weather-hourly-chart-container h3 {
    margin: 0 0 16px 0;
    color: #1a237e;
    font-size: 1.4em;
    font-weight: 600;
}



/* Extended forecast styling */
.extended-forecast {
    width: 100%;
    margin-top: 20px;
}

/* Stack all forecast days vertically in a single column */
.forecast-days {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.forecast-day {
    width: 100%;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 10px;
    box-sizing: border-box;
}

/* Make forecast days stack in a single column on mobile */
@media screen and (max-width: 767px) {
    .extended-forecast {
        width: 100%;
        overflow-x: hidden;
    }
    
    .forecast-days {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    .forecast-day {
        width: 100%;
        padding: 12px;
        display: grid;
        grid-template-columns: auto 1fr auto;
        text-align: left;
        align-items: center;
        gap: 12px;
        margin-bottom: 8px;
    }
    
    .day-name {
        margin-bottom: 0;
    }
    
    .day-icon {
        order: -1;
    }
    
    .day-conditions {
        grid-column: 1 / -1;
        text-align: left;
        margin-top: 8px;
    }
}

/* Ensure single column on small devices */
@media screen and (max-width: 480px) {
    .forecast-days {
        display: flex;
        flex-direction: column;
    }
}

.forecast-day {
    padding: 16px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.forecast-day:hover {
    transform: translateY(-2px);
}

.day-name {
    font-weight: 600;
    color: #1a237e;
    margin-bottom: 8px;
}

.day-icon {
    font-size: 1.5em;
    color: #4a90e2;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.day-temps {
    margin: 8px 0;
    font-size: 1.1em;
}

.day-conditions {
    color: #546e7a;
    font-size: 0.9em;
}

.metric-content {
    flex-grow: 1;
}

.metric-label {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 2px;
}

.metric-value {
    font-size: 1.1em;
    font-weight: 500;
    margin-top: 2px;
}

.high { color: #e74c3c; }
.low { color: #3498db; }

.conditions-main {
    font-size: 1.2em;
    color: #37474f;
    margin: 20px 0 0 0;
    line-height: 1.6;
    text-align: left;
    width: 100%;
    padding: 0;
    max-width: none;
}

.conditions-details {
    color: #666;
    font-size: 0.9em;
    width: 100%;
}

.wind-info i {
    margin-right: 5px;
    color: #7f8c8d;
}

/* Extended Forecast Styling */
.extended-forecast {
    background: #fff;
    padding: 0;
    margin: 20px 0 0 0;
    width: 100%;
}

.extended-forecast h3 {
    text-align: left;
    margin: 0;
    color: #37474f;
    font-size: 1.2em;
}

.forecast-days {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0;
    width: 100%;
    margin: 15px 0;
}

.forecast-day {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}



.forecast-day-header {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.forecast-day-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
}

.forecast-temps {
    font-size: 1.4em;
    margin: 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.forecast-high {
    color: #e74c3c;
    font-weight: bold;
}

.forecast-separator {
    color: #95a5a6;
    margin: 0 2px;
}

.forecast-low {
    color: #3498db;
}

.forecast-details {
    color: #666;
    font-size: 1em;
    line-height: 1.4;
    margin: 8px 0;
}

.forecast-wind {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-top: auto;
}
