.edge-hub {
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto 64px;
}
.edge-hub-head {
  display: grid;
  grid-template-columns: auto minmax(260px, 620px);
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 0 20px;
  border-top: 3px solid #d3a10f;
  border-bottom: 1px solid #c9b87d;
}
.edge-lockup {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  font-weight: 950;
  letter-spacing: 0.03em;
}
.edge-lockup img {
  width: 22px;
  height: 52px;
  object-fit: contain;
}
.edge-lockup span {
  color: #8b170f;
}
.edge-hub-head p {
  margin: 0;
  color: #4c4c4c;
  font-size: 1rem;
  line-height: 1.55;
}
.edge-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}
.edge-hub-card {
  display: grid;
  grid-template-rows: 230px 1fr;
  background: #fff;
  border: 1px solid #d9d0b3;
  border-bottom: 4px solid #111;
  color: #111;
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.edge-hub-card:hover,
.edge-hub-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(54, 38, 0, 0.15);
  outline: 2px solid #d3a10f;
}
.edge-hub-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.edge-hub-card:first-child > img {
  object-position: center 12%;
}
.edge-hub-card > div {
  padding: 20px;
}
.edge-hub-card small {
  color: #9a6f00;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.edge-hub-card h1 {
  margin: 7px 0 8px;
  font-size: 1.7rem;
  line-height: 1.02;
  text-transform: uppercase;
}
.edge-hub-card p {
  margin: 0 0 16px;
  color: #555;
  line-height: 1.5;
}
.edge-hub-card b {
  color: #8b170f;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.edge-hub-card.compact {
  display: block;
  border-top: 3px solid #d3a10f;
}
.edge-hub-card.compact h1 {
  font-size: 1.35rem;
}
@media (max-width: 760px) {
  .edge-hub {
    width: calc(100% - 24px);
    margin-top: 18px;
  }
  .edge-hub-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .edge-hub-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .edge-hub-card:not(.compact) {
    display: flex;
    min-height: 0;
    flex-direction: column;
    grid-template-rows: none;
    background: #f3f3f1;
    border-color: #d2d2cd;
    border-bottom: 4px solid #111;
  }
  .edge-hub-card:not(.compact) > img {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    height: clamp(190px, 55vw, 245px);
    object-fit: cover;
    object-position: center 24%;
  }
  .edge-hub-card:first-child > img {
    object-position: center 18%;
  }
  .edge-hub-card:not(.compact) > div {
    position: static;
    z-index: 1;
    display: block;
    min-height: 0;
    padding: 18px 18px 20px;
    background: #f3f3f1;
    color: #111;
  }
  .edge-hub-card small {
    font-size: 0.7rem;
    line-height: 1.35;
  }
  .edge-hub-card h1 {
    margin: 7px 0 8px;
    font-size: 1.45rem;
    line-height: 1.04;
  }
  .edge-hub-card p {
    margin: 0 0 15px;
    color: #3f3f3f;
    font-size: 1rem;
    line-height: 1.45;
  }
  .edge-hub-card b {
    display: inline-block;
    font-size: 0.78rem;
    line-height: 1.3;
  }
  .edge-hub-card.compact > div {
    padding: 18px;
    background: #fff;
  }
  .edge-hub-card:hover,
  .edge-hub-card:focus-visible {
    transform: none;
  }
}
