@charset "UTF-8";
/*
	Theme Name: Restance
	Description: Restance is a simple, responsive, and elegant looking theme template for WordPress fullsite editing and fully compatible with Gutenverse plugin. Restance's templates is built with layout/design that suit for Real Estate sites and Furniture Design. The templates includes both core version and Gutenverse plugin version, also has core and Gutenverse block patterns ready so you can start mix and match your template parts as you desire. The templates is built ready so you don't need to build it from scratch. We want to make your experience using WordPress fullsite editor more convenient.
	Author: Jegstudio
	Author URI: https://gutenverse.com
  Theme URI: https://gutenverse.com/restance-theme
	Version: 1.0.9
	Stable tag: 1.0.9
	Requires at least: 5.9
	Tested up to: 6.1
	Requires PHP: 7.0
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: restance
	Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, full-site-editing, translation-ready, block-patterns, featured-images
*/
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* Sections ========================================================================== */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header Fonts ======================================================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: inherit;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-top: 0;
  margin-bottom: 0;
}

/* Grouping content ========================================================================== */
hr {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace;
  font-size: 1em;
  white-space: pre-wrap;
}

/* Text-level semantics ========================================================================== */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content ========================================================================== */
img {
  border-style: none;
  height: auto;
  max-width: 100%;
}

figure {
  margin-inline-start: 0;
  margin-inline-end: 0;
}

/* Interactive ========================================================================== */
details {
  display: block;
}

summary {
  display: list-item;
}

figcaption {
  font-size: 16px;
  line-height: 1.4;
  font-style: italic;
  font-weight: 400;
}

.wp-site-blocks > * {
  margin-top: 0!important;
}

.comment-form-comment {
  margin-bottom: 0.9rem;
}

.wp-block-post-comments input[type=submit],
.wp-block-post-comments-form input[type=submit] {
  background-color: var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--white);
  border-radius: 0px;
}

/* ---------------------------------------------

/* === Контент постов и страниц (обычно внутри .guten-post-content или .post-content) === */
.guten-post-content,
.post-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

/* === Заголовки === */
.guten-post-content h1,
.guten-post-content h2,
.guten-post-content h3,
.guten-post-content h4,
.guten-post-content h5,
.guten-post-content h6 {
    line-height: 1.3;
    margin: 1.5em 0 0.8em;
    color: #111;
    font-weight: 600;
}

.guten-post-content h1 { font-size: 2.2rem; }
.guten-post-content h2 { font-size: 1.8rem; }
.guten-post-content h3 { font-size: 1.5rem; }
.guten-post-content h4 { font-size: 1.3rem; }
.guten-post-content h5 { font-size: 1.1rem; }
.guten-post-content h6 { font-size: 1rem; }

/* === Абзацы === */
.guten-post-content p {
    margin: 0 0 1.5em !important;
}

/* === Ссылки === */
.guten-post-content a {
    color: #0073aa;
    text-decoration: none;
}

.guten-post-content a:hover {
    text-decoration: underline;
}

/* === Списки === */
.guten-post-content ul,
.guten-post-content ol {
    margin: 0.5em 0 0.5em 1.5em;
    padding: 0;
}

.guten-post-content li {
    margin: 0.4em 0;
    line-height: 1.6;
}

/* === Цитаты === */
.guten-post-content blockquote {
    border-left: 4px solid #0073aa;
    margin: 1.5em 0;
    padding: 1em 1.5em;
    background-color: #f9f9f9;
    font-style: italic;
    color: #444;
}

.guten-post-content blockquote cite,
.guten-post-content blockquote footer {
    font-size: 0.9em;
    font-style: normal;
    color: #666;
    margin-top: 0.5em;
    font-weight: 500;
}

/* === Изображения === */
.guten-post-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Выравнивание изображений */
.guten-post-content img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.guten-post-content img.alignright {
    float: right;
    margin: 0 0 1em 1.5em;
}

.guten-post-content img.alignleft {
    float: left;
    margin: 0 1.5em 1em 0;
}

/* === Подписи к изображениям (figcaption) === */
.guten-post-content .wp-caption {
    max-width: 100%;
    margin-bottom: 1.5em;
    background: #f0f0f0;
    padding: 0.5em;
    border-radius: 3px;
}

.guten-post-content .wp-caption-text {
    font-size: 0.9em;
    color: #666;
    margin: 0.5em 0 0;
    text-align: center;
}

/* === Горизонтальная линия (hr) === */
.guten-post-content hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 2em auto;
    width: 80%;
}

/* === Таблицы === */
.guten-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.guten-post-content th,
.guten-post-content td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: left;
}

.guten-post-content th {
    background-color: #f0f0f0;
    font-weight: 600;
}

/* === Код и pre === */
.guten-post-content code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    background: #f0f0f0;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 0.9em;
}

.guten-post-content pre {
    background: #f0f0f0;
    padding: 1em;
    border: 1px solid #ddd;
    overflow-x: auto;
    margin: 1.5em 0;
    border-radius: 4px;
}

.wp-block-query-pagination {
	font-size: large;
}
.wp-block-query-pagination a:not(.wp-block-query-pagination-previous, .wp-block-query-pagination-next),
.wp-block-query-pagination span:not(.is-arrow-chevron) {
	border: 1px solid var(--wp--preset--color--secondary);
	padding: 0px 10px;
	border-radius: 10px;
	display: inline-block;
	margin-bottom: 10px;
}

.wp-block-query-pagination span:not(.is-arrow-chevron) {
	border: 1px solid var(--wp--preset--color--secondary);

}


