/*
Theme Name: YaLMS - DartArena
Description: ExklusivDesign für die DMDC-Liga.de
Version: 1.0.0
Author: Sascha Werth
*/

:root {
    --bg-body: #121212;
    --bg-content: #1e1e1e;
    --bg-element: #252525;
    --accent-main: #fbb24b;
    --text-main: #f0f0f0;
    --text-muted: #888888;
    --border-color: rgba(255, 255, 255, 0.1);
    --site-width: 1280px;
    --spacing-std: 10px;
}

* { box-sizing: border-box; }

/* KILL-SWITCH UPPERCASE */
h1, h2, h3, h4, h5, h6, a, button, input, .site-title, .menu-item, .custom-logo-link {
    text-transform: none !important;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    line-height: 1.5;
}

.site-wrapper {
    max-width: var(--site-width);
    margin: 0 auto;
    background-color: var(--bg-content);
    min-height: 100vh;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

a { color: #b0b0b0; text-decoration: none; transition: 0.2s; }
a:hover { color: var(--accent-main); }

/* --- Utility Bar --- */
.yalms-utility-bar {
    background-color: rgba(0,0,0,0.3);
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-std);
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.utility-menu { list-style: none; margin: 0; padding: 0; display: flex; }
.utility-menu li { margin-left: 15px; }

/* --- Header (Fixed 155px) --- */
.yalms-header {
    position: relative;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border-color);
    height: 155px;
    display: flex;
    align-items: center;
}

.yalms-header::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4); z-index: 1;
}

.yalms-header-inner {
    position: relative;
    z-index: 2;
    padding: 0 var(--spacing-std);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.custom-logo-link img {
    max-height: 120px;
    width: auto;
    display: block;
}

.site-title {
    font-size: 2rem;
    margin: 0;
    color: #fff;
    font-weight: 800;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}
.site-slogan {
    display: block;
    color: #ccc;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* --- Search Bar (Rounded V1 Design) --- */
.header-search form {
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.5); /* Halb-Transparent */
    border: 1px solid var(--border-color);
    border-radius: 50px; /* Runde Pillen-Form */
    padding: 3px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}
.header-search form:hover {
    border-color: var(--accent-main);
    background: rgba(0,0,0,0.8);
}

.header-search input[type="search"] {
    background: transparent;
    border: none;
    color: #fff;
    padding: 5px 15px;
    outline: none;
    width: 200px;
    font-size: 0.9rem;
}

.header-search button {
    background: var(--accent-main);
    border: none;
    color: #000;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 50px; /* Auch der Button ist rund */
    cursor: pointer;
    font-size: 0.8rem;
    margin-left: 5px;
}
.header-search button:hover {
    background: #fff;
    box-shadow: 0 0 10px rgba(251, 178, 75, 0.4);
}

/* --- Navigation --- */
.yalms-navigation {
    background-color: #151515;
    border-bottom: 2px solid var(--accent-main);
}
.nav-container { padding: 0 var(--spacing-std); }

.yalms-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.yalms-menu a {
    display: block;
    padding: var(--spacing-std) 15px;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    border-right: 1px solid rgba(255,255,255,0.05);
}
.yalms-menu li:first-child { border-left: 1px solid rgba(255,255,255,0.05); }
.yalms-menu a:hover {
    background-color: var(--accent-main);
    color: #000;
}

/* --- Content --- */
.yalms-container { padding: var(--spacing-std); }

.yalms-content-box {
    background: var(--bg-element);
    border-radius: 4px;
    padding: var(--spacing-std);
    margin-bottom: var(--spacing-std);
    border: 1px solid var(--border-color);
}

/* Page Title (Halbiert & Full Width) */
.yalms-page-title {
    margin-top: 0;
    border-bottom: 1px solid var(--accent-main);
    padding-bottom: 3px; /* Halbiert von 5px */
    margin-bottom: 8px; /* Halbiert von 15px */
    font-size: 1.5rem;
    display: block; /* Volle Breite */
    width: 100%;    /* Volle Breite */
}

.yalms-footer {
    padding: var(--spacing-std);
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.8rem;
}