/*
 Theme Name:   FIAN
 Theme URI:    
 Description:  
 Author:       Cooperativa EITA
 Author URI:   http://eita.coop.br
 Template:     blocksy
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  fian
*/

@font-face {
    font-family: 'Fian text';
    src: url('/wp-content/themes/fian/fonts/Fiantext-Bold.eot');
    src: url('/wp-content/themes/fian/fonts/Fiantext-Bold.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/fian/fonts/Fiantext-Bold.woff2') format('woff2'),
        url('/wp-content/themes/fian/fonts/Fiantext-Bold.woff') format('woff'),
        url('/wp-content/themes/fian/fonts/Fiantext-Bold.ttf') format('truetype'),
        url('/wp-content/themes/fian/fonts/Fiantext-Bold.svg#Fiantext-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fian Headline';
    src: url('/wp-content/themes/fian/fonts/FianHeadline-Regular.eot');
    src: url('/wp-content/themes/fian/fonts/FianHeadline-Regular.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/fian/fonts/FianHeadline-Regular.woff2') format('woff2'),
        url('/wp-content/themes/fian/fonts/FianHeadline-Regular.woff') format('woff'),
        url('/wp-content/themes/fian/fonts/FianHeadline-Regular.ttf') format('truetype'),
        url('/wp-content/themes/fian/fonts/FianHeadline-Regular.svg#FianHeadline-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fian text';
    src: url('/wp-content/themes/fian/fonts/Fiantext-Regular.eot');
    src: url('/wp-content/themes/fian/fonts/Fiantext-Regular.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/fian/fonts/Fiantext-Regular.woff2') format('woff2'),
        url('/wp-content/themes/fian/fonts/Fiantext-Regular.woff') format('woff'),
        url('/wp-content/themes/fian/fonts/Fiantext-Regular.ttf') format('truetype'),
        url('/wp-content/themes/fian/fonts/Fiantext-Regular.svg#Fiantext-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fian text';
    src: url('/wp-content/themes/fian/fonts/FiantextItalic-SemiBold.eot');
    src: url('/wp-content/themes/fian/fonts/FiantextItalic-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/fian/fonts/FiantextItalic-SemiBold.woff2') format('woff2'),
        url('/wp-content/themes/fian/fonts/FiantextItalic-SemiBold.woff') format('woff'),
        url('/wp-content/themes/fian/fonts/FiantextItalic-SemiBold.ttf') format('truetype'),
        url('/wp-content/themes/fian/fonts/FiantextItalic-SemiBold.svg#FiantextItalic-SemiBold') format('svg');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

//SLIDER
.posts-slider {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.slider-slide {
    position: relative;
    height: 500px; 
    background-size: cover;
    background-position: center;	
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
	background-color: rgba(0,0,0,0.5);
    background-blend-mode: overlay;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 80px;
    width:100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
	max-width:1440px;
	margin:auto;		
}

.slide-content > *{
	max-width:800px;
}

.slide-title {
    margin-bottom: 15px;
	line-height:1;
}

.slide-excerpt {
    margin-bottom: 20px;
}

.slide-button {
    display: inline-block;
    padding: 10px 20px;
    background:var(--wp--preset--color--palette-color-15);
	color:black;
	font-weight:600    
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
	width:fit-content;
}

.slide-button:hover {
    background:var(--wp--preset--color--palette-color-1);
	color:white;
}

/* Estilos do Slick Slider */
.posts-slider .slick-prev,
.posts-slider .slick-next {
    z-index: 3;
}

.posts-slider .slick-prev {
    left: 20px;
}

.posts-slider .slick-next {
    right: 20px;
}

.posts-slider .slick-dots {
    bottom: 20px;
    z-index: 3;
}
