.clima-folgueroles { width: 100%; max-width: 680px; margin: 18px auto; font-family: inherit; container-type: inline-size; }
.clima-folgueroles .clima-card { display: grid; grid-template-columns: minmax(210px, 38%) minmax(0, 1fr); min-height: 218px; overflow: hidden; border: 1px solid #dbe2e8; border-radius: 12px; background: #fff; color: #263238; box-shadow: 0 8px 24px rgba(24, 39, 51, .10); }
.clima-folgueroles .clima-card__visual { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 218px; padding: 18px; background-position: center; background-size: cover; isolation: isolate; }
.clima-folgueroles .clima-card__visual::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(8,24,38,.22), rgba(8,24,38,.05) 40%, rgba(8,24,38,.58)); content: ''; }
.clima-folgueroles .clima-card__place, .clima-folgueroles .clima-card__temperature { color: #fff; text-shadow: 0 1px 5px rgba(0,0,0,.35); }
.clima-folgueroles .clima-card__place { font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.clima-folgueroles .clima-card__temperature { font-size: clamp(42px, 6vw, 62px); font-weight: 700; letter-spacing: -.04em; line-height: .9; }
.clima-folgueroles .clima-card__body { display: flex; flex-direction: column; gap: 14px; justify-content: center; padding: 20px 22px 16px; }
.clima-folgueroles .clima-card__heading { display: flex; align-items: flex-start; gap: 10px; justify-content: space-between; }
.clima-folgueroles .clima-card__eyebrow { display: block; margin-bottom: 3px; color: #607d8b; font-size: 11px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.clima-folgueroles .clima-card h3 { margin: 0; color: #263238; font-size: 22px; font-weight: 650; line-height: 1.2; text-transform: lowercase; }
.clima-folgueroles .clima-card__stale { flex: 0 0 auto; padding: 3px 6px; border-radius: 4px; background: #fff3cd; color: #664d03; font-size: 10px; font-weight: 700; }
.clima-folgueroles .clima-card__metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 14px; }
.clima-folgueroles .clima-metric { display: flex; align-items: center; gap: 8px; min-width: 0; }
.clima-folgueroles .clima-metric__icon { display: inline-grid; flex: 0 0 auto; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: #eaf4f8; color: #16769b; font-size: 14px; font-weight: 700; }
.clima-folgueroles .clima-metric small, .clima-folgueroles .clima-metric strong { display: block; overflow: hidden; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.clima-folgueroles .clima-metric small { color: #78909c; font-size: 10px; text-transform: uppercase; }
.clima-folgueroles .clima-metric strong { color: #37474f; font-size: 13px; font-weight: 650; }
.clima-folgueroles .clima-card__footer { display: flex; flex-wrap: wrap; gap: 3px 8px; padding-top: 10px; border-top: 1px solid #edf1f3; color: #78909c; font-size: 10px; line-height: 1.35; }
.clima-folgueroles .clima-card__footer span { flex-basis: 100%; }
.clima-folgueroles .clima-card__footer a { color: #376f87; font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
.clima-folgueroles .clima-loading, .clima-folgueroles .clima-error { display: flex; align-items: center; gap: 9px; justify-content: center; min-height: 90px; padding: 16px; border: 1px solid #dbe2e8; border-radius: 10px; background: #fff; color: #546e7a; }
.clima-folgueroles .clima-loading span { width: 16px; height: 16px; border: 2px solid #cfd8dc; border-top-color: #16769b; border-radius: 50%; animation: clima-spin .8s linear infinite; }
.clima-folgueroles .clima-error { flex-direction: column; gap: 2px; }
.clima-folgueroles .clima-error span { font-size: 13px; }
@keyframes clima-spin { to { transform: rotate(360deg); } }
@media (max-width: 560px) { .clima-folgueroles .clima-card { grid-template-columns: 1fr; } .clima-folgueroles .clima-card__visual { min-height: 145px; } .clima-folgueroles .clima-card__body { padding: 17px; } }
@media (max-width: 360px) { .clima-folgueroles .clima-card__metrics { grid-template-columns: 1fr; } }
@container (max-width: 560px) { .clima-folgueroles .clima-card { grid-template-columns: 1fr; } .clima-folgueroles .clima-card__visual { min-height: 145px; } .clima-folgueroles .clima-card__body { padding: 17px; } }
@container (max-width: 360px) { .clima-folgueroles .clima-card__metrics { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .clima-folgueroles .clima-loading span { animation: none; } }
