.tiempo-w {
--tiempo-radius: 22px;
--tiempo-gap: 16px;
--tiempo-pad: 20px;
--tiempo-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
display: block;
width: 100%;
max-width: 100%;
margin: 0 0 1.5em;
padding: 0;
border: 0;
font-family: var(--tiempo-font);
font-size: 15px;
line-height: 1.35;
text-align: left;
color: #0f172a;
-webkit-font-smoothing: antialiased;
box-sizing: border-box; contain: inline-size;
} .wp-block-tiempo-forecast.alignleft,
.wp-block-tiempo-forecast.alignright,
.wp-block-tiempo-forecast.aligncenter {
width: 340px;
max-width: 100%;
}
.wp-block-tiempo-forecast.aligncenter {
margin-left: auto;
margin-right: auto;
}
.tiempo-w *,
.tiempo-w *::before,
.tiempo-w *::after {
box-sizing: border-box;
}
.tiempo-w.tiempo-w--tight { max-width: 360px !important;
margin-left: auto !important;
margin-right: auto !important;
}
.tiempo-w img {
display: block;
max-width: none;
margin: 0;
padding: 0;
border: 0;
border-radius: 0;
box-shadow: none;
background: none;
}
.tiempo-w a,
.tiempo-w a:hover,
.tiempo-w a:focus {
color: inherit;
text-decoration: none;
box-shadow: none;
border: 0;
}
.tiempo-w p {
margin: 0;
} .tiempo-w__card {
--tiempo-bg: linear-gradient(160deg, #2f6fde 0%, #5aa2f0 100%);
--tiempo-fg: #ffffff;
position: relative;
overflow: hidden;
isolation: isolate;
display: flex;
flex-direction: column;
gap: var(--tiempo-gap);
padding: var(--tiempo-pad);
border-radius: var(--tiempo-radius);
background: var(--tiempo-bg);
color: var(--tiempo-fg);
box-shadow: 0 1px 2px rgba(15, 23, 42, .08), 0 12px 32px -12px rgba(15, 23, 42, .35);
} .tiempo-w__card::before,
.tiempo-w__card::after {
content: "";
position: absolute;
z-index: -1;
border-radius: 50%;
pointer-events: none;
}
.tiempo-w__card::before {
width: 260px;
height: 260px;
top: -120px;
right: -90px;
background: radial-gradient(closest-side, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0));
}
.tiempo-w__card::after {
width: 220px;
height: 220px;
bottom: -120px;
left: -80px;
background: radial-gradient(closest-side, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0));
} .tiempo-w__card--frost { --tiempo-bg: linear-gradient(160deg, #4a6fd6 0%, #8db4f6 100%); }
.tiempo-w__card--cool  { --tiempo-bg: linear-gradient(160deg, #2563d6 0%, #4fa3ee 100%); }
.tiempo-w__card--mild  { --tiempo-bg: linear-gradient(160deg, #0f7fc4 0%, #2bb9a9 100%); }
.tiempo-w__card--warm  { --tiempo-bg: linear-gradient(160deg, #e0632f 0%, #eea53a 100%); }
.tiempo-w__card--hot   { --tiempo-bg: linear-gradient(160deg, #d63c4a 0%, #ec8a3c 100%); }
.tiempo-w__card--rain  { --tiempo-bg: linear-gradient(160deg, #3b4a6b 0%, #6d84ab 100%); }
.tiempo-w__card--light {
--tiempo-glass: rgba(15, 23, 42, .045);
--tiempo-line: rgba(15, 23, 42, .1);
box-shadow: 0 0 0 1px rgba(15, 23, 42, .08), 0 12px 32px -16px rgba(15, 23, 42, .25);
}
.tiempo-w__card--light::before {
background: radial-gradient(closest-side, rgba(79, 163, 238, .18), rgba(79, 163, 238, 0));
}
.tiempo-w__card--light::after,
.tiempo-w__card--dark::after {
display: none;
}
.tiempo-w__card--dark::before {
background: radial-gradient(closest-side, rgba(99, 102, 241, .35), rgba(99, 102, 241, 0));
}
.tiempo-w__card--custom::before {
background: radial-gradient(closest-side, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0));
}
.tiempo-w__card {
--tiempo-glass: rgba(255, 255, 255, .14);
--tiempo-line: rgba(255, 255, 255, .22);
}
.tiempo-w__card--light {
--tiempo-glass: rgba(15, 23, 42, .045);
--tiempo-line: rgba(15, 23, 42, .1);
} .tiempo-w .tiempo-w__card--light img {
filter: brightness(.55);
} .tiempo-w__head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
min-width: 0;
}
.tiempo-w .tiempo-w__place {
display: inline-flex;
align-items: center;
gap: 6px;
min-width: 0;
font-size: 15px;
font-weight: 600;
letter-spacing: .01em;
}
.tiempo-w .tiempo-w__place:hover .tiempo-w__title,
.tiempo-w .tiempo-w__place:focus-visible .tiempo-w__title {
text-decoration: underline;
text-underline-offset: 3px;
}
.tiempo-w .tiempo-w__place:focus-visible {
outline: 2px solid currentColor;
outline-offset: 3px;
border-radius: 6px;
}
.tiempo-w__title {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.tiempo-w__date {
flex: none;
font-size: 13px;
opacity: .78;
white-space: nowrap;
} .tiempo-w__svg {
display: inline-flex;
flex: none;
width: 18px;
height: 18px;
}
.tiempo-w__svg svg {
width: 100%;
height: 100%;
fill: none;
stroke: currentColor;
stroke-width: 1.8;
stroke-linecap: round;
stroke-linejoin: round;
}
.tiempo-w__pin {
width: 16px;
height: 16px;
} .tiempo-w__hero {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.tiempo-w__now {
min-width: 0;
}
.tiempo-w__temp {
display: flex;
align-items: flex-start;
font-size: 64px;
font-weight: 300;
line-height: 1;
letter-spacing: -.04em;
}
.tiempo-w__deg {
margin: 6px 0 0 4px;
font-size: 20px;
font-weight: 500;
letter-spacing: 0;
opacity: .85;
}
.tiempo-w__desc {
margin-top: 8px;
font-size: 16px;
font-weight: 500;
}
.tiempo-w__hilo {
display: flex;
gap: 12px;
margin-top: 4px;
font-size: 14px;
opacity: .82;
font-variant-numeric: tabular-nums;
}
.tiempo-w .tiempo-w__icon {
flex: none;
width: 96px;
height: 96px;
object-fit: contain;
filter: drop-shadow(0 8px 16px rgba(15, 23, 42, .18));
animation: tiempo-float 6s ease-in-out infinite;
}
@keyframes tiempo-float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-5px); }
} .tiempo-w__stats {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
}
.tiempo-w__stat {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 6px;
padding: 10px 12px;
border-radius: 14px;
background: var(--tiempo-glass);
-webkit-backdrop-filter: blur(8px);
backdrop-filter: blur(8px);
}
.tiempo-w__stat .tiempo-w__svg {
opacity: .85;
}
.tiempo-w__stat-text {
display: flex;
flex-direction: column;
min-width: 0;
}
.tiempo-w__stat-value {
font-size: 15px;
font-weight: 600;
white-space: nowrap;
font-variant-numeric: tabular-nums;
}
.tiempo-w__stat-label {
font-size: 12px;
opacity: .75;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} .tiempo-w__sun {
padding: 12px 14px 10px;
border-radius: 16px;
background: var(--tiempo-glass);
}
.tiempo-w__arc {
height: 46px;
margin: 0 6px 6px;
}
.tiempo-w__arc svg {
display: block;
width: 100%;
height: 100%;
overflow: visible;
}
.tiempo-w__arc-track {
fill: none;
stroke: currentColor;
stroke-width: 1.5;
stroke-dasharray: 3 5;
opacity: .6;
vector-effect: non-scaling-stroke;
}
.tiempo-w__arc-horizon {
stroke: currentColor;
stroke-width: 1;
opacity: .25;
vector-effect: non-scaling-stroke;
}
.tiempo-w__arc-sun {
fill: #ffd54a;
stroke: rgba(255, 213, 74, .35);
stroke-width: 8;
vector-effect: non-scaling-stroke;
}
.tiempo-w__sun-row {
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: end;
gap: 8px;
}
.tiempo-w__sun-item {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 2px;
min-width: 0;
}
.tiempo-w__sun-item .tiempo-w__svg {
width: 16px;
height: 16px;
opacity: .8;
}
.tiempo-w__sun-item--mid {
align-items: center;
text-align: center;
}
.tiempo-w__sun-item--end {
align-items: flex-end;
text-align: right;
}
.tiempo-w__sun-time {
font-size: 15px;
font-weight: 600;
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
.tiempo-w__sun-label {
font-size: 12px;
opacity: .75;
white-space: nowrap;
} .tiempo-w__days {
display: flex;
flex-direction: column;
padding: 4px 14px;
border-radius: 16px;
background: var(--tiempo-glass);
}
.tiempo-w__day {
display: grid;
grid-template-columns: 3.4em 32px 2.6em minmax(40px, 1fr) 2.6em;
align-items: center;
gap: 10px;
padding: 8px 0;
font-variant-numeric: tabular-nums;
}
.tiempo-w__day + .tiempo-w__day {
border-top: 1px solid var(--tiempo-line);
}
.tiempo-w__day-name {
font-weight: 600;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.tiempo-w .tiempo-w__day-icon {
width: 32px;
height: 32px;
object-fit: contain;
}
.tiempo-w__day-min {
text-align: right;
opacity: .72;
}
.tiempo-w__day-max {
font-weight: 600;
}
.tiempo-w__bar {
position: relative;
display: block;
height: 6px;
border-radius: 3px;
background: var(--tiempo-line);
overflow: hidden;
}
.tiempo-w__bar-fill {
position: absolute;
top: 0;
bottom: 0;
border-radius: 3px;
background-image: linear-gradient(90deg, #7cc4ff 0%, #a8e6cf 35%, #ffd76a 65%, #ff8a65 100%);
background-repeat: no-repeat;
} .tiempo-w__credit {
margin-top: 8px;
font-size: 12px;
text-align: center;
color: inherit;
opacity: .6;
}
.tiempo-w .tiempo-w__credit a {
font-weight: 600;
text-decoration: underline;
text-underline-offset: 2px;
} .tiempo-w__card--loading {
min-height: 260px;
--tiempo-bg: linear-gradient(160deg, #dbe6f6 0%, #eef3fb 100%);
box-shadow: none;
}
.tiempo-w__card--loading::before,
.tiempo-w__card--loading::after {
display: none;
}
.tiempo-w__skeleton {
border-radius: 10px;
background: linear-gradient(90deg, rgba(255, 255, 255, .45) 0%, rgba(255, 255, 255, .9) 50%, rgba(255, 255, 255, .45) 100%);
background-size: 200% 100%;
animation: tiempo-shimmer 1.4s linear infinite;
}
.tiempo-w__skeleton--title { height: 18px; width: 55%; }
.tiempo-w__skeleton--hero  { height: 96px; }
.tiempo-w__skeleton--row   { height: 64px; }
@keyframes tiempo-shimmer {
from { background-position: 200% 0; }
to { background-position: -200% 0; }
}
.tiempo-w__noscript {
font-weight: 600;
color: #0f172a;
}
.tiempo-w__card--error {
--tiempo-bg: #f1f5f9;
--tiempo-fg: #0f172a;
align-items: flex-start;
box-shadow: 0 0 0 1px rgba(15, 23, 42, .08);
}
.tiempo-w__card--error::before,
.tiempo-w__card--error::after {
display: none;
}
.tiempo-w .tiempo-w__retry {
margin: 0;
padding: 8px 14px;
border: 0;
border-radius: 999px;
background: #0f172a;
color: #ffffff;
font: 600 13px/1 var(--tiempo-font);
cursor: pointer;
}
.tiempo-w__card--in {
animation: tiempo-in .45s ease-out both;
}
@keyframes tiempo-in {
from { opacity: 0; transform: translateY(6px); }
to { opacity: 1; transform: none; }
}  .tiempo-w--sm {
--tiempo-pad: 16px;
--tiempo-gap: 12px;
}
.tiempo-w--sm .tiempo-w__date,
.tiempo-w--sm .tiempo-w__sun-item--mid {
display: none;
}
.tiempo-w--sm .tiempo-w__sun-row {
grid-template-columns: 1fr 1fr;
}
.tiempo-w--sm .tiempo-w__stats {
gap: 6px;
}
.tiempo-w--sm .tiempo-w__stat {
padding: 9px 10px;
}
.tiempo-w--sm .tiempo-w__stat-label {
font-size: 11px;
}
.tiempo-w--sm .tiempo-w__day {
grid-template-columns: 2.8em 30px 2.4em minmax(30px, 1fr) 2.4em;
gap: 8px;
} .tiempo-w--xs {
--tiempo-pad: 14px;
--tiempo-gap: 12px;
}
.tiempo-w--xs .tiempo-w__date {
display: none;
}
.tiempo-w--xs .tiempo-w__temp {
font-size: 48px;
}
.tiempo-w--xs .tiempo-w__icon {
width: 64px;
height: 64px;
}
.tiempo-w--xs .tiempo-w__stats {
grid-template-columns: 1fr;
}
.tiempo-w--xs .tiempo-w__stat {
flex-direction: row;
align-items: center;
padding: 8px 10px;
}
.tiempo-w--xs .tiempo-w__stat-text {
flex-direction: row-reverse;
justify-content: space-between;
flex: 1;
gap: 6px;
}
.tiempo-w--xs .tiempo-w__sun-item--mid {
display: none;
}
.tiempo-w--xs .tiempo-w__sun-row {
grid-template-columns: 1fr 1fr;
}
.tiempo-w--xs .tiempo-w__days {
padding: 2px 10px;
}
.tiempo-w--xs .tiempo-w__day {
grid-template-columns: 1fr 28px 2.4em 2.4em;
gap: 6px;
}
.tiempo-w--xs .tiempo-w__bar {
display: none;
}
.tiempo-w--xs .tiempo-w__day-icon {
width: 28px;
height: 28px;
} .tiempo-w--lg {
--tiempo-pad: 28px;
--tiempo-gap: 18px;
}
.tiempo-w--lg .tiempo-w__card {
display: grid;
grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
column-gap: 28px;
align-items: start;
}
.tiempo-w--lg .tiempo-w__head,
.tiempo-w--lg .tiempo-w__days {
grid-column: 1 / -1;
}
.tiempo-w--lg .tiempo-w__hero {
grid-column: 1;
grid-row: 2 / span 2;
align-self: center;
}
.tiempo-w--lg .tiempo-w__stats,
.tiempo-w--lg .tiempo-w__sun {
grid-column: 2;
}
.tiempo-w--lg .tiempo-w__temp {
font-size: 88px;
}
.tiempo-w--lg .tiempo-w__icon {
width: 128px;
height: 128px;
}
.tiempo-w--lg .tiempo-w__days {
flex-direction: row;
padding: 6px;
}
.tiempo-w--lg .tiempo-w__day {
flex: 1 1 0;
grid-template-columns: 1fr;
justify-items: center;
gap: 6px;
padding: 12px 4px;
text-align: center;
}
.tiempo-w--lg .tiempo-w__day + .tiempo-w__day {
border-top: 0;
border-left: 1px solid var(--tiempo-line);
}
.tiempo-w--lg .tiempo-w__day-min {
order: 5;
text-align: center;
}
.tiempo-w--lg .tiempo-w__day-max {
order: 3;
}
.tiempo-w--lg .tiempo-w__bar {
order: 4;
width: 70%;
}
.tiempo-w--lg .tiempo-w__day-icon {
width: 40px;
height: 40px;
} .tiempo-w--lg .tiempo-w__card:not(:has(.tiempo-w__stats)):not(:has(.tiempo-w__sun)) {
grid-template-columns: 1fr;
} @media (prefers-reduced-motion: reduce) {
.tiempo-w .tiempo-w__icon,
.tiempo-w__skeleton,
.tiempo-w__card--in {
animation: none;
}
}
@media print {
.tiempo-w__card {
box-shadow: none;
border: 1px solid #cbd5e1;
}
}