/*
Theme Name: PL Consulting
Theme URI: https://pl-consulting.ru
Author: PL Consulting
Author URI: https://pl-consulting.ru
Description: Фирменная тема «ПЛ Консалтинг» по брендбуку 2026. Портирована с Ghost-темы pl-consulting.
Version: 1.8.0
Requires at least: 6.0
Requires PHP: 8.0
License: MIT
Text Domain: pl-consulting
*/

/* Основные стили — в assets/css/main.css (общие с Ghost-темой).
   Здесь только соответствия классов Gutenberg классам Ghost-редактора (kg-*). */

.article-content .alignwide {
  position: relative;
  width: min(1100px, 92vw);
  margin-left: calc(50% - min(550px, 46vw));
}
.article-content .alignfull {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.article-content .alignwide img,
.article-content .alignfull img {
  width: 100%;
}
.article-content .wp-block-image img {
  border-radius: var(--radius);
  height: auto;
}
.article-content .wp-block-buttons {
  display: flex;
  justify-content: center;
  margin: 1.6em 0;
}
.article-content .wp-block-button__link {
  background: var(--red);
  color: var(--white);
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 600;
}
.article-content .wp-block-quote {
  margin: 1.6em 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--red);
  color: #4d4b4b;
  font-style: italic;
}

/* Пагинация архивов (WP-разметка the_posts_pagination) */
.pagination {
  display: block;
}
.pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-weight: 500;
}
.pagination .page-numbers {
  color: var(--ink);
  font-weight: 500;
}
.pagination .page-numbers.current {
  color: var(--red);
}
.pagination a.page-numbers:hover {
  color: var(--red-dark);
}
