.expert-showcase { padding: clamp(58px, 7vw, 92px) 0; background: #fff; }
.expert-showcase[hidden] { display: none; }
.expert-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.expert-heading h2 { margin: 8px 0; color: #09263f; font: 800 clamp(1.8rem, 3.4vw, 2.55rem)/1.16 Montserrat, sans-serif; letter-spacing: -.025em; }
.expert-heading p:last-child { max-width: 620px; margin: 0; color: #52657a; font: 400 1rem/1.6 Inter, sans-serif; }
.expert-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); grid-auto-rows: 1fr; align-items: stretch; gap: 24px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; scrollbar-width: thin; padding: 4px 4px 16px; }
.expert-carousel:focus-visible { outline: 3px solid #20a3d0; outline-offset: 4px; border-radius: 12px; }
.expert-carousel.is-balanced { grid-auto-columns: minmax(0, 420px); justify-content: center; }
.expert-card { display: flex; min-width: 0; height: 100%; flex-direction: column; overflow: hidden; scroll-snap-align: start; border: 1px solid #dce7ee; border-radius: 18px; background: #fff; box-shadow: 0 8px 28px rgba(9,38,63,.07); transition: border-color .28s ease, box-shadow .28s ease; }
.expert-card:hover { border-color: #b6e4f2; box-shadow: 0 16px 36px rgba(9,38,63,.13); }
.expert-portrait { display: grid; flex: 0 0 240px; place-items: center; height: 240px; min-height: 0; max-height: 240px; padding: 16px; overflow: hidden; background: #f3f8fb; }
.expert-photo { display: block; width: auto; max-width: 100%; height: auto; max-height: 296px; object-fit: contain; object-position: center; border-radius: 10px; }
.expert-photo.is-fallback { display: grid; place-items: center; width: 124px; height: 124px; border-radius: 50%; background: #09263f; color: #fff; font: 800 1.5rem Montserrat, sans-serif; }
.expert-card-body { display: flex; min-height: 254px; flex: 1 0 auto; flex-direction: column; padding: 22px 24px 24px; }
.expert-specialty { align-self: flex-start; margin: 0 0 10px; padding: 6px 10px; border-radius: 5px; background: #e8f6fb; color: #08799f; font: 750 .72rem/1.2 Inter, sans-serif; }
.expert-name { margin: 0; color: #09263f; font: 800 1.22rem/1.3 Montserrat, sans-serif; }
.expert-title { margin: 6px 0 0; color: #60758a; font: 650 .86rem/1.45 Inter, sans-serif; }
.expert-bio { display: -webkit-box; overflow: hidden; margin-top: 12px; color: #52657a; font: 400 .84rem/1.55 Inter, sans-serif; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.expert-bio p { margin: 0 0 5px; }
.expert-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: auto; padding-top: 18px; }
.expert-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 1px solid #c7dbe5; border-radius: 8px; color: #09263f; font: 750 .78rem/1.2 Inter, sans-serif; text-decoration: none; transition: background-color .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease; }
.expert-link-primary { border-color: #09263f; background: #09263f; color: #fff; }
.expert-link-primary:hover, .expert-link-primary:focus-visible { border-color: #20a3d0; background: #20a3d0; color: #062b40; box-shadow: 0 5px 15px rgba(32,163,208,.2); }
.expert-link-secondary:hover, .expert-link-secondary:focus-visible { border-color: #20a3d0; background: #effaff; color: #075c7c; }
.expert-link:focus-visible, .expert-controls button:focus-visible, .expert-dot:focus-visible { outline: 3px solid #20a3d0; outline-offset: 3px; }
.expert-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 10px; }
.expert-controls[hidden] { display: none; }
.expert-controls > button { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #bed8e4; border-radius: 50%; background: #fff; color: #08799f; cursor: pointer; transition: background-color .22s ease, color .22s ease; }
.expert-controls > button:hover:not(:disabled) { background: #09263f; color: #fff; }
.expert-controls > button:disabled { opacity: .4; cursor: default; }
.expert-dots { display: flex; align-items: center; gap: 8px; }
.expert-story-photo { display:block; width:auto; max-width:100%; height:auto; max-height:296px; object-fit:contain; }
.expert-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #b9cbd5; cursor: pointer; transition: width .25s ease, background-color .25s ease; }
.expert-dot[aria-current="true"] { width: 24px; border-radius: 8px; background: #20a3d0; }
@media (prefers-reduced-motion: no-preference) { .expert-card { opacity: .72; transition: opacity .32s ease, border-color .28s ease, box-shadow .28s ease; } .expert-card.is-visible { opacity: 1; } }
@media (max-width: 980px) { .expert-carousel { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; } .expert-carousel.is-balanced { grid-auto-columns: minmax(0, 420px); } }
@media (max-width: 680px) { .expert-heading { display: block; } .expert-heading > .featured-all { margin-top: 14px; } .expert-carousel, .expert-carousel.is-balanced { grid-auto-columns: 88%; gap: 14px; margin-right: -1.25rem; padding-right: 1.25rem; scroll-padding-inline: 0; scrollbar-width: none; } .expert-carousel::-webkit-scrollbar { display: none; } .expert-portrait { flex-basis: 210px; height: 210px; min-height: 0; max-height: 210px; } .expert-photo, .expert-story-photo { max-height: 178px; } .expert-card-body { min-height: 0; padding: 19px; } .expert-actions { display: grid; grid-template-columns: 1fr; } .expert-link { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .expert-card, .expert-card:hover, .expert-link, .expert-controls > button, .expert-dot { transition: none; transform: none; scroll-behavior: auto; } }
