/*
Theme Name: MotivaHit Radio Child
Theme URI: https://motivahit.es
Author: MOTIVAHIT
Description: Tema hijo oficial y estable para personalizaciones de MOTIVAHIT.
Template: motivahit-radio
Version: 1.0.4
Text Domain: motivahit-radio-child
*/

/*
 * MotivaHit Radio Child 1.0.2
 * El CSS principal se carga expresamente desde el tema padre.
 * Este archivo contiene únicamente ajustes propios del tema hijo.
 */

html,
body {
  margin: 0;
  padding: 0;
}

body.home,
body.mh-is-front-page {
  background: #0d0d10;
}

body.home .site-main,
body.mh-is-front-page .site-main,
body.home .mh-home-fullwidth,
body.mh-is-front-page .mh-home-fullwidth {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.home .site-main > .mh-content,
body.mh-is-front-page .site-main > .mh-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.home .mhdi-home-101,
body.mh-is-front-page .mhdi-home-101,
body.home .mhdi-home-hero-101,
body.mh-is-front-page .mhdi-home-hero-101 {
  margin-top: 0;
  margin-bottom: 0;
}

body.home .mhdi-home-hero-101,
body.mh-is-front-page .mhdi-home-hero-101 {
  border-radius: 0;
}

body.home .site-footer,
body.mh-is-front-page .site-footer {
  margin-top: 0;
}

body.home .entry-content > p:empty,
body.mh-is-front-page .entry-content > p:empty,
body.home .entry-content > .wp-block-spacer:first-child,
body.home .entry-content > .wp-block-spacer:last-child {
  display: none !important;
}

/* Componentes heredados que no deben duplicarse en la portada. */
body.home .mhdi-pro-footer,
body.mh-is-front-page .mhdi-pro-footer,
body.home .mhdi-editorial-extra,
body.mh-is-front-page .mhdi-editorial-extra,
body.home #mhdi-history-section-40,
body.mh-is-front-page #mhdi-history-section-40 {
  display: none !important;
}


/* MotivaHit Radio Child 1.0.3 — eliminar footer inferior */
.site-footer,
footer.site-footer,
#colophon,
.footer-bottom,
.site-info,
.mh-footer {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

body,
.site,
.site-content,
.site-main {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}


/* MotivaHit Radio Child 1.0.4 — footer mínimo de copyright */
.motivahit-copyright-footer {
  width: 100%;
  margin: 0;
  padding: 16px 20px;
  box-sizing: border-box;
  background: #0d0d10;
  color: #ffffff;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.motivahit-copyright-footer a {
  color: inherit;
  text-decoration: none;
}

.motivahit-copyright-footer a:hover,
.motivahit-copyright-footer a:focus {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .motivahit-copyright-footer {
    padding: 14px 16px;
    font-size: 13px;
  }
}
