/* base.css */

/* — Reset marginesów i paddingu dla podstawowych elementów — */
body,
h1, h2, h3, h4, h5, h6,
p,
ul, ol,
figure {
  margin: 0;
  padding: 0;
}

/* — Zmienne globalne (CSS Custom Properties) — */
:root {
  --accent-color:   #ff8900;
  --bg-color:       #ffffff;
  --text-color:     #333333;
  --dark-gray:      #444444;
  --post-width:     940px;
  --sidebar-width:  160px;
  --gutter:         20px;
}

/* — Podstawowa typografia i tło — */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* — Linki — */
a {
  color: var(--accent-color);
  text-decoration: none;
}
a:hover {
  color: #ff6500;
}

/* — Obrazy — */
img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
}



/* ===== Cognimat: sticky footer layout ===== */
html { height: 100%; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* Make the main content area expand to fill available height */
main { flex: 1 0 auto; }
/* Footer naturally sits at the bottom when content is short */
.site-footer { margin-top: auto; }
