.bfa-related-pages{margin:28px 0 32px;color:#f2f4ee;width:100%;box-sizing:border-box}
.bfa-related-pages h2{margin:0 0 14px!important;color:#f2f4ee!important;font-size:clamp(21px,2.5vw,27px);line-height:1.3;letter-spacing:-.02em}
.bfa-related-pages .bfa-related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr));gap:10px;list-style:none;margin:0!important;padding:0!important}
.bfa-related-grid>li{margin:0!important;padding:0;min-width:0}
.bfa-related-pages .bfa-related-grid a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;height:100%;box-sizing:border-box;padding:13px 16px;border:1px solid #46543b;border-radius:5px;background:#151b12;color:#f2f4ee!important;font-size:16px;font-weight:700;line-height:1.35;text-decoration:none!important}
.bfa-related-grid a>span:first-child{min-width:0;overflow-wrap:anywhere}
.bfa-related-pages .bfa-related-grid a:hover{background:#242d17;border-color:#c4f542}
.bfa-related-pages .bfa-related-grid a:focus-visible{outline:2px solid #c4f542;outline-offset:3px}
.bfa-related-pages .bfa-arrow{position:static!important;display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;border-radius:5px;background:#c4f542;color:#11170a!important;margin:0!important;transform:none!important}
.bfa-related-pages .bfa-arrow svg{display:block;width:20px;height:20px}
.bfa-related-editor-controls{border:1px solid #ddd;padding:16px;margin-bottom:16px;background:#fff;color:#1e1e1e}
.bfa-related-editor-selected{display:flex;flex-direction:column;gap:4px;margin:10px 0 0;padding:0;list-style:none}
.bfa-related-editor-selected li{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0}
@media(max-width:540px){.bfa-related-pages .bfa-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.bfa-related-pages .bfa-related-grid a{font-size:15px;padding:12px 10px;min-height:72px;gap:8px}.bfa-related-pages .bfa-arrow{flex-basis:25px;width:25px;height:25px}.bfa-related-pages .bfa-arrow svg{width:18px;height:18px}}
@media(max-width:340px){.bfa-related-pages .bfa-related-grid{grid-template-columns:1fr}}

@media(min-width:900px){.bfa-related-pages .bfa-related-grid:has(>li:nth-child(6):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}.bfa-related-pages .bfa-related-grid:has(>li:nth-child(8):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}}
