/*
Theme Name: Yara
Theme URI: https://www.yelk.io/
Author: Yelk
Author URI: https://www.yelk.io/
Description: A starter Yara theme for WordPress, designed to be extended as needed.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yelk
Tags: block-styles, editor-style, custom-menu, custom-logo
*/

.alignwide {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.editor-styles-wrapper {
    padding: 2rem;
    background-color: #f9f9f9;
    font-family: var(--font-base);
    color: var(--color-text);
}

.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.editor-styles-wrapper p {
    margin-bottom: 1em;
}

.editor-styles-wrapper ul,
.editor-styles-wrapper ol {
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.editor-styles-wrapper .wp-block-button .wp-block-button__link {
    background-color: var(--color-link);
    color: #fff;
    padding: 0.6em 1.2em;
    border-radius: 4px;
}

.editor-styles-wrapper .wp-block-button .wp-block-button__link:hover {
    background-color: var(--color-link-hover);
}

.editor-styles-wrapper .wp-block-image img {
    height: auto;
}

.editor-styles-wrapper figcaption,
.wp-caption {
    font-size: 0.875rem;
    color: #666;
    text-align: center;
}

.text-center {
    text-align: center;
}

.mt-0 {
    margin-top: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.alignleft  {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}
