@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');:root{color-scheme:dark;--bg:#090c10;--surface:#151a21;--line:#30343d;--red:#ed3137;--text:#f4f5f7;--muted:#adb5c0}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,Arial,sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}button{font:inherit}.shell{width:min(1160px,calc(100% - 40px));margin:auto}.skip{position:absolute;left:-9999px}.skip:focus{left:12px;top:12px;z-index:50;background:#fff;color:#000;padding:10px}.header{position:sticky;top:0;z-index:20;background:#090c10ed;border-bottom:1px solid #ffffff18;backdrop-filter:blur(14px)}.nav-wrap{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;font-family:'Barlow Condensed',Impact,sans-serif;font-size:28px;font-weight:800;letter-spacing:1px;line-height:1}.brand b{color:var(--red)}.brand small{display:block;font-family:Inter,sans-serif;font-size:9px;letter-spacing:1.8px;margin-top:7px;color:#bfc4ce}.brand-mark{background:var(--red);width:45px;height:45px;border-radius:10px;display:grid;place-items:center;font-size:27px;color:#fff}.navigation{display:flex;gap:20px;align-items:center}.navigation a{font-size:13px;font-weight:600;color:#b9c0ca;transition:color .2s}.navigation a:hover,.navigation a.active{color:#fff}.navigation a.active{border-bottom:2px solid var(--red);padding-bottom:6px}.menu-toggle{display:none}.hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 80% 35%,#74151b55,transparent 42%),linear-gradient(115deg,#121720,#080a0e);border-bottom:1px solid #ffffff12}.hero.home{min-height:590px;display:flex;align-items:center}.hero.inner{min-height:370px;display:flex;align-items:center}.hero-content{position:relative;z-index:2;padding:80px 0}.eyebrow{font-size:12px;font-weight:800;letter-spacing:2.2px;color:#fa6267;margin:0 0 18px}h1,h2{font-family:'Barlow Condensed',Impact,sans-serif;text-transform:uppercase;line-height:1.05;letter-spacing:.3px}h1{font-size:clamp(52px,8vw,104px);max-width:850px;margin:0 0 22px}h2{font-size:clamp(30px,4vw,47px);margin:0 0 25px}.lead{font-size:clamp(17px,2vw,21px);color:#c8cbd3;max-width:650px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:32px}.btn{display:inline-flex;align-items:center;gap:14px;background:var(--red);color:white;padding:13px 22px;border-radius:5px;font-weight:700;font-size:14px;transition:transform .2s,background .2s}.btn:hover{transform:translateY(-3px);background:#ff464b}.btn.secondary{background:transparent;border:1px solid #757b86}.btn.secondary:hover{background:#ffffff12}.glow{position:absolute;width:400px;height:400px;right:-120px;bottom:-240px;background:#df242e44;filter:blur(100px);pointer-events:none}.content{padding:80px 0 110px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:32px}.card{display:block;background:linear-gradient(145deg,#1a2029,#10141b);border:1px solid var(--line);border-radius:12px;padding:28px;transition:transform .25s,border-color .25s;min-height:220px}.card:hover{transform:translateY(-6px);border-color:#d8373e}.card h2{font-size:29px;margin:14px 0}.card p{font-size:14px;color:var(--muted)}.symbol{color:var(--red);font-size:28px}.more{font-size:13px;color:#ff6d71;font-weight:700}.feature{margin-top:30px;padding:40px;background:#171b22;border-left:4px solid var(--red);border-radius:8px}.feature p:last-child{color:var(--muted)}.placeholder{background:repeating-linear-gradient(45deg,#222831,#222831 10px,#1b2028 10px,#1b2028 20px);height:150px;display:grid;place-items:center;color:#8f98a6;font-size:12px;letter-spacing:2px;border-radius:6px}.footer{border-top:1px solid var(--line);color:#929aa6}.footer-inner{display:flex;justify-content:space-between;gap:15px;padding:26px 0;font-size:12px}.reveal{animation:appear .75s both}@keyframes appear{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}@media(max-width:950px){.menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;background:#1b2029;border:1px solid #40454d;border-radius:6px;cursor:pointer}.menu-toggle span{height:2px;width:20px;margin:0 auto;background:white}.navigation{display:none;position:absolute;top:84px;left:0;right:0;padding:18px 20px 25px;background:#10151c;border-bottom:1px solid #343b45;flex-direction:column;align-items:stretch}.navigation.open{display:flex}.navigation a{padding:8px 0}.navigation a.active{border-bottom:0;color:#ff686e}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.shell{width:min(100% - 30px,1160px)}.brand{font-size:23px}.brand-mark{width:39px;height:39px}.hero.home{min-height:530px}.hero.inner{min-height:320px}.hero-content{padding:65px 0}.cards{grid-template-columns:1fr}.content{padding:55px 0 75px}.feature{padding:25px}.footer-inner{flex-direction:column}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Versio 3.0: logo ja viimeistelty etusivu */
.brand-logo{display:block;width:54px;height:63px;object-fit:contain;flex:none}.brand{gap:10px}.brand small{line-height:1.35}.hero-v3{isolation:isolate;min-height:690px;background:radial-gradient(ellipse at 82% 43%,#a61b2540,transparent 37%),radial-gradient(ellipse at 0 100%,#7b121d45,transparent 36%),linear-gradient(110deg,#090b0f 10%,#131820 70%,#090b0f)}.hero-grid{position:absolute;inset:0;opacity:.16;background-image:linear-gradient(#ffffff13 1px,transparent 1px),linear-gradient(90deg,#ffffff13 1px,transparent 1px);background-size:65px 65px;mask-image:linear-gradient(90deg,transparent,#000)}.hero-v3 .hero-content{padding:110px 0 100px}.hero-v3 h1{font-size:clamp(56px,7.5vw,112px);max-width:930px;position:relative;z-index:2;font-style:italic;text-shadow:0 8px 30px #0008}.hero-v3 h1 em{font-style:inherit;color:var(--red)}.hero-description{max-width:560px;color:#aeb7c4;font-size:15px;line-height:1.85}.red-line{display:inline-block;width:58px;height:3px;background:var(--red);vertical-align:middle;margin-left:16px}.hero-emblem{position:absolute;right:6%;top:17%;width:min(35vw,420px);opacity:.20;filter:drop-shadow(0 0 60px #ef293c);transform:rotate(9deg);z-index:0}.hero-emblem img{width:100%;height:auto}.hero-bottom{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #ffffff25;padding:18px 0;color:#adb5c0;font-size:11px;letter-spacing:1.7px;font-weight:700}.hero-bottom a:hover{color:white}.section-head{display:flex;justify-content:space-between;align-items:end;gap:40px}.section-head>p{max-width:370px;color:var(--muted);font-size:14px}.accent{color:var(--red)}.cards-four{grid-template-columns:repeat(4,minmax(0,1fr))}.cards-four .card{min-height:290px;display:flex;flex-direction:column;position:relative;overflow:hidden}.cards-four .card:after{content:'';position:absolute;left:0;bottom:0;width:100%;height:3px;background:var(--red);transform:scaleX(0);transform-origin:left;transition:transform .3s}.cards-four .card:hover:after{transform:scaleX(1)}.card-number{position:absolute;right:22px;top:20px;color:#5b6574;font-size:12px;letter-spacing:2px}.cards-four .symbol{font-size:38px}.cards-four .more{margin-top:auto;padding-top:22px}.feature-v3{margin-top:65px;display:flex;align-items:center;justify-content:space-between;gap:35px;background:linear-gradient(105deg,#251219,#141920);padding:55px;border:1px solid #75252d;border-left:5px solid var(--red)}.feature-v3 h2{margin-bottom:15px}.feature-v3 p:last-child{max-width:580px}.feature-v3 .btn{flex-shrink:0}.site-note{font-size:12px;color:#77808d;margin-top:30px}.navigation a:last-child{background:#b81d28;padding:12px 16px;border-radius:5px;color:#fff}.navigation a:last-child:hover{background:var(--red)}
@media(max-width:1050px){.cards-four{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-emblem{right:-8%;opacity:.12}.feature-v3{padding:35px}}@media(max-width:700px){.brand-logo{width:43px;height:50px}.hero-v3{min-height:630px}.hero-v3 .hero-content{padding:90px 0 105px}.hero-v3 h1{font-size:clamp(46px,11vw,72px)}.hero-emblem{width:85vw;top:23%;right:-35%;opacity:.10}.hero-description{font-size:14px}.section-head{display:block}.cards-four{grid-template-columns:1fr}.cards-four .card{min-height:225px}.feature-v3{display:block;padding:28px}.feature-v3 .btn{margin-top:18px}.hero-bottom{font-size:9px}.red-line{width:24px;margin-left:6px}}
/* KALUSTOSIVU */

.kalusto-osio {
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
}

.kalusto-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 25px;
  margin-top: 40px;
}

.kalusto-kortti {
  background: #171c24;
  border: 1px solid #303844;
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s ease;
}

.kalusto-kortti:hover {
  transform: translateY(-8px);
  border-color: #ed3137;
  box-shadow: 0 12px 30px #0006;
}

.kalusto-kortti img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.kalusto-sisalto {
  padding: 24px;
}

.kalusto-tyyppi {
  color: #ed3137;
  font-size: 12px;
  font-weight: bold;
}

.kalusto-sisalto h2 {
  color: white;
  margin: 12px 0;
}

.kalusto-sisalto p {
  color: #b7bec8;
}

.kalusto-painike {
  background: #ed3137;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 15px;
}

.kalusto-painike:hover {
  background: #b91c1c;
}
.kalusto-lisatiedot {
  margin-top: 20px;
  padding: 20px;
  background: #0d1117;
  border-left: 3px solid #ed3137;
  border-radius: 8px;
}

.kalusto-lisatiedot[hidden] {
  display: none;
}

.kalusto-lisatiedot h3 {
  color: #ffffff;
  margin-bottom: 15px;
}

.kalusto-lisatiedot p {
  color: #cbd5e1;
  margin-bottom: 10px;
}

.kalusto-lisatiedot strong {
  color: #ffffff;
}
/* KALUSTON SUODATUS */

.kalusto-suodattimet {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
  margin-bottom: 15px;
}

.suodatin {
  background: #1d252f;
  color: #ffffff;
  border: 1px solid #374151;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: 0.25s ease;
}

.suodatin:hover {
  background: #303844;
  border-color: #ed3137;
}

.suodatin.aktiivinen {
  background: #ed3137;
  border-color: #ed3137;
  color: white;
}

.kalusto-laskuri {
  color: #adb5c0;
  font-size: 14px;
  margin-bottom: 20px;
}

.kalusto-kortti[hidden] {
  display: none;
}

/* MOBIILINÄKYMÄ */

@media (max-width: 600px) {
  .kalusto-suodattimet {
    gap: 8px;
  }

  .suodatin {
    flex: 1 1 auto;
    padding: 10px 12px;
    font-size: 13px;
  }
}
/* OSASTOJEN LINKKIPAINIKKEET */

.osasto-linkki {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
  padding: 12px 20px;
  background: #ed3137;
  color: #ffffff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease,
              transform 0.25s ease;
}

.osasto-linkki:hover {
  background: #b91c1c;
  transform: translateY(-2px);
}

.osasto-linkki:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}
/* OSASTOJEN OMAT SIVUT */

.osasto-sivu {
  max-width: 1200px;
  margin: 50px auto 90px;
  padding: 20px;
}

.takaisin-linkki {
  display: inline-block;
  margin-bottom: 35px;
  color: #cbd5e1;
  text-decoration: none;
}

.takaisin-linkki:hover {
  color: #ed3137;
}

.osasto-hero {
  padding: 45px 35px;
  background: linear-gradient(
    135deg, #1c232d, #10151d
  );
  border: 1px solid #303844;
  border-radius: 18px;
}

.osasto-hero span {
  color: #ed3137;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 2px;
}

.osasto-hero h1 {
  color: #ffffff;
  font-size: clamp(32px, 5vw, 54px);
  margin: 15px 0;
}

.osasto-hero p {
  color: #b7bec8;
  font-size: 17px;
  line-height: 1.7;
}

.osasto-sivu-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
  margin-top: 30px;
}

.osasto-tietokortti {
  padding: 30px;
  background: #171c24;
  border: 1px solid #303844;
  border-radius: 14px;
}

.osasto-tietokortti h2 {
  color: #ffffff;
  margin-bottom: 18px;
}

.osasto-tietokortti p {
  color: #b7bec8;
  line-height: 1.7;
  margin-bottom: 12px;
}

@media (max-width: 600px) {
  .osasto-hero {
    padding: 30px 20px;
  }

  .osasto-tietokortti {
    padding: 22px;
  }
}
/* OSASTOJEN TIETOKORTTIEN TEHOSTEET */

.osasto-tietokortti {
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.osasto-tietokortti:hover {
  border-color: #ed3137;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px #0005;
}

.osasto-tietokortti strong {
  color: #ffffff;
}

/* ============================
   AJANKOHTAISTA-SIVU
============================ */

.uutiset-osio {
  max-width: 1200px;
  margin: 60px auto 90px;
  padding: 20px;
}

.uutiset-otsikko span {
  color: #ed3137;
  font-size: 13px;
  font-weight: bold;
}

.uutiset-otsikko h1 {
  color: #ffffff;
  font-size: clamp(32px, 5vw, 52px);
  margin: 15px 0;
}

.uutiset-otsikko p {
  color: #adb5c0;
  line-height: 1.7;
}

/* SUODATUSPAINIKKEET */

.uutiset-suodattimet {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 35px 0 15px;
}

.uutiset-suodattimet .uutis-suodatin {
  background: #1d252f;
  color: #ffffff;
  border: 1px solid #374151;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: 0.25s ease;
}

.uutiset-suodattimet .uutis-suodatin:hover {
  background: #303844;
  border-color: #ed3137;
}

.uutiset-suodattimet .uutis-suodatin.aktiivinen {
  background: #ed3137;
  border-color: #ed3137;
  color: #ffffff;
}

.uutiset-laskuri {
  color: #adb5c0;
  font-size: 14px;
  margin-bottom: 25px;
}

/* UUTISKORTIT */

.uutiset-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 25px;
}

.uutis-kortti {
  background: #171c24;
  border: 1px solid #303844;
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s ease;
}

.uutis-kortti:hover {
  transform: translateY(-6px);
  border-color: #ed3137;
  box-shadow: 0 12px 30px #0006;
}

.uutis-kortti img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.uutis-sisalto {
  padding: 25px;
}

.uutis-kategoria {
  color: #ed3137;
  font-size: 12px;
  font-weight: bold;
}

.uutis-sisalto h2 {
  color: #ffffff;
  margin: 12px 0;
}

.uutis-sisalto p {
  color: #b7bec8;
  line-height: 1.7;
  margin-bottom: 20px;
}

.uutis-sisalto time {
  color: #9ca3af;
  font-size: 13px;
}

.uutis-kortti[hidden],
.uutiset-tyhja[hidden] {
  display: none;
}

.uutiset-tyhja {
  padding: 30px;
  text-align: center;
  color: #cbd5e1;
  background: #171c24;
  border-radius: 12px;
  margin-top: 20px;
}

@media (max-width: 600px) {
  .uutiset-suodattimet {
    gap: 8px;
  }

  .uutiset-suodattimet .uutis-suodatin {
    flex: 1 1 auto;
    padding: 10px 12px;
    font-size: 13px;
  }
}
/* UUTISTEN LUE LISÄÄ -PAINIKKEET */

.uutis-linkki {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 12px 20px;
  background: #ed3137;
  color: #ffffff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s ease;
}

.uutis-linkki:hover {
  background: #b91c1c;
  transform: translateY(-2px);
}

.uutis-linkki:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}
/* =========================
   UUTISTEN ARTIKKELISIVUT
========================= */

.artikkeli-sivu {
  max-width: 1000px;
  margin: 50px auto 90px;
  padding: 20px;
}

.artikkeli-otsikko {
  padding: 40px 0;
}

.artikkeli-kategoria {
  color: #ed3137;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}

.artikkeli-otsikko h1 {
  color: #ffffff;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.15;
  margin: 20px 0;
}

.artikkeli-otsikko > p {
  color: #b7bec8;
  font-size: 18px;
  line-height: 1.7;
}

.artikkeli-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
  color: #9ca3af;
  font-size: 13px;
}

.artikkeli-paakuva {
  display: block;
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 16px;
}

.artikkeli-sisalto {
  max-width: 800px;
  margin: 40px auto;
}

.artikkeli-sisalto h2 {
  color: #ffffff;
  font-size: 26px;
  margin: 35px 0 15px;
}

.artikkeli-sisalto p {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .artikkeli-otsikko {
    padding: 25px 0;
  }

  .artikkeli-sisalto h2 {
    font-size: 22px;
  }
}

/* ==================================
   LIITY MUKAAN - UKK
================================== */

.ukk-osio {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
}

.ukk-otsikko {
  margin-bottom: 35px;
}

.ukk-otsikko span {
  color: #ed3137;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.ukk-otsikko h2 {
  color: #ffffff;
  font-size: clamp(30px, 4vw, 44px);
  margin: 15px 0;
}

.ukk-otsikko p {
  color: #b7bec8;
  line-height: 1.7;
}

.ukk-lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ukk-kysymys {
  background: #171c24;
  border: 1px solid #303844;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.ukk-kysymys[open] {
  border-color: #ed3137;
}

.ukk-kysymys summary {
  position: relative;
  padding: 22px 55px 22px 25px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.ukk-kysymys summary::-webkit-details-marker {
  display: none;
}

.ukk-kysymys summary::after {
  content: "+";
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  color: #ed3137;
  font-size: 26px;
  font-weight: 400;
}

.ukk-kysymys[open] summary::after {
  content: "−";
}

.ukk-kysymys summary:hover {
  background: #1d252f;
}

.ukk-kysymys summary:focus-visible {
  outline: 2px solid #ed3137;
  outline-offset: -4px;
}

.ukk-vastaus {
  padding: 0 25px 22px;
}

.ukk-vastaus p {
  color: #b7bec8;
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

/* UKK-YHTEYDENOTTO */

.ukk-yhteys {
  margin-top: 35px;
  padding: 35px;
  background: #1c232d;
  border: 1px solid #303844;
  border-radius: 14px;
  text-align: center;
}

.ukk-yhteys h3 {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 12px;
}

.ukk-yhteys p {
  color: #b7bec8;
  line-height: 1.7;
  margin-bottom: 25px;
}

.ukk-painike {
  display: inline-block;
  padding: 13px 25px;
  background: #ed3137;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  transition: background 0.25s ease;
}

.ukk-painike:hover {
  background: #bd252b;
}

.ukk-painike:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .ukk-osio {
    margin: 50px auto;
  }

  .ukk-kysymys summary {
    padding: 18px 50px 18px 18px;
    font-size: 15px;
  }

  .ukk-vastaus {
    padding: 0 18px 20px;
  }

  .ukk-yhteys {
    padding: 25px 18px;
  }
}
/* UKK-painikkeen pehmeä vieritys */

html {
  scroll-behavior: smooth;
}

#yhteydenotto {
  scroll-margin-top: 110px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================
   SEDÄN VPK 3.0 - MOBIILIVIIMEISTELY
========================================== */

/* Kuvien ja median mukautuminen */

img,
video {
  max-width: 100%;
  height: auto;
}

/* Pitkien tekstien turvallinen rivittyminen */

main p,
main h1,
main h2,
main h3 {
  overflow-wrap: break-word;
}

/* Lomakekenttien oikea mitoitus */

.join-form-card input,
.join-form-card select,
.join-form-card textarea {
  box-sizing: border-box;
  max-width: 100%;
}

/* Kosketusnäytön painikkeet */

@media (pointer: coarse) {
  .menu-toggle,
  .ukk-painike,
  .uutis-linkki,
  .etusivu-painike {
    min-height: 44px;
  }
}

/* Mobiilinäkymän yleiset korjaukset */

@media (max-width: 600px) {

  .shell {
    width: calc(100% - 32px);
    max-width: 100%;
  }

  main h1 {
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-actions .btn {
    max-width: 100%;
    box-sizing: border-box;
  }

  .join-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .join-form-card,
  .join-contact-info {
    min-width: 0;
  }

  .ukk-osio {
    padding: 0 16px;
  }

  .ukk-yhteys {
    padding: 25px 18px;
  }

  .uutiset-grid,
  .kalusto-grid,
  .osasto-sivu-grid,
  .osasto-sivu-grid,
  .etusivu-kortit {
    grid-template-columns: minmax(0, 1fr);
  }

  .uutis-kortti,
  .kalusto-kortti,
  .osasto-tietokortti,
  .etusivu-kortti {
    min-width: 0;
  }

  .footer-inner {
    flex-wrap: wrap;
    gap: 12px;
    text-align: center;
    justify-content: center;
  }
}
/* Muiden ankkurilinkkien kohdistus */

#joinForm,
#ukk {
  scroll-margin-top: 110px;
}

/* ==========================================
   SEDÄN VPK 3.0 - ETUSIVUN MOBIILIVIIMEISTELY
========================================== */

@media (max-width: 600px) {

  /* Etusivun pääotsikko */
  .hero-v3 h1 {
    font-size: clamp(38px, 10vw, 60px);
    line-height: 1.05;
    overflow-wrap: break-word;
  }

  /* Etusivun kuvausteksti */
  .hero-description {
    font-size: 15px;
    line-height: 1.75;
  }

  /* Etusivun painikkeet */
  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-actions .btn {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  /* Toimintakortit */
  .cards-four {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .cards-four .card {
    min-height: 0;
    padding: 24px;
  }

  /* Liity mukaan -nosto */
  .feature-v3 {
    padding: 25px 20px;
  }

  .feature-v3 .btn {
    justify-content: center;
    width: 100%;
  }

  /* Sivun alaosa */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
}

/* ==========================================
   SEDÄN VPK 3.0 - SISÄSIVUJEN MOBIILIVIIMEISTELY
========================================== */

@media (max-width: 600px) {

  /* KALUSTOSIVU */

  .kalusto-osio {
    margin: 35px auto 60px;
    padding: 16px;
  }

  .kalusto-grid {
    gap: 16px;
    margin-top: 25px;
  }

  .kalusto-sisalto {
    padding: 20px;
  }

  .kalusto-suodattimet {
    gap: 8px;
  }

  .kalusto-suodattimet .suodatin {
    min-height: 44px;
  }

  /* OSASTOJEN SIVUT */

  .osasto-sivu {
    margin: 30px auto 60px;
    padding: 16px;
  }

  .osasto-hero {
    padding: 28px 20px;
  }

  .osasto-hero p {
    font-size: 15px;
  }

  .osasto-sivu-grid {
    gap: 16px;
  }

  .osasto-tietokortti {
    padding: 22px 20px;
  }

  .osasto-linkki {
    min-height: 44px;
    text-align: center;
  }

  /* AJANKOHTAISTA-SIVU */

  .uutiset-osio {
    margin: 35px auto 60px;
    padding: 16px;
  }

  .uutiset-grid {
    gap: 16px;
  }

  .uutis-sisalto {
    padding: 20px;
  }

  .uutiset-suodattimet {
    gap: 8px;
  }

  .uutiset-suodattimet .uutis-suodatin {
    min-height: 44px;
  }

  /* LIITY MUKAAN - UKK */

  .ukk-osio {
    margin: 45px auto;
    padding: 0 16px;
  }

  .ukk-kysymys summary {
    min-height: 54px;
    padding: 18px 48px 18px 18px;
  }

  .ukk-kysymys summary::after {
    right: 18px;
  }

  .ukk-yhteys {
    padding: 25px 18px;
  }

  .ukk-painike {
    max-width: 100%;
    text-align: center;
  }

  /* YLEISET PAINIKKEET */

  .kalusto-painike,
  .uutis-linkki,
  .osasto-linkki {
    min-height: 44px;
  }
}
/* DEMOSIVUSTON ILMOITUS */

.privacy-demo-notice {
  margin: 25px 0 35px;
  padding: 22px 25px;
  background: rgba(237, 49, 55, 0.08);
  border: 1px solid rgba(237, 49, 55, 0.45);
  border-left: 4px solid #ed3137;
  border-radius: 12px;
}

.privacy-demo-notice strong {
  color: #ff6268;
  font-size: 14px;
  letter-spacing: 1px;
}

.privacy-demo-notice p {
  color: #d5d9e1;
  line-height: 1.8;
  margin-bottom: 0;
}
/* HÄLYTYSOSASTO – KORTIT ALLEKKAIN */

.halytys-pystykortit {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.halytys-pystykortit > .osasto-tietokortti {
  width: 100%;
  min-width: 0;
  height: auto;
  box-sizing: border-box;
}
/* NUORISO-OSASTO – KORTIT ALLEKKAIN */

.nuoriso-pystykortit {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.nuoriso-pystykortit > .osasto-tietokortti {
  width: 100%;
  min-width: 0;
  height: auto;
  box-sizing: border-box;
}