/*
Theme Name: Foyer Anderlechtois 2026
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 0.10
*/

/* Manually added in content */
.softlinks a {
    text-decoration: none;
}

/* .autoscroll > *:nth-child(2) {
    overflow-y: auto;
    max-height: 55vh;
} */

/* content blocs */
.wp-block-list.is-style-tw-border {
    text-align: center;
}
.wp-block-list.is-style-tw-border li {
    padding-block: .7em;
}

/* Layout */ 
html.js .fa-close {
    cursor: pointer;
}


/* street search (quartiers / concierge) */
.fa-search-form {
    flex: 1;
    gap: .5em;
    align-items: center;
}
.fa-search-form input {
    flex: 1;
    min-width: 0;
    font: inherit;
    font-size: 1.1rem;
    padding: .5em .8em;
    border: 3px solid currentColor;
    border-radius: 50px;
    background: #fff;
}
.fa-search-close {
    font: inherit;
    font-weight: 900;
    background: none;
    border: 0;
    cursor: pointer;
    font-size: 1.4rem;
    padding: .2em .4em;
}
.fa-search-quartier {
    display: block;
    font-size: .8em;
    font-weight: 400;
}
.fa-search-empty {
    text-transform: none;
}

/* concierge pages (ardjea design) */
.fa-card-header {
    gap: 20px;
}
.fa-card-header h1 {
    margin: 0;
    font-size: clamp(20px, 5vw, 25px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.fa-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 330px;
    padding: 25px 20px;
    border-radius: 10px;
    background: #e8e8e8;
}
.fa-panel > * {
    width: 100%;
}
.fa-concierge {
    text-align: center;
}
.fa-panel .fa-concierge-nom {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
}
.fa-panel .fa-concierge-tel {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}
.fa-concierge-tel a {
    color: #000;
    text-decoration: none;
}
.fa-panel .fa-concierge-hint {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: .5px;
    animation: fa-pulse 1.5s infinite;
}
@keyframes fa-pulse {
    50% { opacity: .4; }
}
@media (prefers-reduced-motion: reduce) {
    .fa-panel .fa-concierge-hint { animation: none; }
}
.fa-panel .fa-batiment-title,
.fa-panel .fa-concierge-info {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
    color: #555;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.fa-panel .fa-concierge-info {
    text-transform: none;
    font-weight: 400;
    margin-bottom: 20px;
}
.fa-panel details.fa-batiment {
    margin: 0 0 6px;
    border-radius: 8px;
    background: #f0f0f0;
}
.fa-panel details.fa-batiment summary {
    padding: 9px 12px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    list-style: none;
    cursor: pointer;
}
.fa-panel details.fa-batiment summary::-webkit-details-marker {
    display: none;
}
.fa-panel details.fa-batiment[open] summary {
    border-radius: 8px;
    background: #000;
    color: #fff;
}
.fa-panel details.fa-batiment .fa-concierge {
    padding: 18px 0 20px;
}
.fa-panel details.fa-batiment .fa-concierge-nom {
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 400;
    color: #555;
}

/* pannes pages (ardjea design) */
.fa-pannes-grid {
    grid-template-columns: 1fr 1fr !important;
    row-gap: 50px;
    column-gap: 12px;
    width: 100%;
    max-width: 300px;
    padding-block: 40px;
    margin-inline: auto !important;
}
.fa-panne {
    text-align: center;
    transition: transform .2s ease;
}
.fa-panne:hover {
    transform: scale(1.05);
}
.fa-panne .wp-block-image {
    margin: 0 auto 8px;
}
.fa-panel .fa-panne-label {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.fa-panne-label a {
    color: #000;
    text-decoration: none;
}
.fa-panne-tel {
    display: block;
    margin-bottom: 6px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .5px;
    white-space: nowrap;
}
.fa-panne-label .fa-concierge-hint {
    display: block;
}

/* concierge: building buttons → building page */
.fa-panel .fa-batiment-link {
    margin: 0 0 8px;
}
.fa-panel .fa-batiment-link a {
    display: block;
    padding: 12px;
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.fa-panel .fa-batiment-link a:hover,
.fa-panel .fa-batiment-link a:focus-visible {
    background: #000;
    color: #fff;
}

/* text pages: lists imported from legal documents */
.wp-block-list.fa-plain { list-style: none; padding-left: 0; }
.wp-block-list.fa-plain > li { margin-bottom: .4em; }
.wp-block-list.fa-alpha { list-style-type: lower-alpha; }
.wp-block-post-content :where(h2, h3, h4) { line-height: 1.2; }
