/*
Theme Name: WPFegyvertár Hello Child Theme
Theme URI: https://github.com/elementor/hello-theme/
Description: WPFegyvertár Hello Child Theme is a child theme of Hello Elementor, created by WPkurzus
Author: WPViking
Author URI: https://wpkurzus.hu/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* ----------------- DESIGN ----------------- */
/* Selection */
::-moz-selection {
	color: #fff;
	background: var( --e-global-color-primary );
}

::selection {
	color: #fff;
	background: var( --e-global-color-primary );
}


/* Mark */
mark {
    background: var( --e-global-color-primary );
    color: #fff;
    font-weight: 700;
}



/* ----------------- BLOG ----------------- */

/* Bejegyzés kivonatok után 3 pont*/
.elementor-posts .elementor-post__excerpt p:after {
content: "..." !important;
}

/* Egyedi CSS-ek */
    /* ── Wrapper ─────────────────────────────────────────────────── */
    .nn-user-wrap {
        position: relative;
        display: inline-flex;
        align-items: center;
    }

    /* ── Avatar / Profilkép gomb ────────────────────────────────── */
    html body button.nn-avatar-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 2px solid #7A1020;
        background: #FBF3DC;
        cursor: pointer;
        padding: 0;
        overflow: hidden;
        transition: box-shadow 0.2s;
    }
    html body button.nn-avatar-btn:hover,
    html body button.nn-avatar-btn.nn-open {
        box-shadow: 0 0 0 3px rgba(122,16,32,0.18);
    }
    .nn-avatar-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }
    .nn-avatar-initials {
        font-size: 13px;
        font-weight: 700;
        color: #7A1020;
        line-height: 1;
        letter-spacing: 0.5px;
    }

    /* ── Dropdown ───────────────────────────────────────────────── */
    .nn-user-dropdown {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        min-width: 220px;
        background: #fff;
        border: 1px solid #EAD9A0;
        border-radius: 10px;
        box-shadow: 0 8px 24px rgba(122,16,32,0.15);
        z-index: 9999;
        overflow: hidden;
        animation: nnFadeIn 0.15s ease;
    }
    .nn-user-dropdown.nn-visible {
        display: block;
    }
    @keyframes nnFadeIn {
        from { opacity: 0; transform: translateY(-6px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    /* Fejléc a dropdown tetején */
    .nn-dd-header {
        padding: 14px 16px 12px;
        border-bottom: 1px solid #F3E7C3;
        background: #FBF3DC;
    }
    .nn-dd-name {
        font-size: 14px;
        font-weight: 700;
        color: #241008;
        margin: 0 0 2px;
        line-height: 1.3;
    }
    .nn-dd-email {
        font-size: 12px;
        color: #8A5A62;
        margin: 0;
        line-height: 1.3;
        word-break: break-all;
    }

    /* Menüpontok */
    .nn-dd-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 16px;
        font-size: 14px;
        color: #241008;
        text-decoration: none;
        transition: background 0.15s;
        line-height: 1.4;
    }
    .nn-dd-item:hover {
        background: #FBF3DC;
        color: #7A1020;
        text-decoration: none;
    }
    .nn-dd-item svg {
        flex-shrink: 0;
        opacity: 0.75;
    }
    .nn-dd-item.nn-danger {
        color: #7A1020;
    }
    .nn-dd-item.nn-danger:hover {
        background: #FBEAEC;
    }
    .nn-dd-sep {
        height: 1px;
        background: #F3E7C3;
        margin: 4px 0;
    }

    /* ── Bejelentkezés gomb ─────────────────────────────────────── */
    a.nn-login-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 14px;
        border: 1.5px solid #7A1020;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 600;
        color: #7A1020 !important;
        text-decoration: none;
        white-space: nowrap;
        transition: background 0.2s, color 0.2s;
        line-height: 1;
    }
    a.nn-login-btn:hover {
        background: #7A1020;
        color: #fff !important;
        text-decoration: none;
    }
    a.nn-login-btn:hover svg circle,
    a.nn-login-btn:hover svg path {
        stroke: #fff;
    }

    /* ── MOBIL: csak ikon, felirat elrejtve ─────────────────────── */
    @media (max-width: 767px) {
        .nn-login-label {
            display: none !important;
        }
        a.nn-login-btn {
            padding: 7px !important;
            width: 36px !important;
            height: 36px !important;
            justify-content: center !important;
            border-radius: 50% !important;
            gap: 0 !important;
        }
    }

	/* Kategória menü színek */
.kat-ferfi > a {
    color: #123524 !important; /* fenyőzöld */
}
.kat-ferfi > a:hover {
    color: #0B2016 !important;
}

.kat-no > a {
    color: #7A1020 !important; /* bordó */
}
.kat-no > a:hover {
    color: #5C0C18 !important;
}

.kat-allat > a {
    color: #D4AF37 !important; /* arany */
}
.kat-allat > a:hover {
    color: #A9842A !important;
}

.kat-kieg > a {
    color: #8C6D1F !important; /* sötétített arany-barna, elkülönítve a kat-allat aranyától */
}
.kat-kieg > a:hover {
    color: #6B5017 !important;
}