/* Sedän VPK 3.1.3.2 – Fire Edition 2.0 / vain Palokunta-sivu */
.palokunta-fire2 .palokunta-fire-hero {
  min-height: 450px;
  isolation: isolate;
  background: radial-gradient(ellipse at 87% 40%,rgba(237,49,55,.20),transparent 48%),
              radial-gradient(ellipse at 12% 110%,rgba(126,26,39,.16),transparent 55%),
              linear-gradient(115deg,#0b0e14 8%,#141820 64%,#0a0c10);
}
.palokunta-fire2 .palokunta-fire-hero::after {
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.12;
  background-image:linear-gradient(#fff1 1px,transparent 1px),linear-gradient(90deg,#fff1 1px,transparent 1px);
  background-size:72px 72px;
  mask-image:linear-gradient(90deg,transparent,#000);
}
.palokunta-fire2 .palokunta-fire-hero .hero-content {padding:90px 0;}
.palokunta-fire2 .palokunta-fire-hero h1 {font-size:clamp(54px,7.3vw,100px);max-width:960px;text-wrap:balance;letter-spacing:.01em;text-shadow:0 10px 40px #0007;}
.palokunta-fire2 .palokunta-fire-hero .lead {border-left:3px solid var(--red);padding-left:18px;max-width:620px;}
.palokunta-fire2 .palokunta-fire-content {padding-top:88px;padding-bottom:58px;}
.palokunta-fire2 .palokunta-fire-content > h2 {font-size:clamp(40px,5vw,62px);margin-bottom:32px;}
.palokunta-fire2 .palokunta-fire-cards {gap:22px;align-items:stretch;}
.palokunta-fire2 .palokunta-fire-cards .card {
  position:relative;min-width:0;min-height:320px;padding:40px 30px 34px;overflow:hidden;
  background:linear-gradient(150deg,#1c222c,#11151d 80%);
  border:1px solid #343b47;border-radius:15px;
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.palokunta-fire2 .palokunta-fire-cards .card::before {content:"";position:absolute;inset:0 auto auto 0;width:100%;height:3px;background:linear-gradient(90deg,var(--red),transparent 85%);}
.palokunta-fire2 .palokunta-fire-cards .card:hover {transform:translateY(-5px);border-color:#b63842;box-shadow:0 18px 40px #0005;}
.palokunta-fire2 .palokunta-card-index {display:block;color:#ff6068;font-size:13px;font-weight:800;letter-spacing:2px;margin-bottom:26px;}
.palokunta-fire2 .palokunta-fire-cards h2 {font-size:clamp(27px,3vw,35px);margin:0 0 20px;}
.palokunta-fire2 .palokunta-fire-cards p {font-size:14px;line-height:1.85;color:#bfc6d1;margin:0;}
.palokunta-fire2 .palokunta-fire-cta {
  margin:0 auto 95px;padding:44px 48px;display:flex;align-items:center;justify-content:space-between;gap:30px;
  background:radial-gradient(ellipse at 0 0,#6b1b2b55,transparent 65%),linear-gradient(115deg,#20141c,#131923);
  border:1px solid #71303a;border-left:5px solid var(--red);border-radius:14px;
}
.palokunta-fire2 .palokunta-fire-cta h2 {font-size:clamp(36px,4vw,54px);margin:0 0 12px;}
.palokunta-fire2 .palokunta-fire-cta h2 span {color:var(--red);}
.palokunta-fire2 .palokunta-fire-cta-copy > p:last-child {color:#c0c6d0;max-width:530px;margin:0;}
.palokunta-fire2 .palokunta-fire-cta-actions {display:flex;gap:12px;flex-wrap:wrap;flex-shrink:0;}
.palokunta-fire2 .palokunta-fire-cta .btn {justify-content:center;white-space:nowrap;}
.palokunta-fire2 a:focus-visible {outline:3px solid #fff;outline-offset:4px;}
@media(max-width:950px){.palokunta-fire2 .palokunta-fire-cta{flex-direction:column;align-items:flex-start}.palokunta-fire2 .palokunta-fire-cards{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:650px){
  .palokunta-fire2 .palokunta-fire-hero{min-height:360px;}
  .palokunta-fire2 .palokunta-fire-hero .hero-content{padding:65px 0;}
  .palokunta-fire2 .palokunta-fire-hero h1{font-size:clamp(44px,11vw,67px);overflow-wrap:anywhere;}
  .palokunta-fire2 .palokunta-fire-content{padding-top:58px;padding-bottom:38px;}
  .palokunta-fire2 .palokunta-fire-cards{grid-template-columns:minmax(0,1fr);gap:16px;}
  .palokunta-fire2 .palokunta-fire-cards .card{min-height:0;padding:28px 24px;}
  .palokunta-fire2 .palokunta-fire-cta{padding:28px 23px;margin-bottom:60px;}
  .palokunta-fire2 .palokunta-fire-cta-actions{width:100%;flex-direction:column;}
  .palokunta-fire2 .palokunta-fire-cta .btn{width:100%;white-space:normal;}
}
@media(prefers-reduced-motion:reduce){.palokunta-fire2 .palokunta-fire-cards .card{transition:none;}}
