.marks-hero {
  position: relative;
  padding: 170px 0 92px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255,255,255,.97), rgba(255,255,255,.78)),
    url("https://picsum.photos/seed/qaic-certification-marks/1800/950") center/cover;
}

.marks-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
}

.marks-hero .container {
  position: relative;
}

.marks-hero h1 {
  max-width: 940px;
  font-size: clamp(2.4rem, 4.6vw, 4.9rem);
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 950;
}

.breadcrumb-nav {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 28px;
  color: #667085;
  font-weight: 800;
}

.breadcrumb-nav a {
  color: var(--brand2);
  text-decoration: none;
}

.marks-summary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 24px 68px rgba(16, 24, 40, .14);
}

.marks-summary-card span {
  display: block;
  color: var(--brand2);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 10px;
}

.marks-summary-card strong {
  display: block;
  color: var(--dark);
  font-size: 1.65rem;
  line-height: 1.12;
  letter-spacing: -.04em;
  margin-bottom: 18px;
}

.marks-summary-card p,
.rules-grid p,
.marks-stop p,
.usage-panel p,
.stop-list p {
  color: #475467;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 46px rgba(16, 24, 40, .08);
}

.rules-grid article {
  min-height: 310px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.rules-grid article:last-child {
  border-right: 0;
}

.rules-grid i,
.usage-panel i {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  font-size: 1.45rem;
  margin-bottom: 20px;
}

.rules-grid h3,
.marks-stop h2,
.usage-panel h2,
.cta-band h2 {
  font-weight: 950;
  letter-spacing: -.035em;
}

.rules-grid h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.stop-list {
  display: grid;
  gap: 14px;
}

.stop-list div {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, .05);
}

.stop-list b {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #eefbf8;
  color: var(--brand2);
}

.stop-list p {
  margin: 0;
  font-weight: 700;
}

.usage-panel {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(16, 24, 40, .06);
}

.warning-panel {
  border-color: #f5c2c7;
  background: #fff8f8;
}

.warning-panel i {
  background: linear-gradient(135deg, #dc3545, #a61e2a);
}

.cta-band {
  display: flex;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 18px 46px rgba(16, 24, 40, .08);
}

.cta-band h2 {
  max-width: 800px;
  margin-bottom: 0;
}

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

  .rules-grid article {
    border-bottom: 1px solid var(--line);
  }

  .rules-grid article:nth-child(2n) {
    border-right: 0;
  }

  .rules-grid article:nth-child(n+3) {
    border-bottom: 0;
  }
}

@media (max-width: 991px) {
  .marks-hero {
    padding: 130px 0 72px;
  }

  .cta-band {
    display: block;
  }

  .cta-band .btn {
    margin-top: 22px;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .rules-grid article,
  .rules-grid article:nth-child(n) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .rules-grid article:last-child {
    border-bottom: 0;
  }
}
