/*
Theme Name: DailyFeedNow
Theme URI: https://dailyfeednow.com
Author: DailyFeedNow
Description: Custom WordPress theme for DailyFeedNow.
Version: 1.0
Text Domain: dailyfeednow
*/

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #171b26;
    background: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}
/* =========================
   HEADER
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eaecf0;
}

.admin-bar .site-header {
    top: 32px;
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 35px;
}

.site-branding {
    flex-shrink: 0;
}

.site-logo {
    color: #171b26;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1px;
}

.site-logo span {
    color: #e11d2e;
}

.main-navigation {
    margin-left: auto;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-menu a {
    color: #171b26;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.primary-menu a:hover {
    color: #e11d2e;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-button {
    padding: 10px 16px;
    color: #171b26;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
}

.search-button:hover {
    border-color: #e11d2e;
    color: #e11d2e;
}

.mobile-menu-toggle {
    display: none;
    margin-left: auto;
    padding: 5px;
    background: transparent;
    border: 0;
    color: #171b26;
    font-size: 26px;
    cursor: pointer;
}


/* MOBILE HEADER */

@media (max-width: 900px) {

    .header-inner {
        min-height: 68px;
        position: relative;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        padding: 20px;
        background: #ffffff;
        border: 1px solid #eaecf0;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    }

    .main-navigation.is-open {
        display: block;
    }

    .primary-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .header-actions {
        display: none;
    }
}

@media (max-width: 782px) {

    .admin-bar .site-header {
        top: 46px;
    }
}