.post-block {
display: flex;
flex-grow: 1;
flex-direction: column;
background-color: #ffffff;
box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.2);
}
.post-block .image {
height: 210px;
background-color: #ffffff;
}
.post-block .image .image-placeholder {
height: 100%;
background-color: #383b4d;
background-position: center;
background-size: 50%;
background-repeat: no-repeat;
}
.post-block .content-box {
display: flex;
flex-grow: 1;
flex-direction: column;
padding: 20px;
}
.post-block .content-box h4 {
font-size: 18px;
font-weight: 600;
line-height: 1.4em;
}
.post-block .content-box h4 a {
color: #383b4d;
}
.post-block .content-box .read-more-btn::before {
display: block;
content: "";
height: 7px;
width: 100%;
margin-bottom: 15px;
background-image: url(//avelant-novi.visokarazina.com/wp-content/themes/envolve-child/images/shape/pattern-6.png);
}
.post-block .content-box .read-more-btn a {
position: relative;
font-size: 16px;
font-weight: 600;
color: #383b4d;
font-family: var(--fira-sans);
transition: all 0.5s ease 0s;
}
.post-block .content-box .read-more-btn a i {
color: #efda86;
opacity: 0;
}
.post-block .content-box .read-more-btn a:hover {
color: #efda86;
}
.post-block .content-box .read-more-btn a:hover i {
opacity: 1;
}
.news-block {
margin-bottom: 50px;
}
.news-block .image a {
display: flex;
height: 100%;
overflow: hidden;
justify-content: center;
}
.news-block .image a img {
height: 100%;
width: 100%;
max-width: 100%;
}
@media screen and (min-width: 768px) {
.news-block .image a img {
width: auto;
max-width: none;
}
}
.news-block .image a .image-placeholder {
height: calc(100vw - 100px);
width: 100%;
max-width: 100%;
background-color: #383b4d;
background-position: center;
background-size: 50%;
background-repeat: no-repeat;
}
@media screen and (min-width: 768px) {
.news-block .image a .image-placeholder {
height: 100%;
width: auto;
max-width: none;
}
}
.news-block .inner-box {
position: relative;
padding: 40px 30px 30px;
background: white;
-webkit-box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.2);
box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.2);
}
.news-block .inner-box .date {
position: relative;
padding-left: 65px;
font-size: 16px;
font-weight: 500;
font-family: var(--fira-sans);
margin-bottom: 22px;
line-height: 1.4em;
}
.news-block .inner-box .date strong {
position: absolute;
left: 0;
top: 0;
font-size: 50px;
font-weight: 600;
line-height: 50px;
}
.news-block .inner-box .author {
position: relative;
width: 60px;
height: 60px;
margin-bottom: 11px;
}
.news-block .inner-box .author .title {
position: absolute;
top: -30px;
left: 50%;
transform: translateX(-50%);
opacity: 0;
font-size: 13px;
font-weight: 500;
line-height: 24px;
text-transform: uppercase;
pointer-events: none;
width: max-content;
transition: all 0.5s ease 0s;
padding: 0 11px;
border-radius: 6px;
background: #f0f4f9;
}
.news-block .inner-box .author .title::before {
position: absolute;
content: "";
left: 50%;
transform: translateX(-50%);
width: 13px;
height: 7px;
bottom: -6px;
clip-path: polygon(100% 0px, 50% 100%, 0px 0px);
background: #f0f4f9;
}
.news-block .inner-box .author .title:hover {
opacity: 1;
}
.news-block .inner-box .author img {
border-radius: 50%;
}
.news-block .inner-box .category {
position: relative;
font-size: 15px;
font-weight: 600;
text-transform: uppercase;
color: white;
margin-bottom: 20px;
display: inline-block;
line-height: 25px;
padding: 0 17px;
border-radius: 12.5px;
background-color: #383b4d;
}
.news-block .inner-box .category a {
color: #ffffff;
}
.news-block .inner-box h4 {
flex-grow: 1;
font-size: 22px;
font-weight: 600;
padding-bottom: 30px;
margin-bottom: 20px;
line-height: 1.4em;
}
.news-block .inner-box h4::before {
position: absolute;
content: "";
left: 0;
bottom: 0;
height: 7px;
width: 100%;
background-image: url(//avelant-novi.visokarazina.com/wp-content/themes/envolve-child/images/shape/pattern-6.png);
}
.news-block .inner-box h4 a {
color: #40527b;
-webkit-transition: all 0.5s ease 0s;
-o-transition: all 0.5s ease 0s;
transition: all 0.5s ease 0s;
}
.news-block .inner-box h4 a:hover {
color: #efda86;
}
.news-block .inner-box .read-more-btn a {
position: relative;
font-size: 16px;
font-weight: 600;
color: #40527b;
font-family: var(--fira-sans);
-webkit-transition: all 0.5s ease 0s;
-o-transition: all 0.5s ease 0s;
transition: all 0.5s ease 0s;
}
.news-block .inner-box .read-more-btn a i {
color: #efda86;
opacity: 0;
-webkit-transition: all 0.5s ease 0s;
-o-transition: all 0.5s ease 0s;
transition: all 0.5s ease 0s;
}
.news-block .inner-box .read-more-btn a:hover {
color: #efda86;
}
.news-block .inner-box .read-more-btn a:hover i {
opacity: 1;
}
.reference-block .inner-box {
display: flex;
flex-direction: column;
padding: 25px 45px;
border-radius: 6px;
box-shadow: 0 0 18px 0 rgba(0, 0, 0, 0.1);
background-color: #383b4d;
}
.reference-block .inner-box .top-content {
margin-bottom: 10px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.reference-block .inner-box .top-content .text {
margin-bottom: 20px;
font-size: 18px;
font-weight: 500;
color: #ffffff;
}
.reference-block .inner-box .author-box {
display: flex;
}
.reference-block .inner-box .author-box .text-area {
display: flex;
align-items: center;
}
.reference-block .inner-box .author-box .text-area .image {
width: 50px;
margin-right: 1rem;
}
.reference-block .inner-box .author-box .text-area .image img {
border-radius: 50%;
}
.reference-block .inner-box .author-box .text-area .designation {
font-size: 18px;
font-weight: 500;
color: #efda86;
transition: 0.5s;
}
.reference-block .inner-box .author-box .quote {
padding-left: 20px;
margin-left: auto;
font-size: 60px;
color: #383b4d;
transition: 0.5s;
}
.reference-block .inner-box .author-box .quote span {
line-height: 100%;
}
.reference-block .inner-box:hover .text, .reference-block .inner-box:hover .quote {
color: #efda86;
}