/* DAVIDA OIL — FULL-WIDTH FEATURES + MODERN GALLERY */
#ts-features-light.ts-features-light{position:relative;margin-top:-42px!important;padding:0 0 72px!important;background:radial-gradient(circle at 8% 16%,rgba(212,52,92,.08),transparent 28%),radial-gradient(circle at 92% 84%,rgba(0,0,102,.07),transparent 26%),#fff;z-index:8;overflow:hidden}
#ts-features-light .davida-feature-container{width:100%!important;max-width:1680px!important;margin:0 auto!important;padding:0 clamp(18px,3.2vw,56px)!important}
#ts-features-light .feature-light-row{display:flex;flex-wrap:wrap;align-items:stretch;margin-left:-10px;margin-right:-10px}
#ts-features-light .feature-light-row>[class*="col-"]{display:flex;padding-left:10px;padding-right:10px;margin-bottom:20px;border-left:0!important}
#ts-features-light .ts-feature-box{position:relative;width:100%;height:100%!important;min-height:430px;display:flex;border:1px solid rgba(0,0,102,.08)!important;border-radius:24px!important;background:rgba(255,255,255,.98)!important;box-shadow:0 18px 55px rgba(15,23,42,.10)!important;overflow:hidden;isolation:isolate;transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease!important}
#ts-features-light .ts-feature-box:before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,#d4345c,#000066);z-index:2}
#ts-features-light .ts-feature-box:after{content:"";position:absolute;width:180px;height:180px;right:-85px;bottom:-90px;border-radius:50%;background:rgba(212,52,92,.055);z-index:-1;transition:transform .4s ease}
#ts-features-light .ts-feature-box:hover{transform:translateY(-9px)!important;box-shadow:0 26px 70px rgba(0,0,102,.15)!important;border-color:rgba(212,52,92,.25)!important}
#ts-features-light .ts-feature-box:hover:after{transform:scale(1.35)}
#ts-features-light .ts-feature-info{width:100%;display:flex;flex-direction:column;align-items:center;padding:clamp(26px,2.5vw,42px) clamp(22px,2.2vw,36px) 28px!important}
#ts-features-light .feature-img{width:78px;height:78px;display:inline-flex;align-items:center;justify-content:center;margin:0 auto 22px!important;border-radius:22px;background:linear-gradient(145deg,rgba(212,52,92,.12),rgba(0,0,102,.08));box-shadow:inset 0 0 0 1px rgba(212,52,92,.08)}
#ts-features-light .feature-img i{color:#d4345c!important;font-size:34px!important}
#ts-features-light .ts-feature-title{position:relative;margin:0 0 20px!important;padding-bottom:14px;color:#000066!important;font-size:clamp(20px,1.55vw,27px)!important;font-weight:700!important;line-height:1.2!important;letter-spacing:-.35px}
#ts-features-light .ts-feature-title:after{content:"";position:absolute;width:42px;height:3px;left:50%;bottom:0;transform:translateX(-50%);border-radius:10px;background:#d4345c}
#ts-features-light .ts-feature-info>p{width:100%;max-width:520px;margin-left:auto!important;margin-right:auto!important;color:#4b5563!important;font-size:15px!important;line-height:1.85!important;font-weight:400!important}
#ts-features-light .ts-feature-info>p:first-of-type{flex:1 1 auto}
#ts-features-light .ts-feature-info img{max-width:100%;height:auto;object-fit:contain;transition:transform .35s ease,filter .35s ease}
#ts-features-light .ts-feature-box:hover .ts-feature-info img{transform:scale(1.035);filter:saturate(1.05)}
#ts-features-light .btn{border-radius:999px!important;padding:7px 16px!important;font-size:11px!important;letter-spacing:.35px}
#main-container.main-container{position:relative;overflow:hidden}
#main-container.main-container:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;left:-250px;top:120px;background:rgba(212,52,92,.045);pointer-events:none}
.davida-gallery-intro{max-width:720px;margin:0 auto 34px;text-align:center;color:#667085;line-height:1.8}
.davida-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:dense;gap:20px;margin-top:28px}
.davida-gallery-grid .davida-gallery-item{position:relative;min-width:0}
.davida-gallery-grid .davida-gallery-item:nth-child(1),.davida-gallery-grid .davida-gallery-item:nth-child(8),.davida-gallery-grid .davida-gallery-item:nth-child(11){grid-column:span 2}
.davida-gallery-grid .davida-gallery-item:nth-child(1) .gallery-img,.davida-gallery-grid .davida-gallery-item:nth-child(8) .gallery-img,.davida-gallery-grid .davida-gallery-item:nth-child(11) .gallery-img{min-height:420px}
.davida-gallery-grid .gallery-img{position:relative;height:100%;min-height:250px;margin:0!important;overflow:hidden;border-radius:22px!important;background:#0b1020;box-shadow:0 14px 38px rgba(15,23,42,.12);transform:translateZ(0);transition:transform .38s cubic-bezier(.2,.75,.2,1),box-shadow .38s ease}
.davida-gallery-grid .gallery-img:before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(180deg,transparent 48%,rgba(0,0,35,.66) 100%);opacity:.55;transition:opacity .35s ease}
.davida-gallery-grid .gallery-img:after{content:"View Image";position:absolute;left:20px;bottom:18px;z-index:4;color:#fff;font-size:12px;font-weight:700;letter-spacing:1.1px;text-transform:uppercase;opacity:0;transform:translateY(12px);transition:opacity .3s ease,transform .3s ease;pointer-events:none}
.davida-gallery-grid .gallery-popup{display:block;width:100%;height:100%}
.davida-gallery-grid .gallery-img img{display:block;width:100%!important;height:100%!important;min-height:250px;object-fit:cover!important;object-position:center;transform:scale(1.002);transition:transform .65s cubic-bezier(.2,.7,.2,1),filter .45s ease}
.davida-gallery-grid .gallery-img:hover{transform:translateY(-7px);box-shadow:0 24px 55px rgba(0,0,102,.20)}
.davida-gallery-grid .gallery-img:hover:before{opacity:.85}.davida-gallery-grid .gallery-img:hover:after{opacity:1;transform:translateY(0)}
.davida-gallery-grid .gallery-img:hover img{transform:scale(1.085);filter:saturate(1.08) contrast(1.03)}
.davida-gallery-grid .gallery-icon{position:absolute!important;top:18px!important;right:18px!important;left:auto!important;bottom:auto!important;z-index:5!important;width:48px!important;height:48px!important;margin:0!important;display:flex!important;align-items:center;justify-content:center;border-radius:50%!important;color:#fff!important;background:rgba(212,52,92,.92)!important;border:1px solid rgba(255,255,255,.42);box-shadow:0 8px 22px rgba(0,0,0,.18);opacity:0;transform:translateY(-8px) scale(.92);transition:opacity .3s ease,transform .3s ease,background .3s ease}
.davida-gallery-grid .gallery-img:hover .gallery-icon{opacity:1;transform:translateY(0) scale(1)}
.davida-gallery-grid .gallery-icon:hover{background:#000066!important}
#colorbox,#cboxOverlay,#cboxWrapper{z-index:999999!important}#cboxOverlay{background:rgba(2,6,23,.92)!important;backdrop-filter:blur(8px)}#colorbox{outline:none!important}#cboxLoadedContent{border:0!important;border-radius:18px!important;overflow:hidden!important;background:#050816!important;box-shadow:0 30px 90px rgba(0,0,0,.45)}#cboxContent{background:transparent!important}#cboxPrevious,#cboxNext,#cboxClose{border-radius:999px!important;background-color:rgba(0,0,102,.92)!important;transition:transform .2s ease,background-color .2s ease}#cboxPrevious:hover,#cboxNext:hover,#cboxClose:hover{background-color:#d4345c!important;transform:scale(1.08)}#cboxTitle,#cboxCurrent{color:#fff!important}
#main-container .csslider{margin-top:58px!important;border-radius:24px;overflow:hidden;box-shadow:0 18px 45px rgba(15,23,42,.12)}#main-container .csslider iframe{display:block;border-radius:18px}
@media(max-width:1199.98px){#ts-features-light{margin-top:-28px!important}#ts-features-light .ts-feature-box{min-height:410px}.davida-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:991.98px){#ts-features-light{margin-top:0!important;padding-top:34px!important}#ts-features-light .feature-light-row>[class*="col-"]{flex:0 0 50%;max-width:50%}#ts-features-light .feature-light-row>[class*="col-"]:last-child{flex:0 0 100%;max-width:100%}#ts-features-light .feature-light-row>[class*="col-"]:last-child .ts-feature-box{max-width:760px;margin-left:auto;margin-right:auto}.davida-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.davida-gallery-grid .davida-gallery-item:nth-child(1),.davida-gallery-grid .davida-gallery-item:nth-child(8),.davida-gallery-grid .davida-gallery-item:nth-child(11){grid-column:span 1}.davida-gallery-grid .davida-gallery-item:nth-child(1) .gallery-img,.davida-gallery-grid .davida-gallery-item:nth-child(8) .gallery-img,.davida-gallery-grid .davida-gallery-item:nth-child(11) .gallery-img{min-height:290px}}
@media(max-width:767.98px){#ts-features-light{padding-bottom:50px!important}#ts-features-light .davida-feature-container{padding-left:16px!important;padding-right:16px!important}#ts-features-light .feature-light-row>[class*="col-"],#ts-features-light .feature-light-row>[class*="col-"]:last-child{flex:0 0 100%;max-width:100%}#ts-features-light .ts-feature-box{min-height:0;border-radius:20px!important}#ts-features-light .ts-feature-info{padding:28px 22px!important}.davida-gallery-grid{gap:14px}.davida-gallery-grid .gallery-img,.davida-gallery-grid .gallery-img img{min-height:220px;border-radius:17px!important}.davida-gallery-grid .gallery-icon{opacity:1;width:42px!important;height:42px!important;top:12px!important;right:12px!important;transform:none}.davida-gallery-grid .gallery-img:after{opacity:1;transform:none;left:15px;bottom:14px;font-size:10px}}
@media(max-width:575.98px){.davida-gallery-grid{grid-template-columns:1fr}.davida-gallery-grid .gallery-img,.davida-gallery-grid .gallery-img img,.davida-gallery-grid .davida-gallery-item:nth-child(1) .gallery-img,.davida-gallery-grid .davida-gallery-item:nth-child(8) .gallery-img,.davida-gallery-grid .davida-gallery-item:nth-child(11) .gallery-img{min-height:275px}}

/* =========================================================
   FIXED FEATURE SECTION — NATURAL FLOW / NO HIDDEN CONTENT
   ========================================================= */
#ts-features-light.ts-features-light{
    margin-top:0 !important;
    padding:70px 0 74px !important;
    overflow:visible !important;
    z-index:1 !important;
    background:
      linear-gradient(180deg,#ffffff 0%,#fbfbff 100%) !important;
}

#ts-features-light .davida-feature-container{
    width:100% !important;
    max-width:1600px !important;
    margin:0 auto !important;
    padding-left:clamp(16px,3vw,48px) !important;
    padding-right:clamp(16px,3vw,48px) !important;
}

#ts-features-light .feature-light-row{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:24px !important;
    margin:0 !important;
    align-items:stretch !important;
}

#ts-features-light .feature-light-row > [class*="col-"]{
    display:block !important;
    width:auto !important;
    max-width:none !important;
    flex:none !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
}

#ts-features-light .ts-feature-box{
    position:relative !important;
    display:block !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    overflow:visible !important;
    border-radius:22px !important;
    background:#fff !important;
    border:1px solid rgba(0,0,102,.09) !important;
    box-shadow:0 14px 38px rgba(15,23,42,.09) !important;
}

#ts-features-light .ts-feature-box::before{
    border-radius:22px 22px 0 0 !important;
}

#ts-features-light .ts-feature-box::after{
    display:none !important;
}

#ts-features-light .ts-feature-info{
    position:relative !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:flex-start !important;
    width:100% !important;
    min-height:100% !important;
    height:auto !important;
    padding:34px 30px 30px !important;
    overflow:visible !important;
}

#ts-features-light .ts-feature-info > p{
    flex:none !important;
    width:100% !important;
    max-width:none !important;
    margin:0 0 20px !important;
    padding:0 !important;
    color:#4b5563 !important;
    font-size:15px !important;
    line-height:1.8 !important;
}

#ts-features-light .ts-feature-info > p[style*="text-align:center"]{
    margin-top:auto !important;
    margin-bottom:0 !important;
    text-align:center !important;
}

#ts-features-light .ts-feature-info > span{
    display:block !important;
    width:100% !important;
    margin-top:auto !important;
    text-align:center !important;
}

#ts-features-light .ts-feature-info img{
    display:inline-block !important;
    width:auto !important;
    max-width:100% !important;
    max-height:180px !important;
    height:auto !important;
    margin:8px auto 0 !important;
    object-fit:contain !important;
}

#ts-features-light .ts-feature-info > p img{
    max-height:82px !important;
    margin:0 10px !important;
    vertical-align:middle !important;
}

#ts-features-light .feature-img{
    flex:0 0 74px !important;
    width:74px !important;
    height:74px !important;
    margin:0 auto 18px !important;
}

#ts-features-light .ts-feature-title{
    min-height:0 !important;
    height:auto !important;
    margin-bottom:18px !important;
}

#ts-features-light .ts-feature-box:hover{
    transform:translateY(-6px) !important;
    box-shadow:0 22px 48px rgba(0,0,102,.13) !important;
}

@media (max-width:991.98px){
    #ts-features-light.ts-features-light{
        padding:52px 0 58px !important;
    }
    #ts-features-light .feature-light-row{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
    #ts-features-light .feature-light-row > [class*="col-"]:last-child{
        grid-column:1 / -1 !important;
        max-width:760px !important;
        width:100% !important;
        justify-self:center !important;
    }
}

@media (max-width:767.98px){
    #ts-features-light.ts-features-light{
        padding:42px 0 48px !important;
    }
    #ts-features-light .feature-light-row{
        grid-template-columns:1fr !important;
        gap:18px !important;
    }
    #ts-features-light .feature-light-row > [class*="col-"]:last-child{
        grid-column:auto !important;
        max-width:none !important;
    }
    #ts-features-light .ts-feature-info{
        padding:28px 22px 26px !important;
    }
    #ts-features-light .ts-feature-info img{
        max-height:155px !important;
    }
}

@media (max-width:420px){
    #ts-features-light .davida-feature-container{
        padding-left:14px !important;
        padding-right:14px !important;
    }
    #ts-features-light .ts-feature-info{
        padding:26px 18px 24px !important;
    }
    #ts-features-light .ts-feature-info > p{
        font-size:14px !important;
        line-height:1.75 !important;
    }
}
