/* =========================================================
   LUARK TEAM LIST
========================================================= */

.luark-team-list {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) 900px;

    gap: 44px;

    width: 100%;

    align-items: flex-start;
}

/* =========================================================
   LEFT
========================================================= */

.luark-team-left {
    width: 100%;
}

/* =========================================================
   ITEM
========================================================= */

.luark-team-item {
    position: relative;

    padding: 22px 0 18px;

    cursor: pointer;
}

.luark-team-line {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 1px;

    background: #b9b9b9;
}

/* =========================================================
   TEXT
========================================================= */

.luark-team-name {
    margin: 0;

    font-size: 26px;
    line-height: 1.05;
    font-weight: 600;

    color: #9c9c9c;

    transition: color 0.25s ease;
}

.luark-team-position {
    margin-top: 4px;

    font-size: 18px;
    line-height: 1.2;
    font-weight: 400;

    color: #9c9c9c;

    transition: color 0.25s ease;
}

/* =========================================================
   ACTIVE
========================================================= */

.luark-team-item.is-active .luark-team-name,
.luark-team-item:hover .luark-team-name {
    color: #004B93;
}

.luark-team-item.is-active .luark-team-position,
.luark-team-item:hover .luark-team-position {
    color: #000;
}

/* =========================================================
   RIGHT
========================================================= */

.luark-team-right {
    position: relative;
}

/* altura fluida proporcional */

.luark-team-right::before {
    content: "";

    display: block;

    padding-top: 56%;
}

/* =========================================================
   PANEL
========================================================= */

.luark-team-panel {
    position: absolute;
	padding-top: 1em;
    top: 40px;
    left: 0;

    width: 100%;
    height: 100%;

    display: grid;
    grid-template-columns: 390px 420px;

    gap: 0;

    align-items: stretch;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

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

.luark-team-panel.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

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

.luark-team-image-wrap {
    width: 100%;
    height: 100%;

    overflow: hidden;
}

.luark-team-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;
}

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

.luark-team-bio {
    background: #efefef;

    padding: 38px 36px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    height: 100%;
}

/* =========================================================
   DESCRIPTION
========================================================= */

.luark-team-description {
    font-size: 16px;
    line-height: 1.45;
    overflow-y: auto;
    color: #000;
}

.luark-team-description p {
    margin: 0 0 18px;
}

/* =========================================================
   LINKS
========================================================= */

.luark-team-links {
    margin-top: 1em;

    display: flex;
    flex-direction: column;

    gap: 8px;
}

.luark-team-link {
    display: inline-block;

    width: fit-content;

    font-size: 18px;
    font-weight: 600;

    color: #E40520;

    text-decoration: underline;
}

.luark-team-link:hover {
    opacity: 0.7;
}
/* =========================================================
   MOBILE HEAD
========================================================= */

.luark-team-mobile-head{
    display:none;
}
/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

    .luark-team-image-wrap {
        min-height: 0 !important;
    }

    .luark-team-list {
        grid-template-columns: minmax(320px, 1fr) 680px;
    }

    .luark-team-panel {
        grid-template-columns: 320px 1fr;
    }
}

@media (max-width: 1024px) {

    .luark-team-list {
        display: block;
    }

    .luark-team-left {
        display: none;
    }

    .luark-team-right::before {
        display: none;
    }

    .luark-team-mobile-head {
        display: block;

        width: 90%;
        margin: 0 auto 18px;
    }

    .luark-team-mobile-head .luark-team-name {
        font-size: 32px;
        color: #004B93;
        margin: 0;
    }

    .luark-team-mobile-head .luark-team-position {
        margin-top: 6px;
        color: #000;
        font-size: 18px;
    }

    /* TODOS LOS MIEMBROS */

    .luark-team-panel {
        position: relative;

        top: auto;
        left: auto;

        display: grid !important;

        width: 100%;
        height: auto;

        grid-template-columns: 1fr;

        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto;

        margin-bottom: 1.5rem;
    }

    .luark-team-image-wrap {
        width: 90%;
        margin: 0 auto;

        min-height: 35em;
        height: auto;
    }

    .luark-team-image {
        width: 100%;
        height: 100%;

        object-fit: contain;
        object-position: center bottom;
    }

    .luark-team-bio {
        width: 90%;
        margin: 0 auto;

        height: auto;

        padding: 28px 0;
    }

    .luark-team-name {
        font-size: 22px;
    }

    .luark-team-position,
    .luark-team-description,
    .luark-team-link {
        font-size: 16px;
		padding: 10px 10px 0px 10px;
    }
	.luark-team-position{
	padding: 0px !important;}
}