@font-face {
  font-family: 'chikarego';
  src: url("/fonts/chikarego-webfont.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

body {
  background-color: white;
  image-rendering: pixelated;
  background-image: url("https://files.catbox.moe/50bn2n.png");
  background-size: 175px;
  background-repeat: repeat;
  color: white;
  font-family: "chikarego", sans-serif;
  font-size: 60px;
  line-height: .9;
}




.document-text {
  font-family: 'chikarego', sans-serif;
  color: white;
  width: 100%;
  max-width: none;
  padding-left: 30px;
}

.document-text-b {
  font-family: 'chikarego', sans-serif;
  font-size: 80px;
  color: white;
  padding-left: 30px;
}

.cent-b { font-size: 80px; text-align: center; margin-bottom: 1rem; padding-right: 30px;}
.cent-m { font-size: 50px; text-align: center; margin: 0.5rem 0; padding-right: 30px;}
.cent-s { font-size: 30px; text-align: center; color: #ccc; margin: 0.2rem 0; padding-right: 30px;}


.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.blog-card {
  width: 400px;
  max-width: 100%;
  text-align: center;
}

.blog-card img.thumb {
  width: 100%;
  height: 400px;
  object-fit: cover;
  image-rendering: pixelated;
}

.blog-card a, .text-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}
.text-link:hover { text-decoration: underline; }

@media (max-width: 420px) {
  .blog-card { width: 100%; }
  .blog-card img.thumb { height: 160px; }
}

/* --- Blog grid override fix --- */

main.document-text {
  width: 100% !important;
  max-width: none !important;   /* removes narrow page constraint */
  display: block !important;
}

.blog-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr)) !important;
  gap: 2rem !important;
  justify-items: center !important;
  width: 100% !important;
}

.blog-card {
  width: 400px;
  max-width: 100%;
  text-align: center;
}


img {
  image-rendering: pixelated;
}

