/* DN Header Pro 1.4.0 */
html.dnheaderpro-ready {
    --dn-header-bg:#fff; --dn-header-text:#222; --dn-header-accent:#f28c28;
    --dn-header-muted:#6f7782; --dn-header-border:#e7e7e7; --dn-header-font-size:13px;
    --dn-header-bar-height:46px; --dn-header-max-width:1170px;
    --dn-logo-width:470px; --dn-logo-width-mobile:300px; --dn-brand-height:112px;
}
.dn-logo-parent { position:relative !important; min-height:var(--dn-brand-height) !important; overflow:visible !important; }
.dn-logo-overlay {
    position:absolute !important; top:0 !important; right:0 !important; bottom:0 !important; left:0 !important;
    z-index:50 !important; display:flex !important; align-items:center !important; justify-content:center !important;
    width:100% !important; max-width:none !important; margin:0 !important; pointer-events:none !important; text-align:center !important;
}
.dn-logo-overlay a { display:inline-flex !important; align-items:center !important; justify-content:center !important; line-height:0 !important; pointer-events:auto !important; }
.dn-logo-overlay img,
.dn-brand-strip img {
    display:block !important; width:auto !important; height:auto !important;
    max-width:var(--dn-logo-width) !important; max-height:calc(var(--dn-brand-height) - 18px) !important;
    margin:0 auto !important; object-fit:contain !important;
}
.dn-logo-original-hidden { visibility:hidden !important; }
.dn-brand-strip {
    box-sizing:border-box !important; width:100% !important; min-height:var(--dn-brand-height) !important;
    display:flex !important; justify-content:center !important; align-items:center !important;
    background:#fff !important; padding:8px 20px !important; clear:both !important; position:relative !important; z-index:40 !important;
}
.dn-brand-strip a { display:inline-flex !important; align-items:center !important; justify-content:center !important; line-height:0 !important; }

#dn-currency-bar {
    position:relative !important; z-index:45 !important; box-sizing:border-box !important;
    width:100% !important; min-height:var(--dn-header-bar-height) !important;
    background:var(--dn-header-bg) !important; color:var(--dn-header-text) !important;
    border-top:1px solid var(--dn-header-border) !important; border-bottom:2px solid var(--dn-header-accent) !important;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif !important;
    font-size:var(--dn-header-font-size) !important; line-height:1.2 !important; clear:both !important; float:none !important;
}
#dn-currency-bar .dn-currency-inner {
    box-sizing:border-box !important; width:100% !important; max-width:var(--dn-header-max-width) !important;
    min-height:var(--dn-header-bar-height) !important; margin:0 auto !important; padding:0 10px !important;
    display:flex !important; align-items:stretch !important; overflow-x:auto !important; overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch; scrollbar-width:thin;
}
#dn-currency-bar.dn-full-width .dn-currency-inner { max-width:none !important; }
#dn-currency-bar .dn-quote {
    flex:0 0 auto !important; min-width:158px !important; padding:8px 15px 7px !important;
    display:flex !important; flex-direction:column !important; justify-content:center !important; gap:3px !important;
    white-space:nowrap !important; border-right:1px solid var(--dn-header-border) !important;
}
#dn-currency-bar .dn-quote:first-child { border-left:1px solid var(--dn-header-border) !important; }
#dn-currency-bar .dn-quote-label { font-weight:700 !important; color:var(--dn-header-text) !important; }
#dn-currency-bar .dn-quote-values { display:flex !important; align-items:baseline !important; gap:11px !important; }
#dn-currency-bar .dn-quote-values span { display:inline-flex !important; gap:5px !important; align-items:baseline !important; }
#dn-currency-bar .dn-quote-values b { font-weight:700 !important; }
#dn-currency-bar .dn-quote-values small { color:var(--dn-header-muted) !important; font-size:.75em !important; text-transform:uppercase !important; }
#dn-currency-bar .dn-quote-meta { color:var(--dn-header-muted) !important; font-size:.72em !important; overflow:hidden !important; text-overflow:ellipsis !important; max-width:230px !important; }
#dn-currency-bar .dn-loading-text, #dn-currency-bar .dn-empty { display:flex !important; align-items:center !important; min-height:var(--dn-header-bar-height) !important; padding:0 16px !important; color:var(--dn-header-muted) !important; }

/* Ajustes directos para SJ TheDaily / YT Framework v3 */
html[data-dnheaderpro] #yt_header.dn-logo-parent,
html[data-dnheaderpro] .yt-header.dn-logo-parent { overflow:visible !important; }
html[data-dnheaderpro] #yt_header .dn-logo-overlay { left:0 !important; right:0 !important; }
html[data-dnheaderpro] #yt_menuwrap + #dn-currency-bar,
html[data-dnheaderpro] #yt_mainmenu + #dn-currency-bar { margin-top:0 !important; }

@media (max-width:767px) {
    .dn-logo-parent, .dn-brand-strip { min-height:88px !important; }
    .dn-logo-overlay img, .dn-brand-strip img { max-width:var(--dn-logo-width-mobile) !important; max-height:76px !important; }
    #dn-currency-bar .dn-currency-inner { padding:0 !important; }
    #dn-currency-bar .dn-quote { min-width:145px !important; padding-left:12px !important; padding-right:12px !important; }
}
