/* Navigation for project scenarios and purchasing resources. */
.editorial-scenarios,
.editorial-resources {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 42px;
  background: #cfdee3;
  border: 1px solid #cfdee3;
  border-radius: 8px;
  overflow: hidden;
}
.editorial-resources {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.editorial-scenarios a,
.editorial-resources a {
  position: relative;
  display: flex;
  min-height: 116px;
  flex-direction: column;
  gap: 8px;
  padding: 24px 26px;
  background: #f6f9fa;
  transition: background-color .16s, color .16s;
}
.editorial-scenarios a:hover,
.editorial-resources a:hover {
  background: #e8f1f2;
  color: #174e55;
}
.editorial-scenarios strong,
.editorial-resources strong {
  color: #132e3b;
  font-size: 17px;
  font-weight: 650;
}
.editorial-scenarios span,
.editorial-resources span {
  color: #526d7b;
  font-size: 13px;
  line-height: 1.6;
}
.editorial-resources span[aria-hidden] {
  position: absolute;
  top: 22px;
  right: 24px;
  color: #ad4d18;
  font-size: 16px;
}
.inquiry-form .inquiry-group-heading {
  margin: 2px 0 16px;
  color: #193747;
  font-size: 19px;
  line-height: 1.45;
}
.inquiry-form .inquiry-prefill {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-left: 3px solid #248477;
  background: #e4f2ef;
  color: #1e514d;
  font-size: 14px;
  line-height: 1.6;
}
.eos-stage {
  display: inline-block;
  color: #526d7b;
  font-weight: 650;
}
.eos-stage-upcoming { color: #08664e; }
.eos-stage-pending { color: #8d4b1b; }
.eos-list tr[data-eos-stage="upcoming"] td:nth-child(3) time {
  border-bottom: 2px solid #58aa93;
}
.eos-list td:last-child a {
  color: #195d6a;
  font-weight: 650;
}
@media (max-width: 780px) {
  .editorial-scenarios,
  .editorial-resources {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 28px;
  }
  .editorial-scenarios a,
  .editorial-resources a {
    min-height: 102px;
    padding: 19px 17px;
  }
  .editorial-scenarios strong,
  .editorial-resources strong { font-size: 15px; }
  .editorial-resources span[aria-hidden] { top: 17px; right: 15px; }
  .eos-list tr[data-eos-stage] {
    padding: 17px 12px;
    margin-bottom: 12px;
    border: 1px solid #d7e3e6;
    border-radius: 8px;
    background: #fff;
  }
  .eos-list tr[data-eos-stage="upcoming"] { border-left: 4px solid #248477; }
  .eos-list td:last-child a { padding: 8px 0; }
}
@media (max-width: 360px) {
  .editorial-resources { grid-template-columns: 1fr; }
}

/* Card headings carry the useful context; avoid repeating the same label. */
.article-card .eyebrow { display: none; }
.article-card > div { gap: 4px; }
.article-card h2,
.article-card h3 { line-height: 1.48; }
.article-card p { color: #536c78; }
.article-card:has(a[href^="/khal/"]),
.article-card:has(a[href^="/en/khal/"]) {
  border-color: #d4e0e3;
  box-shadow: 0 10px 30px rgb(15 43 54 / 5%);
}
.article-card:has(a[href^="/khal/"]) > div,
.article-card:has(a[href^="/en/khal/"]) > div { border-top: 3px solid #91c9c0; }
