﻿/*.imageBox {
    position: relative;
    margin-bottom: 20px;
}

.imgWrap {
    position: relative;
    overflow: hidden;
}

    .imgWrap img {
        width: 100%;
        transition: transform 0.4s ease;
    }*/

    /* Zoom Image on Hover */
    /*.imgWrap:hover img {
        transform: scale(1.08);
    }*/

/* Overlay */
/*.overlayDiv {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}*/

/* Hover Effect */
/*.imgWrap:hover .overlayDiv {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}*/

/* Title Text */
/*.overlayDiv .Title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}*/

/* Arrow Icon */
/*.overlayDiv .arrow {
    width: 25px;
    transition: transform 0.3s ease;
}*/

/* Arrow moves slightly on hover */
/*.imgWrap:hover .arrow {
    transform: translateX(6px);
}*/
.shadow{
   
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6), 0 6px 12px rgba(0, 0, 0, 0.4);
}



.C-BottleGreen {
    color: #006666
}
.imageBox {
    position: relative;
    margin-bottom: 20px;
}

.imgWrap {
    position: relative;
    overflow: hidden;
}

    .imgWrap img {
        width: 100%;
      
        transition: transform 0.4s ease;
    }

@media(min-width:1020px) {

    .imgWrap img {
        max-height: 200px;
    }
}

.ymlFeedArticleP
{
    
    padding-left:2rem!important;
}
/* Image zoom effect */
.imgWrap:hover img {
    transform: scale(1.08);
}

/* Overlay – always visible */
.overlayDiv {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 18px 20px;
    background: rgb(0, 0, 0, 0.61); /* Default 20% overlay */
    color: #fff;
    display: flex;
    align-items: baseline;
    gap: 12px; /* Space between title & arrow */
    transition: all 0.35s ease;
}

/* On hover → overlay becomes 50% */
.imgWrap:hover .overlayDiv {
    background: rgba(0, 0, 0, 0.50);
}

/* Title style */
.overlayDiv .Title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

/* Arrow style */
.overlayDiv .arrow {
    width: 22px;
    transition: transform 0.3s ease;
}

/* Arrow moves slightly on hover */
.imgWrap:hover .arrow {
    transform: translateX(6px);
}
.saltStContentSection {
    padding-bottom: 8rem;
}
section.infoGrey {
    background-color: #f8f8f8;
    z-index: 5;
    position: relative;
}
.captionImg {
    position: absolute;
    bottom: 0;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    padding: .8rem 1.5rem;
    right: 0;
    font-size: 1.2rem;
    margin: 0 1.5rem;
}
.infoHeading {
    font-weight: 700;
    font-style: normal;
    color: #464646;
    font-size: 2.2rem;
    margin: 4rem 0 2rem 4rem;
}
.infoContent {
    font-size: 1.6rem;
    position: relative;
    margin: 0 0 0 6rem;
    width: 90%;
}
.infoFeedArticle, .companyFeedArticle {
    line-height: 1.88;
    left: 3rem;
    position: relative;
}
.infoFoldSection img.arrow, .companyLeaders img.arrow {
    left: 5rem;
    position: relative;
}

.contact-bannerSection {
    background: #000;
    height: 53rem;
    min-height: 53rem;
    overflow: hidden;
    position: relative;
    width: 100%
}



/* SECTION business*/

.category-section {
    padding-left: 3rem;
    padding-right: 3rem;
   
}

/* COMMON GRID */
.grid {
    display: grid;
    gap: 2rem;
    margin-bottom:2rem;
}

/* 3 COLUMN ROW */
.grid-3 {
    grid-template-columns: repeat(3, 2fr) repeat(4, 1fr);
}

/* 4 COLUMN ROW */
.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* CARD */
.card_ {
    position: relative;
    overflow: hidden;
    border-radius: 0px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* IMAGE */
img.custom-responsive-img-1x3 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1.5 / 1;
    transition: 0.5s;
}

img.custom-responsive-img-1x1 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/ 1;
    transition: 0.5s;
}

/* OVERLAY */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.0);
}

/* TEXT */
.content {
    position: absolute;
    bottom: 1rem;
    left: 20px;
    color: #fff;
    z-index: 2;
}

/* CLICKABLE */
.card_ a {
    position: absolute;
    inset: 0;
    z-index: 3;

}

/* HOVER */
.card_:hover img {
    transform: scale(1.1);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}




                   /* ===============================UNIQUE SECTION WRAPPER=============================== */
                                   .ds-magazine-grid-section {
                                      padding-left: 3rem;
                                      padding-right: 3rem;
                                   }

                                   .ds-magazine-grid-wrapper {
                                       margin: 0 auto;
                                       width: 100%;
                                   }

                                   .ds-magazine-grid-layout {
                                       display: grid;
                                       grid-template-columns: repeat(3, 1fr);
                                       gap: 20px;
                                   }

                                   
       .ds-magazine-grid-card img {
           transition: transform 0.5s ease;
       }

           .ds-magazine-grid-card:hover img {
               transform: scale(1.1);
           }
                                   /* ===============================COMMON CARD=============================== */
                                   .ds-magazine-grid-card {
                                       width: 100%;
                                       aspect-ratio: 4 / 3;
                                       background: #fff;
                                       border: 1px solid #e6e5e5;
                                       overflow: hidden;
                                       position: relative;
                                   }

                                 

                                   


                                   

                                   /* ===============================LARGE SCREEN=============================== */
                                   @media (min-width: 2000px) {
                                       .ds-magazine-grid-layout {
                                           gap: 28px;
                                       }
                                   }

                                   /* ===============================TABLET=============================== */
                                   @media (max-width: 991px) {
                                       .ds-magazine-grid-layout {
                                           grid-template-columns: repeat(2, 1fr);
                                       }
                                   }

                                   /* ===============================MOBILE=============================== */
                                   @media (max-width: 767px) {
                                       .ds-magazine-grid-section {
                                           padding: 12px;
                                       }

                                       .ds-magazine-grid-layout {
                                           grid-template-columns: 1fr;
                                           gap: 16px;
                                       }

                                       
                                   }
/* =========================================
   CONDITIONAL: IF CLASS APPLIED AND 5TH IS LAST,
   MAKE IT 2 COLUMNS WIDE
========================================= */
.ds-magazine-grid-layout.ds-magazine-grid-wide-last .ds-magazine-grid-card:nth-child(5):last-child {
    grid-column: span 2;
    aspect-ratio: auto;   /* remove 4:3 lock */
             /* keep same row height */
    
}

/* Tablet / Mobile Reset */
@media (max-width: 991px) {
    .ds-magazine-grid-layout.ds-magazine-grid-wide-last .ds-magazine-grid-card:nth-child(5):last-child {
        grid-column: span 1;
    }
}
