/* Container */
.mdf-special-section {
    display: flex;
    flex-direction: column; /* Stack cards vertically */
    gap: 15px;
    padding: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Card - Always horizontal */
.mdf-card {
    display: flex;
    flex-direction: row; /* Force side-by-side even on mobile */
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: 140px; /* Fixed height for consistency */
}

/* Photo Side */
.mdf-img {
    flex: 0 0 35%; /* Fixed 35% width of the card */
    height: 100%;
    background: #f4f4f4;
}

.mdf-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1; /* Keeps image square within the container */
}

/* Details Side */
.mdf-details {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden; /* Prevents text overflow */
}

.mdf-details h3 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    color: #3d2b1f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mdf-details p {
    margin: 2px 0;
    font-size: 0.75rem;
    color: #666;
    line-height: 1.3;
}

.specs {
    font-weight: bold;
    color: #b08968;
}

/* --- Responsive Adjustments --- */

/* Desktop / TV View */
@media (min-width: 768px) {
    .mdf-special-section {
        flex-direction: row; /* Show 2 cards side-by-side on desktop */
    }
    
    .mdf-card {
        flex: 1;
        height: 180px; /* Taller cards for bigger screens */
    }

    .mdf-details h3 {
        font-size: 1.25rem;
        white-space: normal;
    }

    .mdf-details p {
        font-size: 0.9rem;
    }
}

/* TV View (Extreme high res) */
@media (min-width: 1920px) {
    .mdf-card { height: 250px; }
    .mdf-details h3 { font-size: 2rem; }
    .mdf-details p { font-size: 1.4rem; }
}