/* Adjust layout */
.mp-card-featured {
padding: 0 0.5rem;
}
.mp-card-featured img {
margin: 0 0 -0.5rem 0.5rem;
}
/* Adjust layout when section is empty */
.pa-text {
text-align: center;
}
.pa-image {
display: block;
margin: 1.5rem auto;
text-align: center;
}
/* Desktop size specific styles */
@media (min-width: 500px) {
/* Adjust image size for featured articles */
.mp-card-featured img {
width: 200px;
height: auto;
margin-top: 0.4rem;
}
/* Adjust image size when section is empty */
.mp-card-featured .pa-image img {
width: 90px;
height: auto;
border: none;
}
}
/* Non-desktop size specific styles */
@media (max-width: 500px) {
/* Adjust image size for featured articles in mobile view */
.mp-card-featured img {
width: 150px;
height: auto;
margin-top: 0.5rem;
}
/* Adjust image size when section is empty in mobile view */
.mp-card-featured .pa-image img {
width: 80px;
height: auto;
border: none;
padding-bottom: 0.5rem;
}
}