/**
 * Template projects
 */
:root {
    --background-gradient-hero-start : rgba(78, 72, 133, 0.60);
    --background-gradient-hero-end : rgba(233, 61, 131, 0.60);
    --background-gradient-hero-full : #322B52;

    --background-gradient-partners-start : rgba(142, 137, 193, 0.76);
    --background-gradient-partners-end : rgba(233, 61, 131, 0.53);
    --background-gradient-partners-full : #ffffff;
}

body {
    position: relative;
}

 .breadcrumb-custom {
    display: none;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    color: white;
    padding: 9px 50px;
 }

 .breadcrumb-custom > span {
    margin-left: 10px;
    margin-right: 10px;
 }

 .breadcrumb-custom a > span {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    color: #E61770;
 }

 .breadcrumb-custom .current-item{
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    color: white;
 }

 /** Hero */
 .site-hero {
    width: 100%;
    height: auto;
    max-height: auto;
    overflow: hidden;
    background: linear-gradient(180deg, var(--background-gradient-hero-start) 0%, var(--background-gradient-hero-end) 100%), var(--background-gradient-hero-full);
  }

  .site-hero picture {
    display: block;
    text-align: center;
  }

  .site-hero picture > img {
    width: 96%;
    height: auto;
    object-position: center;
  }

  .site-hero article {
    margin-left: 0px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 50px;
  }

  .site-hero h1{
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 66px;
    letter-spacing: 0em;
    text-align: left;
    color: white;
  }

  .site-hero h4{
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: italic;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
    color: white;
    margin-top: 5px;
    margin-bottom: 8px;
    padding-left: 0px;
    max-width: 440px;
  }

  .site-hero p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 100;
    line-height: 21px;
    letter-spacing: 0em;
    text-align: left;
    color: white;
    padding-left: 0px;
  }

/** projects counter */

.site-project-counter {
    background: url('/wp-content/themes/lifestyle/img/progetti/progetti-background.png') top right no-repeat;
    background-size: cover;
}

.site-project-counter .block {
    width: 100%;
    max-width: 960px;
    margin: 0px auto;
    padding-right: 30px;
    padding-left: 30px;

}

.site-project-counter .block > .block__top{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 23px;
    width: 100%;
    border-bottom: solid 0.5px rgba(0, 0, 0, 0.15);
    padding-top: 36px;
    padding-bottom: 50px;
}

.site-project-counter .block > .block__top > h2{
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.1em;
    color: #332348;
}

.site-project-counter .block > .block__top > p{
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 100;
    line-height: 150%;
    color: #332348;
    max-width: 340px;
}

.site-project-counter .block > .block__bottom{
    width: 100%;
    padding-top: 32px;
    padding-bottom: 16px;
}

.site-project-counter .block > .block__bottom > ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    list-style: none;
}

.site-project-counter .block > .block__bottom li {
    font-family: 'Jost', sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    text-transform: uppercase;
    color: #332348;
    flex: 1 0 50%;
    margin-bottom: 31px;
}

.site-project-counter .block > .block__bottom li > var {
    font-style: normal;
}

.site-project-counter .block > .block__bottom li > span{
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 100;
    line-height: 130.023%;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #332348;
    display: block;
    margin-top: -2px;
}

/** Partners */
.site-partners {
    background: linear-gradient(90deg, var(--background-gradient-partners-start) 2.84%, var(--background-gradient-partners-end) 99.44%), var(--background-gradient-partners-full);
    background: linear-gradient(180deg, var(--background-gradient-partners-start) 2.84%, var(--background-gradient-partners-end) 99.44%), var(--background-gradient-partners-full);
    padding-top: 25px;
    padding-bottom: 20px;
}

.site-partners h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 52px;
    text-transform: capitalize;
    color: white;
    margin-bottom: 15px;
}

.site-partners p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 100;
    line-height: 21px;
    color: white;
    max-width: 314px;
}

.site-partners__block {
    width: 100%;
    max-width: 1260px;
    margin: 0px auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    padding-left: 30px;
    padding-right: 30px;
}

.site-partners__text {
    flex: 0 1 50%;
}

.site-partners__text > img{
    mix-blend-mode: darken;
    margin-bottom: 57px;
    max-width: 125px;
}

/* drawer */
.site-partners__drawer {
    width: 100%;
    max-width: 1080px;
    border-top-left-radius: 25px;
    padding: 13px 0px 13px 0px;
    background: white url(/wp-content/themes/lifestyle/img/background-drawer.png) top left no-repeat;
    background-position-x: -420px;
    background-position-y: 105px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.site-partners__drawer .offcanvas-header {
    position: relative;
    border-bottom: none;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 44px;
}

.site-partners__drawer .offcanvas-header img {
    max-width: 125px;
}

.site-partners__drawer .offcanvas-header > .btn-close {
    background: transparent url(/wp-content/themes/lifestyle/img/close-circle.svg) center center no-repeat
}

.site-partners__drawer .offcanvas-body {
   margin-top: 89px;
   position: absolute;
   overflow: hidden;
   padding: 1rem 0rem;
}

.site-partners__drawer .offcanvas-body > .row {
    padding: 0px 25px;
 }

.site-partners__drawer .offcanvas-body p  {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
    color: #332348;
    max-width: 470px;
    margin-top: 25px;
}

.site-partners__single--data > span{
    display: block;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 19px;
}

.site-partners__drawer--data > span{
    display: block;
    color: #332348;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 19px;
}

.site-partners__single--gallery {
    max-width: 1435px;
    margin-top: 50px;
    padding-left: 0px;
}

.site-partners__single--gallery > img {
    border-top-left-radius: 25px;
    border-bottom-right-radius: 25px;
    margin-bottom: 10px;
}

.site-partners__drawer--gallery {
    margin-top: 49px;
}

.site-partners__drawer--gallery > img{
    margin-bottom: 10px;
}

.site-partners__single--data{
    margin-bottom: 40px;
}

.site-partners__single--data > data{
    color: white;
    font-family: 'Jost', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height:  36px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    border-top: solid 0.5px rgba(255, 255, 255, 0.2);
    padding-top: 12px;
}

.site-partners__drawer--data > data{
    color: #332348;
    font-family: 'Jost', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height:  36px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    border-top: solid 0.5px rgba(0, 0, 0, 0.20);
    padding-top: 12px;
}

.site-partners__cards {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-top: 0px;
    padding-left: 0px;
    gap: 6px;
    flex: 0 1 50%;
    margin-top: 55px;
}

.site-partners__cards > article {
    background-color: white;
    border-top-left-radius: 25px;
    border-bottom-right-radius: 25px;
    padding: 48px 48px 48px 48px;
    max-width: 353px;
    margin-bottom: 20px;
}

.site-partners__cards > article:nth-child(even) {
    margin-top: 0px;
}

.site-partners__cards > article > img{
    margin-bottom: 40px;
    /* max-width: 90px; */
    max-width: 140px;
}

.site-partners__cards__category {
    display: block;
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: 15px;
    letter-spacing: 1px;
    color: #332348;
    text-transform: uppercase;
    border-radius: 34px;
    border: 0.5px solid var(--Strong-Shade, #E61770);
    display: flex;
    padding: 6px 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 39px;
}

.site-partners__cards > article > p{
    color: #343434;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 21px;
    margin-bottom: 33px;
}

.btn-view {
    position: relative;
    color: #332348;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-view::after {
    content: '';
    width: 10px;
    height: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -19px;
    background: url('/wp-content/themes/lifestyle/img/btn-arrow-dx.svg') center center no-repeat;

}

/* Text & Image */
.site-image-text {
    width: 100%;
    height: auto;
    max-height: auto;
    padding-top: 30px;
  }

  .site-image-text > .container {
    padding-bottom: 31px;
    border-bottom:solid 0.5px rgba(0, 0, 0, 0.15);
  }

  .site-image-text picture {
    display: block;
    text-align: center;
  }

  .site-image-text picture > img {
    max-width: 68%;
  }

  .site-image-text article {
    margin-left: 0px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 50px;
    margin-top: 47px;
  }

  .site-image-text h2{
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 30.8px;
    letter-spacing: 0em;
    text-align: left;
    color: #332348;
  }

  .site-image-text p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 100;
    line-height: 21px;
    letter-spacing: 0em;
    text-align: left;
    color: white;
    padding-left: 0px;
    color: #332348;
    max-width: 370px;
    margin-top: 25px;
    margin-bottom: 43px;
  }

  .btn-gradient {
    display: inline-flex;
    padding: 12px 20px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    background: var(--Stron-Shade---Soft, linear-gradient(90deg, #E61770 -19.85%, #8E89C1 116.96%));
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: white;
  }

  .btn-image-text {
    margin-left: 80px;
  }

  /* Other Projects */
  .site-other-projects {
    margin-top: 25px;
    margin-bottom: 101px;
  }

  .site-other-projects h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 60px;
    color: #332348;
  }

  .site-other-projects__slider {
    margin-top: 21px;
  }

  .site-other-projects .site-other-projects__swiper {
    overflow: hidden;
  }

  .site-other-projects__slider > article  {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    width: 538px;
    height: 381px;
    background-size: cover;
    padding: 39px 33px 65px 33px;
    overflow: hidden;
  }

  .site-other-projects__slider > article > img  {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -1;
  }

  .site-other-projects__slider__category {
    display: block;
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: 11px;
    letter-spacing: 1px;
    color: #332348;
    text-transform: uppercase;
    border-radius: 34px;
    border: 0.5px solid var(--Strong-Shade, #E61770);
    display: flex;
    padding: 4px 9px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: fit-content;
    background-color: white;
}

.site-other-projects__slider a > h3 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
}
.site-other-projects__swiper {
    position: relative;

}

.site-other-projects__arrow-nav {
    position: absolute;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 25px;
    width: 100%;
    top: auto;
    bottom: -69px;
    padding: 11px 60px 0px 0px;

}

/** FIX GRAFICI */

.archive .blog-items .blog-title {
    height: auto!important;
    display: flex;
    flex-direction: column-reverse;
}

.archive .blog-items .blog-title > span.date {
    display: none;
}

.archive .blog-items .blog-title > a.title {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.1em;
    color: #332348;
    text-decoration: none;
    text-transform: inherit;
}

.archive .blog-items a.blog-card-thumb > img{
    border-top-left-radius: 25px;
    border-bottom-right-radius: 25px;
    max-height: 270px;
}

.archive .blog-items .card-body {
    padding: 14px 0px;
}

.archive .blog-items .card-body > p {
    display: none!important;
}

.archive .blog-items .card-body > a {
    display: inline-flex;
    padding: 12px 20px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    background: var(--Stron-Shade---Soft, linear-gradient(90deg, #E61770 -19.85%, #8E89C1 116.96%));
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: white;
}

.archive .blog-section .projects:nth-child(even) {
    padding-left: calc(var(--bs-gutter-x) * .5);
}

.archive .blog-section .projects:nth-child(odd) {
    padding-right: calc(var(--bs-gutter-x) * .5);
}

/** BLOG */
.blog .blog-items .blog-title {
    height: auto!important;
    display: flex;
    flex-direction: column-reverse;
}

.blog .blog-items .blog-title > span.date {
    margin-bottom: 10px;
}

.blog .blog-items .blog-title > a.title {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.1em;
    color: #332348;
    text-decoration: none;
    text-transform: inherit;
}

.blog .blog-items a.blog-card-thumb > img{
    border-top-left-radius: 25px;
    border-bottom-right-radius: 25px;
    max-height: 270px;
}

.blog .blog-items .card-body {
    padding: 14px 0px;
}

.blog .blog-items .card-body > a {
    display: inline-flex;
    padding: 12px 20px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    background: var(--Stron-Shade---Soft, linear-gradient(90deg, #E61770 -19.85%, #8E89C1 116.96%));
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: white;
}

.blog .blog-section .post:nth-child(even) {
    padding-left: calc(var(--bs-gutter-x) * .5);
}

.blog .blog-section .post:nth-child(odd) {
    padding-right: calc(var(--bs-gutter-x) * .5);
}
/*
archive landing */
.page-template-templ-landing-php .blog-items .blog-title {
    height: auto!important;
    display: flex;
    flex-direction: column-reverse;
}

.page-template-templ-landing-php .blog-items .blog-title > span.date {
    display: none;
}

.page-template-templ-landing-php .blog-items .blog-title > a.title {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.1em;
    color: #332348;
    text-decoration: none;
    text-transform: inherit;
}

.page-template-templ-landing-php .blog-items a.blog-card-thumb > img{
    border-top-left-radius: 25px;
    border-bottom-right-radius: 25px;
    max-height: 270px;
}

.page-template-templ-landing-php .blog-items .card-body {
    padding: 14px 0px;
}

.page-template-templ-landing-php .blog-items .card-body > p {
    display: none!important;
}

.page-template-templ-landing-php .blog-items .card-body > a {
    display: inline-flex;
    padding: 12px 20px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    background: var(--Stron-Shade---Soft, linear-gradient(90deg, #E61770 -19.85%, #8E89C1 116.96%));
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: white;
}

.page-template-templ-landing-php .blog-section .projects:nth-child(even) {
    padding-left: calc(var(--bs-gutter-x) * .5);
}

.page-template-templ-landing-php .blog-section .projects:nth-child(odd) {
    padding-right: calc(var(--bs-gutter-x) * .5);
}


/* media */
  @media (min-width: 1200px) {
    .site-partners__text {
        flex: 0 1 50%;
    }

    .site-partners__cards {
        padding-top: 88px;
        justify-content: flex-end;
        gap: 40px;
        flex: 0 1 100%;
        margin-top: 0px;
    }

    .site-partners__cards > article:nth-child(even),
    .site-partners__cards > article:last-child {
        margin-top: -88px;
    }
  }

  @media (min-width: 992px) {
    .breadcrumb-custom {
        display: block;
     }

    .site-hero {
        max-height: 710px;
    }

    .site-hero picture {
        text-align: left;
    }

    .site-hero picture > img {
        width: fit-content;
        object-position: -100px;
    }

    .site-hero article {
        margin-left: 80px;
        padding-left: 0px;
        padding-right: 0px;
        padding-bottom: 0px;
        margin-top: -164px;
    }

    .site-hero h1{
        font-size: 60px;
    }

    .site-hero h4{
        font-size: 20px;
        line-height: 30px;
        padding-left: 80px;
        margin-top: 48px;
        margin-bottom: 25px;
    }

    .site-hero p {
        padding-left: 80px;
        max-width: 480px;
    }

    /** FIX GRAFICI */
    .archive .blog-section .projects:nth-child(even) {
        padding-left: 30px;
    }

    .archive .blog-section .projects:nth-child(odd) {
        padding-right: 30px;
    }
    .blog .blog-section .post:nth-child(even) {
        padding-left: 30px;
    }

    .blog .blog-section .post:nth-child(odd) {
        padding-right: 30px;
    }

  }

  @media (min-width: 768px) {

    /** projects counter */
    .site-project-counter .block {
        margin: 100px auto;
    }

    .site-project-counter .block > .block__top {
        flex-direction: row;
        gap: 119px;
        padding-top: 51px;
    }

    .site-project-counter .block > .block__top > h2{
        font-size: 40px;
    }

    .site-project-counter .block > .block__bottom li {
        flex: 1 0 auto;
        margin-bottom: 0px;
    }

    .site-project-counter .block > .block__bottom{
        padding-bottom: 50px;
    }

    .site-partners {
        padding-top: 139px;
        padding-bottom: 139px;
    }

    .site-partners__cards > article {
        padding: 64px 48px 48px 48px;
    }

    .site-partners__block {
        flex-direction: row;
    }

    .site-partners__cards {
        margin-top: 0px;
    }

    .site-partners h2 {
        font-size: 40px;
        margin-bottom: 47px;
    }

    /* site-image-text */
    .site-image-text {
        max-height: auto;
        padding-top: 93px;
    }

    .site-image-text picture {
        text-align: left;
    }

    .site-image-text picture > img {
        max-width: 105%;
    }

    .site-image-text article {
        margin-left: 80px;
        padding-left: 0px;
        padding-right: 0px;
        padding-bottom: 0px;
        margin-top: -101px;
    }

    .site-image-text h2{
        font-size: 40px;
        line-height: 44px;
    }

    .site-image-text p {
        padding-left: 80px;
        margin-top: 45px;
        margin-bottom: 46px;
    }

    /* Other Projects */
    .site-other-projects {
        margin-top: 140px;
    }

    .site-other-projects h2 {
        font-size: 40px;
    }

    .site-other-projects__slider {
        margin-top: 65px;
      }

      .site-other-projects__slider > article  {
        padding: 70px 33px 59px 33px;
        height: 450px;
      }

      .site-other-projects__slider a > h3 {
        font-size: 32px;
        line-height: 47.338px;
    }

    .site-other-projects__slider__category {
        padding: 6px 9px;
    }


    .site-partners__drawer {
        padding: 65px 45px 65px 45px;
    }

    .site-partners__drawer .offcanvas-header {
        border-bottom: solid 0.5px rgba(0, 0, 0, 0.30);
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .site-partners__drawer .offcanvas-body {
        margin-top: 145px;
        padding: 1rem 1rem;
     }

     .site-partners__drawer .offcanvas-body p  {
        margin-top: 0px;
    }

    .site-partners__single--gallery {
        margin-top: 0px;
        padding-left: 40px;
    }

    .site-partners__text > img{
        max-width: fit-content;
    }

    .site-partners__single--gallery > img {
        margin-bottom: 44px;
    }

    .site-partners__drawer--gallery {
        margin-top: 80px;
    }

    .site-partners__drawer--gallery > img{
        margin-bottom: 44px;
    }

    .site-partners__drawer .offcanvas-header img {
        max-width: fit-content;
    }

    .site-partners__drawer .offcanvas-body > .row {
        padding: 0px 0px;
     }

  }

  @media (min-width: 395px) {
    .site-other-projects__arrow-nav {
        top: 0px;
        bottom: auto;
    }
  }
