/*
Theme Name: Magazin Pro
Theme URI: https://example.com/magazin-pro
Author: UX/UI Team
Description: Modern, magazin jellegu WordPress tema a Magunk Utjan designok alapjan.
Version: 1.0.0
Text Domain: magazin-pro
*/

body {
    font-family: "Inter", sans-serif;
    background-color: #0f172a;
    color: #f8fafc;
}

.glass-effect {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #cbd5e1;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: #f8fafc;
    font-weight: 800;
    line-height: 1.3;
    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: #f97316;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

.article-content blockquote {
    border-left: 4px solid #f97316;
    padding-left: 1.5rem;
    font-style: italic;
    font-size: 1.25rem;
    margin: 2.5rem 0;
    color: #f8fafc;
}

.tab-active {
    border-bottom: 3px solid #f97316;
    color: #f97316;
}

.site-nav {
    display: flex;
}

.site-nav-list {
    display: flex;
    gap: 1.5rem;
}

.site-nav-list a {
    position: relative;
    display: inline-flex;
    padding-bottom: 0.25rem;
}

.site-nav-list a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.35rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #f97316;
    opacity: 0;
    transform: translateX(-50%) scale(0.8);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.6);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav-list a:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.mobile-menu-search {
    display: none;
}

.custom-logo-link img {
    max-height: 48px;
    width: auto;
    display: block;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-numbers a,
.page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: rgba(30, 41, 59, 0.7);
    color: #f8fafc;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0 0.5rem;
}

.page-numbers .current {
    background: #f97316;
    color: #fff;
}

.page-numbers .prev,
.page-numbers .next {
    width: auto;
    padding: 0 0.9rem;
}

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

.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.header-center {
    display: flex;
    justify-content: center;
    flex: 1;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex: 1;
}

.header-search {
    border-top: 1px solid #1e293b;
}

#nav-toggle {
    display: none;
}

@media (max-width: 1000px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .header-left {
        flex: 0 0 auto;
    }

    .header-center {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        margin-top: 0.75rem;
        justify-content: flex-start;
    }

    .header-right {
        flex: 0 0 auto;
        margin-left: auto;
    }

    #search-toggle,
    #nav-toggle {
        font-size: 1.125rem;
        padding: 0.7rem 0.9rem;
    }

    .custom-logo-link img {
        max-height: 48px;
    }

    #nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        width: 100%;
        margin-top: 0;
        padding: 0.75rem 0.75rem 1rem;
        border-radius: 0.75rem;
        background: rgba(15, 23, 42, 0.96);
        border: 1px solid rgba(148, 163, 184, 0.15);
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0.25rem 0;
    }

    .site-nav-list a {
        width: 100%;
        padding: 0.75rem 0.5rem;
        border-radius: 0;
        background: transparent;
        border-bottom: 1px solid rgba(51, 65, 85, 0.6);
    }

    .site-nav-list a::after {
        display: none;
    }

    .site-nav-list li:last-child a {
        border-bottom: 0;
    }

    .mobile-menu-search {
        display: block;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(51, 65, 85, 0.6);
    }
}
