.mc__hero-slider .slick-track .slick-slide .imgbox{
    background: #9E9EA3;
}

.mc__hero-slider .slick-track .slick-slide:nth-child(odd) .imgbox:nth-child(odd), .mc__hero-slider .slick-track .slick-slide:nth-child(even) .imgbox:nth-child(even){
    background: #34353f;
}

.mc__hero-slider .slick-track .slick-slide:nth-child(odd) .imgbox:nth-child(odd) h3, .mc__hero-slider .slick-track .slick-slide:nth-child(even) .imgbox:nth-child(even) h3 {
    color: #EECAA1;
}

.mc__hero-slider .imgbox {
    position: relative;
    padding-top: 100%;
}

.mc__hero-slider .imgbox > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.mc__hero-slider .imgbox .desc {
    height: 100%;
    top: 0;
    left: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.mc__hero-slider .imgbox .desc_wrapper img {
    max-height: 100px;
    width: auto;
}

.mc__hero-slider .desc h3 {
    font-size: 26px;
    padding-inline: 1.2vw;
    line-height: 1.4;
    margin-top: 50px;
    margin-bottom: 0;
    min-height: 73px;
}

.mc__hero-slider .imgbox .desc_wrapper{
    position: static;
    pointer-events: none;
}

.mc__hero-slider .slick-slide .imgbox a img {
    height: 100%;
    object-fit: cover;
}

.hero-slider .slick-list:hover .imgbox {
    opacity: 1;
}

.mc__hero-heading {
    padding-top: 245px;
    text-align: center;
    margin-bottom: 48px;
}


.mc__hero-heading h1 {
    font-size: 55px;
    line-height: 1.2;
    position: relative;
    text-transform: uppercase;
}

.mc__hero-heading p {
    font-size: 22px;
    color: #EACCA8;
    font-family: 'industry';
    margin-bottom: 0;
    font-weight: 600;
}

.mc__hero-heading h1:after {
    content: '';
    position: absolute;
    top: -22px;
    right: 50%;
    transform: translateX(50%);
    height: 6px;
    width: 150px;
    background: #EACCA8;
}

.hero-slider.mc__hero-slider{
    padding-top: 0 !important;

}

.mc__hero-slider .slick-prev, .mc__hero-slider .slick-next {
    top: -76px;
    transform: none;
    z-index: 9;
}

.mc__hero-slider .slick-prev {
    left: calc(50% - 190px);
}

.mc__hero-slider .slick-next {
    right: calc(50% - 190px);
}

.slick-prev:before, .slick-next:before {
    content: '' !important;
    width: 27px;
    height: 20px;
    display: block;
    opacity: 1 !important;
    background: url(https://mcquillancompanies.com/wp-content/themes/mcquillan/images/right.svg);
}

.slick-prev:before {
    transform: rotate(180deg);

}

.slick-prev.slick-disabled:before, .slick-next.slick-disabled:before {
    opacity: 0.5 !important;
}

.mc__companies {
    padding: 83px 0 100px;
}

.mc__companies .container, .mc__future .container, .mc__latest .container,.mc__beyond .container {
    max-width: 1310px;
    margin: 0 auto;
    padding: 0 15px;
}

.mc__companies .mc__cheading h3 {
    font-size: 35px;
}

.mc__companies .mc__cheading p {
    font-size: 20px;
    margin-bottom: 38px;
}

.mc__companies .mc__details h4 {
    font-size: 19px;
    margin: 19px 0;
}

.mc__companies .mc__details p {
    font-size: 12px;
    margin-bottom: 0;
    padding-bottom: 23px;
    /*border-bottom: 2px solid #EACCA8;*/
}

.mc__companies .mc__company-wrap {
    display: flex;
    gap: 21px;
}

.mc__companies .mc__company-detail {
    /*flex: 0 0 calc(100%/4 - 16px);
    max-width: calc(100%/4 - 16px);*/
	flex: 0 0 calc(100%/5 - 16px);
    max-width: calc(100%/5 - 16px);
}

.mc__companies .mc__image {
    position: relative;
    padding-top: 136%;
}

.mc__companies .mc__image img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*future section*/

.mc__future {
    padding: 9.375vw 0 14.32vw;
    background-size: cover;
    background-position: bottom right;
}

.mc__future-wrap h3, .mc__future-wrap p {
    color: #ffffff;
}

.mc__future .mc__future-wrap {
    max-width: 440px;
}

.mc__future .mc__future-wrap h3 {
    font-size: 35px;
}



.mc__future a.btn svg, .mc__future .btn svg {
    margin-left: 15px;
    margin-bottom: 4px;
    width: 15px;
    height: auto;
}

.mc__future a.btn, .mc__future .btn {
    vertical-align: middle;
    padding-block: 18px 15px;
    padding-right: 18px;}

.mc__future a.btn svg path, .mc__future .btn svg path {
    fill: #35354d;
}

.mc__future a.btn:hover svg path, .mc__future .btn:hover svg path {
    fill: #eacca8;
}

.mc__future-wrap p {
    margin: 40px 0 54px;
}

/*latest sec css*/

.mc__latest {
    padding: 95px 0;
}

.mc__latest .mc__latest-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.mc__latest .mc__latest-heading a {
    font-size: 16px;
    font-family: 'industry';
    font-weight: 600;
    text-decoration: underline;
    color: #35353F;
}

.mc__latest .mc__latest-heading a:hover {
    color: #edcaa0;
}

.mc__latest .mc__latest-heading h3 {
    font-size: 35px;
    margin: 0;
}

.mc__latest .mc__latest-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 30px 20px 15px 0;
}

.mc__latest .mc__latest-title a {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 16px;
    font-weight: 400;
}

.mc__latest .mc__latest-title a svg {
    width: 15px;
    height: auto;
}

.mc__latest .mc__latest-title a svg path {
    fill: #35353F;
}

.mc__latest .mc__latest-title a:hover svg path {
    fill: #edcaa0;
}

.mc__latest .mc__latest-title a:hover {
    color: #edcaa0;
}

.mc__latest .mc__latest-title h5 {
    font-size: 20px;
    margin-bottom: 0;
}

.mc__latest .mc__latest-wrap p {
    font-size: 16px;
    max-width: 617px;
}

/*beyond*/

.mc__beyond {
    background: #35353F;
    padding: 85px 0;
}

.mc__beyond .mc__beyond--info {
    display: flex;
    gap: 6.3vw;
    justify-content: space-between;
    padding-top: 25px;
}

.mc__beyond .mc__beyond--comment{
    flex: 0 0 calc(41% - 3.15vw);
    max-width: calc(41% - 3.15vw);
}

.mc__beyond .mc__beyond--image {
    flex: 0 0 calc(55% - 3.15vw);
    max-width: calc(55% - 3.15vw);
    position: relative;
    padding-bottom: 37%;
    margin-right: 30px;
}

.mc__beyond .mc__beyond--comment h5 {
    font-size: 35px;
    color: #EACCA8;
}

.mc__beyond .mc__beyond-slider.slick-slider {
    padding: 0 !important;
}

.mc__beyond .mc__beyond--comment p {
    color: #ffffff;
    font-size: 18px;
}

.mc__beyond .mc__beyond--comment a {
    color: #EACCA8;
    font-size: 14px;
    font-weight: 700;
    font-family: 'industry';
}

.mc__beyond .mc__beyond--image img {
    position: absolute;
    top: -25px;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}


.mc__beyond .mc__beyond--image:after {
    content: '';
    background-color: #eacca8;
    width: 50%;
    height: 65%;
    position: absolute;
    bottom: 0;
    right: -25px;
    z-index: -11;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.mc__beyond .mc__beyond--image:hover:after {
    transform: translate(-50px, -40px);
    transition: all 0.3s ease-in-out;
}

.mc__beyond .slick-prev {
    left: -80px;
}

.mc__beyond .slick-next {
    right: -85px;
}



@media (max-width: 1500px){
    .mc__beyond .slick-prev {
        left: -40px;
    }

    .mc__beyond .slick-next {
        right: -40px;
    }
}
@media (max-width: 1370px){
    .mc__beyond .slick-prev {
        left: 40%;
    }

    .mc__beyond .slick-next {
        right: 40%;
    }

    .mc__beyond .slick-prev, .mc__beyond .slick-next {
        top: 105% !important;
    }
    .mc__hero-slider .imgbox .desc_wrapper img {
        max-height: 80px;
    }

    .mc__hero-slider .desc h3 {
        font-size: 22px;
    }
    .mc__beyond .mc__beyond--comment {
        flex: 0 0 calc(45% - 3.15vw);
        max-width: calc(45% - 3.15vw);
    }

    .mc__beyond .mc__beyond--image {
        flex: 0 0 calc(52% - 3.15vw);
        max-width: calc(52% - 3.15vw);
    }
    .mc__future:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.2);
    }

    .mc__future > * {
        position: relative;
        z-index: 1;
    }
}

@media (max-width: 1280px){
    .mc__beyond .mc__beyond--image:after {
        height: 50%;
    }

    .mc__latest .mc__latest-title {
        flex-wrap: wrap;
        gap: 10px;
    }

    .mc__latest .mc__latest-title h5 {
        flex: 0 0 100%;
    }

    .mc__future {
        padding: 3rem 0 4rem;
    }

    .mc__future-wrap p {
        margin: 30px 0 25px;
    }

    .mc__companies .mc__company-detail {
        flex: 0 0 calc(100%/2 - 16px);
        max-width: calc(100%/2 - 16px);
    }
    .mc__companies .mc__company-wrap {
        flex-wrap: wrap;
        row-gap: 40px;
    }

    .mc__hero-heading {
        padding-top: 160px;
    }

    .mc__companies, .mc__latest {
        padding: 60px 0;
    }


}

@media (max-width: 991px){

    .mc__beyond .mc__beyond--info {
        flex-wrap: wrap;
    }

    .mc__beyond .mc__beyond--comment, .mc__beyond .mc__beyond--image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .mc__beyond .mc__beyond--image {
        padding-bottom: 56%;
    }

    .mc__beyond .mc__beyond--image:after {
        display: none;
    }
}
@media (max-width: 475px){
    .mc__companies .mc__company-detail {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.mc__companies .mc__details a:hover {
    color: #eacca8;
}

.slick-prev, .slick-next{
    width: auto;
}

.mc__latest .mc__latest-title h5{
    max-width: 92%;
    line-height: 1.24;
}

.mc__latest-title {
    align-items: center !important;
}
.mc__companies .mc__details {
    min-height: 165px;
    border-bottom: 2px solid #EACCA8;
}
/*.page-template-our-companies .mc__companies .mc__details{
    min-height: 165px;
}*/
@media (max-width: 1280px){
	.mc__companies .mc__details {
		min-height: 100px;
	}
	/*.page-template-our-companies .mc__companies .mc__details{
        min-height: 100px;
    }*/
}