.wordpress-generic-page {
  min-height: 60vh;
  padding: 72px 0;
}

.wordpress-archive-header {
  margin-bottom: 36px;
  text-align: center;
}

.wordpress-archive-header h1,
.wordpress-entry > h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.15;
}

.wordpress-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.wordpress-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2e7eb;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 12px rgb(0 0 0 / 7%);
}

.wordpress-card > a {
  height: 100%;
  display: block;
  padding: 22px;
}

.wordpress-card img {
  width: 100%;
  height: 230px;
  display: block;
  margin-bottom: 18px;
  object-fit: contain;
}

.wordpress-card time {
  color: #777;
  font-size: 14px;
}

.wordpress-card h2 {
  margin: 10px 0;
  font-size: 23px;
  line-height: 1.2;
}

.wordpress-card p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

.navigation.pagination {
  margin-top: 38px;
  text-align: center;
}

.navigation.pagination .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.navigation.pagination .page-numbers {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid #d8d8d8;
  border-radius: 50%;
}

.navigation.pagination .current,
.navigation.pagination a:hover,
.navigation.pagination a:focus-visible {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.wordpress-entry {
  max-width: 1000px;
  margin: 0 auto;
}

.entry-content {
  margin-top: 32px;
  font-size: 18px;
  line-height: 1.75;
}

.entry-content > * {
  max-width: 100%;
}

.entry-content .wp-block-table {
  margin: 24px 0;
  overflow-x: auto;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  padding: 13px 16px;
  border: 1px solid #ddd;
}

.wordpress-empty-state {
  text-align: center;
}

.wordpress-error-code {
  margin: 0;
  color: var(--green);
  font-size: 76px;
  font-weight: 800;
  line-height: 1;
}

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

@media (max-width: 640px) {
  .wordpress-generic-page { padding: 42px 0; }
  .wordpress-archive-header h1,
  .wordpress-entry > h1 { font-size: 30px; }
  .wordpress-card-grid { grid-template-columns: 1fr; }
  .wordpress-card img { height: 210px; }
  .entry-content { font-size: 16px; }
}

