/*
Theme Name: GrainBags Child
Theme URI: https://grainbags.com
Description: Child theme for GrainBags
Author: GrainBags
Version: 1.0
Template: Newspaper
*/

/* Orange (default) */
.btn-frame {
    --accent: #FEA637;
    --accent-hover: #2E7572;

    position: relative;
    border-left: 3px solid var(--accent);
    border-right: 3px solid var(--accent);
    border-bottom: 3px solid var(--accent);
    transition: all .3s ease;
}

.btn-frame::before,
.btn-frame::after {
    content: "";
    position: absolute;
    top: 0;
    width: 38%;
    height: 3px;
    background: var(--accent);
    transition: all .3s ease;
    z-index: 1;
}

.btn-frame::before {
    left: 0;
}

.btn-frame::after {
    right: 0;
}

.btn-frame:hover {
    border-color: var(--accent-hover);
}

.btn-frame:hover::before,
.btn-frame:hover::after {
    background: var(--accent-hover);
}


/* Green version */
.btn-frame-green {
    --accent: #2E7572;
    --accent-hover: #FEA637;

    position: relative;
    border-left: 3px solid var(--accent);
    border-right: 3px solid var(--accent);
    border-bottom: 3px solid var(--accent);
    transition: all .3s ease;
}

.btn-frame-green::before,
.btn-frame-green::after {
    content: "";
    position: absolute;
    top: 0;
    width: 38%;
    height: 3px;
    background: var(--accent);
    transition: all .3s ease;
    z-index: 1;
}

.btn-frame-green::before {
    left: 0;
}

.btn-frame-green::after {
    right: 0;
}

.btn-frame-green:hover {
    border-color: var(--accent-hover);
}

.btn-frame-green:hover::before,
.btn-frame-green:hover::after {
    background: var(--accent-hover);
}

.td-boxed-layout .td-container-wrap {
    width: 100% !important;
}

.hero-divider {
    width: 90px;
    height: 4px;
    background: #fea637;
    margin: 32px 0; 
}

.features-row {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 24px;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.features-row .tdm-col{
    padding: 0px !important;
}

.features-row img{
    width: 80px;
}


.section-title h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}   

.section-title h2::before,
.section-title h2::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #FEA637;
    border-radius: 10px;
}

.beneficii-row .hero-divider{
    margin: auto;
}

.img-beneficiu{
    background: #F5F1EB;
    border-radius: 100%;
    padding: 20px;
}

.section-title-p p,
p.section-title-p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}


.poveste .section-title-p p{
    justify-content: flex-start;
}

.section-title-p p::before,
.section-title-p p::after,
p.section-title-p::before,
p.section-title-p::after {
    content: "";
    width: 30px;
    height: 2px;
    background: #FEA637;
}

.solutie-img img{
    background: #F5F1EB;
    border-radius: 8px;
    padding: 8px;
}


.gb-check-list{
    list-style:none;
    padding:0;
    margin:0;
}

.gb-check-list li{
    position:relative;
}

.gb-check-list li::before{
    content:"✓";
    position:absolute;
    left:-20px;
    top:2px;
    width:16px;
    height:16px;
    border-radius:50%;
    color:#FEA637;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
    font-weight:700;
}

.utilaj-card .tdm-ii-wrap {
    height:360px;
    overflow:hidden;
    width: 100% !important;
}

.utilaj-card .td_block_wrap {
    width: 100% !important;
}
.utilaj-card .imagine-utilaj img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}

.card-footer{
    display:flex;
    justify-content:space-between;
    align-items: center;
}

.card-footer .hero-divider{
    margin: 0px;
}

.card-arrow{
    width:60px;
    height:60px;
    background:#FEA637;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    border-top-left-radius:4px;
    border-bottom-right-radius:8px;
    transition:.3s ease;
    padding: 4px;
}


.card-arrow img{
    margin: 0px;
    width: 80%;
    transition:transform .3s ease;
}

.card-arrow:hover img{
    transform:translateX(5px);
}

.card-arrow span{
    color:#fff;
    font-size:34px;
    line-height:1;
}

.despre .section-title-p p{
    justify-content: flex-start;
}

.servicii .card-arrow{
    width:48px;
    height:48px;
}


.grainbags-blog-section{
    padding:20px 0;
}

.grainbags-blog-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.grainbags-post-card{
    display:block;
    text-decoration:none;
    color:inherit;
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}



.post-image{
    display:block;
    position:relative;
    height:200px;
    overflow:hidden;
}

.post-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s;
}

.post-category{
    position:absolute;
    top:16px;
    left:16px;
    background:#2E7572;
    color:#fff;
    padding:8px 14px;
    border-radius:40px;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
}

.post-content{
    padding:24px;
}

.post-content h3{
    font-size:20px;
    line-height:1.2;
    margin-bottom:15px;
    color:#1f2937;
    transition:.3s;
    margin-top: 0px;
}

.grainbags-post-card:hover h3{
    color:#2E7572;
}

.post-meta{
    color:#6b7280;
    font-size:14px;
    display:flex;
    align-items:center;
    gap:8px;
}

.separator{
    opacity:.5;
}

.post-footer{
    margin-top:20px;
}

.read-more{
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-size:14px;
    font-weight:700;
    color:#FEA637;
    transition:.3s;
}

.grainbags-post-card:hover .read-more{
    transform:translateX(4px);
}


.gb-faq{
    max-width: 90%;
    margin:60px auto;
    margin-top: 20px;
}

.gb-faq-item{
    border:1px solid #E8E5DF;
    border-radius:18px;
    background:#fff;
    margin-bottom:18px;
    overflow:hidden;
    transition:.3s;
}

.gb-faq-item[open]{
    border-color:#2E7572;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.gb-faq-item summary{
    list-style:none;
    cursor:pointer;
    padding:28px 70px 28px 30px;
    font-size:20px;
    font-weight:600;
    color:#2F4F4D;
    position:relative;
    user-select:none;
}

.gb-faq-item summary::-webkit-details-marker{
    display:none;
}

.gb-faq-item summary::after{
    content:"+";
    position:absolute;
    right:30px;
    top:50%;
    transform:translateY(-50%);
    width:38px;
    height:38px;
    border-radius:50%;
    background:#F5F1EB;
    color:#2E7572;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    font-weight:300;
    transition:.3s;
}

.gb-faq-item[open] summary::after{
    content:"-";
    background:#2E7572;
    color:#fff;
}



.gb-faq-content{
    padding:0 30px;
    margin:0 !important;
    color:#6C757D;
    line-height:1.6;
    font-size:15px;
    padding-bottom: 20px;
}

.gb-faq-content li{
    margin-bottom: 0px !important;
}


@media(max-width:991px){

    .grainbags-blog-grid{
        grid-template-columns:1fr;
    }

    .post-content h3{
        font-size:22px;
    }

.despre h2,
.despre p {
    text-align: center !important;
}

.despre .section-title-p p{
    justify-content: center;
}
}



.stat-card{
    display:flex;
    align-items:center;
    justify-content:start;
    gap:12px;
    min-height: 120px;
}

.stat-card-icon img{
    width:80px;
    height:auto;
    margin: 0px;
    max-width: none;
}

.stat-card-icon{
    width: 20%;
    margin-right: 20px;
}

.features-row .td_block_wrap {
width: 100%;
}

.stat-card-content{
    display:flex;
    flex-direction:column;
    align-items:center;
    width: 80%;
}

.stat-number{
    font-size:32px;
    font-weight:600;
    line-height:1;
    color:#2F4F4D;
}

.stat-label{
    font-size:20px;
    font-weight:600;
    line-height:1.2;
    color:#111;
    text-transform:uppercase;
    text-align: center;
}

.utilaj-card,
.motiv-card{
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.utilaj-card:hover .td-element-style {
    background-color: #3F6763 !important;
}

.utilaj-card:hover,
.motiv-card:hover {
    transform: translateY(-3px);
}


.gb-silobag-table {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}

.gb-silobag-table thead th {
    padding: 10px 14px;
    background: #2e7572;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
}

.gb-silobag-table tbody td {
    padding: 9px 14px;
    color: #333;
    border-bottom: 1px solid #eee;
}

.gb-silobag-table tbody tr:last-child td {
    border-bottom: none;
}

.gb-silobag-table tbody tr:nth-child(even) {
    background: #f8f5f1;
}

.gb-silobag-table tbody td strong {
    color: #fea637;
}


@media(max-width:768px){

.gb-faq-item summary{
    font-size:18px;
    padding:22px 60px 22px 20px;
}

.gb-faq-content{
    padding:0 20px 22px;
}

.gb-faq-content p{
    font-size:16px;
}

}

@media (max-width: 991px){


.gb-faq{
   max-width: 100%;
}

}