/*
Theme Name: CraftMag
Theme URI: https://themezhut.com/themes/craftmag/
Author: ThemezHut Themes
Author URI: https://themezhut.com/
Description: CraftMag WordPress theme is a block theme created for all kinds of Magazines, Newspapers and blogs. Learn more at https://themezhut.com/themes/craftmag/
Requires at least: 5.9
Tested up to: 6.1
Requires PHP: 5.7
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: craftmag
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks
*/

.craftmag-has-header-shadow {
    box-shadow: 0px 6px 8px 0px rgb(0 0 0 / 8%);
}

.wp-block-cover.has-custom-content-position.has-custom-content-position.craftmag-featured-post-cover .wp-block-cover__inner-container {
    width: 100%;
}

.wp-block-cover.has-custom-content-position.has-custom-content-position.craftmag-featured-post-cover .wp-block-cover__inner-container .wp-block-post-title a:where(:not(.wp-element-button)):hover {
    color: #ffffff;
}

/*--------------------------------------------------------------
# - Block Styles
--------------------------------------------------------------*/
.craftmag-home-query.wp-block-query .wp-block-post-template.is-flex-container.columns-2, 
.craftmag-home-query.wp-block-query .wp-block-query-loop.is-flex-container.columns-2 {
    gap: 50px;
}

.craftmag-has-custom-space-5.wp-block-query .wp-block-post-template.is-flex-container.columns-2, 
.craftmag-has-custom-space-5.wp-block-query .wp-block-query-loop.is-flex-container.columns-2 {
    gap: 10%;
}

@media (min-width: 600px) {
    .craftmag-has-custom-space-5 .wp-block-post-template.is-flex-container.is-flex-container.columns-2>li {
        width: calc(45%);
    }
}

@media (min-width: 600px) {
    .craftmag-home-query .wp-block-post-template.is-flex-container.is-flex-container.columns-2>li {
        width: calc(50% - 25px);
    }
}

.craftmag-fp1-query.wp-block-query .wp-block-post-template.is-flex-container.columns-3, 
.craftmag-fp1-query.wp-block-query .wp-block-query-loop.is-flex-container.columns-3 {
    gap: 35px;
}

@media (min-width: 600px) {
    .craftmag-fp1-query .wp-block-post-template.is-flex-container.is-flex-container.columns-3>li {
        width: calc(33.3333% - 23.3333px);
    }
}

.wp-block-query-pagination-numbers .page-numbers:not(:last-child) {
    margin-right: 16px;
}