/*
Theme Name: Averiq Blog
Author: Your Name
Version: 1.0
Description: Clean business blog theme inspired by Averiq Solutions.
*/

.site-logo .logo-wrapper {
    display: flex;
    align-items: center;       /* vertically centers logo + text */
    text-decoration: none;
    gap: 10px;                 /* space between logo and text */
}

.logo-img-wrapper img {
    max-height: 50px;          /* adjust size as needed */
    width: auto;
    display: block;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;   /* vertically center both text lines */
    line-height: 1.1;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #000;               /* change as needed */
}

.logo-sub {
    font-size: 14px;
    font-weight: 400;
    color: #555;
}

.post-body h3 a {
    color: #07b39b; /* Change to your desired color */
    text-decoration: none;
}

.post-body h3 a:hover {
    color: #0056b3; /* Hover color */
}

 

.read-more {
    color: #1976d2; /* change color */
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    color: #0056b3; /* hover color */
    text-decoration: underline;
}
 

.main-nav {
    display: flex;
    justify-content: flex-start; /* Aligns menu to left */
    align-items: center;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav li {
    list-style: none;
}

.main-nav li a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
}


/* Hide nav on mobile by default */ 

/* Desktop */
.main-nav-list {
    display: flex;
    gap: 20px;
}

/* Hide hamburger on desktop */
.mobile-menu-toggle {
    display: none;
}

/* Mobile Styles */
@media screen and (max-width: 991px) {
    .main-nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px; /* adjust to header height */
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        z-index: 999;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1000;
    }

    .hamburger {
        width: 25px;
        height: 3px;
        background: #000;
        display: block;
        position: relative;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        width: 25px;
        height: 3px;
        background: #000;
        position: absolute;
        left: 0;
        transition: 0.3s;
    }

    .hamburger::before { top: -8px; }
    .hamburger::after { top: 8px; }

    .mobile-menu-toggle.active .hamburger {
        background: transparent;
    }

    .mobile-menu-toggle.active .hamburger::before {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active .hamburger::after {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}


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

.post-tags strong {
    margin-right: 10px;
    font-weight: 600;
}

.tag-link {
    display: inline-block;
    background-color: #007bff; /* Blue background */
    color: #fff;
    text-decoration: none;
    padding: 5px 12px;
    margin: 0 5px 5px 0;
    border-radius: 20px;
    font-size: 14px;
    transition: background 0.3s, color 0.3s;
}

.tag-link:hover {
    background-color: #0056b3; /* Darker blue on hover */
    color: #fff;
}


.post-thumbnail-inline {
    float: left; /* image on the left */
    margin-right: 20px; /* space between image and text */
    margin-bottom: 10px; /* space below for small screens */
    max-width: 300px; /* adjust width */
}

.post-thumbnail-inline img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.post-content-inline h1 {
    margin-top: 0;
	line-height: normal;
}

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

/* Tag styling */
.tag-link {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    padding: 5px 12px;
    margin: 0 5px 5px 0;
    border-radius: 20px;
    font-size: 14px;
    transition: background 0.3s, color 0.3s;
}

.tag-link:hover {
    background-color: #0056b3;
}

/* Responsive: Stack image on top for small screens */
@media screen and (max-width: 767px) {
    .post-thumbnail-inline {
        float: none;
        margin-right: 0;
        margin-bottom: 20px;
        max-width: 100%;
    }
}


/* Footer Menu Links */
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #fff; /* or your desired color */
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent; /* initial invisible underline */
    padding-bottom: 2px; /* space for underline */
}

.footer-links ul li a:hover {
    border-bottom: 2px solid #007bff; /* underline color on hover */
    color: #007bff; /* optional: change text color on hover */
}
/* Center images with custom class */
.center-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center; /* optional, for captions */
}

/* Optional: style the caption */
.center-image figcaption {
    text-align: center;
    font-style: italic;
    color: #555;
    margin-top: 5px;
}


/* Left-aligned image with text wrapping */
.left-image {
    float: left;        /* Image floats left */
    margin-right: 186px; /* Space between image and text */
    margin-bottom: 10px; /* Space below for small screens */
    max-width: 300px;    /* Adjust image size */
}

.left-image img {
    width: 100%;
    height: auto;
    border-radius: 5px; /* optional styling */
}

/* Optional: captions under image */
.left-image figcaption {
    text-align: left;
    font-style: italic;
    color: #555;
    margin-top: 5px;
}

/* Responsive: stack image on top for mobile */
@media screen and (max-width: 767px) {
    .left-image {
        float: none;
        margin-right: 0;
        margin-bottom: 20px;
        max-width: 100%;
    }
}



/* Make footer columns equal width */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 1 Brand + 4 Menus */
    gap: 40px;
    align-items: start;
}

/* Make the brand section behave like same column */
.footer-brand {
    display: flex;
    flex-direction: column;
}

/* Logo margin fix */
.footer-brand .logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Footer nav styling (optional) */
.footer-links h4 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 6px;
}

/* Tablet */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.copyright a {
	text-align: center;
}




.copyright a {
	color: #fff;
}
/* Center copyright text */
.copyright {
    text-align: center;
}

/* Remove bullets from footer menus */
.footer-links ul,
.footer-links .menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Optional spacing */
.footer-links ul li {
    margin-bottom: 6px;
}