/* ===== Frontend blocks ===== */
:where(.entry-content, .wp-block-post-content) {
  font-family: var(--wp--preset--font-family--body);
  color: var(--wp--preset--color--body);
}

:where(.entry-content, .wp-block-post-content) :where(h1,h2,h3,h4,h5,h6) {
  font-family: var(--wp--preset--font-family--heading);
  color: var(--wp--preset--color--dark-blue);
}

/* Головне: зробити контент у контейнері (і не тягнути на 100vw) */
:where(.entry-content, .wp-block-post-content) > :where(*:not(.alignfull):not(.alignwide)) {
  max-width: var(--wp--style--global--content-size, 1140px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

:where(.entry-content, .wp-block-post-content) > .alignwide {
  max-width: var(--wp--style--global--wide-size, 1312px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* alignfull — повна ширина */
:where(.entry-content, .wp-block-post-content) > .alignfull {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
