.ma-wrapper-c5bd80de {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.ma-item-c5bd80de {
    border-bottom: 1px solid #333;
    padding: 30px 20px; /* Default padding, can be overridden by Elementor control */
    cursor: pointer;
    transition: background-color 0.3s ease, border-radius 0.3s ease;
}

.ma-header-c5bd80de {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ma-header-left-c5bd80de {
    display: flex;
    align-items: baseline;
    gap: 30px;
}

.ma-num-c5bd80de {
    font-size: 1.5rem;
    font-weight: 500;
    color: #888;
}

.ma-title-c5bd80de {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.ma-icon-c5bd80de {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #ff4a3a;
    border-radius: 50%;
    color: #fff;
    transition: transform 0.4s ease;
}

.ma-item-c5bd80de.active .ma-icon-c5bd80de {
    transform: rotate(45deg);
}

/* Grid transition for smooth height animation */
.ma-body-wrapper-c5bd80de {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
}

.ma-item-c5bd80de.active .ma-body-wrapper-c5bd80de {
    grid-template-rows: 1fr;
}

.ma-body-inner-c5bd80de {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Margin offset when active to separate from header */
.ma-item-c5bd80de.active .ma-body-inner-c5bd80de {
    padding-top: 30px;
    padding-left: calc(30px + 1.5rem); /* Align with title */
}

.ma-content-c5bd80de {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.ma-desc-c5bd80de {
    color: #aaa;
    font-size: 1.1rem;
    line-height: 1.6;
}

.ma-tags-c5bd80de {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ma-tag-c5bd80de {
    padding: 6px 16px;
    border: 1px solid #444; /* Default solid border, color controlled by Elementor */
    border-radius: 20px;
    font-size: 0.85rem;
    color: #ccc;
}

.ma-action-c5bd80de {
    margin-top: 10px;
}

/* Base styling for the custom button, picking up Elementor global variables where applied by classes */
.ma-btn-c5bd80de {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.ma-btn-c5bd80de:hover {
    opacity: 0.9;
}

.ma-image-c5bd80de {
    flex-shrink: 0;
    width: 300px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
}

.ma-image-c5bd80de img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Stacked Layout */
@media (max-width: 768px) {
    .ma-header-left-c5bd80de {
        gap: 15px;
    }
    .ma-title-c5bd80de {
        font-size: 1.5rem;
    }
    .ma-item-c5bd80de.active .ma-body-inner-c5bd80de {
        padding-left: 0;
        flex-direction: column;
        align-items: flex-start;
    }
    .ma-image-c5bd80de {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
}
