/* Education directory only; extends the approved navy/coral reference. */
.tfr-page--education-index .brokers-list-hero__inner{padding-block:24px 40px;gap:28px}
.tfr-page--education-index .brokers-list-hero__content{padding-inline-end:300px;padding-block:10px 0}
.tfr-page--education-index .brokers-list-hero__content:after{background-image:url('/TopFxRanking/images/reference/discovery-details.svg');width:260px;height:220px;top:0}
.tfr-page--education-index .brokers-list-hero__title{line-height:1.14;margin-bottom:16px}
.tfr-page--education-index .tfr-education-search{margin-inline:0;overflow:visible;background:transparent;box-shadow:none}
.tfr-page--education-index .brokers-list-hero__search{margin-top:24px}
.tfr-page--education-index .search-input{background:#fff;color:#172641}
.tfr-page--education-index .search-input::placeholder{color:#626e80}
.tfr-page--education-index .tfr-education-topics{display:flex;flex-wrap:wrap;gap:10px;padding-block:28px 22px;border-bottom:1px solid var(--line)}
.tfr-page--education-index .tfr-education-topic{display:inline-flex;align-items:center;gap:9px;min-height:44px;max-width:100%;padding:9px 12px;border:1px solid #d9e0ea;border-radius:6px;background:#fff;color:#35445b;font-size:13px;font-weight:600;line-height:1.45;transition:background .2s,border-color .2s}
.tfr-page--education-index .tfr-education-topic>span:first-of-type{overflow-wrap:anywhere}
.tfr-page--education-index .tfr-education-topic svg{flex-shrink:0}
.tfr-page--education-index .tfr-education-topic[aria-current=page]{color:#fff;background:#172641;border-color:#172641}
.tfr-page--education-index .tfr-education-topic-count{background:#edf2f9;color:#35445b;padding:2px 6px;border-radius:4px;font-size:11px;white-space:nowrap}
.tfr-page--education-index .tfr-education-topic[aria-current=page] .tfr-education-topic-count{background:#344760;color:#fff}
.tfr-page--education-index .tfr-education-results{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding-top:22px;font-size:13px;color:#172641}
.tfr-page--education-index .tfr-education-results p{overflow-wrap:anywhere}
.tfr-page--education-index .tfr-education-results p span{color:#5e6b7d}
.tfr-page--education-index .tfr-education-results>a{font-weight:600;text-decoration:underline;text-underline-offset:4px;flex-shrink:0}
.tfr-page--education-index .tfr-education-results>a span{margin-inline-start:5px}
.tfr-page--education-index .tfr-article-grid{margin-top:22px;gap:24px}
.tfr-page--education-index .tfr-article-card{border-color:#d9e0ea;transition:transform .2s,border-color .2s,box-shadow .2s}
.tfr-page--education-index .tfr-article-card>a{border-radius:9px;color:#172641}
.tfr-page--education-index .tfr-article-card>a:focus-visible{outline:2px solid #b83f24;outline-offset:-3px}
.tfr-page--education-index .tfr-article-image{height:auto;aspect-ratio:16/9}
.tfr-page--education-index .tfr-article-image img{transition:transform .24s}
.tfr-page--education-index .tfr-article-body{padding:20px 12px 12px}
.tfr-page--education-index .tfr-education-category{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#a53b25}
.tfr-page--education-index .tfr-article-body h2{font-size:22px;line-height:1.4;letter-spacing:-.55px;margin:11px 0 12px;overflow-wrap:anywhere;text-wrap:pretty}
.tfr-page--education-index .tfr-article-body p{font-size:14px;color:#5e6b7d;line-height:1.8}
.tfr-page--education-index .tfr-article-meta{font-size:12px;line-height:1.6;gap:6px 12px;color:#5e6b7d;padding:24px 0 16px}
.tfr-page--education-index .tfr-article-meta>span{color:#35445b;font-weight:500;overflow-wrap:anywhere}
.tfr-page--education-index .tfr-article-body .text-link{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px;font-weight:650;color:#172641}
.tfr-page--education-index .text-link svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.tfr-page--education-index .tfr-education-empty{padding:44px 24px;margin-top:24px;border:1px solid var(--line);border-radius:10px;background:#f5f7fb;text-align:center}
.tfr-page--education-index .tfr-education-empty>svg{width:48px;height:48px;padding:12px;margin:0 auto 18px;border-radius:8px;background:#172641;stroke:#fff;fill:none;stroke-width:1.6;stroke-linecap:round}
.tfr-page--education-index .tfr-education-empty h2{font-size:25px;line-height:1.35;letter-spacing:-.6px}
.tfr-page--education-index .tfr-education-empty p{color:#5e6b7d;font-size:14px;margin:12px auto 22px;max-width:48ch}
.tfr-page--education-index .tfr-education-empty>a{display:flex;width:fit-content;max-width:100%;margin-inline:auto;padding-inline:20px;text-align:center;white-space:normal}
.tfr-page--education-index .tfr-education-pagination{margin-top:36px}
.tfr-page--education-index .tfr-education-pagination>nav{padding-bottom:0}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 .tfr-page--education-index .tfr-article-card:hover{transform:translateY(-3px);border-color:#a8b5c8;box-shadow:0 8px 22px #17264109}
 .tfr-page--education-index .tfr-article-card:hover .text-link svg{transform:translateX(3px)}
 .tfr-page--education-index .tfr-article-card:hover img{transform:scale(1.025)}
 .tfr-page--education-index .tfr-education-topic:not([aria-current]):hover{background:#edf2f9;border-color:#a8b5c8}
}
@media(max-width:1100px){.tfr-page--education-index .brokers-list-hero__content{padding-inline-end:240px}.tfr-page--education-index .brokers-list-hero__content:after{width:210px;height:210px}}
@media(max-width:767px){
 .tfr-page--education-index .brokers-list-hero__inner{padding-block:18px 28px;gap:18px}
 .tfr-page--education-index .brokers-list-hero__content{padding:0}
 .tfr-page--education-index .tfr-education-topics{padding-block:22px 18px;gap:8px}
 .tfr-page--education-index .tfr-education-results{align-items:flex-start;flex-wrap:wrap;padding-top:18px}
 .tfr-page--education-index .tfr-article-grid{gap:20px;margin-top:18px}
 .tfr-page--education-index .tfr-article-body{padding:18px 10px 10px}
 .tfr-page--education-index .tfr-article-body h2{font-size:23px}
 .tfr-page--education-index .tfr-education-empty{padding:32px 20px}
}
@media(max-width:420px){.tfr-page--education-index .brokers-list-hero__search form{gap:8px}.tfr-page--education-index .brokers-list-hero__search input{padding-inline:12px}.tfr-page--education-index .brokers-list-hero__search .primary-button{padding-inline:14px}}
@media(prefers-reduced-motion:reduce){.tfr-page--education-index :is(.tfr-article-card,.tfr-article-image img,.tfr-education-topic,.text-link svg){transition:none;transform:none}}
