.dipl_blog_categories_inner{
display: grid;
grid-template-columns: repeat(3, 1fr);
justify-content: center;
grid-gap: 30px;
}
.dipl_blog_category_item{
position: relative;
border: 1px solid #dddddd;
padding: 10px;
}
.dipl_blog_category_item_inner{
position: relative;
text-align: center;
z-index: 1;
}
.dipl_blog_category_name{
color: inherit;
font-size: 20px;
font-weight: 600;
padding: 0;
margin-bottom: 10px;
}
.dipl_blog_category_count:not(.dipl_sup_number){
display: inline-block;
border: 1px solid #dddddd;
padding: 5px 18px;
border-radius: 20px;
}
.dipl_blog_category_count.dipl_sup_number{
color: #d9577c;
vertical-align: super;
margin-left: 2px;
font-size: 14px;
font-weight: 700;
background: transparent;
border: none;
padding: 0;
border-radius: 0;
}
.dipl_abs_link{
position: absolute;
display: block;
top: 0;
left: 0;
width: 100%;
height: 100%;
text-indent: -99999px;
z-index: 1;
}
.dipl_category_image_wrapper img{
display: block;
max-width: 100%;
object-fit: cover;
margin: 0 auto;
} .dipl_blog_categories_wrapper.layout1 .dipl_blog_category_item{
height: 400px;
border-radius: 16px;
overflow: hidden;
position: relative;
background-size: cover;
background-position: center;
color: white;
transition: transform 0.3s ease, box-shadow 0.3s ease;
display: flex;
justify-content: center;
align-items: center;
padding: 30px;
box-sizing: border-box;
}
.dipl_blog_categories_wrapper.layout1 .dipl_blog_category_item_inner{
width: 100%;
} .dipl_blog_categories_wrapper.layout1 .dipl_blog_category_item::before{
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.7) 100%);
z-index: 1;
}
.dipl_blog_categories_wrapper.layout1 .dipl_blog_category_count{
display: inline-block;
font-weight: 500;
} .dipl_blog_categories_wrapper.layout2 .dipl_category_image_wrapper{
margin: 0 auto 10px auto;
}
.dipl_blog_categories_wrapper.layout2 .dipl_category_image_wrapper img{
height: 250px;
} .dipl_blog_categories_wrapper.layout3 .dipl_blog_category_item_inner{
display: flex;
border-radius: 100px;
align-items: center;
transition: transform 0.3s ease, box-shadow 0.3s  ease;
}
.dipl_blog_categories_wrapper.layout3 .dipl_blog_category_content{
flex: 1;
flex-grow: 1;
text-align: left;
padding: 0 15px;
}
.dipl_blog_categories_wrapper.layout3 .dipl_blog_category_name{
margin: 0;
white-space: normal;
word-wrap: break-word;
}
.dipl_blog_categories_wrapper.layout3 .dipl_blog_category_count{
border-width: 0;
}