/* Explicitly namespaced styles for CD + IRA page only
   Standardized to the Personal Checking typography/spacing pattern.
*/

.cd-ira-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px; /* match the other sub-page containers */
  box-sizing: border-box;
}

.cd-ira-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem; /* normalized from 40px to match site rhythm */
}

.cd-ira-left,
.cd-ira-right {
  flex: 1;
  min-width: 300px;
}

.cd-ira-left h1,
.cd-ira-right 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;
}

.cd-ira-left h2,
.cd-ira-right 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;
}

/* Explicit body typography so this page doesn't depend on inherited global rules */
.cd-ira-page p,
.cd-ira-page li {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #222;
}

.cd-ira-right img {
  margin-top: 30px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Footnotes */
.footnotes {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 1.5rem;
  line-height: 1.4;
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .cd-ira-page {
    padding: 0 15px;
  }

  .cd-ira-left h1,
  .cd-ira-right h1 {
    font-size: 2.6rem;
  }
}
