
/* SGL N064 - Cartes bancaires partagees */
.sgl-bank-comparison {
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px 20px;
  color: #092F39;
}
.sgl-bank-comparison h2 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
  margin-bottom: 12px;
}
.sgl-bank-comparison > p {
  line-height: 1.65;
  color: #49636A;
}
.sgl-bank-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.sgl-bank-card {
  background: #fff;
  border: 1px solid #DAE5E5;
  border-radius: 17px;
  padding: 22px;
  box-shadow: 0 12px 32px rgba(6, 31, 39, .055);
  transition: box-shadow .2s ease, transform .2s ease;
}
.sgl-bank-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 17px 42px rgba(6, 31, 39, .11);
}
.sgl-bank-card h3 {
  font-size: 20px;
  margin: 0 0 16px;
}
.sgl-bank-contract {
  border-top: 1px solid #E7EEEE;
  padding-top: 14px;
  margin-top: 14px;
}
.sgl-bank-contract p {
  margin: 0 0 12px;
  line-height: 1.55;
}
.sgl-bank-contract a {
  display: inline-block;
  color: #092F39;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.sgl-bank-contract a:hover {
  color: #C9631D;
}
@media (max-width: 900px) {
  .sgl-bank-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .sgl-bank-grid {
    grid-template-columns: 1fr;
  }
  .sgl-bank-card {
    padding: 19px;
  }
}


/* SGL N067 - Recherche bancaire */
.sgl-bank-comparison label[for="sgl-bank-search"] {
  display: block;
  margin: 26px 0 8px;
  font-weight: 700;
  color: #092F39;
}
.sgl-bank-comparison #sgl-bank-search {
  width: 100%;
  max-width: 560px;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid #B9CECE;
  border-radius: 12px;
  background: #fff;
  color: #092F39;
  font: inherit;
}
.sgl-bank-comparison #sgl-bank-search:focus-visible {
  outline: 3px solid #FF873A;
  outline-offset: 2px;
}
.sgl-bank-comparison #sgl-bank-count {
  margin-top: 10px;
  font-size: 14px;
  color: #49636A;
}
.sgl-bank-comparison .sgl-bank-card[hidden],
.sgl-bank-comparison #sgl-bank-empty[hidden] {
  display: none !important;
}
.sgl-bank-comparison #sgl-bank-empty {
  padding: 18px;
  margin-top: 16px;
  border: 1px solid #DAE5E5;
  border-radius: 12px;
  color: #49636A;
}


/* SGL N078 - Identite des banques */
.sgl-bank-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 46px;
}
.sgl-bank-heading img {
  display: block;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  object-fit: contain;
  border: 1px solid #E4ECEC;
  border-radius: 10px;
  background: #fff;
  padding: 5px;
}
.sgl-bank-heading h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
}
@media (max-width: 600px) {
  .sgl-bank-heading img {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
}


/* SGL N088 - Hauteur naturelle des cartes */
.sgl-bank-grid {
  align-items: start;
}
.sgl-bank-card {
  min-height: 0;
}
