* {
  box-sizing: border-box;
}

html {
  color: var(--text, #14213d);
  background: var(--page-bg, #f6f8fb);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(15, 111, 182, .08), transparent 280px),
    linear-gradient(90deg, rgba(240, 138, 36, .08), transparent 34%),
    var(--page-bg, #f6f8fb);
}

a {
  color: inherit;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

.ws-page {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0 72px;
}

.ws-width-compact {
  width: min(860px, calc(100% - 32px));
}

.ws-topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 20;
  margin-bottom: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(210, 221, 234, .9);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 14px 40px rgba(20, 33, 61, .08);
  backdrop-filter: blur(16px);
}

.ws-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.ws-brand img {
  display: block;
  width: auto;
  height: 42px;
  object-fit: contain;
}

.ws-brand-large {
  margin-bottom: 22px;
}

.ws-brand-large img {
  height: 58px;
}

.ws-topbar a {
  text-decoration: none;
  color: var(--accent, #0f6fb6);
}

.ws-block {
  margin: 20px 0;
  border-radius: var(--radius, 8px);
  background: var(--surface, #fff);
  box-shadow: 0 18px 50px rgba(20, 33, 61, .08);
}

.ws-hero {
  min-height: min(620px, calc(100vh - 140px));
  display: flex;
  align-items: end;
  padding: clamp(30px, 6vw, 78px);
  color: #fff;
  background: linear-gradient(135deg, var(--accent, #0f6fb6), #1d8a75);
  background-position: center;
  background-size: cover;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(20, 33, 61, .18);
}

.ws-hero-copy {
  width: min(800px, 100%);
}

.ws-kicker {
  margin: 0 0 10px;
  color: var(--secondary, #f08a24);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ws-hero .ws-kicker {
  color: #ffc857;
}

.ws-hero h1 {
  margin: 0;
  font-size: clamp(48px, 9vw, 104px);
  line-height: .98;
  letter-spacing: 0;
}

.ws-hero p:last-child {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
}

.ws-richtext {
  padding: clamp(26px, 5vw, 54px);
  font-size: 18px;
  line-height: 1.72;
}

.ws-richtext h2,
.ws-richtext h3,
.ws-richtext h4 {
  margin-top: 0;
  line-height: 1.15;
}

.ws-richtext blockquote {
  margin: 22px 0;
  padding: 4px 0 4px 22px;
  border-left: 4px solid var(--secondary, #f08a24);
  color: #4c5a70;
}

.ws-image {
  overflow: hidden;
}

.ws-image img {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
}

.ws-image figcaption,
.ws-gallery figcaption {
  padding: 12px 16px 16px;
  color: #5a6678;
  font-size: 14px;
}

.ws-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.ws-gallery figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius, 8px);
  background: var(--surface, #fff);
  box-shadow: 0 18px 46px rgba(20, 33, 61, .12);
}

.ws-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ws-weather,
.ws-webcam,
.ws-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr);
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 4vw, 42px);
}

.ws-live-meteo {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(340px, .72fr);
  gap: 18px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.ws-live-panel {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius, 8px);
  background: var(--surface, #fff);
  box-shadow: 0 22px 70px rgba(20, 33, 61, .14);
}

.ws-live-media {
  background: #111827;
  position: relative;
}

.ws-live-media iframe,
.ws-live-media img {
  width: 100%;
  aspect-ratio: 16 / 9.4;
  border: 0;
  object-fit: cover;
}

.ws-live-copy,
.ws-live-weather {
  padding: clamp(20px, 3vw, 32px);
}

.ws-live-copy h2,
.ws-live-weather h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.08;
}

.ws-live-copy p,
.ws-live-weather p {
  color: #4f5d73;
  line-height: 1.6;
}

.ws-live-weather {
  border-top: 5px solid var(--secondary, #f08a24);
}

.ws-meteo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.ws-meteo-grid div {
  min-width: 0;
  padding: 16px;
  border: 1px solid #e3eaf2;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.ws-meteo-grid span {
  display: block;
  color: #637086;
  font-size: 12px;
  font-weight: 800;
}

.ws-meteo-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--text, #14213d);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.05;
}

.ws-meteo-grid small {
  font-size: 15px;
}

.ws-webcam {
  grid-template-columns: minmax(300px, 1.15fr) minmax(0, .85fr);
}

.ws-weather h2,
.ws-webcam h2,
.ws-contact h2 {
  margin: 0 0 10px;
  font-size: clamp(25px, 4vw, 42px);
  line-height: 1.08;
}

.ws-weather p,
.ws-webcam p,
.ws-contact p {
  color: #4f5d73;
  line-height: 1.65;
}

.ws-weather iframe,
.ws-webcam iframe,
.ws-embed iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--radius, 8px);
  background: #e8edf4;
}

.ws-webcam-frame {
  overflow: hidden;
  border-radius: var(--radius, 8px);
  background: #111827;
}

.ws-webcam-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ws-contact {
  display: block;
  border-top: 4px solid var(--secondary, #f08a24);
}

.ws-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.ws-contact-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent, #0f6fb6), white 88%);
  color: var(--accent, #0f6fb6);
  font-weight: 800;
  text-decoration: none;
}

.ws-embed {
  overflow: hidden;
}

.ws-embed iframe {
  min-height: var(--embed-height, 430px);
  border-radius: 0;
}

.ws-unknown {
  padding: 24px;
  border: 1px dashed #aab4c2;
  box-shadow: none;
}

.ws-directory {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.ws-directory header {
  max-width: 720px;
}

.ws-directory h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 76px);
  line-height: 1;
  letter-spacing: 0;
}

.ws-meteo-grid div:has([data-weather-field="updatedAt"]) {
  grid-column: 1 / -1;
}

.ws-meteo-grid [data-weather-field="updatedAt"] {
  font-size: clamp(22px, 2.1vw, 28px);
}

.ws-meteo-grid [data-weather-field="pressureHpa"] {
  font-size: clamp(22px, 2vw, 26px);
}

.ws-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.ws-directory-grid a {
  display: grid;
  gap: 8px;
  min-height: 130px;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(20, 33, 61, .08);
}

.ws-directory-grid span {
  color: #687589;
}

@media (max-width: 760px) {
  .ws-page {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .ws-hero {
    min-height: 360px;
    padding: 26px;
  }

  .ws-gallery,
  .ws-directory-grid {
    grid-template-columns: 1fr;
  }

  .ws-weather,
  .ws-webcam,
  .ws-live-meteo,
  .ws-meteo-grid {
    grid-template-columns: 1fr;
  }
}

body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(4, 10, 18, .88) 0, rgba(10, 26, 42, .52) 420px, rgba(238, 245, 249, .96) 760px),
    linear-gradient(135deg, rgba(20, 132, 158, .24), rgba(237, 125, 42, .13) 48%, rgba(42, 155, 111, .18)),
    var(--page-bg, #eef5f8);
}

.ws-page {
  width: min(1360px, calc(100% - 36px));
}

.ws-topbar {
  margin-bottom: 18px;
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .78);
}

.ws-hero {
  min-height: min(720px, calc(100vh - 94px));
  position: relative;
  align-items: end;
  border: 1px solid rgba(255, 255, 255, .18);
  background-position: center;
  box-shadow: 0 34px 90px rgba(4, 12, 24, .34);
}

.ws-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 8, 14, .08), rgba(2, 8, 14, .72)),
    linear-gradient(110deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .18) 58%, rgba(0, 0, 0, .44));
  pointer-events: none;
}

.ws-hero-copy {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
}

.ws-hero h1 {
  max-width: 900px;
  text-shadow: 0 18px 48px rgba(0, 0, 0, .42);
}

.ws-hero p:last-child {
  max-width: 760px;
  color: rgba(255, 255, 255, .88);
  font-weight: 700;
}

.ws-live-meteo {
  grid-template-columns: minmax(0, 1.72fr) minmax(360px, .68fr);
  gap: 20px;
  margin-top: 24px;
}

.ws-live-panel {
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .86), rgba(235, 248, 252, .62)),
    rgba(255, 255, 255, .72);
  color: #12233a;
  box-shadow: 0 34px 90px rgba(4, 47, 76, .22), inset 0 1px 0 rgba(255, 255, 255, .9);
  backdrop-filter: blur(22px) saturate(1.25);
}

.ws-live-webcam {
  display: grid;
  grid-template-rows: auto minmax(0, auto);
}

.ws-live-media {
  min-height: clamp(320px, 56vw, 720px);
  overflow: hidden;
  margin: 12px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 24px;
  background-color: #dceef5;
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 20px 54px rgba(15, 47, 70, .2);
}

.ws-live-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 -120px 120px rgba(0, 0, 0, .22);
  pointer-events: none;
}

.ws-live-media.is-official-cam-player::after {
  display: none;
}

.ws-live-media.is-official-cam-player,
.ws-live-media.is-official-cam-player iframe {
  min-height: 0;
}

.ws-live-media.is-official-cam-player {
  height: auto;
}

.ws-live-media.is-official-cam-player iframe {
  height: auto;
  aspect-ratio: 16 / 10.45;
}

.ws-live-media iframe,
.ws-live-media img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: clamp(320px, 56vw, 720px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 24px;
}

.ws-player-chrome {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  pointer-events: none;
}

.ws-player-chrome span,
.ws-player-chrome strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: #102033;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(8, 42, 66, .18);
  backdrop-filter: blur(14px);
}

.ws-player-chrome i {
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 999px;
  background: #ff375f;
  box-shadow: 0 0 0 6px rgba(255, 55, 95, .18);
}

.ws-live-copy {
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(12, 80, 120, .09);
}

.ws-live-copy p,
.ws-live-weather p {
  color: #526274;
}

.ws-live-action {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent, #0d6f8f), #18a999);
  color: #fff;
  box-shadow: 0 14px 28px rgba(13, 111, 143, .2);
  font-weight: 900;
  text-decoration: none;
}

.ws-live-weather {
  border-top: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(68, 189, 204, .22), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(238, 249, 250, .72));
}

.ws-live-weather .ws-kicker,
.ws-dashboard .ws-kicker {
  color: #ffb35a;
}

.ws-meteo-grid div {
  min-width: 0;
  border-color: rgba(14, 111, 143, .13);
  background: rgba(255, 255, 255, .74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.ws-meteo-grid span {
  color: #68788b;
}

.ws-meteo-grid strong {
  color: #102033;
  font-size: clamp(24px, 2.3vw, 30px);
  line-height: 1;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  letter-spacing: 0;
}

.ws-wind-rose {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(14, 111, 143, .14);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(236, 249, 251, .68));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 18px 34px rgba(10, 70, 100, .1);
}

.ws-wind-rose-face {
  position: relative;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, .95) 0 26%, rgba(222, 245, 250, .74) 27% 50%, rgba(255, 255, 255, .7) 51%),
    conic-gradient(from 0deg, rgba(13, 111, 143, .18), rgba(242, 140, 40, .2), rgba(24, 169, 153, .18), rgba(13, 111, 143, .18));
  box-shadow: inset 0 0 0 1px rgba(13, 111, 143, .16), 0 18px 34px rgba(10, 70, 100, .12);
}

.ws-wind-rose-face::before,
.ws-wind-rose-face::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px dashed rgba(16, 32, 51, .16);
}

.ws-wind-rose-face::after {
  inset: 26px;
  border-style: solid;
}

.ws-wind-rose-face span {
  position: absolute;
  color: #102033;
  font-size: 10px;
  font-weight: 950;
}

.ws-wind-rose-face .n { left: 50%; top: 6px; transform: translateX(-50%); }
.ws-wind-rose-face .e { right: 8px; top: 50%; transform: translateY(-50%); }
.ws-wind-rose-face .s { left: 50%; bottom: 6px; transform: translateX(-50%); }
.ws-wind-rose-face .w { left: 8px; top: 50%; transform: translateY(-50%); }

.ws-wind-rose-face i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f04438 0 52%, #102033 52% 100%);
  transform: translate(-50%, -50%) rotate(var(--wind-deg, 0deg));
  transform-origin: 50% 50%;
  box-shadow: 0 8px 14px rgba(16, 32, 51, .22);
  transition: transform .5s ease;
}

.ws-wind-rose-face i::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -7px;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 13px solid #f04438;
}

.ws-wind-rose > div:last-child span {
  display: block;
  color: #68788b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ws-wind-rose > div:last-child strong {
  display: block;
  margin-top: 5px;
  color: #102033;
  font-size: clamp(28px, 3vw, 42px);
  line-height: .95;
}

.ws-wind-rose > div:last-child small {
  display: inline-flex;
  margin-top: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(13, 111, 143, .1);
  color: var(--accent, #0d6f8f);
  font-size: 13px;
  font-weight: 950;
}

.ws-richtext {
  border: 1px solid rgba(216, 227, 236, .88);
}

.ws-richtext h2 {
  font-size: clamp(28px, 4vw, 52px);
}

.ws-dashboard {
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid rgba(214, 226, 235, .88);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(245, 250, 252, .96));
}

.ws-section-head {
  max-width: 880px;
  margin-bottom: 24px;
}

.ws-section-head h2 {
  margin: 0;
  color: var(--text, #14213d);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

.ws-section-head p:last-child {
  max-width: 780px;
  color: #4f5d73;
  font-size: 17px;
  line-height: 1.65;
}

.ws-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ws-widget-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(215, 227, 236, .92);
  border-radius: var(--radius, 8px);
  background: #fff;
  box-shadow: 0 22px 58px rgba(20, 33, 61, .1);
}

.ws-widget-card.is-wide {
  grid-column: 1 / -1;
}

.ws-widget-card > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
  padding: 18px 18px 12px;
}

.ws-widget-card span {
  color: var(--secondary, #e77817);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ws-widget-card h3 {
  margin: 0;
  color: #172336;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.08;
}

.ws-widget-card iframe {
  width: 100%;
  min-height: var(--widget-height, 390px);
  border: 0;
  background: #eef4f8;
}

.ws-gallery {
  margin-top: 26px;
}

.ws-gallery figure {
  transform: translateZ(0);
}

.ws-gallery figcaption {
  color: #243143;
  font-weight: 800;
}

@media (max-width: 980px) {
  .ws-live-meteo,
  .ws-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .ws-widget-card.is-wide {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .ws-page {
    width: min(100% - 20px, 1180px);
  }

  .ws-topbar {
    position: relative;
  }

  .ws-hero {
    min-height: 520px;
  }

  .ws-live-media,
  .ws-live-media iframe,
  .ws-live-media img {
    min-height: 260px;
  }

  .ws-player-chrome {
    left: 12px;
    right: 12px;
    top: 12px;
  }

  .ws-player-chrome strong {
    display: none;
  }

  .ws-widget-card > div {
    display: grid;
  }
}
