/* Base / foundation layer
 * Neue globale Regeln hier pflegen.
 * Komponenten-spezifische Styles spaeter in eigene Dateien auslagern.
 */

html {
    scroll-behavior: smooth;
}

body {
    color: var(--weyel-color-text);
    font-family: var(--weyel-font-family-base);
    line-height: var(--weyel-line-height-base);
}

a {
    color: inherit;
}

.screen-reader-text {
    display: none;
}

.bl {
    border-left: 6px solid;
    padding-left: var(--weyel-space-5);
}

.br {
    border-right: 6px solid;
    padding-right: var(--weyel-space-5);
}

.bred {
    border-color: var(--weyel-color-red);
}

.container {
    max-width: var(--weyel-container-max);
}

.wp-block-columns {
    max-width: var(--weyel-container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--weyel-gutter);
    padding-right: var(--weyel-gutter);
    display: flex;
    flex-wrap: wrap;
    gap: var(--weyel-space-5);
    box-sizing: border-box;
}

.wp-block-column {
    flex: 1 1 0;
    min-width: 0;
    box-sizing: border-box;
}

.wp-element-button {
    border-radius: var(--weyel-radius-lg);
    color: var(--weyel-color-white);
    font-family: var(--weyel-font-family-base);
    background-color: var(--weyel-color-blue);
    text-decoration: none;
    padding: var(--weyel-space-3) var(--weyel-space-6);
    margin-top: var(--weyel-space-6);
    font-size: var(--weyel-font-size-lg);
    transition: all var(--weyel-transition-slow);
    display: inline-block;
    border: none;
}

.wp-element-button:hover {
    background-color: var(--weyel-color-blue-dark);
    color: var(--weyel-color-white);
}

article h2 {
    font-family: var(--weyel-font-family-base);
    font-weight: 500;
}

article p {
    font-size: var(--weyel-font-size-lg);
    font-family: var(--weyel-font-family-base);
    line-height: var(--weyel-line-height-base);
    color: var(--weyel-color-text-muted);
}

.link-ci {
    color: var(--weyel-color-blue);
    transition: all var(--weyel-transition-base);
}

.link-ci:hover {
    color: var(--weyel-color-green);
}

/* Gutenberg Alignment Classes */
.has-text-align-left {
    text-align: left;
}

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

.has-text-align-right {
    text-align: right;
}

.has-text-align-justify {
    text-align: justify;
}

.grey-bg {
    background-color: var(--weyel-color-bg-soft);
    padding: var(--weyel-space-8) 0;
}
