/* Debit Cards Page Specific Styling
   Standardized to match the Personal Checking typography and spacing pattern.
   Notes:
   - Container spacing now matches the other sub-pages.
   - Major headings now use Playfair Display.
   - Body copy stays in Arial/Helvetica for consistency and readability.
   - Existing content section structure is preserved so layout behavior should not change.
*/

.debit-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px; /* match Personal Checking horizontal spacing */
  line-height: 1.5;
  box-sizing: border-box;
}

.debit-container h1,
.debit-container h2 {
  color: #002d62;
}

.debit-container a {
  color: #002d62;
  text-decoration: underline;
  font-weight: 600;
  padding: 0;
}

.debit-container a:hover,
.debit-container a:focus {
  color: #b31942;
  background: none;
}

/* Intro Section */
.intro {
  margin: 2rem 0;
}

.intro-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.intro-text {
  flex: 1;
}

.intro-img {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: stretch; /* force image container to match text height */
}

.intro img {
  max-width: 100%;
  height: auto;
  margin-top: 1rem;
  border-radius: 8px;
}

.intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.intro h1 {
  font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: #002d62;
  margin-bottom: 0.5rem;
}

.intro .tagline {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-style: italic;
  color: #444;
  margin-bottom: 1rem;
  display: block;
  line-height: 1.5;
}

.intro p,
.intro ul {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #222;
  line-height: 1.5;
}

.intro p {
  margin-bottom: 1rem;
}

.intro ul {
  margin-left: 1.5rem;
}

ul {
  list-style-type: disc;
  margin-left: 1.5rem;
}

/* Lost or Stolen Card Section */
.lost-card {
  background-color: #002d62;
  color: #ffffff;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 8px;
  text-align: center;
}

.lost-card h2 {
  font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 1rem;
  color: #fff;
}

.lost-card .alert {
  display: inline-block;
  background-color: #c00;
  color: #fff;
  font-weight: bold;
  padding: 0.5rem 1rem;
  margin: 1rem 0;
  border-radius: 4px;
}

.lost-card a {
  color: #ffeb3b;
  text-decoration: underline;
}

.lost-card-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: left;
}

.lost-card-left,
.lost-card-right {
  flex: 1;
}

.lost-card-left img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.lost-card h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #ffeb3b;
}

.lost-card p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Finance & Security Section */
.finances,
.security,
.finance-security {
  margin: 2rem 0;
}

.finances h2,
.security h2,
.fs-left h2 {
  font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: #002d62;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.fs-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.fs-col.fs-left {
  flex: 1;
}

.fs-col.fs-right {
  flex: 2;
}

.fs-right ul {
  list-style-type: disc;
  margin-left: 1.25rem;
}

.fs-right li {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #222;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.section-divider {
  border: none;
  border-top: 1px solid #ccc;
  margin: 1.5rem 0;
}

/* Desktop two-column layout */
@media (min-width: 992px) {
  .intro-content {
    flex-direction: row;
    align-items: flex-start;
  }

  .intro-img img {
    max-width: 80%;
  }

  .lost-card-content {
    flex-direction: row;
    align-items: flex-start;
  }

  .fs-row {
    flex-direction: row;
    align-items: flex-start;
  }

  .fs-col.fs-left {
    max-width: 40%;
  }

  .fs-col.fs-right {
    max-width: 60%;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .debit-container {
    padding: 0 15px; /* tighter mobile edge spacing */
  }

  .intro h1 {
    font-size: 2.6rem;
  }

  .lost-card {
    padding: 1rem;
  }
}
