/*
 Theme Name: Astra Child
 Template:     astra
 Author:       Gemini
 Version:      1.0.5
*/

/* --- GLOBAL STYLES --- */
.entry-title, .entry-header { display: none !important; }
body { background-color: #f8f5f0 !important; }

.animate-text, .hero-title, .hero-title h1 {
    color: #ffffff !important;
    font-style: italic !important;
}

.site-title a { 
    font-family: 'Playfair Display', serif !important; 
    font-weight: 700 !important; 
    font-size: 24px !important; 
    color: #c5a059 !important; 
    font-style: italic !important;
}

/* --- MOBILE HEADER CLEANUP --- */
@media (max-width: 921px) {
    /* 1. HIDE THE TEXT TITLE ON MOBILE TO SAVE SPACE */
    .site-title {
        display: none !important;
    }

    /* 2. ENSURE LOGO IS LEFT */
    .site-branding {
        display: block !important;
        margin-right: auto !important;
    }

    /* 3. FORCE FLEX ROW FOR THE WHOLE BAR */
    .ast-primary-header-bar .site-primary-header-wrap,
    .ast-mobile-header-wrap .ast-primary-header-bar,
    .ast-primary-header-bar {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }

    /* 4. POSITION FLAGS */
    .gtranslate_wrapper, .menu-item-gtranslate {
        margin-left: auto !important;
        margin-right: 20px !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
    }

    /* 5. POSITION MENU TOGGLE */
    .ast-mobile-menu-trigger-wrapper {
        margin: 0 !important;
        display: flex !important;
        position: relative !important;
    }

    /* Keep logo size sensible */
    .site-logo-img img {
        max-height: 45px !important;
        width: auto !important;
    }
}
