/*
Theme Name: Penscratch Enfant
Theme URI: https://radio-emeraude.fr
Description: Thème enfant de Penscratch pour Radio Emeraude
Author: Radio Emeraude
Author URI: https://radio-emeraude.fr
Template: penscratch
Version: 1.0.0
Text Domain: penscratch-enfant
*/

@media (max-width: 768px) {
  .site-content {
    display: flex;
    flex-direction: column;
  }
  #primary {
    order: 2;
  }
  #secondary {
    order: 1;
  }
  #secondary .widget:not(.widget_search):not(#block-7) {
    display: none;
  }
}
/* Bandeau en haut */
#masthead {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    padding-bottom: 0;
}
#masthead::before {
    content: '';
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 32%;
    background-image: url('https://radio-emeraude.fr/wp-content/uploads/2026/07/Bandeau-Radio-Emeraude-937-300a.jpg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
}
.site-branding {
    margin-top: 10px;
    margin-bottom: 0;
}
.main-navigation {
    margin-top: 5px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}
.main-navigation ul {
    margin-top: 0;
    margin-bottom: 0;
}
.site-content {
    margin-top: 0;
    padding-top: 0;
}
.hentry {
    margin-top: 15px;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
}
#secondary {
    border-top: none;
}
.widget_search {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}
.site-content::before {
    border: none !important;
    display: none !important;
}
#masthead::after {
    display: none !important;
}
.main-navigation::before,
.main-navigation::after {
    display: none !important;
}
.widget {
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
}
/* UM - Champs obligatoires */
.um-field.um-field-required .um-field-label label::after {
    content: " *";
    color: #e74c3c;
    font-weight: bold;
}
/* UM - Astérisque champs obligatoires */
.um .um-field-required .um-field-label label:after,
.um .um-field.um-field-required .um-field-label label:after,
.um-field-required .um-field-label:after,
.um .um-field-required label:after {
    content: " *";
    color: #e74c3c;
    font-weight: bold;
}