.rp-related-posts-wrap {
display: flex;
flex-direction: column;
gap: 20px;
max-width: 100%;
margin: 0 auto;
}
.rp-card {
display: flex;
align-items: center;
gap: 20px;
background-color: rgba(215, 203, 191, 0.4);
border-radius: 12px;
padding: 14px;
}
.rp-card-thumb {
box-shrink: 0;
flex: 0 0 160px;
width: 160px;
height: 110px;
border-radius: 8px;
overflow: hidden;
}
.rp-card-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
border-radius: 8px;
}
.rp-card-content {
flex: 1;
}
.rp-card-title {
margin: 0 0 20px 0;
}
.rp-card-title a {
font-family: 'Jost', sans-serif;
font-weight: 500;
font-size: 30px;
line-height: 38px;
text-transform: capitalize;
color: #434345;
text-decoration: none !important;
}
.rp-card-title a:hover {
text-decoration: none !important;
}
.rp-read-more {
display: inline-flex;
align-items: center;
gap: 6px;
font-family: 'Poppins', sans-serif;
font-weight: 400;
font-size: 16px;
line-height: 100%;
text-transform: capitalize;
color: #A55445;
text-decoration: none !important;
}
.rp-read-more svg {
flex-shrink: 0;
}
.rp-read-more:hover {
text-decoration: none !important;
}
@media (max-width: 768px) and (min-width: 501px) {
.rp-card {
gap: 14px;
padding: 12px;
}
.rp-card-thumb {
flex: 0 0 130px;
width: 130px;
height: 95px;
}
.rp-card-title {
margin-bottom: 16px;
}
.rp-card-title a {
font-size: 24px;
line-height: 30px;
}
}
@media (max-width: 500px) {
.rp-card {
flex-direction: column;
align-items: stretch;
gap: 14px;
padding: 12px;
}
.rp-card-thumb {
flex: 0 0 auto;
width: 100%;
height: 180px;
}
.rp-card-content {
width: 100%;
}
.rp-card-title {
margin-bottom: 14px;
}
.rp-card-title a {
font-size: 20px;
line-height: 26px;
}
.rp-read-more {
font-size: 14px;
}
}