/* Keep mentor cards readable while paging through all entries from the CMS. */
.mentor-section { padding-top: 0; padding-bottom: 32px; }
@media (max-width: 767px) {
    .mentor-section { padding-bottom: 16px; }
}
.mentor-carousel { width: 100%; }
.mentor-carousel:not(.owl-loaded) { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.mentor-carousel:not(.owl-loaded) > .mentor-card:nth-child(n+7) { display: none; }
.mentor-card { min-width: 0; text-align: center; }
.mentor-photo { width: min(100%, 120px); aspect-ratio: 1; border: 1px solid #0645a4; border-radius: 50%; padding: 4px; margin: 0 auto 14px; box-sizing: border-box; }
.mentor-carousel .mentor-photo img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.mentor-card h3 { margin: 0 0 8px; color: #505050; font-size: 16px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.mentor-card p { margin: 0 0 4px; color: #777; font-size: 12px; line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mentor-carousel .owl-nav { display: flex; justify-content: center; gap: 20px; margin-top: 16px; }
.mentor-carousel .owl-nav button { border: 0; background: transparent; color: #023aa1; font-size: 30px; line-height: 1; padding: 4px 12px; }
.mentor-carousel .owl-nav .disabled { opacity: .35; cursor: default; }
.mentor-carousel.owl-theme .owl-controls { position: static; margin-top: 12px; }
.mentor-carousel .owl-dots { text-align: center; margin-top: 4px; }
.mentor-carousel .owl-dot { border: 0; background: transparent; padding: 8px; }
.mentor-carousel.owl-theme .owl-dots .owl-dot span { display: block; width: 4px; height: 4px; margin: 2px; border-radius: 50%; background: #ccc !important; }
.mentor-carousel.owl-theme .owl-dots .owl-dot.active span,
.mentor-carousel.owl-theme .owl-dots .owl-dot:hover span { background: #999 !important; }
@media (max-width: 1023px) { .mentor-carousel:not(.owl-loaded) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) { .mentor-carousel:not(.owl-loaded) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .mentor-carousel:not(.owl-loaded) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Mentor profiles: compact cards with accessible native detail dialogs. */
.mentor-open { display:block; width:100%; height:100%; border:0; background:transparent; font:inherit; color:inherit; padding:0; cursor:pointer; text-align:center; }
.mentor-open:focus-visible { outline:2px solid #0645a4; outline-offset:3px; border-radius:8px; }
.mentor-initial { display:flex; width:100%; height:100%; align-items:center; justify-content:center; border-radius:50%; background:#e5ecf7; color:#234d85; font-size:22px; letter-spacing:2px; }
.mentor-dialog { position:fixed; inset:0; margin:auto; width:min(720px,calc(100% - 32px)); max-height:85vh; max-height:85dvh; padding:40px; border:0; border-radius:12px; background:#fff; color:#505050; box-sizing:border-box; overflow-y:auto; box-shadow:0 24px 90px #10254440; }
.mentor-dialog::backdrop { background:rgba(15,29,51,.58); }
body:has(.mentor-dialog[open]) { overflow:hidden; }
.mentor-close { position:absolute; top:10px; right:12px; width:40px; height:40px; border:0; background:transparent; color:#505050; font-size:30px; cursor:pointer; }
.mentor-dialog-heading { display:flex; align-items:center; gap:24px; padding-bottom:24px; border-bottom:1px solid #e6eaf0; }
.mentor-dialog-photo { width:100px; height:100px; flex-shrink:0; }
.mentor-dialog-photo img { width:100%; height:100%; border-radius:50%; object-fit:cover; }
.mentor-eyebrow { color:#0645a4; font-size:10px; letter-spacing:1.5px; }
.mentor-dialog h2 { font-size:28px; line-height:1.3; margin:8px 0; color:#263b58; }
.mentor-dialog-cn { margin:0 0 8px; font-size:17px; }
.mentor-dialog-role { font-size:13px; line-height:1.6; margin:0; }
.mentor-dialog-body h3 { font-size:15px; color:#234d85; margin:24px 0 10px; }
.mentor-dialog-body p { font-size:15px; line-height:1.9; white-space:pre-line; overflow-wrap:anywhere; margin:0; }
@media(max-width:599px) { .mentor-dialog { padding:44px 24px 28px; } .mentor-dialog-heading { gap:16px; align-items:flex-start; } .mentor-dialog-photo { width:64px; height:64px; } .mentor-dialog h2 { font-size:22px; } .mentor-eyebrow { font-size:8px; } }
