/*
Theme Name: gemini-mycdo
Theme URI: https://mycdo.net
Author: der-mali
Description:
Version: 20251209.4
*/

/* =========================================
   1. BASIS & GLOBAL STYLES
   ========================================= */
body {
    background-color: #DDDDDD;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
}

#page-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #135288;
    display: flex;
    flex-direction: column;
    position: relative;
}

@media (min-width: 1024px) {
    #page-container {
        box-shadow: 10px 10px 0 0 grey;
    }
}

a {
    color: black;
    text-decoration: none;
}

a:hover {
    color: red;
}

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */

/* Header Container */
.header-container, .footer-container {
    background: #135288;
    color: white !important;
    position: relative;
    padding: 10px;
}

.header-container a {
    color: white !important;
}

.header-container a:hover {
    color: red !important;
}

/* Desktop Header */
header#masthead.site-header {
    display: block;
    background: #135288;
    padding: 20px;
    text-align: center;
}

.site-branding img {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    margin: 0 auto;
}

/* Desktop Navigation */
.desktop-navigation {
    margin-top: 10px !important;
}

/* Span Navigation Items */
span.active,
span:not(.active) {
    display: inline-block;
    margin: 0;
}

.active-menu-item, .navi-passive {
    float: left;
    padding: 10px 20px;
    font-weight: normal;
    margin-bottom: -10px !important;
}

.active-menu-item {
    background: white;
    color: black !important;
    border-radius: 5px 5px 0 0;
    cursor: default;
}

.navi-passive a {
    display: block;
    color: white;
    text-decoration: none;
    border-radius: 5px 5px 0 0;
    transition: all 0.3s ease;
}

.navi-passive a:hover {
    color: red;
}

/* =========================================
   3. MOBILE HEADER & MENU
   ========================================= */

/* Mobile Header */
.mobile-header {
    display: none;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 20px;
    background: #135288;
    min-height: 70px;
}

.mobile-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-grow: 1;
}

.mobile-logo img {
    max-height: 40px;
    width: auto;
    display: block;
}

.mobile-title h1 {
    margin: 0;
    font-size: 16px;
    color: white;
    font-weight: normal;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-title p {
    margin: 4px 0 0 0;
    font-size: 12px;
    color: white;
    opacity: 0.9;
    line-height: 1.3;
}

.mobile-header .menu-toggle {
    font-size: 28px;
    color: white;
    cursor: pointer;
    padding: 5px 10px;
    align-self: flex-start;
    margin-top: 5px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    order: 2;
}

.mobile-header .menu-toggle:hover {
    transform: scale(1.1);
    color: black;
}

/* Mobile Slide-In Menu */
.mobile-menu-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
/*	height: 100vh;	*/
    background: #135288;
    z-index: 1001 !important;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 15px rgba(0,0,0,0.3);
    overflow-y: auto;
}

.mobile-menu-container.toggled {
    right: 0;
}

.mobile-menu-container .menu-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 35px;
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1002;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.mobile-menu-container .menu-close-btn:hover {
    color: black !important;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.mobile-menu-container ul {
    list-style: none;
    margin: 0;
    padding: 70px 0 0 0;
}

.mobile-menu-container li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-container li a {
    color: white !important;
    text-decoration: none !important;
    padding: 15px 20px;
    font-size: 18px;
    display: block;
    transition: all 0.3s ease;
	text-align: right; 
}

.mobile-menu-container li a:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: black !important;
}

/* =========================================
   4. OVERLAY
   ========================================= */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000 !important;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

body.menu-is-open .menu-overlay {
    display: block;
    opacity: 1;
}


/* =========================================
   5. CONTENT AREA
   ========================================= */
.content-container {
    padding: 10px;
	background: white;
    color: black;
}


/* =========================================
   6. FOOTER
   ========================================= */
.footer-container, .footer-colophon {
    text-align: center;
}

.footer-colophon {
    max-width: 1000px;
    margin: 0 auto;
    color: black;
    background-color: transparent;
}

.footer-colophon a {
    color: black !important;
    text-decoration: none;
}

.footer-colophon a:hover {
    color: red !important;
}

/* =========================================
   7. TYPOGRAPHY
   ========================================= */
h1, h2 {
    text-transform: uppercase;
}

h1 {
    letter-spacing: 3px;
}

h2 {
    letter-spacing: 2px;
}

h3 {
    letter-spacing: 1px;
}

h1, h2, h3 {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
	font-weight: normal;
}

h1.red, h1.green, h1.yellow, h2.subtitle, h2.red, h2.green, h2.yellow, h2.blue, h2.gold {
    padding: 0;
    margin: 0;
    letter-spacing: 0;
	display: inline-block;
	text-transform: none;
	font-weight: normal;
}

h1.red, h1.green, h1.yellow {
    font-size: 4em;
}

h2.subtitle, h2.red, h2.green, h2.yellow {
    font-size: 2em;
}

h1.red, h2.red {
	color: red;
}

h1.green, h2.green {
	color: #00FF00;
}

h1.yellow, h2.yellow {
	color: yellow;
}

h2.blue {
	color: blue;
}

h2.gold {
	color: gold;
}

h1.red:hover,
h1.green:hover,
h1.yellow:hover,
h2.subtitle a:hover {
    color: red !important;
}

/* =========================================
   8. RESPONSIVE BREAKPOINTS
   ========================================= */

/* Mobile Typography */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 19px;
        letter-spacing: 1.5px;
    }
    
    h2 {
        font-size: 18px;
        letter-spacing: 1.0px;
    }
    
    .header-container h2, .footer-container h2 {
        padding: 0 !important;
        margin: 0 !important;
        font-weight: normal !important;
        letter-spacing: 0;
    }
    
    h3 {
        font-size: 17px;
        letter-spacing: 0.5px;
    }
    
    h4 {
        font-size: 16px;
        letter-spacing: 0;
    }
}

/* Mobile Only */
@media screen and (max-width: 768px) {
    .mobile-header {
        display: flex;
    }
	
	h1.red, h1.green, h1.yellow {
		font-size: 2em;
	}

	h2.subtitle {
		font-size: 1em;
		font-weight: normal;
	}

    .desktop-navigation,
    header#masthead.site-header,
    .header-top-navigation {
        display: none !important;
    }
    
    /* Small Mobile Adjustments */
    @media screen and (max-width: 480px) {
        .mobile-header {
            padding: 8px 15px;
            min-height: 60px;
        }
        
        .mobile-title h1 {
            font-size: 14px;
        }
        
        .mobile-title p {
            font-size: 11px;
        }
        
        .mobile-logo img {
            max-height: 35px;
        }
        
        .mobile-header .menu-toggle {
            font-size: 24px;
            padding: 4px 8px;
        }
    }
    
    @media screen and (max-width: 360px) {
        .mobile-title h1 {
            font-size: 12px;
        }
        
        .mobile-title p {
            font-size: 10px;
        }
        
        .mobile-header-left {
            gap: 10px;
        }
    }
}

/* Desktop Only */
@media screen and (min-width: 769px) {
    .mobile-header,
    .mobile-menu-container {
        display: none;
    }
}

/* =========================================
   9. SPECIAL COMPONENTS
   ========================================= */

/* Inline Page List */
.inline-page-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    gap: 20px;
}

.inline-page-list li {
    margin: 0;
}

.inline-page-list li a {
    color: white !important;
    font-size: 14px;
    padding: 5px 10px;
    display: inline-block;
}

.inline-page-list li a:hover {
    color: red !important;
}

@media screen and (max-width: 768px) {
    .inline-page-list {
        flex-direction: column;
        gap: 15px;
    }
    
    .inline-page-list li a {
        font-size: 16px;
        padding: 10px;
    }
}

/* Menu Columns */
.menu-columns {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.menu-column-left,
.menu-column-right {
    flex: 1;
}

@media screen and (max-width: 768px) {
    .menu-columns {
        flex-direction: column;
        gap: 20px;
    }
}

/* Platform Links */
.menu-platform-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}


/* =========================================
   10. HELPER CLASSES
   ========================================= */
   
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.p-10 { padding: 10px; }
.p-20 { padding: 20px; }

/* Hide old navigation */
.header-top-navigation {
    display: none !important;
}

/* Reduziert den Abstand der WordPress-Standardklassen */
.entry-header {
    margin-top: 20px !important;  /* Statt ~80px */
    margin-bottom: 20px !important;
}


/* =========================================
   11. FIXES FÜR SPALTEN & ABSTÄNDE
   ========================================= */

/* Reduziert den Abstand der WordPress-Standardklassen */
.entry-header {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

/* Verhindert zusätzlichen Abstand bei Spalten-Nutzung */
.entry-content .one_half:first-child,
.entry-content .one_third:first-child,
.entry-content .two_third:first-child {
    margin-top: 0 !important;
}

/* Flexbox für gleiche Spaltenhöhe */
.one_third, .two_third, .one_half {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 1px;
}

/* Mobile: Flexbox deaktivieren */
@media (max-width: 768px) {
    .one_third, .two_third, .one_half {
        display: block;
    }
}