/* Diseño propio de esta web, encima de los bloques (tools/compose.py no lo toca) */

/* Cabecera: el menú en el azul de la Fundació; el botón de la Bugaderia, en el color principal */
.b-header__nav a:not(.btn) { color: #2e58a6; }
.b-header__nav a[aria-current="page"]:not(.btn) { color: var(--c-primary); }

/* Qui som: las tres entitats del grup, con su logotipo */
.b-richtext--wide .b-richtext__body > ul:first-child { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.b-richtext--wide .b-richtext__body > ul:first-child li { margin: 0; padding: 26px 20px; text-align: center; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); transition: box-shadow .2s, transform .2s; }
.b-richtext--wide .b-richtext__body > ul:first-child li:hover { box-shadow: 0 10px 28px rgba(29, 43, 79, .12); transform: translateY(-2px); }
.b-richtext--wide .b-richtext__body > ul:first-child img { height: 110px; width: auto; max-width: 100%; object-fit: contain; margin: 0 auto 14px; }
.b-richtext--wide .b-richtext__body > ul:first-child h3 { margin: 0; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.b-richtext--wide .b-richtext__body > ul:first-child h3 a { color: var(--c-primary); text-decoration: none; }
@media (max-width: 700px) { .b-richtext--wide .b-richtext__body > ul:first-child { grid-template-columns: 1fr; } }

/* El organigrama, sin recortar */
.b-richtext__body img[src*="organigrama"] { width: 100%; height: auto; border-radius: var(--radius); }
