body {
  font-family: Arial, sans-serif;
  background-color: #F5F5F5;
  margin: 0;
  padding: 0;
  color: #333;
}

.job-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
    transition: box-shadow 0.3s ease;
    min-height: 140px;
    max-height: 220px;
    box-sizing: border-box;
    width: 100%;
}


a {
    text-decoration: none;
    width: 100%;
}

.job-card:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.job-card .title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.job-card .title p {
    color: #007bff;
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: .5px;
    margin: 0;
    margin-bottom: 1rem;
}

.job-card .title span {
  font-size: .9rem;
  opacity: 70%;
}

.date {
    color: #666 !important;
    font-size: .8rem !important;
}

.job-card .body p {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    color: #333;
    line-height: 28px;
}







.spacer {
  height: 3rem;
}


h2 {
  color: #004085;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  
  padding: 3rem .5rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 20px;
  flex: 1 1 calc(33.333% - 20px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
  min-height: 152px;
  max-height: 152px;
}

.card:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.card-title {
  margin: 0 0 10px;
  font-size: 1.25em;
}

.card-title a {
  text-decoration: none;
  color: #007bff;
}

.card-title a:hover {
  text-decoration: underline;
}

.card-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Max. 4 Zeilen */
  -webkit-box-orient: vertical;
}

.timestamp {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 0.8em;
  color: #666;
}

.alert {
  padding: 15px;
  background: #e2e3e5;
  border: 1px solid #d6d8db;
  border-radius: 4px;
}

.job-description p {
  line-height: 24px;
}

.contact {
  margin-top: 2rem;
}

.contact p {
  color: #f1f1f1;
  background-color: #004085;
  padding: .5rem 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 2rem;
}

span img {
  width: 19px;
}

.back {
  color: #004085;
}

@media (max-width: 768px) {
  .back {
    display: inline-block;
    margin-top: .5rem;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .card {
    flex: 1 1 100%;
  }
}
