:root {
  --agrion-font: 'Roboto', sans-serif;
  --agrion-font-two: 'Roboto', sans-serif;
}
.blog-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card__img {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.blog-card__img img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-card__date {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background-color: #2E7D32;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
}

.blog-card__content {
  padding: 16px;
}

.blog-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #212121;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card__title a {
  text-decoration: none;
  color: inherit;
}

.blog-card__desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 0;
}
.classic-p{
  margin: 0
}
.is-invalid{
  border: 1px solid red !important
}
table.custom-bordered {
  border-collapse: collapse;
  width: 100%;
  border: 1px solid #000; /* внешняя рамка */
  color: #333;
  margin-top: 20px
}

table.custom-bordered th,
table.custom-bordered td {
  border: 1px solid #000; /* границы между ячейками */
  padding: 8px;
  text-align: left;
}

table.custom-bordered th {
  background-color: #f5f5f5;
}
.img-gallery {
  height: 250px; /* фиксированная высота блока */
  /* border: 1px solid red; /* временно для наглядности */ */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #fefefe; /* на случай прозрачных изображений */
  position: relative;
}

.img-gallery img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* или cover, если тебе нужно обрезать */
}
