@media only screen and (max-width: 1399px) {
    .opinion-single-wrapper {
        padding-left: calc((100% - 1140px) / 2);
    }

    .reforms-wrapper .reforms-block {
        width: calc(100% - 265px);
    }

    .reforms-wrapper .reforms-more-cta {
        width: 250px;
    }

    .response-chart-wrapper {
        flex-direction: column;
    }

    #surveyResponsesDescription,
    #surveyResponsesPieChart {
        width: 100% !important;
    }

    div#partyDistributionPieChart > div > div {
        width: 290px !important;
        /* height: auto !important; */
    }
}

@media only screen and (max-width: 1199px) {
    .opinion-single-wrapper {
        padding-left: calc((100% - 960px) / 2);
    }

    .trendy-reforms-item .trendy-reforms-topic {
        width: calc((100% / 12)* 7);
    }

    .trendy-reforms-item .trendy-reforms-image {
        width: calc((100% / 12)* 5);
    }

    /* .data-analysis-wrapper .data-analysis-topic {
        width: 280px;
    } */

    .data-analysis-wrapper .data-analysis-frame {
        width: 100%;
    }

    .two-side-analysis {
        flex-direction: column;
    }

    .two-side-analysis > * {
        width: 100% !important;
    }

    .party-chart-wrapper {
        flex-direction: column-reverse;
    }

    .response-chart-wrapper {
        flex-direction: row;
    }

    div#partyDistributionPieChart {
        width: 100%;
    }
}

@media only screen and (max-width: 991px) {
    .logo {
        max-width: 120px;
    }

    .navbar-light .navbar-nav .nav-link {
        padding: 10px;
    }

    .navbar-container.navbar-expanded {
        height: auto;
    }

    .menu-menu-container {
        width: 100%;
        opacity: 0;
        pointer-events: none;
        z-index: 10;
    }
    
    .menu-toggled {
        opacity: 1;
        pointer-events: auto;
    }

    .menu-menu-container ul#menu-menu {
        height: 0;
        flex-direction: column;
        transition: height 300ms ease-out;
        -webkit-transition: height 300ms ease-out;
        -moz-transition: height 300ms ease-out;
        -ms-transition: height 300ms ease-out;
        -o-transition: height 300ms ease-out;
    }

    .menu-menu-container.menu-toggled ul#menu-menu {
        height: 200px;
        transition: height 300ms ease-out;
        -webkit-transition: height 300ms ease-out;
        -moz-transition: height 300ms ease-out;
        -ms-transition: height 300ms ease-out;
        -o-transition: height 300ms ease-out;
    }

    .menu-menu-container ul#menu-menu .menu-item a {
        display: block;
        text-align: right;
        padding: 10px;
    }
    
    .grid-three-items > *,
    .grid-four-items > *,
    .grid-five-items > * {
        width: calc((100% / 2) - 8px);
    }

    .reforms-toggle-panel {
        height: 100%;
        background-color: rgb(var(--clr--white));
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 8;
    }

    .reforms-toggle-panel.toggle-open {
        display: block;
    }

    .reforms-archieve-grid {
        width: 100%;
    }

    .reform-form-wrapper {
        flex-direction: column-reverse;
    }

    .reform-form,
    .reform-form-copy {
        width: 100%;
    }

    .opinion-single {
        gap: 15px;
    }

    .opinion-single-copy {
        width: calc(100% - 315px);
    }

    .opinion-single-wrapper {
        max-width: 720px;
        padding-inline: 12px;
        margin-inline: auto;
        flex-direction: column;
        gap: 0;
    }

    .opinion-article-wrapper {
        width: 100%;
    }

    .didyou-like-banner {
        max-width: 100%;
    }

    .data-analysis-wrapper {
        min-height: auto;
        flex-direction: column;
    }

    .data-analysis-wrapper .data-analysis-topic {
        width: 100%;
    }

    .data-analysis-wrapper .data-analysis-frame {
        width: 100%;
    }

    .powerBI-card {
        height: 75vh;
        min-height: 400px;
    }

    .trendy-opinion-wrapper {
        align-items: center;
    }

    .trendy-opinion-cta {
        padding: 30px;
    }

    .reform-form-copy .legislation-copy-item {
        padding: 15px;
    }

    .four-side-analysis {
        flex-direction: column;
    }

    .four-side-analysis > * {
        width: 100% !important;
    }

    .hero-interaction {
        max-width: 720px;
        padding: 15px;
        margin: 0 auto;
    }

    .party-chart-wrapper {
        flex-direction: row;
    }
    
    div#partyDistributionPieChart {
        width: calc(100% - 130px);
    }
}

@media only screen and (max-width: 767px) {
    .navbar-light .navbar-nav .nav-link {
        text-align: right;
        padding: 10px;
    }

    .navbar-light .navbar-nav li.nav-item ul.sub-nav,
    ul#menu-menu li.menu-item ul.sub-menu {
        display: none;
    }

    .navbar-light .navbar-nav li.nav-item ul.sub-nav li a {
        text-align: right;
    }

    .call-reforms-wrapper {
        flex-direction: column;
    }

    .call-reforms-wrapper .call-reforms-text {
        width: 100%;
        padding: 15px 15px 75px 15px;
    }

    .call-reforms-wrapper .call-reforms-form {
        width: 100%;
        padding: 15px;
    }

    .section-row {
        padding: 35px 0;
    }

    .share-wrapper {
        padding: 15px;
        flex-direction: column;
        gap: 15px;
    }

    .share-wrapper .share-text {
        text-align: center;
        width: 100%;
    }

    .trendy-reforms-item {
        flex-direction: column-reverse;
    }

    .trending-results .trendy-reforms-item .trendy-reforms-topic,
    .trending-results .trendy-reforms-item .trendy-reforms-image {
        width: 100%;
    }

    .trending-results .trendy-reforms-item .trendy-reforms-topic {
        padding: 15px;
    }

    .reevaluate-ndis img {
        width: 45px;
    }
    
    .grid-three-items > *,
    .grid-three-items > *,
    .grid-four-items > *,
    .grid-five-items > * {
        width: 100%;
    }

    .opinion-single {
        flex-direction: column;
        gap: 0;
    }

    .opinion-single-image,
    .opinion-single-copy {
        width: 100%;
        min-height: auto;
    }

    .opinion-single-wrapper {
        max-width: 540px;
    }

    .opinion-analysis-wrapper .opinion-analysis-item {
        width: 100% !important;
        padding: 15px 15px 45px;
    }

    .opinion-analysis-wrapper .opinion-analysis-item:nth-child(2) {
        border-top: 0 solid rgb(var(--clr--primary--black));
        border-left: 1px solid rgb(var(--clr--primary--black));
        border-right: 1px solid rgb(var(--clr--primary--black));
    }

    .opinion-analysis-wrapper .opinion-analysis-more {
        padding-block: 50px;
    }
    
    ul.reforms-tabs {
        justify-content: flex-start !important;
        row-gap: 10px;
    }

    .hero-container {
        min-height: 400px;
    }

    .hero-interaction .hero-interaction-header,
    .hero-interaction .hero-interaction-form {
        padding: 15px;
    }

    .hero-interaction .hero-interaction-header .hero-interaction-logo {
        width: 150px;
    }

    .trendy-reforms-item .trendy-reforms-image,
    .trendy-reforms-item .trendy-reforms-topic,
    .trendy-reforms-item .trendy-reforms-topic .trendy-topic-wrapper {
        width: 100%;
    }

    .trendy-reforms-body {
        padding-inline: 0;
    }

    .hero-interaction {
        max-width: 540px;
        padding: 15px;
        margin: 0 auto;
    }

    .hero-interaction .hero-interaction-footerbg {
        margin-inline: -15px;
    }

    .trendy-opinion-wrapper {
        flex-direction: column;
    }

    .trendy-opinion-topic,
    .trendy-opinion-text {
        width: 100%;
    }
    
    .copy-wrapper {
        margin-top: 10%;
    }

    .reforms-wrapper .reforms-block .single-reforms-cell .single-reforms-copy {
        padding: 15px;
        gap: 15px;
    }

    .call-reforms-wrapper .call-reforms-form a.btn {
        max-width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    .party-labels {
        font-size: 16px;
    }

    .gender-stats .stats-item .man-pattern {
        width: 20px;
    }
}

@media only screen and (max-width: 575px) {
    .reforms-wrapper {
        flex-direction: column;
    }

    .reforms-wrapper .reforms-block,
    .reforms-wrapper .reforms-more-cta {
        width: 100%;
    }

    .two-side-analysis > * {
        padding: 15px;
    }
}

@media only screen and (max-width: 480px) {
    .trendy-reforms-item .trendy-reforms-topic .trendy-topic-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .trending-results .trendy-reforms-item .trendy-reforms-topic .trendy-title-wrapper {
        width: 100%;
    }

    .trendy-reforms-item .trendy-reforms-topic .trendy-reforms-count {
        font-size: 48px;
        width: 35px;
        padding-right: 0;
        border-right: 0 !important;
    }

    .trending-results .trendy-reforms-item .trendy-reforms-topic a.trendy-topic-cta,
    .trendy-reforms-item .trendy-reforms-topic a.trendy-topic-cta {
        margin: 0;
    }

    .trendy-reforms-item .trendy-reforms-topic .trendy-title-wrapper,
    .trendy-reforms-item .trendy-reforms-topic a.trendy-topic-cta {
        width: 100%;
    }

    .response-chart-wrapper {
        flex-direction: column;
    }

    .party-chart-wrapper {
        flex-direction: column-reverse;
    }
    
    div#partyDistributionPieChart {
        width: 100%;
    }

    div#surveyResponsesPieChart {
        display: flex;
        justify-content: center;
    }
}