/*
Theme Name: OliveMag Premium
Theme URI: https://example.com/olivemag
Author: OliveMag Studio
Author URI: https://example.com
Description: Prémium, modern magazin téma az OliveMag arculat alapján.
Version: 1.0
Text Domain: olivemag
*/

:root {
    --dark-olive: #1a2414;
    --olive-medium: #3d5229;
    --lime-bright: #a3e635;
    --text-white: #f8fafc;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-olive);
    color: var(--text-white);
    margin: 0;
    padding: 0;
}

.custom-logo-link,
.custom-logo-link img {
    display: inline-flex;
    align-items: center;
}

.custom-logo-link img {
    height: 56px;
    width: auto;
}

.site-logo .custom-logo-link img {
    height: 56px;
}

.footer-logo .custom-logo-link img {
    height: 64px;
}

.rounded-custom { border-radius: 1.5rem; }
.rounded-inner { border-radius: 1rem; }

.header-glass {
    background: linear-gradient(135deg, rgba(26, 36, 20, 0.98) 0%, rgba(35, 48, 27, 0.95) 50%, rgba(26, 36, 20, 0.98) 100%);
    position: relative;
    overflow: hidden;
}

.header-glass::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(163, 230, 53, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.card-hover-zoom {
    overflow: hidden;
    position: relative;
}

.card-hover-zoom img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-zoom:hover img {
    transform: scale(1.05);
}

.accent-border {
    border-left: 4px solid var(--lime-bright);
}

.hero-gradient {
    background: linear-gradient(to top, rgba(26, 36, 20, 1) 0%, rgba(26, 36, 20, 0.4) 50%, transparent 100%);
}

.sidebar-sticky {
    position: sticky;
    top: 6rem;
}

.post-hero-overlay {
    background: linear-gradient(to top, var(--dark-olive) 0%, rgba(26, 36, 20, 0.4) 100%);
}

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: rgba(248, 250, 252, 0.85);
    font-size: 1.125rem;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: var(--text-white);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 2.5rem 0 1rem;
}

.article-content h2 {
    font-size: 2rem;
}

.article-content h3 {
    font-size: 1.5rem;
}

.article-content h4 {
    font-size: 1.25rem;
}

.article-content a {
    color: var(--lime-bright);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-content a:hover {
    color: #c9f97b;
}

.glass-badge {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.olive-placeholder {
    background: linear-gradient(135deg, rgba(42, 56, 29, 0.9) 0%, rgba(26, 36, 20, 1) 100%);
}

.primary-nav a {
    position: relative;
    transition: color 0.3s ease;
}

.primary-nav a::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--lime-bright);
    transition: width 0.3s ease;
}

.primary-nav a:hover {
    color: var(--lime-bright);
}

.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after,
.primary-nav .current-menu-ancestor > a::after {
    width: 100%;
}

.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.primary-nav .current-menu-ancestor > a {
    color: var(--lime-bright);
}

.mobile-menu {
    display: none;
}

.search-panel {
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease;
}

.search-panel.is-open {
    max-height: 240px;
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1000px) {
    .primary-nav-desktop {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: inline-flex !important;
    }

    .mobile-menu.is-open {
        display: block;
    }
}

@media (min-width: 1001px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark-olive); }
::-webkit-scrollbar-thumb { background: var(--olive-medium); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--lime-bright); }
