@charset "UTF-8";

/*
|--------------------------------------------------------------------------
| Media
|--------------------------------------------------------------------------
*/

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

.hero {
    max-inline-size: 100%;
    block-size: auto;
    inline-size: 100%;
    object-fit: cover;
    object-position: top center;
}
audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

figure {
    break-inside: avoid;
}
figure {
    margin: 0 0 20px 0;
}
/* Add margin if adjacent element */
* + figure {
    margin-top: 20px;
}
figure {
    display:flex;
    justify-content: center;
    overflow: hidden;
    padding: 2rem;
}
figure img  {
    /*
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    */
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    padding: 10px;
    border: 1px solid #e5e5e5;
}
figure img:hover {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    transition: all .1s ease-in;
    top: -2px;
}
/* Old Way
img, embed, object, video {
    max-width: 100%;
    height: auto;
}
*/


/* aspect-ratio: 2/1;
img,
video,
embed,
object,
iframe {
    max-inline-size: 100%;
    block-size: auto;
    inline-size: 100%;
    object-fit: cover;
    object-position: top center;
}

figure {
    margin: 0 0 1rem 0;
    position: relative;
}

figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.25rem 0.25rem;
    color: white;
}

.hero {
    max-height: 300px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 2em;
}



iframe {
    border-style: none;
}

video,
iframe {
    max-inline-size: 100%;
    block-size: auto;
}
*/