/*
Theme Name: Shalek Lab Template
Text Domain: scistories-template-shalek-lab
Description: WordPress theme for Shalek Lab.
Requires at least: 6.1
Tested up to: 8.0.22
Requires PHP: 8
Version: 1.1.0
Author: SciStories
Author URI: http://scistories.com
License: Proprietary
License URI: https://scistories.com/dev/theme-wordpress-licences
Usage: Restricted to https://scistories.com/ and https://shaleklab.com/.
Tags: lab, immune-responses-tissues
*/

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;0,1000;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900;1,1000&family=Oswald:wght@300;400;500;600;700&display=swap');

:root {
    /* Fonts */
    --mainFont: "Nunito", sans-serif;
    --textFont: "Nunito", sans-serif;
    --alternativeFont: "Oswald", sans-serif;
    --menuFont: "Lato", serif;
    --boldFont: 700;

    /*Colors*/
    --primaryColor: #444444;
    --black: #232323;
    --white: #ffffff;
    --red: #cc3302;
    --red2: #9a0100;
    --gray: #EAEAEA;
    --gray2: #666666;
    --gray3: #f7f7f7;
    --gray4: #d8d8d8;

    /*sizes*/
    --header-sz-h: 90px;
    --section-space: 4rem;
    --hexagon-url-img: url("https://dummyimage.com/300x1:1/");
}

html,
body {
    /*burger menu  style*/
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

html {
    font-size: 62.5%; /*10 px = 1rem */
    scroll-padding-top: 200px;
    scroll-behavior: smooth;
}

body {
    font-size: 16px;
    font-size: 1.6rem;
    font-family: var(--mainFont);
    background: #fff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

a img:hover,
a .hexagon-header:hover {
    opacity: 0.8;
    filter: alpha(opacity=80);
    box-shadow: #000 0 0 0;
}

a.link-2 {
    color: var(--gray2);
}

a.link-2:hover,
a.nav-link:focus,
a:hover {
    color: var(--red);
}

a:focus {
    outline: thin dotted;
}

a.selected {
    outline: thick double;
}

body,
button,
input,
select,
textarea {
    color: var(--gray2);
    font: 1.6rem 'Lato', sans-serif;
    line-height: 2rem;
    word-wrap: break-word;
}

.default-txt {
    line-height: 2.4rem;
    font-family: var(--textFont);
    font-weight: 400;
    font-size: 16px;
}

.default-txt p {
    margin-bottom: 15px;
}

.default-txt p:last-child {
    margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Oswald", serif;
    font-weight: 400;
    padding-bottom: 1.8rem;
    color: #222222;
}

h1 {
    font-size: 3rem;
    line-height: 3.6rem;
}

h2 {
    font-size: 2.8rem;
    line-height: 3.4rem;
}

h3 {
    font-size: 2.6rem;
    line-height: 3.2rem;
}

h4 {
    font-size: 2.4rem;
    line-height: 3.0rem;
}

h5 {
    font-size: 2.2rem;
    line-height: 2.8rem;
}

h6 {
    font-size: 1.9rem;
    line-height: 2.5rem;
}

header {
    border-bottom: 1px solid var(--gray);
}

footer {
    padding: 10px 0;
    background-color: #F8F8F8;
    border-top: 1px solid var(--gray);
    margin-top: 30px;
}

.footer-txt {
    font-family: var(--menuFont);
    font-size: 1.2rem;
}

.footer__wp {
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    align-items: center;
}

.footer__wp p {
    font-size: 1.2rem;
}

.italic {
    font-style: italic;
}

figure {
    margin: 0;
    text-align: center;
}

p {
    line-height: 2.4rem;
    font-family: var(--mainFont);
    font-weight: 400;
    font-size: 16px;
}

img.default {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

.inner-sec {
    max-width: 1218px;
}

@media screen and (max-width: 1308px) {
    .inner-sec {
        width: 94%;
    }
}

.u-remove-default-p--last > p:last-child {
    margin-bottom: 0;
}

.tooltip-txt-blk {
    visibility: hidden;
    width: max-content;
    background-color: rgba(255, 255, 255, 0.9);
    color: #000;
    border: 1px solid #eee;
    text-align: center;
    padding: 4px;
    border-radius: 3px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    left: 30px;
    bottom: 30px;
    z-index: 1;
    transition: all 0.1s ease;
}

/*Adobe Edge Animation*/
.ae-animation-ar {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 38%;
}

.ae-animation-ar--73 {
    padding-bottom: 73%;
}

.ae-animation-ar--06 {
    padding-bottom: 6%;
}

.ae-animation-ar iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.mobile-main-graphic {
    display: none;
}

/*[[FRAMES]]*/
.hex img {
    vertical-align: top;
    margin-bottom: 18px;
    object-fit: cover;
    height: 100%;

    width: 100%;
    max-width: 100%; /*?*/
}

.hex,
.hex div {
    margin: 0 auto;
    transform-origin: 50% 50%;
    overflow: hidden;
}

.hex {
    text-align: center;
    margin: 0;
    width: 135px;
    height: 115px;
}

.hex div {
    width: 100%;
    height: 100%;
}

.hex {
    transform: rotate(120deg);
}

.hex--rot60-neg {
    transform: rotate(-60deg);
}

.hex-row {
    clear: left;
}

/* UTILITIES */
@media screen and (max-width: 767px) {
    .container {
        width: 90%;
        margin: 0 auto;
    }
}

/* MENU */
.ss-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-sz-h);
    padding-left: 0;
    padding-right: 0;
}

@media screen and (min-width: 1024px) {

    :root {
        --header-sz-h: 90px;
    }

}

.menu-blk {
    list-style: none;
    display: flex;
}

.menu-blk.nav-active {
    transform: translateX(0%);
}

.navbar__logo {
    line-height: 0;
}

.navbar__logo__img {
    width: 120px;
}

@media screen and (min-width: 1024px) {
    .navbar__logo__img {
        width: 247px;
    }
}

.navbar__social {
    display: flex;
    flex-shrink: 0;
    gap: 1.6rem;
}

.twitter-icon,
.instagram-icon {
    background-color: var(--primaryColor);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.twitter-icon a,
.instagram-icon a {
    line-height: 0;
}

.instagram-icon i,
.twitter-icon i {
    font-size: 1.8rem;
    color: var(--white);
    cursor: pointer;
    padding-left: 0.1rem;
}

.twitter-icon i {
    padding-top: 0.1rem;
}

.navbar__burger {
    cursor: pointer;
    margin-left: 2.4rem;
}

.navbar__burger-line {
    width: 25px;
    height: 3px;
    background-color: var(--primaryColor);
    margin: 5px;
    transition: all 0.3s ease;
}

.navbar__burger--toggled .navbar__burger-line--first {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.navbar__burger--toggled .navbar__burger-line--second {
    opacity: 0;
}

.navbar__burger--toggled .navbar__burger-line--third {
    transform: rotate(45deg) translate(-5px, -6px);
}

.dropdown-menu {
    position: relative;
    display: block;
    background: transparent;
    border: none;
    border-radius: 0;
    padding-left: 20px;
}

.nav-item {
    width: 100%; /*mobile*/
    position: relative;
    transition: all 375ms ease;
}

.nav-link {
    text-decoration: none;
    font-size: 1.6rem;
    font-family: var(--menuFont);
    line-height: 1.875;
    font-style: normal;
    padding: 0;
    margin: 0;
}

.nav-link:hover {
    background-color: var(--red);
    color: white;
}

.current_page_item { /*mobile*/
    width: 100%;
}

.current_page_item > .nav-link {
    color: var(--white);
    font-weight: 400;
    background-color: var(--red);
}

.navbar__desktop {
    display: none;
}

.navbar__mobile {
    display: flex;
}

.navbar__menu ul li:last-child {
    padding-bottom: unset;
}

/*[[PAGE HOME]]*/
.home-sec-research {
    margin-top: var(--section-space);
}

.gallery_entry-lyt {
    display: flex;
    align-items: center;
    width: 100%;
    flex-direction: column;
}

.gallery_entry-lyt--reverse {
    flex-direction: column-reverse;
}

.entry-dialog-blk {
    overflow: hidden;
    border-left: 1px solid #ddd;
    background-color: #1d6896;
    padding: 3.2rem;
    position: relative;
}

.entry-dialog-blk::before {
    content: "";
    position: absolute;
    z-index: 1;
    width: 10px;
    top: 5%;
    height: 90%;
    right: -10px;
    border-radius: 5px / 100px;
    box-shadow: 0 0 13px rgba(0, 0, 0, 1);
}

.entry-dialog-blk p {
    font-size: 1.8rem;
    line-height: 2.6rem;
    margin-bottom: 0;
    color: white;
}

.home-sec-research__entry {
    width: 100%;
}

/* [[ Slider Element ]]  */
.slider-el {
    background-color: black;
    border: 20px solid var(--gray3);
}

.slider-el--transparent {
    background-color: transparent;
    border: none;
}

.slider-le__item {
    position: relative;
    /*This configuration is to center for Shalek Style*/
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
}

.slider-le__text {
    width: 100%;
    text-align: center;
    vertical-align: center;
    position: absolute;
    left: 0;
    bottom: 0;
    font-family: Helvetica, serif;
    color: #f6f7f7;
    font-size: 1.3rem;
    height: 25px;
    text-shadow: #222 1px 1px 2px;
    margin-bottom: 5px;
    padding: 0 10px;
    /*hide text*/
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
}

.slider-le__item img {
    /*This configuration replicate the original Shalek style*/
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.slider__controls-bottom {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 65px 20px;
}

.slider__controls-btn_wp {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.slider-btn {
    background-color: rgba(0, 0, 0, .6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10em;
    color: #222;
    width: 32px;
    height: 32px;
    line-height: 32px;
    margin: 0;
    padding: 0;
    transition: border-color .3s ease-out;

    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-square-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    width: 32px;
    border: none;
    appearance: none;
    border-radius: 4px;
    opacity: 0.5;

    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-square-btn svg {
    width: 80%;
    aspect-ratio: 1;
    stroke: var(--gray2);
    stroke-width: 2;
}

.slider-square-btn:hover {
    background-color: transparent;
}

.slider-square-btn:hover svg {
    stroke: black;
}

.slider-square-btn--next {
    position: absolute;
    right: 0;
}

.slider-btn svg {
    width: 80%;
    aspect-ratio: 1;
    stroke: rgba(255, 255, 255, 0.5);
    transition: stroke .3s ease-out;
}

[data-slider-status="pause"] .slider-btn.slider-btn--pause,
[data-slider-status="play"] .slider-btn.slider-btn--play {
    display: none;
}

.slider-el__wp {
    position: relative;
}

.slider-el__wp:hover .slider-btn {
    background-color: rgba(0, 0, 0, .8);
}

.slider-el__wp:hover .slider-btn svg {
    stroke: rgba(255, 255, 255, 1);
}

.slider-btn:hover {
    border: 2px solid rgba(255, 255, 255, 1);
}

.entry-dialog__gallery {
    position: relative;
    width: 100%;
}

.entry-dialog__slider__item {
    height: 235px;
}

.entry-dialog-blk a {
    color: #a4a4a4;
    text-decoration: underline;
}

.slider__info {
    padding-top: 10px;
}

.slider__pagination {
    font-size: 1.6rem;
    margin-bottom: 0;
}

.home-sec-feat-publications {
    margin-top: var(--section-space);
}

.home-sec-feat-publications__wp {
    display: flex;
    flex-direction: column;
    gap: 3rem
}

.pub-front-page-container {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

/*[[Publication]]*/
.pub-blk {
    border: 1px solid var(--gray4);
    padding: 30px;
}

.pub-header__wp {
    position: relative;
    width: 200px;
}

.pub__title {
    font-family: var(--mainFont);
    font-size: 3rem;
    line-height: 3.6rem;
}

.pub-icons-info__wp {
    display: flex;
    gap: 30px;
    flex-direction: column;
}

@media screen and (min-width: 768px) {
    .pub-icons-info__wp {
        flex-direction: row;
    }
}

.pub__info,
.pub__info p {
    font-family: var(--menuFont);
    font-size: 1.6rem;
    margin-bottom: 0
}

.pub__info-authors-short {
    position: relative;
}

.pub__info-authors-short:hover .pub__info-authors-dropdown-content {
    display: block;
}

.pub__info-authors-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 200px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    z-index: 1;
    line-height: 1.5em;
    color: var(--gray2);
}

.pub__info-authors-short {
    color: var(--red);
}

.pub-bts__wp {
    display: flex;
    gap: 10px;
    justify-content: end;
    margin-top: 45px;

    flex-direction: column;
    align-items: end;
}

@media screen and (min-width: 600px) {
    .pub-bts__wp {
        flex-direction: row;
        align-items: center;
    }
}

.dropdown-btn {
    position: relative;
}

.dropdown-btn:hover .dropdown-btn-content {
    display: block;
}

.dropdown-btn-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    z-index: 1;
}

.dropdown-btn .dropdown-btn-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-btn .dropdown-btn-content ul li {
    margin-bottom: 0.5em;
}

.dropdown-btn .dropdown-btn-content ul li:last-child {
    margin-bottom: 0;
}

.single-controls__wp {
    display: flex;
    justify-content: space-between;
    margin: 20px 0 30px 0;
}

.single-controls__wp a {
    color: var(--red);
}

/*Front-page publications*/
.pub-front-page-container__single {
    width: 100%;
}

.pub-front-description {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 150px;
    background-color: var(--gray3);
    align-self: center;
}

.pub-front-description--even {
    border-right: 1px solid #ddd;
    order: 0;
}

.pub-front-description--odd {
    border-left: 1px solid #ddd;
    order: 1;
}

.pub-front-description--odd::before,
.pub-front-description--even::before {
    content: "";
    position: absolute;
    z-index: 1;
    width: 10px;
    top: 5%;
    height: 90%;
    border-radius: 5px / 100px;
    box-shadow: 0 0 13px rgba(0, 0, 0, 0.2);
}

.pub-front-description--odd::before {
    left: -10px;
}

.pub-front-description--even::before {
    right: -10px;
}

.pub-front-description--odd p,
.pub-front-description--even p {
    padding: 20px;
}

.pub-header-blk {
    border: 1px solid var(--gray4);
    padding: 1em;
    /*margin-bottom: 1em;*/
}

.pub-single-blk__hex {
    width: 114px;
    height: 98px;
    float: left;
    padding-left: 15px;
    margin-bottom: 7px;
    display: none;
}

.pub-header-blk__wp {
    display: flex;
    align-items: center;
    width: 100%;
}

.pub-header__title {
    font-family: var(--mainFont);
    padding-bottom: 14px;
    font-size: 2.4rem;
    line-height: 3rem;
}

.pub-header__title a {
    color: #000;
}

.pub-single__meta {
    display: inline-block;
    float: left;
    padding: 0;
}

.pub-single__meta li {
    display: inline-block;
}

.publication-details a {
    color: #fff;
}

.publication-details button:hover a {
    color: var(--red);
}

.publication-details {
    display: inline-block;
    float: right;
}

.pub-header-btn__wp {
    margin-left: auto;
    padding-top: 4px;
    padding-left: 4px;
}

.pub-header__icons {
    margin-left: auto;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.publication-content {
    display: inline-block;
    width: 100%;
    margin-top: 10px;
}

.publication-meta-single {
    display: inline-block;
    padding-left: 15px;
    padding-top: 4px;
}


.publication-authors-dropdown {
    position: relative;
    display: inline-block;
}

.publication-authors-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    z-index: 1;
    line-height: 1.5em;
}

.publication-authors-dropdown:hover .publication-authors-dropdown-content {
    display: block;
}

.publication-authors-dropdown span {
    color: var(--red);
}

.publication-icon-test {
    display: inline;
}

.publication-icon-test div {
    position: relative;
    display: inline-flex;
}

.publication-icon-test img {
    width: 36px;
    height: 42px;
    margin-bottom: 0;
}

.publication-icon-test span {
    visibility: hidden;
    width: 100px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #000;
    border: 1px solid #eee;
    text-align: center;
    padding: 4px;
    border-radius: 3px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
    bottom: 25px;
    left: 25px;
}

.publication-icon-test div:hover span {
    visibility: visible;
}

.publication-icon-test li {
    position: relative;
    display: inline-flex;

}

.home-sec-feat-news {
    margin-top: var(--section-space);
}

.home-sec-news__wp {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 1.6rem;
}

/*[[Header-NEWS]]*/
.news-header-blk {
    padding: 20px;
    background-color: var(--gray3);
}

.home-sec-news__wp .news-header-blk:nth-child(3n+1) {
    grid-row: span 2;
}

.news-header__title {
    padding-bottom: 15px;
    font-size: 2.8rem;
    line-height: 3.4rem;
}

.news-header__title a {
    color: inherit;
}

.news-header__title a:hover {
    color: var(--red);
}

.news-header__wp {
    display: flex;
    gap: 16px;
    flex-direction: column;
}

.news-header__hex {
    display: none;
}

.news-header-content__wp {
    flex: 1;
}

.news-header__date {
    font-style: oblique;
    font-family: var(--menuFont);
    font-size: 1.4rem;
    color: var(--gray2);
}

.news-header__date a {
    color: var(--gray2);
}

.news-header__excerpt a:hover,
.news-header__date a:hover {
    color: var(--red);
    text-decoration: underline;
}

.news-header__excerpt {
    font-style: normal;
    font-family: var(--mainFont);
    font-size: 1.6rem;
    color: var(--gray2);
}

.news-header__excerpt a {
    color: var(--red);
}

/*[[NEWS - BLK]]*/
.news-blk {
}

.news__date {
    font-style: normal;
    padding: 0 0 10px 0;
    font-family: var(--alternativeFont);
    font-size: 2.8rem;
    color: #000;
}

.news__content {
    margin-top: 10px;
}

.news__content a {
    color: var(--red);
}

.news__content a:hover {
    text-decoration: underline;
}

/*[[PAGE TEAM]]*/
.team-sec-lab-life,
.team-sec-social-act,
.team-sec-style {
    margin-top: var(--section-space);
}

.team-sec-join__wp {
    display: flex;
    gap: 45px;
    flex-direction: column;
}

.team-sec-style__wp {
    display: flex;
    gap: 2%;
    flex-direction: column;
}

.team-sec-join__wp > *,
.team-sec-style__wp > * {
    width: 100%; /*2 children*/
}

/*[[PAGE TEAM/NUCLEUS]]*/
.team-sec-members {
    margin-top: var(--section-space);
}

.gallery-members__wp {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 40px;
}

.team-blk {
    position: relative;
    display: flex;
    gap: 15px;
}

.team-header__wp {
    position: relative;
    width: 24%;
}

.hexagon-header {
    /*hexagon*/
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    width: 100%;
    aspect-ratio: 1.16; /*29/25*/

    position: relative;
    background-color: var(--gray3);
    background-image: var(--hexagon-url-img);
    background-size: cover;
    background-position: center center;
}

.team-info__wp {
    text-align: center;
    flex: 1;
}

.team__name,
.team__name a:not(.team__mail) {
    color: black;
    padding-bottom: 0;
    margin-bottom: 7px;
    text-align: left;
}

.team__mail {
    display: inline-block;
    vertical-align: super;
    width: 20px;
}

.team__mail svg {
    fill: var(--red);
    stroke: white;
    width: 100%;
    aspect-ratio: 1;
}

.team__separator {
    width: 50px;
    border-style: solid;
    border-color: black;
    margin: 0 0;
    padding-bottom: 7px;
    color: var(--gray2);
    height: 1px;
}

.affiliation__info,
.team__info {
    font-family: var(--menuFont);
    font-size: 1.6rem;
    margin-bottom: 0;
    text-align: left;
    color: var(--gray2);
}

.affiliation-icons__wp,
.team-icons__wp {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 5px;
    padding-top: 0;
}

.affiliation-icons__fig,
.team-icons__fig {
    position: relative;
    width: 36px;
}

/*[[PAGE TEAM/BONDS]]*/
.team-sec-affiliations {
    margin-top: var(--section-space);
}

.team-sec-affiliations__wp {
    display: flex;
    flex-direction: column;
    row-gap: 40px;
}

.team-affiliations__text a {
    color: var(--red);
}

.gallery-affiliations__wp {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 40px;
}

.affiliation-blk {
}

.affiliation-header__wp {
    display: none;
}

.affiliation-header__wp img {
    max-width: 100%;
    object-fit: contain;
    height: 300px;
}

.affiliation-info__wp {
    padding-top: 20px;
    text-align: center;
}

.affiliation__name__wp {
    display: flex;
    justify-content: start;
    align-items: center;
    min-height: 6em;
}

.affiliation__name {
    text-align: left;
    color: black;
    font-family: var(--alternativeFont);
    font-size: 2.8rem;
    font-weight: 300;
    padding-bottom: 0;
    margin-bottom: 14px;
}

/*[[PAGE TEAM/JOIN US]]*/
.team-sec-join {
    margin-top: var(--section-space);
}

/*[[PAGE RESEARCH]]*/
.research-sec-systems {
    background-color: #EFEFEE;
    border: 2px solid #EFEFEE;
    border-top-color: #FFF;
    text-align: center;
}

.research-systems__wp {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 2rem;
    padding: 40px 60px 80px;
}

.research-systems__wp > * {
    grid-column: span 4;
}

.research-systems__wp > *:nth-child(3n+3) {
    grid-column: 3 / span 4;
}

.research-system-blk {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.research-system__title {
    color: var(--red);
    font-size: 1.1rem;
    line-height: 1.25;
    font-weight: 400;
    font-family: var(--mainFont);
    margin-bottom: 0;
}

.research-sec-single-intro {
    margin-top: var(--section-space);
}

.research-sec-single-item {
    margin-top: 80px;
}

.research-single-item__wp {
    display: flex;
    gap: 5%;
}

.research-single-item__wp-body {
    flex: 1;
}

.research-single-item__text a {
    color: var(--red);
    text-decoration: underline;
}

.research-single-item__wp-additional {
    width: 20%;
    display: none;
}

.research-item-gallery__wp {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.research-single-item__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.additional-link-blk {
    border: 1px solid var(--gray4);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.additional-link-blk p {
    margin-bottom: 0;
}

.honeycomb-grid {
    display: grid;
    column-gap: 1.5%; /*3px*/
    width: fit-content;
}

.honeycomb-grid--3 {
    /*Element = 2 columns -> 3x2 = 6 + 1 (lateral space)*/
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.honeycomb-item {
    position: relative;
    width: 100%;
    grid-column: span 2;
    margin-bottom: calc(-0.25 * 100%); /*fake*/
}

.honeycomb-item:hover {
    cursor: help;
}

.tooltip-parent__wp {
    position: relative;
}

.tooltip-parent__wp:hover .tooltip-txt-blk,
.honeycomb-item:hover .tooltip-txt-blk {
    visibility: visible;
}

/*an+b*/
.honeycomb-grid--3 .honeycomb-item:nth-child(6n+4) {
    grid-column: 2 / span 2;
}

/*[[DEFAULT PAGE]]*/
.single-staff-sec,
.single-resource-sec,
.single-news-sec,
.sec-intro-default {
    margin-top: var(--section-space);
}

.sec-intro-default a {
    color: var(--red);
}

.sec-intro-default ul {
    list-style: square;
    padding: 0 0 0 35px;
    margin-bottom: 30px;
}

/*[[PAGE PUBLICATIONS]]*/
.publication-sec-page {
    margin-top: var(--section-space);
}

.post-sec-page-filter__wp {
    display: flex;
    flex-direction: column;
    gap: 2%;
    flex-wrap: wrap;
}

.post-sec-page-filter__wp > *:nth-child(odd) {
    order: 1;
}

.post-sec-page-list__wp {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.single-news-sec .post-filters,
.post-filters {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-filters__item {
    font-size: 2.0rem;
}

.post-filters__item a {
    padding: 5px;
    color: var(--red);
}

.post-filters__item a:hover {
    border: 1px solid var(--red);
    padding: 4px;
    color: var(--red2);
}

/*[[PAGE NEWS]]*/
.news-sec-page {
    margin-top: var(--section-space);
}

/*[[PAGE RESOURCES]]*/
.resource-sec-page {
    margin-top: var(--section-space);
}

.resource-sec-page__wp {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 30px;
}

.resource-header-blk {
    display: flex;
    flex-direction: column;
    background: var(--gray3);
}

.resource-img {
    width: 100%;
    aspect-ratio: 1;
}

.resource-img > img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: fill;
}

.resource-content {
    padding: 18px 16px 32px;
}

.resource-title {
    margin-bottom: 8px;
    padding-bottom: 0;
}

.resource-title a {
    color: var(--red);
}

.resource-content__wp {
    display: flex;
    align-items: center;
    justify-content: end;
}


.resource-single-item__wp {
    display: flex;
    gap: 5%;
}

.resource-single-item__wp-body {
    flex: 1;
}

.resource-single-item__wp-additional {
    width: 20%;
    display: none;
}

.resource-single-item__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.resource__content a {
    color: var(--red);
}

/*[[PAGE DEI]]*/
.dei-slider__wp {
}

a#scroll-up {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #FFFFFF;
    background-color: var(--red);
    opacity: 0.5;
    border-radius: 3px;
    padding: 6px;
}

a#scroll-up:hover {
    opacity: 1;
}

#scroll-up svg {
    width: 20px;
}

@media screen and (min-width: 1024px) {

    .navbar__mobile {
        display: none;
    }

    .navbar__desktop {
        display: flex;
    }

    .dropdown-menu > .menu-item > .nav-link:hover,
    .nav-item.menu-item-has-children:hover > .nav-link,
    .nav-link:hover {
        color: var(--red);
    }

    .current_page_item .nav-link {
        color: var(--red);
        text-decoration: none;
        background: transparent;
    }

    .nav-item.menu-item-has-children:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-menu {
        position: absolute;
        display: none;
        padding: 0;
        border-radius: 0;
        border: 0;
        border-top: 1px solid var(--red);
        background: none repeat scroll 0 0 rgba(255, 255, 255, 0.8);
        min-width: 150px;
    }

    .dropdown-menu > .menu-item {
        border-bottom: 1px solid var(--gray);
        transition: all 0.3s ease-out;
    }

    .dropdown-menu > .menu-item:hover {
        background: none repeat scroll 0 0 rgba(255, 255, 255, 1);
    }

    .dropdown-menu > .menu-item > .nav-link {
        line-height: 2.1;
        font-size: 1.3rem;
        font-weight: normal;
        padding: 0.6rem 1rem;
        color: var(--gray2);
    }

}

@media screen and (max-width: 1023px) {
    .menu-blk {
        position: absolute;
        right: 0;
        height: calc(100% - var(--header-sz-h));
        min-height: calc(100vh - var(--header-sz-h));
        top: var(--header-sz-h);
        background-color: #3A3A3A;;
        flex-direction: column;
        width: 100%;
        transition: transform 0.5s ease-in;
        transform: translateX(100%);
        z-index: 3;
        align-items: center;
        justify-content: start;
        padding-top: 6.4rem;
        padding-left: 0;
    }

    .nav-item {
        opacity: 0;
    }

    .nav-link {
        padding: 10px 40px;
        color: var(--white);
    }
}

@keyframes fadeLinks {
    from {
        opacity: 0;
        transform: translate(50px);
    }

    to {
        opacity: 1;
        transform: translate(0)
    }
}

@media screen and (min-width: 1024px) {
    .navbar__menu {
        display: flex;
        gap: 4.8rem;
        width: 100%;
        justify-content: end;
    }

    .navbar__burger {
        display: none;
    }

    .menu-blk {
        gap: 2.5rem;
    }

    .nav-link {
        text-decoration: none;
        color: var(--primaryColor);
    }
}

/*[[STAFF]]*/
.staff-blk {
}

.staff__wp {
    display: flex;
    gap: 40px;
    width: 100%;
    flex-direction: column;
}

.staff-info__wp {
    flex: 1;
}

.staff-header-name__wp {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.staff__header__wp {
    width: 150px;
}

.staff-icon-name__wp {
    display: flex;
    gap: 15px;
}

.staff__icon {
    max-width: 70px;
    display: none;
}

.staff__icon_mob {
    max-width: 40px;
}

.staff__name {
    font-size: 3.6rem;
    padding: 0;
    margin: 0;
}

.staff__role {
    margin: 10px 0;
}

.staff__subtitle {
    color: black;
}

.staff-additional__wp {
    flex: 1;
}

.staff__title {
}

.staff__bio {
}

.staff-btns__wp {
    display: flex;
    gap: 5px;
    justify-items: center;
}

.staff__btn {
    font-family: var(--menuFont);
    font-size: 1.6rem;
    color: var(--red);
    line-height: 1;
    padding: 4px;
    border: 1px solid var(--gray4);
    align-self: center;

    display: flex;
    justify-items: center;
    align-items: center;
}

.staff__btn svg {
    width: 20px;
    height: auto;
}

.staff__btn:hover {
    text-decoration: underline;
}

.staff-pub__wp {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.honeycomb-item-staff__wp {
    width: 40px;
}

@media screen and (min-width: 768px) {
    .staff__wp {
        flex-direction: row;
    }

    .staff-info__wp {
        width: 35%;
        flex: unset;
    }

    .staff-header-name__wp {
        gap: unset;
        flex-direction: column;
    }

    .staff__header__wp {
        width: unset;
    }

    .staff__icon {
        display: block;
    }

    .staff__icon_mob {
        display: none;
    }

    .honeycomb-item-staff__wp {
        width: unset;
    }

    .staff-icon-name__wp {
        align-items: center;
        margin-top: 20px;
    }
}

@media (max-width: 640px) {

    .pub-single__meta {
        display: inline;
        float: none;
    }

    .pub-header-blk__wp {
        display: inline;
    }

    .pub-header__icons {
        margin-top: .5em;
        margin-bottom: .25em;
    }
}

/*[[FORMS]]*/
input[type="reset"], input[type="button"], input[type="submit"] {
    color: #FFFFFF;
    display: inline-block;
    /*margin-bottom: 30px; original from shalek*/
    padding: 5px 25px;
    appearance: none;
    cursor: pointer;
    background-color: var(--red);
    border: 0;
    border-radius: 3px;
    font-size: 1.6rem;
}

input[type="submit"]:hover, button:hover {
    background: var(--red2);
}

/* Tablet */
@media screen and (min-width: 600px) {
    .entry-dialog__slider__item {
        height: 345px;
    }

    .affiliation-icons__wp,
    .team-icons__wp {
        padding-top: 14px;
    }

    .resource-sec-page__wp {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* iPad|Laptop */
@media screen and (min-width: 768px) {
    /*[[PAGE TEAM]]*/
    .gallery-members__wp {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-blk {
        display: block;
        gap: 0;
    }

    .team-header__wp {
        width: 100%;
    }

    .team-info__wp {
        padding-top: 20px;
    }

    .team__name,
    .team__name a:not(.team__mail) {
        margin-bottom: 14px;
        text-align: center;
    }

    .affiliation-icons__wp,
    .team-icons__wp {
        justify-content: center;
    }

    .team__separator {
        margin: 0 auto;
    }

    .affiliation__info,
    .team__info {
        text-align: center;
    }

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

    .affiliation__name__wp {
        justify-content: center;
    }

    .affiliation-header__wp {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 100%;
    }

    .affiliation__name {
        text-align: center;
    }

    /*[[PAGE RESEARCH]]*/
    .research-systems__wp {
        gap: 6.4rem;
    }

    .research-system__title {
        font-size: 1.5rem;
    }
}

/* Laptop Large */
@media screen and (min-width: 992px) {
    .gallery-members__wp {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

    .research-systems__wp > *,
    .research-systems__wp > *:nth-child(3n+3) {
        grid-column: initial;
    }

    /*[[PAGE RESEARCH]]*/
    .resource-single-item__wp-additional,
    .research-single-item__wp-additional {
        display: block;
    }

    /*[[PUBLICATIONS PAGE]]*/
    .post-sec-page-filter__wp {
        flex-direction: row;
    }

    .post-sec-page-filter__wp > *:nth-child(even) {
        width: 21%;
    }

    .post-sec-page-filter__wp > *:nth-child(odd) {
        width: 77%;
        order: 0;
    }

    .pub-single-blk__hex {
        display: block;
    }

    /*[[PAGE RESOURCE]]*/
    .resource-sec-page__wp {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    /*[[PAGE PUBLICATIONS]]*/
    .news-header__wp--pub {
        flex-direction: row;
    }

    .news-header__hex {
        display: block;
    }

    .single-news-sec .post-filters,
    .post-filters {
        display: block;
    }

    .post-filters__item {
        margin-bottom: 1em;
    }

    .post-sec-page-list__wp {
        margin-top: 0;
    }

    /*Staff*/
    .staff-icon-name__wp {
        align-items: unset;
    }

}

/* HD */
@media screen and (min-width: 1280px) {

    /*[[HOME PAGE]]*/
    .gallery_entry-lyt {
        flex-direction: row;
    }

    .entry-dialog__gallery {
        width: 65%;
    }

    .home-sec-research__entry {
        width: 35%;
    }

    .entry-dialog__slider__item {
        height: 535px;
    }

    .home-sec-feat-publications__wp {
        gap: 1.6rem
    }

    .pub-front-page-container {
        flex-direction: row;
        gap: 0;
    }

    .pub-front-page-container__single {
        width: 65%;
        order: 1;
    }

    .pub-front-description {
        width: 35%;
    }

    .pub-front-description--odd {
        order: 2;
    }

    .home-sec-news__wp {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-header__wp {
        flex-direction: row;
    }

    /*[[TEAM PAGE]]*/
    .gallery_entry-lyt--reverse {
        flex-direction: row-reverse;
    }

    .team-sec-style__wp {
        flex-direction: row;
    }

    .team-sec-join__wp > *,
    .team-sec-style__wp > * {
        width: 48%; /*2 children*/
    }

    .gallery-members__wp {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .team-sec-join__wp {
        flex-direction: row;
        gap: 2%;
    }

    /*[[PAGE RESEARCH]]*/
    .research-system__title {
        font-size: 2rem;
    }

    .gallery-affiliations__wp {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    /*[[FOOTER]]*/
    .footer__wp {
        padding: 10px 0;
        flex-direction: row;
        justify-content: space-between;
    }

    /*[[MENU]]*/
    .current_page_item { /*mobile*/
        width: initial;
        background-color: transparent;
    }

    .nav-item {
        width: initial; /*mobile*/
    }

    .nav-link:hover {
        background-color: transparent;
        color: var(--red);
    }

}

/* HD */
@media screen and (min-width: 1920px) {
}