/* Weerstation Medemblik CMS 0.1.16 – Weernieuws */
.wsm-news-ticker{background:linear-gradient(90deg,#edf8fc 0%,#f8fcfe 48%,#eef8fb 100%);border-bottom:1px solid rgba(8,78,113,.14);overflow:hidden}
.wsm-news-ticker-inner{display:flex;align-items:center;min-height:66px;gap:0}
.wsm-news-ticker-label{align-self:stretch;display:flex;align-items:center;flex:0 0 auto;padding:0 22px 0 0;color:#06324a;text-decoration:none;white-space:nowrap;position:relative;z-index:2;background:linear-gradient(90deg,#edf8fc 0%,#edf8fc 75%,rgba(237,248,252,0) 100%)}
.wsm-news-ticker-label strong{font-size:1rem;letter-spacing:.01em}
.wsm-news-ticker-window{overflow:hidden;min-width:0;flex:1;mask-image:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 24px),transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 24px),transparent)}
.wsm-news-ticker-track{display:flex;align-items:center;width:max-content;gap:14px;animation:wsm-news-scroll 44s linear infinite;padding:8px 18px}
.wsm-news-ticker-track:hover{animation-play-state:paused}
.wsm-news-ticker-track.is-static{animation:none}
.wsm-news-ticker-item{display:flex;align-items:center;gap:10px;min-width:max-content;max-width:440px;padding:6px 12px 6px 6px;border:1px solid rgba(8,89,132,.12);background:rgba(255,255,255,.88);border-radius:12px;color:#092b3e;text-decoration:none;box-shadow:0 3px 12px rgba(5,51,76,.05);font-weight:750}
.wsm-news-ticker-item:hover{border-color:rgba(21,160,213,.38);transform:translateY(-1px)}
.wsm-news-ticker-item img,.wsm-news-ticker-placeholder{width:46px;height:38px;flex:0 0 46px;border-radius:8px;object-fit:cover;display:grid;place-items:center;background:linear-gradient(135deg,#0d6d9a,#22b5c8);color:#fff}
.wsm-news-ticker-item span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:340px;font-size:.92rem}
@keyframes wsm-news-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
html[data-theme="dark"] .wsm-news-ticker{background:#071e2c;border-bottom-color:rgba(122,210,239,.12)}
html[data-theme="dark"] .wsm-news-ticker-label{color:#eaf8ff;background:linear-gradient(90deg,#071e2c 0%,#071e2c 76%,rgba(7,30,44,0) 100%)}
html[data-theme="dark"] .wsm-news-ticker-item{background:#0c293a;border-color:rgba(130,214,243,.14);color:#f2fbff}
.wsm-news-page{padding-top:34px;padding-bottom:60px}
.wsm-news-hero{background:linear-gradient(120deg,#06344e,#0879aa 58%,#19b3bd);color:#fff;border-radius:28px;padding:clamp(28px,4vw,54px);margin-bottom:30px;box-shadow:0 20px 55px rgba(4,53,78,.12)}
.wsm-news-hero h1{margin:0 0 10px;font-size:clamp(2.2rem,5vw,4.3rem);line-height:1}
.wsm-news-hero p{margin:0;max-width:820px;font-size:1.08rem;line-height:1.65;color:rgba(255,255,255,.9)}
.wsm-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.wsm-news-card{background:var(--card,#fff);border:1px solid var(--line,rgba(10,70,100,.14));border-radius:20px;overflow:hidden;display:flex;flex-direction:column;min-width:0;box-shadow:0 10px 34px rgba(4,46,67,.06)}
.wsm-news-card-media{aspect-ratio:16/9;background:linear-gradient(135deg,#0a5a83,#22b7bf);overflow:hidden;display:grid;place-items:center;color:#fff;font-size:2.2rem}
.wsm-news-card-media img{width:100%;height:100%;object-fit:cover;display:block}
.wsm-news-card-body{padding:20px;display:flex;flex-direction:column;flex:1}
.wsm-news-card time,.wsm-news-single time{font-size:.78rem;color:var(--muted,#6b7d89);font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.wsm-news-card h2{font-size:1.35rem;line-height:1.2;margin:9px 0 10px}
.wsm-news-card h2 a{color:inherit;text-decoration:none}
.wsm-news-card p{color:var(--muted,#667784);line-height:1.55;margin:0 0 18px}
.wsm-news-card-more{margin-top:auto;color:#0789bd;font-weight:800;text-decoration:none}
.wsm-news-empty{grid-column:1/-1;background:var(--card,#fff);border:1px solid var(--line,rgba(10,70,100,.14));padding:34px;border-radius:18px}
.wsm-news-single{max-width:980px;margin:0 auto;padding-top:34px;padding-bottom:70px}
.wsm-news-single-head{margin-bottom:24px}
.wsm-news-single-head h1{font-size:20px;line-height:1.2;margin:10px 0 16px}
.wsm-news-single-lead{font-size:1.2rem;line-height:1.6;color:var(--muted,#667784);max-width:800px}
.wsm-news-single-image{border-radius:24px;overflow:hidden;margin:24px 0 30px;background:#0b536f}
.wsm-news-single-image img{width:100%;display:block;max-height:600px;object-fit:cover}
.wsm-news-single-body{font-size:1.08rem;line-height:1.75;background:var(--card,#fff);border:1px solid var(--line,rgba(10,70,100,.14));border-radius:22px;padding:clamp(22px,4vw,44px)}
.wsm-news-single-body h2,.wsm-news-single-body h3{margin-top:1.5em;line-height:1.2}
.wsm-news-back{display:inline-flex;margin-top:24px;color:#0789bd;font-weight:800;text-decoration:none}
@media(max-width:980px){.wsm-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.wsm-news-ticker-inner{min-height:58px}.wsm-news-ticker-label{padding-right:12px}.wsm-news-ticker-track{gap:9px;padding:7px 10px}.wsm-news-ticker-item{max-width:300px}.wsm-news-ticker-item img,.wsm-news-ticker-placeholder{width:40px;height:34px;flex-basis:40px}.wsm-news-ticker-item span:last-child{max-width:210px;font-size:.84rem}.wsm-news-grid{grid-template-columns:1fr}.wsm-news-page,.wsm-news-single{padding-top:20px}.wsm-news-hero{border-radius:20px}}
@media(prefers-reduced-motion:reduce){.wsm-news-ticker-track{animation:none}}
.wsm-front-news{display:flex;flex-direction:column;min-height:100%;overflow:hidden}
.wsm-front-news-head>a{display:inline-flex;align-items:center;justify-content:center;min-width:64px;height:34px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.14);color:inherit;text-decoration:none;font-size:.76rem;font-weight:850;text-transform:uppercase;letter-spacing:.05em}
.wsm-front-news-list{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));gap:0;flex:1;min-height:0}
.wsm-front-news-item{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;align-items:center;padding:8px 14px;border-bottom:1px solid var(--line,rgba(10,70,100,.12));color:inherit;text-decoration:none;min-height:0;background:var(--card,#fff)}
.wsm-front-news-item:hover{background:rgba(15,150,205,.055)}
.wsm-front-news-item img,.wsm-front-news-thumb{width:64px;height:46px;border-radius:10px;object-fit:cover;display:grid;place-items:center;background:linear-gradient(135deg,#096990,#20aeb8);color:#fff;font-size:1.15rem}
.wsm-front-news-copy{min-width:0;display:flex;flex-direction:column;gap:2px}
.wsm-front-news-copy small{font-size:.64rem;color:var(--muted,#6b7d89);font-weight:750;text-transform:uppercase;letter-spacing:.04em}
.wsm-front-news-copy strong{font-size:.88rem;line-height:1.15;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.wsm-front-news-empty{display:flex;flex-direction:column;justify-content:center;gap:6px;padding:24px;min-height:250px;color:var(--muted,#667784)}
.wsm-front-news-empty strong{color:var(--ink,#142b38)}
.wsm-front-news-foot{margin-top:auto}
html[data-theme="dark"] .wsm-front-news-item{background:#0a2738;border-color:rgba(130,214,243,.10)}
html[data-theme="dark"] .wsm-front-news-item:hover{background:#0e3145}
@media(max-width:900px){.wsm-front-news{min-height:auto}.wsm-front-news-list{grid-template-rows:none}.wsm-front-news-item{grid-template-columns:60px minmax(0,1fr);padding:10px 12px}.wsm-front-news-item img,.wsm-front-news-thumb{width:60px;height:44px}}
