/* --------------------- general --------------------- */
:root {
    --standard-color: #222835;
    --primary-color: #4fe395;
}
html {
    font-family: Montserrat;
    font-size: 62.5%;
}
body {
    display: flex;
    flex-direction: column;
    font-size: 1.4em;
    font-weight: 300;
}

header {
    position: fixed;
}

.banner {
    position: relative;
    flex: 0 0 120px;
    background-image: url('../inc/dw_vectaury_img/vt_website/vt_img/00_General/bcg_vectaury.jpg');
}
.banner::after {
    content: '';
    background-color: #222835;
    display: block;
    opacity: 0.3;
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

footer {
    flex: 0 0 auto;
}

.section {
    /* text-align: center; */
}
.section.inverted {
    background: #222835;
    color: #FFF;
}
.section-content {
    flex: 1;
    display: flex;
    max-width: 1040px;
    margin: auto;
    padding: 40px 0;
}
.section-content.spaceless {
    padding: 0;
}
.section-content.horizontal {
    flex-direction: row;
}
.section-content.vertical {
    flex-direction: column;
}
.section-content.full {
    width: 100%;
    margin: 0;
    padding: 0;
    max-width: initial;
}
.section-content.align {
    align-items: center;
}

h1.leftborder, h2.leftborder {
    font-size: 30px;
    font-weight: bold;
    border-left: 5px solid var(--primary-color);
    padding: 5px 0px 5px 15px;
}

h1.titreunderline, h2.titreunderline {
    color: #222835;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    padding: 0 0 28px 0;
    display: inline-block;
    font-size: 46px;
    line-height: 46px;
    border-left: none;
    border-bottom: 1px solid #222835;
    z-index: 5;
    margin-top: 0;
    margin-bottom: 28px;
}
h1.titreunderline::after, h2.titreunderline::after {
    content: "";
    display: block;
    position: absolute;
    height: 7px;
    width: 7px;
    bottom: -4px;
    left: 50%;
    margin-left: -3.5px;
    background-image: url(../inc/dw_vectaury_img/devider_picto.png);
    background-size: 7px 7px;
}
p.large {
    color: #222835;
    font-size: 18px;
    padding: 0 0 10px;
    position: relative;
    z-index: 5;
    margin-bottom: 0;
    font-weight: 300;
}
.centered {
    text-align: center;
}

/* --------------------- post content --------------------- */
.post-content p {
    text-align: justify;
    margin: 0 0 1.5em;
}
.post-content a {
    font-family: 'Montserrat', sans-serif;
}

.post-content blockquote {
    padding: 0;
    margin: 0 0 1.5em;
    font-size: 1.4rem;
    border-left: none;
    font-style: italic;
}
.post-content blockquote::before {
    display: none;
}

.post-content .wp-block-file {
    text-align: center;
}
.post-content .wp-block-file a:first-child {
    display: none;
}
.post-content .wp-block-file .wp-block-file__button {
    background: var(--primary-color);
    padding: 0.8em 1em;
    font-size: 16px;
    font-weight: 500;
}

.post-content .wp-block-table {
    margin: 0 0 1.5em;
}
.post-content .wp-block-table figcaption {
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}
.post-content .wp-block-table table {
    border-collapse: collapse;
}
.post-content .wp-block-table table td {
    border: 1px solid black;
    padding: 1em;
}
.post-content .wp-block-table.is-style-stripes {
    border-bottom: none;
}
.post-content .wp-block-table.is-style-stripes tr:nth-child(odd) {
    background-color: #f0f0f0;
}
.post-content .wp-block-table.is-style-stripes td {
    border-color: transparent;
}

.post-content ul {
    margin: 0 0 1.5em;
}
.post-content ul li {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    margin: 0 0 0.5em;
}

.post-content p iframe {
    margin: auto;
    width: 100%;
}

/* --------------------- post list --------------------- */
#category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 15px;
}

#category-filters button {
    font-family: 'Montserrat', sans-serif;
    padding: 10px;
    color: var(--standard-color);
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1;
    background-color: white;
    border: white 1px solid;
    outline: none;
}

#category-filters button.is-checked {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid #fff;
}

.post-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: minmax(1fr, 450px);
    grid-auto-flow: row;
    gap: 30px;
    margin-bottom: 20px;
}
@media screen and (max-width: 1200px) {
    .post-list {
        grid-template-columns: 1fr 1fr;
    }
}
@media screen and (max-width: 800px) {
    .post-list {
        grid-template-columns: 1fr;
    }
}

.post-list .post-item {
    display: flex;
    flex-direction: column;
}

.post-list .post-item.hidden {
    display: none;
}

.post-list .post-item:hover {
    background: #f1f1f1;
    box-shadow: 0 0 30px 0 rgb(0 0 0 / 25%);
}

.post-list .post-item .image {
    position: relative;
    flex: 0 0 170px;
    overflow: hidden;
    background-size: cover;
}

.post-list .post-item .image::after {
    content: '';
    width: 100%;
    height: 100px;
    background: #222835;
    left: 0;
    position: absolute;
    transform: skewY(3deg);
    bottom: -90px;
}

.post-list .post-item .image .link {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid #fff;
    transform: translate(-50%, -50%);
    text-align: center;
    font-weight: 500;
    display: inline-block;
    font-size: 14px;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 16px 15px 14px;
}

.post-list .post-item .image .link:hover {
    background: #fff;
    color: #4fe395;
}

.post-list .post-item .item-content {
    flex: 1;
    padding: 30px 25px;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    gap: 10px;

}

.post-list .post-item .item-content h3{
    font-family: Novecentosanswide-Bold , Arial, "sans-serif";
    color: var(--standard-color);
    font-size: 16px;
    max-height: 155px;
    overflow: hidden;
}

.post-list .post-item .item-content .info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-list .post-item .item-content .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-list .post-item .item-content .tags > a {
    display: block;
    font-size: 12px;
    background: var(--standard-color);
    padding: 0.5em 0.8em;
    border-radius: 666px;
    text-decoration: none;
    color: white;
    cursor: pointer;
    text-overflow: ellipsis;
    overflow: hidden;
    
}

/* --------------------- post single --------------------- */
.post {
    flex: 1;
}

.post > *:not(:first-child) {
    margin-top: 2rem;
}

.post .date {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .1em;
}
.post .info {
    padding: 15px 0;
    border-top: 1px solid #d4d4d4;
    border-bottom: 1px solid #d4d4d4;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.post .info > *:not(:first-child) {
    margin-left: 2rem;
}
.post .author {
    flex: 0 0 auto;
}
.post .tags {
    flex: 1;
}
.post .author img, .post .tags img{
    position: relative;
    top: -2px;
    margin-right: 1rem;
}

.section-content .sidenav {
    flex: 0 0 25%;
    margin-left: 2em;
}
@media screen and (max-width: 1200px) {
    .section-content .sidenav {
        display: none;
    }
}


/* --------------------- post navigation --------------------- */
.nav-articles {
    display: flex;
}

.nav-articles a {
    color: #333;
    width: 50%;
    white-space: nowrap;
    text-decoration: none;
}

.nav-articles .right {
    flex: 1;
    text-align: right;
}

.nav-articles .left {
    flex: 1;
    text-align: left;
}

/* --------------------- post social --------------------- */
.social {
    font-family: 'Montserrat', sans-serif;
}
.share {
    margin-left: .5em;
}
.share a {
    color: var(--standard-color);
    font-size: 20px;
    text-decoration: none;
}

.share a:hover {
    color: var(--primary-color);
}

/* --------------------- post last --------------------- */
.post-last .post-item {
    display: block;
    border-top: 1px solid #d4d4d4;
    margin-top: 15px;
    padding-top: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    color: var(--standard-color);
    text-transform: uppercase;
}

.post-last .post-item:hover {
    color: var(--primary-color);
}

/* --------------------- news list --------------------- */
.news-list {
    margin-top: 2rem;
}
.news-item a:hover {
    color: var(--color-standard);
}
.news-item img {
    max-width: 100%;
    margin-bottom: 1rem;
}
.wrap-news-item {
    overflow: hidden;
    text-align: justify;
}

/* --------------------- team list --------------------- */
.full-section {
    flex: 0 0 50%;
    padding: 40px;
    box-sizing: border-box;
}
.full-section.spaceless {
    padding: 0;
}
.full-section img {
    width: 100%;
    height: 440px;
}
.full-section h2 {
    border-bottom: 2px solid #FFF;
    color: #FFF;
    display: inline-block;
    padding-bottom: 15px;
    font-family: Novecentosanswide-Bold , Arial, "sans-serif";
    text-transform: uppercase;
    line-height: 40px;
    font-size: 36px;
    text-align: left;
    padding: 0 0 15px 0;
}
.full-section ul {
    list-style: none;
    padding-left: 0px;
}
.full-section li {
    margin: 15px 0;
    font-weight: 100;
    font-size: 18px;
}

.team-list {
    margin: 3rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.team-item {
    width: 250px;
}
.team-item h4 {
    text-transform: uppercase;
    border-bottom: 1px solid #222835;
    z-index: 5;
    position: relative;
    padding: 0 0 10px;
    display: inline-block;
    font-size: 13px;
    margin-top: 7px;
    min-width: 200px;
}
.team-item h4:after {
    content: "";
    display: block;
    position: absolute;
    height: 7px;
    width: 7px;
    bottom: -4px;
    left: 50%;
    margin-left: -3.5px;
    background-image: url('../inc/dw_vectaury_img/devider_picto.png');
    background-size: 7px 7px;
}
.team-item h5 {
    text-transform: uppercase;
    font-family: 'Novecentosanswide-Light';
}
@media screen and (min-width: 1024px) {
    .team-item h4 {
        font-size: 19px;
    }
}
@media screen and (min-width: 1024px) {
    .team-item h5 {
        font-size: 18px;
    }
}

/* --------------------- jobs list --------------------- */
.job-list {
    display: flex;
    flex-direction: column;
    margin: 3rem 0;
}

.job-item {
    display: flex;
    padding: 0 40px;
    background: #FFF;
    box-shadow: 1px 10px 40px 0px #cccccc;
    transition: all 0.2s ease-in-out;
    position: relative;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.job-item:hover {
    transform: scale(1.05);
}

.job-item .link {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.job-item .what {
    flex: 2;
}

.job-item .when {
    flex: 1;
    text-align: left;
    font-size: 28px;
    line-height: 34px;
    font-family: Novecentosanswide-Light;
}

.job-item .apply {
    flex: 0 0 auto;
}

.job-item h3 {
    text-transform: uppercase;
    margin: 0 0 10px;
}