/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

#sec2 {
    padding-bottom: 0 !IMPORTANT;
    margin-bottom: 0 !IMPORTANT;
}

/* Pagination */
.page-id-17 .container.normal-container.row {
    background: black;
}
.sculpture-pagination{
    margin:70px 0;
    text-align:center;
}

.sculpture-pagination .page-numbers{
    display:inline-block;
    margin:0 6px;
    padding:12px 18px;
    border:1px solid #ddd;
    color:#111;
    text-decoration:none;
    transition:.3s;
}

.sculpture-pagination .page-numbers:hover,
.sculpture-pagination .page-numbers.current{
    background:#111;
    color:#fff;
    border-color:#111;
}
.page-id-17 .container-wrap {
    background-color: #000000 ! IMPORTANT;
}

/* Sculpture Archive */
/* ===========================
   Sculpture Grid
=========================== */

.sculpture-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:40px;
}

.sculpture-item{
    position:relative;
}

.sculpture-item a{
    display:block;
    text-decoration:none;
}

.sculpture-image{
    position:relative;
    overflow:hidden;
    border:1px solid #ddd;
    background:#f5f5f5;
    height:300px; /* Fixed box height */
}

.sculpture-image img{
    width: 100%!important;
    height: 100%!important;
    object-fit:fill!important;
    aspect-ratio: 4/4;
    display: block!important;
    transition: transform .45s ease!important;
}

.sculpture-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.40);
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    transition:.35s;
}

.sculpture-overlay-inner{
    transform:translateY(20px);
    transition:.35s;
}

.sculpture-overlay h3{
    margin:0;
    color:#fff !important;
    font-size:24px!important;
    font-weight:300!important;
    text-align:center;
}

.sculpture-item:hover .sculpture-overlay{
    opacity:1;
}

.sculpture-item:hover .sculpture-overlay-inner{
    transform:translateY(0);
}

.sculpture-item:hover img{
    transform:scale(1.05);
}

@media(max-width:991px){
    .sculpture-grid{
        grid-template-columns:repeat(2,1fr);
    }

.sculpture-image {
    height: 390px !importannt;
}
}

@media(max-width:767px){
    .sculpture-grid{
        grid-template-columns:1fr;
    }

    .sculpture-image{
         height: 390px !importannt;
    }
}



.sculpture-archive{
    max-width:1400px;
    margin:80px auto;
    padding:0 30px;
}

.sculpture-grid{
    display:grid;
/*     grid-template-columns:repeat(3,1fr); */
    gap:40px;
}

.sculpture-item{
    text-align:center;
}

.sculpture-item a{
    text-decoration:none;
    color:#000;
}

.sculpture-image{
    overflow:hidden;
}

.sculpture-image img{
    width:100%;
    display:block;
    transition:.5s;
}

.sculpture-item:hover img{
    transform:scale(1.05);
}

.sculpture-item h3{
    margin-top:18px;
    font-size:18px;
    font-weight:500;
    letter-spacing:1px;
}

@media(max-width:991px){

.sculpture-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:767px){

.sculpture-grid{
grid-template-columns:1fr;
}

}



/*==============================
 SINGLE SCULPTURE
==============================*/



/* Image */

.sculpture-hero {
    width: 28%;
    margin: 0 auto 60px;
    padding-top: 50px;
}
.sculpture-hero img{
    width:100%;
    height:auto;
    display:block;
}
.sculpture-navigation {
    padding: 31px 80px;
}
/* Info */

.sculpture-info{display:flex;justify-content: center;align-items: center;width: 100%;gap: 0;}

.sculpture-left{flex: 0.5;padding-left: 12px;}

.sculpture-right{width:340px;}

/* Title */

.sculpture-left h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 300;
    line-height: 0.35;
    color: black ! IMPORTANT;
}
.sculpture-overlay-inner h3 {
    padding: 0 12.9px;
    line-height: 1.2 !IMPORTANT;
}
.sculpture-description p {
    padding-bottom: 0 !IMPORTANT;
    color: black !IMPORTANT;
    font-weight: 400;
    font-size: 15px !IMPORTANT;
}

/* Year */

.sculpture-year{

    display:block;
    margin-top:8px;
    font-size:56px;
    font-weight:300;
    line-height:1;

}

/* Right */

.sculpture-right{font-size:22px;line-height:1.8;}

.sculpture-material{

    margin-bottom:18px;

}

/* Description */

.sculpture-description{margin-top: 0px;font-size:20px;line-height:1.9;float: right;}

/* Navigation */

.sculpture-navigation{

    margin-top:100px;

    display:flex;

    justify-content:space-between;

    border-top:1px solid #ddd;

    padding-top:40px;

}

.sculpture-navigation a{

    color:#111;

    text-decoration:none;

}

@media (max-width:1200px){

    .sculpture-hero{
        width:75%;
    }

    .sculpture-left h1{
        font-size:48px;
    }

    .sculpture-year{
        font-size:46px;
    }

    .sculpture-right{
        width:300px;
        font-size:20px;
    }

}

/* ==========================
   Tablet
========================== */

@media (max-width:991px){

    .single-sculpture{
        padding:0 25px;
    }

    .sculpture-hero{
        width:90%;
        padding-top:30px;
        margin-bottom:40px;
    }

    .sculpture-info{
        flex-direction:column;
        gap: 0;
    }

    .sculpture-left,
    .sculpture-right{
        width:100%;
        padding:0;
    }

    .sculpture-left h1{
        font-size:42px;
    }

    .sculpture-year{
        font-size:38px;
    }

    .sculpture-right{
        font-size:20px;
        line-height:1.7;
    }

    .sculpture-description{
        margin-top:30px;
        font-size:18px;
        float: left;
    }

}

/* ==========================
   Mobile
========================== */

@media (max-width:767px){

    .single-sculpture{
        padding:0 18px;
    }

    .sculpture-hero{
        width:100%;
        padding-top:20px;
        margin-bottom:30px;
    }

    .sculpture-left h1{
        font-size:34px;
        line-height:1.2;
    }

    .sculpture-year{
        font-size:30px;
    }

    .sculpture-right{
        font-size:18px;
        line-height:1.6;
        float: left;
    }

    .sculpture-description{
        font-size:16px;
        line-height:1.8;
    }

    .sculpture-navigation{
        flex-direction:column;
        gap:20px;
        text-align:center;
        margin-top:50px;
        padding-top:25px;
    }

}

/* ==========================
   Small Mobile
========================== */

@media (max-width:480px){

    .sculpture-left h1{
        font-size:28px;
    }

    .sculpture-year{
        font-size:24px;
    }

    .sculpture-right{
        font-size:16px;
    }

}

/*end*/


div#banner {
    padding-top: 0 !IMPORTANT;
    padding-bottom: 0 !IMPORTANT;
    margin-bottom: 0 !IMPORTANT;
}

/* #banner .th-sec {
    float: right;
} */

#banner .th-sec p {
    font-family: 'Inter';
    font-weight: 500;
    font-size: 20px ! IMPORTANT;
    text-transform: uppercase;
    line-height: 1.4 !IMPORTANT;
}

#sec1 p {
    font-size: 18px !IMPORTANT;
}
/* Grid Container fixed to contain sliding */
 #sec2 #r2 .video-grid-container.ditto-layout {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0px;
    width: 100%;
    overflow: visible; /* Zaroori hai taake jab card upar jaye tw grid container se bahar na dikhe */
} 

#sec2 #r2 .video-grid-container.ditto-layout {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px ! IMPORTANT;
    overflow: visible;
    margin-bottom: 50px ! IMPORTANT;
}

/* 6th Item ko Left corner (1st Column) par rakhne ke liye */
#sec2 #r2 .video-grid-container.ditto-layout > .hover-video-card:nth-child(6) {
    grid-column: 1;
}

/* 7th Item ko Right corner (5th Column) par push karne ke liye */
#sec2 #r2 .video-grid-container.ditto-layout > .hover-video-card:nth-child(7) {
    grid-column: 5;
}


/* Base Card with transition on transform */
#sec2 #r2 .hover-video-card.no-img {
    position: relative;
    width: 100%;
    cursor: pointer;
    background-color: #e0e0e0;
    display: flex;
    flex-direction: column;
    /* transition ko transform par set karein taake motion ultra smooth ho */
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    transform: translateY(0); /* Default state */
    will-change: transform; /* Performance optimization */
}

/* 1. KEY CHANGE: Hover karne par pooray card ko 60px (text panel ki height) upar push karna */
#sec2 #r2 .hover-video-card.no-img:hover {
    transform: translateY(-60px); /* Video aur text dono aik sath upar slide hongey */
    opacity: 1 !IMPORTANT;
}

/* Video Wrapper is fixed within the card */
#sec2 #r2 .video-wrapper {
position: relative;
    width: 100%;
    aspect-ratio: 4 / 5.4;
    overflow: hidden;
    z-index: 1;
}

#sec2 #r2 .hover-video-card.no-img .card-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Black Overlay Strip - Neeche video ke baad normal flow me */
#sec2 #r2 .hover-video-card.no-img .card-overlay {
    position: absolute;
    top: 100%; /* Video ke frame ke theek neechay, card se bahr */
    left: 0;
    width: 100%;
    height: 60px; /* Fixed height matching original image feel */
    background: #000000;
    color: #ffffff;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 2; /* Text over video background area if needed */
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hover par text khud move nahi hoga, poora card push ho kar isay grid me reveal karega */

#sec2 #r2 .overlay-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#sec2 #r2 .overlay-content h3 {
    margin: 0;
    font-size: 16px !IMPORTANT;
    font-family: 'Inter';
    color: #ffffff ! IMPORTANT;
}

#sec2 #r2 .overlay-content span {
    font-size: 13px;
    color: #ffffff;
}

/* Responsive Grid Adjustments */
@media (max-width: 991px) {
    #sec2 #r2 .video-grid-container.ditto-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .video-grid-container.ditto-layout {
        grid-template-columns: 1fr;
    }
}

/* Desktop Only: 6th Left aur 7th Right par shift hoga */
@media (min-width: 1025px) {
    #sec2 #r2 .video-grid-container.ditto-layout > .hover-video-card:nth-child(6) {
        grid-column: 1;
    }
    #sec2 #r2 .video-grid-container.ditto-layout > .hover-video-card:nth-child(7) {
        grid-column: 5;
    }
}

/* Tablet (Max 1024px): 3 Columns Layout - Saare 7 Cards Display Honge */
@media (max-width: 1024px) {
    #sec2 #r2 .video-grid-container.ditto-layout {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px;
    }
    #sec2 #r2 .video-grid-container.ditto-layout > .hover-video-card:nth-child(6),
    #sec2 #r2 .video-grid-container.ditto-layout > .hover-video-card:nth-child(7) {
        grid-column: auto !important; /* Fixed positions reset taake gayab na ho */
    }
}

/* Small Tablet / Large Mobile (Max 768px): 2 Columns Layout */
@media (max-width: 768px) {
    #sec2 #r2 .video-grid-container.ditto-layout {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    #sec2 #r2 .video-grid-container.ditto-layout > .hover-video-card:nth-child(6),
    #sec2 #r2 .video-grid-container.ditto-layout > .hover-video-card:nth-child(7) {
        grid-column: auto !important;
    }
}

/* Mobile Screens (Max 480px): Single Column - Tamam Cards Clean Dikhenge */
@media (max-width: 480px) {
    #sec2 #r2 .video-grid-container.ditto-layout {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    #sec2 #r2 .video-grid-container.ditto-layout > .hover-video-card:nth-child(6),
    #sec2 #r2 .video-grid-container.ditto-layout > .hover-video-card:nth-child(7) {
        grid-column: auto !important;
    }
}

#sec2 .slu-sec {
    float: right;
}

#sec2 div#r1 {
    margin-bottom: 0px !IMPORTANT;
}

#sec2 #r2 .hover-video-card:hover .card-overlay {
    opacity: 1;
}

a#btn1 {
    background: transparent !IMPORTANT;
    color: white !IMPORTANT;
    border-bottom: 1px solid white !IMPORTANT;
    font-family: 'Inter';
    border-radius: 0px !IMPORTANT;
    padding: 0;
    font-size: 19px;
    font-weight: 100;
    line-height: 1.3;
}

#sec3 a#btn1 {
    margin-top: 35px !IMPORTANT;
    text-align: center !IMPORTANT;
    margin: 0 auto;
    display: table;
}

#sec4 .timeline{
    width:800px;
    margin:80px auto;
    margin-top: 20px !IMPORTANT;
    margin-bottom: 20px !IMPORTANT;
}

#sec4 .item{
    text-align:center;
    margin: 36px 0;
    cursor:pointer;
}

#sec4 .year{
    display:inline-block;
    padding:6px 18px;
    border-radius:30px;
    background:#ddd;
    color:#666;
    font-size:14px;
    margin-bottom:15px;

    opacity:0;
    transform:translateY(15px);
    transition:.35s;
}

#sec4 .title{
    position:relative;
    overflow:hidden;
    height:42px;
}

#sec4 .title span{
    display:block;
    line-height:42px;
    font-size:36px;
    transition:.35s;
}

#sec4 .gray{
    color:#666;
}

#sec4 .white{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    color:#fff;
}

#sec4 .item:hover .year{
    opacity:1;
    transform:translateY(0);
}

#sec4 .item:hover .gray{
    transform:translateY(-100%);
}

#sec4 .item:hover .white{
    transform:translateY(-100%);
}

#sec4 .lf-sec {
    margin-bottom: 0px !IMPORTANT;
}

#sec5 .row-bg.viewport-desktop.using-image {
    background-size: 100% 100%;
}

div#sec5 {
    padding-bottom: 60px !IMPORTANT;
    padding-top: 380px !IMPORTANT;
}

#sec5 .pract-sec {
    float: inline-end;
}

#sec5 .pract-sec p {
    font-size: 30px !IMPORTANT;
}

#sec6 .toy-sec .vc_column-inner {
    padding-left: 20px !IMPORTANT;
    padding-right: 20px !IMPORTANT;
}

#sec6 .toy-sec h4 {
    font-weight: 100;
    font-size: 33px;
    margin-bottom: 25px;
}

#sec6  .toy-sec {
    margin-left: 0;
}

#sec6 #r1 {
    margin-bottom: 42px;
}

#sec6 #r1 h2 {
    font-weight: 500 !IMPORTANT;
    font-size: 42px !IMPORTANT;
}

#sec6 #r1 p {
    font-weight: 100;
}

#sec6 img {
    width: 95%;
    float: right;
}

#sec7 h5 {
    font-weight: 100;
    letter-spacing: 2px;
}

#sec7 h4 {
    font-family: 'Inter';
    font-weight: 100 !IMPORTANT;
    font-size: 36px;
    line-height: 1.3;
    padding: 11px 0 !IMPORTANT;
}

#sec7 p {
    font-size: 20px !IMPORTANT;
    font-weight: 100;
    text-transform: capitalize;
    line-height: 1.7;
}

#Footer #f1 a#btn2 {
    float: right;
    font-family: 'Inter';
    font-weight: 200;
    font-size: 25px !IMPORTANT;
    background-color: #ffffff00 ! IMPORTANT;
    border: 1px solid #fff;
    padding: 21px 51px !IMPORTANT;
    text-align: center;
    margin: 0;
    transition: 0.9s;
}

#Footer #f1 a#btn2:hover {
    background: white !IMPORTANT;
    color: #000 !IMPORTANT;
    table-layout: 0.9s;
}

#Footer #f1 .ft-log-sec-img {
    margin-bottom: 29px;
}

#Footer div#f1 {
    margin-bottom: 70px !IMPORTANT;
}

#Footer #f1 h5 {
    margin-bottom: 0px !IMPORTANT;
}

#Footer #f1 .ttx h5 {
    font-family: 'Inter';
    font-weight: 100;
    font-size: 20px !IMPORTANT;
    margin-bottom: 21px !IMPORTANT;
}

    #Footer #f1 .ttx p {
    font-family: 'Inter';
    font-weight: 100;
    font-size: 20px !IMPORTANT;
    margin-bottom: 21px !IMPORTANT;
}

#Footer .joj-sec h4 {
    font-family: 'Inter';
    font-weight: 100;
    font-size: 27px ! IMPORTANT;
    line-height: 1.3;
    text-decoration: underline;
}

#copy h3 {
    font-family: 'Inter';
    font-weight: 500;
    font-size: 20px;
    text-transform: uppercase;
    line-height: 1.4;
}

#copy p {
    font-family: 'Inter';
    font-weight: 100;
    font-size: 20px ! IMPORTANT;
}

div#copy {
    padding-top: 30px !IMPORTANT;
    padding-bottom: 10px !IMPORTANT;
}

#copy .c-sec {
    float: right;
}

#Footer #f1 .ttx p a {
    color: #D9D9D9;
}
#sec5 .pract-sec {
    padding-right: 50px;
}
@media (max-width: 1600px) {}
@media (max-width: 1440px) {}
@media (max-width: 1366px) {}
@media (max-width: 1280px) {}
@media (max-width: 1024px) {}
@media (max-width: 820px) {
	#sec5 .pract-sec {
    padding-right: 0px !important;
}

	#banner .th-sec p {
    text-align: center;
    font-size: 25px !IMPORTANT;
}

#banner .th-sec {
    float: unset;
}

#sec1 p {text-align: center;font-size: 15px !IMPORTANT;line-height: 1.9;}

#sec2 #r1 h3 {
    text-align: center;
}

#sec2 #r1  .slu-sec {
    float: unset !IMPORTANT;
    text-align: center;
}
#sec2 #r2 .video-grid-container.ditto-layout {
    grid-template-columns: repeat(1, 1fr);
}

#sec4 .title span {
    font-size: 20px !IMPORTANT;
}

#sec4 .item {
    margin: 0 0 !IMPORTANT;
    text-align: center;
}

#sec4 .timeline {
    width: 100%;
    margin: 0 auto !IMPORTANT;
}

#sec5 .row-bg.viewport-desktop.using-image {
    background-size: cover !IMPORTANT;
}

div#sec5 {
    padding-bottom: 41px !IMPORTANT;
    padding-top: 120px !IMPORTANT;
}

div#sec6 {
    TEXT-ALIGN: center;
}

#sec6 img {
    width: 100% !IMPORTANT;
}

#sec7 h4 {
    font-size: 19px !IMPORTANT;
}

#sec7 h4 br {
    display: none;
}

#sec7 p {
    font-size: 14px !IMPORTANT;
}
div#sec2 {
    padding-bottom: 0 !IMPORTANT;
    margin-bottom: 0 !IMPORTANT;
}

#sec6 .toy-sec {
    padding-top: 33px;
}
div#Footer {
    text-align: center;
}

#Footer #f1 a#btn2 {
    float: unset;
}

#Footer div#f1 {
    margin-bottom: 31px !IMPORTANT;
}

#Footer #f1 .ttx h5 {
    font-size: 25px !IMPORTANT;
}

div#copy {
    text-align: center;
}

#copy .c-sec {
    float: unset;
}
	#Footer #f1 .ft-log-sec-img {
    margin: 0 auto;
}

#copy .vc_col-sm-4 {
    margin-bottom: 7px;
}

#copy h3 {
    margin-bottom: 0;
}
	#sec5 .pract-sec p {
    font-weight: 500;
}

#sec5 .row-bg.viewport-desktop.using-image {
    filter: brightness(0.5);
}

#sec5 .pract-sec p {
    color: white;
    font-size: 26px ! IMPORTANT;
}
	#Footer .ava {
    display: none;
}
}
@media (max-width: 768px) {
	    #sec1 p {
        line-height: 1.9;
        margin: 0;
        font-size: 16px ! IMPORTANT;
        font-family: 'Inter';
        color: #ffffff ! IMPORTANT;
    }
}
@media (max-width: 480px) {
	#sec5 .pract-sec p {
    padding-right: 16px;
}


#sec2 #r2 .hover-video-card.no-img {
    margin-bottom: 69px;
} 
	div#sec3 {
    padding-top: 20px ! IMPORTANT;
}
	div#sec1 {
    padding-bottom: 0 !IMPORTANT;
}
	#sec1 .cn-sec p {
    font-size: 10.8px ! IMPORTANT;
}
	    .sculpture-image {
        height: 420px !important;
    }

}

@media (max-width: 428px) {

	    #banner .th-sec p {
        text-align: center;
        font-size: 16px ! IMPORTANT;
    }
	#sec1 .ekn p {
    font-size: 23px ! IMPORTANT;
}
#sec5 .pract-sec p {
    font-size: 13px ! IMPORTANT;
}
}
@media (max-width: 414px) {}
@media (max-width: 390px) {}
@media (max-width: 375px) {}
@media (max-width: 360px) {}

