/* Direct Debit Feature Page Styles */

.dd-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.dd-feature-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.dd-feature-title {
  font-size: 1.8rem;
  color: var(--purple);
  margin-bottom: 20px;
  font-weight: 600;
}

.dd-feature-content > p,
.dd-feature-content-wrapper > p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 0;
}

.dd-feature-content > p + p,
.dd-feature-content > ul + p {
  margin-top: 20px;
}

.dd-feature-content-wrapper {
  overflow: auto;
}

.dd-feature-icons {
  display: flex;
  gap: 20px;
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
}

.dd-feature-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dd-feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dd-feature-image {
  margin-top: 30px;
  margin-bottom: 20px;
}

.dd-feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.dd-feature-list {
  margin-top: 20px;
  padding-left: 25px;
}

.dd-feature-list li {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 10px;
}

.dd-feature-list li:last-child {
  margin-bottom: 0;
}

.dd-feature-footer {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  margin-top: 20px;
  font-style: italic;
}

.dd-feature-additional {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  margin-top: 20px;
}

@media (max-width: 768px) {
  .dd-feature-card {
    padding: 30px;
  }

  .dd-feature-title {
    font-size: 1.5rem;
  }

  .dd-feature-description {
    font-size: 1rem;
  }

  .dd-feature-content-wrapper {
    display: flex;
    flex-direction: column;
  }

  .dd-feature-icons {
    float: none;
    margin-left: 0;
    margin-top: 20px;
    margin-bottom: 0;
    justify-content: center;
    order: 2;
  }

  .dd-feature-description {
    order: 1;
  }
}
