@import url("fonts.css");
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100&display=swap');

/* ------------------- CSS Reset ---------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

*{
    box-sizing : border-box;
}

/* ------------------ ESTILOS GENERALES ------------------*/

.loading{
    width: 100%;
    height: 80vh;
    text-align: center !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading img{
    width: 100px;
}

._desktop{
    display: block;
}


._mobile{
    display: none;
}

.hide{
    opacity: 0;
}

.reveal{
    opacity: 0;
}

.visible{
    animation: fadeInUp 1s forwards;
}


.fadeIn{
    animation: fadeIn 1s forwards;
}


.mobile{ display: none;}
.web{display: block;}

html, body{
    max-width: 100%;
    overflow-x: hidden;
}

body {

    /* colors */
    --dark: #000000;
    --light: #F7F3EB;
    --lighter: #FFFEF7;
    --off-white:#FCFCFC;
    --light-grey:#fafafa;


    /*font-family: 'GT Ultra Fine', serif;*/
    font-family: 'Mc Queen Grotesk', sans-serif;

    /*font-family: 'Overpass', sans-serif;*/
    /*font-family: 'GT Ultra Fine', serif;*/
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
    font-size: 100%;
    font-weight: 400;
    line-height: 1.7em;
    color: #000;
    background-color: #fff;
    margin: 0;
    padding: 0;
    text-align: center;
    font-variant-numeric: lining-nums;
    background: var(--light);
}

section{
    width: 100%;
    margin: 0;
    padding-top: 100px;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flow-root;
}

a, a:hover{
    text-decoration: none;
    cursor: pointer;
    transition: all .5s;
}

a{ color: inherit;}

h1{
    font-family: 'GT Ultra Fine', serif;
    font-weight: 300;
    font-size: 3.5rem;
    font-variant-numeric: lining-nums;
    line-height: 1.2;
}

h2{
    font-family: 'GT Ultra Fine', serif;
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1.2;
    font-variant-numeric: lining-nums;
}

h2.companyName{
    font-size: 2.25em;
    font-weight: 100;
}

h3{
    font-size: 2em;
    font-style: italic;
    line-height: 1.3em;
    font-weight: 100;
}


h4{
    font-size: 1.25em;
    font-weight: 400;
}


p{
    font-size: 1em;

}

b{
    font-weight: 500;
}

i{
    font-style: italic;
}

/* ------------------ BARRA NAVEGACIÓN ------------------*/

#_mobMenu{
    display: none;
}

nav {
    min-height: 80px;
    width: 100%;
    background: transparent;
    z-index: 3;
    position: fixed;
    top: 0;
    left: 0;
    padding: 1% 0;
    font-weight: 500;
    letter-spacing: .5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

/*nav ._logoH{ fill: #fff; }*/

nav._scrolling ._logoH{ fill: #000; }


._scrolling{
    background: rgb(from var(--light) r g b / 0.5);
    transition: all .5s;
    backdrop-filter: blur(10px);
}

#logo{
    max-width: 40px;
    width: 15%;
    height: 40px;
}

nav ul {
    display: flex;
    flex-direction: row-reverse;
    gap: 3rem;
}

nav ul li {

}

nav li:last-child {
}


nav ul li a {
    color: var(--dark);
    font-size: .9em;
    font-weight: 500;
    display: block;
    transition: all .5s;
    padding-bottom: 5%;
    text-align: center;
    text-transform: uppercase;
}

nav._scrolling ul li a {
    color: var(--dark);
}

nav ul li a:hover{
    opacity: .78;
}

nav ul li a:hover:after {
    background-color: var(--off-white);  
    bottom: 0;
    content: '';
    display: block;
    height: 2px;
    left: 50%;
    position: relative;
    width:  100%;
    animation: menuLine .5s forwards;
}

nav ul li a.active:after {
    background-color: var(--off-white); 
    bottom: 0;
    content: '';
    display: block;
    height: 2px;
    left: 50%;
    position: relative;
    width: 100%;
    transform: translate(-50%,10px);
}
nav._scrolling ul li a:hover:after,
nav._scrolling ul li a.active:after {
    background-color: var(--dark); 
}

a.contact{
    border: 1px solid var(--off-white);
    padding: 5% 10% !important;
    margin: -10px auto 0;
    background: var(--off-white);
    color: var(--dark);
    text-align: center;
    transition: all .5s;
    width: 140px;
}

a.contact:hover{
    background: transparent;
    color: var(--off-white);
}

a.contact:hover:after {
    animation: none;
    background-color: transparent;
}

nav img {
    margin: 5px 25px;
}

a#logo:hover:after{
    animation: none;
    background-color: transparent;
    cursor: pointer;
}


/* ------------------ homepage ------------------*/


section#hero{
    /*background: var(--light) url(../img/home/bkg-safari.jpg) no-repeat center top / cover;*/
    background: var(--light);
    /*background-attachment: fixed;*/
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--off-white);
    min-height: 75vh;
    padding-bottom: 5%;
}


#hero ._logo img{
    width: 50%;
    max-width: 300px;
    height: auto;
    margin: 0% auto 2rem;
    opacity: 0;
    animation: fadeInUp 0s forwards;
    animation-delay: .5s;
}


#hero .wp-block-heading{
    line-height: 1.5;
    width: 90%;
    max-width: 850px;
    margin: 0 auto;
    color: var(--dark);
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: .5s;
}

#homeSec{
    background: url(../img/home/home.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /*background-attachment: fixed;*/
    width: 100vw;
    height: 25vh;
    transform: rotate(180deg);
}

#homeThird .lastCta{
    width: 100%;
    display: flex;
    padding: 0 0 3rem;
}

#homeThird .lastCta a{
    font-family: 'Mc Queen Grotesk', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    text-align: center;
    background: var(--dark);
    color: var(--off-white);
    border: 1px solid var(--dark);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    width: auto;
    margin: 0 auto;
    transition: all .5s;
}

#homeThird .lastCta a:hover{
    background: transparent;
    color: var(--dark);
}

section#homeThird{
    color: var(--dark);
    /*min-height: 100vh;*/
    text-align: left;
}


#homeThird ._info{
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 3rem;
}

#homeThird img.team-member-photo-detail{
    max-width: 430px;
    aspect-ratio: 1 / 1.2;
    object-fit: cover;
    object-position: center;
}

#homeThird ul{
    list-style-type: disc;
}

#homeThird article{
    display: flex;
    gap: 2rem;
    align-items: center;
    border-bottom: 1px solid black;
    padding-bottom: 2rem;
}

#homeThird h2{
    border-bottom: 1px solid var(--dark);
    padding-bottom: 1rem;
    font-size: 1.7rem;
    letter-spacing: 1px;
}

._quote{
    width: 100%;
    text-align: center;
    margin: 2rem auto;
    float: left;
}

._quote h3{
    margin-bottom: 1%;
    font-family: 'GT Ultra Fine', serif;
}


#homeThird a img{
    float: inherit;
    margin: 0 0 0 -15%;
    transition: all .5s;
}

#homeThird a:hover img{
    transform: translateX(10px);
}


@media (max-width: 899px){

    section#hero{
        height: 80vh;
        align-items: stretch;
        justify-content: center;
    }

    #homeSec{
        height: 20vh;
    }

    #hero ._logo img {
        width: 50%;
        margin: 0% auto 1rem;
        height: auto;
    }

    h1{
        font-size: 2.5em;
    }

    #homeThird article {
        flex-direction: column;
        overflow: hidden;
    }

    #homeThird h1{
        text-align: center;
    }

    #homeThird h2{
        text-align: center;
        font-size: 1.3em;
    }

    #homeThird ._info{
        flex-direction: column;
    }

 
    #homeThird ul{
        width: 95%;
        margin: 5% 0 5% 5%;
    }

    #homeThird a{
       font-size: 1.5rem;
        margin: 5% auto;
        display: block;
    }

    #homeThird a img{
        /*display: none;*/
    }

    #homeThird ._quote h4 a{ font-size: 1rem }

    #homeThird .lastCta a{ flex-direction:column; gap:1rem; margin-bottom:1.5rem }

}

/* ------------------ portfolio ------------------*/


section#portHome{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    min-height: 75vh;
    padding-bottom: 5%;
}

section#portHome h1{
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s forwards;
    animation-delay: .5s;
}
section#portHome .page-content{
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column ;
}

section#portHome .page-content h4{
    width: 90%;
    line-height: 1.5;
    width: 90%;
    max-width: 850px;
    margin: 0 auto 1.5rem;
    color: var(--dark);
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s forwards;
    animation-delay: .5s;
}


section#portHome .page-content .wp-block-columns{
    display: flex;
}

/*@media (min-width: 1024px) and (max-width: 1399px){
    section#portHome .container h4{
        width: 60%;
    }
}
*/

#portImg{
    background: url(../img/portfolio/boat.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /*background-attachment: fixed;*/
    width: 100vw;
    height: 25vh;
}


section#portSecond{
    display: block;
    padding: 3% 0;
}

em{ font-style:italic; }
strong{ font-weight:500; }
h5{ font-weight:500; display:inline; }

section#portSecond #posts-container{
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

section#portSecond #posts-container .category-section{ 
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 0 1rem;
    border-top: 1px solid #cecece;
    gap: 3rem;
}

section#portSecond #posts-container .category-section:first-child{ 
    border: none;
    padding-top: 0;
}


section#portSecond .category-section h2 {
    width: 280px;
    font-size: 2.35rem;
    flex: 0 1 20%;
    text-align: right;
    overflow-wrap: anywhere;
}
section#portSecond .posts-in-category{
    display: flex;
    flex-direction: column;
    gap: 5rem;
    flex: 1 1 75%;
}
section#portSecond .post {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    text-align: left;
    width: 100%;
    min-height: 230px;
    height: fit-content;
    overflow: hidden;
}

section#portSecond .post p:nth-of-type(2) {
    display: inline-block;
    width: 100%;
}
section#portSecond .post img {  
    flex: 0 1 459px; 
    overflow: hidden;
    object-fit: cover;
    min-height: 239px;
    object-position: center;
} 

section#portSecond .post-content  {
    width: 100%;
    min-height: 239px;
    align-content: center;
}

section#portSecond .post-content h5{
    font-size: 1.2rem;
    margin: .3rem 0 0;
}

section#portSecond .post-content p:first-of-type{
    margin: 0;
} 
section#portSecond .post-content p{
    margin: 0;
}


section#portSecond .post-content .wp-block-buttons{
    display: flex;
    gap: 1rem;
    width: 100%;
    /*height: -webkit-fill-available;*/
}

section#portSecond .post-content .wp-block-buttons .wp-block-button{
    flex: 1 1 50%;
}

section#portSecond .loading, .error { 
    text-align: center; 
    font-size: 1.2em; 
    padding: 20px; 
}

section#portSecond .wp-block-image {
    width: 200px;
    float: right;
    margin-bottom: 1rem;
    text-align: right;
}
section#portSecond .wp-block-image img { 
    max-width: 200px;
    min-height: auto;
    vertical-align: top;
    max-height: 60px;
    object-fit: contain;
    mix-blend-mode: multiply;
    object-position: top right !important;
}

section#portSecond a{
    border: 1px solid black;
    display: block;
    width: 100%;
    float: right;
    padding: .5rem 0 .4rem;
    text-align: center;
    font-weight: 500;
    transition: all .5s;
    margin-top: 1rem;
    height: 43px;
}

section#portSecond a:hover{
    background:black;
    color: var(--off-white);
}

.contenido{    
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    /*max-height: 220px;*/
    max-width: 500px;
}
._slide{
    width: 100%;
}

._nombre{
    grid-column: 1/3;
    grid-row: 1;
}

._log{
    grid-column: 3/4;
    grid-row: 1;
    justify-self: flex-end;
}

._texto{
    grid-column: 1/4;
    grid-row: 2;
    line-height: 1.5;
}

._link{
    grid-column: 2/4;
    grid-row: 3;
    float: right;
}

._link.lightbox{
    grid-row: 4;
}

@media (max-width: 899px), (orientation: portrait){

    .contenido{
        grid-template-rows: auto;
        max-width: 100%;
    }
    ._link{
        grid-column: 1/4;
        margin-bottom: 3rem !important;
    }
    ._link.lightbox{
        grid-row: 4;
        margin-top: -2rem !important;
    }
    section#portHome .page-content h4 {
        width: 100%;
        margin: 0rem auto;
    }

    section#portSecond .post-content  {
        display: flex;
        /*flex-direction: column;*/
        flex-wrap: wrap;
        justify-content: space-between;
        min-height: auto;
        align-items: flex-start;
    }

    section#portSecond .post-content h5{ 
        margin:0 0 .3rem 0;
        line-height: 1.1;
    }


    .wp-block-table tr{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    section#portHome img[class^="wp-image-"]{
        width: 80px !important;
        margin: 0 auto;
    }


    section#portHome .container{
        padding-top:25%;
    }


    section#portHome h2{
        font-size: 1.5em;
    }

    section#portHome .container p{
        width: 100%;
    }

    #portHome ._box{
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }

    section#portSecond #posts-container .category-section{ 
        border: none;
        padding: 0;
    }

    #portSecond .category-section,
    #portSecond .posts-in-category,
    #portSecond .post {
        flex-direction: column;
    }

    section#portSecond .post img{ 
        width:100%; 
        flex: 1 1 auto !important;
        min-height: 200px;
        object-position: center;
    }
    

    #portSecond .category-section .category-title { 
        width: 100% !important;
        padding: 4rem 0 0;
        border-top: 1px solid #cecece;
        margin-top: 3rem;
    }

    #portSecond .category-section:first-child .category-title{ 
        border: none;
        padding-top: 0;
        margin-top: 3rem;
    }


    section#portSecond .wp-block-image{
        width: 100%;
        text-align: left;
    }

    section#portSecond .wp-block-image img{
        min-height: auto;
        object-position: center left !important;
        margin-top: 1rem;
        min-height: 50px;
    }

    #portSecond { padding-bottom:3rem !important }
    section#portSecond .category-section h2 {
        width: 100%;
        text-align: left;
        font-size: 2.35rem;
        flex: 1 0 100%;
    }

    section#portSecond .post-content .wp-block-buttons{
        flex-direction: column;
        gap: 0;
        margin: 1rem 0 0;
    }
}

/* manfredi  */

section#chairmanData{
    text-align: left;
    padding-bottom: 3%;
    /*background: var(--off-white);*/
    min-height: 100vh;
}

section#chairmanData .container{
    width: 90%;
    max-width: 1400px;
    padding-top: 5%;
}


section#chairmanData .container h2{
    border-bottom: 1px solid black;
    padding-bottom: 1rem;
}

section#chairmanData .container .linkedin{
    float: left;
    margin-top: 0px;
    margin-left: 30px;
}

section#chairmanData article{
    display: flex;
    gap: 5rem;
    align-items: center;
}

section#chairmanData article ul{
    list-style-type: disc;
    display: flow-root;
    font-size: 1.2rem;
    line-height: 1.8;
}

@media (max-width: 899px){
  
    section#chairmanData article{
        flex-direction: column;
        gap: 1rem;
    }

    section#chairmanData article .team-member-photo-detail{
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        object-position: center 25%;
    }
    section#chairmanData article ul {
        font-size: 1rem;
        padding: 0 0 0 5%;
    }
}

/* ------------------ the team ----------------*/

section#team-container{
    text-align: left;
    /*background: var(--off-white);*/
    padding-bottom: 3%;
}

section#team-container .department-section{
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
    padding: 0;
}


section#team-container .team-grid{
    display: flex;
    justify-content: center;
    gap: 3rem;
    align-items: stretch;
    padding-bottom: 2rem;
}


section#team-container .team-grid article{
    background: var(--lighter);
    padding: 1rem;
    margin: 3rem 0;
    /*box-shadow: 0px 0px 20px rgba(0,0,0,.1);*/
    flex: 0 0 25%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
}

#dept-corporate-finance-and-capital-markets .team-grid{
    flex-direction: column;
    align-items: center !important;
    gap: 0 !important;
}

section#team-container img{
    width: 100%;
}

section#team-container h1 {
    border-bottom: 1px solid black;
    padding-bottom: 2%;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    font-size: 2.5rem;
}

section#team-container p{
    line-height: 2.1em;
    font-size:.8em;
}

section#team-container ul{
    text-align: left;
    list-style-type: disc;
    display: flow-root;
    margin-left: 2rem;
}


.team-member-linkedin-icon,
.team-member-linkedin-popup{
    width: 24px;
    border-radius: 5px;
    overflow: hidden;
    height: 24px;
}

p.team-member-linkedin-popup{
    float: right;
    width: 32px;
    height: 32px;
    margin-top: 5px;
}

.team-member-position-popup {
    font-size: 1rem !important;
    float: left;
    text-transform: uppercase;
}

.team-member-main-content-popup{
    display: inline-flex;
    margin-top: 1rem;
}
div[id^="popup-"] {
    padding-top: 80px;
    margin: 0;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    justify-content: center;
    align-items: center;
}

.popup-content-wrapper{
    width: 90%;
    max-width: 1400px;
    background: var(--off-white);
    padding: 2rem 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    text-align: left;
}

.popup-content-wrapper h1{
    text-align: left!important;
    margin: .5rem 0 !important;
    padding: 0 0 .5rem !important;
}

.team-member-photo-popup{
    width: 35% !important;
    float: left;
}

.data{
    text-align: left;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: flex-end;
}

.popup-close-btn,
.view-more-btn {
    float: right;
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
    cursor: pointer;
    width: 35px;
}

.team-member-position{
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.5;
}
 .popup-close-btn{
    margin: -1.5rem -1rem;
 }


@media (max-width: 899px){
    section#portHome h1{
        font-size: 1.7em;
        width: 90%;
        margin-bottom: 1rem;
    }

    section#team-container{
        margin: 0;
        padding-top: 0;
    }
    section#team-container .team-grid{
        flex-direction: column;
        align-items: center;
    }


    section#team-container .team-grid article{
        margin: 1rem 0;
        flex: 1 0 100%;
    }

    .popup-content-wrapper{
        padding: 1rem;
        flex-direction: column;
    /*    align-items: flex-start;
        text-align: left;*/
    }

    div[id^="popup-"] {
        align-items: flex-start;
        overflow: scroll;
    }
    .team-member-photo-popup {
        width: 100% !important;
    }

    section#team-container h1 {
        margin: 1rem auto .5rem !important;
        width: 90%;
        font-size: 2rem;
    }

    .team-member-position-popup{
        margin-left: 5%;
    }

    .team-member-linkedin-popup{
        margin-right: 5%;
    }

    .popup-close-btn {
        margin: 0;
        background: rgba(255, 255, 255, .5);
        border-radius: 50px;
        position: fixed;
        top: 80px;
        right: 5%;
    }
}

/* -------------- PRESS --------------- */

section#press-releases-main-content{
    padding: 2rem 0;
    display: flex;

}

#press-releases-section-title{
    padding-top: 8rem;
}

#press-releases-list-container {
   display: flex;
   width: 90%;
   max-width: 1400px;
   margin: 1rem auto;
    flex-wrap: wrap;
}


#press-releases-list-container article {
    flex: 0 1 30%;
    margin: 1rem 1.5%;
    /*box-shadow: 0 0px 10px rgba(0, 0, 0, 0.15);*/
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: .5rem;
    justify-content: space-between;
    text-align: left;
    background: var(--lighter);
}

#press-releases-list-container article .pr-title{ display:none; }

#press-releases-list-container article .pr-excerpt{
    text-align: left;
    line-height: 1.4;
}

.pr-read-more-btn{
    background-color: var(--dark);
    border: 1px solid var(--dark);
    text-transform: uppercase;
    color: var(--off-white);
    text-align: center;
    padding: .5rem 0;
    transition: all .5s;
    width: 100%;
    font-family: 'Mc Queen Grotesk', sans-serif;
    font-weight: 500;
    margin-top: 1rem;
    cursor: pointer;
}

.pr-read-more-btn:hover {
    background-color: var(--off-white);
    color: var(--dark);
}

.pr-image-wrapper img{
    width: 100%;
    object-fit: cover;
    aspect-ratio: 2 / 1;
   /* opacity: 0.4;
    filter: grayscale(100%);*/
}

#press-release-detail-container{
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
    min-height: 100vh;
}

#back-to-pr-list{
    border: none;
    background: transparent;
    text-transform: uppercase;
    font-family: 'Mc Queen Grotesk', sans-serif;
    color: var(--dark);
    font-weight: 500;
    cursor: pointer;
    margin: 6rem 0 2rem 0;
}



.pr-detail-date, .pr-card-date{
    text-transform: uppercase;
    border-bottom: 1px solid black;
    margin-bottom: 1rem;
}

.pr-detail-title{
    margin-bottom: 2rem;
}

.pr-detail-image{
    width: 50%;
    float: right;
    margin: 1rem 0 2rem 2rem;
}

#press-release-detail-container h1{
    margin-bottom: 2rem;
}

#press-release-detail-container p{
    line-height: 1.5;
    padding: 1rem 0;
}

#press-release-detail-container figure{
    width: 50%;
}

#press-release-detail-container figure img{
    width: 100%;
}

#press-release-detail-container figure.floatR{
    float: right;
    margin: 2rem 0 .5rem 2rem;
}


#press-release-detail-container figure.floatL{
    float: left;
    margin: 2rem 2rem .5rem 0;
}


figcaption{
    font-size: .8rem;
    opacity: .8;
    margin-bottom: 2rem;
}

#press-release-detail-container .date{
    text-transform: uppercase;
    border-bottom: 1px solid black;
    margin-bottom: 1rem;
}


#press-release-detail-container ._boton{
    color: var(--dark);
    background: transparent;
    text-transform: uppercase;
    padding: .6rem 2rem .5rem;
    display: inline-block;
    margin: 2rem 0 ;
    border: 1px solid var(--dark);
    transition: all .5s;   
    /*float: left; */
    font-size: .9rem;
}

#press-release-detail-container ._boton:hover{
    background: var(--dark);
    color: var(--off-white);
}


section#media-kits-section{
    /*background: var(--light-grey);*/
    background: var(--dark);
    color: var(--light);
    padding: 5rem 0;
}

#media-kits-display-container{
    width: 90%;
    max-width: 1400px;
    margin: 5rem auto 3rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.media-kits-list{
    display: flex;
    gap: 3rem;
}

.media-kit-item{
    flex: 1 1 auto;
    text-align: left;
}

.media-kit-item h2{
    margin-bottom: .5rem;
}

.media-kit-item a{
    display: inline-block;
    margin-top: 1rem;
    padding-bottom: .3rem;
    border-bottom: 1px solid var(--light);
    transition: all .5s;
}

.media-kit-item a:hover{
    letter-spacing: 1px;
}
#newsletter h2{
    width: 60%;
    float: left;
    text-align: right;
}


@media (max-width: 899px){
    
    #press-releases-list-container,
    .media-kits-list{
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .pr-detail-image,
    #press-release-detail-container figure.floatL, #press-release-detail-container figure.floatR{
        width: 100%;
    }

}



/* ==================== blog  =================== */

#blogHero{
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 75vh;
    padding-bottom: 5%;
    flex-direction: column;
    gap: 1.5rem;
}

#blogImg{
    background: url(../img/blog/hero.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /*background-attachment: fixed;*/
    width: 100vw;
    height: 25vh;
}

section#blog-container{
    text-align: left;
    padding: 3rem 0;
    width: 90%;
    max-width: 700px;
    margin: 0 auto;
}

section#blog-container ul{
    margin: 1rem auto;
    list-style-type: disc;
    padding-left: 1.5rem;
}

/* ==================== TIMELINE  =================== */

#timeHero{
    /*background-attachment: fixed;*/
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 75vh;
    padding-bottom: 5%;
    flex-direction: column;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    gap: 1.5rem;
}

#timeImg{
    background: url(../img/timeline/hero.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /*background-attachment: fixed;*/
    width: 100vw;
    height: 25vh;

}

#timeline-container{ padding:4rem 0 }

.timeline-wrapper{
    display: flex;
    flex-direction: column;
}

.timeline-item p{
    margin: 0 0 1rem;
}

.timeline-item ul{
    padding: 0 0 0 2rem;
}
.timeline-item li{
    list-style-type: disc;
    list-style-position: outside;
}

.timeline-item li li{
    list-style-type: square;
}

.timeline-item li::marker{
    margin-right: .2rem;
}

.timeline-year-section{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    padding:  0;
    margin: 0 auto;
    width: 90%;
    max-width: 1400px;

}
.timeline-year-title{ 
    text-align:right; 
    flex: 0 0 1.5rem;
    font-size: 3rem;
    /*transform: rotate(-90deg);*/
    transform-origin: center bottom;
    color: var(--dark);
    font-weight: 400;
    padding-top: 1rem;
    padding-right: 2rem;
    flex: 0 0 150px;
    border-top: 1px solid black;
   
}

.timeline-list {
    display: flex;
    flex-direction: column;
    flex: 0 0 60%;
    gap: 2rem;
    text-align: left;
    border-left: 1px solid black;
    padding: 0rem 0 2rem 2rem;
}


.timeline-item{
    background: var(--lighter);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-title{
    font-family: 'GT Ultra Fine', serif;
    font-weight: 400;
    font-size: 2rem;
    font-variant-numeric: lining-nums;
    font-style: normal;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p.timeline-month-detail{
    text-transform: uppercase;
    font-size: .9rem;
    margin: 0;
}


.timeline-item img{
    width: 100%;
    object-fit: cover;
    height: 100%;
    aspect-ratio: 3.2;
}

.timeline-item img.timeline-logo{
    max-width: 200px;
    max-height: 50px;
    object-fit: contain;
    object-position: center left;
}

.timeline-link-button{
    border: 1px solid var(--dark);
    color: var(--dark);
    padding: .5rem 1rem;
    text-transform: uppercase;
    transition: all .5s;
    float: right;
    font-size: .9rem;
    font-weight: 500;
    text-align: center;
    border-radius: 5px;
}

.timeline-link-button:hover{
    background: var(--dark);
    color: var(--off-white);
}

.timeline-bottom-card-info{
    display: flex;
    align-items: flex-end;
    justify-content: space-between
}

@media (max-width: 1199px){
    #timeHero {

    }
    .timeline-year-title {
        font-size: 3rem;
        transform: rotate(0deg);
        text-align: left;
        width: 100%;
        border: none;
        padding: 0;
    }
    .timeline-year-section{
        flex-direction: column;
        padding: 1rem 0rem;
        gap: 1rem;
        border: none;
    }
    .timeline-list {
        padding: 0;
        border: none;
        gap: 1rem;
    }
    .timeline-year-title {
        flex: 0 1 auto;
    }

    .timeline-item ul {
        padding: 0 0 0 1rem;
    }
    .timeline-item-content{
        display: flex;
        flex-direction: column;
    }
    .timeline-item img.timeline-logo{
        margin: 0 0 1.5rem 0;
    }

    .timeline-bottom-card-info{
        flex-direction: column;
        align-items: stretch;
    }
}

/*  centricus */

#managementTeam{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

#managementTeam h1{
    max-width: 850px;
    margin: 2rem auto 5rem;
    font-size: 3rem;
    border-bottom: 1px solid black;
    padding-bottom: 1rem;
}

#managementTeam .back-button{
    width: 850px;
    text-align: left;
}


#managementTeam .wp-block-media-text{
    display: flex;
    width: 90%;
    max-width: 1000px;
    margin: 0rem auto 5rem;
    gap: 2rem;
    text-align: left;
}

#managementTeam .wp-block-media-text .wp-block-columns{
    display: flex;
    width: 100%;
    gap: 3rem;
    justify-content: flex-start;
    align-items: center;
    margin: 2rem 0;
}

#managementTeam .wp-block-media-text .wp-block-columns .wp-block-column{
    flex:1 0 20%;
}

#managementTeam .wp-block-media-text .wp-block-columns figure img{
    max-width: 150px;
    max-height: 65px;
    object-fit: contain;
    object-position: center;
}

#managementTeam .wp-block-media-text ul li{
    list-style-type: disc;
    margin-left: 1rem;
}

#managementTeam .wp-block-media-text .wp-block-columns .wp-block-image{
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 999px){

    #managementTeam h1{
        font-size: 2rem;
        width: 90%;
    }

    #managementTeam .back-button{
        width: 90%;
        text-align: left;
    }


    #managementTeam .wp-block-media-text{
        flex-direction: column;
        width: 90vw;
    }

   #managementTeam .wp-block-media-text .wp-block-columns{
        column-gap: 2rem;
        row-gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        margin: 1rem 0 0;
    }


    #managementTeam .wp-block-media-text .wp-block-columns .wp-block-column{
        flex: 0 1 auto;
    }

    #managementTeam .wp-block-media-text .wp-block-columns figure img{
        width: auto;
        max-width: 100px;
    }

    #managementTeam .wp-block-media-text ul{
        margin: 2rem 0;
    }
}


/* ------------------ FOOTER ----------------*/

footer{
    background: var(--lighter);
    color: var(--dark);
    text-align: left;
    padding-top: 2%;
    font-size: .8em;
    line-height: 1.5;
}

footer .container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 1rem;
}

footer .logo{
    width: 200px;
    margin-bottom: 1rem;
}

footer .ico{
    width: 20px;
    height: 45px;
    margin-right: 5px;
    float: left;
    object-position: center top;
    object-fit: contain;
}


footer .menuItems{
    text-transform: uppercase;
    font-weight: 500;
    line-height: 2;
}

footer .menuItems a:hover{
   opacity: .75;
}

footer span{
    color: var(--dark);
    display: block;
}

footer .ico2{
    margin-bottom: -5px;
    margin-right: 5px;
    max-width: 20px;
}
.copyright{
    text-align: center;
    width: 100%;
    padding: 1% 0;
    font-size: .9em;
    color: var(--dark);
}
/* ------------------ animations --------------- */

@keyframes menuLine {

    from {
        opacity: 0;
        transform: translate(-50%,0px);
    }

    to {
        opacity: 1;
        transform: translate(-50%,10px);
    }

}


@keyframes fadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}

@keyframes fadeInUp {

    from {
        opacity: 0;
        transform:translateY(20%);
    }

    to {
        opacity: 1;
        transform:translateY(0%);
    }

}

@keyframes pullDown {
    0% {
        opacity: 0;
        transform: scaleY(0.1);
    }
    40% {
        transform: scaleY(1.02);
    }
    60% {
        transform: scaleY(0.98);
    }
    80% {
        transform: scaleY(1.01);
    }
    100% {
        transform: scaleY(0.98);
    }               
    80% {
        transform: scaleY(1.01);
    }
    100% {
        opacity: 1;
        transform: scaleY(1);
    }
}

@media (orientation:portrait), (max-width: 1199px) {

    ._desktop{
        display: none;
    }
    ._mobile{
        display: block;
    }

    #_mobMenu{
        display: block;
        padding: 0;
        width: 100vw;
        height: 55px;
    }

    #_deskMenu{
        display: none;
    }

    nav #nav-toggle{
        font-size: 5em;
        float: right;
        margin: 1rem 0 0 0;
        color: var(--dark);
        font-family: 'Raleway';
        font-weight: 100;
    }

    nav._scrolling #nav-toggle{
        color: var(--dark);
    }

    #nav-toggle:before{
        content:"+";
    }

    #nav-toggle.active:before{
        content:"\00D7";
        margin: -5px 0 0 0;
        display: block;
    }

    #logo{
        width: 100%;
        margin: 0 auto;
    }

    nav #mob-menu{
        display: none;
        position: absolute;
        height: 100vh;
        padding: 25% 2rem 0;
        width: 100vw;
        background: var(--light);
        position: absolute;
        z-index: -1;
        left: 0;
        top: 0;

    }

    nav #mob-menu li{
        display: flex;
        margin: 1rem 0;
        align-items: center;
        justify-content: flex-start;
    }

    nav #mob-menu li a{
        color: var(--dark);
        font-size: 1.2em;
        padding: 0;
    }
 

    a.contact {
        width: 100% !important;
    }

    /* GENERAL STYLES */

    h4 {
        font-size: 1em;
    }


/* ------------------ FOOTER ----------------*/


    footer .container{
        display: flex;
        flex-direction: column;
        font-size: 130%;
        padding: 5%;
        line-height: 1.5em;
        text-align: center;
    }
    footer .logo{
       display: none;

    }

    footer .ico{
       width: 100%;
       padding: 0 45%;
       display: block;
       object-position: center;
    }


    footer .menuItems{
        display: none;
    }


    footer input{
        width: 70%;
        float: left;
        height: 35px;

    }
    footer button{
        width: 30%;
        float: left;
        margin: 3% 0 10%;
        height: 35px;
    }

    footer .ico2{
            width: 36px;
    }
    .copyright {
        font-size: 1.1em;
    }


}
