/**
Theme Name: Astra Child
Author: OmniSpear
Author URI: https://omnispear.com
Description: Custom Astra theme for Beaver-Vu Bowl
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* CSS Table of Contents */
/* 1. Variables */
/* 2. Global Styles */
/* 3. Header */
/* 4. Content */
/* 5. Footer */
/* 6. Media Queries */

/* Variables */
/*
--wp--preset--color--ast-global-color-0: var(--ast-global-color-0); - Red
--wp--preset--color--ast-global-color-1: var(--ast-global-color-1); - Blue
--wp--preset--color--ast-global-color-2: var(--ast-global-color-2); - Blue
--wp--preset--color--ast-global-color-3: var(--ast-global-color-3); - Dark
--wp--preset--color--ast-global-color-4: var(--ast-global-color-4); - White
--wp--preset--color--ast-global-color-5: var(--ast-global-color-5); - Light
--wp--preset--color--ast-global-color-6: var(--ast-global-color-6); - Brown
--wp--preset--color--ast-global-color-7: var(--ast-global-color-7); - Light
--wp--preset--color--ast-global-color-8: var(--ast-global-color-8); - Green
*/

/* Global Styles */
h1,
h2 {
    text-shadow: -3px 3px 0 rgba(0, 0, 0, 0.1);
}

h3,
h4,
h5,
h6 {
    text-shadow: -2px 2px 0 rgba(0, 0, 0, 0.1);
}

.wp-block-button__link,
.ast-custom-button,
.forminator-button,
.shadowed {
    box-shadow: -1px 2px 0 1px rgba(0, 0, 0, 0.2) !important;
}

.forminator-button {
    border-radius: 50px !important;
}

.shadowed-block,
.shadowed-img img {
    box-shadow: -4px 4px 0 1px rgba(0, 0, 0, 0.1) !important;
}

.no-margin-bottom,
.no-margin-bottom-table table {
	margin-bottom: 0 !important;
}

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

.ast-article-single figure {
	box-shadow: none;
}

.d-none {
    display: none;
}

/* Header */

/* Content */
.ast-plain-container.ast-no-sidebar #primary {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.swiper {
    overflow: visible; /* Might need to figure something else out if this causes issues */
}

.home-events .event-card {
    border-radius: 10px;
}

.home-events .event-card .event-card-image-link {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: block;
    overflow: hidden;
}

.home-events .event-card .event-card-image-link img {
    aspect-ratio: 16/7;
    object-fit: cover;
    width: 100%;
}

.home-events .event-card .event-card-body {
    background-color: var(--wp--preset--color--ast-global-color-5);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 20px;
}

.home-events .event-card .event-card-title {
    font-size: 30px;
}

.home-events .event-card .event-card-title a {
    color: var(--wp--preset--color--ast-global-color-2);
    text-decoration: none;
}

.home-events .event-card .event-card-btn {
    display: inline-block;
    text-decoration: none;
}

.wp-block-table thead {
    background-color: currentColor;
}

.wp-block-table.is-style-stripes th {
	color: #fff;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: #ddd;
}

.event-template-default .entry-meta {
    display: none;
}

/* Footer */
footer .widget-title {
    font-size: 24px;
    margin-bottom: 10px;
}

footer .site-footer-primary-section-1 .widget-title {
    color: var(--wp--preset--color--ast-global-color-0);
}

footer .site-footer-primary-section-2 .widget-title {
    color: var(--wp--preset--color--ast-global-color-6);
}

footer .site-footer-primary-section-3 .widget-title {
    color: var(--wp--preset--color--ast-global-color-1);
}

footer .site-footer-primary-section-3 p {
    margin: 0;
}

footer .site-footer-section ul.menu li:not(:last-child) {
    margin-bottom: 20px;
}

footer li a {
    color: var(--wp--preset--color--ast-global-color-3);
    font-size: 16px;
    font-weight: 700;
}

.footer-social {
    color: var(--wp--preset--color--ast-global-color-3);
    font-size: 30px;
}

footer .widget_nav_menu + .widget_block {
    margin-bottom: 0;
}

/* Responsive additions */
.site-header-primary-section-right.ast-grid-right-section {
    align-content: center;
	flex-wrap: wrap;
	row-gap: 10px;
}

.main-header-menu > .menu-item > .menu-link, 
#astra-footer-menu > .menu-item > .menu-link {
    height: 40px;
}

/* Media Queries */
@media (max-width: 1508px) {
	.site-header-primary-section-right.ast-grid-right-section {
		max-width: 210px;
		padding-top: 10px;
		padding-bottom: 10px;
	}
}

@media (max-width: 1300px) {
	.ast-builder-menu-1 .menu-item > .menu-link {
		font-size: 14px;
	}
	
	.main-header-menu .menu-link, .main-header-menu>a {
		padding: 0 0.7em;
	}
}

@media (max-width: 1190px) {
	.home-blocks h2 {
		font-size: 22px !important;
	}
	
	.ast-builder-menu-1 .menu-item > .menu-link {
		font-size: 12px;
	}
}

@media (max-width: 1000px) {
	footer .ast-builder-grid-row-4-equal .ast-builder-grid-row,
	footer .ast-builder-grid-row-container.ast-builder-grid-row-tablet-4-equal .ast-builder-grid-row {
		grid-template-columns: repeat(2, 1fr);
		row-gap: var(--wp--preset--spacing--50);
	}
}

@media (max-width: 921px) {
	footer .ast-builder-grid-row-4-equal .ast-builder-grid-row,
	footer .ast-builder-grid-row-container.ast-builder-grid-row-tablet-4-equal .ast-builder-grid-row {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	header .custom-logo-link img {
		max-width: calc(100vw - 112px);
	}
	
	footer .ast-builder-grid-row-4-equal .ast-builder-grid-row,
	footer .ast-builder-grid-row-container.ast-builder-grid-row-tablet-4-equal .ast-builder-grid-row {
		grid-template-columns: 1fr;
	}
	
	.home-cover-block h1 {
		margin-bottom: 0 !important;
		font-size: 45px !important;
	}
}

@media (min-width: 923px) {
	header .custom-logo-link img {
		max-width: 15vw;
	}
}


