/* Overrides for the static copy, loaded after the theme stylesheets (injected by tools/restructure.py). */

/* Team photos: the theme rounds them at 50% but the pictures are portrait (600x788), which draws ovals.
   Crop them to a centered square so they render as circles; the face sits in the upper part of the shots. */
.team-container .team-media img {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto !important;
    object-fit: cover;
    object-position: 50% 20%;
    border-radius: 50%;
}

/* ---- WordPress theme (wp-theme/passeri): what the old page builder did with inline styles ---- */

/* Full-width grey rows: Group block with the class "bg-grau" (Ultimate Addons row background #f9f9f9 on the old site). */
.vc_row.bg-grau {
    background: #f9f9f9;
    box-shadow: 0 0 0 100vmax #f9f9f9;
    clip-path: inset(0 -100vmax);
}

/* Front page introduction: Group block "home_page_text_block full-width-wrap". */
.vc_row.home_page_text_block {
    padding-left: 30px;
    padding-right: 30px;
}
.home_page_text_block .wpb_text_column p {
    color: #161819;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 15px;
}

/* Blocks rendered as they are inside a The7 column: no extra margins from the block library. */
.content .wp-block-image,
.content .wp-block-group {
    margin: 0;
}
