@media (min-width: 576px) and (max-width: 992px) {
    .block-banner-section .col-sm-6 {
        width: 75%;
    }
}
@media only screen and (max-width: 991px) {
    .user-logged-in .mobile-navigation {
        top: 117px;
    }
    header .row > * {
        width: auto;
    }
    header .row {
        justify-content: space-between;
        flex-wrap: nowrap    
    }
    .nav-logo {
        max-width: 100%;
        padding: 15px 25px;
    }
    .nav-logo .view-header-topic-menu .view-content {
        display: initial;
        text-align: left;
    }
    .topic-item {
        flex-direction: row;
        gap: 15px;
        margin-bottom: 20px;
    }
    .toggle-expand{
        padding-right: 30px;
    }
.mobile-navigation .navbar-nav {
    flex-direction: column;
    padding: 25px 25px 0px 25px;
}
    .mobile-navigation .navbar-nav li {
        padding-bottom: 15px;
    }
    .mobile-navigation .navbar-nav li a{
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 14px;
        display: flex;
    }
    .mobile-navigation .navbar-nav li a.is-active{
        font-weight: 700;
        background:#B24ECC;
        color: #ffffff;
        border-radius: 5px;
    }
    /* nav#block-legalrightsforyouth-mainnavigation-3 {
        border-bottom: 2px solid #dedede;
    } */
.mobile-navigation #search-block-form--2 {
    border-bottom: 2px solid #dedede;
    padding: 10px 25px 25px 25px;
}
.mobile-navigation #search-block-form--2 input#edit-submit--2 {
    border: unset;
}
    .mobile-navigation .view-header-topic-menu {
        padding: 25px;
    }    
    .block-banner-section .container {
        padding: 27px;
        border-radius: 25px;
        border: 2px solid #000000;
        box-shadow: 0 9px 0px #000000;
    }
    .block-banner-section .container::after{
        content: none;
    }
    .block-banner-section {
        padding: 25px 25px 50px 25px;
    }
    .banner-left {
        text-align: center;
    }
    .banner-right {
        padding-bottom: 25px;
    }
    .block-banner-section .container .row {
        flex-direction: column-reverse;
    }   
    .topic-listing .view-header p {
        margin: auto;
        margin-bottom: 25px;
        max-width: 65%;
    }
    .topic-item-listing p {
        font-size: 14px;
        line-height: 20px;
        font-weight: normal;
    } 
    .topic-listing {
        padding: 0px 0 50px 0;
    }
    .topic-item-listing {
        padding: 15px 10px !important;
    }
    .topic-listing .view-header{
        text-align: center;
    }
    .topic-listing  .views-view-responsive-grid{
        --views-responsive-grid--column-count: 2 !important;
        --views-responsive-grid--layout-gap: 15px !important;
    }
    .need-legal-help-banner-wrapper h2{
        font-size: 24px !important;
    }

    /*********** explore page ****************/

    .view-explore .views-view-responsive-grid.views-view-responsive-grid--horizontal,
    .view-topic-search .views-view-responsive-grid.views-view-responsive-grid--horizontal {
        display: grid;
        grid-template-columns: 1fr 1fr;
        --views-responsive-grid--layout-gap: 16px !important;
    }

    .view-explore .js-form-item-combine{
        width: 100%;
        margin-bottom: 0px;
    }
    .view-explore .js-form-item input#edit-combine {
        min-width: unset;
        border: 0;
        border-radius: 16px;
    }
    .global-filter .show-more-btn {
        position: unset;
    }
    .global-filter .js-form-wrapper .js-form-submit {
        bottom: 20px;
    }
    .global-filter .views-exposed-form .js-form-item input::placeholder {
        font-weight: normal;
        font-size: 14px;
    }
    .view-explore .js-form-item-sort-bef-combine .form-control,
    .view-topic-search .js-form-item-sort-bef-combine .form-control {
        padding: 10px 30px 10px 7px;
        font-size: 10px;
        font-weight: 700;
    }
    .view-explore .view-header {
        font-size: 24px;
        top: 81px;
    }
    .view-explore .form-actions input#edit-submit-explore {
        right: 14px;
        left: unset;
        width: 44px;
        height: 33px;
    }
    .article-listing-wrapper {
        margin: unset;
        border: 1px solid #000;
    }
    .global-title-body-tags {
        padding: 15px 10px;
    }
    .article-listing-wrapper .tag-image {
        top: 7px;
        right: 7px;
    }
    .global-filter .form-item-sort-bef-combine {
        position: absolute;
        right: 0;
        bottom: 0;
        transform: translateY(calc(50% - -85px));
    }
    .article-listing-wrapper h2 {
        margin: 0 0 7px 0;
    }
    .article-listing-wrapper h2 a {
        font-size: clamp(10px, 1.5vw, 16px);
        font-weight: 700;
    }
    .article-listing-wrapper p {
        font-size: clamp(10px, 1.5vw, 16px);
        line-height: 1.5;
        margin-bottom: 10px;
    }
    .article-listing-wrapper .upload-image img ,
    .related-article-topic-image img{
        top: 5px;
        right: 4px;
        width: 38px;
        height: 38px;
    }
    .article-listing-wrapper .tag-image img {
        position: absolute;
        top: 7px;
        right: 7px;
        width: 17px;
        height: 18px;
    }
    .global-filter .item-list ul li a, .global-filter .listing-article-sub-topic a {
        border-radius: 14px;
        padding: clamp(2px, 0.75vw, 5px) clamp(5px, 1.125vw, 9px);
        font-size: clamp(8px, 1.5vw, 13px);
        line-height: 14px;
    }
    .article-listing-wrapper .listing-article-sub-topic {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding-left: unset;
    }
    .related-article-sub-topic, 
    .related-article-sub-topic ul, 
    .listing-article-sub-topic, 
    .listing-article-sub-topic ul {
        gap: 5px; 
        margin-bottom: 5px;
    }
    /***** explore-crime-police page *******/
    .view-topic-search .views-exposed-form .js-form-item input.form-text.form-control {
        height: 50px;
        min-width: unset;
        border: 1px solid rgba(0, 0, 0, 1);
    }
    .view-topic-search .js-form-item-combine{
        width: 100%;
    }
    .view-topic-search .views-exposed-form {
        padding: 30px;
        border: unset;
    }
    .view-topic-search .view-filters {
        border-bottom: unset;
        margin-bottom: 15px;
    }
    .global-filter .views-exposed-form {
        padding: 15px 20px;
        border: 0px;
    }
    .bef-nested .form-type-checkbox label {
        background: unset;
        background-color: #ffffff;
        padding: 5px 10px;
        font-weight: 600;
        font-size: 14px;
        line-height: 24px;
        border-radius: 32px;
    }
    .bef-nested .form-type-checkbox:has(input:checked) label {
        background: unset;
        background-color: rgba(0, 0, 0, 1);
        border: 2px solid #000;
        color: rgba(255, 255, 255, 1);
    }
    .view-topic-search:has(.selected-options-header) .show-more-btn {
        right: unset;
        left: 20px;
        bottom: 20px;
    } 
    .bef-nested ul li {
        margin-right: unset;
        margin-bottom: unset;
    }
    .view-topic-search .view-header {
        font-size: 24px;
    }
    .view-topic-search .show-more-btn{
        right: unset;
    }

    .view-topic-search .js-form-item-sort-bef-combine {
        top: 100%;
        transform: translateY(calc(50% - -17px));
    }
    .need-legal-help-banner-wrapper h4{
        font-weight: normal;
    }
    .block-inner--banner-section a {
        margin-left: 15px;
    }
    .page-node-type-article .region.region-content {
        padding: 0 20px;
    }
    .article-page-big-idea span::after {
        width: 100%;
        top: unset;
        bottom: -5px;
        right: 0;
    }
    /*-----Footer--------*/
    footer {
        padding: 40px 0px 40px 0px;
        font-size: 12px;
        line-height: 17px;
    }
    .footer-first img {
        max-width: 200px;
        height: auto;
    }
    nav#block-legalrightsforyouth-mainnavigation {
        padding-top: 0;
        padding-left: 0;
    }
    .footer-first {
        max-width: 65%;
        padding-bottom: 15px;
    }
    .footer-second {
        max-width: 30%;
        padding-top: 50px;
    }
    ul#superfish-main li a, .footer-second ul li a {
        display: flex !important;
        align-items: center;
        font-weight: bold;
    }
    .region-footer-column-3 {
        display: flex;
        gap: 35px;
    }
    .footer-third {
        border-top: 1px solid #BABABA;
        padding-top: 25px;
    }
    #block-legalrightsforyouth-territorialacknowledgement {
        max-width: 70%;
    }
    #block-legalrightsforyouth-fundedmanaged .field--name-body {
        gap: 0;
        text-align: center;
        flex-direction: column-reverse;
    }
    .footer-top {
        justify-content: space-between;
    }
    footer h2 {
        font-size: 12px;
        line-height: 15px;
    }
    .region.region-footer-bottom-links {
        display: flex;
        align-items: flex-start;
        flex-direction: column-reverse;
    }
    .footer-bottom-links a {
        font-size: 12px;
    }
    #block-legalrightsforyouth-copyright {
        padding-right: 0;
        margin-top: 10px;
        font-size: 12px;
    }
    .privacy-policy {
        border-left: 0px;
        padding-left: 0px !important;
    }
    .age-based-rights-main{
        display: none;
    }
    .view-age-based-rights{
        display: block !important;
        padding: 15px;        
    }
    .view-age-based-rights .view-header{
        text-align: center;
    }
    .age-based-rights {
        color: #ffffff;
        padding: 20px;
        margin-bottom: 0;
        min-height: 350px;
    }
    .age-title {
        margin-bottom: 10px;
    }
    .age-description ul{
        padding-left: 0.5rem;
    }
    .age-description ul li {
        padding: 5px 0 5px 24px;
        font-size: 12px;
        line-height: 14.5px;
        position: relative;
        list-style: none;
    }
    .age-description ul li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 4px; 
        width: 16px;
        height: 16px;
        background: url(../images/marker-img.svg) no-repeat center center;
        background-size: contain;
    }
    .age-based-rights .age-cta a {
        display: block;
        text-align: center;
    }
    .view-age-based-rights .views-slideshow-controls-bottom .views-slideshow-pager-bullets li {
        padding: 0 10px !important;
        background: #dedede;
        line-height: 8px !important;
    }
    .view-age-based-rights .views-slideshow-controls-bottom .views-slideshow-pager-bullets li.active{
        color: #000000 !important;
        padding: 0 17px !important;
    }
    .view-age-based-rights .views-slideshow-controls-bottom {
        margin-top: 10px;
    }
    /* ********************************related-articles-page***************************** */
    #sidebar-second-area,
    body.sidebar-second #midcontent-area {
        width: 100% ;
        float: unset;
    }
    body.sidebar-second #midcontent-area {
        padding: 0 !important;
    }
    .article-page-tags h4 {
        font-family: Open Sans;
        color: #8839FF;
        font-size: 20px !important;
        font-weight: 800 !important;
        line-height: 24px !important;
        text-align: center !important;
    }
    .article-page-heading h1 {
        font-size: 24px !important;
        line-height: 28px !important;
        margin: 10px 0 25px 0;
    }
    .article-page-reviewed {
        flex-direction: column !important;
        font-size: 12px !important;
        line-height: 9px !important;
        gap: unset !important;
        padding: 20px 20px !important;
        align-items: center !important;
    }
    .article-page-reviewed-by {
        padding-left: 25px !important;
    }
    .article-page-thumbnail-image .field--name-field-thumbnail-image::before {
        content: "";
        position: absolute;
        top: 0% !important;
        left: 0% !important;
        right: 0 !important;
        margin: auto !important;
        background: url(../images/play-button1.png) no-repeat center;
        width: 52px !important;
        height: 70px !important;
        transform: translate(-9%, 100%) !important;
        background-size: contain !important;
    }
    .article-page-thumbnail-image img {
        height: 228px !important;
        object-fit: cover;
    }
    .article-page-description h4{
        font-size: 24px !important;
        font-weight: 700 !important;
        line-height: 32px !important;
        padding-bottom: 25px;        
    }
    .youtube-video iframe {
        min-height: auto !important;
    }
    .article-page-wrapper .sub-topic .tag{
        margin-bottom: 7px;
    }
    .sub-topic .tag {
        padding: 5px 12px;
    }
    .article-page-wrapper{
        padding-top: 15px;
    }
    .callout-content-section {
        padding: 25px 20px !important;
    }
    .callout-wrapper {
        margin: 40px 0 !important;
    }
    .privacy-terms h1 {
        padding-top: 15px;
        text-align: center;
    }
    .page-node-type-landing-page .region-content,
    .privacy-terms .region-content{
        padding: 15px;
    }
}
