/* The new homepage is white; legacy css/style.css gives html/body a very light grey (#f8f8f9) that otherwise shows through every gap. */
html,
body{background-color:#fff}

/* ==========================================================================
   Theme variables. The real values per website come from the theme: section of the template yaml and are set as inline css variables
   on <body> by header.php. The values below are only a fallback (the 123sticker colours), e.g. when a page does
   not use the new header.
   ========================================================================== */
:root{
    --theme-accent:#fecc00;
    --theme-accent-text:#fecc00;
    --theme-hero-title:#fecc00;
    --theme-hero-panel:rgba(240,238,234,.93);
    --theme-hero-bar:rgba(241,239,236,.85);
    --theme-usp-ink:#4d4d4d;
    --theme-bar-gray:#99a4aa;
    --theme-steps-bg:#fef2b4;
    --theme-steps-ink:#3a3a3a;
    --theme-steps-title:#000;
}

/* ==========================================================================
   Shared by all components (templating/components/). Block classes of ui components are prefixed "c-".
   The look of a component lives in its own folder; WHERE it sits is decided by the section that uses it.
   ========================================================================== */
:root{
    --c-pink:#ee0088;
    --c-ink:#000;
    --c-muted:#4d4d4d;
    --c-font-body:'Open Sans',sans-serif;
    --c-font-display:'Oswald',sans-serif;
}

/* Legacy css/style.css sets a{font-family} and a:link,a:visited{color:#ef7f1a}.
   Every c- link takes colour / font from custom properties instead, which keeps the component
   rules simple and wins over the legacy link rules. */
a[class^="c-"],a[class*=" c-"]{box-sizing:border-box}
a[class^="c-"]:link,a[class*=" c-"]:link,
a[class^="c-"]:visited,a[class*=" c-"]:visited,
a[class^="c-"]:hover,a[class*=" c-"]:hover,
a[class^="c-"]:active,a[class*=" c-"]:active{
    color:var(--link-color,inherit);
    font-family:var(--link-font,inherit);
    text-decoration:none;
}
a[class^="c-"]:hover,a[class*=" c-"]:hover{color:var(--link-hover-color,var(--link-color,inherit))}

/* texts that differ on phones, see h_phone() in lib/component.php */
.u-phone{display:none}
@media (max-width:600px){
    .u-wide{display:none !important}
    .u-phone{display:inline}
}
