﻿


/*  Card*/
.card {
    border-radius: 20px;
    overflow: hidden;
    border: 0;
    position: relative;
}

    .card.card-standard-podcard {
        align-content: space-between;
        box-shadow: rgba(0,0,0,0.09) 0 3px 22px;
        display: flex;
        grid-template-columns: 1fr;
        height: 100%;
        text-align: center;
        border: 1px solid var(--GC-Aspire);
        border-radius: 15px;
        padding: 5px;
        box-shadow: 0 0 10px 0 rgb(0 0 0 / 10%);
    }

    .card.card-shadow {
        box-shadow: 0 0 10px 0 rgb(0 0 0 / 10%);
    }

    .card figure {
        margin: 0;
    }

    .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);
        }

    .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; /* tightened padding */
}

    .card-standard-podcard .podcard-body h5 {
        margin-top: 0.25rem;
        margin-bottom: 0.25rem;
        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;
}

/* PodCard Image Wrapper */
/* PodCard Image Wrapper */
.card .podcard-image {
    height: 300px; /* or use your @imageheight variable */
    overflow: hidden;
}

    .card .podcard-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top; /* keep face in view */
    }


    /* Hover zoom */
    .card .podcard-image:hover img {
        transform: scale(1.05);
    }
/* Thumbnail (Team Block) */
.team-block .card-thumbnail img {
    max-width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Links & Popovers */
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;
}

.custom-popover {
    color: red;
    --bs-popover-header-bg: blue !important;
    --bs-popover-max-width: 50% !important;
    justify-content: space-between;
}

/* a ref*/
.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;
}

/* Image Border Radius */
.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;
    }


/*this tablet setting works very fine- with min line of code*/
@media (max-width: 768px) {
    .card-margin {
        margin-bottom: 1.2rem;
    }
    .card .podcard-image {
        height: 220px;  
    }
        .card .podcard-image img {
            width: 100%;
            height: auto;
            object-fit: contain;
            object-position: center;
            max-height: 280px;
        }
}

@media (max-width: 480px) {
    /* Wrapper spacing between stacked cards */
    .card-margin {
        margin-bottom: 1.2rem;
    }

    /* Slim, centered, rounded cards */
    .card-standard-podcard {
        flex-direction: column;
        text-align: center;
        max-width: 220px; /* slim card width */
        margin: 0.5rem auto; /* centered with spacing */
        padding: 0.25rem;
        border-radius: 15px; /* card border radius */
        box-shadow: 0 0 10px rgb(0 0 0 / 10%);
    }

    /* Image wrapper with rounded corners */
    .card .podcard-image {
        width: 100%;
        height: 180px; /* fixed height to focus face */
        overflow: hidden;
        border-radius: 12px;
        text-align: center;
    }

        /* Images inside wrapper */
        .card .podcard-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top center; /* keep faces visible */
            border-radius: 12px;
        }

    /* Card body text */
    .card .podcard-body {
        padding: 0.25rem 0.5rem;
        font-size: 0.85rem;
    }

        .card .podcard-body h5 {
            font-size: 1rem;
            margin: 0.25rem 0 0.25rem;
        }

        .card .podcard-body p,
        .card .podcard-body .podcard-body-link {
            margin: 0.15rem 0;
        }

    /* Buttons inside card body */
    .podcard-body .podcard-body-link a.btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
    }

    /* LinkedIn icon adjustments */
    .card .podcard-body .linkedin {
        margin: 0 0 0.25rem 0.2rem;
        display: inline-block;
        vertical-align: middle;
        font-size: 1rem;
        transition: transform 0.2s ease-in-out;
    }

        .card .podcard-body .linkedin:hover {
            transform: scale(1.2);
            cursor: pointer;
        }
}

 .card .podcard-image {
        width: 100%;
        height: auto;
        text-align: center;
    }

        .card .podcard-image img {
            width: 100%;
            height: auto;
            object-fit: contain;
            object-position: center;
            max-height: 280px;
        }

    .card .podcard-body {
        padding: 0.5rem;
    }

        .card .podcard-body h5 {
            font-size: 1rem;
            margin: 0.5rem 0 0.25rem;
        }

        .card .podcard-body p, .card .podcard-body .podcard-body-link {
            margin: 0.25rem 0;
            font-size: 0.85rem;
        }*/


