﻿.entity-card-style {
    position: relative;
    z-index: 1;
    border-radius: 0.25rem;
    background-color: #dcdcdc;
    transition: 0.3s;
    border: 0;
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
}

    .entity-card-style:hover {
        box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    }

        .entity-card-style:hover .card-body h4 a {
            color: #000 !important;
        }

        .entity-card-style:hover .team-icon:first-child {
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
        }

        .entity-card-style:hover .team-icon:not(:first-child) {
            opacity: 1;
            transform: translate(0);
        }

    .entity-card-style .card-entity-image {
        position: relative;
        max-width: 100%;
        height: 281px;
        background-color: #000;
        overflow: hidden;
        border-radius: 0.25rem 0.25rem 0 0;
    }

@media (min-width: 430px) {
    .entity-card-style .card-entity-image {
        height: 271px;
    }
}

@media (min-width: 576px) {
    .entity-card-style .card-entity-image {
        height: 321px;
    }
}

@media (min-width: 768px) {
    .entity-card-style .card-entity-image {
        height: 231px;
    }
}

@media (min-width: 932px) {
    .entity-card-style .card-entity-image {
        height: 221px;
    }
}

@media (min-width: 992px) {
    .entity-card-style .card-entity-image {
        height: 201px;
    }
}

@media (min-width: 1200px) {
    .entity-card-style .card-entity-image {
        height: 251px;
    }
}

@media (min-width: 1400px) {
    .entity-card-style .card-entity-image {
        height: 281px;
    }
}

.entity-card-style .card-entity-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    aspect-ratio: 9/6;
    -webkit-transition: all 400ms ease;
    transition: all 400ms ease;
    border-radius: 0.25rem 0.25rem 0 0;
}

.entity-card-style .card-entity-image a:after {
    background: rgba(0, 0, 0, 0.25);
    bottom: 0;
    content: "";
    left: 50%;
    position: absolute;
    right: 51%;
    top: 0;
    opacity: 1;
    pointer-events: none;
    -webkit-transition: all 400ms linear;
    transition: all 400ms linear;
}

.entity-card-style:hover .card-entity-image a:after {
    left: 0;
    right: 0;
    opacity: 0;
    -webkit-transition: all 400ms linear;
    transition: all 400ms linear;
}

.entity-card-style .card-body {
    padding: 0 30px 30px;
    height: 160px;
    background: transparent;
    overflow: hidden;
    transition: 0.4s;
}

    .entity-card-style .card-body h4 a {
        color: rgba(0, 0, 0, 0.25);
    }

.entity-card__wrapper.light-bg .text-teal {
    color: #000 !important;
}

.modal-popout-image {
    position: relative;
    display: flex;
    max-width: 100%;
    height: 350px;
    align-items: center;
    justify-content: center;
    background-color: #000;
    overflow: hidden;
    margin-bottom: 20px;
}

    .modal-popout-image img {
        position: absolute;
        display: flex;
        width: 100%;
        height: 100%;
        aspect-ratio: 9/6;
    }

@media (min-width: 430px) {
    .modal-popout-image {
        height: 222px;
    }
}

@media (min-width: 576px) {
    .modal-popout-image {
        height: 262px;
    }
}

@media (min-width: 768px) {
    .modal-popout-image {
        height: 272px;
    }
}

@media (min-width: 932px) {
    .modal-popout-image {
        height: 242px;
    }
}

@media (min-width: 992px) {
    .modal-popout-image {
        height: 252px;
    }
}

@media (min-width: 1200px) {
    .modal-popout-image {
        height: 350px;
    }
}

@media (min-width: 1400px) {
    .modal-popout-image {
        height: 350px;
    }
}
