/* ==================== Mid-Autumn Left/Right Layout ==================== */

.malr-sets-section {
    padding: 80px 0;
    background: #faf8f5;
}

.malr-sets-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.malr-set-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.malr-set-item:last-child {
    margin-bottom: 0;
}

/* Reverse: swap order for even items */
.malr-reverse .malr-set-image {
    order: 2;
}

.malr-reverse .malr-set-content {
    order: 1;
}

/* Image side */
.malr-set-image {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.malr-set-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.96);
}

.malr-set-image:hover img {
    transform: scale(1.04);
    filter: brightness(1);
}

/* Decorative border */
.malr-set-image::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    border: 1px solid var(--gold, #b48c3c);
    opacity: 0.25;
    z-index: -1;
    transition: all 0.4s ease;
}

.malr-set-image:hover::after {
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    opacity: 0.45;
}

/* Content side */
.malr-set-content {
    padding: 30px 0;
}

.malr-set-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 200;
    color: var(--gold, #b48c3c);
    opacity: 0.3;
    line-height: 1;
    display: block;
    margin-bottom: 20px;
}

.malr-set-title {
    font-family: 'Cormorant Garamond', 'STZhongYuan', 'Heiti SC', 'Microsoft YaHei', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 20px;
    letter-spacing: 2px;
    line-height: 1.4;
}

.malr-set-desc {
    font-size: 0.95rem;
    line-height: 2;
    color: #666;
    font-weight: 300;
}

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
    .malr-sets-section {
        padding: 50px 0;
    }

    .malr-sets-container {
        padding: 0 20px;
    }

    .malr-set-item {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 50px;
    }

    .malr-reverse .malr-set-image {
        order: 0;
    }

    .malr-reverse .malr-set-content {
        order: 0;
    }

    .malr-set-image::after {
        display: none;
    }

    .malr-set-content {
        padding: 10px 0;
    }

    .malr-set-number {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }

    .malr-set-title {
        font-size: 1.4rem;
    }

    .malr-set-desc {
        font-size: 0.88rem;
    }
}
