/* Neutralize the theme (Astra) boxed container / sidebar so the
   home page can render edge-to-edge. Scoped to pages that contain
   the home shortcode only, so other pages are unaffected. */
.ast-container:has(.ykp-home),
.ast-container-fluid:has(.ykp-home),
.site-content:has(.ykp-home),
.ast-article-single:has(.ykp-home),
.entry-content:has(.ykp-home){
  max-width:100% !important;
  width:100% !important;
  padding-left:0 !important;
  padding-right:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

#primary:has(.ykp-home),
.content-area:has(.ykp-home){
  width:100% !important;
  max-width:100% !important;
  flex:1 1 100% !important;
  padding:0 !important;
  margin:0 !important;
}

.ast-container:has(.ykp-home) #secondary,
.site-content:has(.ykp-home) #secondary{
  display:none !important;
}

.ykp-home{
  width:100vw;
  max-width:100vw;
  position:relative;
  /* left:50%; */
  margin-left:-50vw;
  margin-right:-50vw;
  overflow-x:hidden;
  background:#fff;
  color:#1e293b;
  font-size:15px;
}

.ykp-home-container{
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}

/* ---------- Buttons ---------- */
.ykp-home-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:14px 24px;
  border-radius:10px;
  font-size:15px;
  font-weight:700;
  text-decoration:none !important;
  border:1px solid transparent;
  cursor:pointer;
  transition:background .15s,color .15s,border-color .15s,transform .05s;
}

.ykp-home-btn svg{
  width:18px;
  height:18px;
}

.ykp-home-btn:active{
  transform:translateY(1px);
}

.ykp-home-btn-primary{
  background:var(--ykp-orange);
  color:#fff;
}

.ykp-home-btn-primary:hover{
  background:#e06c05;
  color:#fff !important;
}

.ykp-home-btn-outline{
  background:#fff;
  color:var(--ykp-primary);
  border-color:#cbd5e1;
}

.ykp-home-btn-outline:hover{
  border-color:var(--ykp-primary);
  background:var(--ykp-bg);
}

.ykp-home-btn-light{
  background:#fff;
  color:var(--ykp-primary);
}

.ykp-home-btn-light:hover{
  background:#eef2fb;
}

/* ---------- Hero ---------- */
.ykp-home-hero{
  position:relative;
  padding:80px 0 90px;
  overflow:hidden;
  background:linear-gradient(120deg,#f4f7fc 0%,#eaf0fa 100%);
}

.ykp-home-hero-bg{
  position:absolute;
  inset:0 0 0 48%;
  z-index:0;
}

.ykp-home-hero-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#eef2fb 0%,rgba(238,242,251,.55) 30%,rgba(238,242,251,0) 65%);
  z-index:1;
}

.ykp-home-hero-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.ykp-home-hero .ykp-home-container{
  position:relative;
  z-index:2;
}

.ykp-home-hero-content{
  max-width:620px;
}

.ykp-home-eyebrow{
  display:inline-block;
  padding:6px 14px;
  margin-bottom:18px;
  border-radius:999px;
  background:rgba(18,61,139,.1);
  color:var(--ykp-primary);
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.02em;
}

.ykp-home-hero-content h1{
  margin:0 0 18px;
  font-size:46px;
  line-height:1.12;
  font-weight:800;
  color:var(--ykp-primary);
}

.ykp-home-hero-sub{
  margin:0 0 30px;
  font-size:16.5px;
  line-height:1.6;
  color:#475569;
  max-width:540px;
}

.ykp-home-hero-cta{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-bottom:34px;
}

.ykp-home-trust{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(2,max-content);
  gap:12px 32px;
}

.ykp-home-trust li{
  display:flex;
  align-items:center;
  gap:9px;
  font-size:14px;
  font-weight:600;
  color:#334155;
}

.ykp-home-trust svg{
  width:18px;
  height:18px;
  padding:3px;
  border-radius:50%;
  background:rgba(22,163,74,.14);
  color:var(--ykp-success);
  flex:0 0 auto;
}

/* ---------- Section ---------- */
.ykp-home-section{
  padding:70px 0;
}

.ykp-home-section-alt{
  background:var(--ykp-bg);
}

.ykp-home-head{
  text-align:center;
  max-width:620px;
  margin:0 auto 44px;
}

.ykp-home-head h2{
  margin:0 0 12px;
  font-size:32px;
  font-weight:800;
  color:var(--ykp-primary);
}

.ykp-home-head p{
  margin:0;
  font-size:15.5px;
  line-height:1.6;
  color:#64748b;
}

/* ---------- Benefits ---------- */
.ykp-home-benefits{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}

.ykp-home-benefit{
  background:#fff;
  border:1px solid var(--ykp-border);
  border-radius:16px;
  padding:28px 24px;
  text-align:center;
  box-shadow:0 6px 18px rgba(15,23,42,.04);
  transition:transform .15s,box-shadow .15s;
}

.ykp-home-benefit:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 28px rgba(15,23,42,.1);
}

.ykp-home-benefit-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:56px;
  height:56px;
  margin-bottom:16px;
  border-radius:14px;
  background:rgba(18,61,139,.08);
  color:var(--ykp-primary);
}

.ykp-home-benefit-icon svg{
  width:26px;
  height:26px;
}

.ykp-home-benefit h3{
  margin:0 0 8px;
  font-size:17px;
  font-weight:700;
  color:#1e293b;
}

.ykp-home-benefit p{
  margin:0;
  font-size:14px;
  line-height:1.55;
  color:#64748b;
}

/* ---------- Process ---------- */
.ykp-home-process{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  gap:8px;
}

.ykp-home-step{
  flex:1;
  max-width:230px;
  text-align:center;
}

.ykp-home-step-num{
  display:flex;
  align-items:center;
  justify-content:center;
  width:54px;
  height:54px;
  margin:0 auto 16px;
  border-radius:50%;
  background:var(--ykp-primary);
  color:#fff;
  font-size:20px;
  font-weight:800;
  box-shadow:0 8px 18px rgba(18,61,139,.25);
}

.ykp-home-step h4{
  margin:0 0 7px;
  font-size:16px;
  font-weight:700;
  color:#1e293b;
}

.ykp-home-step p{
  margin:0;
  font-size:13.5px;
  line-height:1.5;
  color:#64748b;
}

.ykp-home-step-line{
  flex:0 0 auto;
  width:56px;
  height:0;
  margin-top:27px;
  border-top:2px dashed #cbd5e1;
}

/* ---------- Courses ---------- */
.ykp-home-courses{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.ykp-home-course{
  display:flex;
  align-items:center;
  gap:16px;
  background:#fff;
  border:1px solid var(--ykp-border);
  border-radius:14px;
  padding:22px;
  box-shadow:0 6px 18px rgba(15,23,42,.04);
  transition:transform .15s,box-shadow .15s;
}

.ykp-home-course:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(15,23,42,.1);
}

.ykp-home-course-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:50px;
  height:50px;
  flex:0 0 auto;
  border-radius:12px;
  background:rgba(249,125,18,.12);
  color:var(--ykp-orange);
}

.ykp-home-course-icon svg{
  width:24px;
  height:24px;
}

.ykp-home-course-meta h3{
  margin:0 0 3px;
  font-size:16px;
  font-weight:700;
  color:#1e293b;
}

.ykp-home-course-tag{
  font-size:13px;
  color:#64748b;
}

.ykp-home-courses-action{
  text-align:center;
  margin-top:38px;
}

/* ---------- EOI CTA ---------- */
.ykp-home-eoi-cta{
  max-width:680px;
  margin:0 auto;
  text-align:center;
  background:#fff;
  border:1px solid var(--ykp-border);
  border-radius:18px;
  padding:48px 40px;
  box-shadow:0 10px 30px rgba(15,23,42,.06);
}

.ykp-home-eoi-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:62px;
  height:62px;
  margin-bottom:20px;
  border-radius:16px;
  background:rgba(249,125,18,.12);
  color:var(--ykp-orange);
}

.ykp-home-eoi-icon svg{
  width:30px;
  height:30px;
}

.ykp-home-eoi-cta h2{
  margin:0 0 12px;
  font-size:28px;
  font-weight:800;
  color:var(--ykp-primary);
}

.ykp-home-eoi-cta p{
  margin:0 0 28px;
  font-size:15.5px;
  line-height:1.6;
  color:#64748b;
}

/* ---------- Login CTA ---------- */
.ykp-home-login{
  padding:0 0 70px;
}

.ykp-home-login-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  padding:44px 48px;
  border-radius:20px;
  background:
    radial-gradient(circle at 100% 0%,rgba(249,125,18,.18),transparent 40%),
    linear-gradient(120deg,var(--ykp-primary) 0%,var(--ykp-primary-dark) 100%);
  color:#fff;
}

.ykp-home-login-text h2{
  margin:0 0 10px;
  font-size:26px;
  font-weight:800;
  color:#fff;
}

.ykp-home-login-text p{
  margin:0;
  font-size:15px;
  line-height:1.6;
  color:rgba(255,255,255,.85);
  max-width:640px;
}

.ykp-home-login-card .ykp-home-btn{
  flex:0 0 auto;
}

/* ---------- Responsive ---------- */
@media(max-width:992px){

  .ykp-home-hero{
    padding:60px 0;
  }

  .ykp-home-hero-bg{
    inset:0;
    opacity:.16;
  }

  .ykp-home-hero-bg::before{
    background:rgba(238,242,251,.35);
  }

  .ykp-home-hero-content h1{
    font-size:38px;
  }

  .ykp-home-benefits{
    grid-template-columns:1fr 1fr;
  }

  .ykp-home-courses{
    grid-template-columns:1fr 1fr;
  }

  .ykp-home-process{
    flex-wrap:wrap;
    gap:30px;
  }

  .ykp-home-step{
    flex:0 0 40%;
  }

  .ykp-home-step-line{
    display:none;
  }

  .ykp-home-login-card{
    flex-direction:column;
    align-items:flex-start;
    text-align:left;
  }

}

@media(max-width:600px){

  .ykp-home-hero-content h1{
    font-size:30px;
  }

  .ykp-home-trust{
    grid-template-columns:1fr;
  }

  .ykp-home-benefits,
  .ykp-home-courses{
    grid-template-columns:1fr;
  }

  .ykp-home-step{
    flex:0 0 100%;
  }

  .ykp-home-head h2{
    font-size:26px;
  }

  .ykp-home-eoi-card{
    padding:24px;
  }

  .ykp-home-login-card{
    padding:32px 24px;
  }

}
