.wrapper-related-brand{
    /* padding-top: 80px; */
    margin-bottom: 80px;
}
.wrapper-related-brand ul.news-tab-list {
    margin-bottom: 0;
}

.wrapper-related-brand ul.news-tab-list li {
    margin-right: 48px;
}

.related-brand {
    display: flex;
    margin: 0;
    width: 100%;
    flex-wrap: wrap;
}

.related-brand .related-brand-item {
    flex: 0 0 25%;
    border: 1px solid #D9DAE2;
    border-right: none;
    border-bottom: none;
}
.related-brand .related-brand-item article{
  display: flex;
  height: 100%;
}
.related-brand .related-brand-item:last-child,
.related-brand .related-brand-item:nth-child(4n+4) {
    border-right: 1px solid #D9DAE2;
}

.related-brand .related-brand-item:last-child,
.related-brand .related-brand-item:nth-last-child(2),
.related-brand .related-brand-item:nth-last-child(3),
.related-brand .related-brand-item:nth-last-child(4) {
    border-bottom: 1px solid #D9DAE2;
}

.related-brand .related-brand-item a {
    display: inline-flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: relative;
    color: #000a3c;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
}

.related-brand .related-brand-item a:hover {
    color: #fff;
}

.related-brand .related-brand-item a img {
    max-width: 100%;
    /* height: 100%;
    object-fit: cover; */
    /* transition: all 0.3s ease-in-out; */
}


.related-brand .related-brand-item a svg {
    fill: #000a3c;
    transition: all 0.3s ease-in-out;
    width: 100%;
    max-height: 100%;

}
.related-brand .related-brand-item a svg path{
    fill: inherit;
}
.related-brand-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    display: inline-flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}
.related-brand-overlay:before, .related-brand-overlay:after{
  display: none;
}
.wrapper-related-brand .primary-btn{
    margin-top: 32px;
}

.slick-dots li button:before{
  display: none;
}

@media (min-width: 1025px) {
    .wrapper-related-brand{
        padding-inline: 64px;
    }
    .wrapper-related-brand .news-filter-tab {
        border-bottom: 1px solid #D9DAE2;
    }

    .wrapper-related-brand ul.news-tab-list {
        max-width: 1440px;
        margin: 0 auto;
        border-bottom: none;
    }

    .related-brand {
        max-width: 1440px;
        margin: 0 auto;
    }

    .related-brand .related-brand-item a img {
        opacity: 0;
        transform:scale(1.059) translateY(0px);
        transition: all 400ms ease-in-out;
    }

    .related-brand .related-brand-item a:hover img,
    .related-brand .related-brand-item a:focus-visible img { /** Fix for accessibility**/
        opacity: 1;
        transform: scale(1.059) translateY(-10px);
    }
    .related-brand-overlay{
        justify-content: center;
    }
    span.related-brand-logo {
        display: flex;
    }
    .related-brand .related-brand-item a:hover svg, .related-brand .related-brand-item a:hover svg path,
    .related-brand .related-brand-item a:focus-visible svg, .related-brand .related-brand-item a:focus-visible svg path { /** Fix for accessibility**/
        fill: #fff;
    }

    .related-brand.dark-theme .related-brand-item a:hover .related-brand-overlay,
    .related-brand.dark-theme .related-brand-item a:focus-visible .related-brand-overlay { /** Fix for accessibility**/
        background-color: rgba(0, 10, 60, 0.40);
    }

    .related-brand-arrow {
        display: none;
    }

    .wrapper-related-brand .news-filter-tab .dropdown.dropdown-standard,
    .wrapper-related-brand a.load-more-btn {
        display: none;
    }
}


@media (min-width:1025px) and (max-width:1440px) {
    .wrapper-related-brand {
        padding-inline: 0 !important;
    }

    .wrapper-related-brand .section-heading {
        padding-inline: 64px;
    }

    .wrapper-related-brand .container {
        max-width: 100%;
    }
}



@media (max-width: 1024px) {
    .wrapper-related-brand{
        padding-top: 0;
        margin-bottom: 64px;
    }
    .wrapper-related-brand .section-heading{
        margin-bottom: 24px;
    }
     .wrapper-related-brand .container {
        max-width: 100%;
    }

    .wrapper-related-brand .news-filter-tab {
        margin-bottom: 0;
    }

    .related-brand .related-brand-item{
        border: none !important;
    }
    span.related-brand-logo{
        width: 45.7%;
    }
    .related-brand .related-brand-item a svg {
        fill: #fff;
    }

    span.related-brand-arrow svg{
      width:24px !important;
      height: 24px;
    }

    span.related-brand-logo svg{
      width: 100%;
      height:100%;
    }

    .related-brand .related-brand-item a .related-brand-overlay {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        padding-bottom: 24px;
        padding-left: 24px;
        padding-right: 16px;
    }
    .related-brand.dark-theme .related-brand-item a .related-brand-overlay {
        background-color: rgba(0, 10, 60, 0.40);
    }
    .wrapper-related-brand .load-more-btn {
        margin-top: 40px;
    }
    .related-brand .slick-dots li {
        width: 24px;
        height: 4px;
    }

    .related-brand .slick-dots li button {
        background-color: rgba(0, 10, 60, 0.3);
        width: 100%;
        height: 100%;
        padding: 0;
    }

    .related-brand .slick-dots li.slick-active button {
        background-color: rgba(0, 10, 60, 1);
    }

    .related-brand .slick-dots li.slick-active button:before {
        display: none;
    }
    .wrapper-related-brand .primary-btn{
        margin-top: 24px;
    }
    /** Fix for accessibility **/
    .related-brand.dark-theme .related-brand-item a:focus-visible .related-brand-overlay {
      outline: 2px solid #fff;
      outline-offset: -10px;
    }
    /** Fix for accessibility **/
}
@media (min-width: 768px) and (max-width: 1024px){
    .wrapper-related-brand{
        padding: 32px;
    }
    .wrapper-related-brand .container{
        max-width: 100%;
    }
    .related-brand{
        justify-content: space-between;
    }
    .related-brand .related-brand-item{
        flex: 0 0 31%;
        margin-bottom: 24px;
    }
    .related-brand .related-brand-item:last-child, .related-brand .related-brand-item:nth-child(3n+3){
        margin-right: 0;
    }
}
@media (max-width: 767px){
    .wrapper-related-brand .section-heading{
        padding-inline: 16px;
    }

    .related-brand .related-brand-item{
      border: none !important;
    }
}
