/* Elko Local Weather */
.ewx-alert {
	background: #F8E9E5; border-left: 5px solid #9C2F1E; color: #6E2115;
	padding: .85rem 1.15rem; border-radius: 8px; margin-bottom: .9rem; font-size: .95rem;
}
.ewx-hero {
	color: #fff; padding: 2rem 1.6rem 1.7rem; border-radius: 16px; margin-bottom: 1.1rem;
	background: radial-gradient(ellipse 55% 45% at 50% 0%, rgba(232,119,34,.28), transparent 70%), linear-gradient(165deg, #2A3D66 0%, #1B2A4A 45%, #14213C 100%);
	box-shadow: 0 2px 4px rgba(20,33,60,.07), 0 8px 20px rgba(20,33,60,.10);
	text-align: center;
}
.ewx-place { display: block; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; color: #F2B04A; margin-bottom: .2rem; }
.ewx-temp { display: block; font-family: "Bitter", Georgia, serif; font-weight: 800; font-size: 4.2rem; line-height: 1; }
.ewx-cond { display: block; font-size: 1.15rem; color: #DFE4EF; margin-top: .3rem; }
.ewx-meta { display: block; font-size: .85rem; color: #9BA6C0; margin-top: .3rem; }
.ewx-detail { max-width: 64ch; margin: .9rem auto 0; color: #DFE4EF; font-size: .92rem; line-height: 1.6; }
.ewx-days {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: .7rem;
}
.ewx-day {
	background: #fff; border: 1px solid #E2DACA; border-radius: 12px; padding: .8rem .6rem .7rem;
	text-align: center; box-shadow: 0 1px 2px rgba(20,33,60,.06);
	display: flex; flex-direction: column; gap: .15rem; align-items: center;
	transition: transform .13s ease, box-shadow .13s ease;
}
.ewx-day:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(20,33,60,.11); }
.ewx-day-name { font-weight: 800; color: #1B2A4A; font-size: .82rem; }
.ewx-day-icon { font-size: 1.9rem; line-height: 1.2; }
.ewx-day-temps b { color: #C2600F; font-size: 1.05rem; font-family: "Bitter", Georgia, serif; }
.ewx-day-temps i { color: #8A90A0; font-style: normal; margin-left: .35rem; }
.ewx-day-pop { font-size: .74rem; color: #2A5D8F; font-weight: 700; }
.ewx-day-text { font-size: .72rem; color: #5A6274; line-height: 1.35; }
.ewx-credit { margin-top: 1.1rem; text-align: center; font-size: .78rem; color: #8A90A0; font-style: italic; }
.ewx-empty { background: #fff; border: 1px dashed #CFC5AC; border-radius: 12px; padding: 1.2rem 1.4rem; }
@media (max-width: 640px) { .ewx-days { grid-template-columns: repeat(3, 1fr); } .ewx-temp { font-size: 3.4rem; } }

/* Town picker */
.ewx-towns { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin-bottom: 1rem; }
.ewx-town-chip {
	display: inline-block; padding: .32rem .85rem; border-radius: 999px; text-decoration: none;
	background: #fff; border: 2px solid #1B2A4A; color: #1B2A4A; font-size: .8rem; font-weight: 700;
	transition: background .14s, color .14s, transform .12s;
}
.ewx-town-chip:hover { background: #F6EFE1; transform: translateY(-1px); }
.ewx-town-chip.is-on { background: #1B2A4A; color: #fff; }

/* Mini strip (homepage) */
.ewx-mini {
	display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap;
	background: linear-gradient(170deg, #2A3D66, #1B2A4A); border-radius: 14px;
	padding: .75rem 1.2rem; margin: 1.1rem 0;
	box-shadow: 0 2px 4px rgba(20,33,60,.07), 0 6px 16px rgba(20,33,60,.12);
}
.ewx-mini-now { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.ewx-mini-icon { font-size: 1.9rem; }
.ewx-mini-main b { display: block; font-family: "Bitter", Georgia, serif; font-size: 1.5rem; color: #fff; line-height: 1.05; }
.ewx-mini-main i { font-style: normal; font-size: .72rem; color: #9BA6C0; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.ewx-mini-days { display: flex; gap: 1rem; flex: 1; justify-content: center; flex-wrap: wrap; }
.ewx-mini-day { display: flex; flex-direction: column; align-items: center; line-height: 1.25; }
.ewx-mini-day i { font-style: normal; font-size: .68rem; font-weight: 800; color: #9BA6C0; text-transform: uppercase; }
.ewx-mini-day em { font-style: normal; font-size: 1.05rem; }
.ewx-mini-day b { font-size: .8rem; color: #F2B04A; }
.ewx-mini-day u { text-decoration: none; font-size: .7rem; color: #9BA6C0; }
.ewx-mini-link {
	font-size: .8rem; font-weight: 800; color: #F2B04A !important; text-decoration: none; white-space: nowrap;
	border: 2px solid rgba(242,176,74,.5); border-radius: 999px; padding: .3rem .9rem; transition: background .15s, color .15s;
}
.ewx-mini-link:hover { background: #F2B04A; color: #14213C !important; }
@media (max-width: 560px) { .ewx-mini { justify-content: center; text-align: center; } }
