/*
Theme Name: Hello Elementor Child
Theme URI: https://www.solucionweb.com/
Description: Tema hijo personalizado para Hello Elementor con login privado, reglas de acceso, botones flotantes configurables, WhatsApp, shortcodes básicos administrables y seguridad antispam para formularios.
Author: Solución Web
Author URI: https://www.solucionweb.com/
Template: hello-elementor
Version: 2.4.4
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: custom-login, translation-ready, elementor, child-theme
*/




/* === Day & Night: excepciones centralizadas de Elementor === */
/* Estas reglas cubren únicamente comportamientos no disponibles como controles nativos. */

/* Navegación y selector de idioma */
.elementor-element-dnhlang ul{display:flex!important;gap:8px!important;align-items:center;list-style:none;margin:0!important;padding:0!important}
.elementor-element-dnhlang li.cpel-switcher__lang--active{order:-1}
.elementor-element-dnhlang li.cpel-switcher__lang--active:after{content:"|";color:#5f471a;margin-left:8px}
.elementor-element-dnhmenu .elementor-nav-menu--main .elementor-nav-menu{display:flex;flex-wrap:nowrap;justify-content:flex-end}
.elementor-element-dnhmenu .elementor-item{white-space:nowrap}
@media(min-width:960px){.elementor-element-dnhmenu .elementor-menu-toggle{display:none!important}}
@media(max-width:959px){
 .elementor-element-dnhmenu .elementor-menu-toggle{display:flex!important;width:auto!important;min-width:100px;height:34px;background:transparent!important;border:0!important;color:#147d83!important;font:700 20px "Open Sans",sans-serif;text-transform:uppercase;justify-content:flex-end;padding:0 10px!important}
 .elementor-element-dnhmenu .elementor-menu-toggle:after{content:" MENU";padding-left:7px}
 .elementor-element-dnhmenu .elementor-nav-menu--dropdown{position:fixed!important;right:0;top:130px;width:100%;z-index:999;background:#e39000}
 .elementor-element-dnhmenu .elementor-nav-menu--dropdown a{font:400 16px "Open Sans",sans-serif!important;color:#f5f3dc!important}
}



/* RESPONSIVE HEADER MENÚ */
@media (max-width: 959px) {
    .menu-texto .elementor-menu-toggle::after {
        content: " MENU";
        padding-left: 7px;
		font-weight: 600;
    }
}



/* Inicio */
.elementor-element-dnsabia{background-repeat:no-repeat!important;background-position:left top!important;background-size:960px 136px!important}
.elementor-element-dnsabia .elementor-heading-title{margin:0}
:is(.elementor-element-dnbdy01,.elementor-element-dnbdy02) p{margin:0}
:is(.elementor-element-dnimg1w,.elementor-element-dnimg2w) img{object-fit:cover}
@media(max-width:480px){
 .elementor-element-dnsabia{background-color:transparent!important;background-size:960px 136px!important;background-position:-215px 0!important}
 /*.elementor-element-dnblog0{background:#fff url("https://dayandnightcenter.kinsta.cloud/wp-content/uploads/2026/08/daynight-fondo.jpg") no-repeat center top;background-size:100% auto}*/
}

/* Banners interiores */
:is(.elementor-element-qualban,.elementor-element-asstban,.elementor-element-genrban,.elementor-element-extrban,[class*="elementor-element-pban"]){border-bottom:13px solid #f5f3dc}
:is(.elementor-element-qualbim,.elementor-element-asstbim,.elementor-element-genrbim,.elementor-element-extrbim,[class*="elementor-element-pbim"]) img{object-fit:cover}
.elementor-element-qualovr{left:50%!important;transform:translateX(-50%)}
[class*="elementor-element-pttl"]{left:50%!important;transform:translateX(-50%)}
:is(.elementor-element-qualovr,[class*="elementor-element-pttl"]) .elementor-heading-title{white-space:nowrap}
@media(max-width:959px){
 :is(.elementor-element-qualbim,.elementor-element-asstbim,.elementor-element-genrbim,.elementor-element-extrbim,[class*="elementor-element-pbim"]) img{height:auto!important}
}
@media(max-width:600px){
 :is(.elementor-element-qualovr,[class*="elementor-element-pttl"]) .elementor-heading-title{white-space:normal}
}

/* Índice editorial: el primer artículo ocupa las tres columnas */
.elementor-element-qualposts .elementor-posts-container{display:grid!important;grid-template-columns:repeat(3,310px)!important;column-gap:0!important;row-gap:0!important}
.elementor-element-qualposts article.elementor-post{box-sizing:border-box;width:310px!important;height:567px!important;padding:15px!important;margin:0!important;display:flex!important;flex-direction:column!important;background:#fff}
.elementor-element-qualposts article:nth-child(n){order:50}
.elementor-element-qualposts article.post-76,.elementor-element-qualposts article.post-144{order:1;grid-column:1/-1;width:940px!important;height:621.265625px!important}
.elementor-element-qualposts article.post-71,.elementor-element-qualposts article.post-134{order:2}
.elementor-element-qualposts article.post-67,.elementor-element-qualposts article.post-126{order:3}
.elementor-element-qualposts article.post-74,.elementor-element-qualposts article.post-140{order:4}
.elementor-element-qualposts article.post-73,.elementor-element-qualposts article.post-138{order:5}
.elementor-element-qualposts article.post-68,.elementor-element-qualposts article.post-128{order:6}
.elementor-element-qualposts article.post-72,.elementor-element-qualposts article.post-136{order:7}
.elementor-element-qualposts article.post-78,.elementor-element-qualposts article.post-148{order:8}
.elementor-element-qualposts article.post-77,.elementor-element-qualposts article.post-146{order:9}
.elementor-element-qualposts article.post-69,.elementor-element-qualposts article.post-130{order:10}
.elementor-element-qualposts article.post-75,.elementor-element-qualposts article.post-142{order:11}
.elementor-element-qualposts article.post-70,.elementor-element-qualposts article.post-132{order:12}
.elementor-element-qualposts .elementor-post__thumbnail__link{display:block!important;width:280px!important;height:272px!important;margin:0 0 18px!important;overflow:hidden}
.elementor-element-qualposts .elementor-post__thumbnail{padding-bottom:0!important;width:280px!important;height:272px!important}
.elementor-element-qualposts .elementor-post__thumbnail img{position:static!important;display:block!important;width:280px!important;height:272px!important;transform:none!important;object-fit:cover!important}
.elementor-element-qualposts article.post-76 .elementor-post__thumbnail__link,.elementor-element-qualposts article.post-144 .elementor-post__thumbnail__link{width:590px!important;height:424.765625px!important;margin:0 auto 14px!important;transform:translateX(15px)}
.elementor-element-qualposts article.post-76 .elementor-post__thumbnail,.elementor-element-qualposts article.post-144 .elementor-post__thumbnail,
.elementor-element-qualposts article.post-76 .elementor-post__thumbnail img,.elementor-element-qualposts article.post-144 .elementor-post__thumbnail img{width:590px!important;height:424.765625px!important}
.elementor-element-qualposts .elementor-post__text{width:280px!important}
.elementor-element-qualposts article.post-76 .elementor-post__text,.elementor-element-qualposts article.post-144 .elementor-post__text{width:590px!important;margin:0 auto!important;transform:translateX(15px)}
.elementor-element-qualposts .elementor-post__title{margin:0 0 8px!important}
.elementor-element-qualposts .elementor-post__excerpt{margin:0!important}
.elementor-element-qualposts .elementor-post__excerpt p{margin:0;text-align:justify}
.elementor-element-qualposts .elementor-post__read-more{margin-top:8px!important}
@media(max-width:959px){
 .elementor-element-qualposts{position:relative!important;inset:auto!important;width:100%!important}
 .elementor-element-qualposts .elementor-posts-container{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .elementor-element-qualposts article.elementor-post,.elementor-element-qualposts article.post-76,.elementor-element-qualposts article.post-144{width:100%!important;height:auto!important;grid-column:auto!important}
 .elementor-element-qualposts article.post-76,.elementor-element-qualposts article.post-144{grid-column:1/-1!important}
 .elementor-element-qualposts .elementor-post__thumbnail__link,.elementor-element-qualposts article.post-76 .elementor-post__thumbnail__link,.elementor-element-qualposts article.post-144 .elementor-post__thumbnail__link,
 .elementor-element-qualposts .elementor-post__thumbnail,.elementor-element-qualposts .elementor-post__thumbnail img{width:100%!important;height:auto!important;transform:none!important}
 .elementor-element-qualposts .elementor-post__text,.elementor-element-qualposts article.post-76 .elementor-post__text,.elementor-element-qualposts article.post-144 .elementor-post__text{width:100%!important;transform:none!important}
}
@media(max-width:600px){.elementor-element-qualposts .elementor-posts-container{grid-template-columns:1fr!important}.elementor-element-qualposts article.post-76,.elementor-element-qualposts article.post-144{grid-column:auto!important}}

/* Carruseles y recursos editoriales */
.elementor-element-aboutca img{object-fit:cover;border:8px solid #fff}
.elementor-element-aboutca .swiper-pagination-bullet{width:20px;height:20px;background:#e39000;opacity:1}
.elementor-element-aboutca .swiper-pagination-bullet-active{background:#989787}
.elementor-element-zoneh2:before{content:"";display:inline-block;margin-right:18px;border-top:18px solid transparent;border-bottom:18px solid transparent;border-right:24px solid #22a4a9;vertical-align:middle}
.elementor-element-zonegal img{object-fit:cover}

/* Artículos */
[class*="elementor-element-pshr"] .elementor-icon-list-item{min-height:52px;border-bottom:1px solid #9b9b9b}
[class*="elementor-element-pshr"] .elementor-icon-list-item a{min-height:52px}
[class*="elementor-element-ptxt"] p{margin:15px 0}
[class*="elementor-element-ptxt"] ul{margin:15px 0 15px 20px}
[class*="elementor-element-ptxt"] img{float:inline-end;max-width:334px;height:auto;margin:0 0 0 10px}
[class*="elementor-element-ptxt"] h2{color:#d18400;font:400 20px/1.25 "Open Sans",sans-serif;margin:12px 0 8px}
@media(max-width:480px){[class*="elementor-element-ptxt"] img{float:none;display:block;max-width:100%;margin:0 auto 18px}}

/* Footer y formularios */
.elementor-element-dnnewsf .elementor-field-type-radio .elementor-field-subgroup{display:flex;gap:8px;justify-content:center}
.elementor-element-dnnewsf .elementor-field-type-radio .elementor-field-option{display:flex;align-items:center}
.elementor-element-dnnewsf input[type=radio]{margin:0 3px 0 0}
.elementor-element-contactf .elementor-field-group-otra_relacion,
.elementor-element-contactf .elementor-field-group-otro_padecimiento,
.elementor-element-contactf .elementor-field-group-otra_referencia{display:none}
@media(max-width:959px){
 :is(.elementor-element-qualovr,[class*="elementor-element-pttl"]){width:88%!important}
}
@media(max-width:480px){
 :is(.elementor-element-qualban,.elementor-element-asstban,.elementor-element-genrban,.elementor-element-extrban,[class*="elementor-element-pban"]){height:auto!important;border-bottom-width:8px}
 :is(.elementor-element-qualovr,[class*="elementor-element-pttl"]){top:38%!important}
 [class*="elementor-element-pshr"] .elementor-icon-list-items{display:flex;gap:14px}
 [class*="elementor-element-pshr"] .elementor-icon-list-item{border:0;min-height:35px}
}
/* === Fin de excepciones Day & Night === */

.elementor-element-dnsabia{min-height:141px}
@media(max-width:480px){.elementor-element-dnsabia{min-height:168px}}
