.landing-page .institute-detail-page-wrap {
  padding-top: 54px;
  background: linear-gradient(180deg, #f3f8f8 0%, #f7fafb 100%);
}

.landing-page .institute-cover-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(48, 142, 135, 0.18);
  background: #e8efef;
  min-height: 260px;
  position: relative;
}

.landing-page .institute-cover-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.landing-page .institute-cover-fallback {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.5rem, 2vw + 1rem, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #f4ffff;
  text-align: center;
  padding: 18px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 38%),
    linear-gradient(140deg, #2b7f79 0%, #1f6360 48%, #113f46 100%);
}

.landing-page .institute-profile-bar {
  margin: -58px 24px 0;
  padding: 12px 18px 18px;
  border-radius: 16px;
  border: 1px solid rgba(48, 142, 135, 0.2);
  box-shadow: 0 12px 24px rgba(24, 68, 64, 0.12);
  background: #ffffff;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  gap: 16px;
}

.landing-page .institute-profile-logo {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 22px rgba(20, 56, 53, 0.2);
  background: #edf4f4;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-page .institute-profile-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.landing-page .institute-profile-initial {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #308e87 0%, #236b67 100%);
}

.landing-page .institute-profile-content {
  min-width: 0;
  width: 100%;
}

.landing-page .institute-profile-content h1,
.landing-page .institute-profile-content .h1 {
  margin-bottom: 6px;
  font-size: clamp(1.35rem, 1.2vw + 1rem, 2rem);
  color: #1d3235;
}

.landing-page .institute-profile-meta {
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #60707d;
  font-size: 0.92rem;
}

.landing-page .institute-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #9cb2b1;
}

.landing-page .institute-profile-actions .btn {
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
}

.landing-page .institute-detail-page {
  padding-top: 24px;
}

.landing-page .institute-sidebar {
  top: 110px;
  z-index: 5 !important;
  border-radius: 14px;
  border: 1px solid rgba(48, 142, 135, 0.15);
}

.landing-page .institute-sidebar .section-link {
  border: 0;
  border-radius: 10px;
  margin-bottom: 6px;
  font-weight: 600;
  color: #2a3f46;
  padding: 12px 12px;
  background: transparent;
}

.landing-page .institute-sidebar .section-link.active {
  background: linear-gradient(135deg, #308e87 0%, #236b67 100%);
  color: #ffffff;
}

.landing-page .institute-sidebar .section-link:last-child {
  margin-bottom: 0;
}

.landing-page .institute-sidebar .section-link .fa-angle-right {
  font-size: 13px;
}

.landing-page .institute-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.landing-page .institute-stat {
  border-radius: 10px;
  background: #f5faf9;
  border: 1px solid rgba(48, 142, 135, 0.12);
  text-align: center;
  padding: 8px 6px;
}

.landing-page .institute-stat strong {
  display: block;
  color: #215e5a;
  font-size: 1rem;
  line-height: 1.1;
}

.landing-page .institute-stat span {
  display: block;
  color: #6a7680;
  font-size: 11px;
  line-height: 1.1;
}

.landing-page .institute-main-card {
  border-radius: 16px;
  border: 1px solid rgba(48, 142, 135, 0.14);
}

.landing-page .institute-main-card .section-title {
  margin-bottom: 16px;
  color: #1f3538;
}

.landing-page .institute-info-item {
  border: 1px solid rgba(48, 142, 135, 0.14);
  border-radius: 12px;
  background: #fbfdfd;
  padding: 12px 14px;
  height: 100%;
}

.landing-page .institute-info-item h6,
.landing-page .institute-info-item .h6 {
  margin-bottom: 6px;
  color: #2a4a4e;
}

.landing-page .institute-info-item p {
  margin-bottom: 0;
  color: #5d6972;
  line-height: 1.5;
}

.landing-page .institute-block-card {
  border: 1px solid rgba(48, 142, 135, 0.14);
  border-radius: 12px;
  background: #fbfdfd;
  padding: 14px;
  height: 100%;
}

.landing-page .institute-block-card h5,
.landing-page .institute-block-card .h5 {
  margin-bottom: 5px;
  color: #213a3f;
}

.landing-page .institute-empty-state {
  border: 1px dashed rgba(48, 142, 135, 0.36);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  background: rgba(48, 142, 135, 0.05);
}

.landing-page .institute-program-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #5f6e78;
  border-top: 0;
  background: #f7fafa;
}

.landing-page .institute-program-table td {
  color: #32444d;
  vertical-align: middle;
}

@media (max-width: 991px) {
  .landing-page .institute-profile-bar {
    margin: -44px 14px 0;
    padding: 10px 12px 14px;
    align-items: center;
    gap: 10px;
  }

  .landing-page .institute-profile-logo {
    width: 96px;
    height: 96px;
  }

  .landing-page .institute-profile-content h1,
  .landing-page .institute-profile-content .h1 {
    font-size: 1.3rem;
    margin-bottom: 4px;
  }

  .landing-page .institute-profile-actions {
    margin-top: 4px;
  }

  .landing-page .institute-sidebar {
    top: auto;
    position: relative !important;
  }
}

@media (max-width: 575px) {
  .landing-page .institute-cover-card img,
  .landing-page .institute-cover-fallback {
    height: 210px;
    min-height: 210px;
  }

  .landing-page .institute-profile-meta {
    font-size: 0.82rem;
    gap: 6px;
  }

  .landing-page .institute-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
}
