/* Cortist shared Topics menu 2026-10-23 */
.hdr,.site-header{z-index:190}
.hdr .nav-row,.site-header .header-inner{position:relative}
.ct-topics{position:relative;display:block;flex:0 0 auto;z-index:200;font-family:inherit}
.ct-topics>summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:8px;white-space:nowrap;color:#656073;font-size:13px;font-weight:750;padding:7px 2px;border-radius:7px;user-select:none;-webkit-tap-highlight-color:transparent}
.ct-topics>summary::-webkit-details-marker{display:none}
.ct-topics>summary::marker{content:""}
.ct-topics>summary:hover,.ct-topics>summary.is-current,.ct-topics[open]>summary{color:#57438f}
.ct-topics>summary:focus-visible,.ct-topics-panel a:focus-visible{outline:3px solid #ac95e9;outline-offset:3px}
.ct-topics-chevron{width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .14s}
.ct-topics[open] .ct-topics-chevron{transform:rotate(225deg) translate(-2px,-2px)}
.ct-topics-panel{position:absolute;left:-16px;top:calc(100% + 10px);width:338px;max-width:min(338px,calc(100vw - 24px));padding:10px;border:1px solid #ded5ed;border-radius:18px;background:#fff;color:#2b2640;box-shadow:0 24px 65px #1a143c30;white-space:normal;z-index:220;display:grid;gap:4px;max-height:min(490px,calc(100dvh - 100px));overflow-y:auto;overscroll-behavior:contain}
.ct-topics-panel a,.nav-links .ct-topics-panel a,.desktop-nav .ct-topics-panel a{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-height:61px;padding:12px 14px;border-radius:11px;border:0;text-align:left;background:transparent;text-decoration:none;color:#302940!important;font-size:14px!important;font-weight:750!important;line-height:1.3;white-space:normal;letter-spacing:normal}
.ct-topics-panel a strong{font-size:14px;font-weight:850;letter-spacing:-.015em}
.ct-topics-panel a small{font-size:11px;line-height:1.38;font-weight:520;color:#797185;white-space:normal}
.ct-topics-panel a:hover,.ct-topics-panel a:focus-visible,.ct-topics-panel a[aria-current="page"]{background:#f0ebfa;color:#513a8d!important}
.ct-topics-panel a[aria-current="page"] strong:after{content:" (Current)";font-size:10px;color:#725aa5;font-weight:750;letter-spacing:normal}
.ct-topics-panel .ct-separator{border-top:1px solid #eee9f5;margin:3px 4px}
@media(max-width:980px){.hdr .nav-links{overflow:visible;flex-wrap:wrap;row-gap:6px;column-gap:19px;padding-bottom:6px;white-space:normal}.ct-topics>summary{font-size:12px}.ct-topics-panel{left:0}}
@media(max-width:820px){.site-header .header-inner{overflow:visible!important}.site-header .desktop-nav{overflow-x:visible!important;overflow-y:visible!important;flex-wrap:wrap!important;white-space:normal!important;row-gap:9px!important;column-gap:18px!important;padding-bottom:12px!important}.site-header .desktop-nav>a{font-size:12px}.ct-topics-panel{width:min(338px,calc(100vw - 32px));max-height:min(475px,calc(100dvh - 145px))}.site-header .desktop-nav .ct-topics-panel a{padding:12px 14px!important}}
@media(max-width:700px){.hdr .nav-links{overflow-x:visible!important;overflow-y:visible!important;flex-wrap:wrap!important;width:100%;row-gap:7px;column-gap:20px}.ct-topics-panel{left:0;top:calc(100% + 9px)}.ct-topics>summary{padding:4px 0}}
@media(max-width:360px){.ct-topics-panel{left:-2px;width:calc(100vw - 36px)}}
@media(prefers-reduced-motion:reduce){.ct-topics-chevron{transition:none}}

/* Cortist Seven topics: responsive grouped dropdown, progressive enhancement */
.ct-topics-panel.ct-seven-panel{width:min(544px,calc(100vw - 30px));max-width:min(544px,calc(100vw - 30px));grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:14px;max-height:min(590px,calc(100dvh - 115px))}
.ct-topic-group{min-width:0}
.ct-topic-group-title{display:block;font-size:10px;letter-spacing:.11em;text-transform:uppercase;color:#897a9b;font-weight:900;margin:3px 9px 8px;padding-bottom:9px;border-bottom:1px solid #ebe5f2}
.ct-seven-panel .ct-topic-group a{min-height:57px;padding:10px 11px}
.ct-seven-panel .ct-topic-group a strong{font-size:13px}
.ct-seven-panel .ct-topic-group a small{font-size:10px}
@media(max-width:620px){.ct-topics-panel.ct-seven-panel{left:0;right:auto;grid-template-columns:1fr;max-height:min(540px,calc(100dvh - 160px))}.ct-seven-panel .ct-topic-group a{min-height:50px;padding:8px 11px}}

/* Cortist logo survives browser translation independently of translated image text. */
.hdr a.brand,.site-header a.wordmark{display:inline-flex;position:relative;align-items:center;justify-content:flex-start;width:151px;min-width:151px;height:38px;background-image:url("/assets/brand/cortist-logo-web.png");background-repeat:no-repeat;background-position:left center;background-size:contain;overflow:hidden;font-size:0!important;line-height:0!important;color:transparent!important;flex-shrink:0}
.hdr a.brand>img,.site-header a.wordmark>img{opacity:0!important;visibility:hidden!important;pointer-events:none}
.site-header a.wordmark{width:180px;min-width:180px;height:45px}
@media(max-width:600px){.hdr a.brand{width:125px;min-width:125px;height:34px}.site-header a.wordmark{width:160px;min-width:160px;height:40px}}
/* Cortist 13 topics: balanced two-column dropdown, 4 semantic groups. */
.ct-topics-panel.ct-topics-v14{left:50%;right:auto;transform:translateX(-50%);width:min(652px,calc(100vw - 28px));max-width:min(652px,calc(100vw - 28px));grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;padding:17px 18px;max-height:min(640px,calc(100dvh - 120px));align-items:start;overflow-y:auto}
.ct-topics-v14 .ct-topic-column{display:flex;flex-direction:column;gap:15px;min-width:0}
.ct-topics-v14 .ct-topic-group{min-width:0}
.ct-topics-v14 .ct-topic-group-title{display:block;margin:0 6px 6px;padding:0 0 9px;border-bottom:1px solid #e9e4ef;color:#796b92;font-size:10px;font-weight:850;letter-spacing:.09em}
.ct-topics-panel.ct-topics-v14 .ct-topic-column a{min-height:45px;padding:7px 11px;gap:3px;justify-content:center}
.ct-topics-panel.ct-topics-v14 .ct-topic-column a strong{font-size:13px;font-weight:800;letter-spacing:-.01em;line-height:1.2}
.ct-topics-panel.ct-topics-v14 .ct-topic-column a small{font-size:10px;line-height:1.25;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;color:#7c7485}
.ct-topics-panel.ct-topics-v14 a[aria-current="page"]{background:#efeafb;border-left:3px solid #8266c4}
@media(max-width:850px){.ct-topics-panel.ct-topics-v14{left:0;right:auto;transform:none;width:min(610px,calc(100vw - 26px));max-width:min(610px,calc(100vw - 26px))}}
@media(max-width:650px){.ct-topics-panel.ct-topics-v14{left:0;right:auto;transform:none;grid-template-columns:minmax(0,1fr);width:min(360px,calc(100vw - 24px));max-height:min(570px,calc(100dvh - 130px));padding:13px;gap:14px}.ct-topics-v14 .ct-topic-column{gap:13px}.ct-topics-panel.ct-topics-v14 .ct-topic-column a{min-height:44px}.ct-topics-v14 .ct-topic-group-title{font-size:10px}}
@media(max-width:380px){.ct-topics-panel.ct-topics-v14{max-width:calc(100vw - 22px);left:-4px}}
