/*
 Theme Name:     Ecst
 Theme URI:      https://www.ecst-eu.org/
 Description:    www.ecst-eu.org
 Author:         Premiumweb
 Author URI:     https://premiumweb.com.ua/
 Template:       Divi
 Version:        1.0.1
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */


.tt-author-wrapper{

display:grid;

grid-template-columns:220px 1fr;

gap:50px;

max-width:1280px;
margin:10px auto;

padding:40px 0;

border-bottom:1px solid #d6d6d6;

}

.tt-author-photo img{

width:200px;
height:280px;

border-radius:5%;

object-fit:cover;

}

.tt-author-name{

font-size:34px;
font-weight:700;

margin-bottom:10px;

}

.tt-author-social{

margin-bottom:20px;

}

.tt-author-social a{

margin-right:18px;

font-weight:600;

color:#0a2a66;

text-decoration:none;

}

.tt-author-social a:hover{

text-decoration:underline;

}

.tt-author-bio{

font-size:17px;

line-height:1.7;

color:#333;

max-width:900px;

}

/* mobile */

@media (max-width:900px){

.tt-author-wrapper{

grid-template-columns:1fr;

gap:30px;

}

.tt-author-photo{

text-align:center;

}

}





.experts-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:40px;

max-width:1400px;

margin:0 auto;

padding:40px 0;

}

.expert-card{

border:1px solid #eee;

padding:35px;

text-align:center;

transition:.3s;

background:#fff;

}

.expert-card:hover{

transform:translateY(-6px);

box-shadow:0 15px 35px rgba(0,0,0,0.08);

}

.expert-photo img{

width:140px;

height:140px;

border-radius:50%;

object-fit:cover;

margin-bottom:18px;

}

.expert-name{

font-size:22px;

font-weight:700;

margin-bottom:6px;

}

.expert-name a{

color:#111;

text-decoration:none;

}

.expert-position{

font-size:14px;

font-weight:600;

color:#6b7280;

margin-bottom:14px;

text-transform:uppercase;

letter-spacing:.04em;

}

.expert-bio{

font-size:15px;

line-height:1.6;

color:#444;

margin-bottom:16px;

}

.expert-social a{

font-size:14px;

margin:0 8px;

color:#0a2a66;

font-weight:600;

text-decoration:none;

}

.expert-social a:hover{

text-decoration:underline;

}

@media (max-width:1200px){

.experts-grid{
grid-template-columns:repeat(3,1fr);
}

}

@media (max-width:900px){

.experts-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media (max-width:600px){

.experts-grid{
grid-template-columns:1fr;
}

}


.hover-card{

transition:all .3s ease;

}

.hover-card:hover{

transform:translateY(-6px);

box-shadow:0 15px 35px rgba(0,0,0,0.08);

}


.hover-blog .et_pb_post{

transition:all .3s ease;

border:1px solid #eee;

background:#fff;

padding:20px;

}

.hover-blog .et_pb_post:hover{

transform:translateY(-6px);

box-shadow:0 15px 35px rgba(0,0,0,0.08);

}
.hover-blog .et_pb_image_container img{

transition:transform .35s ease;

}

.hover-blog .et_pb_post:hover img{

transform:scale(1.06);

}

.hover-blog .et_pb_post{
border-radius:6px;
overflow:hidden;
}