/*
Theme Name: CASCMA
Theme URI: https://wordpress.org/themes/twentytwentythree
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Three is designed to take advantage of the new design tools introduced in WordPress 6.1. With a clean, blank base as a starting point, this default theme includes ten diverse style variations created by members of the WordPress community. Whether you want to build a complex or incredibly simple website, you can do it quickly and intuitively through the bundled styles or dive into creation and full customization yourself.
Requires at least: 6.1
Tested up to: 6.3
Requires PHP: 5.6
Version: 1.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: twentytwentythree
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/


:root {
	--primary: #24549d;
	--secondary: #042D62;
	--accent: #BF5442;
	--background-mid: #d3ddeb;
	--background-mid2: #f7f4e6;
	--background: #ffffff;
}

:where(body .is-layout-flow) > * {
	margin-block-start: 16px;
}

h1, h2, h3, h4, h5, h6 {
	margin-block-start: 32px;
}

/* Block Styles */
.wp-block-cover.is-style-hero {
	background: var(--wp--preset--color--contrast);
}

.wp-block-cover.is-style-cta {
	background: var(--wp--preset--color--contrast);
	border-radius: 4px;
}

.wp-block-button.is-style-link a {
	background: none !important;
	border-radius: 0 !important;
	line-height: 1.2;
}

.wp-block-button.is-style-menu a {
	background: transparent !important;
	padding: 8px;
	display: block;
}

.wp-block-button.is-style-menu a img {
	width: 16px;
	display: block;
}


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

.button-link {
	text-decoration-thickness: 3px !important;
	text-underline-offset: 5px;
}

.site-header .site-header__container {
	max-width: min(90%, 1380px);
	margin: 0 auto;
}

.section .section__container {
	max-width: min(90%, 1380px);
	margin: 0 auto;
}

.page-template-page-with-hero main {
	width: 100%;
}
.archive main,
.search main,
.error404 main,
.page-template-default main {
	max-width: min(90%, 1380px);
	margin: 0 auto;
}

.wp-block-cover.is-style-text-light {
	background: black;
}

.wp-block-cover.is-style-text-dark {
	background: black;
}

.wp-block-cover .wp-block-cover__inner-container {
	max-width: min(90%, 1380px);
}

.grid {
	display: grid !important;
}

.grid-4 {
	grid-template-columns: repeat(1, 1fr) !important;
}

.grid-4 .wp-block-column {
	margin-bottom: 48px;
}

.grid-4 .wp-block-column:last-of-type {
	margin-bottom: 0;
}

.cta-banner-blog {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 48px;
	max-width: 1200px !important;
}

.cta-banner-blog .column__copy .copy {
	display: grid;
	gap: 8px;
	justify-content: center;
}

.cta-banner-blog .column__copy .copy .wp-block-heading {
	text-align: center;
}

.cta-banner-blog .column__buttons {
	align-items: center;
	display: flex;
	justify-content: center;
}

@media only screen and (min-width: 768px) {

	.wp-block-cover .wp-block-cover__inner-container .wp-block-group {
		margin: 0 auto;
		max-width: 900px;
	}

	.grid-4 {
		grid-template-columns: repeat(2, 1fr) !important;
	}

	.grid-4 .wp-block-column {
		margin-bottom: 0;
	}

	.cta-banner-blog {
		grid-template-columns: 1fr max-content !important;
	}

	.cta-banner-blog .column__copy .copy {
		align-items: center;
		display: flex;
		gap: 48px;
		justify-content: flex-start;
	}

	.cta-banner-blog .column__copy .copy .wp-block-heading {
		text-align: left;
	}

	
}


@media only screen and (min-width: 1024px) {
	.grid-4 {
		grid-template-columns: repeat(4, 1fr) !important;
	}
}

/* Blog post template styles */
.single-post .wp-block-post-author .wp-block-post-author__avatar {
	margin-right: 8px;
}

.single-post .wp-block-post-author .wp-block-post-author__avatar,
.single-post .wp-block-post-author .wp-block-post-author__content {
	align-items: center;
	display: flex;
}

.single-post .avatar {
	border-radius: 100%;

}

/* 
.wp-block-post-excerpt__more-text a {
	color: var(--accent) !important;
	border: 0 !important;
	font-weight: 800;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 0.85rem;
} */

/* Member Shortcode Styles */
.card {
	padding: 32px;
	border-radius: 4px;
}

.card button {
	padding: 16px 32px !important;
	background: var(--primary) !important;
	color: #fff !important;
	border-radius: 4px;
}

/* Site Header Styles */
.navigation__container nav {
	display: none;
}

@media only screen and (min-width: 1024px) {
	.navigation__container {
		gap: 0;
	}

	.navigation__container nav {
		display: flex;
	}
}

.menu-toggle {
	display: inline-block !important;
}

@media only screen and (min-width: 1024px) {
	.menu-toggle {
		display: none !important;
	}
}

