  /*

* Theme Name: Vanderbilt VISE
* Description: Vanderbilt FutureVU Child Theme for VISE
* Template: anchordown-futurevu
* Version: 1.0
* Author: Vanderbilt University Division of Communications, Digital Strategies Team
* Author URI: [https://web.vanderbilt.edu](https://web.vanderbilt.edu)
  */

/* NOTE: This file is compiled from style.scss */

/* =========================
PROFILE LAYOUT
========================= */
.topper-profilelabpeopletype__inner-2 {
margin-left: auto !important;
margin-right: auto;
max-width: calc(100% - 30px);
}

@media (min-width: 768px) {
.topper-profilelabpeopletype__inner-2 {
width: 50%;
}
}

@media (max-width: 768px) {
.topper-profilelabpeopletype__inner-2 {
width: 95%;
margin-left: 5%;
}
}

/* =========================
CONTACT META
========================= */
.lab-person-meta {
list-style: none;
padding: 0;
}

.lab-person-meta li {
margin-bottom: 10px;
display: flex;
align-items: center;
gap: 10px;
}

/* =========================
IMAGE HANDLING
========================= */
.people-type-listing__image {
aspect-ratio: 3 / 4;
overflow: hidden;
}

.people-type-listing__image img,
.people-group-image img,
.people-list__image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

.people-type-listing__image.placeholder {
background: #EEE;
display: flex;
align-items: center;
justify-content: center;
}

/* =========================
CARD LAYOUT
========================= */
.people-type-listing__card {
height: 100%;
display: flex;
flex-direction: column;
padding: 20px;
transition: transform 0.2s ease;
will-change: transform;
}

.people-type-listing__card:hover {
transform: translateY(-4px);
}

.people-type-listing__content {
padding-top: 10px;
}

.people-type-listing__name {
line-height: 1.3;
}

/* =========================
PAGE WIDTH
========================= */
.people-page,
.publications-page {
margin: auto;
}

.people-page .article-page__column {
max-width: 1200px;
margin: 0 auto;
}

/* =========================
GROUP ROW (GRID)
========================= */
.people-group-row {
display: grid;
grid-template-columns: 100px 1fr 1fr;
align-items: center;
gap: 20px;
padding: 15px 0;
border-bottom: 1px solid #ddd;
}

.people-group-image img {
width: 80px;
height: 80px;
}

.people-group-name a {
font-weight: 500;
text-decoration: underline;
}

.people-group-name a:focus {
outline: 2px solid currentColor;
outline-offset: 2px;
}

.people-group-role {
text-align: right;
color: #444;
}

/* =========================
TABS
========================= */
.people-tabs {
display: flex;
justify-content: center;
margin-bottom: 30px;
}

.people-tabs__nav {
display: flex;
align-items: center;
position: relative;
max-width: 100%;
border-bottom: 1px solid var(--c-border);
}

.people-tabs__scroll {
overflow-x: auto;
scroll-behavior: smooth;
-webkit-overflow-scrolling: touch;
flex: 1;
}

.people-tabs__scroll::-webkit-scrollbar {
display: none;
}

.people-tabs__list {
display: flex;
flex-wrap: nowrap;
gap: 30px;
white-space: nowrap;
list-style: none;
padding: 0;
margin-bottom: 0;
}

.people-tabs__list li {
flex: 0 0 auto;
}

.people-tabs__list li a {
text-decoration: none;
border-bottom: 2px solid transparent;
padding: 10px 5px;
display: block;
}

.people-tabs__list li.is-active a {
border-color: #000;
font-weight: 600;
}

.people-tabs__arrow {
background: var(--c-btn-bg);
color: var(--c-text-link);
border: none;
width: 50px;
height: 50px;
cursor: pointer;
z-index: 2;
font-size: 16px;
}

.people-tabs__arrow:hover {
opacity: 0.8;
}

/* =========================
LIST LAYOUT (FLEX)
========================= */
.people-list {
    max-width: 1400px;
    margin: auto;
}
.people-list__row {
display: flex;
gap: 20px;
padding: 20px 0;
border-bottom: 1px solid #ddd;
align-items: center;
}

.people-list__image img {
width: 120px;
height: 120px;
}

.people-list__content {
display: flex;
justify-content: space-between;
flex: 1;
align-items: center;
}

.people-list__name {
margin: 0 0 5px;
}

.people-list__title {
margin: 0;
color: #555;
}

/* =========================
MOBILE (768px and below)
========================= */
@media (max-width: 768px) {

    .people-tabs__arrow {
        display: none;
    }

    .people-list__row {
        flex-direction: column;
        align-items: flex-start;
    }

    .people-list__image img {
        width: 100%;
        height: auto;
    }

    .people-list__content {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .people-group-row {
        grid-template-columns: 80px 1fr;
    }

    .people-group-role {
        grid-column: 2;
        text-align: left;
        font-size: 14px;
    }

}
