/*
Theme Name: s1
*/
/*! normalize.css v8.0.1 */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
  }
  
  body {
    margin: 0;
  }
  
  main {
    display: block;
  }
  
  h1 {
    font-size: 2em;
    margin: 0.67em 0;
  }
  
  hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
  }
  
  pre {
    font-family: monospace, monospace;
    font-size: 1em;
  }
  
  a {
    background-color: transparent;
  }
  
  abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
  }
  
  b,
  strong {
    font-weight: bolder;
  }
  
  code,
  kbd,
  samp {
    font-family: monospace, monospace;
    font-size: 1em;
  }
  
  small {
    font-size: 80%;
  }
  
  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  
  sub {
    bottom: -0.25em;
  }
  
  sup {
    top: -0.5em;
  }
  
  img {
    border-style: none;
  }
  
  button,
  input,
  optgroup,
  select,
  textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
  }
  
  button,
  input {
    overflow: visible;
  }
  
  button,
  select {
    text-transform: none;
  }
  
  [type="button"],
  [type="reset"],
  [type="submit"],
  button {
    -webkit-appearance: button;
  }
  
  [type="button"]::-moz-focus-inner,
  [type="reset"]::-moz-focus-inner,
  [type="submit"]::-moz-focus-inner,
  button::-moz-focus-inner {
    border-style: none;
    padding: 0;
  }
  
  [type="button"]:-moz-focusring,
  [type="reset"]:-moz-focusring,
  [type="submit"]:-moz-focusring,
  button:-moz-focusring {
    outline: ButtonText dotted 1px;
  }
  
  fieldset {
    padding: 0.35em 0.75em 0.625em;
  }
  
  legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
  }
  
  progress {
    vertical-align: baseline;
  }
  
  textarea {
    overflow: auto;
  }
  
  [type="checkbox"],
  [type="radio"] {
    box-sizing: border-box;
    padding: 0;
  }
  
  [type="number"]::-webkit-inner-spin-button,
  [type="number"]::-webkit-outer-spin-button {
    height: auto;
  }
  
  [type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
  }
  
  [type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  
  ::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
  }
  
  details {
    display: block;
  }
  
  summary {
    display: list-item;
  }
  
  [hidden],
  template {
    display: none;
  }
  
  /* Body */
  
  body {
    font-family: "system-ui", -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif, "system-ui", -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    color: #333;
    font-size: 18px;
    line-height: 31px;
    overflow-wrap: break-word;
    background-color: #fff;
  }
  
  a {
    color: #000;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: 'PT Serif', 'Georgia', 'Times New Roman', Times, serif, "system-ui", -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-weight: 700;
    letter-spacing: -1.5px;
  }
  
  /* Header */
  header {
    padding: 10px 0 10px 0;
    margin-left: auto;
    margin-right: auto;
  }
  
  body > header {
    background: var(--sec-color);
    padding: 0;
  }
  
  .siteheader::-webkit-scrollbar {
    display: none;
  }
  
  .siteheader:after {
    content: "";
    position: absolute;
    top: 0;
    z-index: 1000;
    width: 40px;
    height: 50px;
    right: 0;
    background: linear-gradient(90deg, rgba(255, 241, 230, 0) 0, var(--sec-color));
  }
  
  .siteheader {
    max-width: 1200px;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
    align-items: center;
    margin: auto;
  }
  
  header .logolead {
    display: flex;
    align-items: center;
  }
  
  header .logolead a {
    color: var(--main-color);
    font-size: 21px;
    font-weight: bold;
    text-decoration: none;
  }
  
  header .logolead a:hover {
    text-decoration: underline;
  }
  
  header .logolead span {
    font-size: 14px;
    margin-left: 20px;
  }

/* === Menu === */

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 31px;
  height: 31px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2001;
}
.hamburger span {
  background: #333;
  height: 3px;
  margin: 2px 0;
  border-radius: 1px;
  display: block;
  transition: 0.3s;
  width: 100%;
}

/* Main navigation (desktop) */
.main-nav {
  position: relative;
  z-index: 1000;
}
.main-nav .menu {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav .menu > li {
  position: relative;
}
.main-nav .menu > li > a {
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  text-transform: uppercase;
  transition: background 0.2s;
}
.main-nav .menu > li > a:hover,
.main-nav .menu > li > a:focus {
  background: #f2f2f2;
}

/* Submenu (desktop) */
.main-nav .menu li ul {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 180px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 0;
  margin: 0;
  z-index: 999;
}
.main-nav .menu li:hover > ul,
.main-nav .menu li:focus-within > ul {
  display: block;
}
.main-nav .menu li ul li {
  display: block;
  width: 100%;
  position: relative;
}
.main-nav .menu li ul li a {
  padding: 10px 16px;
  color: #333;
  font-size: 15px;
  background: none;
  text-transform: none;
}
.main-nav .menu li ul li a:hover,
.main-nav .menu li ul li a:focus {
  background: #f7f7f7;
}
.main-nav .menu li ul li ul {
  left: 100%;
  top: 0;
}
.menu-item-has-children > a::after {
  content: "▼";
  display: inline-block;
  margin-left: 0.4em;
  font-size: 0.7em;
  transition: transform 0.3s;
  vertical-align: middle;
  opacity: 0.7;
}
.menu-item-has-children.open > a::after {
  transform: rotate(-180deg);
}

@media (max-width: 899px) {
  .hamburger {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    transform: translateY(-100%);
    transition: transform 0.3s;
    z-index: 2000;
    padding: 60px 0 0 0;
    overflow-y: auto;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav.open {
    transform: translateY(0);
  }
  .main-nav .menu {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .main-nav .menu > li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }
  .main-nav .menu > li > a {
    padding: 16px 24px;
    font-size: 16px;
    background: none;
    color: #222;
  }
  /* Submenu (mobile) */
  .main-nav .menu li > ul {
    display: none;
    position: static;
    background: #faf9f8;
    padding-left: 16px;
    border-left: 2px solid #eee;
  }
  .main-nav .menu li.open > ul {
    display: block;
  }
  .main-nav .menu li ul li a {
    padding: 12px 16px;
    font-size: 15px;
  }
  .main-nav .menu li ul li ul {
    left: 0;
    padding-left: 16px;
    border-left: 2px solid #eee;
  }
  .menu-item-has-children > a::after {
    content: "▼";
    margin-left: 0.4em;
    font-size: 0.7em;
    transition: transform 0.3s;
    vertical-align: middle;
    opacity: 0.7;
  }
  .menu-item-has-children.open > a::after {
    transform: rotate(-180deg);
  }
}

@media (min-width: 900px) {
  .main-nav .menu li {
    position: relative;
  }
  .main-nav .menu li ul {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 180px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 0;
    margin: 0;
    z-index: 999;
  }
  .main-nav .menu li:hover > ul,
  .main-nav .menu li:focus-within > ul {
    display: block;
  }
}
  
  /* Home */
  #head h1,
  #head p,
  #head div,
  #art {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
  }
  
  #head {
    background-color: var(--sec-color);
    padding: 30px;
    text-align: center;
  }
  #head h1 {
    line-height: 1em;
  }
  #head p {
    color: #727272;
  }
  #head .home-buttons {
    margin-top: 70px;
    margin-bottom: 20px;
  }
  #head .home-button {
    background: var(--main-color);
    border: 3px solid var(--main-color);
    color: #fff;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    width: 100%;
    margin-bottom: 15px;
    text-decoration: none;
    text-transform: capitalize;
    box-shadow: 0 0 20px -10px hsl(0deg 0% 20%);
    font-size: 21px;
  }
  #head .home-button:first-of-type {
    margin-right: 20px;
  }
  #head .home-button:hover {
    border: 3px solid var(--main-color);
    background: #fff;
    color: var(--main-color);
  }
  #art {
    margin-top: 50px;
    padding: 30px;
  }
  #art article {
    margin-left: auto;
    margin-right: auto;
    max-width: 670px;
    margin-top: 40px;
  }
  #art img {
    float: right;
    margin-left: 10px;
    margin-bottom: 10px;
    border: none;
    margin: 0;
  }
  #art h2 {
    line-height: 1.5em;
    font-size: 24px;
    margin-top: 0px;
    margin-bottom: 10px;
  }
  #art a, #rev a {
    text-decoration: none;
    color: var(--main-color);
    border-bottom: none;
  }
  #art a:hover, #rev a:hover {
    border-bottom: 2px solid var(--main-color);
  }
  #art p, #rev {
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 670px;
  }
  #art span {
    font-size: 15px;
    color: #727272;
  }
  #art span a {
    color: #727272;
  }
  #rev {
    padding: 30px;
  }
  #rev ul {
    columns: 3;
    -webkit-columns: 3;
    -moz-columns: 3;
  }
  @media only screen and (max-width: 910px) {
    #head .home-button {
      display: block;
      padding: inherit;
      padding-top: 10px;
      padding-bottom: 10px;
    }
    #head .home-button:first-of-type {
      margin-right: 0;
    }
  }
  @media only screen and (max-width: 730px) {
  
    #rev ul {
      columns: 1;
      -webkit-columns: 1;
      -moz-columns: 1;
    }
  }
  
  /* Sidebar */
  .sidebar-right {
    float: right;
    max-width: 195px;
    font-size: 15px;
    padding-right: 10px;
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
  }
  .sidebar-left {
    float: left;
    max-width: 195px;
    font-size: 15px;
    padding-left: 10px;
  }
  
  .sidebar-right section,
  .sidebar-left section {
    margin-bottom: 20px;
    margin-top: 20px;
  }
  
  .share-sidebar p,
  .related p {
    margin-top: 0px;
    margin-bottom: 0px;
  }
  
  .share {
    background: #fff;
    border: 1px solid #efeff4;
    border-radius: 6px;
    padding: 2px;
    width: 100%;
    display: inline-block;
    margin-bottom: 5px;
    cursor: pointer;
    text-align: left;
    font-size: 15px;
  }
  .share:hover {
    border: 1px solid var(--main-color);
  }
  .share svg {
    margin-right: 5px;
    margin-left: 10px;
    vertical-align: middle;
    margin-bottom: inherit;
  }
  .share span {
    margin-right: 10px;
  }
  
  .related ul {
    list-style: none;
    padding: 0;
    margin-top: 0px;
    margin-bottom: 0px;
  }
  
  .related li {
    line-height: 1.5em;
    margin-bottom: 1em;
  }
  
  .related a {
    border-bottom: 1px solid var(--main-color);
    color: #333;
  }
  
  /* Article */
  
  article header {
    background: var(--sec-color);
    text-align: center;
    padding: 20px 5%;
  }
  
  article header img {
    border: none;
  }
  
  article header a {
    color: var(--main-color);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 16px;
    font-weight: bolder;
    border-bottom: none;
  }

  article header .categories {
    display: block;
  }
  
  article header h1 {
    margin-top: 0px;
    line-height: 45px;
  }
  
  article header p {
    color: #333;
    font-size: 16px;
  }
  
  .page-content {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
  
  @media only screen and (max-width: 1200px) {
    .page-content {
      padding: 0 5%;
    }
    .sidebar-right,
    .sidebar-left,
    .share-sidebar p {
      display: none;
    }
    article header img {
      max-width: 100px;
      max-height: 100px;
    }
    header .logolead span {
      display: none;
    }
    .share {
      width: auto;
    }
    .related ul {
      list-style: square;
      margin-top: 10px;
      margin-bottom: 30px;
      padding-left: revert;
    }
    .gobutton {
      display: inline-block;
      max-width: 90%;
    }
    .recommend {
      margin-left: auto;
      margin-right: auto;
      max-width: 670px;
    }
  }
  @media only screen and (max-width: 400px) {
    .share {
      width: 100%;
      text-align: center;
    }
  }

  article th.has-text-align-right, article td.has-text-align-right {
    text-align: right;
  }

  article .wp-block-image a {
    border-bottom: none;
  }
  
  article p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  figure,
  table,
  ul,
  ol,
  pre,
  code,
  footer
  section .related,
  .lwptoc,
  .maxwidth,
  .author-bio-box,
  #pagination {
    margin-left: auto;
    margin-right: auto;
    max-width: 670px;
  }
  
  article a, .home-links>a {
    border-bottom: 2px solid var(--main-color);
    text-decoration: none;
  }
  
  article a:hover, .home-links>a:hover {
    color: var(--main-color);
  }
  
  h1 {
    font-size: 45px;
  }
  
  h2 {
    font-size: 37px;
  }
  
  h3 {
    font-size: 32px;
  }
  
  h4 {
    font-size: 28px;
  }
  
  h5 {
    font-size: 24px;
  }
  
  h6 {
    font-size: 21px;
  }
  
  .lead {
    font-size: 22px;
  }
  
  article code {
    font-family: Courier, monospace;
    background-color: #efeff4;
    font-weight: bold;
    color: black;
    padding: 0 4px;
  }
  
  article mark {
    background-color: #fecd80;
    padding: 0 4px;
  }
  
  article img {
    max-width: 100% !important;
    height: auto;
    border: 1px solid #efeff4;
  }

  pre {
    white-space: unset;
  }
  
  table {
    overflow-x: auto;
    font-size: 16px;
    border-collapse: collapse;
    width: 100%;
    white-space: nowrap;
    display: block;
  }
  
  th {
    border-bottom: 1px solid var(--main-color);
    padding: 6px 10px 6px 0;
    text-align: left;
  }
  
  td {
    border-bottom: 1px solid #efeff4;
    padding: 6px 10px 6px 0;
  }
  
  blockquote {
    margin: 0 1.5em;
    font-style: italic;
  }
  
  figcaption {
    text-align: center;
    color: #727272;
    font-size: 14px;
  }
  
  ul {
    list-style: square;
  }
  
  ul.blocks-gallery-grid {
    list-style: none;
    display: contents;
  }
  
  figure.wp-block-image.size-large {
    width: 33%;
    float: left;
    margin-top: 10px;
    text-align: center;
    display: block;
  }
  
  figure.wp-block-table {
    overflow-x: auto;
  }

  .supertable {
    max-width: 150%;
  }

  .supertable2 table {
    font-size: 100%;
  }

  .supertable td,.supertable2 td {
    white-space: nowrap;
  }

  .page-content .wp-block-image a {
    cursor: zoom-in;
  }

  .big {
    font-size: 120%;
    line-height: 1.8;
    margin-top: 50px;
    margin-bottom: 100px;
  }

  .small {
    font-size: 80%;
  }

  .page-content > p:first-of-type::first-letter {
    font-size: 5rem;
    font-weight: bold;
    line-height: 1;
    float: left;
    margin: 0 0.1em 0 0;
  }
  
  @media only screen and (max-width: 737px) {
    .single .rating img {
      margin-left: 0;
      margin-right: 0;
      max-width: 100%;
    }
    figure.wp-block-image.size-large {
      width: 100%;
      float: none;
      margin-top: 10px;
      text-align: center;
      display: block;
    }
  }

  .author-bio-box {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 24px;
    background: #fafbfc;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    max-width: 622px;
    border: 1px solid #efeff4;
  }
  
  .author-bio-title {
    font-weight: bold;
    font-size: 1,2em;
    margin-bottom: 16px;
    color: #333;
  }
  
  .author-bio-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
  }
  
  .author-bio-avatar {
    margin-right: 20px;
    flex-shrink: 0;
  }
  
  .author-bio-avatar img {
    border-radius: 50%;
    width: 96px;
    height: 96px;
    object-fit: cover;
    float: left;
  }
  
  .author-bio-info {
    flex: 1;
    min-width: 0;
  }
  
  .author-bio-name {
    font-size: 1,1em;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222;
  }
  
  .author-bio-desc {
    font-size: 1em;
    color: #444;
    word-break: break-word;
  }
  
  /* MOBILE: Awatar nad tekstem */
  @media (max-width: 600px) {
    .author-bio-content {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    .author-bio-avatar {
      margin: 0 0 16px 0;
      float: none;
    }
    .author-bio-info {
      text-align: center;
    }
  }
  
  
  /* ToC */
  .lwptoc {
    background-color: #fafbfc;
    font-size: 16px;
    padding: 14px 18px 18px;
    border: 1px solid #efeff4;
    border-radius: 8px;
  }
  
  .lwptoc_title {
    font-weight: bold;
    margin: 0;
  }
  
  .lwptoc a {
    text-decoration: none;
    border-bottom: none;
  }
  
  .lwptoc a:hover {
    border-bottom: 2px solid var(--main-color);
  }
  
  /* WordPress */
  .has-text-align-center {
    text-align: center;
  }

  .has-text-align-right {
    text-align: right;
  }
  
  .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  
  .alignleft {
    display: inline;
    float: left;
    margin-right: 1em;
  }
  
  .alignright {
    display: inline;
    float: right;
    margin-left: 1em;
  }

  #pagination {
    padding: 40px 0;
    text-align: center;
  }

  #pagination a:first-child {
    float: left;
  }

  #pagination a:last-child {
    float: right;
  }
  
  /* Buttons Sidebar */
  .sidebar-right .buttons p {
    margin-bottom: 25px;
  }
  
  /* Recommend */
  .recommend {
    box-shadow: 0 0 20px -10px hsl(0deg 0% 20%);
    border: 5px solid var(--main-color);
    padding: 7px;
    font-size: 15px;
    background: #fff;
    border-radius: 6px;
  }
  .recommend p {
    margin: 0;
  }
  
  /* gobutton */
  .gobutton {
    background: var(--main-color);
    border: 3px solid var(--main-color);
    color: #fff;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    width: 100%;
    margin-bottom: 15px;
    text-decoration: none;
    box-shadow: 0 0 20px -10px hsl(0deg 0% 20%);
    font-size: 14px;
  }
  .gobutton:hover {
    border: 3px solid var(--main-color);
    background: #fff;
    color: var(--main-color);
  }
  .gobutton2>a {
    background: var(--main-color);
    border: 3px solid var(--main-color);
    color: #fff;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    margin-bottom: 15px;
    text-decoration: none;
    box-shadow: 0 0 20px -10px hsl(0deg 0% 20%);
    font-size: 21px;
    display: block;
  }
  .gobutton2>a:hover {
    border: 3px solid var(--main-color);
    background: #fff;
    color: var(--main-color);
  }
    
  /* Footer */
  footer {
    border-top: 1px solid #efeff4;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
    font-size: 14px;
    text-align: center;
    display: inline-block;
    width: 100%;
  }
  
  footer p {
    margin: 0;
    line-height: initial;
    margin-bottom: 10px;
  }
  
  footer a {
    margin: 0;
    color: #555;
  }

  /* Other */
   .page-content .buttons {
    text-align: center;
  }
  .btn {
    background: var(--main-color);
    border: 1px solid var(--main-color);
    color: #fff;
    padding: 8px;
    text-align: center;
    margin-bottom: 15px;
    text-decoration: none;
    box-shadow: 0 0 20px -10px hsl(0deg 0% 20%);
    font-size: 1.2em;
    white-space: nowrap;
    display: block;
    cursor: pointer;
    width: 100%;
    border-radius: 6px;
  }
  .btn:hover {
    background: #fff;
    border: 1px solid var(--main-color);
    color: var(--main-color);
  }
  @media only screen and (max-width: 1200px) {

    .page-content {
      padding: 0 5%;
    }
    article header img {
      max-width: 100px !important;
      max-height: 100px;
    }
    .gobutton {
      display: inline-block;
      max-width: 90%;
    }
  }

  /* Ad Section Styling */
  .add-info {
    margin: 20px 0;
  }

  .add-info img {
    max-width: 100% !important;
    height: auto;
    display: block;
    margin: 0 auto;
  }
