/*

Theme Name: Frameword Lite
Theme URI: https://frameword.romanfink.com/
Author: Roman Fink
Author URI: https://romanfink.com
Description: Build a clear and minimal website with Frameword. Create an awesome website with just a few clicks. Frameword is designed for both business and personal sites, offering a sleek, modern look that emphasizes simplicity and functionality. With its user-friendly interface, you can easily customize your site to suit your needs, whether you're showcasing your portfolio, promoting your business, or starting a blog. Enjoy the convenience of a minimalist design that keeps your content at the forefront. Frameword is perfect for anyone who values clean aesthetics and efficient performance.
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 5.7
Version: 1.0.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: frameword-lite
Tags: one-column, custom-colors, custom-menu, editor-style, full-site-editing, block-patterns, block-styles, blog, portfolio

*/

.entry-content {
    margin-top: 0; /* Remove margin from header to content */
}

.padding-to-center {
    padding-left: calc((100vw - var(--wp--style--global--content-size)) / 2);
}
  
@media screen and (max-width: 1280px) {
  .padding-to-center {
    padding-left: var(--wp--preset--spacing--40);
  }
}
  
.minus-top-margin {
  margin-top: -28px !important;
}

.alignfull, footer {
    margin-right: -16px;
    margin-left: -16px;
}

@media screen and (min-width: 768px) {
    .alignfull, footer {
        margin-right: -24px;
        margin-left: -24px;
    }
  }

@media screen and (max-width: 768px) {
    .single-post .wp-site-blocks > * {
            margin-block-start: 0px;
    }
}


/* --- Submenu background and colors --- */
.wp-block-navigation ul.wp-block-navigation__submenu-container {
    background: var(--wp--preset--color--background-soft) !important;
    border: none !important;
    border-radius: 10px !important;
}

.wp-block-navigation .wp-block-navigation-item {
    border-radius: 10px !important;
}

.wp-block-navigation li a:hover {
    color: var(--wp--preset--color--font-text) !important;
}

/* --- Links border control --- */
.wp-block-site-logo a {
    border: none !important;
}

a:has(img) {
    border: none !important;
}

/* --- Stick footer to bottom --- */

.wp-site-blocks {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.wp-site-blocks > footer {
    margin-block-start: auto !important;
}




.wp-block-social-links .wp-social-link span:not(.screen-reader-text) {
    font-size: var(--wp--preset--font-size--normal);
}

/* --- Comments in single posts --- */
#reply-title {
    margin-top: 0;
}


/* --- Helpers for block stylization --- */

.border-radius-default {
    border-radius: var(--wp--preset--spacing--10);
}

.overflow-hidden {
    overflow: hidden;
}

.full-height {
    height: 100%;
}


/* Block Style: Space Between */

@media screen and (max-width: 768px) {
    .is-style-frameword-reverse .wp-block-column:first-child{
        order: 2;
    }
}


.is-style-frameword-rounded-borders {
    border-radius: 16px;
}

.is-style-frameword-rounded-borders-10 {
    border-radius: 10px;
}

.is-style-frameword-rounded-borders-20 {
    border-radius: 20px;
}

.is-style-frameword-rounded-borders-40 {
    border-radius: 40px;
}

.is-style-frameword-text-wrap-balance {
    text-wrap: balance !important;
}


/* --- Helper classes for mobile devices --- */

@media (max-width: 767px) {

    .mobile-hide {
        display: none !important
    }

    .mobile-max-height-40 {
        max-height: 40px;
    }

    .mobile-order-1 {
        order: 1;
    }

    .mobile-order-2 {
        order: 2;
    }

    .mobile-align-none {
        float: none !important;
        margin-inline-start: 0 !important;
    }

    .mobile-no-br br {
        display: none;
    }

    .mobile--no-padding-top {
        padding-top: 0 !important;
    }

    .mobile--no-padding-bottom {
        padding-bottom: 0 !important;
    }

    .mobile-gallery-column > .wp-block-image {
        width: 100% !important;
    }

}

/* --- Material buttons --- */

.wp-element-button, .wp-block-button a {
    transition: 0.2s ease;
    -webkit-transition: 0.2s ease;
    box-sizing: border-box;
}

.wp-element-button:hover, .wp-block-button:hover a {
    transform: scale(1.02);
}

.wp-element-button:focus, .wp-block-button:focus a {
    transform: scale(1);
}

.wp-element-button:active, .wp-block-button:active a {
    transform: scale(1);
}

.wp-lightbox-container {
    transition: 0.2s ease;
    -webkit-transition: 0.2s ease;  
}

.wp-lightbox-container:hover {
    transform: scale(1.02);
}


/* --- --- */

.wp-block-navigation__responsive-container.is-menu-open {
    padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
}

ul.wp-block-categories-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--40);
}


/* --- Styles for pagination --- */

.wp-block-query-pagination-numbers {
    display: flex;
    gap: var(--wp--preset--spacing--30);
}

.wp-block-query-pagination-numbers > * {
  background: var(--wp--preset--color--background-soft);
  width: 32px;
  height:  32px;
  text-align: center;
  align-content: center;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  display: flex;
}

.wp-block-query-pagination-numbers > a {
  border: none;
  background: var(--wp--preset--color--background);
}

.wp-block-query-pagination-numbers > a:hover {
  border: none;
  background: var(--wp--preset--color--background-soft);
}