
img {
    display:block;
}

img {
    display:block;
    width:100%;
}

body {
    
}

.logo {
    display:unset;
    width: auto;
    height: 50px;
}

/* ---------------------------------------------------------------------------------
   Hero (Views/Partials/Website Conponents/Hero.cshtml). #56: each slide is a real
   <picture> filling its box with object-fit: cover, not a CSS background, so the
   browser can pick a WebP at the right width. The height comes from the page's
   heroSize and is set inline by the partial.
   --------------------------------------------------------------------------------- */
.hero {
    width: 100%;
    position: relative;
}

.hero-single,
.carousel-item {
    position: relative;
    width: 100vw;
    overflow: hidden;
    /* Shown for the moment before a lazily loaded slide arrives. */
    background-color: #1f1f1f;
}

.hero-media {
    position: absolute;
    inset: 0;
    display: block;
}

    .hero-media .hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

.heroText {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.heroText-inner {
    background-color: rgba(255,255,255,0.5);
    border-radius: 25px;
    padding: 20px;
}

    .heroText-inner p {
        font-size: 1.3em;
        text-align: center;
        align-content: center;
    }

.carousel-control-next, .carousel-control-prev {
    z-index: 100 !important;
}

/* ---------------------------------------------------------------------------------
   Gallery tiles and Block Grid cards (#56). Both are lazy: the <picture> reserves its
   box from the aspect ratio set inline, so Masonry lays tiles out correctly before any
   image has arrived and nothing shifts when it does.
   --------------------------------------------------------------------------------- */
.gallery-media,
.card-media {
    display: block;
    width: 100%;
}

    .gallery-media img,
    .card-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


/* ---------------------------------------------------------------------------------
   Brand icons (#59). Inline SVG from Views/Partials/Website Conponents/BrandIcons.cshtml,
   replacing the FontAwesome kit. Sized like the text around them and coloured by it: the
   sprite's paths use fill="currentColor", so .text-muted still applies.
   --------------------------------------------------------------------------------- */
.brand-icon {
    width: 1.25em;
    height: 1.25em;
    vertical-align: -0.2em;
    display: inline-block;
}
