/* General Body Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Page container to constrain width on larger screens */
.page-container {
    max-width: 480px; /* A bit wider for modern phones, but still constrained */
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* Site Header */
.site-header {
    text-align: center;
}

.site-header .site-banner {
    width: 100%;
    height: auto;
    display: block;
}

/* Main Content Area */
.weather-forecast {
    padding: 1rem;
}

.weather-forecast h1 {
    font-size: 1.4rem;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0.25rem;
    color: #1c1e21;
}

.weather-forecast .subtitle {
    font-size: 1rem;
    text-align: center;
    color: #606770;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.hero-banner-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.hero-banner {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Forecast List */
.forecast-list {
    margin: 0;
    padding: 0;
}

.forecast-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ebee;
}

.forecast-item:last-child {
    border-bottom: none;
}

.forecast-day-index {
    font-size: 0.9rem;
    color: #606770;
    width: 2rem;
    text-align: center;
    flex-shrink: 0;
}

.forecast-icon {
    flex-shrink: 0;
}

.forecast-icon img {
    width: 55px;
    height: auto;
    margin: 0 0.5rem;
    display: block;
}

.forecast-details {
    flex-grow: 1;
    margin-right: 0.5rem;
}

.forecast-details p {
    margin: 0;
}

.forecast-details .forecast-day {
    font-weight: bold;
    font-size: 1rem;
}

.forecast-details .forecast-description {
    font-size: 0.9rem;
    color: #606770;
}

.forecast-temp {
    text-align: right;
    font-size: 1rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.forecast-temp p {
    margin: 0.1rem 0;
}

.forecast-temp .temp-low {
    color: #606770;
}

.forecast-link {
    margin-left: 0.75rem;
    flex-shrink: 0;
}

.forecast-link img {
    width: 24px;
    height: 25px;
    display: block;
}

/* Page Footer */
.page-footer {
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 0.9rem;
    color: #606770;
    background-color: #f0f2f5;
    line-height: 1.4;
}