
.weathercast-panel,
.weathercast-alerts,
.weathercast-forecast-grid,
.weathercast-current-main,
.weathercast-current-grid {
    display: grid;
    gap: 1rem;
}

.weathercast-panel {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
    gap: 1.5rem;
}

.weathercast-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 1.25rem;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.weathercast-alert-card {
    border-left: 6px solid #ef4444;
}

.weathercast-alert-clear {
    border-left-color: #22c55e;
}

.weathercast-current-card {
    background: linear-gradient(135deg, #07111f 0%, #10284b 45%, #1e6fd9 100%);
    color: #ffffff;
}

.weathercast-current-card .weathercast-current-grid div,
.weathercast-current-card .weathercast-condition,
.weathercast-current-card .weathercast-eyebrow {
    color: #e5eef8;
}

.weathercast-current-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.weathercast-current-main h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    margin: 0;
}

.weathercast-current-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.weathercast-current-grid span,
.weathercast-meta,
.weathercast-eyebrow {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.35rem;
}

.weathercast-current-grid strong {
    font-size: 1rem;
}

.weathercast-forecast-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.weathercast-radar-card iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
    border-radius: 16px;
}

.weathercast-panel h1,
.weathercast-alert-card h3,
.weathercast-forecast-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.weathercast-lead {
    font-size: 1.1rem;
    max-width: 60ch;
}

.weathercast-error {
    border-left: 6px solid #ef4444;
}

@media (max-width: 900px) {
    .weathercast-panel,
    .weathercast-current-main {
        grid-template-columns: 1fr;
    }
}
