:root {
  --asphalt-ink: #111827;
  --asphalt-muted: #526173;
  --asphalt-surface: #f4f6f8;
  --asphalt-line: #dbe1e8;
  --asphalt-yellow: #ffe500;
  --asphalt-yellow-dark: #d8bd00;
  --asphalt-white: #ffffff;
  --asphalt-radius: 18px;
  --asphalt-shadow: 0 18px 45px rgba(17, 24, 39, 0.1);
}

.asphalt-hub,
.asphalt-hub * {
  box-sizing: border-box;
}

.asphalt-hub {
  color: var(--asphalt-ink);
  margin: 0 auto;
  max-width: 1240px;
  padding: clamp(24px, 5vw, 72px) clamp(16px, 3vw, 32px);
}

.asphalt-hub a {
  color: inherit;
}

.asphalt-hub__hero {
  background:
    linear-gradient(120deg, rgba(17, 24, 39, 0.98), rgba(17, 24, 39, 0.86)),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 229, 0, 0.1) 18px 22px);
  border-radius: calc(var(--asphalt-radius) + 8px);
  color: var(--asphalt-white);
  overflow: hidden;
  padding: clamp(36px, 7vw, 84px) clamp(24px, 7vw, 82px);
  position: relative;
}

.asphalt-hub__hero::after {
  background: var(--asphalt-yellow);
  bottom: 0;
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  width: 42%;
}

.asphalt-hub__eyebrow {
  color: var(--asphalt-yellow-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.asphalt-hub__hero .asphalt-hub__eyebrow {
  color: var(--asphalt-yellow);
}

.asphalt-hub__hero h1 {
  color: var(--asphalt-white);
  font-size: clamp(2rem, 5vw, 4.6rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 0;
  max-width: 850px;
  text-transform: none;
}

.asphalt-hub__hero > p:last-child {
  color: #d7dde5;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.65;
  margin: 24px 0 0;
  max-width: 720px;
}

.asphalt-hub__filters {
  align-items: end;
  background: var(--asphalt-white);
  border: 1px solid var(--asphalt-line);
  border-radius: var(--asphalt-radius);
  box-shadow: var(--asphalt-shadow);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(240px, 1.7fr) repeat(2, minmax(170px, 1fr)) auto;
  margin: -28px clamp(12px, 3vw, 42px) 0;
  padding: 22px;
  position: relative;
  z-index: 2;
}

.asphalt-hub__field {
  display: grid;
  gap: 7px;
}

.asphalt-hub__field > span {
  color: var(--asphalt-muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.asphalt-hub__field input,
.asphalt-hub__field select {
  appearance: none;
  background: var(--asphalt-surface);
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--asphalt-ink);
  font: inherit;
  min-height: 50px;
  padding: 0 14px;
  width: 100%;
}

.asphalt-hub__field input:focus,
.asphalt-hub__field select:focus {
  border-color: var(--asphalt-yellow-dark);
  box-shadow: 0 0 0 3px rgba(255, 229, 0, 0.26);
  outline: 0;
}

.asphalt-hub__filters button,
.asphalt-hub__cta {
  align-items: center;
  background: var(--asphalt-yellow);
  border: 0;
  border-radius: 10px;
  color: var(--asphalt-ink);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 900;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  text-decoration: none;
}

.asphalt-hub__filters button:hover,
.asphalt-hub__filters button:focus-visible,
.asphalt-hub__cta:hover,
.asphalt-hub__cta:focus-visible {
  background: #f2d700;
  outline: 3px solid rgba(17, 24, 39, 0.18);
  outline-offset: 2px;
}

.asphalt-hub__clear {
  color: var(--asphalt-muted);
  font-size: 0.88rem;
  grid-column: 1 / -1;
  justify-self: start;
}

.asphalt-hub__summary {
  color: var(--asphalt-muted);
  margin: 42px 0 18px;
}

.asphalt-hub__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.asphalt-card {
  background: var(--asphalt-white);
  border: 1px solid var(--asphalt-line);
  border-radius: var(--asphalt-radius);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.asphalt-card:hover {
  box-shadow: var(--asphalt-shadow);
  transform: translateY(-3px);
}

.asphalt-card__media {
  aspect-ratio: 16 / 9;
  background: #242b35;
  display: block;
  overflow: hidden;
}

.asphalt-card__media img {
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
  width: 100%;
}

.asphalt-card:hover .asphalt-card__media img {
  transform: scale(1.025);
}

.asphalt-card__placeholder {
  background:
    linear-gradient(135deg, rgba(255, 229, 0, 0.94), rgba(255, 229, 0, 0.4)),
    repeating-linear-gradient(45deg, #1b222d 0 20px, #303946 20px 40px);
  display: block;
  height: 100%;
}

.asphalt-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.asphalt-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.asphalt-card__chips span {
  background: #fff7b8;
  border-radius: 999px;
  color: #534900;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 9px;
}

.asphalt-card__date {
  color: var(--asphalt-muted);
  font-size: 0.8rem;
  margin: 0 0 9px;
}

.asphalt-card__title {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.2;
  margin: 0;
}

.asphalt-card__title a,
.asphalt-card__link {
  text-decoration: none;
}

.asphalt-card__title a:hover,
.asphalt-card__title a:focus-visible,
.asphalt-card__link:hover,
.asphalt-card__link:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--asphalt-yellow-dark);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}

.asphalt-card__excerpt {
  color: var(--asphalt-muted);
  line-height: 1.65;
  margin: 15px 0 20px;
}

.asphalt-card__link {
  font-weight: 900;
  margin-top: auto;
}

.asphalt-hub__pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 42px 0;
}

.asphalt-hub__pagination .page-numbers {
  align-items: center;
  border: 1px solid var(--asphalt-line);
  border-radius: 9px;
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  text-decoration: none;
}

.asphalt-hub__pagination .current {
  background: var(--asphalt-ink);
  color: var(--asphalt-white);
}

.asphalt-hub__empty,
.asphalt-hub__cta-panel {
  border-radius: var(--asphalt-radius);
  margin-top: 42px;
  padding: clamp(24px, 4vw, 42px);
}

.asphalt-hub__empty {
  background: var(--asphalt-surface);
  text-align: center;
}

.asphalt-hub__cta-panel {
  align-items: center;
  background: var(--asphalt-ink);
  color: var(--asphalt-white);
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.asphalt-hub__cta-panel h2 {
  color: var(--asphalt-white);
  margin: 0;
}

@media (max-width: 980px) {
  .asphalt-hub__filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .asphalt-hub__field--search {
    grid-column: 1 / -1;
  }

  .asphalt-hub__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .asphalt-hub {
    padding-left: 12px;
    padding-right: 12px;
  }

  .asphalt-hub__filters {
    grid-template-columns: 1fr;
    margin-left: 8px;
    margin-right: 8px;
  }

  .asphalt-hub__field--search,
  .asphalt-hub__clear {
    grid-column: auto;
  }

  .asphalt-hub__grid {
    grid-template-columns: 1fr;
  }

  .asphalt-hub__cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .asphalt-card,
  .asphalt-card__media img {
    transition: none;
  }
}
