

body {
  font-family: 'Patrick Hand', cursive; /* Или любой другой рукописный шрифт */
  background-color: #f4f4f4;
}

/* Сетка для карточек (3 колонки, как на картинке) */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Адаптируется под экран */
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

/* Сама карточка с черной рамкой */
.post-card {
  background: white;
  border: 5px solid black; /* Толстая черная рамка */
  border-radius: 15px; /* Скругленные углы (как на нарисованной рамке) */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 15px;
  box-sizing: border-box;
}

/* Картинка внутри рамки */
.post-image-wrapper {
  border: 3px solid black;
  margin-bottom: 15px;
}

.post-image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

/* Контент */
.post-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Заголовок TEXT */
.post-title {
  font-size: 2rem;
  margin: 5px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
}

/* Текст внизу */
.post-text {
  font-size: 1.2rem;
  margin: 5px 0;
  line-height: 1.4;
}

/* Значки GIF (лесенкой, как на схеме) */
.post-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute; /* Чтобы подвинуть их влево или вправо */
  /* Если хочешь справа, поменяй на right: -10px; */
  left: -10px; 
  transform: translateY(-10px);
}

.gif-badge {
  background: white;
  border: 3px solid black;
  padding: 2px 5px;
  font-weight: bold;
  font-size: 0.8rem;
  margin-bottom: 3px;
  box-shadow: 2px 2px 0px rgba(0,0,0,0.2);
  transform: rotate(-3deg); /* Легкий наклон как на рисунке */
}