.ogh-hero {
  position: relative;
  min-height: 29rem;
  display: flex;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: 8rem 3rem 4rem;
  background: #151922;
  color: var(--white);
}

.ogh-hero__media,
.ogh-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ogh-hero__media {
  z-index: -2;
  object-fit: cover;
  object-position: center 48%;
  animation: oghHeroScale 1.2s ease-out both;
}

.ogh-hero__overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgba(14, 21, 30, 0.96) 0%, rgba(14, 21, 30, 0.82) 44%, rgba(14, 21, 30, 0.3) 74%, rgba(14, 21, 30, 0.12) 100%);
}

.ogh-hero__inner {
  width: 100%;
}

.ogh-eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ogh-hero h1 {
  max-width: 42rem;
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-size: 3.7rem;
  font-weight: 400;
  line-height: 1;
  animation: oghFadeUp 0.7s ease 0.15s both;
}

.ogh-hero__inner > p:not(.ogh-eyebrow) {
  max-width: 41rem;
  margin-top: 1.15rem;
  color: rgba(255, 255, 255, 0.83);
  font-size: 0.92rem;
  line-height: 1.7;
  animation: oghFadeUp 0.7s ease 0.28s both;
}

.ogh-hero .btn-primary {
  margin-top: 1.45rem;
  animation: oghFadeUp 0.7s ease 0.4s both;
}

.ogh-status {
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
}

.ogh-status__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(8rem, 0.6fr)) minmax(15rem, 1.2fr);
  align-items: center;
  min-height: 5.5rem;
}

.ogh-status__inner > div {
  display: grid;
  gap: 0.1rem;
  padding: 0 1.2rem;
  border-right: 1px solid var(--gray-200);
}

.ogh-status__inner > div:first-child {
  padding-left: 0;
}

.ogh-status__inner span {
  color: var(--blue-dark);
  font-family: "DM Serif Display", serif;
  font-size: 1.35rem;
}

.ogh-status__inner small {
  color: var(--text-light);
  font-size: 0.63rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ogh-status__inner > p {
  justify-self: end;
  color: var(--text-mid);
  font-size: 0.74rem;
}

.ogh-opportunities {
  padding: 5.5rem 0;
  background: var(--off-white);
}

.ogh-heading {
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(24rem, 1fr);
  gap: 4rem;
  align-items: end;
}

.ogh-heading .section-lead {
  max-width: 43rem;
}

.ogh-grant-list {
  margin-top: 3rem;
  border-top: 1px solid var(--gray-200);
}

.ogh-grant {
  display: grid;
  grid-template-columns: 8.5rem minmax(24rem, 1fr) 10.5rem;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.ogh-grant__date {
  display: grid;
  gap: 0.45rem;
}

.ogh-grant__date time,
.ogh-grant__rolling {
  color: var(--blue-dark);
  font-family: "DM Serif Display", serif;
  font-size: 1.2rem;
  line-height: 1.1;
}

.ogh-grant__date > span:last-child {
  color: var(--text-light);
  font-size: 0.61rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ogh-grant__body h3 {
  margin: 0;
  color: var(--text-dark);
  font-family: "DM Serif Display", serif;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.25;
}

.ogh-grant__body > p {
  max-width: 48rem;
  margin-top: 0.65rem;
  color: var(--text-mid);
  font-size: 0.78rem;
  line-height: 1.65;
}

.ogh-grant dl {
  display: grid;
  grid-template-columns: minmax(12rem, 0.72fr) minmax(17rem, 1fr);
  gap: 1.5rem;
  margin: 1rem 0 0;
}

.ogh-grant dl > div {
  min-width: 0;
}

.ogh-grant dt {
  color: var(--text-dark);
  font-size: 0.63rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ogh-grant dd {
  margin: 0.3rem 0 0;
  color: var(--text-light);
  font-size: 0.7rem;
  line-height: 1.55;
}

.ogh-grant__link {
  display: inline-flex;
  gap: 0.4rem;
  justify-self: end;
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease, transform 0.2s ease;
}

.ogh-grant__link:hover,
.ogh-grant__link:focus-visible {
  color: var(--blue);
  text-decoration-color: currentColor;
  transform: translate(2px, -2px);
}

.ogh-rules {
  padding: 4.5rem 0;
  border-top: 4px solid var(--gold);
  background: var(--text-dark);
  color: var(--white);
}

.ogh-rules__inner {
  display: grid;
  grid-template-columns: minmax(16rem, 0.6fr) minmax(24rem, 1fr);
  gap: 5rem;
}

.ogh-rules h2,
.ogh-final h2 {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.15;
}

.ogh-rules ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ogh-rules li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  line-height: 1.55;
}

.ogh-rules li::before {
  content: "";
  position: absolute;
  top: 1.05rem;
  left: 0.1rem;
  width: 0.65rem;
  height: 0.34rem;
  border-bottom: 2px solid var(--gold-light);
  border-left: 2px solid var(--gold-light);
  transform: rotate(-45deg);
}

.ogh-final {
  padding: 5.5rem 0;
  background: var(--white);
}

.ogh-final__inner {
  max-width: 55rem;
  text-align: center;
}

.ogh-final__inner > p:not(.ogh-eyebrow) {
  max-width: 42rem;
  margin: 1rem auto 0;
  color: var(--text-mid);
  font-size: 0.82rem;
  line-height: 1.7;
}

.ogh-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.7rem;
}



.ogh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.45rem;
}

.ogh-hero__actions .btn-primary {
  margin-top: 0;
}

.ogh-hero__actions .btn-secondary {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(14, 21, 30, 0.62);
  color: var(--white);
}

.ogh-empty {
  padding: 2.5rem 0;
  color: var(--text-mid);
  line-height: 1.7;
}

@keyframes oghHeroScale {
  from { transform: scale(1.03); }
  to { transform: scale(1); }
}

@keyframes oghFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .ogh-hero {
    min-height: 27rem;
    padding: 7rem 1.5rem 3.5rem;
  }

  .ogh-status__inner {
    grid-template-columns: repeat(3, 1fr);
    padding: 1.3rem 0;
  }

  .ogh-status__inner > p {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 1rem;
  }

  .ogh-heading,
  .ogh-rules__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ogh-grant {
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: 1.5rem;
  }

  .ogh-grant__link {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .ogh-hero {
    min-height: 29rem;
    padding: 6rem 1rem 2.7rem;
  }

  .ogh-hero__media {
    object-position: 64% center;
  }

  .ogh-hero h1 {
    font-size: 2.45rem;
  }

  .ogh-hero__actions {
    display: grid;
  }

  .ogh-hero__actions a {
    justify-content: center;
    text-align: center;
  }

  .ogh-status__inner {
    grid-template-columns: 1fr;
  }

  .ogh-status__inner > div {
    grid-template-columns: 5rem 1fr;
    align-items: center;
    padding: 0.65rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--gray-200);
  }

  .ogh-status__inner > p {
    grid-column: 1;
  }

  .ogh-opportunities,
  .ogh-final {
    padding: 4rem 0;
  }

  .ogh-grant {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .ogh-grant dl {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .ogh-grant__link {
    grid-column: 1;
  }

  .ogh-rules h2,
  .ogh-final h2 {
    font-size: 1.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ogh-hero__media,
  .ogh-hero h1,
  .ogh-hero__inner > p,
  .ogh-hero .btn-primary {
    animation: none;
  }
}
