/* KV styles specific for blog KV to match Figma */
.kv-blog{
  background: linear-gradient(180deg,#eaf4ef 0%,#e8f2ee 100%);
  padding: 0px 0;
  position: relative;
    margin: 130px auto 0;
    height: auto;
    min-height: auto;
}
.kv-bg{
  background-image:url('../assets/images/blog/bg@2x.png');
  background-size:cover;
  background-position:center center;
  height:auto;
  position:absolute;
  inset:0;
  z-index:0;
}

.kv-container{
  position:relative;
  z-index:2;
  padding:80px 0;
  display:block;
  text-align:center;
}

.kv-note{
  position:absolute;
  right:40px;
  top:28px;
  color:#111111;
  font-size:.9rem;
  max-width:30%;
  text-align:right;
@media(max-width:768px){
          position: relative;
        max-width: 100%;
        text-align: center;
        margin: 3rem auto 0;
        z-index: 3;
        display: block;
        padding: 0 1rem;
        font-size: 0.7rem;
        left: 0;
        right: 0;
}
}

.kv-content{
  max-width:980px;margin:3.5rem auto;position:relative;
  @media(max-width:768px){
    margin: 1rem auto;
  }
}

/* Headline: heavier, white stroke background to match Figma */
.kv-title{
  font-size:56px;
  line-height:1.02;
  color:#0b4a3b;
  font-weight:900;
  margin:0 auto 8px 0;
  position:relative;
}
.kv-title span{color:var(--ene-green)}

/* Simulate white outline behind dark title (Figma uses outlined text) */
.kv-title::before{
  content: attr(data-text);
  position:absolute;
  left:0;top:0;
  width:100%;
  color:#fff;
  z-index:-1;
  -webkit-text-stroke: 8px #ffffff;
  text-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.kv-sub{    display: inline-block;
    background: rgb(255 255 255 / 60%);
    border-radius: 28px;
    padding: 12px 26px;
    color: var(--ene-green);
    font-weight: 800;
    margin-top: 18px;
    font-size: 18px;
    border: 1px solid rgb(255 255 255 / 100%);
    backdrop-filter: blur(4px);}

/* Illustration: larger and positioned to overlap bottom-right like Figma */
.kv-illust{position:absolute;right:6%;bottom:0;z-index:3;transform:translateZ(0)}
.kv-illust img{display:block;max-width:190px;width:100%;
@media(max-width:768px){
  max-width:90px;
          margin: 0 0 0 auto;
}
}

@media(max-width:1024px){
  .kv-bg{height:auto;}
  .kv-title{font-size:44px}
  .kv-sub{font-size:16px}
  .kv-illust{right:20px}
  .kv-note{right:20px;top:18px}
}

@media(max-width:768px){
  .kv-bg{height:auto;background-position:top center}
  .kv-title{font-size:1.4rem;
  &:before{
  -webkit-text-stroke: 4px #ffffff;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.12);
    }
  }
  .kv-sub{font-size:14px;padding:8px 16px}
  .kv-illust{position:relative;right:auto;bottom:auto;margin-top:-80px}
  .kv-container{padding:40px 0 0;}
}
