.container-buttons:has(.fcm-home-button){display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;align-items:start}
.container-buttons:has(.fcm-home-button)>*{min-width:0;width:100%;margin:0}
.fcm-home-button a{display:block;border-radius:2px;overflow:hidden}
.fcm-home-button img{display:block;width:100%;height:auto}
.fcm-home-button a:hover{outline:3px solid #133846;outline-offset:2px}
.fcm-home-button a:focus-visible{outline:4px solid #f9b101;outline-offset:3px}
@media(max-width:991.98px){.container-buttons:has(.fcm-home-button){grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:575.98px){.container-buttons:has(.fcm-home-button){grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}

.container-top-b:has(.perfiles){margin-top:0;background:var(--cassiopeia-color-primary);padding:12px 16px}
.container-top-b .perfiles{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-around;gap:12px;width:100%;margin:0;padding:0;list-style:none}
.container-top-b .perfiles a{color:#fff;text-transform:uppercase}
.container-top-b .perfiles a:focus-visible{outline:3px solid #f9b101;outline-offset:3px}
/* Remove the module card decoration, never the links' focus outlines. */
body.itemid-108 .container-top-b>.card:has(.perfiles){border:0;box-shadow:none}
.container-buttons:has(.fcm-home-button){margin-bottom:20px}
