/**
 * Builder Responsive Styles
 *
 * @package My_Premium_Theme
 */

/* Hide on Desktop */
@media (min-width: 1025px) {
    .mtc-hide-desktop {
        display: none !important;
    }
}

/* Hide on Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .mtc-hide-tablet {
        display: none !important;
    }
}

/* Hide on Mobile */
@media (max-width: 767px) {
    .mtc-hide-mobile {
        display: none !important;
    }
}

/* Responsive Utilities */
.mtc-responsive-container {
    width: 100%;
    max-width: 100%;
}

@media (min-width: 1025px) {
    .mtc-responsive-container {
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* Responsive Images */
.mtc-responsive-image {
    max-width: 100%;
    height: auto;
}

/* Responsive Videos */
.mtc-responsive-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.mtc-responsive-video iframe,
.mtc-responsive-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive Tables */
.mtc-responsive-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.mtc-responsive-table table {
    min-width: 600px;
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
    .mtc-grid-4-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mtc-grid-3-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .mtc-grid-4-columns,
    .mtc-grid-3-columns,
    .mtc-grid-2-columns {
        grid-template-columns: 1fr;
    }
}

