/* Vue card -------------------------------------------------- */
.ng1-last-post--card {
    display: flex;
    gap: clamp(1.5rem, 3vw,4.5rem);
    align-items: center;

}
.top-100{
    top:100px;
}
@media (max-width: 768px) {
    .ng1-last-post--card {
        flex-wrap: wrap;
    }
}
body.category .wp-site-blocks .wp-block-button.is-style-outline .wp-block-button__link:hover,
body.blog .wp-site-blocks .wp-block-button.is-style-outline .wp-block-button__link:hover{
    background: var(--wp--preset--color--first-600) !important;
    border-color: var(--wp--preset--color--first-600) !important;
}
body.category .wp-site-blocks .wp-block-button.is-style-outline .wp-block-button__link:before,
body.blog .wp-site-blocks .wp-block-button.is-style-outline .wp-block-button__link:before{
    background-image: url(/wp-content/themes/pixelea/assets/img/fleche-bleu-blanc.svg) !important;
}
.ng1-last-post--card .ng1-last-post__thumb {
    position: relative;
    z-index: 2;
    font-size: 0;
}
.ng1-last-post--card .ng1-last-post__thumb img {
    width: clamp(256px ,50vw,650px);
aspect-ratio: 1/1;
    height: auto;
    object-fit: cover;

}
.ng1-last-post--card .ng1-last-post__title {
    font-size: clamp(2.5rem, 5vw,6.25rem);
    margin:0;
    max-width:858px;
}
body.category .ng1-last-post--card .ng1-last-post__title {
    font-size: clamp(2.5rem, 4vw,4.063rem);
}
.ng1-last-post--card .ng1-last-post__date {
    font-size: .8rem;
    color: #666;
}
.ng1-last-post--card .ng1-last-post__excerpt {
    margin: .5rem 0;
    font-size: 1.25rem;
    line-height: 1.4;
}
.ng1-last-post--card .ng1-last-post__more {
    font-weight: 600;
    color: #0066cc;
    text-decoration: none;
}
.ng1-last-post--card .ng1-last-post__more:hover {
    text-decoration: underline;
}

/* Vue inline ------------------------------------------------ */
.ng1-last-post--inline {
    display: flex;
    gap: .5rem;
    align-items: center;
    font-size: .95rem;
}
.ng1-last-post--inline .ng1-last-post__date {
    background: #eee;
    padding: .15rem .4rem;
    border-radius: 4px;
    font-size: .8rem;
    color: #333;
}
.ng1-last-post--inline .ng1-last-post__title {
    color: #111;
    text-decoration: none;
}
.ng1-last-post--inline .ng1-last-post__title:hover {
    text-decoration: underline;
}

/* CATEGORIE */
.fit-content{
    width: fit-content;
}
.ng1-category-post__link{
    font-size: 1.25rem;
    font-family: var(--wp--preset--font-family--recoleta);
    font-weight: 400;
    transition: all 0.3s ease;
    padding-right: 1em;
    padding-left: 1em;
    padding-top: var(--wp--custom--button--padding--top) !important;
    padding-bottom: var(--wp--custom--button--padding--bottom) !important;
    background-color: transparent !important;
    position: relative;
    border: 2px solid currentColor;
    text-decoration: none;
  border-radius: 2rem;
  text-wrap: nowrap;

  color:var(--wp--preset--color--first-600);
}
.ng1-category-post__link:hover, .ng1-category-post__link.active{
    background-color:   var(--wp--preset--color--first-600) !important;
    border: 2px solid var(--wp--preset--color--first-600);
    color:white;
}
body .ng1-category-post__link.active:hover{
    background-color:   var(--wp--custom--color--blue-800) !important;
    border: 2px solid var(--wp--custom--color--blue-800);
    color:white;
}
.ng1-category-post__items{

    display: flex;
    justify-content:flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap:.5rem;
}
/* .ng1-category-post"__items.not-prefixed{
    justify-content:center;
} */

.wp-block-post-title>a{
    color: var(--wp--preset--color--spray-950);

}
.ng1-last-post__title>a:not(.wp-block-button__link):not(.wp-block-navigation-item__content){
    color :inherit;
    text-decoration: none !important;
    line-height: 1;
}
.ng1-last-post__meta-line{
text-transform: uppercase;
}
.ng1-last-post__category{
    text-transform: uppercase; 
    color:white;
    font-size: 1.125rem;
}
.ng1-last-post__body{
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap:2.5rem;

}

.ng1-last-post:before{
    z-index: 1;
    content:"";
    display: block;
    position: absolute;
    top: 0;left: 0;
    transform: translateY(-50%) translateX(-50%);
    display: block;
    height: clamp(250px, 50vw,900px);
  aspect-ratio: 1/1;
    background-size: contain;
    background-image: url(img/circle-blue.svg);
}
body.blog .ng1-last-post:before{

    top: 0;right: 0;
    left: auto;
    transform: translateY(-50%) translateX(50%);

    
}
@media (min-width: 768px) {
    body.single .ng1-last-post{
    margin-left: -1rem;
    }
}

@media (max-width: 768px) {
    body.single .ng1-last-post{
       padding-bottom: 2.5rem;
       padding-top: 1rem;
        }
    .ng1-last-post--card {
        padding-top: 1rem;
        flex-wrap: wrap;
    }
}

body.category a:not(.wp-block-button__link):not(.wp-block-navigation-item__content),
body.blog a:not(.wp-block-button__link):not(.wp-block-navigation-item__content),
body.single a:not(.wp-block-button__link):not(.wp-block-navigation-item__content){
    text-decoration: none !important;
}
.taxonomy-category{
    position: relative;
    z-index: 3;
}
 .taxonomy-category:hover{
background: var(--wp--preset--color--first-600);
color:white;
transition:all .5s;
}
.taxonomy-category:hover a{
    color:currentColor;
}
