﻿.card-standard-podcard .podcard-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.social-link {
    margin-top: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
}
/* CARD BASE*/

.card {
    border-radius: 20px;
    overflow: hidden;
    border: 0;
    position: relative;
}

    .card.card-standard-podcard {
        align-content: space-between;
        display: flex;
        flex-direction: column;
        text-align: center;
        height: 100%;
        padding: 5px;
        border: 1px solid var(--GC-Aspire);
        border-radius: 15px;
        box-shadow: 0 0 10px rgb(0 0 0 / 10%);
    }

    /* optional shadow variant */
    .card.card-shadow {
        box-shadow: 0 0 10px rgb(0 0 0 / 10%);
    }

    .card figure {
        margin: 0;
    }

    /*CATEGORY + LINKS */

    .card p.card-category {
        margin-bottom: 1px;
        padding-bottom: 1px;
        text-transform: capitalize;
    }

        .card p.card-category a,
        a.card-link {
            color: var(--GC-Aspire);
        }

    /* footer */
    .card .card-footer {
        padding: 20px;
        background-color: var(--GC-White);
    }

        .card .card-footer ul {
            margin: 0;
        }

/* PODCARD CONTAINER */

.standard-podcard {
    display: block;
    justify-content: center;
}

/* PODCARD BODY */

.card-standard-podcard .podcard-body {
    padding: 0.25rem 0.5rem;
}

    .card-standard-podcard .podcard-body h5 {
        margin: 0.25rem 0;
        font-size: 1rem;
        color: var(--GC-Aspire);
    }

    .card-standard-podcard .podcard-body p {
        margin: 0.25rem 0;
        line-height: 1.3;
        font-size: 0.9rem;
    }

    .card-standard-podcard .podcard-body hr {
        margin: 0.5rem 0;
    }

.podcard-body.no-image {
    margin-top: 90px;
}

/* push social links down if needed */
.social-link {
    align-self: flex-end;
}

/*  IMAGE (FIXED ) */

.card .podcard-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

    .card .podcard-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 25%;
        transition: transform 0.3s ease-in-out;
    }

    /* hover zoom */
    .card .podcard-image:hover img {
        transform: scale(1.05);
    }

/* TEAM BLOCK IMAGE*/

.team-block .card-thumbnail img {
    max-width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* LINKS / ARROWS */

a.card-link:hover {
    text-decoration: underline;
}

a.card-link:after {
    content: "\e803";
    font-family: "gcicons";
    position: absolute;
    bottom: 15px;
    right: -25px;
    transition: all 0.3s ease-in-out;
}

a.arrow-right:hover:after,
a.card-link:hover:after {
    right: -30px;
}

/* POPOVER */

.custom-popover {
    color: red;
    --bs-popover-header-bg: blue !important;
    --bs-popover-max-width: 50% !important;
    justify-content: space-between;
}



/* TEXT LINKS */

.card-body h4 a,
.card-body h5 a,
.search-result h3 a,
.twitter-list a,
.twitter-feed a {
    color: var(--GC-Aspire);
}

    .card-body h4 a:hover,
    .card-body h5 a:hover,
    .twitter-list a:hover,
    .twitter-feed a:hover,
    a:hover .contentpanel p,
    .input-group-light span {
        color: var(--bgh-light-blue);
    }

/* HR LINE */

.PageCard_line__Cl3gq {
    border: 1px solid #d9d9d9;
    margin: 0 0 20px;
    opacity: 1;
}

/* UTILITIES */

.addBorderRadius {
    border-radius: 12px;
}

.img-circle {
    border-radius: 50%;
}

/* linkedin icon */
.linkedin {
    transition: transform 0.3s ease-in-out;
    display: inline-block;
}

    .linkedin:hover {
        transform: scale(1.5);
        cursor: pointer;
    }

/* TABLET (<= 768px) */

@media (max-width: 768px) {

    .card-margin {
        margin-bottom: 1.2rem;
    }

    .card .podcard-image {
        aspect-ratio: 4 / 3;
    }

        .card .podcard-image img {
            object-fit: cover;
            object-position: center 25%;
        }
}

/* MOBILE (<= 480px)*/

@media (max-width: 480px) {

    .card-margin {
        margin-bottom: 1.2rem;
    }

    .card-standard-podcard {
        max-width: 220px;
        margin: 0.5rem auto;
        padding: 0.25rem;
        border-radius: 15px;
        text-align: center;
    }

    .card .podcard-image {
        aspect-ratio: 4 / 3;
        border-radius: 12px;
    }

        .card .podcard-image img {
            object-fit: cover;
            object-position: center 20%;
            border-radius: 12px;
        }

    .card .podcard-body {
        padding: 0.25rem 0.5rem;
        font-size: 0.85rem;
    }

        .card .podcard-body h5 {
            font-size: 1rem;
            margin: 0.25rem 0;
        }

        .card .podcard-body p,
        .card .podcard-body .podcard-body-link {
            margin: 0.15rem 0;
        }

    .podcard-body .podcard-body-link a.btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
    }

    .card .podcard-body .linkedin {
        font-size: 1rem;
        transition: transform 0.2s ease-in-out;
    }

        .card .podcard-body .linkedin:hover {
            transform: scale(1.2);
        }
}
