/* The actual typeface stack used by the supplied Sites design. */
:root { --lagumar-font:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif; }
body.lagumar-site { font-family:var(--lagumar-font)!important;-webkit-font-smoothing:antialiased; }
body.lagumar-site :where(h1,h2,h3,h4,h5,h6,p,a,li,dt,dd,label,input,textarea,select,button,th,td,caption,figcaption,blockquote,legend,small,strong,em,b,.elementor-heading-title,.elementor-widget-text-editor,.elementor-widget-container,.elementor-icon-list-text,.elementor-tab-title,.elementor-tab-content,.elementor-button-text,.woocommerce-Price-amount,.woocommerce-Price-currencySymbol,.select2-selection__rendered),
body.lagumar-site :where(span[style*="font-family"]):not([class*="icon"]) { font-family:var(--lagumar-font)!important; }
/* Font icon classes, SVGs, weights and interior text sizes retain their own styles. */
#lagumar-header { position:sticky;top:0;z-index:1000;width:100%; }
.admin-bar #lagumar-header {top:var(--wp-admin--admin-bar--height,32px);}
@media(max-width:600px){.admin-bar #lagumar-header{top:0;}}
body.lagumar-site #main.lagumar-home {margin:0;padding:0;width:100%;max-width:none;}
.lagumar-design [hidden] {display:none!important;}
#lagumar-header .mobile-toggle:hover,#mobile-menu button:hover {background:none;color:inherit;}
#lagumar-header nav > a:first-child {line-height:1;}
.lagumar-design .spot-frame {top:calc(var(--lagumar-header-height) - 1px);}
.admin-bar .lagumar-design .spot-frame {top:calc(var(--lagumar-header-height) - 1px + var(--wp-admin--admin-bar--height,32px));}
@media(max-width:700px){.lagumar-design .spot-frame,.admin-bar .lagumar-design .spot-frame{top:auto;}}
#main.lagumar-home::after {display:none;}

/* The leading C40 Pro panel fills the visible mobile screen below navigation. */
@media (max-width:850px) {
  body.lagumar-site { --lagumar-mobile-admin-height:0px; }
  body.lagumar-site.admin-bar { --lagumar-mobile-admin-height:var(--wp-admin--admin-bar--height,46px); }
  .lagumar-home .spotlight {
    height:calc(100vh - var(--lagumar-header-height) - var(--lagumar-mobile-admin-height));
    height:calc(100dvh - var(--lagumar-header-height) - var(--lagumar-mobile-admin-height));
    min-height:0;
  }
  .lagumar-home .spot-frame {
    position:relative;
    top:auto;
    height:100%;
    min-height:0;
    max-height:none;
    padding:clamp(14px,4svh,32px) 0;
    gap:clamp(8px,2svh,20px);
  }
  .lagumar-home .spot-title { flex:0 0 auto; }
  .lagumar-home .spot-title h2 { font-size:clamp(38px,13.3vw,60px); }
  .lagumar-home .spot-machine {
    flex:1 1 0;
    min-height:0;
    height:auto;
    width:100%;
    padding:0 8px;
    transform:none;
  }
  .lagumar-home .spot-machine::before { display:none; }
  .lagumar-home .offer-bar { flex:0 0 auto;max-width:calc(100% - 24px); }
}

/* Keep the featured journal cover readable in mouse, keyboard and touch states. */
body.lagumar-site #main .journal a.cover-story,
body.lagumar-site #main .journal a.cover-story:is(:visited,:hover,:focus,:focus-visible,:active),
body.lagumar-site #main .journal a.cover-story :is(h3,small,span) {
  color:#fff!important;
}

/* Desktop trigger hit areas meet their dropdowns, including slow pointer movement. */
@media (min-width:851px) {
  #lagumar-header .nav-familias details { padding-block:20px;margin-block:-20px; }
  #lagumar-header .nav-familias .menu { top:calc(100% - 1px); }
  #lagumar-header {
    transition:background-color .25s ease,border-color .25s ease,top .25s ease;
  }
  #lagumar-header nav.wrap {
    border:1px solid transparent;
    border-radius:24px;
    transition:width .25s ease,height .25s ease,padding .25s ease,background-color .25s ease,box-shadow .25s ease;
  }
  #lagumar-header.is-compact {
    top:12px;
    background:transparent;
    border-bottom-color:transparent;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    pointer-events:none;
  }
  .admin-bar #lagumar-header.is-compact {
    top:calc(var(--wp-admin--admin-bar--height,32px) + 12px);
  }
  #lagumar-header.is-compact nav.wrap {
    width:min(calc(100% - 48px),1080px);
    height:56px;
    padding-inline:24px;
    background:rgba(20,20,23,.84);
    backdrop-filter:blur(20px) saturate(140%);
    -webkit-backdrop-filter:blur(20px) saturate(140%);
    border-color:rgba(255,255,255,.16);
    box-shadow:0 8px 30px #00000020;
    color:#fff;
    pointer-events:auto;
  }
  #lagumar-header.is-compact .nav-familias { display:none; }
  #lagumar-header.is-compact nav img { filter:brightness(0) invert(1); }
  #lagumar-header.is-compact nav a,
  #lagumar-header.is-compact nav a:is(:visited,:hover,:focus,:active) { color:#fff; }
  #lagumar-header.is-compact .utils {
    border:0;
    padding-left:0;
    align-items:center;
    gap:8px;
  }
  #lagumar-header.is-compact .utils a {
    display:grid;
    place-items:center;
    width:40px;
    height:40px;
    border-radius:50%;
  }
  #lagumar-header.is-compact .utils a:hover { background:#ffffff18; }
  #lagumar-header.is-compact a:focus-visible { outline-color:#fff; }
}
@media (prefers-reduced-motion:reduce) {
  #lagumar-header,#lagumar-header nav.wrap { transition:none; }
}
