/*
 Theme Name:   Industrium Child
 Description:  Industrium Child Theme
 Theme URI:	   https://demo.artureanec.com/themes/industrium
 Author:       Artureanec
 Author URI:   https://demo.artureanec.com
 Template:     industrium
 Version:      1.0.0
 License: GNU  General Public License version 3.0
 License URI:  http://www.gnu.org/licenses/gpl-3.0.html
 Text Domain:  industrium-child
*/

/* =Theme customization starts here
------------------------------------------------------- */
/*==========================================
=            Hide Default Theme Banner
==========================================*/
.single-industry .page-title-container {
    display: none !important;
}
.post-type-archive-industry .page-title-container{
    display:none;
}

/*==========================================
=            Industry Banner
==========================================*/

.industry-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 420px;
    display: flex;
    align-items: center;
}

.industry-banner-overlay {
    width: 100%;
    padding: 120px 0;
/*     background: rgba(15, 23, 42, 0.65); */
}

.industry-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.industry-banner h1 {
    color: #fff;
    font-size: 52px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0;
}

/*==========================================
=            Main Layout
==========================================*/

.industry-single {
    padding: 80px 0;
}

.industry-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 50px;
    align-items: start;
}

.industry-main {
    min-width: 0;
}

/* Prevent Elementor sections from overflowing */
.industry-main .elementor {
    width: 100%;
}

.industry-main .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 100%;
}

/*==========================================
=            Sidebar
==========================================*/

.industry-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}

.industry-widget {
    background: #f8f9fb;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.industry-widget h3 {
    margin: 0 0 25px;
    font-size: 24px;
    font-weight: 700;
}

.industry-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.industry-widget li {
    margin-bottom: 12px;
}

.industry-widget li:last-child {
    margin-bottom: 0;
}

.industry-widget a {
    display: block;
    padding: 12px 18px;
    text-decoration: none;
    background: #fff;
    color: #222;
    border-left: 4px solid transparent;
    border-radius: 5px;
    transition: all .3s ease;
}

.industry-widget a:hover {
    background: #f07e13;
    color: #fff;
}

.industry-widget li.active a {
    background: #f07e13;
    color: #fff;
    border-left-color: #222;
}
/*==========================================
=            Industry Archive
==========================================*/

/* .industries-page{
    padding:30px 0;
} */

.industry-grid{
    max-width:1400px;
    margin:0 auto;
    padding:30px 15px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(380px,1fr)); */
    gap:30px;
}

.industry-card{
    position:relative;
    overflow:hidden;
    height:450px;
    border-radius:0;
}

.industry-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.5s;
}

.industry-card:hover img{
    transform:scale(1.08);
}

/* Dark overlay */
.industry-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.35);
    z-index:1;
}

/* Bottom content area */
.industry-info{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    z-index:3;

    padding:35px 30px;
}

/* Orange sliding background */
.industry-info::before{
    content:"";
    position:absolute;
    left:-100%;
    top:0;
    width:100%;
    height:100%;
    background:#f07e13;
    transition:.45s ease;
    z-index:-1;
}

.industry-card:hover .industry-info::before{
    left:0;
}

/* Title */
.industry-info h3{
    margin:0 0 18px;
    font-size:34px;
    line-height:1.25;
    font-weight:700;
}

.industry-info h3 a{
    color:#fff;
    text-decoration:none;
}

/* Read More */
.industry-readmore{
    color:#fff;
    text-decoration:none;
    font-weight:600;
    display:inline-flex;
    align-items:center;
    gap:8px;
    transition:.3s;
}

.industry-readmore:after{
    content:"→";
    transition:.3s;
}

.industry-card:hover .industry-readmore:after{
    transform:translateX(5px);
}
/*==========================================
=          Woocommerce
==========================================*/
/* Category Read More */
.shop-category-readmore{
    margin-top:20px;
}

.shop-category-readmore .shop-category-readmore-btn{
    display:inline-block;
    position:relative;
    width:auto !important;
    min-width:160px;
    padding:12px 45px 12px 20px !important;
    background:#f07e13 !important;
    color:#fff !important;
    font-size:14px !important;
    font-weight:600;
    text-transform:uppercase;
    text-decoration:none;
    border-radius:4px;
    transition:.3s;
}

.shop-category-readmore .shop-category-readmore-btn:hover{
    background:#222 !important;
    color:#fff !important;
}

/* Arrow */
.shop-category-readmore .shop-category-readmore-btn:after{
    font-family:'fontello';
    content:'\e82d';
    position:absolute;
    right:18px;
    top:50%;
    transform:translateY(-50%);
    font-size:12px;
}

/* Remove any icon before */
.shop-category-readmore .shop-category-readmore-btn:before{
    display:none !important;
    content:none !important;
}
/*==========================================
=            Responsive
==========================================*/

@media (max-width: 991px) {

    .industry-wrapper {
        grid-template-columns: 1fr;
    }

    .industry-sidebar {
        position: static;
        margin-top: 50px;
    }

    .industry-banner {
        min-height: 320px;
    }

    .industry-banner-overlay {
        padding: 80px 0;
    }

    .industry-banner h1 {
        font-size: 36px;
    }
	.industry-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .industry-card{
        height:380px;
    }

    .industry-info h3{
        font-size:28px;
    }
}

@media (max-width: 767px) {

    .industry-single {
        padding: 50px 0;
    }

    .industry-banner {
        min-height: 260px;
    }

    .industry-banner-overlay {
        padding: 60px 0;
    }

    .industry-banner h1 {
        font-size: 28px;
    }

    .industry-widget {
        padding: 20px;
    }
	 .industry-grid{
        grid-template-columns:1fr;
    }

    .industry-card{
        height:380px;
    }
}
