/* ==========================================================================
   IFS BE Personen – globale Basisstyles
   ========================================================================== */

.ifs-persons {
    --ifs-gap: 32px;
    --ifs-blue: #004f9f;
    --ifs-person-width: 100%;
    --ifs-person-width-laptop: var(--ifs-person-width);
    --ifs-person-width-tablet: var(--ifs-person-width-laptop);
    --ifs-person-width-mobile: 100%;

    display: flex;
    flex-wrap: wrap;
    gap: var(--ifs-gap);
}

.ifs-persons--align-left {
    justify-content: flex-start;
}

.ifs-persons--align-center {
    justify-content: center;
}

.ifs-persons--align-right {
    justify-content: flex-end;
}

.ifs-person-card {
    box-sizing: border-box;
    width: var(--ifs-person-width);
}

@media (max-width: 1240px) {
    .ifs-person-card {
        width: var(--ifs-person-width-laptop);
    }
}

@media (max-width: 960px) {
    .ifs-person-card {
        width: var(--ifs-person-width-tablet);
    }
}

@media (max-width: 767px) {
    .ifs-person-card {
        width: var(--ifs-person-width-mobile);
    }
}

/* ==========================================================================
   Basis-Elemente
   ========================================================================== */

.ifs-person-card__image {
    margin: 0;
}

.ifs-person-card__image img {
    display: block;
    max-width: 100%;
    height: auto;
}

.ifs-person-card__contacts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ifs-person-card__contacts a {
    text-decoration: none;
}

/* ==========================================================================
   Icons: Font Awesome Default, SVG-Datei-Fallback
   ========================================================================== */

.ifs-be-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 1.2em;
    min-width: 1.2em;
    height: 1.2em;

    color: var(--ifs-blue);
}

.ifs-be-icon i {
    font-size: 1em;
    line-height: 1;
}

.ifs-be-icon__img {
    display: block;
    width: 1em;
    height: 1em;
}

/* ==========================================================================
   Flaggen via flag-icons
   ========================================================================== */

.ifs-person-card__languages {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.ifs-person-card__languages .fi {
    width: 1.35em;
    height: 1em;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Accessibility Helper
   ========================================================================== */

.screen-reader-text {
    position: absolute;

    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;

    overflow: hidden;

    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
}

