/* Header styles live in the site design system (agentinstallieren-site/assets/css/aii-site.css) so WooCommerce, funnel and 404 views share them. */

/* Blog-Übersicht – große Überschrift, Beiträge als abgerundete Kacheln. */
.fithacker-content .aii-blog-archive {
  max-width: calc(900px + 2 * var(--fithacker-container-padding));
  margin-inline: auto;
  padding: var(--fithacker-space-7) var(--fithacker-container-padding) var(--fithacker-section-padding);
}

.fithacker-content .aii-blog-archive__header { margin-bottom: var(--fithacker-space-6); }
.fithacker-content .aii-blog-archive__header h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4rem); }
.fithacker-content .aii-blog-archive__desc:empty { display: none; }
.fithacker-content .aii-blog-archive__desc { margin-top: var(--fithacker-space-3); color: var(--fithacker-color-ink-2); }

.fithacker-content .aii-blog-archive .fithacker-query-loop { display: grid; gap: 12px; }

.fithacker-content .aii-blog-archive .fithacker-loop-item,
.fithacker-content .aii-blog-archive .fithacker-loop-item.fithacker-loop-list {
  display: block;
  border: 2px solid transparent;
  border-radius: var(--fithacker-radius-lg);
  background: var(--fithacker-color-mist);
  overflow: visible;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.fithacker-content .aii-blog-archive .fithacker-loop-item:hover { border-color: var(--fithacker-color-text); background: #fff; }
.fithacker-content .aii-blog-archive .fithacker-loop-content { display: flex; flex-direction: column; gap: 8px; padding: 24px 28px; }
.fithacker-content .aii-blog-archive .fithacker-loop-title { font-family: var(--fithacker-font-heading); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; overflow-wrap: anywhere; }
.fithacker-content .aii-blog-archive .fithacker-loop-title a { color: var(--fithacker-color-text); text-decoration: none; }
.fithacker-content .aii-blog-archive .fithacker-loop-title a:hover { text-decoration: underline; text-decoration-color: var(--fithacker-color-accent-hover); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.fithacker-content .aii-blog-archive .fithacker-loop-meta { order: -1; gap: var(--fithacker-space-3); font-size: 14px; font-weight: 600; color: var(--fithacker-color-accent-ink); }
.fithacker-content .aii-blog-archive .fithacker-loop-excerpt { color: var(--fithacker-color-ink-2); font-size: 15.5px; }

.fithacker-content .aii-blog-archive ul.page-numbers { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--fithacker-space-6) 0 0; padding: 0; list-style: none; }
.fithacker-content .aii-blog-archive ul.page-numbers li { margin: 0; }

.fithacker-content .aii-blog-archive a.page-numbers,
.fithacker-content .aii-blog-archive span.page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0 16px;
  border: 2px solid var(--fithacker-color-border);
  border-radius: var(--fithacker-radius-pill);
  color: var(--fithacker-color-text);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.fithacker-content .aii-blog-archive a.page-numbers:hover { border-color: var(--fithacker-color-text); }
.fithacker-content .aii-blog-archive span.page-numbers.current { border-color: var(--fithacker-color-text); background: var(--fithacker-color-text); color: #fff; }

@media (max-width: 640px) {
  .fithacker-content .aii-blog-archive { padding-top: var(--fithacker-space-6); }
  .fithacker-content .aii-blog-archive .fithacker-loop-content { padding: 18px; }
  .fithacker-content .aii-blog-archive .fithacker-loop-title { font-size: 1.2rem; }
}

/* Footer styles live in the site design system (agentinstallieren-site/assets/css/aii-site.css) so WooCommerce, funnel and 404 views share them. */