/**
 * Custom visibility classes
 * Verbergt secties per breakpoint via de contentbuilder zichtbaarheid-toggles.
 */

/* Desktop: >= 1024px */
@media (min-width: 1024px) {
    .section--hide-desktop {
        display: none !important;
    }
}

/* Tablet: 768px – 1023px */
@media (min-width: 768px) and (max-width: 1023.98px) {
    .section--hide-tablet {
        display: none !important;
    }
}

/* Mobiel: < 768px */
@media (max-width: 767.98px) {
    .section--hide-mobile {
        display: none !important;
    }
}

/**
 * Featured filter pills
 * Category filter for featured service sections.
 */
.featured-filter {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.featured-filter__pill {
    padding: .5rem 1.25rem;
    border-radius: 9999px;
    border: 2px solid var(--color-primary-200);
    background: transparent;
    color: var(--color-primary-700);
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
    font-size: .9375rem;
    font-family: inherit;
    line-height: 1.4;
}

.featured-filter__pill:hover {
    border-color: var(--color-primary-400);
}

.featured-filter__pill--active {
    background: var(--color-primary-600);
    color: #fff;
    border-color: var(--color-primary-600);
}

/**
 * Card extensions for service featured cards
 */
.card--link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card--link:hover {
    text-decoration: none;
}

.card--link .card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card--link .card__body > .card__list,
.card--link .card__body > .card__excerpt {
    flex: 1;
    margin-bottom: 1.5rem;
}

.card--link .card__body > .btn {
    margin-top: auto;
}

.card__excerpt {
    font-size: .9375rem;
    line-height: 1.6;
    color: var(--color-gray-600);
    margin-bottom: 1rem;
}

/* Hide filtered-out columns */
.default-section__column[data-filter-hidden] {
    display: none;
}

/**
 * Footer navigation menu (wp_nav_menu)
 */
.footer-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav__list .menu-item a {
    color: var(--color-primary-100);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav__list .menu-item a:hover {
    color: var(--color-orange-400);
}

/**
 * Hide FA icon placeholders until Font Awesome JS has processed them.
 * Prevents the brief flash of unstyled <i> tags.
 */
i.fa-solid,
i.fa-regular,
i.fa-brands {
    visibility: hidden;
}
