:root{
    --spirit-purple: #4b2e83;
    --husky-purple: #32006e;
    font-size: 18px;
}
body {
    overflow-x: hidden;
}
a {
    color: var(--spirit-purple);
}
a:hover {
    color: var(--husky-purple)
}
header #header {
    position: static;
    top: 0;
    width: 100vw;
}

header a {
    color: white;
    text-decoration: none;
}
 header a.site-title {
    margin: 0;
    padding: .5rem 0;
    color: white;
    font-weight: 700;
    font-size: 2rem;
}


.glass {
    z-index: 10;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.navbar-nav {
    gap: 1rem;
}

.nav-link {
    --bs-nav-link-color: rgba(255, 255, 255, 0.8);
}
.nav-link:hover {
    --bs-nav-link-hover-color: rgba(255, 255, 255, 1.0);
}

.nav-link.active {
    text-decoration: underline;
    text-decoration-thickness: 4px;
    text-underline-offset: .75rem;
}

.hero {
    background-position: center top;
    background-size: cover;
    min-height: 75vh;
    width: 100%;
    position: relative;
}

.hero-home {
    background-image: url('/img/home-hero.jpg');
}
.hero-research {
    background-image: url('/img/research-hero.jpg');
}
.hero-people {
    background-image: url('/img/people-hero.jpg');
}
.hero-join-us {
    background-image: url('/img/join-hero.jpg');
}
.hero-news {
    background-image: url('/img/news-hero.jpg');
}

.hero-content-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}

.hero-home .hero-content-wrapper{
    background-color: rgba(255, 255, 255, 0.65);
}

.hero-research .hero-content-wrapper,
.hero-people .hero-content-wrapper,
.hero-join-us .hero-content-wrapper,
.hero-news .hero-content-wrapper {
    background-color: rgba(75, 46, 131, 0.75);
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 90%;
    margin: 1rem 0 1.5rem 0;
}

@media (min-width: 992px) {
    .hero{
        justify-content: center;
    }
    .hero-content-wrapper {
        width: 42%;
        clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
        position: absolute;
        top: 0;
        bottom: 0;
        text-align: left;        
    }
}

@media (min-width: 1320px) {
    .hero-content-wrapper {
        width: 45%;
        padding-left: calc((100vw - 1320px)/2);
    }
}

@media (min-width: 2550px) {
    .hero-content-wrapper {
        width: 48%;
        clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
    }
    .hero-content{
        padding-right: 2rem;
    }
}

.hero-content h1 {
    font-weight: 700;
    font-size: 2.5rem;
}

.hero-content p {
    font-size: 1.125rem;
    letter-spacing: .05;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: .025;
}

.hero-home .hero-content h1,
.hero-home .hero-content p {
    color: var(--spirit-purple) !important;
}

.hero-research .hero-content h1,
.hero-research .hero-content p,
.hero-people .hero-content h1,
.hero-people .hero-content p,
.hero-join-us .hero-content h1,
.hero-join-us .hero-content p,
.hero-news .hero-content h1,
.hero-news .hero-content p {
    color: white !important;
}


main > .container-fluid,
main > * > .container-fluid,
footer > .container-fluid {
    max-width: 1320px;
}

main {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: #4b2e83 !important;
    border-color: #32006e !important;
    font-weight: 600 !important;
    color: white !important;
}

.btn-primary:hover {
    background-color: white !important;
    border-color: #32006e !important;
    color: #32006e !important;
    box-shadow: var(--bs-box-shadow-sm) !important;
}

.shadow-small {
    box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

h2 {
    color: var(--spirit-purple) !important;
    margin-bottom: 1rem !important;
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.accordion-header .accordion-button {
    font-weight: 700;
    color: var(--spirit-purple);
    padding: .5rem 0;
    
}

.accordion-button:not(.collapsed) {
    background-color: var(--spirit-purple) !important; 
    color: white !important;
}


.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
}

.accordion-button:focus {
    box-shadow: 0 0 0 .25rem rgba(197, 180, 227, 0.5) !important;
}

.research-cards .list-group-item {
    color: var(--spirit-purple);
    font-weight: 700;
}

.research-cards .accordion {
    margin-left: -.5rem;
    margin-right: -.5rem;
}

.research-cards .accordion .accordion-button {
    padding: .5rem;
}

.research-cards .accordion .accordion-body {
    padding: .5rem;
}

.research-cards .accordion-button:not(.collapsed) {
    color: #000;
}

.people-cards .card-img-top {
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center top;
}

.people-cards .card-body h3 {
    color: var(--husky-purple);
    text-decoration: none;
}
.people-cards .card-body:hover h3 {
    text-decoration: underline;
}

.people-cards .card {
    transition: all 0.125s ease-in-out;
}

.scientific-advisors ul li {
    margin-bottom: .75rem;
}

.news-cards .card {
    max-width: 540px;
    transition: all 0.125s ease-in-out;
}

.news-cards .card h2 {
    font-size: 1.325rem;
    font-weight: 700;
}

.news-cards .card:hover,
.people-cards .card:hover{
    box-shadow: 0 0.25rem 0.25rem rgba(75, 46, 131, 0.5) !important;
}

.news-cards .card:hover h2 {
    text-decoration: underline;
}

.pagination .page-item .page-link {
    color: var(--spirit-purple);
}

.pagination .page-item .page-link.active {
    background-color: var(--spirit-purple);
    border-color: var(--husky-purple);
    color: white;
}

.featured-img {
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center center;
    width: 100%;
    margin-bottom: 2rem;
}

.article-body p:first-of-type {
    font-weight: 300;
    font-size: 1.125rem;
}

#sidebar .recent-news a {
    text-decoration: none;
    transition: all 0.125s ease-in-out;
}

#sidebar .recent-news a:hover h3 {
    text-decoration: underline;
    color: var(--spirit-purple) !important;
}


#sidebar .recent-news p {
    margin-bottom: .5rem;
    color: #000 !important;
} 

#sidebar .recent-news h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #000;
}


footer .list-unstyled li a {
    color: white;
}

footer#footer {
    background-color: var(--spirit-purple);
    border-top: 6px solid #aaa;
    color: white;
}

.img-fill {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: left center;
}

.contact-card:hover{
    box-shadow: 0 0.25rem 0.25rem rgba(75, 46, 131, 0.5) !important;
    transition: all 0.125s ease-in-out;
}

.contact-card:hover strong, .contact-card:hover p {
    color: var(--husky-purple);
}

.visually-hidden-focusable {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.visually-hidden-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: #fff;
  z-index: 9999;
}

.img-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    padding: .25rem 0;
}

.building-cards .card {
    position: relative;
}

.building-cards .card-body p,
.building-cards .card-body h3 {
    position: relative;
    z-index: 1;
}

.dashed-hr {
    border-style: dashed;
}

.lighter-bigger {
    font-weight: 300;
    font-size: 1.125rem;
}

.husky-purple {
    color: var(--husky-purple) !important;
}

.img-square {
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center center;
    width: 100%;
}

.vision-mission-row {
    background-image: url("/img/pharm-cloud.svg");
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

.bg-light {
    background-color: #f5f5f5 !important;
}
