
/* V81 — Homepage GRC / Assessment section correction */

.home-portal-section{
  padding-top: 38px !important;
  padding-bottom: 78px !important;
  background: #f5f8fb;
}

.home-portal-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: center;
}

.home-portal-panel,
.home-assessment-panel{
  border-radius: 26px;
  border: 1px solid #d9e4ec;
  box-shadow: 0 16px 36px rgba(14, 42, 66, .06);
}

.home-portal-panel{
  padding: 34px 30px;
  background:
    radial-gradient(circle at 82% 18%, rgba(100, 199, 241, .14), transparent 32%),
    linear-gradient(180deg, #ffffff, #f7fbfe);
}

.home-portal-panel h2,
.home-assessment-panel h2{
  margin-top: 16px;
  color: #17384e;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.1;
}

.home-portal-intro{
  margin-top: 14px;
  color: #607a8e;
  font-size: 1rem;
  line-height: 1.72;
  max-width: 56ch;
}

.home-portal-stack{
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.home-portal-item{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid #dce6ee;
  background: rgba(255,255,255,.82);
}

.home-portal-num{
  min-width: 34px;
  color: #0a57b7;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.2;
}

.home-portal-item strong{
  display: block;
  color: #17384e;
  font-size: 1.1rem;
  line-height: 1.3;
}

.home-portal-item span{
  display: block;
  margin-top: 6px;
  color: #657f92;
  font-size: .94rem;
  line-height: 1.58;
}

.home-assessment-panel{
  padding: 32px 30px;
  background: #ffffff;
}

.home-assessment-panel .lead{
  margin-top: 16px;
  color: #617b90 !important;
  max-width: 52ch;
  font-size: 1.03rem;
  line-height: 1.75;
}

.home-assessment-points{
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.home-assessment-point{
  position: relative;
  padding-left: 24px;
  color: #17384e;
  font-weight: 650;
  line-height: 1.45;
}

.home-assessment-point::before{
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3eb4e5;
  box-shadow: 0 0 0 4px rgba(62, 180, 229, .13);
}

.home-assessment-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.home-assessment-actions .btn{
  min-height: 50px;
  padding: 0 20px;
}

.home-btn-secondary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid #c8d7e3;
  background: #ffffff;
  color: #17384e !important;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(15, 48, 74, .04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-btn-secondary:hover{
  transform: translateY(-2px);
  border-color: #9ec5df;
  box-shadow: 0 10px 18px rgba(15, 48, 74, .08);
}

@media (max-width: 980px){
  .home-portal-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  .home-portal-section{
    padding-top: 24px !important;
    padding-bottom: 58px !important;
  }

  .home-portal-panel,
  .home-assessment-panel{
    padding: 24px 20px;
  }

  .home-portal-panel h2,
  .home-assessment-panel h2{
    font-size: clamp(1.8rem, 8vw, 2.15rem);
  }

  .home-assessment-actions{
    flex-direction: column;
  }

  .home-assessment-actions .btn,
  .home-btn-secondary{
    width: 100%;
  }
}
