/* BF Frameworks. Every value is copied from sections/BF Frameworks.dc.html (its <style> block and inline styles).
   The card rules (.fw-card and inside) are shared with the Related Frameworks slider. */

.fw-sec { position: relative; padding: 0 24px 0; }
.fw-sec [hidden] { display: none !important; }
.fw-wrap { max-width: 1280px; margin: 0 auto; }
.fw-split { display: block; margin-bottom: 56px; }
.fw-head-copy { position: relative; }
.fw-head-copy .bf-glitch { left: -70px; top: 30px; width: 160px; height: 40px; }
.fw-head-copy .bf-glitch span:nth-child(1) { top: 0; left: 0; width: 120px; background: rgba(255,255,255,0.55); }
.fw-head-copy .bf-glitch span:nth-child(2) { top: 11px; left: 30px; width: 90px; background: rgba(255,255,255,0.3); }
.fw-head-copy .bf-glitch span:nth-child(3) { top: 22px; left: 10px; width: 140px; background: rgba(255,255,255,0.45); }
.fw-sub { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin: 0 0 22px; }
.fw-grid + .fw-sub { margin-top: 64px; }
.fw-sub-t { font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #8DC63F; margin: 0; }
.fw-sub-n { font-size: 13px; font-weight: 600; color: #7E99AB; }
.fw-sub-btn { width: 100%; background: none; border: 0; padding: 0; cursor: default; font: inherit; color: inherit; text-align: left; }
.fw-more-k, .fw-more-ic { display: none; }
.fw-more-ic { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.18); align-items: center; justify-content: center; flex: none; transition: transform .4s cubic-bezier(.22,.61,.36,1), border-color .3s ease; }
.fw-sub-btn[aria-expanded="true"] .fw-more-ic { transform: rotate(180deg); border-color: #8DC63F; }
.fw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,0.14); border-left: 1px solid rgba(255,255,255,0.14); }
.fw-grid.is-all { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fw-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 28px; border-right: 1px solid rgba(255,255,255,0.14); border-bottom: 1px solid rgba(255,255,255,0.14); text-decoration: none; color: inherit; overflow: hidden; transition: background .35s ease; }
.fw-card:hover { background: rgba(255,255,255,0.03); color: inherit; }
.fw-card::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, #0096E1, #8DC63F); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.fw-card:hover::before { transform: scaleX(1); }
.fw-head { display: flex; align-items: center; gap: 16px; }
.fw-tile { flex: none; width: 68px; height: 64px; padding: 0 4px; border-radius: 12px 12px 12px 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: linear-gradient(#082738, #082738) padding-box, linear-gradient(150deg, rgba(41,171,226,.42), rgba(141,198,63,.42)) border-box; border: 1.5px solid transparent; transition: background .35s ease; }
.fw-card:hover .fw-tile { background: linear-gradient(#0B3348, #0B3348) padding-box, linear-gradient(150deg, #29ABE2, #8DC63F) border-box; }
.fw-org { font-size: 8.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #7E99AB; line-height: 1; max-width: 100%; overflow: hidden; white-space: nowrap; }
.fw-mark { font-size: 15px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; color: #FFFFFF; line-height: 1; text-align: center; white-space: nowrap; max-width: 100%; overflow: hidden; }
.fw-mark.is-long { font-size: 12.5px; letter-spacing: 0; }
.fw-t { font-size: 22px; font-weight: 800; text-transform: uppercase; color: #FFFFFF; line-height: 1.08; letter-spacing: -0.01em; transition: color .3s ease; }
.fw-card:hover .fw-t { color: #D8F2A4; }
.fw-b { font-size: 15px; line-height: 1.65; color: #A9C2D2; margin: 0; }
.fw-who { font-size: 13.5px; line-height: 1.55; color: #C4D5E0; margin: 0; }
.fw-who b { color: #8DC63F; font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.is-all .fw-card { padding: 24px 22px 22px; gap: 12px; }
.is-all .fw-tile { width: 60px; height: 56px; border-radius: 10px 10px 10px 4px; padding: 0 4px; }
.is-all .fw-mark { font-size: 12.5px; } .is-all .fw-mark.is-long { font-size: 9.5px; letter-spacing: 0; } .is-all .fw-org { font-size: 7.5px; }
.is-all .fw-t { font-size: 17px; }
.is-all .fw-b { font-size: 13.5px; line-height: 1.55; }
.fw-search { display: flex; align-items: center; gap: 14px; max-width: 520px; margin: 36px 0 0 110px; padding: 6px 6px 6px 22px; border-radius: 999px 999px 999px 10px; background: #04202F; border: 1px solid rgba(255,255,255,0.14); transition: border-color .3s ease, box-shadow .3s ease; }
.fw-search:focus-within { border-color: rgba(141,198,63,0.6); box-shadow: 0 0 0 3px rgba(141,198,63,0.14); }
.fw-search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #FFFFFF; font: 600 16px Raleway, sans-serif; padding: 10px 0; }
.fw-search input::placeholder { color: #7E99AB; }
.fw-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.fw-search-x { flex: none; width: 36px; height: 36px; margin-right: 4px; border-radius: 50%; border: 0; background: #04202F; color: #A9C2D2; display: none; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: color .25s ease, background .25s ease; }
.fw-search-x:hover { color: #FFFFFF; background: rgba(255,255,255,0.06); }
.fw-search.has-q .fw-search-x { display: inline-flex; }
.fw-search.has-q input { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 18px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 18px), transparent); }
.fw-empty { text-align: center; padding: 72px 20px; border: 1px dashed rgba(255,255,255,0.18); border-radius: 6px; }
.fw-empty .bf-eyebrow { margin-bottom: 12px; }
.fw-empty-b { color: #A9C2D2; max-width: 460px; margin: 16px auto 24px; }
.fw-empty-acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (min-width: 768px) and (max-width: 1023px) {
	.fw-sec { padding: 0 32px 0; }
	.fw-sub-btn { cursor: pointer; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.14); margin-bottom: 0 !important; }
	.fw-sub-btn .fw-sub-t { flex: 1; }
	.fw-more-ic { display: inline-flex; }
	.fw-grid.is-all.is-closed { display: none; }
	.fw-grid.is-all { border-top: 0; }
	.fw-split { margin-bottom: 44px; }
	.fw-offset { margin-left: 0 !important; margin-top: 28px !important; }
	.fw-grid, .fw-grid.is-all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fw-card, .is-all .fw-card { padding: 26px 22px 24px; gap: 14px; }
	.fw-t, .is-all .fw-t { font-size: 20px; }
	.is-all .fw-tile { width: 68px; height: 64px; border-radius: 12px 12px 12px 4px; }
	.is-all .fw-mark { font-size: 15px; } .is-all .fw-mark.is-long { font-size: 12.5px; } .is-all .fw-org { font-size: 8.5px; }
	.is-all .fw-b { font-size: 15px; line-height: 1.65; }
	.fw-grid + .fw-sub { margin-top: 20px; }
	.fw-head-copy .bf-glitch { display: none; }
}

@media (max-width: 767px) {
	.fw-sec { padding: 0 20px 0; }
	.fw-sub-btn { cursor: pointer; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.14); margin-bottom: 0 !important; }
	.fw-sub-btn .fw-sub-t { flex: 1; }
	.fw-more-ic { display: inline-flex; }
	.fw-grid.is-all.is-closed { display: none; }
	.fw-grid.is-all { border-top: 0; }
	.fw-split { margin-bottom: 36px; }
	.fw-offset { margin-left: 0 !important; margin-top: 22px !important; }
	.fw-grid, .fw-grid.is-all { grid-template-columns: 1fr; border-left: 0; }
	.fw-card, .is-all .fw-card { border-right: 0; padding: 24px 0 24px; gap: 14px; }
	.fw-t, .is-all .fw-t { font-size: 19px; }
	.is-all .fw-tile { width: 68px; height: 64px; border-radius: 12px 12px 12px 4px; }
	.is-all .fw-mark { font-size: 15px; } .is-all .fw-mark.is-long { font-size: 12.5px; } .is-all .fw-org { font-size: 8.5px; }
	.is-all .fw-b { font-size: 15px; line-height: 1.65; }
	.fw-grid + .fw-sub { margin-top: 20px; }
}
