/* config */
:root {
  --header-height: 100px;
  --article-width: 1250px; /* šířka obsahu, pokud není .wide */
  --narrow-width: 1000px; /* šířka užšího obsahu napr. qa */
  --gap: 0.8rem; /* obecná mezera */
  --gap2: 1.6rem; /* větší obecná mezera */
}

body > header {
  min-height: var(--header-height);
  background: var(--body-bg);
}

body > header > nav,
body > section > article,
body > footer > nav {
  width: calc(min(100%, var(--article-width)));
}

body > section.wide > article {
  width: 100%;
}

body > section.narrow > article {
  width: calc(min(100%, var(--narrow-width)));
}

/* FLAT */
/*@media (min-width: ...px) and (max-width: ...px) {*/
@media (max-width: 900px) {
  body > header flex-row-wrap {
    gap: 0.6rem;
  }
}

@media (max-width: 500px) {
  body > header flex-row-wrap {
    gap: 0.5rem;
  }
}
/* latin-ext */
@font-face {
  font-family: 'Ubuntu Sans';
  font-style: italic;
  font-weight: 100 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/font/UbuntuSansExtIt.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Ubuntu Sans';
  font-style: italic;
  font-weight: 100 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/font/UbuntuSansExt.woff2) 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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Ubuntu Sans';
  font-style: normal;
  font-weight: 100 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/font/UbuntuSansExt.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Ubuntu Sans';
  font-style: normal;
  font-weight: 100 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/font/UbuntuSans.woff2) 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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
/* site theme style */

body {
  --font: 'Ubuntu Sans', sans-serif;
  font-family: var(--font);
  background: var(--body-bg);
  color: var(--body-fg);
}

body > footer {
  background: var(--footer-bg);
  color: var(--footer-fg);
}

body > footer a {
  color: var(--body-bg);
}

body > section {
  color: var(--black);
}

body > section h1,
body > section h2,
body > section h3,
body > section h4 {
  margin-top: 0.6em;
  margin-bottom: 0.2em;
}

body > section h1,
body > section h2,
body > section h3 {
  color: var(--body-fg);
}

body > section h4 {
  color: var(--black);
}

/* outside of <article>: center (in article: align left) */
body > section > h1,
body > section > h2,
body > section > h3,
body > section > h4 {
  text-align: center;
}

body > section h1 {
  font-size: 2.75rem;
  font-weight: 300;
}

body > section h1 > b {
  font-weight: 600;
}

body > section h2 {
  font-size: 1.6rem;
  font-weight: 300;
}

body > section h2 > b {
  font-weight: 600;
}

body > section h3 {
  font-size: 1.2rem;
  font-weight: 300;
}

body > section h4 {
  font-size: 1rem;
  font-weight: 600;
}

body > section h4 > b {
  font-weight: 600;
}

body > section a {
  color: var(--body-fg);
  font-weight: bold;
}

body > section a.normal {
  font-weight: normal;
}

body > section a[target='_blank'] {
  font-style: italic;
}

body > section .left {
  margin-right: 1rem;
  float: left;
}

body > section .right {
  margin-left: 1rem;
  float: right;
}

body > section#qa {
  padding-top: 2rem;
  padding-bottom: 3rem;
  background: linear-gradient(180deg, #f4f6f9 0%, #ffffff 150%)
}

body > section#qa h2 {
  font-size: 2.5rem;
  font-weight: 200;
  display: inline;
  text-align: center;
  margin-bottom: 1.6rem;
}

body > section#qa h3 {
  margin: 1rem 0;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 400;
  display: block;
  text-align: center;
  color: var(--black);
  padding-top: 2rem;
}

body > section#qa > article {
  width: calc(min(100%, var(--narrow-width)));
}

body > section#qa > article xs-detail {
  width: 100%;
  margin: 1rem 0;
}
.icon.small {
  width: 0.8rem;
  height: 0.8rem;
}

.icon /*medium*/ {
  width: 1rem;
  height: 1rem;
}

.icon.larger {
  width: 1.1rem;
  height: 1.1rem;
}

.icon.large {
  width: 1.2rem;
  height: 1.2rem;
}

.icon.big {
  width: 1.4em;
  height: 1.4rem;
}
body > section ol,
body > section ul {
  padding: 1.7em;
}

body > section ol {
  list-style-type: decimal;
  padding-left: 2.7em;
}

body > section ul {
  list-style-type: disc;
}

body > section ul.arrows,
body > section ul.triangles {
  list-style-type: none;
  padding-left: 0.1rem;
}

body > section ul.arrows li,
body > section ul.triangles li {
  padding-left: 1.7em;
  text-indent: -1.65em;
}

body > section ul.arrows li:before {
  content: '\2794'; /* ➔ */
  margin: 0 0.4em;
}

body > section ul.triangles li:before {
  content: '\25B8'; /* ▸ */
  margin: 0 0.4em;
}
table.border {
  border: thick solid var(--black);
}

table.basic {
  text-align: left;
}

table.basic th {
  background: #eee;
  font-weight: bold;
}

table.basic tr:nth-child(odd) {
  background: #f0f0f0;
}

table.basic tr:nth-child(even) {
  background: #f8f8f8;
}

table.basic th,
table.basic td {
  padding: 0.2rem 0.4rem;
}

table.basic td:nth-child(1) {
  color: var(--blue);
  font-weight: bold;
}
form {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

.MOBIL form {
  display: flex;
  flex-direction: column;
}

form > div {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

form > x-btn {
  grid-column: span 2 / span 2;
  justify-self: end;
}
