/*
Theme Name: Art'image
Description: Tema del blog di Art'image: riusa header, footer e foglio di stile del sito statico (/css/style.css).
Author: Ingegneria LC
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: artimage
*/

/* Solo gli adattamenti per il markup generato da WordPress: lo stile vero è in /css/style.css */

.article-body img {
  max-width: 100%;
  height: auto;
}

.article-body figure,
.article-body .wp-block-image {
  margin: 1.5em 0;
}

.article-body .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.article-body figcaption,
.article-body .wp-caption-text {
  font-size: 0.875em;
  opacity: 0.75;
  text-align: center;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.blog-pagination .page-numbers {
  padding: 0.4em 0.9em;
  border-radius: 999px;
  text-decoration: none;
}

.blog-pagination .page-numbers.current {
  font-weight: 600;
  text-decoration: underline;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
