/* Airwright CMS – module Weather and traffic. Colours of the template (--aw-…) with a fallback. */
.page.weather .mod-head { max-width: none; margin: 0 0 26px; text-align: left; }
.page.weather .mod-head h1 { font-size: clamp(32px, 5.5vw, 60px); font-weight: 800; letter-spacing: -.03em; }
.wx-page { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .wx-page { grid-template-columns: minmax(0, 1fr); } }
.wx-h { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--aw-accent, #ff3d6e); }
.wx-main .wx-h { margin-top: 30px; }
.wx-icon { display: block; }

/* the weather now */
.wx-now, .wx-block { --wx-a: #2f7fd6; --wx-b: #5cb6f2; --wx-fill: rgba(255, 255, 255, .22); color: #fff; background: linear-gradient(140deg, var(--wx-a), var(--wx-b)); border-radius: var(--aw-radius, 14px); }
.wx-is-clear { --wx-a: #f08a1c; --wx-b: #f7c33b; }
.wx-is-partly { --wx-a: #2f7fd6; --wx-b: #63bdf0; }
.wx-is-clear-night, .wx-is-partly-night { --wx-a: #1b2350; --wx-b: #3f4d9c; }
.wx-is-cloudy, .wx-is-fog { --wx-a: #55617a; --wx-b: #8a97ad; }
.wx-is-drizzle, .wx-is-rain { --wx-a: #2c4a73; --wx-b: #4f7fb0; }
.wx-is-snow { --wx-a: #5f7fa6; --wx-b: #9db9d6; }
.wx-is-thunder { --wx-a: #2a2550; --wx-b: #5a4a8c; }
.wx-now { padding: 28px; }
.wx-now-top { display: flex; align-items: center; gap: 22px; }
.wx-now-icon { flex: none; display: grid; place-items: center; }
.wx-now .wx-now-icon svg { width: 96px; height: 96px; }
.wx-place { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.wx-temp { margin: 2px 0; font-size: clamp(56px, 9vw, 84px); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.wx-text { margin: 0; font-size: 17px; opacity: .95; }
.wx-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 24px 0 0; }
.wx-facts div { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .16); }
.wx-facts dt { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.wx-facts dd { margin: 3px 0 0; font-size: 20px; font-weight: 800; white-space: nowrap; }
.wx-facts small { font-size: 12px; font-weight: 600; opacity: .85; }
@media (max-width: 620px) { .wx-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wx-now { padding: 20px; } .wx-now .wx-now-icon svg { width: 72px; height: 72px; } }

/* the coming days */
.wx-days { list-style: none; margin: 0; padding: 0; border: 1px solid var(--aw-line, rgba(128, 128, 128, .22)); border-radius: var(--aw-radius, 14px); background: var(--aw-surface, #151a26); overflow: hidden; }
.wx-days li { display: grid; grid-template-columns: minmax(90px, 1.1fr) 40px minmax(0, 1.4fr) minmax(0, 1.1fr) 56px 84px; align-items: center; gap: 12px; padding: 11px 18px; }
.wx-days li + li { border-top: 1px solid var(--aw-line, rgba(128, 128, 128, .22)); }
.wx-day-name { text-transform: capitalize; }
.wx-day-icon { color: var(--aw-accent, #ff3d6e); }
.wx-day-text, .wx-day-rain, .wx-day-wind { font-size: 14px; color: var(--aw-muted, #8a90a2); }
.wx-day-temp { text-align: right; font-size: 17px; white-space: nowrap; }
.wx-day-temp small { color: var(--aw-muted, #8a90a2); font-size: 14px; margin-left: 4px; }
@media (max-width: 620px) { .wx-days li { grid-template-columns: minmax(0, 1fr) 40px 84px; } .wx-day-text, .wx-day-rain, .wx-day-wind { display: none; } }
.wx-source { margin: 10px 0 0; font-size: 12px; color: var(--aw-muted, #8a90a2); }
.wx-source a { color: inherit; text-decoration: underline; }

/* the block */
.wx-block { padding: 18px; display: grid; gap: 14px; }
.wx-block .wx-block-now { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.wx-block .wx-now-icon svg { width: 52px; height: 52px; }
.wx-block-temp { font-size: 42px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.wx-block-text { display: grid; min-width: 0; }
.wx-block-text b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wx-block-text small { font-size: 13px; opacity: .92; }
.wx-block-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.wx-block-days li { display: grid; justify-items: center; gap: 2px; padding: 9px 4px; border-radius: 12px; background: rgba(255, 255, 255, .16); font-size: 14px; }
.wx-block-days small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.wx-block-days svg { width: 28px; height: 28px; }
.wx-block-days span { font-size: 12px; opacity: .8; }
.wx-block .wx-source { margin: 0; color: rgba(255, 255, 255, .8); font-size: 11px; }

/* traffic */
.tf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tf-item { --tf: #e0a100; display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border-radius: var(--aw-radius, 14px); background: var(--aw-surface, #151a26); border: 1px solid var(--aw-line, rgba(128, 128, 128, .22)); border-left: 4px solid var(--tf); }
.tf-closure, .tf-accident { --tf: #e5484d; }
.tf-works { --tf: #f76b15; }
.tf-transit { --tf: #3e8ef7; }
.tf-info { --tf: var(--aw-accent, #ff3d6e); }
.tf-tag { flex: none; min-width: 46px; padding: 4px 8px; border-radius: 7px; background: var(--tf); color: #fff; font-size: 12px; font-weight: 800; text-align: center; line-height: 1.3; }
.tf-jam .tf-tag { color: #1a1300; }
.tf-item > div { min-width: 0; display: grid; gap: 2px; }
.tf-item b { font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.tf-item a { color: var(--aw-text, inherit); text-decoration: none; }
.tf-item a:hover { color: var(--aw-accent, #ff3d6e); }
.tf-item p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--aw-muted, #8a90a2); }
.tf-item small { font-size: 12px; color: var(--aw-muted, #8a90a2); }
.tf-none { margin: 0; padding: 16px; border-radius: var(--aw-radius, 14px); border: 1px dashed var(--aw-line, rgba(128, 128, 128, .3)); color: var(--aw-muted, #8a90a2); font-size: 15px; }
.tf-none span { color: #2ecc8f; font-weight: 800; margin-right: 4px; }
.tf-block { display: grid; gap: 10px; }
.tf-more { font-size: 14px; font-weight: 700; color: var(--aw-accent, #ff3d6e); text-decoration: none; }

/* both, for the home page */
.wx-both-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.wx-both-head h2 { margin: 0; }
.wx-both-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 18px; align-items: start; }
@media (max-width: 800px) { .wx-both-grid { grid-template-columns: minmax(0, 1fr); } }
