/* ===================== Debit Card ===================== */
@import url("service.css");

/* ---------- alternating photo / text rows (rows are 85% of the window height, as live) ---------- */
.cd-banner { margin-bottom: 62px; }
.cd-row { display: flex; }
.cd-row-first { margin-bottom: 26px; }
.cd-text { position: relative; width: 50%; }
.cd-media { display: flex; width: 50%; }
.cd-media img { width: 100%; min-height: 85vh; }

/* text box: 70% of its half, nudged left like the live page */
.cd-content { position: absolute; top: 50%; left: 44%; width: 70%; }
.cd-center { transform: translate(-220px, -50%); }
.cd-left { transform: translate(-160px, -110px); }
.cd-right { transform: translate(-240px, -110px); }
.cd-content h1,
.cd-content h2 { padding-bottom: 10px; font-size: 36px; font-weight: 700; line-height: 50px; color: #000000; }
.cd-content p { margin: 20px 0 30px; font-size: 14px; line-height: normal; color: #000000; }
.cd-btn {
  display: inline-block;
  padding: 5px 20px;
  background: var(--orange);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(247, 139, 0, 0.3);
}
.cd-btn:hover { background: #ffad44; }

/* square video box, video covers it */
.cd-video-box { position: relative; width: 100%; padding-top: 100%; overflow: hidden; }
.cd-video-box video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- benefits of virtual cards ---------- */
.cd-benefits { padding: 77px 0 87px; text-align: center; }
.cd-benefits h2 { width: 700px; max-width: 100%; margin: 0 auto; padding-bottom: 10px; font-size: 40px; font-weight: 700; line-height: 48px; color: var(--white); }
.cd-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 34px; margin-top: 62px; }
.cd-col { display: flex; flex-direction: column; gap: 17px; }
.cd-card { min-height: 380px; padding: 50px 15px; background: var(--white); border-radius: 5px; color: #000000; }
.cd-card img { margin: 0 auto; }
.cd-card h3 { margin-top: 48px; font-size: 20px; font-weight: 500; line-height: 24px; }
.cd-card p { margin-top: 20px; padding-bottom: 16px; font-size: 14px; font-weight: 300; line-height: 21px; }
.cd-card p.cd-gap { padding-bottom: 14px; }
.cd-card p + p { margin-top: 16px; padding-bottom: 0; }
.cd-card strong { font-weight: 400; }

/* ---------- FAQ ---------- */
.cd-faq .svc-faq-title { margin-bottom: 0; }
.cd-faq-sub { margin: 8px 0 32px; font-size: 14px; line-height: 21px; color: var(--ink); text-align: center; }

@media (max-width: 1279px) {
  .cd-content h1,
  .cd-content h2 { font-size: 28px; line-height: normal; }
  .cd-content br,
  .cd-card p br { display: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 980px) {
  .cd-banner { margin-bottom: 118px; }
  .cd-row-first { margin-bottom: 296px; }
  .cd-media img { min-height: 40vh; }
  .cd-content { left: 41px; transform: translateY(-50%); }
  .cd-left,
  .cd-right { transform: translateY(-114px); }
  .cd-row:last-child .cd-left { transform: translateY(-93px); }

  .cd-benefits h2 { font-size: 43px; line-height: 42px; }
  .cd-grid { grid-template-columns: 1fr; margin-top: 68px; }
  .cd-card p { max-width: 550px; margin-left: auto; margin-right: auto; }
  .cd-col { gap: 30px; }
  .cd-col + .cd-col { margin-top: 30px; }
  .cd-col:first-child .cd-card:first-child { min-height: 0; }
  .cd-faq { padding-bottom: 60px; }
}

/* ---------- phone ---------- */
@media (max-width: 767px) {
  .cd-banner { margin-bottom: -3px; }
  .cd-row { flex-direction: column; }
  .cd-row-first { margin-bottom: 0; }
  .cd-text,
  .cd-media { width: 100%; }
  .cd-text { order: 1; }
  .cd-row:last-child .cd-left { transform: none; }
  .cd-media { align-items: flex-start; }
  .cd-media img { height: auto; }
  .cd-content,
  .cd-left,
  .cd-right,
  .cd-center { position: relative; top: auto; left: auto; width: 81%; margin: 48px auto 45px; transform: none; text-align: center; }
  .cd-content p { margin: 8px 0 0; }
  .cd-row-first .cd-content p { margin-bottom: 10px; }
  .cd-row-first .cd-content { margin-bottom: 81px; }

  .cd-benefits { padding: 83px 0 106px; }
  .cd-benefits h2 { font-size: 26px; line-height: 42px; }
  .cd-faq-sub { margin: 29px 0 51px; }
  .page-card .svc-faq-title { font-size: 22px; line-height: 28.6px; }
}
