/*
Theme Name: We Love Schlager Custom
Theme URI: https://we-love-schlager.de
Author: Team
Description: Schlagerradio-inspiriertes Custom Theme mit farbenfrohem Header, Mobile-Menü & buntem Footer.
Version: 2.0.1
Text Domain: we-love-schlager
*/

:root {
    /* Hauptfarben */
    --primary-color: #e30613;        /* Signalrot / Schlager-Rot */
    --primary-dark: #b8000a;         /* Dunkelrot (Hover) */
    
    /* Lebendige Akzentfarben */
    --accent-gold: #ffb400;          /* Warmes Gold/Gelb */
    --accent-magenta: #d81b60;       /* Magenta/Pink */
    --accent-purple: #8e24aa;        /* Edles Violett */

    /* Hintergründe & Flächen */
    --card-bg: #ffffff;              /* Reinweiß für Karten */
    --body-bg: #f8f9fa;              /* Sehr helles, frisches Grau */

    /* Textfarben */
    --text-color: #212121;           /* Dunkler Text für hohe Lesbarkeit */
    --text-muted: #666666;
    
    --border-radius: 12px;
}

body {
    margin: 0;
    padding-top: 80px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--body-bg);
    color: var(--text-color);
    line-height: 1.5;
}

/* Container */
.wls-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Farbenfroher Header Styling */
.wls-sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: linear-gradient(135deg, #e30613 0%, #d81b60 50%, #ff6f00 100%);
    box-shadow: 0 4px 15px rgba(227, 6, 19, 0.2);
    transition: all 0.3s ease;
}

.wls-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}

/* Brand / Logo Styling & Begrenzung */
.wls-logo {
    display: flex;
    align-items: center;
    max-height: 60px;
}

.wls-logo a {
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.wls-logo img {
    max-height: 55px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Desktop Navigation im bunten Header */
.wls-main-nav {
    display: block;
}

.wls-main-nav ul,
.wls-main-nav div > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.wls-main-nav li {
    display: inline-block;
}

.wls-main-nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    transition: color 0.2s ease;
}

.wls-main-nav a:hover {
    color: var(--accent-gold);
}

/* Mobile Toggle (Hamburger Button) */
.wls-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #ffffff;
    cursor: pointer;
    padding: 5px;
}

/* Farbenfrohes & Helles Hero-Banner */
.wls-hero-banner {
    background: linear-gradient(135deg, #e30613 0%, #d81b60 50%, #ff6f00 100%);
    color: #ffffff;
    padding: 50px 0;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(227, 6, 19, 0.15);
}

.wls-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.wls-hero-banner h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.wls-hero-banner p {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Glassmorphism Player Box mit Cover Layout */
.wls-hero-player-box {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.wls-hero-player-box small {
    color: var(--accent-gold) !important;
    font-weight: 800;
    letter-spacing: 1px;
}

.wls-player-track-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.wls-cover-wrapper {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.1);
}

.wls-cover-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wls-track-text {
    overflow: hidden;
    flex: 1;
}

#wls-artist-name {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    text-transform: uppercase;
}

#wls-song-title {
    font-size: 1.3rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Flexibles News-Grid */
.wls-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.wls-news-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wls-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.wls-news-thumb {
    height: 220px;
    overflow: hidden;
    background-color: #eee;
}

.wls-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

.wls-news-card:hover .wls-news-thumb img {
    transform: scale(1.04);
}

.wls-news-content {
    padding: 20px;
}

.wls-news-meta {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.wls-news-title {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.wls-news-title a {
    color: var(--text-color);
    text-decoration: none;
}

.wls-news-title a:hover {
    color: var(--primary-color);
}

/* Audio Player Styling */
.wls-hero-banner audio {
    accent-color: var(--accent-gold);
}

/* ==========================================================================
   FARBENFROHER FOOTER
   ========================================================================== */
.site-footer,
.wls-site-footer {
    background: linear-gradient(135deg, #ff6f00 0%, #d81b60 50%, #e30613 100%);
    color: #ffffff;
    padding: 50px 0 30px 0;
    margin-top: 60px;
    box-shadow: 0 -4px 20px rgba(227, 6, 19, 0.15);
}

.wls-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.site-footer a,
.wls-site-footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.site-footer a:hover,
.wls-site-footer a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

.wls-footer-widgets,
.site-footer .widget {
    color: rgba(255, 255, 255, 0.9);
}

.wls-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    margin-top: 30px;
    padding-top: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   RESPONSIVE OPTIMIERUNGEN (SMARTPHONES & TABLETS)
   ========================================================================== */
@media (max-width: 768px) {
    .wls-header-inner {
        height: 70px;
    }
    
    body {
        padding-top: 70px;
    }

    .wls-logo img {
        max-height: 40px;
    }

    .wls-logo a {
        font-size: 1.2rem;
    }

    /* Mobile Hamburger Button anzeigen */
    .wls-mobile-toggle {
        display: block;
    }

    /* Mobile Navigation (Klappt sich im bunten Dropdown aus) */
    .wls-main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #e30613 0%, #d81b60 100%);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .wls-main-nav.active {
        display: block !important;
    }

    .wls-main-nav ul,
    .wls-main-nav div > ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .wls-main-nav a {
        font-size: 1.1rem;
        color: #ffffff;
    }

    /* Hero Banner Mobile Spacing */
    .wls-hero-banner {
        padding: 30px 0;
    }

    .wls-hero-banner h1 {
        font-size: 1.8rem !important;
    }

    .wls-hero-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }

    .wls-hero-player-box {
        padding: 15px;
    }

    #wls-song-title {
        font-size: 1.05rem;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .wls-cover-wrapper {
        width: 65px;
        height: 65px;
        min-width: 65px;
    }
}

@media (max-width: 768px) {
    .wls-article-layout {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 900px) {
    .wls-article-layout {
        grid-template-columns: 1fr !important;
    }
    .wls-related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 550px) {
    .wls-related-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Hover-Effekt für die Beitrags-Vorschauen */
.wls-related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(227, 6, 19, 0.15) !important;
    border-color: rgba(227, 6, 19, 0.3) !important;
}

.wls-related-card:hover .wls-related-thumb {
    transform: scale(1.08);
}

/* ==========================================================================
   MODERNES KOMMENTAR-FORMULAR
   ========================================================================== */
#respond {
    background: #ffffff;
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-top: 50px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

#reply-title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: var(--text-color);
    margin-bottom: 10px !important;
}

.comment-notes {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Formular-Gruppen & Felder */
.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: var(--body-bg);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.comment-form textarea:focus,
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.1);
}

.comment-form textarea {
    resize: vertical;
    min-height: 140px;
}

/* Felder-Anordnung für Name, E-Mail, Website auf Desktop */
@media (min-width: 768px) {
    .comment-form-author,
    .comment-form-email,
    .comment-form-url {
        width: 100%;
    }
}

.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.comment-form-cookies-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

/* Absende-Button im Schlager-Look */
.form-submit input[type="submit"] {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-magenta) 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 30px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(227, 6, 19, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form-submit input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 6, 19, 0.3);
}

/* ==========================================================================
   MODERNE KOMMENTARLISTE
   ========================================================================== */
.comments-area {
    margin-top: 60px;
    background: #ffffff;
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.comments-title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: var(--text-color);
    margin-bottom: 25px !important;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list li.comment {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eaeaea;
}

.comment-list li.comment:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Kommentar-Body & Avatar */
.comment-body {
    position: relative;
    padding-left: 75px;
}

.comment-body .avatar {
    position: absolute;
    left: 0;
    top: 0;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.comment-meta {
    margin-bottom: 8px;
}

.comment-author {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-color);
}

.comment-author .fn {
    color: var(--text-color);
}

.comment-metadata {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.comment-metadata a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.comment-metadata a:hover {
    color: var(--primary-color);
}

/* Kommentar-Text */
.comment-content {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-top: 8px;
}

.comment-content p {
    margin: 0 0 10px 0;
}

/* Antworten-Link (Reply) */
.reply {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.reply a {
    color: var(--primary-color);
    background: rgba(227, 6, 19, `0.08`);
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.reply a:hover {
    background: var(--primary-color);
    color: #ffffff;
}

/* Verschachtelte Antworten (Child Comments) */
.comment-list .children {
    list-style: none;
    margin: 20px 0 0 40px;
    padding: 0;
    border-left: 2px solid rgba(227, 6, 19, 0.2);
    padding-left: 20px;
}

/* ==========================================================================
   STREAMING-BOX (Mobil & Desktop optimiert - Kompakt)
   ========================================================================== */
.wls-streaming-box {
    background: #f4f1ea;
    padding: 30px;
    border-radius: var(--border-radius);
    margin-top: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.wls-streaming-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 20px;
}

.wls-streaming-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.wls-stream-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: var(--text-color);
    padding: 12px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.2s ease;
    flex: 1 1 180px;
    justify-content: center;
}

.wls-stream-btn svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.wls-stream-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(227, 6, 19, 0.15);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Mobil-Optimierung für Bildschirme unter 768px (Kompakte Zeilen statt Riesen-Blöcke) */
@media screen and (max-width: 768px) {
    .wls-streaming-box {
        padding: 20px;
        margin-top: 30px;
    }
    
    .wls-streaming-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .wls-stream-btn {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 20px;
        flex: none;
        box-sizing: border-box;
    }
}

/* Layout für die zwei Spalten nebeneinander */
.wls-category-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.wls-section-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e60026;
}

/* Einzelne Beitrags-Box */
.wls-mini-post-card {
    display: flex;
    gap: 15px;
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    align-items: center;
}

.wls-mini-thumb {
    width: 100px;
    height: 100px;
    min-width: 100px;
    border-radius: 8px;
    overflow: hidden;
}

.wls-mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wls-mini-content {
    flex: 1;
}

.wls-mini-title {
    font-size: 1rem;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.wls-mini-title a {
    color: #222;
    text-decoration: none;
}

.wls-mini-excerpt {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 8px;
}

.wls-read-more {
    font-size: 0.8rem;
    font-weight: 700;
    color: #e60026;
    text-decoration: none;
}

@media (max-width: 768px) {
    .wls-category-row-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .wls-hero-grid {
        grid-template-columns: 1fr !important;
    }
}