@media all and (max-width: 1200px) {
    .scroll-section-wrapper--master .lecturer-card {
        width: calc(100% / 2 - 13px);
    }

    .desktop--hide-1200 {
        display: none;
    }
}

@media all and (max-width: 992px) {
    :root {
        --header-height: 82px;
        --top-page-padding: 0;
        --bottom-page-padding: 40px;
        --heading-1-size: 2.175rem;
        --heading-2-size: 1.9rem;
        --heading-3-size: 1.5rem;
    }

    .light-shadow {
        box-shadow: 0 3px 30px 0 #0000001A;
    }

    .desktop {
        display: none;
    }

    .header-nav {
        gap: 16px;
    }

    .logo-melius {
        height: 35px;
    }

    .logo-partner-24ore {
        height: 30px;
    }

    .footer-section--header {
        flex-direction: column;
    }

    .footer-section--navigation {
        flex-direction: column;
    }

    .footer-section__navigation-left {
        flex-direction: column;
        border: unset;
        border-bottom: solid 1px var(--color-light);
    }

    .footer-section__navigation-right {
        padding-left: 0;
    }

    .footer-section--data {
        flex-direction: column;
        gap: 24px;
        align-items: start;
    }

    .footer-section--last {
        justify-content: start;
    }

    .chips-list--full {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-left: -25px;
        padding-left: 25px;
        padding-right: 25px;
        width: calc(100% + 50px);
    }

    .user-hero {
        padding-top: 0;
    }

    .content--first {
        padding-top: 0;
    }

    .promotions-list {
        grid-template-columns: 1fr;
        margin-top: 16px;
    }

    .hero-work-with-us {
        flex-direction: column;
        gap: 24px;
    }

    .hero-work-with-us__content {
        min-width: unset;
    }

    .hero-work-with-us__subtitle {
        margin-top: 8px;
    }

    .hero-work-with-us__thumb {
        min-width: unset;
    }

    .content--jobs {
        padding-top: 24px;
        padding-bottom: 40px;
    }

    .filters {
        display: none;
    }

    .filters-panel {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100dvh - var(--header-height));
        background-color: var(--color-light);
        z-index: 6000;
        overflow-y: auto;
        padding: 0 25px 0;
        max-width: unset;
        min-width: unset;
    }

    .filters-panel--open {
        display: block;
    }

    .filters-panel__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 24px 0 16px;
        margin-bottom: 8px;
        border-bottom: 1px solid var(--color-primary);
        position: sticky;
        top: 0;
        background-color: var(--color-light);
        z-index: 1;
    }

    .filters-panel--open .filters {
        display: block;
        max-width: unset;
        min-width: unset;
    }

    .filters-panel__reset {
        display: none;
    }

    .filters-panel__apply {
        display: block;
        position: sticky;
        bottom: 0;
        background-color: var(--color-light);
        border-top:  1px solid var(--color-primary);
        padding: 16px 0;
        margin-top: 24px;
    }

    .filters-panel__apply #filters-reset-mobile {
        margin-top: 8px;
    }

    .hero {
        padding: 24px 16px;
        min-height: 345px;
    }

    .filters-nav {
        display: flex;
        gap: 12px;
    }

    .filters-nav .input {
        flex: 1;
    }

    .plp__header {
        flex-direction: column;
        gap: 8px;
    }

    .plp__header-controls {
        width: 100%;
    }

    .plp__header-controls .input-wrapper--order-by {
        flex: 1;
    }

    .plp__filters-btn {
        display: flex;
    }

    .filter--search {
        display: none;
    }

    .review__header-img {
        width: 100%;
    }

    .review__features {
        flex-direction: column;
        gap: 24px;
    }

    .review__title-header, .review__subtitle {
        margin-bottom: 4px;
    }

    .review__content {
        margin-top: 16px;
        margin-bottom: 16px;
    }

    .review {
        padding-bottom: 40px;
    }

    .breadcrumb {
        margin-bottom: 24px;
    }

    .breadcrumb--master-details {
        margin-bottom: 12px;
    }

    .hero--custom-propose .hero__cta {
        width: 100%;
        max-width: 400px;
    }

    .btn--brochure {
        width: 100%;
        max-width: 400px;
    }

    .plp__title {
        margin-bottom: 0;
    }

    .plp--lecturers {
        margin-top: 24px;
    }

    .lecturer__business-card {
        flex-direction: column;
    }

    .content {
        padding-bottom: 24px;
    }

    .sectors-list--companies {
        grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    }

    .sectors-list--fill {
        grid-template-columns: repeat(auto-fill, minmax(max(270px, calc(50% - 10px)), 1fr));
    }

    .master-body__accreditations {
        grid-template-columns: repeat(2, 1fr);
    }

    .magic-cards {
        flex-direction: column;
    }

    .sector-card--placement {
        flex-direction: column;
    }

    .placement-reviews-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }

    .success-story-card__header {
        flex-direction: column;
    }

    .scroll-section-wrapper--expertise .flickity-prev-next-button {
        top: -40px !important;
    }

    .carousel {
        margin-top: 80px;
    }

    .carousel--sectors .sector-card--about-us {
        min-width: 240px;
        max-width: 250px;
    }

    .sector-card__contact {
        font-size: 0.9rem;
    }

    .aoe-list {
        grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
        padding-bottom: 40px;
    }

    .home-hero {
        padding: 24px 16px;
        height: 525px;
    }

    .home-hero__body {
        padding: 0;
    }

    .home-hero__overlay-m {
        object-position: right;
        object-fit: cover;
    }

    .home-promotions-grid__row {
        grid-template-columns: calc(55% - 12px) calc(45% - 12px);
        gap: 24px;
    }

    .business-insights-grid {
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
        gap: 16px;
    }

    .business-insights-grid::-webkit-scrollbar{
        display: none;
    }

    .business-insights-grid > * {
        min-width: 100%;
        flex-shrink: 0;
    }

    .carousel--lecturers {
        margin-top: 40px;
    }

    .home-lecturers {
        padding-bottom: 80px;
    }

    .carousel--lecturers .flickity-prev-next-button {
        top: 110%;
    }

    .input-wrapper--order-by {
        margin-bottom: 0;
    }

    .results-number--masters {
        margin-bottom: 24px;
    }

    .master-card__header {
        height: unset;
        padding: 18px 18px 44px;
        background-image: var(--thumb-mobile);
    }

    .sector-card__header {
        background-image: var(--thumb-mobile);
    }

    .master-card__header-chip {
        font-size: 0.7rem;
    }

    .master-content {
        flex-direction: column;
    }

    .master-editions {
        display: none;
    }

    .master-editions--open {
        display: block;
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100dvh - var(--header-height));
        background-color: var(--color-light);
        z-index: 6100;
        overflow-y: auto;
        padding: 0 25px;
        min-width: unset;
        border-radius: 0;
        box-shadow: none;
        flex-grow: unset;
    }

    .master-editions__panel-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 24px 0;
        position: sticky;
        top: 0;
        background-color: var(--color-light);
        border-bottom: 1px solid var(--color-gray-2);
        z-index: 1;
    }

    .master-editions__close {
        display: flex;
    }

    .editions-sticky-banner {
        position: sticky;
        bottom: 0;
        left: unset;
        top: unset;
        right: unset;
        width: 100%;
        border-radius: 0;
        z-index: 6000;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        box-shadow: 0 0 30px 0 #0000001A;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .master-body {
        width: 100%;
    }

    .master-body__section {
        scroll-margin-top: 200px;
        margin-bottom: 40px;
    }

    .master-body__features-scroll {
        overflow-x: auto;
        scrollbar-width: none;
        margin-left: -25px;
        margin-right: -25px;
        padding-left: var(--spacing-full-page);
        padding-right: var(--spacing-full-page);
    }

    .master-body__features-scroll::-webkit-scrollbar {
        display: none;
    }

    .master-body__features {
        margin-top: -24px;
        min-width: 800px;
    }

    .master-body__feature-title {
        max-width: 180px;
    }

    .hero--custom-propose {
        width: 100%;
        aspect-ratio: 5/4;
        min-height: unset;
        height: auto;
        max-height: 300px;
    }

    .master-body__lecturers .lecturer-card {
        height: 320px;
    }

    .master-reviews-grid {
        grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    }

    .scroll-section-wrapper--master {
        overflow: unset;
    }

    .scroll-chips {
        padding-top: 16px;
        padding-bottom: 16px;
        gap: 18px;
    }

    .chip {
        line-height: 1;
    }

    .home-hero__overlay {
        background-color: rgba(0, 0, 0, 0.3);
    }

    .home-hero__overlay-m {
        opacity: 0.25;
    }

    .home-hero__subtitle {
        font-size: 1.1rem;
    }

    .home-hero__logo {
        width: 85px;
    }

    .home-hero {
        height: 450px;
    }

    .sectors-list--contacts {
        grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    }

    .products {
        grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    }

    .partner-logos__logo {
        width: 90px;
        height: 90px;
    }

    .master-card__header-chip {
        padding: 4px 12px;
    }

    .hero--lecturers {
        background-position: center;
    }

    .hero--reviews {
        background-position: center;
    }

    .hero--placement {
        background-position: center;
    }

    .sectors-list--success {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    }

    .video-reviews__grid {
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
        gap: 16px;
    }

    .video-reviews__grid::-webkit-scrollbar {
        display: none;
    }

    .video-reviews__grid > * {
        width: 60vw;
        flex-shrink: 0;
    }
}

@media all and (max-width: 715px) {
    .trust-us {
        padding-left: 0;
        padding-right: 0;
    }

    .trust-us__title {
        padding-left: 25px;
        padding-right: 25px;
    }

    .master-body__header {
        aspect-ratio: 4/3;
    }

    .review__header {
        flex-direction: column;
    }
}

@media all and (max-width: 576px) {
    .input-group--fixed-columns {
        grid-template-columns: 1fr;
    }

    .master-body__accreditations {
        grid-template-columns: 1fr;
    }

    .video-reviews__grid > * {
        width: 100%;
    }

    .business-insights-grid,
    .aoe-list--home,
    .home-promotions-grid {
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
        gap: 16px;
    }

    .business-insights-grid::-webkit-scrollbar,
    .aoe-list--home::-webkit-scrollbar,
    .home-promotions-grid::-webkit-scrollbar {
        display: none;
    }

    .business-insights-grid > *,
    .aoe-list--home > * {
        width: 100%;
        flex-shrink: 0;
    }

    .home-promotions-grid__row {
        display: contents;
    }

    .home-promotions-grid .promotion-card {
        width: 100%;
        flex-shrink: 0;
    }

    .promotion-card {
        height: 180px;
    }

    .scroll-section-wrapper--master .lecturer-card {
        width: 100%;
    }

    .master-option__footer {
        align-items: start;
        gap: 8px;
        flex-direction: column;
    }

    .master-option__footer-right {
        width: 100%;
    }

    .discover-edition-btn {
        width: 100%;
    }

    .master-option__footer {
        margin-top: 8px;
    }

    .master-card__main {
        padding: 16px;
    }

    .master-card__edition-icon {
        width: 18px;
    }

    .master-card__edition-text {
        font-size: .9rem;
    }

    .sectors-list--aoi {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .area-card--aoi {
        padding: 24px;
    }

    .sectors-list--2-col {
        grid-template-columns: 1fr;
    }
}
