/* ========================= */
/* RESET */
/* ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========================= */
/* LINKI (KLUCZOWE!) */
/* ========================= */
a {
  color: inherit;
  text-decoration: none;
}

/* ========================= */
/* BODY (TŁO) */
/* ========================= */
body {
  min-height: 100vh;
  font-family: "Georgia", serif;
  color: var(--text, #e5e5e5);
  line-height: 1.6;

  background:
    linear-gradient(rgba(10,10,10,0.78), rgba(10,10,10,0.88)),
    url("tlo.jpg");

  background-size: cover;
  background-position: center 5%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ========================= */
/* HEADER */
/* ========================= */
.site-header {
  padding: 20px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.brand {
  display: flex;
  flex-direction: column;
}

.logo {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
}

.tag {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}

/* ========================= */
/* WRAP */
/* ========================= */
.wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ========================= */
/* HERO */
/* ========================= */
.hero {
  margin-bottom: 40px;
}

.hero-card {
  background: rgba(15,15,18,0.82);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
}

.hero-card h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.lead {
  color: #aaa;
  font-size: 14px;
  line-height: 1.7;
}

/* ========================= */
/* HUB (KAFELKI) */
/* ========================= */
.hub {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.tile {
  display: block;
  background: rgba(15,15,18,0.82);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
}

.tile h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.tile p {
  font-size: 13px;
  color: #999;
}

.tile:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
}

/* ========================= */
/* LISTA (ARTYKUŁY / WPISY) */
/* ========================= */
.list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.row {
  display: block;
  padding: 18px 20px;
  border-radius: 12px;

  background: rgba(15,15,18,0.82);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);

  transition: all 0.2s ease;
}

.row-title {
  font-size: 16px;
  margin-bottom: 6px;
  color: #eaeaea;
}

.row-desc {
  font-size: 13px;
  color: #999;
  line-height: 1.6;
}

.row:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.15);
}

.row:hover .row-title {
  color: #ffffff;
}

/* ========================= */
/* NOTE */
/* ========================= */
.note {
  margin-top: 20px;
}

.note-card {
  background: rgba(15,15,18,0.82);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  backdrop-filter: blur(6px);
}

/* ========================= */
/* BACK LINK */
/* ========================= */
.back {
  margin-top: 30px;
}

.back a {
  font-size: 13px;
  color: #aaa;
}

.back a:hover {
  color: #fff;
}

/* ========================= */
/* FOOTER */
/* ========================= */
.site-footer {
  text-align: center;
  padding: 30px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  color: #777;
}

/* ========================= */
/* RESPONSYWNOŚĆ */
/* ========================= */

/* TABLET */
@media (max-width: 900px) {

  .wrap {
    padding: 30px 20px;
  }

  .hero-card {
    padding: 28px;
    text-align: center;
  }

  .hub {
    gap: 16px;
  }

}

/* TELEFON */
@media (max-width: 520px) {

  .site-header {
    padding: 15px 20px;
  }

  .logo {
    font-size: 18px;
  }

  .tag {
    font-size: 11px;
  }

  .wrap {
    padding: 24px 14px;
  }

  .hero-card {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .hero-card h1 {
    font-size: 22px;
  }

  .lead {
    font-size: 13px;
  }

  .tile,
  .row {
    padding: 16px;
  }

  .tile h2,
  .row-title {
    font-size: 15px;
  }

  .tile p,
  .row-desc {
    font-size: 12px;
  }

  .note-card {
    padding: 18px;
    font-size: 12px;
  }

}

.author{
  margin-top:24px;
  font-size:13px;
  color:var(--muted);
  opacity:0.7;
  text-align:right;
  letter-spacing:1px;
}