/* Pferderecht Artikel & News – Master-V22-kompatibel */

.pro-an {
  width: 100%;
}

.pro-an-tools {
  margin: 0 0 28px;
  padding: 20px;
  border: 1px solid #d8cbb3;
  border-radius: 16px;
  background: #f6efdf;
}

.pro-an-tools label {
  display: block;
  margin-bottom: 7px;
  color: #8e1315;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pro-an-tools input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #d8cbb3;
  border-radius: 10px;
  background: #fff;
  color: #202020;
  font: inherit;
}

.pro-an-latest,
.pro-an-topic,
.pro-an-news {
  margin: 0 0 34px;
  padding: 28px;
  border: 1px solid #d8cbb3;
  border-radius: 20px;
  background: #fff;
}

.pro-an-topic:nth-of-type(even),
.pro-an-news {
  background: #f2e7ce;
}

.pro-an-section-head {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.pro-an-section-head h2 {
  margin: 0 0 7px;
  color: #8e1315;
}

.pro-an-section-head p {
  margin-bottom: 0;
}

.pro-an-grid {
  display: grid;
  gap: 16px;
}

.pro-an-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pro-an-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pro-an-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #ddd2bf;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .05);
}

.pro-an-card__image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eee5d4;
}

.pro-an-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.pro-an-card:hover .pro-an-card__image img {
  transform: scale(1.025);
}

.pro-an-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.pro-an-card time {
  margin-bottom: 7px;
  color: #7a6b5b;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.pro-an-card h3 {
  margin: 0 0 10px;
  color: #8e1315;
  font-size: 20px;
  line-height: 1.25;
}

.pro-an-card h3 a {
  color: inherit;
  text-decoration: none;
}

.pro-an-card p {
  margin: 0 0 14px;
}

.pro-an-card .pro-text-link {
  margin-top: auto;
}

.pro-an-card--news {
  border-left: 4px solid #8e1315;
}

.pro-an-empty {
  padding: 20px;
  border: 1px solid #d8cbb3;
  border-radius: 14px;
  background: #fff;
}

.pro-an-card[hidden],
.pro-an-topic[hidden],
.pro-an-latest[hidden],
.pro-an-news[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .pro-an-grid--three,
  .pro-an-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pro-an-latest,
  .pro-an-topic,
  .pro-an-news {
    padding: 18px;
  }

  .pro-an-grid--three,
  .pro-an-grid--two {
    grid-template-columns: 1fr;
  }

  .pro-an-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .pro-an-section-head .pro-btn {
    width: 100%;
  }
}
