/* =========================================================
   BANK EXAM AUP SUPPORT — 500K PAGE PASS
   Scope: Banking-Financial-Institutions.html only
   Goal: Fix global section padding bleed, spacing rhythm,
         card premium finish, MEED green accents
========================================================= */

/* -----------------------------------------
   PAGE SAFETY: override GLOBAL section padding
   (Your styles.css has section padding w/ !important.)
   We neutralize it ONLY inside the banking main content.
----------------------------------------- */
.page-content section.content-section{
  padding: 0 !important;           /* kills double spacing */
  margin: 0 !important;
}

.page-content{
  background:#ffffff;
}

/* Universal container (tight, premium) */
.content-inner{
  max-width: 1180px;               /* slightly tighter than 1120 = more “firm” */
  margin: 0 auto;
  padding: 80px 24px;              /* premium rhythm */
}

/* Alternating section surface */
.content-section{
  background:#ffffff;
}

.content-section.alt{
  background:#f4f7fb;
}

/* Divider rhythm (remove huge global divider margins) */
.page-content .section-divider{
  height: 1px !important;
  margin: 0 !important;
  border: 0 !important;
  background: linear-gradient(to right, transparent, rgba(7,26,47,0.12), transparent) !important;
}

/* -----------------------------------------
   SECTION HEADER (premium hierarchy)
----------------------------------------- */
.section-header{
  text-align:center;
  max-width: 920px;
  margin: 0 auto 44px auto;
}

.section-eyebrow{
  display:block;
  text-transform:uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 750;
  color: rgba(7,26,47,0.58);
  margin-bottom: 10px;
}

.section-header h2{
  font-size: 36px;
  font-weight: 850;
  letter-spacing: -0.03em;
  color:#071a2f;
  margin: 0 0 14px;
}

.section-header p{
  font-size: 18px;
  line-height: 1.65;
  color: rgba(7,26,47,0.70);
  margin: 0 auto;
  max-width: 860px;
}

/* -----------------------------------------
   GRID SYSTEM (better density)
----------------------------------------- */
.card-grid{
  display:grid;
  gap: 26px;
}

.card-grid.three-up{
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.two-up{
  grid-template-columns: repeat(2, 1fr);
}

/* -----------------------------------------
   CARDS — 500K surface + border discipline
----------------------------------------- */
.info-card{
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(7,26,47,0.10);
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow:
    0 18px 46px rgba(7,26,47,0.08),
    0 2px 8px rgba(7,26,47,0.04);
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s ease;
}

.info-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: radial-gradient(900px 220px at 20% 0%,
    rgba(0,180,110,0.10),
    transparent 55%);
  opacity: 0.55;
}

.info-card h3{
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.01em;
  color:#071a2f;
  margin: 0 0 10px;
  position: relative;
  z-index: 1;
}

.info-card p{
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(7,26,47,0.72);
  margin: 0;
  position: relative;
  z-index: 1;
}

@media (hover:hover){
  .info-card:hover{
    transform: translateY(-3px);
    border-color: rgba(0,180,110,0.22);
    box-shadow:
      0 24px 64px rgba(7,26,47,0.10),
      0 4px 12px rgba(7,26,47,0.05);
  }
}

/* -----------------------------------------
   INLINE ACTION — MEED green
----------------------------------------- */
.inline-action{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14.5px;
  font-weight: 750;
  color: #00B46E;                  /* MEED green */
  text-decoration: none;
  letter-spacing: 0.01em;
}

.inline-action::after{
  content:"→";
  transition: transform 0.2s ease;
}

.inline-action:hover{
  text-decoration: underline;
}

.inline-action:hover::after{
  transform: translateX(3px);
}

/* CTA row under sections */
.section-cta-row{
  margin-top: 16px;
  text-align:center;
}

/* -----------------------------------------
   STACK CARDS (AUP section) — remove “random blue”
----------------------------------------- */
.stack-cards{
  display:grid;
  gap: 18px;
}

.stack-card{
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(7,26,47,0.10);
  border-left: 5px solid #00B46E; /* MEED green */
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow:
    0 16px 44px rgba(7,26,47,0.08),
    0 2px 8px rgba(7,26,47,0.04);
}

.stack-card h3{
  font-size: 18px;
  font-weight: 850;
  margin: 0 0 8px;
  color:#071a2f;
}

.stack-card p{
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(7,26,47,0.72);
  margin: 0;
  max-width: 980px;
}

/* -----------------------------------------
   TIMELINE — stronger presence + alignment
----------------------------------------- */
.timeline-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.timeline-step{
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(7,26,47,0.10);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow:
    0 14px 38px rgba(7,26,47,0.07),
    0 2px 8px rgba(7,26,47,0.04);
}

.timeline-num{
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  color:#071a2f;
  background: rgba(0,180,110,0.14);
  margin-bottom: 10px;
}

.timeline-step h3{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 900;
  color:#071a2f;
}

.timeline-step p{
  margin: 0;
  font-size: 14.75px;
  line-height: 1.6;
  color: rgba(7,26,47,0.72);
}

/* -----------------------------------------
   CTA spacing harmony (keep your cta.css look,
   just reduce the giant vertical gaps)
----------------------------------------- */
.cta-wrapper{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.cta-wrapper .cta-panel{
  margin: 84px auto !important;  /* reduce from 120px auto */
}

/* -----------------------------------------
   MOBILE / TABLET
----------------------------------------- */
@media (max-width: 980px){
  .card-grid.three-up{
    grid-template-columns: 1fr;
  }
  .card-grid.two-up{
    grid-template-columns: 1fr;
  }
  .timeline-grid{
    grid-template-columns: 1fr;
  }
  .content-inner{
    padding: 68px 20px;
  }
  .section-header{
    margin-bottom: 36px;
  }
  .section-header h2{
    font-size: 30px;
  }
}

@media (max-width: 520px){
  .content-inner{
    padding: 58px 18px;
  }
  .info-card{
    padding: 26px 22px;
  }
  .stack-card{
    padding: 24px 22px;
  }
}
/* ---------- Top 3 cards: equal height + slightly crisper borders ---------- */
.card-grid.three-up .info-card{
  min-height: 150px;
  border-color: rgba(7,26,47,0.11);
  box-shadow:
    0 20px 56px rgba(7,26,47,0.085),
    0 2px 10px rgba(7,26,47,0.045);
}

/* Make card titles read “firm-grade” */
.info-card h3{
  letter-spacing: -0.015em;
}

/* ---------- Stack cards: refined accent (less “hard stripe”, more integrated) ---------- */
.stack-card{
  border-left-width: 4px;
  position: relative;
}

.stack-card::before{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width: 10px;
  background: linear-gradient(180deg, rgba(0,180,110,0.22), rgba(0,180,110,0.06));
  pointer-events:none;
}

/* ---------- Timeline: match the card system ---------- */
.timeline-step{
  border-color: rgba(7,26,47,0.11);
  box-shadow:
    0 18px 48px rgba(7,26,47,0.08),
    0 2px 10px rgba(7,26,47,0.04);
}

.timeline-num{
  box-shadow: inset 0 0 0 1px rgba(0,180,110,0.22);
}

/* ---------- CTA panel: slightly more “panel” feel ---------- */
.cta-wrapper .cta-panel{
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 34px 88px rgba(7,26,47,0.28);
}

