/* ================================
   ValueFirst Screen Layout Replica
   ================================ */

.cbdy-vfirst,
.cbdy-vfirst * { box-sizing: border-box; }

.cbdy-vfirst { background:#fff; color:#111; }
.cbdy-vfirst img { display:block !important; width:100% !important; height:auto !important; max-width:100% !important; }

/* container + title */
.cbdy-vfirst__container { max-width:1180px; margin:0 auto; padding:56px 18px 80px; }
.cbdy-vfirst__head { text-align:center; margin-bottom:24px; }
.cbdy-vfirst__title { margin:0; font-size:44px; line-height:1.08; letter-spacing:-0.02em; font-weight:500; }

/* timeline + center line */
.cbdy-vfirst__timeline { position:relative; padding-top:10px; }
.cbdy-vfirst__line {
  position:absolute;
  top:0; bottom:0;
  left:50%;
  width:2px;
  transform:translateX(-1px);
  background:#dfe6ff;
  z-index:0;
}

/* row grid: left | center | right */
.cbdy-vfirst__row{
  position:relative;
  display:grid;
  grid-template-columns: minmax(280px, 1fr) 100px minmax(280px, 1fr);
  gap:34px;
  align-items:center;
  padding:56px 0;
  z-index:1;
}

/* center node like screenshot */
.cbdy-vfirst__node{
  width:44px;
  height:44px;
  border-radius:999px;
  border:2px solid #2a66ff;
  background:#fff;
  margin:0 auto;
  position:relative;
  z-index:2;
  display:grid;
  place-items:center;
}

/* tiny document mark inside circle */
.cbdy-vfirst__nodeIcon{
  width:14px;
  height:16px;
  border:2px solid #2a66ff;
  border-radius:3px;
  position:relative;
}
.cbdy-vfirst__nodeIcon::after{
  content:"";
  position:absolute;
  right:-2px;
  top:-2px;
  width:6px;
  height:6px;
  background:#fff;
  border-left:2px solid #2a66ff;
  border-bottom:2px solid #2a66ff;
  transform: rotate(45deg);
}

/* columns positioning */
.cbdy-vfirst__col--left { grid-column:1; }
.cbdy-vfirst__node { grid-column:2; }
.cbdy-vfirst__col--right { grid-column:3; }

/* text */
.cbdy-vfirst__col--text { max-width:520px; }
.cbdy-vfirst__kicker{
  font-size:11px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:#7b8088;
  margin-bottom:10px;
}
.cbdy-vfirst__h2{
  margin:0 0 14px;
  font-size:40px;
  line-height:1.05;
  letter-spacing:-0.02em;
  font-weight:500;
}
.cbdy-vfirst__link{ color:#111; text-decoration:none; }
.cbdy-vfirst__link:hover{ text-decoration:underline; }
.cbdy-vfirst__summary{
  margin:0 0 18px;
  font-size:14px;
  line-height:1.9;
  color:#3b3f46;
}

/* CTA like screenshot: text + small circled arrow */
.cbdy-vfirst__cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  color:#111;
  text-decoration:none;
}
.cbdy-vfirst__cta:hover{ opacity:0.85; }

.cbdy-vfirst__ctaMark{
  width:22px; height:22px;
  border-radius:999px;
  border:1.5px solid #111;
  position:relative;
  display:inline-block;
}
.cbdy-vfirst__ctaMark::after{
  content:"";
  width:8px; height:8px;
  border-right:2px solid #111;
  border-top:2px solid #111;
  transform:rotate(45deg);
  position:absolute;
  top:6px; left:6px;
}

/* cover card + parallelogram background */
.cbdy-vfirst__col--cover{
  display:flex;
}
.cbdy-vfirst__row:not(.cbdy-vfirst__row--alt) .cbdy-vfirst__col--cover{ justify-content:flex-start; }
.cbdy-vfirst__row.cbdy-vfirst__row--alt .cbdy-vfirst__col--cover{ justify-content:flex-start; }

.cbdy-vfirst__coverWrap{
  position:relative;
  width:320px;
  max-width:100%;
  border-radius:18px;
}

/* parallelogram background */
.cbdy-vfirst__coverWrap::before{
  content:"";
  position:absolute;
  z-index:-1;
  width:140%;
  height:70%;
  left:-20%;
  top:16%;
  border-radius:18px;
  opacity:0.55;
  transform:skewX(-12deg);
}

/* accent rotation */
.cbdy-vfirst__coverWrap--a0::before{ background:#bfc8ff; } /* bluish */
.cbdy-vfirst__coverWrap--a1::before{ background:#f3e4b4; } /* pale yellow */
.cbdy-vfirst__coverWrap--a2::before{ background:#f4c2b7; } /* peach */

/* actual cover image */
.cbdy-vfirst__coverImg{
  border-radius:16px !important;
  box-shadow:0 16px 44px rgba(0,0,0,0.10) !important;
  background:#f4f6f8;
}

/* empty cover */
.cbdy-vfirst__coverEmpty{
  width:100%;
  min-height:420px;
  border-radius:16px;
  background:#f4f6f8;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#7b8088;
  font-size:12px;
  box-shadow:0 16px 44px rgba(0,0,0,0.08);
  padding:16px;
  text-align:center;
}

/* pagination */
.cbdy-vfirst__pagination{
  display:flex;
  gap:10px;
  justify-content:center;
  margin-top:34px;
  flex-wrap:wrap;
}
.cbdy-vfirst__page{
  display:inline-block;
  padding:10px 14px;
  border:1px solid #ddd;
  border-radius:12px;
  text-decoration:none;
  color:#111;
  font-size:14px;
}
.cbdy-vfirst__page.is-active{
  background:#111;
  border-color:#111;
  color:#fff;
}

/* Mobile: line shifts left, stacks content like reference */
@media (max-width: 980px){
  .cbdy-vfirst__title{ font-size:36px; }

  .cbdy-vfirst__line{
    left:22px;
    transform:none;
  }

  .cbdy-vfirst__row{
    grid-template-columns: 64px 1fr;
    gap:16px;
    padding:30px 0;
  }

  .cbdy-vfirst__node{
    grid-column:1;
    margin:0;
  }

  .cbdy-vfirst__col--left,
  .cbdy-vfirst__col--right{
    grid-column:2;
  }

  .cbdy-vfirst__h2{ font-size:30px; }

  .cbdy-vfirst__coverWrap{
    margin-top:16px;
    width:100%;
    max-width:420px;
  }

  .cbdy-vfirst__coverWrap::before{
    width:120%;
    left:-10%;
  }
}
