/*
Theme Name: Astra Child
Template: astra
Version: 1.0
*/

/* ============ CIBLE EXACTE : ast-container ============ */
@media (min-width: 922px) {
    body .ast-container,
    body div.ast-container,
    body #content .ast-container,
    body .site-content .ast-container,
    body .site-content > .ast-container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (min-width: 544px) {
    body .ast-container {
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* ============ KILL FLEX FOR FULL WIDTH ============ */
@media (min-width: 922px) {
    body .site-content .ast-container {
        display: block !important;
    }
}

/* ============ KILL SIDEBAR ============ */
body #secondary,
body .widget-area {
    display: none !important;
    width: 0 !important;
}

/* ============ FORCE PRIMARY TO 100% ============ */
body #primary,
body .content-area,
body main {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ============ KILL DEFAULT TITLES ============ */
body .entry-header,
body .ast-archive-description,
body .ast-page-header,
body h1.entry-title.ast-archive-title {
    display: none !important;
}

/* ============ BODY/HTML CLEAN ============ */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
}
/* ============================================
   MENU — couleurs forcées
   ============================================ */

/* Texte du menu : toujours café foncé */
.main-header-menu .menu-item > a,
.main-navigation .menu-item > a,
nav.main-header-menu a,
nav.site-navigation a,
.ast-builder-menu a,
header .menu-item a,
header nav a {
    color: #3D2817 !important;
    transition: color 0.3s !important;
}

/* Au survol : passe en terracotta */
.main-header-menu .menu-item > a:hover,
.main-navigation .menu-item > a:hover,
nav.main-header-menu a:hover,
nav.site-navigation a:hover,
.ast-builder-menu a:hover,
header .menu-item a:hover,
header nav a:hover {
    color: #B8654A !important;
}

/* Page active (current) : terracotta */
.main-header-menu .current-menu-item > a,
.main-header-menu .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
nav .current-menu-item > a,
nav .current_page_item > a {
    color: #B8654A !important;
    font-weight: 600 !important;
}

/* Au focus/clic : pas de blanc */
.main-header-menu .menu-item > a:focus,
.main-header-menu .menu-item > a:active,
nav .menu-item > a:focus,
nav .menu-item > a:active {
    color: #B8654A !important;
    background: transparent !important;
    outline: none !important;
}