/* ==========================================================================
   site-integration.css
   Teletál main landing page on the live site (www.teletal.hu)
   ==========================================================================

   Styles only the live site needs. Written by hand; Tools/landing-integrate
   copies it unchanged to theme/teletal/fooldal/css/, where it loads after
   the two generated files: css/uikit.min.css (UIkit 3.23) and
   css/main-page.css (the page's own styles), both renamed tl- and scoped to
   <main>.

   Contents:
     1. Font
     2. Site rules that reach into the page
   ========================================================================== */


/* 1. Font
   ==========================================================================

   Raleway as the demo page gets it from Google Fonts (variable 100-900,
   upright and italic, version 37), served from our own folder: the latin
   and latin-ext files with Google's unicode-range values, so every
   character comes from the same file as on the demo page. Licence:
   fonts/OFL.txt.

   It's called "TL Raleway", and the generated CSS asks for that name,
   because the site's theme.css declares its own "Raleway" (an older version,
   weights 500 and 700 only). Under one name the two would mix, in our text
   and in the site's navbar. Serving the files ourselves also means the page
   no longer contacts Google Fonts.
   ========================================================================== */

@font-face {
  font-family: "TL Raleway";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/raleway-v37-latin-ext-italic.woff2?v=eaa20b135e") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "TL Raleway";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/raleway-v37-latin-italic.woff2?v=aadf99b189") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "TL Raleway";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/raleway-v37-latin-ext-normal.woff2?v=5730d3e0b4") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "TL Raleway";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/raleway-v37-latin-normal.woff2?v=10f1a0ef3f") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* 2. Site rules that reach into the page
   ==========================================================================

   The site's stylesheets style plain elements (a, h1, strong, ...) for the
   whole page. The generated CSS beats them wherever it sets the same
   property, but where it sets nothing, the site's value would show. Each
   rule here puts back what the demo page shows, and names the site rule it
   undoes. node verify.mjs finds new ones: it compares every element's
   computed style with the demo page's.
   ========================================================================== */

/*
 * Main headline: theme.css pads h1 by 10px above and below and aligns it
 * left (h1, .uk-h1 { padding: 10px 0 10px 0; text-align: left }). UIkit sets
 * neither, so on the demo page the hero headline has no padding and follows
 * the alignment around it. The padding alone made the hero 20px taller.
 */
main h1 {
  padding: 0;
  text-align: inherit;
}

/* Bold text: theme.css makes it red (b, strong { color: #ed1c24 }); on the demo page it keeps the text colour */
main b,
main strong {
  color: inherit;
}

/*
 * Links and form controls: the site's UIkit (3.0.0-beta.42) gives them
 * touch-action: manipulation (a, area, button, input, label, select,
 * summary, textarea), which UIkit 3.23 no longer does.
 */
main a,
main area,
main button,
main input,
main label,
main select,
main summary,
main textarea {
  touch-action: auto;
}
