/*
 Theme Name: Floweden
 Text Domain: floweden
 Template: twentytwentyfive
*/

html {
    scroll-padding-top: 70px;
}

html,
body {
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji") !important;
}

*:focus {
    outline: none !important;
}

a:where(:not(.wp-element-button)) {
    text-decoration: none;
}

.wp-block-template-part {
    display: contents !important;
}

.wp-content {
    overflow: hidden;
}

.wp-content :where(a:where(:not(.wp-element-button)):hover) {
    color: #f9d84e
}

:where(.wp-site-blocks)>* {
    margin-block-start: 0;
}

/* .e-con-full:first-child {
    padding: 0 !important;
} */

.wp-block-post-title a {
    text-decoration: none;
}

.text-loop {
    position: relative;
    display: inline-block;
    min-height: 1.5em;
    overflow: hidden;
}

.text-loop-item {
    white-space: nowrap;
}

.elementor-widget-text-editor>p:last-child {
    margin-block-end: 0 !important;
}

.elementor-element.elementor-element,
.elementor-element.elementor-element * {
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji") !important;
}

.wp-block-query-pagination-numbers {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.wp-block-query-pagination-numbers a,
.wp-block-query-pagination-numbers .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 150ms;
    text-decoration: none;
    height: 2.25rem;
    width: 2.25rem;
    flex-shrink: 0;
    outline: none;
}

.wp-block-query-pagination-numbers a:hover {
    background-color: rgb(243 244 246);
}

.wp-block-query-pagination-numbers .page-numbers.current {
    background-color: #f9d84e;
    border: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.wp-block-query-pagination-numbers .page-numbers.dots {
    padding: 0 0.75rem;
    width: auto;
}

.wp-block-query-pagination-previous {
    display: inline-flex;
    align-items: center;
}

.wp-block-query-pagination-previous:before {
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0.25rem;
    flex-shrink: 0;
}

.wp-block-query-pagination-next {
    display: inline-flex;
    align-items: center;
}

.wp-block-query-pagination-next:after {
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 0.25rem;
    flex-shrink: 0;
}

@media (max-width: 39.9375rem) {

    .wp-block-query-pagination-previous,
    .wp-block-query-pagination-next {
        font-size: 0;
        line-height: 0;
    }

    .wp-block-query-pagination-previous:before,
    .wp-block-query-pagination-next:after {
        margin: 0;
        font-size: 1rem;
        line-height: 1;
    }
}

@media (min-width: 40rem) {

    .wp-block-query-pagination-previous,
    .wp-block-query-pagination-next {
        font-size: 0.875rem;
    }
}

.blog-post a {
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-post a:hover {
    color: #f9d84e
}

.blog-post h2,
.blog-post h3 {
    scroll-margin-top: 100px;
}