/*
 Theme Name:   MotivaHit ProRadio Child
 Theme URI:    https://motivahit.es/
 Description:  Tema hijo oficial de MOTIVAHIT para ProRadio. Integra la identidad visual y el reproductor nativo del tema.
 Author:       MOTIVAHIT
 Author URI:   https://motivahit.es/
 Template:     proradio
 Version:      2.3.0
 License:      GNU General Public License v2 or later
 Text Domain:  motivahit-proradio-child
*/

/* =========================================================
   MOTIVAHIT · SISTEMA VISUAL
   ========================================================= */

:root{
  --mh-orange:#FD800A;
  --mh-orange-hover:#FF9A18;
  --mh-black:#070707;
  --mh-charcoal:#151515;
  --mh-panel:#1D1D1D;
  --mh-border:#303030;
  --mh-white:#F4F1E8;
  --mh-muted:#A7A7A7;
}

/* Fondo y tipografía general */
html,body,
#proradio-body,
.proradio-master{
  background:var(--mh-black)!important;
  color:var(--mh-white)!important;
}

body,
button,
input,
textarea,
select{
  font-family:Inter,Segoe UI,Arial,sans-serif;
}

/* Eliminar rojos heredados del tema */
a,
.proradio-accent,
.proradio-primary,
.proradio-caption,
.proradio-meta a:hover{
  color:var(--mh-orange);
}

a:hover{
  color:var(--mh-orange-hover);
}

#proradio-body .proradio-master .proradio-btn,
#proradio-body .proradio-master .proradio-btn-primary,
#proradio-body .proradio-master button,
#proradio-body .proradio-master input[type="submit"],
#proradio-body .proradio-master .elementor-button{
  background:var(--mh-orange)!important;
  border-color:var(--mh-orange)!important;
  color:#111!important;
  border-radius:10px;
  box-shadow:none!important;
}

#proradio-body .proradio-master .proradio-btn:hover,
#proradio-body .proradio-master .proradio-btn-primary:hover,
#proradio-body .proradio-master button:hover,
#proradio-body .proradio-master input[type="submit"]:hover,
#proradio-body .proradio-master .elementor-button:hover{
  background:var(--mh-orange-hover)!important;
  border-color:var(--mh-orange-hover)!important;
  color:#111!important;
}

/* Cabecera y logos */
.proradio-menu-horizontal,
.proradio-headerbar,
.proradio-menu{
  background:rgba(7,7,7,.96)!important;
  border-bottom:1px solid var(--mh-border);
}

.proradio-logo img,
.proradio-logo_header img,
.proradio-logo_header_transparent img{
  width:auto!important;
  max-width:360px!important;
  max-height:80px!important;
  object-fit:contain;
}

.proradio-logo_header_mob img{
  width:auto!important;
  max-width:280px!important;
  max-height:55px!important;
  object-fit:contain;
}

/* Oculta cualquier logo utilizado como hero accidental */
.elementor-widget-image.motivahit-hero-logo,
.mh-hero-brand{
  display:none!important;
}

/* Menú */
.proradio-menu a,
.proradio-menu-horizontal a{
  color:var(--mh-white)!important;
}

.proradio-menu a:hover,
.proradio-menu .current-menu-item>a,
.proradio-menu-horizontal a:hover,
.proradio-menu-horizontal .current-menu-item>a{
  color:var(--mh-orange)!important;
}

/* Tarjetas y superficies */
.proradio-card,
.proradio-scard,
.proradio-pcard,
.proradio-post,
.proradio-entrycontent,
.elementor-widget-container{
  border-color:var(--mh-border);
}

.proradio-paper,
.proradio-bg-paper,
.proradio-scard__con,
.proradio-pcard__con{
  background:var(--mh-charcoal)!important;
}

/* Reproductor nativo ProRadio / QTM Player */
.qtmplayer__container,
.qtmplayer-player,
.qtmplayer__playlist,
.qtmplayer__playlistcontainer{
  background:rgba(7,7,7,.98)!important;
  color:var(--mh-white)!important;
  border-color:var(--mh-border)!important;
}

.qtmplayer__controls,
.qtmplayer__track,
.qtmplayer__title,
.qtmplayer__artist{
  color:var(--mh-white)!important;
}

.qtmplayer-play-btn,
.qtmplayer__play,
.qtmplayer__toggle,
.qtmplayer__btn,
.qtmplayer__volume{
  color:var(--mh-orange)!important;
  border-color:var(--mh-orange)!important;
}

.qtmplayer__bar,
.qtmplayer__progress,
.qtmplayer__waveform-play,
.qtmplayer__buffer{
  background-color:var(--mh-orange)!important;
}

.qtmplayer__cover img,
.qtmplayer__art img{
  object-fit:cover;
}

/* Footer */
.proradio-footer,
.proradio-footerbar{
  background:#050505!important;
  border-top:1px solid var(--mh-border);
  color:var(--mh-muted)!important;
}

.proradio-footer a{
  color:var(--mh-white)!important;
}

.proradio-footer a:hover{
  color:var(--mh-orange)!important;
}

.motivahit-footer-brand{
  display:block;
  max-width:300px;
  width:100%;
  height:auto;
  margin:0 0 18px;
}

/* Formularios */
input,textarea,select{
  background:#101010!important;
  border:1px solid var(--mh-border)!important;
  color:var(--mh-white)!important;
  border-radius:10px!important;
}

input:focus,textarea:focus,select:focus{
  border-color:var(--mh-orange)!important;
  outline:none;
  box-shadow:0 0 0 2px rgba(253,128,10,.18);
}

/* Responsive */
@media(max-width:767px){
  .proradio-logo img,
  .proradio-logo_header img,
  .proradio-logo_header_transparent img{
    max-width:210px!important;
    max-height:55px!important;
  }
}

/* Accesibilidad */
:focus-visible{
  outline:3px solid var(--mh-orange)!important;
  outline-offset:3px;
}


/* =========================================================
   PORTADA MOTIVAHIT 2.1
   ========================================================= */
.mh-home{background:var(--mh-black);color:var(--mh-white);overflow:hidden}
.mh-wrap{width:min(1180px,calc(100% - 40px));margin:auto}
.mh-home-hero{position:relative;min-height:72vh;display:flex;align-items:center;padding:90px 0;background:
radial-gradient(circle at 78% 24%,rgba(253,128,10,.28),transparent 34%),
linear-gradient(135deg,#050505 0%,#0c0c0c 62%,#1b0d03 100%)}
.mh-home-hero:after{content:"";position:absolute;inset:auto -5% -120px 35%;height:260px;background:var(--mh-orange);opacity:.08;filter:blur(70px);transform:rotate(-8deg)}
.mh-home-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.25fr .75fr;gap:60px;align-items:center}
.mh-kicker{display:inline-flex;align-items:center;gap:9px;color:var(--mh-orange);font-weight:900;letter-spacing:.18em;text-transform:uppercase;font-size:12px}
.mh-kicker:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--mh-orange);box-shadow:0 0 0 6px rgba(253,128,10,.12)}
.mh-home h1{font:900 clamp(48px,8vw,104px)/.91 "Arial Black",Inter,Arial,sans-serif;letter-spacing:-.065em;margin:25px 0 24px;color:#fff}
.mh-home h1 span{color:var(--mh-orange)}
.mh-lead{max-width:690px;color:#c5c5c5;font-size:clamp(18px,2vw,24px);line-height:1.55}
.mh-actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:30px}
.mh-home-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:15px 22px;border-radius:12px;text-decoration:none!important;font-weight:900;text-transform:uppercase;letter-spacing:.04em;background:var(--mh-orange);color:#111!important;border:1px solid var(--mh-orange)}
.mh-home-btn:hover{background:var(--mh-orange-hover);border-color:var(--mh-orange-hover)}
.mh-home-btn.alt{background:transparent;color:#fff!important;border-color:#4a4a4a}
.mh-live-card{background:linear-gradient(145deg,#1a1a1a,#0f0f0f);border:1px solid #333;border-radius:28px;padding:28px;box-shadow:0 28px 80px rgba(0,0,0,.35)}
.mh-live-card img{display:block;width:96px;height:96px;border-radius:22px;object-fit:cover;margin-bottom:22px}
.mh-live-card small{color:var(--mh-orange);font-weight:900;text-transform:uppercase;letter-spacing:.12em}
.mh-live-card h2{font-size:30px;margin:8px 0;color:#fff}
.mh-live-card p{color:#aaa;line-height:1.6}
.mh-native-player{margin-top:22px}
.mh-native-player .qtmplayer-play-circle,
.mh-native-player .qtmplayer-play-button,
.mh-native-player a[data-qtmplayer-playbtn]{transform:scale(1.05);transform-origin:left center}
.mh-section{padding:84px 0;background:#0b0b0b}
.mh-section.alt{background:#111}
.mh-section-head{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:34px}
.mh-section h2{font:900 clamp(34px,5vw,58px)/1 "Arial Black",Inter,Arial,sans-serif;color:#fff;margin:0}
.mh-section h2 span{color:var(--mh-orange)}
.mh-section-head p{max-width:540px;color:#999;line-height:1.65;margin:0}
.mh-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.mh-card{background:#171717;border:1px solid #303030;border-radius:22px;padding:25px;min-height:220px}
.mh-card .num{display:block;color:var(--mh-orange);font-size:12px;font-weight:900;letter-spacing:.14em;margin-bottom:30px}
.mh-card h3{color:#fff;font-size:23px;margin:0 0 12px}
.mh-card p{color:#999;line-height:1.65}
.mh-news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.mh-news-item{background:#171717;border:1px solid #303030;border-radius:20px;overflow:hidden}
.mh-news-item img{width:100%;height:210px;object-fit:cover;display:block}
.mh-news-body{padding:21px}
.mh-news-item time{font-size:12px;color:var(--mh-orange);font-weight:800}
.mh-news-item h3{font-size:21px;line-height:1.25;margin:10px 0 0;color:#fff}
.mh-news-item a{text-decoration:none}
.mh-news-empty{padding:30px;border:1px dashed #444;border-radius:18px;color:#aaa}
.mh-strip{padding:32px 0;background:var(--mh-orange);color:#111}
.mh-strip-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}
.mh-strip strong{font:900 clamp(24px,4vw,42px)/1 "Arial Black",Inter,Arial,sans-serif}
.mh-strip .mh-home-btn{background:#111;border-color:#111;color:#fff!important}
@media(max-width:900px){
  .mh-home-grid{grid-template-columns:1fr}
  .mh-live-card{max-width:560px}
  .mh-cards,.mh-news-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .mh-wrap{width:min(100% - 24px,1180px)}
  .mh-home-hero{padding:65px 0;min-height:auto}
  .mh-cards,.mh-news-grid{grid-template-columns:1fr}
  .mh-section-head,.mh-strip-inner{align-items:flex-start;flex-direction:column}
  .mh-home h1{font-size:52px}
}


/* Integración con el pack de contenido */
.mh-content-page{background:#0b0b0b;color:#f4f1e8;padding:70px 0 100px}
.mh-content-shell{width:min(1180px,calc(100% - 40px));margin:auto}
.mh-content-hero{padding:70px 0 45px;background:radial-gradient(circle at 80% 10%,rgba(253,128,10,.20),transparent 30%),#070707}
.mh-content-hero h1{margin:0;font:900 clamp(42px,7vw,76px)/.98 "Arial Black",Inter,Arial,sans-serif;color:#fff;letter-spacing:-.05em}
.mh-content-hero h1 span{color:#FD800A}
.mh-content-hero p{max-width:760px;color:#bbb;font-size:20px;line-height:1.6}
.mh-content-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.mh-content-card{background:#171717;border:1px solid #303030;border-radius:20px;padding:24px}
.mh-content-card h3{color:#fff;margin:0 0 10px;font-size:23px}
.mh-content-card p{color:#aaa;line-height:1.65}
.mh-content-card a{color:#FD800A;font-weight:800}
.mh-page-copy{max-width:850px;color:#d1d1d1;font-size:18px;line-height:1.8}
.mh-page-copy h2{color:#fff;font-size:34px;margin-top:42px}
.mh-page-copy h3{color:#fff;font-size:25px;margin-top:32px}
.mh-page-copy a{color:#FD800A}
.mh-schedule-table{width:100%;border-collapse:collapse;background:#151515;border-radius:18px;overflow:hidden}
.mh-schedule-table th,.mh-schedule-table td{padding:17px;border-bottom:1px solid #303030;text-align:left}
.mh-schedule-table th{background:#FD800A;color:#111}
.mh-top-list{display:grid;gap:12px;counter-reset:rank}
.mh-top-item{counter-increment:rank;display:grid;grid-template-columns:55px 1fr auto;gap:16px;align-items:center;background:#171717;border:1px solid #303030;border-radius:15px;padding:17px}
.mh-top-item:before{content:counter(rank,decimal-leading-zero);font-weight:900;color:#FD800A;font-size:23px}
.mh-form{display:grid;gap:15px;max-width:760px}
.mh-form label{font-weight:800;color:#fff}
.mh-form input,.mh-form textarea,.mh-form select{width:100%;box-sizing:border-box;padding:14px}
.mh-form button{justify-self:start}
.mh-notice{padding:15px;border-radius:12px;margin-bottom:18px}
.mh-notice.ok{background:#12371f;color:#d7ffe2}
.mh-notice.error{background:#3b1515;color:#ffdada}
.mh-legal-warning{background:#3b2410;border:1px solid #FD800A;padding:16px;border-radius:12px;color:#ffe4bf}
@media(max-width:800px){.mh-content-grid{grid-template-columns:1fr}.mh-top-item{grid-template-columns:45px 1fr}.mh-top-item span:last-child{display:none}}


/* =========================================================
   CORRECCIÓN DEFINITIVA DE MARCA Y COLOR · 2.3
   Se carga después de todo el CSS generado por ProRadio.
   ========================================================= */
:root,html,body{
 --proradio-accent:#FD800A!important;
 --proradio-accent-hov:#FF9A18!important;
 --proradio-title-fx-col1:#FD800A!important;
 --proradio-title-fx-col2:#FF9A18!important;
 --proradio-btn-bg-one:#FD800A!important;
 --proradio-btn-bg-one-h:#FF9A18!important;
 --proradio-btn-bg-two:rgba(253,128,10,0)!important;
 --proradio-btn-text-color--default:#070707!important;
 --proradio-header-grad-one:#151515!important;
 --proradio-header-grad-two:#070707!important;
 --proradio-colors-ink:#F4F1E8!important;
 --proradio-colors-paper:#151515!important;
 --prum-colors-paper:#151515!important;
}

/* Todos los elementos de acento del frontend */
#proradio-global .proradio-accent,
#proradio-global .proradio-primary,
#proradio-global .proradio-caption,
#proradio-global a:hover,
#proradio-global .current-menu-item>a,
#proradio-global .current_page_item>a,
#proradio-global .proradio-meta a:hover,
#proradio-global .material-icons.proradio-accent,
#proradio-global .proradio-icon-accent{
 color:#FD800A!important;
}

#proradio-global .proradio-btn,
#proradio-global a.proradio-btn,
#proradio-global button:not(.qtmplayer__volume):not(.qtmplayer__playlistbtn),
#proradio-global input[type=submit],
#proradio-global .elementor-button,
#proradio-global .proradio-chip,
#proradio-global .proradio-tag,
#proradio-global .proradio-pagination .current,
#proradio-global .proradio-loadmore{
 background-color:#FD800A!important;
 background-image:none!important;
 border-color:#FD800A!important;
 color:#070707!important;
}

#proradio-global .proradio-btn:hover,
#proradio-global a.proradio-btn:hover,
#proradio-global button:hover,
#proradio-global input[type=submit]:hover,
#proradio-global .elementor-button:hover{
 background-color:#FF9A18!important;
 border-color:#FF9A18!important;
 color:#070707!important;
}

/* ProRadio contiene un rojo literal en el efecto del menú */
.proradio-menu-horizontal .proradio-menubar>li>a::before,
.proradio-menu-horizontal .proradio-menubar>li>a::after{
 border-color:#FD800A!important;
}
.proradio-menu-horizontal .proradio-menubar>li ul li a{
 background-image:linear-gradient(90deg,#FD800A,#FF9A18)!important;
}
.proradio-menu-horizontal .proradio-menubar>li ul li:hover>a{
 background-color:#FD800A!important;
 color:#070707!important;
}

/* Iconos sociales y cabeceras secundarias */
.proradio-soc-icon,
.proradio-social a,
.proradio-footer .proradio-soc-icon,
.proradio-offcanvas .proradio-soc-icon{
 background:#FD800A!important;
 color:#070707!important;
}
.proradio-soc-icon:hover,
.proradio-social a:hover{
 background:#FF9A18!important;
 color:#070707!important;
}
.proradio-secondaryhead,
.proradio-secondary-header{
 background:#151515!important;
}

/* Votaciones, charts, eventos, indicadores y badges */
.proradio-chartvote__bar,
.proradio-chartvote__progress,
.proradio-chartvote__btn,
.proradio-countdown__item,
.proradio-event__date,
.proradio-badge,
.proradio-pill,
.proradio-onair,
.proradio-nowonair,
.proradio-schedule__onair,
.proradio-dot,
.proradio-indicator{
 background-color:#FD800A!important;
 border-color:#FD800A!important;
 color:#070707!important;
}
.proradio-chartvote__icon,
.proradio-chartvote .material-icons,
.proradio-event__icon{
 color:#FD800A!important;
}

/* Player nativo */
#qtmplayer,
.qtmplayer__container,
.qtmplayer-player,
.qtmplayer__playlist,
.qtmplayer__playlistcontainer{
 background:#070707!important;
 color:#F4F1E8!important;
 border-color:#303030!important;
}
#qtmplayer .qtmplayer__play,
#qtmplayer .qtmplayer-play,
#qtmplayer .qtmplayer__playmob,
#qtmplayer .qtmplayer__prev,
#qtmplayer .qtmplayer__next,
#qtmplayer .qtmplayer__volume,
#qtmplayer .qtmplayer__playlistbtn,
#qtmplayer .material-icons{
 color:#FD800A!important;
}
#qtmplayer .qtmplayer__progress,
#qtmplayer .qtmplayer__bar,
#qtmplayer .qtmplayer__waveform-play,
#qtmplayer .qtmplayer__seekbar progress,
#qtmplayer .qtmplayer__volume-value{
 background:#FD800A!important;
 accent-color:#FD800A!important;
}

/* Logo real: jamás muestra tres logos simultáneamente */
.proradio-menu__logo .proradio-logo_header_mob,
.proradio-menu__logo .proradio-logo_header,
.proradio-menu__logo .proradio-logo_header_transparent{
 display:none!important;
}
.motivahit-native-logo{display:block;line-height:0;flex:0 0 auto}
.motivahit-native-logo picture,
.motivahit-native-logo img{display:block}
.motivahit-native-logo img{
 width:360px!important;
 max-width:28vw!important;
 height:auto!important;
 max-height:80px!important;
 object-fit:contain!important;
}
.proradio-menu__logo,
.proradio-logolink{
 width:auto!important;
 max-width:none!important;
 overflow:visible!important;
}
@media(max-width:1199px){
 .motivahit-native-logo img{width:280px!important;max-width:48vw!important;max-height:55px!important}
}
@media(max-width:600px){
 .motivahit-native-logo img{width:230px!important;max-width:62vw!important;max-height:50px!important}
}

/* Footer: una única versión y sin duplicados */
.motivahit-footer-brand{width:300px!important;max-width:min(80vw,300px)!important;height:auto!important}
footer .motivahit-footer-brand~.motivahit-footer-brand,
.proradio-footer .motivahit-footer-brand~.motivahit-footer-brand{display:none!important}
