.mpp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Filter Styles */
.mpp-filters {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.mpp-filters h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.mpp-filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.mpp-filter-group {
    display: flex;
    flex-direction: column;
}

.mpp-filter-group label {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
    color: #555;
}

.mpp-filter-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 14px;
}

.mpp-filter-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.mpp-button,
.mpp-button-secondary {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.mpp-button {
    background: #0073aa;
    color: white;
}

.mpp-button:hover {
    background: #005a87;
}

.mpp-button-secondary {
    background: #f1f1f1;
    color: #333;
}

.mpp-button-secondary:hover {
    background: #e1e1e1;
}

/* Top Area - Text Descriptions */
.mpp-top-area {
    margin-bottom: 40px;
}

.mpp-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
}

.mpp-text-descriptions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.mpp-layout-stack {
    flex-direction: column;
}

.mpp-layout-stack .mpp-text-item {
    width: 100%;
}

.mpp-layout-grid {
    flex-direction: row;
    flex-wrap: wrap;
}

.mpp-layout-grid .mpp-text-item {
    flex: 1 1 calc(50% - 20px);
    min-width: 280px;
}

.mpp-text-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 15px;
    position: relative;
}

.mpp-text-item:last-child {
    margin-bottom: 0;
}

.mpp-text-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
}

.mpp-text-content {
    color: #555;
    line-height: 1.6;
}

.mpp-text-content img {
    max-width: 100%;
    height: auto;
}

/* Member Image Styles */
.mpp-with-image {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.mpp-with-image-bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mpp-text-content-wrapper {
    flex: 1;
}

.mpp-member-image {
    flex-shrink: 0;
}

.mpp-member-image img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    border: 3px solid #ddd;
    padding: 3px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mpp-image-right {
    order: 2;
}

.mpp-image-left {
    order: 0;
}

.mpp-with-image-bottom .mpp-member-image {
    margin-top: 10px;
}

.mpp-with-image-bottom .mpp-image-right {
    align-self: flex-end;
}

.mpp-with-image-bottom .mpp-image-left {
    align-self: flex-start;
}

/* Middle Area - Media */
.mpp-middle-area {
    margin-bottom: 40px;
}

.mpp-media-items {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.mpp-layout-stack .mpp-media-item {
    width: 100%;
}

.mpp-layout-grid .mpp-media-item {
    flex: 1 1 calc(50% - 20px);
    min-width: 280px;
}

.mpp-media-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    margin-bottom: 15px;
}

.mpp-media-item:last-child {
    margin-bottom: 0;
}

.mpp-media-image {
    width: 100%;
    height: auto;
    display: block;
}

.mpp-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.mpp-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mpp-media-caption {
    padding: 15px;
}

.mpp-media-caption h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 16px;
    color: #333;
}

.mpp-media-caption p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Service Cards Styles */
.mpp-service-cards-area {
    margin-bottom: 40px;
}

.mpp-service-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.mpp-service-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    padding: 20px;
    flex: 1 1 calc(33.33% - 20px);
    min-width: 250px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.mpp-service-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mpp-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
}

.mpp-card-content {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.mpp-card-content img {
    max-width: 100%;
    height: auto;
}

.mpp-card-button {
    display: inline-block;
    padding: 8px 20px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s;
}

.mpp-card-button:hover {
    background: #005a87;
    color: #fff;
}

/* Bottom Area */
.mpp-bottom-area {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: center;
    margin-top: 20px;
}

.mpp-bottom-area h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 20px;
}

.mpp-action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.mpp-action-buttons .mpp-btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    min-width: 160px;
    text-align: center;
}

.mpp-action-buttons .mpp-btn:hover:not(.disabled) {
    transform: translateY(-2px);
}

.mpp-btn-service {
    background: #0073aa;
    color: #fff;
}

.mpp-btn-service:hover:not(.disabled) {
    background: #005a87;
    color: #fff;
}

.mpp-btn-service.disabled,
.mpp-btn-service:disabled {
    background: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed !important;
    transform: none !important;
    opacity: 0.6;
}

.mpp-loading {
    text-align: center;
    padding: 40px 20px;
    font-size: 16px;
    color: #666;
}

/* Animations */
.mpp-text-item,
.mpp-media-item,
.mpp-service-card {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mpp-filter-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .mpp-layout-grid .mpp-text-item,
    .mpp-layout-grid .mpp-media-item {
        flex: 1 1 100%;
    }
    
    .mpp-service-card {
        flex: 1 1 100%;
    }
    
    .mpp-action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .mpp-action-buttons .mpp-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .mpp-with-image {
        flex-direction: column;
        align-items: center;
    }
    
    .mpp-with-image-bottom {
        flex-direction: column;
        align-items: center;
    }
    
    .mpp-image-right,
    .mpp-image-left {
        order: 0;
    }
}

@media (max-width: 480px) {
    .mpp-filter-row {
        grid-template-columns: 1fr;
    }
    
    .mpp-filter-actions {
        flex-direction: column;
    }
    
    .mpp-filter-actions .mpp-button,
    .mpp-filter-actions .mpp-button-secondary {
        width: 100%;
        text-align: center;
    }
}

