/* Global */

hr.wp-block-separator {
    margin: 4.5rem 0;
    border-top: 1.5px solid #ff1478;
    border-bottom: 1.5px solid #ff1478;
    background: #ff1478;
}

#primary .grid-posts {
    margin-top: -1.5rem;
}

@media screen and ( max-width:768px ) {

    hr.wp-block-separator {
      margin: 1.2rem 0;      
    }

    #primary .grid-posts {
        margin-top: 3rem;
    }

    .wp-block-spacer {
        height: 50px!important;
    }

    hr.wp-block-separator.separator-negative {
        background:transparent!important;
        border-color:transparent!important;
    }
}

/* Stick Posts */

#primary .stick-posts {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 0 0 4.8em;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: center;
}

#primary .stick-posts h2,
#primary .stick-posts h3,
#primary .stick-posts h4 {
    line-height: 1.8rem;
}

#primary .stick-posts article.article-excerpt {
    width: 100%;
    margin: 0;
    position: relative;
    height: 100%;
}

#primary .stick-posts .column1 {
    width: 48%;
    margin-right: 2.5%;
    align-self: stretch;
}

#primary .stick-posts .column1 .entry-category {
    background: #ff1478;
}



@media (min-width:1200px) {


    #primary .stick-posts {
        min-height: 290px;
    }

    #primary .stick-posts .column1 .post-link {
        display: block;
        width: 100%;
        height: 100%;
        z-index: 5;
        position: absolute;
        display: none;
    }
    
    #primary .stick-posts .column1 .entry-thumbnail {
        border-radius: 9px;
        overflow: hidden;
        position: relative;
        height: 100%;
    }
        
    #primary .stick-posts .column1 article:hover img {
        transform: scale(1.1);
        opacity: 0.8;
    }    
    #primary .stick-posts .column1 .entry-thumbnail a {
        z-index: 2;
        height: 100%;
    }
    #primary .stick-posts .column1 .entry-thumbnail a img {
        height: 100%;
        /* height: auto; */
        width: auto;
    }
        
    
    #primary .stick-posts .column1 .entry-thumbnail::before {
        content:'';
        display:block;
        width:100%;
        height:100%;
        position: absolute;
        background: #000;
        background: linear-gradient(#c3bbff, #2248e1);
        opacity: 0.5;
        z-index: 2;
    }
    
    #primary .stick-posts .column1:hover .entry-thumbnail img, 
    #primary .stick-posts .column1 .entry-thumbnail:focus img {
        transform: scale(1.1);
        opacity: 0.8;
    }

    #primary .stick-posts .column1 .entry-content {
        position: absolute;
        bottom: 0;
        padding: 41px 45px;
        z-index: 2;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        cursor: pointer;
        width: 100%;
    }

    #primary .stick-posts .column1 .entry-content,
    #primary .stick-posts .column1 .entry-content .entry-title a,
    #primary .stick-posts .column1 .entry-content .entry-meta {
        color: #fff;
        text-shadow: 1px 1px 9px #333333;
    }
}

@media (min-width:769px) and (max-width:1199px) {
    #primary .stick-posts .column1 .entry-thumbnail a img,
    #primary .stick-posts .column2 .entry-thumbnail a img {
        max-height: 200px;
    }
}

#primary .stick-posts .column2 {
    display: flex;
    flex-direction: column;
    width: 49.5%;
    justify-content: space-between;
    align-self: stretch;
    /* height: 100%; */
    height: auto;
    overflow: hidden;
    /* max-height: 431px; */
}

#primary .stick-posts .column2 article {
    flex-direction: row;
    display: flex;
    align-items: center;
}

#primary .stick-posts .column2 article:last-child {
    /* align-items: end; */
}

#primary .stick-posts .column2 article .entry-thumbnail {
    width: 34%;
    height: 100%;
}



#primary .stick-posts .column2 article .entry-thumbnail a {
    height:100%;
}

#primary .stick-posts .column2 article .entry-thumbnail a img {
    height:100%;
}

#primary .stick-posts .column2 article .entry-content {
    display:flex;
    justify-content: space-between;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    width: 55%;
    margin: 0.2rem 0 0.6rem 1.5rem;
}

#primary .stick-posts .column2 article .entry-content .entry-category {
    margin: 0 0 10px;
}

@media (min-width:769px) and (max-width:1200px) {

    #primary .stick-posts .column1 {        
        width: 30.5%;
        margin-right: 6%;
    }
       
    #primary .stick-posts .column2 {        
        flex-direction: row;
        width: 69.5%;
        margin: 0 -3%;
    }

    #primary .stick-posts .column2 article {
        flex-direction: column;
        margin: 0 3%;
    }
    
    #primary .stick-posts .column2 article .entry-thumbnail,
    #primary .stick-posts .column2 article .entry-content {
        width:100%;
        padding: 0;
        margin: 0;
    }
}

@media (min-width:1201px) {
  #primary .stick-posts .column2 article:last-child {
    margin-top: 22px!important;
    }  
}

 


/* Widgets Home */

#primary .btn-all-posts {
    float: right;
    margin-top: -3.9em;
}

#primary .entry-content .entry-category {
    margin-top: 1.3rem;
}




@media ( max-width:768px ) {  
    
    #primary .stick-posts {
        flex-direction: column;
        margin: 0;
    }

    #primary .stick-posts .column1,
     #primary .stick-posts .column2 {
        width:100%;
        margin-bottom: 1rem;
        margin-right: 0;
     }

    #primary .stick-posts .column1 {
        width: 100vw;
        margin-left: -30px;
        margin-right: -30px;
        padding-left: 30px;
        padding-right: 30px;
        background: #eee;
        padding: 40px 30px;    
    }

    #primary .stick-posts .column2 article {
        width:100%;
        flex-direction: column;
        margin: 1.5rem 0 2rem;
    }

    #primary .stick-posts .column2 article .entry-thumbnail {
        width:100%;
    }

    #primary .stick-posts .column2 article .entry-content {
        width:100%;
        padding: 0;
        margin: 1.2rem 0 0;
    }
}

/* Home Icon List */

.home-icons-list {
    display: flex;
    height: 265px;
    height: 13vw;
    margin-left: -1.4%;
    margin-right: -1.4%;
}

.home-icons-list .home-icon {
    flex: 1;
    background: #ff1478;
    height: 100%;
    margin: 0 1.4%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
    padding: 0 10px;
}

.home-icons-list .home-icon img {
    height: 70px; /* Fallback */
    height: 3.7vw;
}


.home-icons-list .home-icon-label {
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    margin-top: 17px;
    text-align: center;
    line-height: 1.25em;
}

/* home curriculos faixa */

.home-curriculos-container-inner {
    width: 100%;
    display: flex;
    align-items: center;
    max-width: 930px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    padding: 40px 0;
}

.home-curriculos-container-inner .home-curriculos-content {
    flex: 1.55;
    padding-right: 40px;
}

.home-curriculos-container-inner .home-curriculos-content h3 {
    font-size: 2rem;
}

.home-curriculos-container-inner .home-curriculos-inner {
    flex: 1;
    max-width: 22%;
}

@media ( max-width:768px ) {
    .home-curriculos-container-inner {
        flex-direction: column-reverse;
        text-align: center;
    }

    .home-curriculos-container-inner .home-curriculos-inner { 
        max-width: 100%;
    }

    .home-curriculos-container-inner .home-curriculos-inner img {
        max-width: 190px;
        margin-bottom: 40px;
    }

    .home-curriculos-container-inner .home-curriculos-content {
        padding-right: 0;
    }
    .home-curriculos-container-inner .home-curriculos-content h3 {
        margin-bottom: 40px;
        font-size: 1.5rem;
    }
    
}

/* Home Video Columns */
.home-video-columns {
    margin-top: 2.5rem;
}

.home-video-columns a {
    position: relative;
    display: block;
    line-height: 0;
    overflow: hidden;
    border-radius: 5px;
}

.home-video-columns a::after {
    display: block;
    content:'';
    background: url('../img/video-play.svg');
    width: 75px;
    height: 75px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -37px;
    margin-left: -37px;
}

.home-video-columns a::before {
    content:'';
    display:block;
    position: absolute;
    height: 100%;
    width: 100%;
    background: #000;
    top: 0;
    left: 0;
    opacity: 0.4;
}

.home-video-columns h3 {
    font-size: 1.5rem;
    margin: 1.4rem 0;
}

.home-video-columns p {
    font-size: 1.2rem;
}

@media screen and (max-width: 1048px) {
    .home-video-columns .wp-block-column {
        margin-bottom: 4rem;
    }
    
    .home-icons-list {
        height: auto;
        flex-wrap: wrap;
    }
    
    .home-icons-list .home-icon {
        min-width: 29.3%;
        min-height: 130px;
        min-height: 36vw;
        margin-bottom: 1rem;
        margin-left: 2%;
        margin-right: 2%;
    }

    .home-icons-list .home-icon img {
        width: 82px;
        height: 121px;
    }

    .home-icons-list .home-icon-label {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 768px) {

    .home-video-columns a::after {        
        width: 60px;
        height: 60px;
        margin-top: -30px;
        margin-left: -30px;
    }

    .home-icons-list .home-icon img {
        width: 62px;
        height: 51px;
    }

    .home-icons-list .home-icon-label {
        font-size: 12px;
    }
} 

/* Animations */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
  