/* home-network.css — current page styles and interactive states. */

.university-network-section {
  padding: 84px max(6.5%,calc((100vw - 1260px)/2));
  background: #082f60;
  color: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 110px;
}

.university-network-section:before {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: 650px;
  height: 650px;
  border: 1px solid #ffffff0c;
  border-radius: 50%;
  right: -380px;
  top: -330px;
  box-shadow: 0 0 0 70px #ffffff03,0 0 0 140px #ffffff03;
}

.network-heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 34px;
}

.network-eyebrow {
  font: 800 10px/1.6 var(--man);
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #f4cf6a;
  margin: 0 0 15px;
}

.network-heading h2 {
  font: 400 clamp(36px,3.7vw,55px)/1.12 var(--out);
  color: #fff;
  margin: 0;
  letter-spacing: -.03em;
}

.network-heading h2 em {
  font-style: normal;
  color: #8bdfd7;
}

.network-intro {
  max-width: 420px;
  justify-self: end;
}

.network-total {
  display: inline-block;
  font: 700 11px/1.5 var(--man);
  letter-spacing: .04em;
  padding: 7px 12px;
  border: 1px solid #ffffff30;
  border-radius: 30px;
  color: #d9f2f0;
}

.network-intro>p {
  font-size: 14px;
  line-height: 1.8;
  color: #c9dbee;
  margin: 14px 0;
}

.network-directory-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  border-bottom: 1px solid #7abbbd;
  padding-bottom: 5px;
}

.network-directory-link span {
  color: #80ddd4;
}

.network-destination-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
}

.network-destination-card {
  background: #fff;
  color: #142438;
  border: 1px solid #dce7ef;
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform .2s,box-shadow .2s;
}

.network-destination-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px #00162e33;
}

.network-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 22px;
  margin-bottom: 20px;
  border-bottom: 1px solid #dce7ef;
}

.network-country-label {
  font: 700 10px/1.6 var(--man);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #52677d;
  margin: 0 0 8px;
}

.network-country-flag {
  flex: none;
  display: block;
  width: 48px;
  height: 32px;
  object-fit: cover;
  border: 1px solid #dce7ef;
  border-radius: 5px;
  box-shadow: 0 2px 6px #073b7a0d;
}

.network-destination-card h3 {
  font: 800 26px/1.25 var(--man);
  color: #073b7a;
  margin: 0;
  letter-spacing: -.025em;
}

.network-list-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 17px;
}

.network-list-heading h4 {
  font: 700 12px/1.6 var(--man);
  color: #344d65;
  margin: 0;
}

.network-university-count {
  display: grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  font: 800 12px/1 var(--man);
  color: #087579;
  background: #e9f4f5;
  border-radius: 6px;
  padding: 0 6px;
}

.network-destination-card ol {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.network-destination-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font: 600 14px/1.65 var(--man);
  color: #263f55;
}

.network-list-number {
  flex: none;
  font: 700 10px/1.6 var(--man);
  background: #f1f5f9;
  color: #52677d;
  border-radius: 5px;
  min-width: 25px;
  text-align: center;
  padding: 4px 3px;
  margin-top: 1px;
}

.network-destination-card>a {
  border: 1px solid #d0e2e9;
  background: #eef6f8;
  border-radius: 7px;
  padding: 13px 14px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font: 700 12px/1.6 var(--man);
  color: #073b7a;
  min-height: 48px;
}

.network-destination-card>a:hover {
  background: #073b7a;
  color: #fff;
  border-color: #073b7a;
}

.network-destination-card>a>span:last-child {
  font-size: 19px;
  flex: none;
}

.network-counselling-card {
  padding: 25px;
  background: linear-gradient(135deg,#0d4977,#0a596a);
  border: 1px solid #75b6bd55;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
}

.network-advice-icon {
  position: absolute;
  right: 23px;
  top: 20px;
  font-size: 27px;
  color: #8bdfd7;
}

.network-counselling-card .network-eyebrow {
  font-size: 9px;
  margin: 8px 0 18px;
  color: #9ce7df;
}

.network-counselling-card h3 {
  font: 400 30px/1.17 var(--out);
  color: #fff;
  margin: 0 0 15px;
}

.network-counselling-card>p:not(.network-eyebrow) {
  font-size: 13px;
  line-height: 1.8;
  color: #d4e9ee;
  margin: 0 0 22px;
  max-width: 270px;
}

.network-counselling-card>a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  background: #fff;
  border-radius: 6px;
  color: #073b7a;
  font-size: 12px;
  font-weight: 800;
  padding: 12px 15px;
  min-height: 46px;
}

.network-footnote {
  font-size: 11px;
  line-height: 1.8;
  color: #aec9df;
  margin: 25px 0 0;
  max-width: 800px;
}

@media(max-width:1000px) {
  .university-network-section {
    padding: 65px 7%;
  }

  .network-heading {
    gap: 35px;
  }

  .network-destination-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media(max-width:600px) {
  .university-network-section {
    padding: 50px 7%;
  }

  .network-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 27px;
  }

  .network-intro {
    max-width: none;
    justify-self: start;
  }

  .network-heading h2 {
    font-size: 38px;
  }

  .network-destination-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .network-destination-card,
  .network-counselling-card {
    padding: 24px;
  }

  .network-destination-card li {
    font-size: 14px;
  }

  .network-destination-card>a {
    font-size: 14px;
    min-height: 46px;
  }

  .network-counselling-card>a {
    font-size: 14px;
  }

  .network-university-count {
    font-size: 12px;
  }

  .network-footnote {
    font-size: 12px;
  }
}
