
/* Framework agnostic Bootstrap-like cards mapping */
.mps-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
}
.mps-row-cols .mps-col {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 10px;
    box-sizing: border-box;
}
@media (min-width: 576px) {
    .mps-row-cols .mps-col { flex: 0 0 50%; max-width: 50%; }
}
@media (min-width: 992px) {
    .mps-row-cols .mps-col { flex: 0 0 33.3333%; max-width: 33.3333%; }
}

/* Card Element Styles */
.mps-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
    height: 100%;
    box-sizing: border-box;
}
.mps-card-img-wrap {
    overflow: hidden;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    position: relative;
    padding-top: 65%; /* 4:3 Aspect Ratio */
}
.mps-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mps-card-body {
    flex: 1 1 auto;
    padding: 1.25rem;
}
.mps-card-title {
    margin-top: 0;
    margin-bottom: .75rem;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.2;
}
.mps-card-title a {
    color: #212529;
    text-decoration: none;
}
.mps-card-title a:hover {
    color: #0d6efd;
}
.mps-card-text {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
}
.mps-card-footer {
    padding: .75rem 1.25rem;
    background-color: rgba(0,0,0,.03);
    border-top: 1px solid rgba(0,0,0,.125);
}
.mps-date {
    color: #6c757d;
}

/* Shadows mapping */
.shadow-sm { box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important; }
.shadow { box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important; }
.shadow-lg { box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important; }

/* Interactive Hover Animations */
.mps-card-lift {
    transition: transform .25s cubic-bezier(0.2, 1, 0.2, 1), box-shadow .25s ease;
}
.mps-card-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 .75rem 2rem rgba(0,0,0,.12)!important;
}

.mps-card-zoom .mps-card-img {
    transition: transform .4s ease-out;
}
.mps-card-zoom:hover .mps-card-img {
    transform: scale(1.08);
}

/* Native Lazy Loading animation overlay */
.mps-lazy {
    opacity: 0;
    transition: opacity .35s ease-in;
}
.mps-lazy.loaded {
    opacity: 1;
}

/* Carousel Architecture Layout */
.mps-carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
}
.mps-carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}
.mps-carousel-track .mps-col {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}
@media (min-width: 576px) {
    .mps-carousel-track .mps-col { flex: 0 0 50%; max-width: 50%; }
}
@media (min-width: 992px) {
    .mps-carousel-track .mps-col { flex: 0 0 33.3333%; max-width: 33.3333%; }
}
.mps-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    font-size: 18px;
}
.mps-carousel-btn:hover { background: rgba(0,0,0,0.8); }
.mps-carousel-btn.prev { left: 10px; }
.mps-carousel-btn.next { right: 10px; }
.mps-no-posts { text-align: center; color: #777; padding: 20px; }
