/* patterns/brands-hub.css */
main.wfg-main.e-con .p-brands-hub{padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(48px, 7vw, 96px);}
main.wfg-main.e-con .p-brands-hub .p-hub-crumbs a{display: inline-flex; align-items: center; min-height: 44px;}
main.wfg-main.e-con .p-brands-hub h1{position: relative; padding-bottom: 18px; margin-bottom: clamp(28px, 4vw, 44px); overflow-wrap: anywhere;}
main.wfg-main.e-con .p-brands-hub h1::after{content: ""; position: absolute; left: 0; bottom: 0; width: 72px; height: 5px; border-radius: 5px; background: var(--wp--preset--color--brand);}
main.wfg-main.e-con .p-brands-hub__grid{list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(12px, 2vw, 22px); grid-template-columns: repeat(2, minmax(0, 1fr));}
@media (min-width: 600px){
main.wfg-main.e-con .p-brands-hub__grid{grid-template-columns: repeat(3, minmax(0, 1fr));}
}
@media (min-width: 1024px){
main.wfg-main.e-con .p-brands-hub__grid{grid-template-columns: repeat(4, minmax(0, 1fr));}
}
@media (min-width: 1280px){
main.wfg-main.e-con .p-brands-hub__grid{grid-template-columns: repeat(5, minmax(0, 1fr));}
}
main.wfg-main.e-con .p-brands-hub__grid > li,main.wfg-main.e-con .p-brands-hub__grid > :where(.elementor-widget) > li{margin: 0;}
main.wfg-main.e-con .p-brands-hub__tile{position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; height: 100%; min-height: 44px; padding: 22px 16px 18px; background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: var(--wp--custom--radius--card); box-shadow: var(--wp--custom--shadow); color: var(--wp--preset--color--ink); text-decoration: none; transition: border-color .3s, transform .3s var(--wp--custom--ease);}
main.wfg-main.e-con .p-brands-hub__logo{display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 10;}
main.wfg-main.e-con .p-brands-hub__logo img{width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s;}
main.wfg-main.e-con .p-brands-hub__mark{font-weight: 800; font-size: 1.15rem; line-height: 1.15; text-align: center; color: var(--wp--preset--color--muted);}
main.wfg-main.e-con .p-brands-hub__name{font-weight: 800; font-size: 1rem; line-height: 1.25; text-align: center; overflow-wrap: anywhere;}
main.wfg-main.e-con .p-brands-hub__name--sr{position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;}
main.wfg-main.e-con .p-brands-hub__logo:has(> .p-brands-hub__mark){flex: 1 0 auto;}
main.wfg-main.e-con .p-brands-hub__tile .go{position: absolute; top: 12px; right: 12px; width: 16px; height: 16px; color: var(--wp--preset--color--brand); opacity: 0; transition: opacity .3s, transform .3s;}
@media (hover: hover){
main.wfg-main.e-con .p-brands-hub__tile:hover{border-color: var(--wp--preset--color--brand); transform: translateY(-3px);}
main.wfg-main.e-con .p-brands-hub__tile:hover img{filter: none; opacity: 1;}
main.wfg-main.e-con .p-brands-hub__tile:hover .go{opacity: 1; transform: translateX(2px);}
}
main.wfg-main.e-con .p-brands-hub__tile:focus-visible{outline: 2px solid var(--wp--preset--color--brand); outline-offset: 2px;}
main.wfg-main.e-con .p-brands-hub__tile:focus-visible img{filter: none; opacity: 1;}
@media (prefers-reduced-motion: reduce){
main.wfg-main.e-con .p-brands-hub__tile{transition: none;}
main.wfg-main.e-con .p-brands-hub__tile:hover{transform: none;}
}
main.wfg-main.e-con .p-brands-hub__logo{position: relative;}
main.wfg-main.e-con .p-brands-hub__logo img{position: absolute; inset: 0; margin: auto; box-sizing: border-box; padding: 9.4% 10%;}
main.wfg-main.e-con .p-brands-hub__logo img.is-lowres{padding: 0; max-width: 130px; max-height: 130px;}
main.wfg-main.e-con .p-brands-hub__hero{padding-bottom: clamp(36px, 5vw, 64px);}
main.wfg-main.e-con .p-brands-hub__hero h1{margin-bottom: 0;}
main.wfg-main.e-con .p-brands-hub__hero .p-hub-crumbs a{display: inline-flex; align-items: center; min-height: 44px;}
main.wfg-main.e-con .p-brands-hub__hero + .p-brands-hub,main.wfg-main.e-con :where(.elementor-widget):has(> .p-brands-hub__hero) + .p-brands-hub,main.wfg-main.e-con .p-brands-hub__hero + :where(.elementor-widget) > .p-brands-hub,main.wfg-main.e-con :where(.elementor-widget):has(> .p-brands-hub__hero) + :where(.elementor-widget) > .p-brands-hub{padding-top: clamp(36px, 5vw, 64px);}
