/* Shared, fluid shell for the original Elementor templates and modern UI. */
html{-webkit-text-size-adjust:100%}
body.hfm-enabled.hfm-enabled{--hfm-width:1600px;--hfm-gutter:32px}
body.hfm-enabled.hfm-enabled :is(main.site-main,.hfm-header-row,.hfm-home,.hfm-footer-nav){box-sizing:border-box;min-width:0}
body.hfm-enabled.hfm-enabled [data-elementor-id="46"] .hfm-header-row{width:100%!important;max-width:var(--hfm-width)!important;padding-inline:var(--hfm-gutter)!important;grid-template-columns:130px minmax(0,1fr) auto!important}
body.hfm-enabled.hfm-enabled main.site-main{width:100%!important;max-width:var(--hfm-width)!important;margin-inline:auto!important;padding:30px var(--hfm-gutter) 0!important}
body.hfm-enabled.hfm-enabled main.site-main :is(.page-content,.entry-content){min-width:0;max-width:100%}
body.hfm-enabled.hfm-enabled .hfm-home{width:100%!important;max-width:var(--hfm-width)!important;margin-inline:auto!important;padding:0 var(--hfm-gutter) 30px!important}
body.hfm-enabled.hfm-enabled .hfm-footer-nav{width:calc(100% - var(--hfm-gutter)*2);max-width:calc(var(--hfm-width) - var(--hfm-gutter)*2);padding-inline:0;margin-inline:auto}
/* Culture templates carried fixed widths and negative margins from Elementor. */
body.hfm-enabled.hfd-culture-page main.site-main .e-con{width:100%!important;max-width:100%!important;min-width:0!important;margin-inline:0!important;padding-inline:0!important}
body.hfm-enabled.hfd-culture-page main.site-main :is(.e-con-inner,.elementor-widget,.elementor-widget-container){width:100%!important;max-width:100%!important;min-width:0!important;margin-inline:0!important;padding-inline:0!important}
body.hfm-enabled.hfd-culture-page main.site-main :is(.elementor-widget-heading .elementor-heading-title,h1.hf-price-title){font-family:inherit!important;font-size:clamp(25px,2.2vw,34px)!important;font-weight:600!important;line-height:1.25!important;letter-spacing:-.025em!important;text-align:left!important;color:var(--hfm-ink)!important}
body.hfm-enabled.hfd-culture-page .hf-product-price-page{max-width:none;margin:0;padding:0}
/* The full-width Elementor and Core templates have no main.site-main wrapper. */
body.hfm-enabled.hfm-enabled #page>:is(.hf-product-price-page,.hfl-page,.elementor[data-elementor-type="wp-page"]:not(.hfm-home)){
 box-sizing:border-box;width:100%!important;max-width:var(--hfm-width)!important;min-width:0;margin-inline:auto!important;padding:30px var(--hfm-gutter) 48px!important;
}
body.hfm-enabled.hfd-culture-page #page>.elementor[data-elementor-type="wp-page"] :is(.e-con,.e-con-inner,.elementor-widget,.elementor-widget-container){box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0!important;margin-inline:0!important;padding-inline:0!important}
body.hfm-enabled.hfm-enabled .hf-product-more{box-sizing:border-box;width:100%;max-width:none!important;margin:28px 0!important;padding:0!important}
body.hfm-enabled.hfm-enabled .hf-product-more details{max-width:none!important;margin-inline:0!important}
body.hfm-enabled.hfm-enabled main.site-main>.page-header{width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important}
body.hfm-enabled.hfm-enabled main.site-main>.page-header>.entry-title{width:100%!important;max-width:none!important;margin-inline:0!important}
/* Institutional pages keep readable text widths while sharing the same left edge. */
body.hfm-enabled.hfm-enabled main.site-main .elementor:has(.hf-legal-page) :is(.e-con,.e-con-inner){width:100%!important;max-width:100%!important;min-width:0!important;margin-inline:0!important;padding-inline:0!important}
body.hfm-enabled.hfm-enabled .hf-legal-page{box-sizing:border-box;width:100%!important;max-width:none!important;margin-inline:0!important;padding:24px 0 48px!important}
body.hfm-enabled.hfm-enabled .hfm-auth-widget .hf-header-auth{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;white-space:nowrap;gap:10px!important}
body.hfm-enabled.hfm-enabled .hf-header-auth :is(.hf-plus,.hf-avatar){flex-shrink:0}
body.hfm-enabled.hfm-enabled :is(img,video){max-width:100%;height:auto}
body.hfm-enabled.hfm-enabled :is(input,select,textarea){max-width:100%;box-sizing:border-box}
body.hfm-enabled.hfm-enabled :is(button,a,summary,[role="button"]){touch-action:manipulation}
body.hfm-enabled.hfm-enabled .hfm-main-nav a{display:inline-flex;align-items:center;min-height:44px}
body.hfm-enabled.hfm-enabled :is(.hfd-table,.hfa-market-list){overscroll-behavior:contain}
@media(max-width:1000px){body.hfm-enabled.hfm-enabled{--hfm-gutter:24px}body.hfm-enabled.hfm-enabled [data-elementor-id="46"] .hfm-header-row{grid-template-columns:116px minmax(0,1fr) auto!important;column-gap:22px!important}}
@media(max-width:760px){
 body.hfm-enabled.hfm-enabled{--hfm-gutter:20px}
 body.hfm-enabled.hfm-enabled [data-elementor-id="46"] .hfm-header-row{grid-template-columns:minmax(0,1fr) auto!important;gap:10px 12px!important;padding-top:16px!important}
 body.hfm-enabled.hfm-enabled .hfm-auth-widget{order:2;justify-self:end}
 body.hfm-enabled.hfm-enabled .hfm-main-nav{order:3;grid-column:1/-1;gap:24px!important;flex-wrap:wrap}
 body.hfm-enabled.hfm-enabled .hfm-ticker-widget{order:4;grid-column:1/-1;margin-inline:0!important;width:100%!important;max-width:100%!important}
 body.hfm-enabled.hfm-enabled .hfm-logo-widget,body.hfm-enabled.hfm-enabled .hfm-logo-widget img{width:106px!important;max-width:106px!important}
 body.hfm-enabled.hfm-enabled .hf-header-auth a:not(.hf-drop-link){font-size:12px!important;padding:8px 10px!important;min-height:44px!important;display:inline-flex;align-items:center;justify-content:center}
 body.hfm-enabled.hfm-enabled .hfm-auth-widget .hf-header-auth{gap:6px!important}
 body.hfm-enabled.hfm-enabled main.site-main{padding-top:24px!important}
 body.hfm-enabled.hfm-enabled #page>:is(.hf-product-price-page,.hfl-page,.elementor[data-elementor-type="wp-page"]:not(.hfm-home)){padding-top:24px!important}
 body.hfm-enabled.hfm-enabled main.site-main :is(input,select,textarea){font-size:16px!important}
 body.hfm-enabled.hfm-enabled .hfm-main-nav a{font-size:13px!important}
 body.hfm-enabled.hfm-enabled .hf-dropdown{max-width:calc(100vw - 40px)!important;right:0!important;left:auto!important}
}
@media(max-width:360px){body.hfm-enabled.hfm-enabled{--hfm-gutter:16px}body.hfm-enabled.hfm-enabled .hfm-logo-widget,body.hfm-enabled.hfm-enabled .hfm-logo-widget img{width:92px!important;max-width:92px!important}body.hfm-enabled.hfm-enabled .hf-header-auth a:not(.hf-drop-link){padding-inline:8px!important;font-size:11px!important}body.hfm-enabled.hfm-enabled .hfm-main-nav{gap:22px!important}}
@media(pointer:coarse){body.hfm-enabled.hfm-enabled :is(.hfm-icon-button,.hf-plus,.hf-avatar){min-width:44px!important;min-height:44px!important}body.hfm-enabled.hfm-enabled .hfm-segments button{min-height:44px}}

@media(max-width:900px){body.hfm-enabled.hfm-enabled .hfm-hero{padding-right:0!important;background-image:none!important;min-height:0!important}body.hfm-enabled.hfm-enabled .hfm-hero-title{max-width:650px!important}}

/* Price cards: real text width for variations, with a separate row per period. */
body.hfm-enabled.hfm-enabled #ceasa-dashboard .metric-row:not(:first-child){display:grid!important;grid-template-columns:minmax(0,1fr) max-content!important;grid-template-areas:"label price" "label delta"!important;gap:4px 16px!important;align-items:center!important;padding:14px 0!important}
body.hfm-enabled.hfm-enabled #ceasa-dashboard .metric-row:not(:first-child) .metric-left{grid-area:label;min-width:0}
body.hfm-enabled.hfm-enabled #ceasa-dashboard .metric-row:not(:first-child) .metric-price{grid-area:price;justify-self:end;font-size:20px!important;font-weight:600!important;line-height:1.3!important;font-variant-numeric:tabular-nums}
body.hfm-enabled.hfm-enabled #ceasa-dashboard .metric-row:not(:first-child) .metric-delta{grid-area:delta;justify-self:end}
body.hfm-enabled.hfm-enabled #ceasa-dashboard .metric-delta{display:inline-flex!important;align-items:center!important;width:auto!important;min-width:0!important;max-width:100%;height:auto!important;flex:0 0 auto!important;margin:0!important;font-size:17px!important;font-weight:700!important;line-height:1.3!important;font-variant-numeric:tabular-nums;white-space:nowrap!important}
body.hfm-enabled.hfm-enabled #ceasa-dashboard .metric-delta .chip{display:inline-flex!important;align-items:center!important;width:auto!important;height:auto!important;min-width:0!important;padding:0!important;border:0!important;background:transparent!important;font-family:inherit!important;font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important;color:inherit!important;white-space:nowrap!important}
body.hfm-enabled.hfm-enabled #ceasa-dashboard .metric-row:first-child{column-gap:16px!important;grid-template-columns:minmax(0,1fr) max-content!important}
body.hfm-enabled.hfm-enabled #ceasa-dashboard .metric-row:first-child .metric-delta{font-size:18px!important;align-self:center!important}
@media(max-width:360px){body.hfm-enabled.hfm-enabled #ceasa-dashboard .metric-row:first-child{grid-template-areas:"label label" "price price" ". delta"!important;row-gap:8px!important}}

/* Keep each average and its variation side by side, matching the original reading order. */
body.hfm-enabled.hfm-enabled #ceasa-dashboard .metric-row:not(:first-child){grid-template-columns:minmax(0,1fr) max-content max-content!important;grid-template-areas:"label price delta"!important;column-gap:12px!important;row-gap:0!important}
body.hfm-enabled.hfm-enabled #ceasa-dashboard .metric-row:not(:first-child) .metric-price{font-size:18px!important}
body.hfm-enabled.hfm-enabled #ceasa-dashboard .metric-row:not(:first-child) .metric-delta{align-self:center!important}

/* Ticker direction follows the day price versus its seven-day mean, as on the cards. */
body.hfm-enabled .ceasa-item.hfd-ticker-up :is(.ceasa-item__prod,.ceasa-item__arrow){color:#277044!important}
body.hfm-enabled .ceasa-item.hfd-ticker-down :is(.ceasa-item__prod,.ceasa-item__arrow){color:#a53d37!important}
body.hfm-enabled .ceasa-item.hfd-ticker-flat :is(.ceasa-item__prod,.ceasa-item__arrow){color:var(--hfm-muted)!important}
