﻿:where(.wp-block-button__link) {
  align-items: center;
  border-radius: var(--wp--custom--radius--pill, 999px);
  display: inline-flex;
  justify-content: center;
  min-height: 45px;
  padding: 0 var(--wp--preset--spacing--md);
  text-decoration: none;
}

:where(.wp-block-button.is-style-outline .wp-block-button__link) {
  background: transparent;
  border-color: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--accent);
}

:where(.wp-block-image img) {
  border-radius: var(--wp--custom--radius--image, 8px);
}

:where(.wp-block-group) {
  min-width: 0;
}

:where(.wp-block-separator) {
  border-color: var(--wp--preset--color--border);
}

.chinalux-template-main {
  padding-block: var(--wp--preset--spacing--xl) var(--wp--preset--spacing--2-xl);
}

.chinalux-template-header {
  margin-block-end: var(--wp--preset--spacing--lg);
}

.chinalux-template-title {
  margin-block: 0;
}

.chinalux-template-meta,
.chinalux-query-meta,
.chinalux-template-description {
  color: var(--wp--preset--color--text-muted);
  font-family: var(--wp--preset--font-family--body);
  font-size: var(--wp--preset--font-size--sm);
}

.chinalux-entry-content {
  background: transparent;
}

.chinalux-entry-content > * + * {
  margin-block-start: var(--wp--preset--spacing--md);
}

.chinalux-featured-image {
  margin-block-end: var(--wp--preset--spacing--lg);
}

.chinalux-featured-image img {
  border-radius: var(--chinalux-card-radius);
}

.chinalux-query .chinalux-post-list {
  display: grid;
  gap: var(--wp--preset--spacing--md);
}

.chinalux-query-card {
  background: var(--wp--preset--color--surface);
  border-radius: var(--chinalux-card-radius);
  box-shadow: var(--wp--custom--shadow--card);
  padding: var(--wp--preset--spacing--md);
}

.chinalux-query-title {
  font-size: var(--wp--preset--font-size--md);
  margin-block: 0 var(--wp--preset--spacing--xs);
}

.chinalux-query-title a {
  color: var(--wp--preset--color--text-muted);
  text-decoration: none;
}

.chinalux-query-excerpt {
  margin-block-start: var(--wp--preset--spacing--sm);
}

.chinalux-pagination {
  margin-block-start: var(--wp--preset--spacing--lg);
}

.chinalux-pagination a,
.chinalux-pagination .page-numbers {
  border-radius: var(--wp--custom--radius--pill);
  min-width: 39px;
  padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--sm);
}

.chinalux-empty-state {
  background: var(--wp--preset--color--surface);
  border-radius: var(--chinalux-card-radius);
  box-shadow: var(--wp--custom--shadow--card);
  padding: var(--wp--preset--spacing--lg);
}

.chinalux-search-form {
  max-width: 640px;
}

.chinalux-search-form .wp-block-search__input {
  border: 1px solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius--image, 8px);
  color: var(--wp--preset--color--text-muted);
  min-height: 45px;
}

.chinalux-search-form .wp-block-search__button {
  background: var(--wp--preset--color--primary);
  border: 0;
  border-radius: var(--wp--custom--radius--pill);
  color: var(--wp--preset--color--surface);
  min-height: 45px;
}
