/* QuickBooks credentials page (builds on Free_Resources.css + Service_Areas.css) */
.resources-title {
  border-color: #00446f;
  color: #00446f;
}

/* Intro: text + badges */
.cred-intro {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 10px;
}

.cred-checks {
  list-style: none;
  padding: 0;
  margin: 4px 0 22px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.cred-checks li {
  font-weight: 800;
  color: #00446f;
  font-size: 15px;
}

.cred-checks li::before {
  content: "\2713";
  display: inline-block;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  margin-right: 8px;
  border-radius: 50%;
  background: #fad962;
  color: #00446f;
  font-size: 13px;
}

.cred-badges img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
}

/* Credential cards (same look as the site's resource cards) */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.cred-card {
  background: #ffffff;
  border: 1px solid #d6dde3;
  border-top: 5px solid #00446f;
  border-radius: 10px;
  padding: 20px 18px;
  transition: transform 0.25s ease;
  text-align: left;
}

.cred-card:hover {
  transform: translateY(-3px);
}

.cred-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #555;
}

.cred-card h3 {
  color: #00446f;
  font-size: 18px;
  line-height: 1.3;
  margin: 6px 0 10px 0;
}

.cred-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin: 0;
  text-align: left;
}

/* Benefits */
.cred-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.cred-benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #f4f7fa;
  border-radius: 10px;
  padding: 18px;
  text-align: left;
}

.cred-num {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 50%;
  background: #00446f;
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cred-benefit h3 {
  margin: 4px 0 6px 0;
  color: #00446f;
  font-size: 17px;
}

.cred-benefit p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  text-align: left;
}

/* Comparison table (overrides the site-wide table rules) */
.cred-compare {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  background: #ffffff;
  margin-top: 18px;
  font-size: 15px;
}

.cred-compare th,
.cred-compare td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: #333;
  background: transparent !important;
  border: none;
  border-bottom: 1px solid #e2e8ee;
  max-width: none;
}

.cred-compare thead th {
  background: #00446f !important;
  color: #ffffff;
  font-weight: 800;
}

.cred-compare tbody tr:nth-child(even) td {
  background: #f4f7fa !important;
}

.cred-compare td:first-child,
.cred-compare td:last-child {
  font-weight: 800;
  color: #00446f;
}

.cred-compare td:last-child::before {
  content: "\2713  ";
}

@media (max-width: 768px) {
  .cred-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cred-badges img {
    max-width: 320px;
  }
  .cred-compare {
    font-size: 14px;
  }
  .cred-compare th,
  .cred-compare td {
    padding: 10px 8px;
  }
}

@media (max-width: 400px) {
  .cred-benefits {
    grid-template-columns: 1fr;
  }
}
