/*
Theme Name: Olivaint
Theme URI: https://github.com/olivaint/wp-theme
Author: Olivaint Conference of Belgium
Author URI: https://www.olivaint.be
Description: Fork of the Kentwood theme for the Olivaint webiste.
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 5.7
Version: 1.1.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: olivaint
Tags: blog, education, one-column, wide-blocks, block-patterns, block-styles, featured-images, full-site-editing, rtl-language-support, threaded-comments, translation-ready, food-and-drink
*/

/*
 * Control the hover stylings of outline block style.
 * Unnecessary once block styles are configurable via theme.json
 * https://github.com/WordPress/gutenberg/issues/42794
 */
.wp-block-button.is-style-outline
    > .wp-block-button__link:not(.has-background):hover,
.wp-block-button.is-style-outline
    > .wp-block-button__link:not(.has-background):focus {
    background-color: var(--wp--preset--color--secondary);
    border-color: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--base);
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
    text-decoration-thickness: 0.5px !important;
    text-underline-offset: 0.1em;
}

/*
 * Navigation Block
 * Reset the padding from List block
 * https://github.com/WordPress/gutenberg/issues/50486
 */
.wp-block-navigation ul {
    padding: unset;
}

/*
 * Pull quote Block
 * Reset the browser default margins for blockquote element
 * https://github.com/WordPress/gutenberg/issues/44129
 */
.wp-block-pullquote blockquote,
.wp-block-pullquote p {
    margin: 0;
}

/* Force true full-bleed for alignfull cover/group */
.wp-block-cover.alignfull,
.wp-block-group.alignfull {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}

.wp-block-template-part:has(> .wp-block-group.alignfull) {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.lang-item {
    display: inline;
    padding-left: 5px;
    list-style: none;
}
