@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&family=Outfit:wght@400;500;600;700&display=swap');

/* ==========================================================================
   DUHOCDUC.DE - NEO-BAUHAUS CUSTOM TEMPLATE CSS OVERRIDES
   ========================================================================== */

/* --- Global Typography & Base --- */
:root {
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --color-black: #050505;
    --color-white: #ffffff;
    --color-orange: #FF4500;
    --color-border: #111111;
}

body {
    font-family: var(--font-body) !important;
    color: var(--color-black);
    font-size: 17px;
    line-height: 1.65;
}

/* Typography optimization for better readability */
.article-details p, 
.item-page p, 
.sppb-addon-text-content p {
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 1.5em;
    color: #334155;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading) !important;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: -0.5px;
}

ul.sp-megamenu-parent {
    font-family: var(--font-body) !important;
    text-transform: uppercase;
}

/* --- Desktop Header Alignment Optimization --- */
@media (min-width: 992px) {
    #sp-header .container-inner > .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    
    #sp-logo {
        flex: 0 0 auto !important;
        max-width: 220px !important;
        padding-right: 15px !important;
    }
    
    #sp-logo img {
        height: 45px !important;
        max-height: none !important;
        max-width: none !important;
        object-fit: contain;
    }

    #sp-menu {
        flex: 1 1 auto !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        max-width: calc(100% - 220px) !important;
    }

    ul.sp-megamenu-parent {
        display: flex !important;
        flex-wrap: nowrap !important;
        margin: 0 !important;
    }

    ul.sp-megamenu-parent > li > a, 
    ul.sp-megamenu-parent > li > span {
        padding: 0 5px !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        letter-spacing: -0.2px !important;
        transition: all 0.2s ease !important;
        color: var(--color-black) !important;
        white-space: nowrap !important;
    }

    ul.sp-megamenu-parent > li > a:hover,
    ul.sp-megamenu-parent > li > span:hover {
        color: var(--color-orange) !important;
        text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
    }
    
    /* Sleek expanding search bar */
    #mod-finder-searchword-header {
        width: 140px !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        border-radius: 20px !important;
        border: 1px solid #cbd5e1 !important;
        padding: 6px 16px !important;
        font-size: 13px !important;
        font-family: var(--font-body);
        font-weight: 500;
        background-color: #f8fafc !important;
        box-shadow: none !important;
    }
    #mod-finder-searchword-header:focus {
        width: 200px !important;
        background-color: #ffffff !important;
        border-color: #0A80F7 !important;
        box-shadow: 0 0 0 3px rgba(10, 128, 247, 0.12) !important;
        outline: none !important;
    }
    
    #sp-header .header-modules {
        gap: 12px !important;
        margin-left: 15px !important;
    }
}

/* --- Premium Sign In Button Overrides --- */
#sp-header .sp-sign-in {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 15px !important;
    box-shadow: none !important;
}

#sp-header .sp-sign-in:hover {
    background: #ffffff !important;
    color: #0A80F7 !important;
    border-color: #0A80F7 !important;
    box-shadow: 0 4px 6px -1px rgba(10, 128, 247, 0.1), 0 2px 4px -2px rgba(10, 128, 247, 0.05) !important;
    transform: translateY(-1px) scale(1.05) !important;
}

#sp-header .sp-sign-in span.far.fa-user, 
#sp-header .sp-sign-in i.fas.fa-user-circle {
    margin: 0 !important;
    font-size: 18px !important;
}

#sp-header .sp-sign-in i.fas.fa-chevron-down.arrow-icon {
    display: none !important;
}

/* --- Life Style Magazine Module Override --- */
.dhd-lifestyle-module { margin-bottom: 30px; }
.lifestyle-featured, .lifestyle-item { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); background: #fff; transition: transform 0.3s ease; }
.lifestyle-featured:hover, .lifestyle-item:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.lifestyle-img-wrap { position: relative; overflow: hidden; }
.lifestyle-img-wrap img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.5s ease; }
.lifestyle-featured .lifestyle-img-wrap img { height: 350px; }
.lifestyle-img-wrap:hover img { transform: scale(1.05); }
.lifestyle-img-placeholder { width: 100%; height: 350px; background: #eee; }
.lifestyle-img-placeholder-small { width: 100%; height: 200px; background: #eee; }
.lifestyle-cat-badge { position: absolute; top: 15px; left: 15px; background: #0A80F7; color: #fff; padding: 4px 12px; font-size: 12px; font-weight: 600; text-transform: uppercase; border-radius: 4px; z-index: 2; text-decoration: none; }
.lifestyle-cat-badge:hover { background: #0865C2; color: #fff; }
.lifestyle-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.lifestyle-title { font-size: 24px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.lifestyle-title-small { font-size: 16px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.lifestyle-title a, .lifestyle-title-small a { color: #1e293b; text-decoration: none; transition: color 0.2s ease; }
.lifestyle-title a:hover, .lifestyle-title-small a:hover { color: #0A80F7; }
.lifestyle-meta { font-size: 13px; color: #64748b; margin-bottom: 12px; }
.lifestyle-intro { font-size: 14px; color: #475569; line-height: 1.6; }
