/* ============================================================
   ASPEN — TEAM BIO FLIP CARD
   Compact Default + Dynamic Hover Height
   ============================================================ */


/* ============================================================
   MAIN TEAM GRID
   ============================================================ */

.bio-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    column-gap: 20px;
    row-gap: 28px;

    align-items: start;
}

.people-links {

    column-gap: 1.5rem;
  
}
/* ============================================================
   CARD
   ============================================================ */

.bio-square {
    position: relative;

    width: 100%;
    min-width: 0;

    /*
     * IMPORTANT:
     * Never give card a fixed height.
     */

    height: auto !important;
    min-height: 0 !important;

    perspective: 1200px;

    z-index: 1;
}


/*
 * Hovered card comes above surrounding cards.
 */

.bio-square:hover {
    z-index: 100;
}


/* ============================================================
   FLIP INNER
   ============================================================ */

.bio-square .flip-inner {
    position: relative;

    width: 100%;

    /*
     * JS controls the actual height.
     */

    height: auto;

    min-height: 0 !important;

    transform-style: preserve-3d;

    transition:
        height 0.45s ease,
        transform 0.65s ease;

    z-index: 1;
}


/* ============================================================
   FRONT + BACK
   ============================================================ */

.bio-square .flip-front,
.bio-square .flip-back {
    width: 100%;

    box-sizing: border-box;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


/* ============================================================
   FRONT
   ============================================================ */

.bio-square .flip-front {
    position: relative;

    z-index: 2;

    transform:
        rotateY(0deg);
}


/* ============================================================
   BACK
   ============================================================ */

.bio-square .flip-back {
    position: absolute;

    left: 0;
    top: 0;

    width: 100%;

    min-height: 100%;

    box-sizing: border-box;

    transform:
        rotateY(180deg);

    opacity: 0;
    visibility: hidden;

    /*
     * IMPORTANT:
     * Back does not create document-flow space.
     */

    overflow-y: auto;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}


/* ============================================================
   IMAGE
   ============================================================ */

.bio-square .flip-front img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 1 / 1;

    object-fit: cover;
}


/* ============================================================
   BIO INFO
   ============================================================ */

.bio-square .bio-info {
    padding-top: 10px;
}


.bio-square .bio-name {
    margin: 0;
}


.bio-square .bio-title {
    margin: 3px 0 0;
	font-size: 15px;
}
span.title {
    font-size: 14px;
}

/* ============================================================
   FLIP ON HOVER / ACTIVE
   ============================================================ */

.bio-square:hover .flip-inner,
.bio-square.is-flipped .flip-inner {
    transform:
        rotateY(180deg);
}


/* ============================================================
   SHOW BACK
   ============================================================ */

.bio-square:hover .flip-back,
.bio-square.is-flipped .flip-back {
    opacity: 1;
    visibility: visible;
}
    .site-header.not-top {
        padding: 1rem 0;
        z-index: 999;
    }

/* ============================================================
   BACK CONTENT
   ============================================================ */

.bio-square .flip-back {
    display: flex;

    flex-direction: column;

/*     justify-content: flex-start;

    align-items: flex-start; */

    padding: 12px;

/*     background: #ffffff; */

/*     overflow-y: auto; */

    /*
     * Prevent long words from breaking layout.
     */

    overflow-wrap: break-word;
}


/* ============================================================
   BACK TYPOGRAPHY
   ============================================================ */

.bio-square .flip-back h2,
.bio-square .flip-back h3,
.bio-square .flip-back h4 {
    margin-top: 0;
    margin-bottom: 12px;
}


.bio-square .flip-back p {
    margin-top: 0;
    margin-bottom: 12px;
	    display: flex;
    gap: 10px;
		font-size: 16px;
    line-height: 26px;
}


/* ============================================================
   LOADING
   ============================================================ */

.bio-square .bio-loading {
    margin: 0;
}
h3.bio-name {
    margin: 0px !important;
}
.bio-title-row {
    FONT-WEIGHT: 200;
    display: flex;
    align-items: center;
    gap: 50px;
    /* justify-content: space-between; */
    margin-bottom: 20px;
}

/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1024px) {

    .bio-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        column-gap: 18px;
        row-gap: 28px;
    }


    .bio-square .flip-back {
        padding: 20px;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767px) {

    .bio-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 16px;
        row-gap: 28px;
    }


    .bio-square .flip-back {
        padding: 18px;
    }
	
	.people-links {
  
    row-gap: 2rem;
   

}
	    .bio-square .flip-back {
        padding: 0px;
    }

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 480px) {

    .bio-grid {
        grid-template-columns: 1fr;

        row-gap: 30px;
    }


    .bio-square .flip-back {
        padding: 0px;
    }

}