/* Crondall Weather hubs: design system v1.2 tokens */
.cw-tabs,.cw-select,.cw-vgrid{--navy:#0D283D;--blue7:#1F5A8C;--sky:#5CA5C5;--sky100:#E3F0F7;--sun:#F4C93D;--ink:#22313F;--muted:#586877;--surface:#F3F7FA;--border:#D3DEE7;--r:12px;--fh:'Montserrat',system-ui,sans-serif;--fb:'Source Sans 3',system-ui,sans-serif;font-family:var(--fb);color:var(--ink)}
.cw-tablist{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px;padding:0}
.cw-tablist button{font:700 14px/1.1 var(--fh);min-height:46px;padding:0 20px;border-radius:99px;border:1px solid var(--border);background:#fff;color:var(--navy);cursor:pointer}
.cw-tablist button:hover{border-color:var(--sky);background:var(--sky100)}
.cw-tablist button[aria-selected=true]{background:var(--navy);color:#fff;border-color:var(--navy)}
.cw-tabs :focus-visible,.cw-select :focus-visible,.cw-vgrid :focus-visible{outline:3px solid var(--sun);outline-offset:2px}
.cw-panel[hidden]{display:none}
.cw-panel{min-width:0}
.cw-panel img,.cw-panel iframe{max-width:100%}
.cw-panel h3{font:800 20px/1.25 var(--fh);color:var(--navy);margin:28px 0 10px}
.cw-panel h3:first-child{margin-top:0}
.cw-selbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 14px;padding:12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r)}
.cw-selbar label{font:800 12px/1 var(--fh);letter-spacing:.1em;text-transform:uppercase;color:var(--blue7)}
.cw-selbar select{font:600 16px var(--fb);min-height:46px;border:1px solid var(--border);border-radius:10px;padding:0 12px;background:#fff;color:var(--navy);min-width:240px;max-width:100%}
.cw-embed{position:relative;width:100%;min-height:var(--cw-h,600px);background:var(--surface);border:1px solid var(--border);border-radius:var(--r);overflow:hidden}
.cw-embed iframe{display:block;width:100%;height:var(--cw-h,600px);border:0;background:#fff;max-width:100%}
.cw-embed{overflow:auto}
.cw-embed-load{margin:0;padding:24px;color:var(--muted)}
.cw-embed.is-loaded{background:#fff;min-height:0}
@media(max-width:700px){.cw-tablist button{flex:1 1 auto;padding:0 14px}.cw-selbar select{min-width:0;width:100%}}
/* videos */
.cw-vgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;align-items:start}
.cw-video{margin:0;border:1px solid var(--border);border-radius:var(--r);overflow:hidden;background:#fff;box-shadow:0 1px 2px rgba(13,40,61,.06)}
.cw-vplay{position:relative;display:block;width:100%;aspect-ratio:16/9;padding:0;border:0;background:#000;cursor:pointer;overflow:hidden}
.cw-vplay img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.92;transition:opacity .2s,transform .3s}
.cw-vplay:hover img{opacity:1;transform:scale(1.03)}
.cw-vbtn{position:absolute;left:50%;top:50%;width:68px;height:68px;margin:-34px 0 0 -34px;border-radius:50%;background:var(--sun);box-shadow:0 4px 18px rgba(0,0,0,.35)}
.cw-vbtn:after{content:"";position:absolute;left:27px;top:20px;border-left:22px solid var(--navy);border-top:14px solid transparent;border-bottom:14px solid transparent}
.cw-vlive{position:absolute;left:10px;top:10px;background:#B3261E;color:#fff;font:800 11px/1 var(--fh);letter-spacing:.08em;text-transform:uppercase;padding:6px 9px;border-radius:99px}
.cw-vplay iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.cw-video figcaption{padding:14px 16px 16px}
.cw-video figcaption b{display:block;font:800 16px/1.3 var(--fh);color:var(--navy)}
.cw-video figcaption span{display:block;font-size:14px;color:var(--muted);margin-top:3px}
.cw-video figcaption p{margin:8px 0 0;font-size:15.5px}
@media(max-width:960px){.cw-vgrid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.cw-vgrid{grid-template-columns:1fr}}
/* page furniture used by the combined pages */
.cw-h1{font:800 clamp(2rem,1.2rem + 3vw,3rem)/1.1 var(--fh,'Montserrat',system-ui,sans-serif);color:#0D283D;margin:0 0 10px;letter-spacing:-.01em}
.cw-lede{font:400 18px/1.55 'Source Sans 3',system-ui,sans-serif;color:#586877;max-width:70ch;margin:0 0 22px}
.cw-note{background:#F3F7FA;border:1px solid #D3DEE7;border-radius:12px;padding:14px 18px;font-size:15.5px;color:#586877;margin-top:28px}
.cw-cardlinks{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:12px 0 22px}
.cw-cardlinks a{display:block;border:1px solid #D3DEE7;border-radius:12px;padding:16px 18px;text-decoration:none;color:#22313F;background:#fff;font-size:15.5px}
.cw-cardlinks a:hover{border-color:#5CA5C5;background:#E3F0F7}
.cw-cardlinks b{display:block;font:800 16px/1.3 'Montserrat',system-ui,sans-serif;color:#0D283D;margin-bottom:4px}
@media(max-width:800px){.cw-cardlinks{grid-template-columns:1fr}}

/* full width hub pages */
body.cw-hub #sidebar{display:none!important}
body.cw-hub #content,body.cw-hub .post-content{width:100%!important;max-width:100%!important;float:none!important;margin-left:0!important;margin-right:0!important}
body.cw-hub .fusion-meta-info,body.cw-hub .fusion-reading-box-container,body.cw-hub .fusion-post-content .fusion-meta-info-wrapper{display:none}

.cw-video .cw-vmore{margin-top:10px;border-top:1px solid var(--border);padding-top:8px}
.cw-video .cw-vmore summary{cursor:pointer;font:700 13px var(--fh);color:var(--blue7);min-height:36px;display:flex;align-items:center}
.cw-video .cw-vmore p{margin:.6em 0;font-size:14.5px;line-height:1.55}
.cw-video .cw-vmore .cw-vby{font-size:12.5px;color:var(--muted)}
