.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.alignleft {
  float: left;
  margin: 0.25rem 1.25rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0.25rem 0 1rem 1.25rem;
}

.aligncenter {
  display: block;
  margin: 1.25rem auto;
}

.wp-caption {
  max-width: 100%;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.wp-caption img {
  display: block;
}

.wp-caption-text {
  margin-top: 0.5rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.gallery-item {
  margin: 0;
}

.gallery img {
  width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.wp-block-image,
.wp-block-embed,
.wp-block-table,
.wp-block-separator,
.wp-block-buttons {
  margin: 1.5rem 0;
}

.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td {
  padding: 0.85rem;
  border: 1px solid var(--color-border);
  text-align: left;
}

.wp-block-quote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--color-primary);
  background: var(--color-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.wp-block-code,
pre {
  overflow: auto;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: #0f172a;
  color: #e2e8f0;
}

.wp-block-pullquote {
  padding: 1.5rem 0;
  border-top: 2px solid var(--color-border);
  border-bottom: 2px solid var(--color-border);
}

.post-navigation,
.nav-links,
.comment-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

.comment-list {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.comment-list .comment {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.comment-reply-title,
.comments-title,
.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
  color: var(--color-secondary);
}

.comment-form p {
  margin-bottom: 1rem;
}

.comment-form .submit {
  cursor: pointer;
}

.post-thumbnail,
.entry-content img,
.entry-content iframe,
.wp-block-image img {
  max-width: 100%;
  height: auto;
}

.sticky,
.bypostauthor {
  position: relative;
}

.wp-block-search__button {
  min-width: 7rem;
}

.wp-block-separator {
  border: 0;
  height: 1px;
  background: var(--color-border);
}
