/* Articles Header */

.article-header {
    height: 100px;
    display: flex;
    align-items: center;
    background: var(--mainColour);
}

.article-header>div {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.article-header .article-search_title {
    display: flex;
    align-items: center;
}

.article-header .article-search_title h1 {
    font-size: 2rem;
    line-height: 1;
    margin: 0;
    font-weight: 500;
    text-transform: capitalize;
    color: #fff;
}


/*Article Search Form*/

.search_form_container {
    max-width: 280px;
    flex-shrink: 0;
}

.article-search-form {
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
    border: 0;
    overflow: hidden;
    border: none;
    position: relative;
    border-radius: 25px;
    overflow: hidden;
}

.article-search-form input[type=text] {
    width: calc(100% - 60px);
    padding: 0 20px;
    box-sizing: border-box;
    background: none;
    height: 100%;
    border: 0;
    outline: 0;
    color: var(--mainColour);
    font-size: .875rem;
    background: #fff;
}

.article-search-form input[type=text]::placeholder {
    color: var(--mainColour);
    opacity: 1;
}

.article-search-form input[type=submit] {
    width: 60px;
    flex-shrink: 0;
    height: 100%;
    background: url(../images/search.svg) no-repeat center;
    cursor: pointer;
    border: 0;
    outline: 0;
    padding: 0;
    position: relative;
    background-color: #fff;
}


/*Article Category*/

.category_wrap {
    padding: 20px 0;
}

.category_wrap>div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.category_wrap .category_container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    height: 100%;
}

.category_wrap a {
    padding: 0 28px;
    height: 60px;
    background: var(--tertiaryColour);
    color: var(--mainColour);
    font-size: .875rem;
    transition: ease-in-out all .3s;
    text-transform: uppercase;
    border-radius: 5px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.category_wrap a.active,
.category_wrap a:hover {
    background: var(--mainColour);
    color: #fff;
}


/*Article Search*/

.article-search-results {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}


/*Search Pager*/

.search-pager {
    margin: 20px 0;
    height: 60px;
    display: flex;
    align-items: center;
}

.search-pager>div {
    width: 100%;
    display: flex;
    height: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0;
    background: #FFFFFF;
    overflow: hidden;
}

.search-pager>div>a {
    width: 35px;
    height: 35px;
    color: #1D1F20;
    font-size: 1rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    text-decoration: underline;
}

.search-pager>div>a.pager-prev {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 100%;
    background: var(--mainColour) url(../images/chevron-left-white.svg) no-repeat center;

}



.search-pager>div>a.pager-next {
    position: absolute;
    right: 0;
    top: 0;
    width: 60px;
    height: 100%;
    background: var(--mainColour) url(../images/chevron-left-white.svg) no-repeat center;
    transform: rotate(180deg);
}


/* Article Block */

.article {
    width: calc((100% - 60px) / 4);
    border: 1px solid var(--border);
    height: auto;
}

.article>div {
    display: flex;
    position: relative;
    flex-direction: column;
    margin: 0 0px 40px;
    overflow: hidden;
    height: 100%;
}

.article .art-image {
    width: 100%;
    aspect-ratio: 3/2;
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.article .art-image>a {
    height: 100%;
    width: 100%;
    background-position: center;
    background-color: #ededed;
    background-size: cover;
    background-repeat: no-repeat;
    transition: ease-in-out all .3s;
}

.article-lock{height: 47px; width: 43px; border-radius: 10px 0 10px 0; position: absolute; top: 10px; right: 10px;
    background: url(../images/lock.svg) #2E3060 center no-repeat;}

.article .art-category:not(:empty) {
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
}

.article .art-category a {
    display: flex;
    align-items: center;
    height: 35px;
    padding: 0 10px;
    color: #fff;
    text-transform: uppercase;
    font-size: .625rem;
    font-family: var(--secondaryFont);
    background:#2E3060;
    border-radius: 3px; 
    text-decoration: none;

}

.article .art-category a:not(:first-child) {
    border-left: 1px solid #707070;
    padding-left: 10px;
}

.article .art-info {
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    position: relative;
    background: var(--background);
    flex: auto;
}
.article .art-info > a {
    font-family: var(--secondaryFont);
    color: var(--mainColour);
    font-size: 1.063rem;
    font-weight: 600;
    text-decoration: underline;
}


.article .art-title {
    font-family: var(--secondaryFont);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    line-height: 22px;
    height: 44px;
    overflow: hidden;
    font-size: 1.125rem;
    font-weight: 600;
}


.article .art-summary {
    color: #1E2926;
    font-size: .875rem;
    overflow: hidden;
    height: 60px;
}

.article .art-title a {
    color: #1E2926;
    text-decoration: none;
    transition: ease-in-out all .3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article .art-footer {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--border);
    height: 30px;
    font-size: .875rem;
}

.article>div:hover .art-image>a {
    transform: scale(1.05);
}


/* Article Details */

.article-image:not(:empty) {
    text-align: center;
    position: relative;
    margin-bottom: 40px;
}
.article-image {
    max-width: 100%;
}
.article-image img {max-width: 100%; height: auto;}

.AB-editing .article-image[data-editable=true] {
    width: 100%;
    min-height: 400px;
}

.article-info {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    width: 100%;
}

.article-title {
    font-size: 2rem;
    line-height: 42px;
    font-weight: 800;
    color: #1D1F20;
    margin-bottom: 0;
    padding: 0;
}

.article-description {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 26px;
    color: #404042;
    min-height: 30px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 40px;
}

.article-description :is(p, li) {
    font-size: 1rem;
    color: #343434;
    line-height: 30px;
    font-weight: 300;
}

.article-back,
.article-back:hover {
    color: #343434;
    font-weight: 400;
    line-height: 28px;
    text-decoration: underline;
}

.article-details {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 20px;
}

.article-left {
    flex: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
}

.article-right {
    width: 450px;
    flex: 0 0 auto;
    position: relative;
    background: #fff;

}

.article-sidebar-background {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: -1;
    width: 10000px;
    background: #fff;
    border: 1px solid var(--border);
}

.article-category {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    border-right: 1px solid #707070;
    padding-right: 10px;
}

.article-category a {
    text-decoration: underline;
    color: #1E2926 !important;
}

.article-info .article-meta {
    color: #1E2926;
    font-size: .875rem;
    display: flex;
    align-items: center;
    height: 14px;
    gap: 10px;
}

.article-subscribe {
    width: 100%;
    margin: 40px 0;
    border: 1px solid var(--border);
    background: #fff;
    padding: 20px;
    border-radius: 5px;
}
.article-subscribe-header {
    font-size: 2.188rem;
    line-height: 1.4;
    color: #000;
    font-weight: 500;
}
.article-subscribe p {
    color: #1E2926;
}
.article-subscribe a[class^="button-"]{
    width: 250px;
}
.article-subscribe a.button-tertiary {
    background: #E3E8EF;
    border: 1px solid #CDCED5;
    color: #20293A !important;
}
.article-subscribe a.button-tertiary:hover {
    background: #CDCED5;
    border: 1px solid #CDCED5;
    color: #20293A !important;
}

.article-downloads {
    width: 100%;
    margin: 20px 0 40px;
    border: 1px solid var(--border);
    background: #fff;
    padding: 20px;
    border-radius: 5px;
}
.article-downloads-header {
    font-size: 1.625rem;
    line-height: 1.4;
    font-weight: 500;
    font-family: var(--secondaryFont);
    margin-bottom: 20px;
}

.article-download {
    border: 1px solid var(--border);
    padding: 10px;
    border-radius: 5px;

}

.article-download > div:first-child {
    width: 60px;
    height: 60px;
    background: url(../images/articles/icon-file.svg) no-repeat center;
}
.article-download-info > div:first-child{
    font-weight: 500;
    color: #212936;
}
.article-download-info > div:last-child{
    color: #818691;
}

.button-locked{position: relative; top: initial; right: initial;}

/*Article Sidebar*/

.article-sidebar {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-sidebar-header {
    font-size: 1.5rem;
    font-weight: 500;
}

.article-sidebar .as-article {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid #E2E2E2;
    padding-bottom: 10px;
}

.as-image {
    aspect-ratio: 3/2;
    width: 100px;
    flex: 0 0 auto;
    border-radius: 4px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.article-sidebar .as-content {
    display: flex;
    flex-direction: column;
    gap: 0px;
    flex: 1;
}

.as-title {
    font-size: .875rem;
    line-height: 22px;
    color: #404042;
    transition: ease-in-out all .3s;
    overflow: hidden;
    font-weight: 500;
    text-decoration: none;
}

.as-footer {
    display: flex;
    align-items: center;
}

.as-read {
    font-size: .875rem;
    color: #1D1F20;
    line-height: 22px;
    position: relative;
    text-decoration: underline;
}


/*Article Footer*/

.article-footer_container {
    width: 100%;
    padding: 30px 0;
    background: var(--background);
}

.article-footer>div {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.article-footer-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1A1A1A;
    font-size: 2.25rem;
}

.article-footer header span {
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
}

.article-footer .associated-articles_container {
    display: flex;
    position: relative;
    flex-direction: column;
    width: 100%;
}

.article-footer .associated-articles {
    width: 100%;
}

.article-footer .associated-articles .article>div {
    margin: 0;
}

.associated-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    height: 40px;
}

.associated-pagination .associated-bullet {
    height: 10px;
    width: 10px;
    border-radius: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: ease-in-out all .3s;
    background: rgba(30, 41, 38, .1);
}

.associated-pagination .associated-bullet.active {
    height: 20px;
    width: 20px;
    background: var(--mainColour);
}

.associated-pagination.swiper-pagination-lock {
    display: none;
}

.article-footer footer {
    display: flex;
    align-items: center;
    justify-content: center;
}




/* Article List Module*/

.article-list-module {
    position: relative;
    padding: 20px 0;
}

.article-list-module>div {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.article-list-module>div>div {
    width: 100%;
}

.article-list-module .al_header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
}

.al_header .al_heading {
    margin: 0;
    font-size: 2.688rem;
    color: var(--mainColour);
    line-height: 1.4;
    font-weight: 600;
    font-family: var(--secondaryFont);
}

.al_header .al_subheading {
    font-size: 1.063rem;
    line-height: 1.4;
    font-weight: 400;
    color: #2F2F2F;
    margin: 0;
}

.al_button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.al_button a {
    line-height: 56px;
    color: #fff;
    background: #869077;
    border-radius: 27px;
    padding: 0 30px;
    font-weight: 500;
    font-size: 1.063rem;
    transition: ease-in-out all .3s;
}

.al_button a:hover {
    background: #A1B965;
    border-color: #A1B965;
}


/*Article List View*/

.article-list-module.list {
    padding: 30px 0;
    background: #fff;
}

.article-list-module.list .article-slider .swiper-wrapper {
    display: flex;
    margin: 0;
}

.article-list-module.list .article {
    width: 33.333333333%;
}

.article-list-module.list .article>div {
    margin: 0 0 40px 15px;
}

.article-list-module.list :is(.art-pagination) {
    display: none;
}


/*Article Carousel View*/

.article-list-module.carousel .article>div {
    margin: 0;
}


/*Article Carousel Pagination*/

.art-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    height: 40px;
}

.art-pagination .art-bullet {
    height: 10px;
    width: 10px;
    border-radius: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: ease-in-out all .3s;
    background: #fff;
}

.art-pagination .art-bullet.active {
    height: 20px;
    width: 20px;
    background-color: var(--secondaryColour);
}

.art-pagination.swiper-pagination-lock {
    display: none;
}

.arts_nav_prev, .arts_nav_next {
    background: var(--secondaryColour);
    border-radius: 50%;
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: -20px;
    top: calc(50% - 33px);
    z-index: 20;
}

.arts_nav_prev::after,.arts_nav_next::after {
    content: "";
    height: 22px;
    width: 22px;
    background: url(../images/chevron-left-white.svg) no-repeat center;
}

.arts_nav_next {
    left: initial;
    right: -20px;
    top: calc(50% - 33px);
}

.arts_nav_next::after {
    transform: rotate(180deg);
 
}

.arts_nav_disabled::after {
    border-color: #959494;
}

.category_container {
    width: 100%;
}

.category_container select {
    width: 100%;
}
.category_container span {
    color: var(--mainColour);
    font-size: 1.125rem;
    font-weight: 500;
    font-family: var(--secondaryFont);   
    line-height: 1.8; 
}
.category_container .article-search-form {
    border-radius: 0;
    border: 1px solid var(--border);
}



/************Responsive states**************/

@media (min-width: 1200px) and (max-width:1400px) {
    /*Article Block*/
    .article .art-image {
        height: 290px;
    }
    .article-list-module .container {
        padding-left: 0;
        padding-right: 0;
    }
}


/* Desktop */

@media (min-width:992px) and (max-width:1199px) {
    /*Search Page*/
    .search_form_container {
        width: 280px;
    }
    .category_wrap .category_container {
        gap: 15px;
    }
    /*Article block*/
    .article>div {
        margin: 0 5px 30px 5px;
    }
    .article .art-image {
        height: 250px;
    }
    .article .art-title a {
        font-size: 1.5rem;
    }
    /*Details Page*/
    .article-details>div>.article-left {
        width: calc(100% - 400px);
    }
    .article-details>div>.article-right {
        width: 400px;
    }
    .article-image .article-title {
        font-size: 2rem;
    }
    /*Article List Module*/
    .article-list-module.list .article>div {
        margin: 0 5px 30px 5px;
    }
}


/*Mobile & Tablet*/

@media (max-width:991px) {
    /*Article Block*/
    .article .art-footer {
        margin: 0;
    }
    /*Article Details*/
    .article-details>.article-left {
        flex: initial;
        width: 100%;
    }
    .article-details>.article-right {
        width: 100%;
        padding: 0 10px;
        margin-top: 40px;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }
    .article-details {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }
    .article-sidebar-background {
        width: 100vw !important;
        max-width: 100vw !important;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }
    .article-image img {
        max-width: 100%;
    }

    
    .article-list-module .al_header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .al_heading_container {
        justify-content: center;
    }
}


/*Tablet*/

@media (min-width:768px) and (max-width:991px) {
    /*Search Page*/
    .search_form_container {
        width: 270px;
    }
    /*Article Block*/
    .article {
        width: calc(50% - 10px);
    }
    .article>div {
        margin: 0 3px 40px 3px;
    }
    .article .art-image {
        height: 244px;
    }
    .article .art-title a {
        font-size: 1.125rem;
    }
    /*Details Page*/
    .as-image {
        width: 100px;
        height: 66px;
    }
    .as-title {
        height: initial;
        display: flex;
    }
    .article-sidebar>header {
        align-items: flex-start;
    }
    /*Article Sidebar*/
    .article-sidebar {
        width: 100%;
        padding: 30px 0;
    }
    .as-offer {
        height: 480px;
        width: 735px;
        background-image: url(../images/blog-cta-md.jpg);
    }
    /*Article List Module*/
    .article-list-module.list .article {
        width: 50%;
    }
    .article-list-module.list .article>div {
        margin: 0 7px 20px 7px;
    }
}


/*Mobile*/

@media (max-width:767px) {
    /*Search Page*/
    .articles .col-12 {
        padding: 0 10px;
    }
    .article-header {
        height: initial;
        padding: 40px 0;
    }
    .article-header>div {
        flex-direction: column;
        gap: 20px;
    }
    .article-header .article-search_title h1 {
        font-size: 1.75rem;
        text-align: center;
    }
    .search_form_container {
        width: 100%;
        max-width: none;
    }
    .article-search-results {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }
    .category_wrap .category_container {
        gap: 8px;
    }
    .category_wrap a {
        font-size: .75rem;
    }
    /*Cta blocks*/
    .block_layout_module_cta {
        padding: 0;
    }
    /*Image button blocks*/
    .image_block_module .IB_items .IB_item {
        max-width: unset;
    }
    /*Articles Pager*/
    .search-pager>div>a {
        width: 20px;
        font-size: 1.063rem;
    }
    /*Article Block*/
    .article {
        width: 300px;
    }
    .article>div {
        margin: 0 0 40px 0;
    }
    .article .art-image {
        height: 195px;
    }
    .article .art-title {
        height: 56px;
    }
    .article .art-title a {
        font-size: 1.125rem;
        line-height: 28px;
    }
    .article .art-date span {
        font-size: .875rem;
    }
    .article .art-footer a {
        font-size: 1rem;
        line-height: 50px;
    }
    .article .art-category a {
        font-size: .75rem;
    }
    /*Article Details*/
    .article-title {
        font-size: 2rem;
        line-height: 40px;
    }
    .article-description :is(p, li) {
        font-size: .875rem;
        line-height: 28px;
    }

    .article-download {
        flex-wrap: wrap;
    }
    .article-download>div:first-child {
        width: 40px;
    }
    .article-download a[class^="button-"]{
        width: 100%;
    }

    .article-subscribe-header{font-size: 1.75rem;}
    .article-subscribe .d-flex.align-items-center.gap-2{flex-direction: column;}

    /*Sidebar*/
    .article-sidebar {
        width: 100%;
        padding: 30px 0;
    }
    .article-sidebar>header>h2 {
        text-align: center;
    }
    .as-offer {
        height: 236px;
        width: 290px;
        background-image: url(../images/blog-cta-sm.jpg);
    }
    .as-offer>div {
        gap: 10px;
    }
    .as-offer h4 {
        font-size: 1.125rem;
        line-height: 24px;
    }
    .as-offer a {
        font-size: .75rem;
    }
    .article-sidebar .as-article {
        flex-direction: column;
    }
    .as-title {
        height: initial;
        display: flex;
    }
    /*Related Articles*/
    .article-footer {
        padding: 80px 0 60px;
    }
    .article-footer header {
        flex-direction: column;
    }
    .article-footer header h2 {
        font-size: 2rem;
    }
    .article-footer .associated-articles {
        width: 290px;
    }
    /*Article List*/
    .article-list-module {
        padding: 60px 0;
    }
    .article-list-module.list {
        padding: 30px 0;
    }
    .article-list-module>div>div.article-slider {
        width: 290px;
    }
    .article-list-module.list .article {
        width: 100%;
    }
    .al_header .al_heading {
        font-size: 1.5rem;
        text-align: center;
    }

    .article-list-module.list .article>div {
        margin: 0 0 30px 0;
    }
    .article-left,
    .article-right {
        width: 100%;
        flex: 0 0 auto;
    }
    .category_container {
        width: 100%;
    }
    .category_container select {
        width: 100%;
    }

    .category_wrap a {
        padding: 0 10px;
        height: 36px;
        font-size: .688rem;
    }
}