/* cards.css — auto-scroll person/client card carousels (position:relative, normal flow) */
.cards-section { max-width: 100%; margin: 0 24px auto; padding: 0 8px; }
.section-title { text-align: center; color: #01658c; font: 700 24px Arial, sans-serif; margin: 80px 0 4px; }
.cards-carousel { display: flex; width: 100%; position: relative; }
.card-wrapper, .client-wrapper { display: flex; margin: 0 auto; overflow: hidden; position: relative;
  width: 0; height: 300px; z-index: 1; }
.card-container, .client-container { display: flex; gap: 16px; padding: 20px; transition: transform 0.2s linear; }
.card-edge-left, .client-edge-left { position: absolute; top: 0; left: 0; height: 100%; width: 6px; z-index: 1;
  /* background: #e5edf0; */ background: transparent; border-radius: 0 100px 0 100px; }
.card-edge-right, .client-edge-right { position: absolute; top: 0; right: 0; height: 100%; width: 6px; z-index: 1;
  /* background: #e5edf0; */ background: transparent; border-radius: 100px 0 100px 0; }
.person-card, .person-client { width: 230px; flex-shrink: 0; display: flex; flex-direction: column;
  align-items: center; text-align: center; background: #fff; padding: 12px; border-radius: 10px;
  box-shadow: 1px 1px 10px 1px rgba(0,0,0,.1); }
.person-card img, .person-client img { width: 100%; height: 180px; object-fit: cover; border-radius: 50%; margin-bottom: 10px; }
.person-card .name, .person-client .client-name { font-size: 1.15rem; font-weight: bold; margin: 8px 0 2px; color: #01658c; }
.person-card .details, .person-client .client-details { font-size: .9rem; color: gray; }


/* the teachers' section (#team): half the empty space above the heading, below the cards and before the section that follows */
:is(#team, .sc-team) .section-title { margin-top: 40px; }
:is(#team, .sc-team) .card-container { padding-bottom: 10px; }
#team + #gallery-section { margin-top: 25px; }
/* Bangla page: the teachers' section (heading, names and designations) is drawn in Noto Serif Bengali (digits in the Noto Serif Bengali Digit font) */
html[lang=bn] :is(#team, .sc-team), html[lang=bn] :is(#team, .sc-team) * { font-family: "NSB Digit", "Noto Serif Bengali Digit", "Noto Serif Bengali", serif; }
/* the teachers element: the row has a real width even before the script has measured it (it measures again on load and on resize) */
.sc-team .card-wrapper { width: 100%; }
