/*
Theme Name: Guerrilla SMB
Theme URI: https://example.com
Author: Invozone
Author URI: https://example.com
Description: A custom WordPress theme with a basic stylesheet, functions.php, and template file.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: guerrilla-smb
*/

/* Remove default margins and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Set base font styles */
html {
    font-size: 16px;
    line-height: 1.5;
    font-family: 'Sofia Pro';
}

/* Remove list styles */
ul, ol {
    list-style: none;
}

/* Remove default link styles */
a {
    text-decoration: none;
    color: inherit;
}

/* Reset heading margins */
h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

/* Remove default button and input styles */
button, input, textarea, select {
    font: inherit;
    border: none;
    background: none;
}

/* Ensure images don't exceed their containers */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    margin: 0 auto;
}

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

nav.site-navigation {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    align-items: center;
}

.site-branding {
    max-width: 223px;
}

ul#menu-main-menu {
    display: flex;
    width: 100%;
    gap: 25px;
}

.col-7 {
    flex: 0 0 65%;
}
.col-5 {
    flex: 0 0 35%;
    display: flex;
    justify-content: end;
}
.col-8 {
    flex: 0 0 70%;
}
.col-4 {
    flex: 0 0 30%;
}
header.site-header {
    padding: 30px 0;
}

header ul.primary-menu li a {
    padding: 5px 0;
    display: block;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: 0.2px;
    text-align: center;
    color: #252C25;
}
a.green-btn {
    background-color: #4A5A40;
    color: #ECE5C4;
    border-radius: 10px;
    padding: 14px 59px;
    display: inline-block;
    font-size: 20px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
    border: 2px solid #ECE5C4;
}
a.signup-btn {
    background-color: #ECE5C4;
    color: #222B32;
    border-radius: 10px;
    padding: 14px 48px;
    display: inline-block;
    font-size: 20px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
    border: 2px solid #ECE5C4;
}
.header-menu-mobile {
    display: none;
    background: #ece5c5;
}
.mobile-menu-btn {
    display: none;
}
header .mobile-menu-btn button.menu-toggle {
    width: 16px;
    height: 16px;
    display: block;
}

header .mobile-menu-btn button.menu-toggle span {
    width: 100%;
    display: block;
    height: 2px;
    background: #4a5a41;
    margin: 3px 0;
}
header .btns-wrap {
    display: flex;
    justify-content: end;
    gap: 10px;
}
.header-menu-mobile li a {
    padding: 8px 0;
    display: block;
}

.banner-area {
    min-height: 567px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    padding: 15px;
}

.banner-area .banner-content {
    text-align: center;
    position: relative;
}

.banner-area .banner-content h1 {
    font-size: 72px;
    font-weight: 600;
    line-height: 72px;
    text-align: center;
    color: #fff;
}

.banner-area .banner-content p {
    font-size: 30px;
    font-weight: 500;
    line-height: 30px;
    text-align: center;
    color: #fff;
}

.banner-area:before {
    content: '';
    position: absolute;
    background: #252C25CC;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0.8;
}
.blog-section {
    border: 0.5px solid #828282;
    border-radius: 10px;
    padding: 30px;
    margin: 32px auto;
}
a.green-btn.blog-btn {
    font-size: 11px;
    line-height: 18px;
    font-weight: 700;
    padding: 6px 22px;
    color: #F3F3F3;
}
.blog-section .mobile-btn {
    display: none;
}
.blog-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.blog-section-head h2 {
    font-size: 32px;
    font-weight: 600;
    line-height: 32px;
    text-align: left;
    color: #4A5A40;
}


.blog-section .row {
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.blog-section .row .col-md-4 {
    flex: 1 1 calc(33.333% - 25px);
}
.blog-section .blog-card {
    border: 1px solid #C5C5CF4D;
    border-radius: 8px;
    overflow: hidden;
    padding: 1px;
}
.blog-card .blog-content {
    padding: 15px;
}
.blog-section .blog-card img {
    width: 100%;
    border-radius: 6px;
}
.blog-section .blog-card h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    text-align: left;
}
.blog-section .blog-card h3 a {
    color: #21243D;
}
.blog-card .meta-pill {
    border-radius: 16px;
    color: #4A5A40;
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    text-align: center;
    padding: 4px 10px;
    display: inline-block;
    background: #82828226;
    text-transform: capitalize;
}

.meta-pill a {
    background: none;
    display: block;
}

.blog-card .meta {
    display: flex;
    gap: 10px;
    padding: 20px 0;
}

.meta .date.meta-pill {
    display: block;
}

.blog-card .blog-content p {
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    text-align: left;
    color: #21243D;
}

.pagination-wrap {
    display: flex;
    justify-content: space-between;
    padding: 50px 0;
    align-items: center;
}

.pagination-container .page-numbers {
    color: #252C25;
    font-size: 15px;
    font-weight: 500;
    line-height: 15px;
    text-align: left;
    padding: 12px 16px;
}

.pagination-container .prev.page-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-container .page-numbers svg {
    width: 12px;
    height: 16px;
    margin-bottom: 2px;
    display: block;
}

.pagination-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.pagination-container .next.page-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-container .page-numbers.current {
    background: #252C25;
    border-radius: 10px;
    color: #fff;
}

.results-count-container p {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: #697077;
}
section.blog-section.blog-posts {
    border: none;
    padding: 15px;
}
form.search-form {
    display: flex;
    justify-content: space-between;
}

.search-form .search-input {
    flex: 0 0 70%;
    border: 1px solid #00000040;
    border-radius: 10px;
    position: relative;
}
.search-form .search-input img {
    position: absolute;
    left: 16px;
    top: 16px;
    width: 26px;
    height: 26px;
}
.search-form select#cat {
    flex: 0 0 28%;
    border: 1px solid #00000040;
    border-radius: 10px;
    padding: 16px;
    font-size: 20px;
    font-weight: 500;
    line-height: 20px;
    color: #697077;
}

.search-form .search-input input.search-field {
    width: 100%;
    height: auto;
    padding: 20px 56px;
    font-size: 20px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.search-form .search-input button {
    display: none;
}
.blog-posts-home, .search-results-container {
    padding-top: 50px;
}

.blog-detail-page {
    padding: 50px 0;
}

.blog-detail-page h1 {
    font-size: 52px;
    font-weight: 600;
    line-height: 70px;
    color: #4A5A40;
    margin-bottom: 10px;
}

.blog-detail-page p.cat-name {
    font-size: 12px;
    font-weight: 400;
    line-height: 21px;
    margin-bottom: 8px;
    color: #4A5A40;
}
.blog-detail-page .blog-meta {
    display: flex;
    align-items: center;
    color: #4A5A40;
    margin-bottom: 15px;
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    flex-wrap: wrap;
}

.blog-detail-page .blog-meta img {
    border: 1px solid #979797;
    width: 40px;
    height: 40px;
}

.blog-detail-page .blog-meta span {
    margin: 0 8px;
}
.blog-detail-page .post-featured-image {
    border-radius: 6px;
    overflow: hidden;
    margin: 30px 0;
}

.blog-detail-page .post-featured-image img {
    width: 100%;
}
.popular-post {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    max-width: 308px;
    border-bottom: 1px solid #000;
    padding: 15px 0;
}

.popular-post .post-thumb {
    max-width: 82px;
}

.popular-post .post-thumb img {
    width: 100%;
}

.popular-post .post-text {
    flex: 1;
}

.blog-detail-page .blog-sidebar {
    padding: 5px 0 5px 35px;
}
.blog-detail-page .post-content {
    font-size: 22px;
    font-weight: 400;
    line-height: 33px;
    color: #000000;
    padding-right: 30px;
}

.blog-detail-page .post-content h2 {
    font-size: 52px;
    font-weight: 400;
    line-height: 59.8px;
    color: #4A5A40;
    padding: 25px 0;
}

.blog-detail-page .post-content p {
    margin-bottom: 15px;
}
.blog-detail-page .row {
    align-items: flex-start;
}
.blog-sidebar h2 {
    font-size: 14px;
    font-weight: 600;
    line-height: 23.8px;
    letter-spacing: 0.8px;
    color: #4A5A40;
}
.popular-post h3 {
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    color: #000000;
}
.blog-cta {
    max-width: 324px;
    text-align: center;
    margin: 50px 0 30px;
    background-color: #4A5A40;
    padding: 40px 32px;
    color: #fff;
    border-radius: 4px;
}

.blog-cta h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
    text-align: center;
    padding-bottom: 30px;
}

.blog-cta p {
    padding-bottom: 30px;
    font-size: 22px;
    font-weight: 400;
    line-height: 28px;
    text-align: center;
}

.blog-cta a.signup-btn {
    font-size: 16px;
    line-height: 20px;
    padding: 12px 36px;
    color: #091E42;
}
.related-post {
    display: flex;
    gap: 30px;
    padding: 15px 0;
}

.related-post .related-post-thumb {
    flex: 0 0 390px;
}

.related-posts {
    padding: 50px 0;
}

.related-posts h2 {
    font-size: 12px;
    font-weight: 700;
    line-height: 21px;
    letter-spacing: 0.72px;
    text-transform: uppercase;
    color: #4A5A40;
    padding-bottom: 15px;
}

.related-content {
    flex: 1;
}

.related-post .related-post-thumb img {
    width: 100%;
}

.related-content span.category {
    display: block;
    font-size: 12px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 0.72px;
    color: #4A5A40;
}

.related-content h3 {
    font-size: 24px;
    font-weight: 400;
    line-height: 31.99px;
    color: #000000;
    margin-bottom: 10px;
}

.related-content p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 15px;
}

/******************************************
* Footer Styles
******************************************/
footer.site-footer {
    background: #252C25;
    padding: 100px;
}
footer.site-footer .footer-menus li a {
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0.2px;
    text-align: left;
    display: block;
    padding: 10px 0;
}

.footer-menus {
    display: flex;
}

.footer-menus .company-menu {
    flex: 0 0 160px;
    position: relative;
}

.footer-menus .company-menu:after {
    content: '';
    width: 2px;
    height: 100%;
    background: #fff;
    position: absolute;
    top: 0;
    right: 0;
}

.footer-menus .legal-menu {
    padding: 0 10px 0 35px;
}
.footer-menus h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0.1px;
    text-align: left;
    color: #FFFFFF;
    margin-bottom: 10px;
}
footer.site-footer .f-logo {
    max-width: 288px;
    margin-bottom: 30px;
}
footer .col-5 {
    flex-direction: column;
}

.footer-info ul.contact-links li {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 15px;
    font-weight: 400;
    line-height: 27px;
    letter-spacing: 0.2px;
    text-align: left;
    color: #ffff;
    padding: 10px 0;
}
.footer-social {
    margin-top: 30px;
    padding-left: 6px;
}

.footer-social ul {
    display: flex;
    align-items: center;
    gap: 30px;
}
.back-btn {
    padding: 7px 9px;
    width: 30px;
    height: 30px;
    display: block;
    margin: 20px 0;
    background: #ece5c5;
    border-radius: 6px;
}
@media screen and (max-width: 1199.98px){
    header .col-7 {
        flex: 0 0 75%;
    }
    header .col-5 {
        flex: 0 0 25%;
    }
    header a.green-btn {
        padding: 14px 24px;
    }
    header a.signup-btn {
        padding: 14px 13px;
    }
    .blog-section .row {
        justify-content: flex-start;
    }
    .blog-section .row .col-md-4 {
        flex: 0 0 calc(50% - 25px);
    }
}
@media screen and (max-width: 991.98px){
    .container {
        width: 95%;
    }
    header .col-7 {
        flex: 0 0 75%;
    }
    header .col-5 {
        flex: 0 0 25%;
    }
    header .site-branding {
        max-width: 155px;
    }
    header ul#menu-main-menu {
        gap: 15px;
    }
    header nav.site-navigation {
        gap: 20px;
    }
    header a.green-btn {
        padding: 10px 19px;
        font-size: 16px;
    }
    header a.signup-btn {
        padding: 10px 10px;
        font-size: 16px;
    }
    header ul.primary-menu li a {
        font-size: 16px;
        line-height: 24px;
    }
    footer.site-footer {
        padding: 100px 20px;
    }
    .blog-section .row .col-md-4 {
        flex: 0 0 calc(50% - 15px);
    }
    .blog-card .meta {
        flex-wrap: wrap;
    }
}
@media screen and (max-width: 767.98px){
    .container {
        width: 100%;
        padding: 0 5px;
    }
    .mobile-menu-btn {
        display: block;
    }
    ul#menu-main-menu {
        display: none;
    }
    header a.green-btn, header a.signup-btn {
        padding: 3px 11px;
        font-size: 11px;
        font-weight: 600;
        line-height: 20px;
    }
    header a.signup-btn {
        padding: 3px 5px;
    }
    header .site-branding {
        max-width: 110px;
    }
    nav.site-navigation {
        display: flex;
        justify-content: flex-start;
        gap: 25px;
        align-items: center;
    }
    .header-menu-mobile.active {
        display: block;
    }
    header .btns-wrap {
        gap: 5px;
    }
    header .col-7 {
        flex: 0 0 65%;
    }
    header .col-5 {
        flex: 0 0 35%;
    }
    .banner-area {
        min-height: 225px;
    }
    .banner-area .banner-content h1 {
        font-size: 24px;
        line-height: 40px;
        padding-bottom: 20px;
    }
    .banner-area .banner-content p {
        font-size: 14px;
        line-height: 18px;
    }
    .blog-section-head .blog-btn {
        display: none;
    }
    .blog-section .mobile-btn {
        text-align: center;
        padding-top: 30px;
        display: block;
    }
    .blog-section-head h2 {
        font-size: 24px;
        line-height: 28px;
    }
    .blog-section .row {
        flex-direction: column;
    }
    .blog-card .meta {
        flex-wrap: wrap;
    }
    .blog-card .meta-pill {
        font-size: 14px;
        line-height: 24px;
        padding: 2px 6px;
    }
    .blog-section {
        padding: 30px 10px;
    }
    .blog-detail-page .row {
        flex-direction: column;
    }
    .blog-detail-page .row .col-8 {
        flex: 0 0 100%;
    }
    
    .blog-detail-page .row .col-4 {
        flex: 0 0 100%;
    }
    .blog-detail-page .blog-sidebar {
        padding: 5px;
    }
    .popular-post {
        max-width: 100%;
    }
    .related-post {
        flex-direction: column;
    }
    .related-post .related-post-thumb {
        flex: 1;
    }
    .blog-cta {
        max-width: 100%;
    }
    form.search-form {
        flex-direction: column;
        gap: 25px;
        max-width: 312px;
        margin: 0 auto;
    }
    .search-form .search-input img {
        display: none;
    }
    .search-form .search-input input.search-field {
        padding: 11px 30px 11px 15px;
        font-size: 16px;
        font-weight: 500;
        line-height: 20px;
    }
    .search-form .search-input button {
        display: block;
        position: absolute;
        right: 5px;
        top: 50%;
        width: 26px;
        height: 26px;
        z-index: 9999;
        transform: translateY(-50%);
    }
    .search-form .search-input button img {
        position: static;
        display: block;
        width: 21px;
        height: 21px;
    }
    .search-form select#cat {
        padding: 13px 11px;
        font-size: 16px;
        line-height: 20px;
    }
    .blog-detail-page h1 {
        font-size: 30px;
        line-height: 50px;
    }
    .blog-detail-page .post-content {
        font-size: 18px;
        line-height: 28px;
    }
    footer.site-footer .row {
        flex-direction: column;
        align-items: self-start;
    }
    .footer-menus .company-menu:after {
        display: none;
    }
    .footer-menus {
        flex-direction: column;
        padding-bottom: 50px;
    }
    .footer-menus .company-menu {
        flex: 0 0 100%;
    }
    .footer-menus .legal-menu {
        padding: 15px 0;
    }
    .pagination-wrap {
        display: flex
    ;
        justify-content: space-between;
        padding: 50px 0;
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        flex-direction: column;
    }
    .blog-detail-page .post-content h2 {
        font-size: 30px;
        line-height: 40px;
    }
    .back-btn {
        margin: 20px 9px;
    }
    .blog-detail-page .blog-meta img {
        width: 25px;
        height: 25px;
    }
    .blog-detail-page .blog-meta {
        font-size: 14px;
        line-height: 20px;
    }
    .blog-detail-page .blog-meta span {
        margin: 0 4px;
    }
}