.grants-hero {
  min-height: 620px;
  padding: 96px 0 72px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.96) 0%, rgba(246,249,255,0.96) 58%, rgba(230,240,255,0.9) 100%),
    #f6f8fc;
  border-bottom: 1px solid #dbe3f0;
  color: #101828;
}

.grants-hero-inner {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: center;
}

.grants-brand-stack {
  display: grid;
  gap: 16px;
}

.grants-brand-panel {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid #d7dfec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(20, 44, 84, 0.12);
}

.grants-scheme-name {
  margin: 0;
  color: #0054d5;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.1;
}

.grants-brand-logo {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  max-height: 120px;
  object-fit: contain;
  object-position: left center;
}

.grants-brand-text {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #e5e9f2;
  color: #344054;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.grants-hero-copy {
  min-width: 0;
}

.grants-program {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #b7d0ff;
  border-radius: 8px;
  background: #eaf2ff;
  color: #0054d5;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.grants-hero h1 {
  margin: 0;
  color: #101828;
  font-size: clamp(48px, 8vw, 86px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.grants-lead {
  margin: 22px 0 0;
  max-width: 720px;
  color: #344054;
  font-size: clamp(20px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.28;
}

.grants-page {
  background: #f2f4f7;
  padding: 78px 0 108px;
}

.grants-project-card {
  padding: 0;
  margin: 0 0 56px;
}

.grants-section-title {
  margin: 0;
  color: #151327;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

.grants-project-head {
  max-width: 940px;
  margin-bottom: 28px;
}

.grants-project-program {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid #b7d0ff;
  border-radius: 8px;
  background: #fff;
  color: #0054d5;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.grants-project-content {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 28px;
}

.grants-summary-panel,
.grants-description-panel {
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #fff;
}

.grants-summary-panel {
  padding: 22px;
}

.grants-description-panel {
  padding: 28px;
}

.grants-panel-title {
  margin: 0 0 20px;
  color: #151327;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.grants-summary-grid {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.grants-summary-item {
  min-height: 0;
  padding: 18px;
  border: 1px solid #e3e7ef;
  border-radius: 8px;
  background: #f8faff;
}

.grants-summary-item dt {
  margin: 0 0 12px;
  color: #667085;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
}

.grants-summary-item dd {
  margin: 0;
  color: #101828;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.24;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.grants-description-panel {
  color: #2d3140;
}

.grants-description-panel p {
  margin: 0 0 22px;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.58;
}

.grants-description-panel p:last-child {
  margin-bottom: 0;
}

.grants-detail-block {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #e3e7ef;
}

.grants-detail-block h4 {
  margin: 0 0 10px;
  color: #151327;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.24;
}

.grants-detail-block ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.grants-detail-block li {
  margin: 0;
  color: #2d3140;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .grants-hero {
    min-height: auto;
    padding: 96px 0 54px;
  }

  .grants-hero-inner,
  .grants-project-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .grants-brand-panel {
    padding: 20px;
  }

  .grants-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .grants-hero {
    padding-top: 88px;
  }

  .grants-brand-panel {
    gap: 14px;
    padding: 16px;
  }

  .grants-brand-text {
    padding-top: 14px;
    font-size: 14px;
  }

  .grants-page {
    padding: 56px 0 72px;
  }

  .grants-project-card {
    margin-bottom: 40px;
  }

  .grants-summary-panel,
  .grants-description-panel {
    padding: 18px;
  }
}
