   :root {
      --bg-main: #fafafa;
      --bg-card: #ffffff;
      --text-main: #222222;
      --text-muted: #777777;
      --text-light: #999999;
      --border-main: #e5e5e5;
      --accent: #000000;
      --hover: #0099ff;
    }

    body {
      background: var(--bg-main);
      color: var(--text-main);
      font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    }

    header {
      padding: 2rem 1rem;
      text-align: center;
    }

    header h1 {
      font-weight: 500;
      margin-bottom: .25rem;
    }
      header h1 A.site-title {
        color: inherit;
        text-decoration: none;
      }

      header h1 A.site-title:hover {
        text-decoration: none;
        color: inherit;
        opacity: .85;
      }

    header p {
      color: var(--text-muted);
      margin: 0;
      font-weight: 400;
    }


      @media (max-width: 576px) {
        header p {
          font-size: .85rem;
        }
      }


    nav {
      border-top: 1px solid var(--border-main);
      border-bottom: 1px solid var(--border-main);
      font-size: 0.9rem;
    }

    nav a {
      color: var(--text-muted);
      text-decoration: none;
      margin: 0 .75rem;
    }


@media (max-width: 576px) {
  nav a {
    font-size: .85rem;
    margin: 0 .65rem;
  }
}

    nav a:hover {
      color: var(--hover);
      text-decoration: underline;
      text-decoration-thickness: 2px;
      text-underline-offset: 3px;
    }

    nav.main-nav a.active {
      color: var(--text-main);
      font-weight: 500;
      text-decoration: underline;
      text-decoration-thickness: 2px;
      text-underline-offset: 3px;
    }    

    h2 {
      font-size: 1.05rem;
      font-weight: 500;
      letter-spacing: .06em;
      text-transform: uppercase;
      color: #333;
      margin-bottom: .75rem;
      padding: 0 2px;
    }

    h3 {
      font-size: .75rem;
      font-weight: 500;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin: .5rem 0 .35rem;
      padding: 0 2px;
    }

    .comic-main {
      border: 1px solid var(--border-main);
      border-radius: 8px;
      padding: 1rem;
      background: var(--bg-card);
      box-shadow: 0 1px 0 rgba(0,0,0,0.02);
    }

    .comic-main img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 4px;
    }

    .comic-nav {
      padding-left:15px;
    }

    .comic-nav a,
    .comic-nav .nav-disabled {
      display: inline-block;
      font-size: .9rem;
      line-height: 1.4;
      margin: 0 .75rem;
    }

    /* aktivní odkazy */
    .comic-nav a {
      color: var(--text-muted);
      text-decoration: none;
    }

    /* hover pouze pro aktivní odkazy */
    .comic-nav a:hover {
      color: var(--hover);
    }

    .comic-nav a:hover .link-text {
      text-decoration: underline;
      text-decoration-thickness: 2px;
    }

    /* neaktivní navigace */
    .comic-nav .nav-disabled {
      color: var(--text-light);
      opacity: .5;
      cursor: default;
    }

    /* neaktivní text nikdy nepodtrhujeme */
    .comic-nav .nav-disabled .link-text {
      text-decoration: none;
    }  

    .extras-wrapper {
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
    }

    .extras-note {
      text-align: center;
      font-size: .75rem;
      letter-spacing: .08em;
      color: var(--text-light);

    }

    .thumb {
      border: 1px solid var(--border-main);
      border-radius: 6px;
      padding: .45rem;
      background: var(--bg-card);
      box-shadow: 0 1px 0 rgba(0,0,0,0.02);
    }

    .thumb img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 3px;
    }

    .jednohubka img {
      aspect-ratio: 1 / 1;
      object-fit: contain;
    }

    .divider {
      border-top: 1px solid var(--border-main);
      opacity: 1;
    }

    footer {
      border-top: 1px solid var(--border-main);
      padding: 2rem 1rem;
      text-align: center;
      color: var(--text-muted);
      font-size: .85rem;
    }

    @media (max-width: 576px) {

      /* zmenšení okrajů hlavního obsahu */
      main.container {
        padding-left: .3rem;
        padding-right: .3rem;
      }

      /* sekce s dalšími stripy */
      .extras-wrapper {
        padding-left: 0;
        padding-right: 0;
      }

    }

/* =====================================================
   STRIPY – SEZNAM
===================================================== */

.strip-list {
  max-width: 420px;
  margin: 0 auto;
}

/* jeden řádek stripu */
.strip-row {
  display: flex;
  gap: 1.2rem;
  padding: .9rem .25rem 1rem;
  border-bottom: 1px solid var(--border-main);
  text-decoration: none;
  color: inherit;
  transition: background-color .15s ease;
  align-items: flex-start;
}

/* jemný nádech při hoveru */
.strip-row:hover {
  background-color: rgba(0,0,0,0.02);
}

/* náhled */
.strip-thumb {
  flex: 0 0 180px;
}

.strip-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* obsah */
.strip-content {
  flex: 1;
  min-width: 0;
}

/* NÁZEV – hlavní řádek */
.strip-title {
  font-size: 0.95rem;          /* větší než dřív */
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-main);
  line-height: 1.3;
  margin-top:0.5rem;
}

/* META ŘÁDEK – datum + tagy */
.strip-meta {
  margin-top: .25rem;
  font-size: .7rem;         /* stejné pro datum i tagy */
  color: var(--text-light);
  letter-spacing: .06em;
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

/* datum */
.strip-date {
  white-space: nowrap;
}

/* tagy */
.strip-tags {
  white-space: nowrap;
}

/* mobil */
@media (max-width: 576px) {

  .strip-row {
    gap: .5rem;
  }

  .strip-thumb {
    flex: 0 0 140px;
  }

  .strip-title {
    font-size: .95rem;
    margin-top:0.2rem;
    letter-spacing: .05em;
  }

}







/* hlavička detailu stripu */
.strip-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.strip-header-tags {
  font-size: .7rem;
  color: var(--text-light);
  letter-spacing: .06em;
  white-space: nowrap;
  margin-top: .25rem;
}


.strip-tags {
  margin-top: .15rem;
  font-size: .6rem;
  color: var(--text-light);
  letter-spacing: .06em;
  line-height: 1.3;
}

.strip-tags span {
  white-space: nowrap;
}


.archive-link {
  text-align: center;
  margin-top: .75rem;
  font-size: .7rem;
}

.archive-link span {
  text-align: center;
  color: var(--text-light);
  font-size: .7rem;
}

.archive-link a {
  color: var(--text-light);
  text-decoration: none;
}

.archive-link a:hover {
  color: var(--hover);
  text-decoration: underline;
}



/* =====================================================
   DETAIL STRIPU
===================================================== */

.strip-detail-tags {
  text-align: center;
  font-size: .65rem;
  color: var(--text-light);
  letter-spacing: .06em;
  margin-top: -.5rem;
  margin-bottom: 1.5rem;
}

/* =====================================================
   O MARCELOVI
===================================================== */

.about-text {
  max-width: 360px;
}
@media (max-width: 576px) {
  .about-text {
    padding-inline: 1.25rem;
  }
}

/* =====================================================
   JEDNOHUBKY – PŘEHLED
===================================================== */

.jednohubky-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;

  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

  @media (max-width: 576px) {
    .jednohubky-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem 0.5rem;
    }
  }

.jednohubka-item img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--border-main);
  background: var(--bg-card);
}

.jednohubka-meta {
  margin-top: .5rem;
}

.jednohubka-title {
  font-size: .9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom:0.2rem;
}

.jednohubka-info {
  font-size: .65rem;
  color: var(--text-light);
}

.jednohubka-detail {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.jednohubka-detail img {
  width: 100%;
  height: auto;
  max-width: 560px;
}

.comic-title {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.comic-date {
  color: var(--text-light);
  font-weight: 400;
}