/*
Theme Name: TerraNova Magazin
Theme URI: https://example.com/terranova
Author: TerraNova
Author URI: https://example.com
Description: Magazin stílusú, reszponzív WordPress téma a TerraNova arculat alapján.
Version: 1.0.0
Text Domain: terranova
*/

/* Egyedi görgetősáv */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #1F2923;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #FF7E35, #7D1C2A);
    border-radius: 5px;
}

/* Üveg hatás */
.glass-panel {
    background: rgba(61, 82, 69, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.category-badge {
    background: linear-gradient(135deg, #FF7E35 0%, #C43333 50%, #7D1C2A 100%);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

.article-card:hover img,
.archive-card:hover .card-img {
    transform: scale(1.05);
}

/* Hero Grid Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 2fr 1fr;
        height: 600px;
    }
}

.content-body p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.125rem;
}
.content-body h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
}
.content-body ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #DAD7CD;
}
.content-body li {
    margin-bottom: 0.5rem;
}
.content-body a {
    color: #FF7E35;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}
.content-body a:hover {
    color: #FF9A60;
}

.sticky-sidebar {
    position: sticky;
    top: 100px;
}

/* Aktív menü elem */
.current-menu-item > a,
.current_page_item > a {
    color: #fff;
    border-bottom: 2px solid #FF7E35;
    padding-bottom: 0.25rem;
}

/* Alap háttér és szöveg szín fallback Tailwind nélkül */
body {
    background: #1F2923;
    color: #E3E6D7;
}

.custom-logo {
    height: 48px;
    width: auto;
    max-height: 48px;
}

/* Hero olvashatóság */
.hero-title,
.hero-excerpt {
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
}
.hero-excerpt {
    color: #DAD7CD;
}

/* Ikon gomb SVG fallback */
.icon-button svg {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
}

svg.icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

.icon-stroke {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-fill {
    fill: currentColor;
}

/* Vonalak (border utility fallback) */
.border-b {
    border-bottom-width: 1px;
    border-bottom-style: solid;
}
.border-t {
    border-top-width: 1px;
    border-top-style: solid;
}
.border-l {
    border-left-width: 1px;
    border-left-style: solid;
}
.border-pistachio-700 {
    border-color: #3D5245;
}
.border-pistachio-800 {
    border-color: #2A3B32;
}
.border-pistachio-600 {
    border-color: #4E6656;
}
.border-accent-orange {
    border-color: #FF7E35;
}

/* Keresőmező fallback */
.search-form input[type="search"] {
    background: #2A3B32;
    border: 1px solid #4E6656;
    color: #fff;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}
.search-form input[type="search"]::placeholder {
    color: #A3B18A;
}
.search-form button {
    color: #A3B18A;
}
.search-form button:hover {
    color: #fff;
}

/* Hozzászólások */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.comment-list .children {
    list-style: none;
    padding-left: 2rem;
    margin-top: 1rem;
    border-left: 2px solid #3D5245;
}
.comment-respond {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #3D5245;
}
.comment-navigation a {
    color: #FF7E35;
    text-decoration: none;
}
.comment-navigation a:hover {
    color: #fff;
}
