/*
Theme Name: CZLAN-DOTA-WEB-V2
Theme URI: https://dota.czlan.cz/
Author: DOUŠA.tech - Ondřej Douša
Author URI: https://dousa.tech/
Description: Custom boxed DOTA2 community theme with Elementor support, sticky full-width header/footer and Bootstrap layout.
Version: 2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: czlan-dota-web-v2
*/

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #330000;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Boxed content wrapper (without affecting full-width header/footer) */

.site-wrapper {
    padding: 20px 0;
}

.site-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */

.site-header {
    z-index: 999;
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin: 0;
}

.site-header.is-sticky {
    position: sticky;
    top: 0;
}

.site-header.header-scrolled {
    /* actual shadow is added/removed by CSS generated from Customizer */
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 15px;
}

.header-left,
.header-center,
.header-right {
    flex-shrink: 0;
}

.header-left,
.header-right {
    flex-basis: 40%;
}

.header-center {
    flex-basis: 20%;
    text-align: center;
}

.site-header .custom-logo {
    max-height: 100px;
    width: auto;
}

/* Navbar / menu */

.header-left-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-toggler {
    border: 0;
    background: transparent;
    font-size: 1.8rem;
    line-height: 1;
    padding: 0;
    margin-right: 10px;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.primary-menu {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
}

.primary-menu li {
    position: relative;
}

.primary-menu a {
    text-decoration: none;
    font-weight: 500;
}

/* Content */

.site-content {
    margin-top: 30px;
    margin-bottom: 30px;
}

.content-area {
    color: #e0e0e0;
}

.content-block {
    background-color: #000000;
    padding: 24px;
    margin-bottom: 24px;
}

.entry-content a,
.content-block a {
    text-decoration: none;
}

.entry-content a:hover,
.content-block a:hover {
    text-decoration: underline;
}

/* Footer */

.site-footer {
    width: 100%;
    border-top: 1px solid rgba(0,0,0,0.06);
    font-size: 0.95rem;
    margin: 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 35px 15px 20px 15px;
}

.site-footer .widget {
    margin-bottom: 20px;
}

.site-info {
    margin-top: 20px;
    font-size: 0.85rem;
}

/* Desktop – full menu, no hamburger */

@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }
    #primaryMenuCollapse {
        display: flex !important;
    }
}

/* Responsive tweaks */

@media (max-width: 992px) {
    .header-left,
    .header-center,
    .header-right {
        flex-basis: 100%;
        text-align: center;
    }
    .header-inner {
        flex-direction: column;
        align-items: stretch;
    }
    .header-left-inner {
        justify-content: space-between;
    }
    .primary-menu {
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .site-wrapper {
        padding: 10px 0;
    }
    .content-block {
        padding: 16px;
    }
}
