/* Seiten, Beiträge und Suchergebnisse */
.page-card,
.card,
.content-grid,
.archive .site-main > .container,
.single .site-main > .container,
.page:not(.home) .site-main > .container {
  width: min(var(--content-wide-width), calc(100% - var(--content-gutter)));
  margin: 3rem auto;
}
.page-card,
.card {
  background: #fff;
}
.entry-title,
.page-title {
  margin-top: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}
.archive-heading {
  margin-bottom: 1.7rem;
}
.archive-heading .page-title {
  margin-bottom: 0;
  font-size: 2rem;
  line-height: 1.15;
}
.archive-description {
  margin: -0.7rem 0 1.7rem;
  color: var(--muted);
}
.archive-description > :first-child {
  margin-top: 0;
}
.archive-description > :last-child {
  margin-bottom: 0;
}
.entry-subtitle {
  margin: -0.35rem 0 1rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.35;
}
.entry-content::after {
  display: table;
  clear: both;
  content: "";
}
.entry-content .alignleft {
  float: left;
  margin: 0.35rem 1.5rem 1rem 0;
}
.entry-content .alignright {
  float: right;
  margin: 0.35rem 0 1rem 1.5rem;
}
.entry-content .aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
}
.entry-content .wp-caption {
  max-width: 100%;
}
.entry-content .wp-caption img {
  margin-bottom: 0.5rem;
}
.entry-content .wp-caption-text {
  margin-top: 0;
  font-size: 0.875rem;
}
.post-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.post-navigation-link {
  display: flex;
  min-width: 0;
  padding: 1.25rem;
  flex-direction: column;
  border: 1px solid var(--border);
  background: #f9f9f9;
  box-shadow: 0 6px 18px rgba(13, 25, 36, 0.08);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.post-navigation-link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.post-navigation-next {
  grid-column: 2;
  text-align: right;
}
.post-navigation-label {
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.post-navigation-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}
.search-results-header {
  margin: 3rem 0 2rem;
}
.search-again h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  line-height: 1.15;
}
.search-again p {
  margin: 1.25rem 0 0;
  font-size: 1.05rem;
}
.search-results-header .page-title {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}
.search-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.search-results-grid .news-card {
  height: 100%;
}
.search-results-grid .news-body {
  align-items: flex-start;
}
.search-results-grid .news-featured h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
}
.search-no-results {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: #f9f9f9;
  color: var(--muted);
}
.content-search-form {
  display: flex;
  width: 100%;
  margin-top: 1.25rem;
}
.content-search-form input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  border-right: 0;
  border-radius: 0;
}
.content-search-form button {
  display: grid;
  width: 46px;
  height: 44px;
  flex: 0 0 46px;
  padding: 9px;
  place-items: center;
  border: 0;
  background: #05080a;
  color: #fff;
  cursor: pointer;
}
.content-search-form svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.pagination {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}
@media (max-width: 980px) {
  .search-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .search-results-grid {
    grid-template-columns: 1fr;
  }
  .search-again p {
    font-size: 1rem;
  }
}
