/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 1.0
*/


/* ==========================================================
   OLD WAYS LIVING
   CUSTOM 404 PAGE
========================================================== */

.owl-404-page{
    background:#f8f5ef;
    padding:80px 20px;
}

.owl-404-container{
    max-width:1100px;
    margin:0 auto;
    background:#ffffff;
    border-radius:18px;
    padding:70px 60px;
    text-align:center;
    box-shadow:0 15px 40px rgba(0,0,0,.06);
}

.owl-404-label{
    display:inline-block;
    padding:8px 18px;
    background:#e8efe6;
    color:#5d7157;
    border-radius:30px;
    font-size:.85rem;
    letter-spacing:2px;
    text-transform:uppercase;
    font-weight:600;
    margin-bottom:20px;
}

.owl-404-container h1{
    margin:0 0 25px;
    font-size:3rem;
    color:#2f3b2f;
    line-height:1.2;
}

.owl-404-intro{
    max-width:760px;
    margin:0 auto 18px;
    font-size:1.25rem;
    color:#555;
    line-height:1.8;
}

.owl-404-text{
    max-width:700px;
    margin:0 auto 45px;
    color:#666;
    font-size:1.05rem;
}

.owl-404-search{
    max-width:600px;
    margin:0 auto 55px;
}

.owl-404-search form{
    display:flex;
    gap:12px;
}

.owl-404-search input[type="search"]{
    flex:1;
    padding:15px 18px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:16px;
}

.owl-404-search input[type="submit"]{
    background:#5d7157;
    color:#fff;
    border:none;
    border-radius:8px;
    padding:15px 28px;
    cursor:pointer;
    transition:.25s;
}

.owl-404-search input[type="submit"]:hover{
    background:#465742;
}

.owl-404-buttons{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
    margin-bottom:60px;
}

.owl-404-buttons a{
    background:#5d7157;
    color:#fff;
    text-decoration:none;
    padding:18px;
    border-radius:10px;
    font-weight:600;
    transition:.25s;
}

.owl-404-buttons a:hover{
    background:#465742;
    transform:translateY(-2px);
}

.owl-404-divider{
    width:120px;
    height:2px;
    background:#d9d2c3;
    margin:0 auto 45px;
}

.owl-404-container h2{
    color:#2f3b2f;
    margin-bottom:30px;
}

.owl-404-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-bottom:60px;
}

.owl-404-grid a{
    background:#f5f2ea;
    border:1px solid #e3ddd0;
    border-radius:12px;
    padding:28px 18px;
    text-decoration:none;
    color:#3e4a3d;
    font-weight:600;
    transition:.25s;
}

.owl-404-grid a:hover{
    background:#ebe5d8;
    transform:translateY(-3px);
}

.owl-404-footer{
    margin:0;
    font-style:italic;
    color:#777;
}

@media (max-width:768px){

    .owl-404-container{
        padding:45px 25px;
    }

    .owl-404-container h1{
        font-size:2.2rem;
    }

    .owl-404-buttons{
        grid-template-columns:1fr;
    }

    .owl-404-grid{
        grid-template-columns:1fr;
    }

    .owl-404-search form{
        flex-direction:column;
    }

}



/* ==========================================================
   OLD WAYS LIVING
   SEARCH RESULTS
========================================================== */

.owl-search-page{
    background:#f8f5ef;
    padding:70px 20px;
}

.owl-search-container{
    max-width:1150px;
    margin:0 auto;
    background:#fff;
    border-radius:18px;
    padding:60px;
    box-shadow:0 15px 40px rgba(0,0,0,.06);
}

.owl-search-label{
    display:inline-block;
    padding:8px 18px;
    background:#e8efe6;
    color:#5d7157;
    border-radius:30px;
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:.85rem;
    font-weight:600;
    margin-bottom:20px;
}

.owl-search-container h1{
    margin:0 0 35px;
    font-size:2.6rem;
    color:#2f3b2f;
    line-height:1.2;
}

.owl-search-container h1 em{
    font-style:normal;
    color:#6c7d64;
}

.owl-search-container .search-form{
    display:flex;
    gap:12px;
    margin-bottom:35px;
}

.owl-search-container input[type="search"]{
    flex:1;
    padding:15px 18px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:16px;
}

.owl-search-container input[type="submit"]{
    background:#5d7157;
    color:#fff;
    border:none;
    border-radius:8px;
    padding:15px 30px;
    cursor:pointer;
    transition:.25s;
}

.owl-search-container input[type="submit"]:hover{
    background:#465742;
}

.owl-search-count{
    margin-bottom:35px;
    color:#777;
}

.owl-search-grid{
    display:grid;
    gap:30px;
}

.owl-search-card{
    display:grid;
    grid-template-columns:220px 1fr;
    gap:30px;
    align-items:center;
    background:#faf9f6;
    border:1px solid #ece7dd;
    border-radius:14px;
    padding:24px;
    transition:.25s;
}

.owl-search-card:hover{
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transform:translateY(-2px);
}

.owl-search-image img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:10px;
    display:block;
}

.owl-search-content h2{
    margin:0 0 15px;
    font-size:1.6rem;
    line-height:1.3;
}

.owl-search-content h2 a{
    color:#2f3b2f;
    text-decoration:none;
}

.owl-search-content h2 a:hover{
    color:#5d7157;
}

.owl-search-content p{
    margin:0 0 22px;
    color:#666;
    line-height:1.8;
}

.owl-search-button{
    display:inline-block;
    padding:12px 26px;
    background:#5d7157;
    color:#fff;
    text-decoration:none;
    border-radius:8px;
    font-weight:600;
    transition:.25s;
}

.owl-search-button:hover{
    background:#465742;
    color:#fff;
}

.owl-search-pagination{
    margin-top:50px;
    text-align:center;
}

.owl-search-pagination .nav-links{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

.owl-search-pagination a,
.owl-search-pagination span{
    padding:10px 16px;
    border-radius:8px;
    text-decoration:none;
    background:#f0ece4;
}

.owl-search-pagination .current{
    background:#5d7157;
    color:#fff;
}

.owl-no-results{
    text-align:center;
    padding:70px 0;
}

.owl-no-results h2{
    color:#2f3b2f;
    margin-bottom:15px;
}

.owl-no-results p{
    max-width:600px;
    margin:0 auto;
    color:#666;
}

@media (max-width:768px){

    .owl-search-container{
        padding:35px 22px;
    }

    .owl-search-container h1{
        font-size:2rem;
    }

    .owl-search-container .search-form{
        flex-direction:column;
    }

    .owl-search-card{
        grid-template-columns:1fr;
    }

    .owl-search-image img{
        height:auto;
    }

    .owl-search-content{
        text-align:center;
    }

}