/*
Theme Name: Member Read
Author: WPEverest
Author URI: https://wpeverest.com/
Description: Member Read is a modern, fully customizable WordPress block theme designed for membership communities, digital publishers, premium content platforms, and creator websites. Built with Full Site Editing capabilities and fully compatible with membership and user management plugins, this theme offers flexibility and ease of use for creating professional content-driven websites without coding knowledge. Perfect for blogs, newsletters, resource libraries, and subscription-based communities, Member Read provides seamless integration for premium articles, downloadable resources, content restriction, member directories, and membership management.
Requires at least: 6.9
Tested up to: 7.0
Requires PHP: 7.4
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: member-read
Tags: blog, full-site-editing, block-patterns, block-styles, custom-colors, custom-logo, editor-style, featured-images, flexible-header, one-column, two-columns, wide-blocks, translation-ready, threaded-comments
*/

html,
body,
.wp-block-post-author__avatar,
.wp-block-social-links,
.wp-block-post-excerpt__excerpt,
.wp-block-separator {
	margin: 0;
	padding: 0;
}

html,
body {
	overflow-x: hidden;
}

.no-margin-top {
	margin-top: 0 !important;
}

/* Box sizing
--------------------------------------------- */
/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
html {
	font-smooth: antialiased;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: antialiased;
}

body {
	font-smooth: auto;
	font-smooth: inherit;
	-webkit-font-smoothing: inherit;
}

.wp-site-blocks > .wp-block-group {
	margin-block-start: 0;
}

.wp-block-columns {
	margin-block-start: 0;
	margin-block-end: 0;
}

.wp-block-cover {
	margin-block-start: 0;
	margin-block-end: 0;
}

/* Navigation active state */
.header-nav
	.wp-block-navigation-item.current-menu-item
	> .wp-block-navigation-item__content,
.header-nav
	.wp-block-navigation-item
	> .wp-block-navigation-item__content[aria-current="page"],
.header-nav
	.wp-block-navigation-item.is-active
	> .wp-block-navigation-item__content {
	color: var(
		--wp--preset--color--accent,
		var(--wp--preset--color--primary)
	) !important;
	font-weight: 600 !important;
}

.header-nav
	.wp-block-navigation-item.current-menu-item
	> .wp-block-navigation-item__content
	*,
.header-nav
	.wp-block-navigation-item
	> .wp-block-navigation-item__content[aria-current="page"]
	*,
.header-nav
	.wp-block-navigation-item.is-active
	> .wp-block-navigation-item__content
	* {
	color: var(
		--wp--preset--color--accent,
		var(--wp--preset--color--primary)
	) !important;
}

@media (max-width: 600px) {
	.site-header .header-actions {
		display: none;
	}
}
