/* =========================================================
   HOME ONLY — extracted essentials from Portal.css
   + What's Included layout
   Scope: .home-portal ...
   ========================================================= */

.home-portal{
  --card-bg: #ffffff;
  --navy: #253551;
  --navy-soft: #22345a;
  --text: #1b2130;
  --muted: #6c7485;
  --radius-lg: 18px;

  width: 100%;
  color: var(--text);
  font-size: clamp(17px, 1.15vw, 19px);
  line-height: 1.75;

  background: transparent; /* you wanted no page background */
}

.home-portal *{ box-sizing: border-box; }

/* --- Container (from Portal.css essentials) --- */
.home-portal .page{
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 640px){
  .home-portal .page{
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* --- Grid + Cards (from Portal.css essentials) --- */
.home-portal .card-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 900px){
  .home-portal .card-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .home-portal .card-grid{ grid-template-columns: 1fr; }
}

.home-portal .card{
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 34px 28px 30px;
  border: 1px solid rgba(148,163,184,0.18);
  box-shadow: 0 12px 30px rgba(15,23,42,0.06);

  display: flex;
  flex-direction: column;
  gap: 16px;

  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
  position: relative; /* needed for overlay link */
}

.home-portal .card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15,23,42,0.14);
  border-color: rgba(37,99,235,0.35);
}

.home-portal .card-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  min-height: 56px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148,163,184,0.16);
}

.home-portal .card-title{
  margin: 0;
  color: var(--navy);
  font-weight: 750;
  font-size: 1.15rem;
  line-height: 1.18;
}

.home-portal .card-body{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  flex: 1; /* helps even spacing */
}

/* =========================================================
   WHAT'S INCLUDED (your current <style> translated to home-only)
   ========================================================= */

/* Full-width section */
.home-portal .sca-included{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 640px){
  .home-portal .sca-included{
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Heading */
.home-portal .sca-included h1{
  text-align: center;
  margin: 0 0 60px;
  color: #253551;
}

/* Grid: 5 across */
.home-portal .sca-included-grid{
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

/* Responsive columns for included grid */
@media (max-width: 1100px){
  .home-portal .sca-included-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px){
  .home-portal .sca-included-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .home-portal .sca-included-grid{ grid-template-columns: 1fr; }
}

/* Whole-card clickable overlay */
.home-portal .sca-included-card{ position: relative; }

.home-portal .sca-card-link{
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
}

/* Keep content visible */
.home-portal .sca-included .card-head,
.home-portal .sca-included .card-body{
  position: relative;
  z-index: 2;
}

/* Fixed height so ALL cards match across the whole grid */
@media (min-width: 1101px){
  .home-portal .sca-included-grid .card{
    height: 360px;
    padding: 22px 18px 18px;
  }
}
@media (max-width: 1100px){
  .home-portal .sca-included-grid .card{
    height: 360px;
    padding: 22px 18px 18px;
  }
}
@media (max-width: 900px){
  .home-portal .sca-included-grid .card{
    height: 340px;
  }
}
@media (max-width: 640px){
  .home-portal .sca-included-grid .card{
    height: auto;
    min-height: 260px;
  }
}

/* Icon ABOVE title + no box */
.home-portal .sca-included .card-head{
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;

  border-bottom: none;
  padding-bottom: 0;
  min-height: auto;
}

.home-portal .sca-included .card-icon{
  order: -1;
  margin-bottom: 28px;

  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  transform: none;
}

.home-portal .sca-included .card-icon i{
  color: #253551;
  font-size: clamp(56px, 5.2vw, 96px);
  line-height: 1;
}

.home-portal .sca-included .card-title{
  text-align: center;
}

.home-portal .sca-included .card-body{
  text-align: left;
}
