/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/



/* #GENERAL */


body {
    cursor: none;
}

.single-post  p{ font-size: 16px !important;}

/* body.modal-open { overflow: hidden; } */

/* ─── Custom Cursor ─── */
.cursor {
    position: fixed;
    width: 10px; height: 10px;
    background: var(--red);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}
.cursor-ring {
    position: fixed;
    width: 36px; height: 36px;
    border: 1px solid var(--white);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: all 0.18s ease;
    opacity: 0.5;
}

.alignfull {
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    max-width: 100vw;
    width: auto;
}

.btn-class{
    text-decoration: none;
    color: #fff !important;
    border:1px solid var(--red);
    padding: 1rem 2.4rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 3;
    transition: color 0.3s ease;
}

.btn-class:hover::before {
    transform: translateX(0);
    color: #fff !important;
}

.btn-class::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--red);
    transform: translateX(-101%);
    z-index: -1;
    transition: transform 0.35s cubic-bezier(0.7, 0, 0.3, 1);
}

.page-numbers.gb-block-is-current { text-decoration:line-through !important; }

a{ transition: .3s ease-in-out !important; }

/* #HEADER */

#sticky-navigation { 
    background-color: #0c0c0c;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.menu.sf-menu li a{
    position: relative;
}

.slideout-menu li a::before,
.site-header  .menu.sf-menu li a::before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    width: 0;
    bottom: 5px;
    transform: translateY(-50%);
    transition: .3s ease-in-out;
    border-bottom: 1px solid var(--red);
}

.site-header  .menu.sf-menu li a{
    padding: 0 !important;
}

.site-header  .menu.sf-menu li:not(:last-child) {
    margin-right: 2rem !important;
}

.current_page_item a::before{
    width: 100% !important;
}
.current-menu-item a::before{
    width: 100% !important;
}
.site-header  .menu.sf-menu li:hover a::before{
    width: 100% !important;
}

.p-relative{ position: relative !important; }
/* #HOME */

.hero-img { filter:grayscale(1); }

.hero-img::before{
    content: '' !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(12, 12, 12, 1) 100%);
    /* opacity: 0.6; */
    /* mix-blend-mode: color-burn; */
    z-index: 3 !important;
}

.hero-section::after{
    content: '' !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(12, 12, 12, 1) 100%);
    /* opacity: 0.6; */
    /* mix-blend-mode: color-burn; */
    z-index: 3 !important;
}


.hero-section-content {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translateY(-50%) !important;
    right: 0;
    z-index: 4 !important;
    max-width: 1700px;
    width: 100%;
}

.underline-heading strong{
    position: relative;
}

.underline-heading strong::before{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0%;
    width: 100%;
    bottom: 0;
    border-bottom: 2px solid var(--red);
    transform: translateY(-60%);
}

.h-subtitle {
    position: relative;
    padding-left: 40px;
    margin-bottom: 24px;
}
.h-subtitle.active::before {
    width: 30px;
}
.h-subtitle::before {
    content: '';
    position: absolute;
    width: 30px;
    border-bottom: 1px solid var(--red);
    top: 55%;
    left: 0%;
    transform: translateY(-45%);
    transition: width 0.6s ease-in-out;
    width: 0;
}

.about-image-wrap{ position: relative; }

.about-image-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--red);
    transform: translate(40px, -40px);
    pointer-events: none;
    width: 100%   !important;
    z-index:-1 !important;
}




.performance-details tr { text-align: left; }

.performance-details tr:nth-child(odd) { background-color: #1a1a1a; }

td, th {
    padding: 8px;
}


.publication-item{ position: relative; }

.publication-item::after {
    content: '';
    position: absolute;
    background: rgba(0, 0, 0, 0.4);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0; 
    height: 100%;
    width: 100%;
    transition: .3s ease-in-out;
}

.publication-item:hover::after{
    background: rgba(0, 0, 0, 0);
}

.publication-item .publication-item-content{ 
    transition: .3s ease-in-out;
    opacity: 1;
}

.publication-item:hover .publication-item-content{ opacity: 0; }


.publication-item-content {
    position: relative;
    z-index: 5;
    transition:  0.5s ease-in-out;
}

.member-item .publication-item-content {
    opacity: 0;
}

.member-img img{
   object-fit: contain !important;
}
.member-item{ position: relative;}

.member-item .publication-item-content h3 {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.member-item::after {
    content: '';
    position: absolute;
    background-color: var(--red);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    mix-blend-mode: multiply;
    opacity: 0;
    z-index: 3;
    transition:  0.5s ease-in-out;
}



.member-item:hover::after{
    opacity: 0.6;
}

.member-item:hover .publication-item-content {
    opacity: 1;
}

/* #SINGLE MEMBER */

.hero-section-member-img {
    aspect-ratio: 3/5;
    overflow: hidden;
}
.member-bio-single{
    overflow: auto !important;
    max-height: 600px;
}

.member-bio-single{ 
    position: relative;
    z-index: 3;
}

.member-bio-single .h-subtitle { display: inline-block;}

/* #FOOTER */

#contact {
    position: relative;
}

#contact::before{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 80px;
    bottom: 0;
    /* background: var(--red); */
    /* opacity: 0.2; */
    /* z-index: -1; */
    width: 100%;
    border-top: 1px solid var(--red);
}

.partner-link figure a::before{ content: none !important; }

.partner-link figure a img{transition: .3s ease-in-out !important;}

.partner-link figure a:hover img{ opacity: 0.6;}

.footer-links a {
    position: relative;
    text-decoration: none;
    font-weight: 300;
}

.footer-links  a::before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    width: 0;
    bottom: 0%;
    /* transform: translateY(-50%); */
    transition: .3s ease-in-out;
    border-bottom: 1px solid var(--red);
}

.footer-links a:hover::before{
    width: 100% !important;
}

ol, ul {
    margin: 0 0 1.5em 1em;
}

ol li, ul li{ margin-bottom: 0.5em;} 

@media(min-width:1025px) and (max-width: 1440px){
    .team-members .member.type-member{
        width: 33.33%;
    }

}

@media(max-width:1024px){

    .cursor, .cursor-ring{ display: none !important;}

    .member-item .publication-item-content,
    .publication-item-content{ opacity: 1 !important; }

    .member-item .publication-item-content {
        background: rgba(0, 0, 0, 0.5);
    }
    .about-image-wrap::before {
        content: '';
        position: absolute;
        inset: 0;
        border: 1px solid var(--red);
        transform: translate(20px, -20px);
        pointer-events: none;
        width: 100%   !important;
        z-index:-1 !important;
    }

    .site-logo{ max-width: 100px;}

    a.btn-class {
        font-size: 14px;
        padding: 10px 15px;
    }

    .single #content,
    .home #content{ padding-top: 0 !important;}


}

@media( max-width: 768px){
    .h-subtitle{
        padding-left: 0 !important;
    }

   .slideout-navigation.do-overlay .slideout-exit{
        position: fixed !important;
        top: 30px;
        right: 30px;
    }

    .slideout-navigation.do-overlay .inside-navigation .main-nav{ padding-top: 120px; } 

    .inside-header{ padding-right: 10px;}
    .h-subtitle::before{
     top: -10px;
    }

        .main-navigation.has-sticky-branding.navigation-stick .menu-toggle {
        flex-grow: 0;
        padding-right: 30px !important;
        order: 2;
    }
    .navigation-branding {
        margin-right: auto;
        margin-left: 30px !important;
    }

    #contact::before{ top: 10px;}
}