/* Aktuelles: aufklappbare Meldungskarten */

.aktuelles-content .aktuelles-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin: 0 0 38px;
}

.aktuelles-content .aktuelles-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: #fff;
  border: 1px solid rgba(0, 89, 121, 0.18);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 89, 121, 0.07);
}

.aktuelles-content p,
.aktuelles-content a,
.aktuelles-content span {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.aktuelles-content .aktuelles-card-details {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  margin: 0;
}

.aktuelles-content .aktuelles-card-summary {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  margin: 0;
  padding: 20px 22px 0;
  cursor: pointer;
  list-style: none;
}

.aktuelles-content .aktuelles-card-summary::-webkit-details-marker {
  display: none;
}

.aktuelles-content .aktuelles-card-summary:focus-visible {
  outline: 2px solid #005979;
  outline-offset: -2px;
  border-radius: 9px;
}

.aktuelles-content .aktuelles-card-title {
  margin: 0 0 10px;
  padding: 0;
  color: #1d2f3a;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
}

.aktuelles-content .aktuelles-card-title strong {
  font-weight: 700;
}

.aktuelles-content .aktuelles-card-subtitle {
  display: block;
  margin-top: 7px;
  color: #005979;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.aktuelles-content .aktuelles-card-teaser {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  margin: 0 0 14px;
  color: #52626c;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
}

.aktuelles-content .aktuelles-card-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 14px 0 16px;
  border-top: 1px solid #e4ecf0;
  color: #005979;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.aktuelles-content .aktuelles-card-toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.aktuelles-content .aktuelles-card-details[open] .aktuelles-card-toggle::after {
  margin-top: -6px;
  transform: rotate(225deg);
}

.aktuelles-content .aktuelles-card-toggle-open,
.aktuelles-content .aktuelles-card-toggle-close {
  margin-right: 2px;
}

.aktuelles-content .aktuelles-card-details[open] .aktuelles-card-toggle-open {
  display: none;
}

.aktuelles-content .aktuelles-card-toggle-close {
  display: none;
}

.aktuelles-content .aktuelles-card-details[open] .aktuelles-card-toggle-close {
  display: inline;
}

.aktuelles-content .aktuelles-card-details[open] .aktuelles-card-teaser {
  display: none;
}

.aktuelles-content .aktuelles-card-body {
  padding: 0 22px 22px;
  border-top: 1px solid #eef3f6;
}

.aktuelles-content .aktuelles-card-body > p {
  margin: 16px 0 0;
  color: #2f3b42;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.55;
}

.aktuelles-content .aktuelles-card-body > p:last-child {
  margin-bottom: 0;
}

/* Positionspapier-Feature-Karte */
.aktuelles-content .aktuelles-card--feature {
  grid-column: 1 / -1;
  border-left: 5px solid #005979;
  background: linear-gradient(180deg, #f7fbfd 0%, #ffffff 70%);
}

.aktuelles-content .aktuelles-card--feature .aktuelles-card-head {
  padding: 22px 24px;
}

.aktuelles-content .aktuelles-card--feature .aktuelles-card-title {
  margin-bottom: 6px;
  color: #005979;
  font-size: 24px;
}

.aktuelles-content .aktuelles-card--feature p {
  margin: 12px 0 0;
  color: #2f3b42;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.aktuelles-content .aktuelles-card--feature a {
  display: inline-block;
  margin-top: 12px;
  text-decoration: none;
}

/* Rubriken-Akkordeons unter den Meldungen */
.aktuelles-content .aktuelles-archive {
  margin: 12px 0 30px;
  padding: 22px 24px 26px;
  background: #fff;
  border: 1px solid rgba(0, 89, 121, 0.18);
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 89, 121, 0.07);
}

.aktuelles-content .aktuelles-archive-heading {
  margin: 0 0 10px;
  padding: 0;
  color: #1d2f3a;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  text-align: left;
  text-transform: none;
}

.aktuelles-content .aktuelles-archive .aktuelles-rubrik-title {
  margin: 22px 0 0;
  padding: 8px 0 6px;
  color: #005979;
  border-bottom: 1px solid #dbe7ec;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-align: left;
  text-transform: none;
}

.aktuelles-content .aktuelles-archive .aktuelles-rubrik-body {
  padding: 6px 2px 4px;
}

.aktuelles-content .aktuelles-archive .aktuelles-rubrik-body p {
  margin: 10px 0 0;
  color: #2f3b42;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.55;
}

.aktuelles-content .aktuelles-archive .insert-page-title {
  display: none;
}

@media (max-width: 719px) {
  .aktuelles-content .aktuelles-cards {
    grid-template-columns: 1fr;
  }

  .aktuelles-content .aktuelles-card--feature {
    grid-column: auto;
  }
}
