/* The team section uses the introduction's Bootstrap columns, padding,
   heading and paragraph styles. Only the portrait pair needs its own grid. */
.about-team {
    background: #fff;
}

.about-portraits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 30px);
}

.about-portrait {
    margin: 0;
}

.about-portrait img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
}

.about-portrait figcaption {
    padding-top: 10px;
    color: #444;
}

.about-portrait strong {
    display: block;
    font-weight: 600;
}

@media (min-width: 768px) {
    .about-team .about-intensy-text p:last-child {
        margin-bottom: 0;
    }
    .about-team:lang(pl) p,
    .about-compliance:lang(pl) p {
        text-align: justify;
    }
}

.about-compliance .about-intensy-text p:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .about-compliance .about-intensy-text ul:last-child {
        margin-bottom: 0;
    }
}
