/* ===========================================
   UNIVERSAL AFFILIATE SECTION — CompareFutureTech
=========================================== */

/* Section */
.cft-affiliate-section {
  margin: 50px 0;
  padding: 30px 20px;
  background: #f7faff;
  border-radius: 12px;
  border: 1px solid #e3e9f3;
}

.cft-affiliate-heading {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #003366;
}

/* Grid */
.cft-affiliate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

/* Card */
.cft-affbox {
  background: #ffffff;
  border: 1px solid #d6e2f0;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.cft-affbox:hover {
  box-shadow: 0 6px 16px rgba(0, 80, 160, 0.15);
  transform: translateY(-3px);
}

/* Image */
.cft-affbox-img {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f8ff;
  min-height: 85px;
}

.cft-affbox-img img {
  max-width: 140px;
  height: auto;
  object-fit: contain;
}

/* Content */
.cft-affbox-content {
  padding: 22px 22px 28px;
  flex-grow: 1;
}

.cft-affbox-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #00254d;
}

.cft-affbox-desc {
  font-size: 15px;
  margin-bottom: 14px;
  color: #374957;
  line-height: 1.55;
}

/* Benefits */
.cft-affbox-benefits {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.cft-affbox-benefits li {
  margin: 6px 0;
  font-size: 15px;
  color: #1c3150;
}

/* CTA Button */
.cft-affbox-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: #004aad;
  color: #fff;
  padding: 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.cft-affbox-btn:hover {
  background: #0072ff;
  transform: scale(1.03);
}
