/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Template: generatepress
Author: Tom Usborne
Author URI: https://generatepress.com/about
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS, and is translated into over 25 languages by our amazing community of users. A few of our many features include 60+ color controls, powerful dynamic typography, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover), and 9 widget areas. Learn more and check out our powerful premium version at https://generatepress.com
Tags: two-columns,three-columns,one-column,right-sidebar,left-sidebar,footer-widgets,blog,e-commerce,flexible-header,full-width-template,buddypress,custom-header,custom-background,custom-menu,custom-colors,sticky-post,threaded-comments,translation-ready,rtl-language-support,featured-images,theme-options
Version: 3.6.0.1754384892
Updated: 2025-08-05 10:08:12

*/
/*--------------------------------------------------------------
# Front page
--------------------------------------------------------------*/
.nav-button__next,
.nav-button__prev {
	background: rgb(0 0 0 / .8);
	color: #fff;
	border-radius: 5px;
	text-decoration: none;
	display: flex; 
	align-items: center; 
	justify-content: center; 
	width: 52px;
	height: 52px;
	position: absolute;
	top: 50%;
	z-index: 10;
	overflow: hidden;
	opacity: 0.5;
	cursor: pointer;
}

.nav-button__next .icon,
.nav-button__prev .icon {
	width: 24px;
	height: 24px;
	fill: currentColor; /* inherit text color */
}

/* Target only inside Swiper slides using figcaption */
.swiper-slide .coblocks-gallery--item {
	position: relative;
	overflow: hidden;
}

/* Ensure figure and image don't break */
.swiper-slide .coblocks-gallery--figure {
	margin: 0;
	display: block;
}

.swiper-slide .coblocks-gallery--figure img {
	display: block;
	width: 100%;
	height: auto;
}

/* Style the figcaption as an overlay title */
.swiper-slide .coblocks-gallery--caption {
	padding: 0.75rem 1rem;
	text-shadow: -2px 0 var(--contrast),0 2px var(--contrast),2px 0 var(--contrast),0 -2px var(--contrast);
	font-size: 2.5rem;
	font-weight: 600;
	text-align: center;
	z-index: 2;
	text-transform: uppercase;
}

/* Site navigation */
#site-navigation {
	background-color: var(--dark-blue);
}

#site-navigation .main-nav .menu-item a {
	font-size: 18px;
	text-transform: uppercase;
}

#site-navigation .main-nav .menu-item:not(:first-child) a {
	border-left: 2px solid var(--accent);
}

#site-navigation .main-nav ul li a {
	color: var(--base-3);
}

#site-navigation .main-nav ul li[class*="current-menu-"] > a {
	color: var(--accent);
}

#site-navigation .sub-menu .menu-item:nth-child(odd) {
    background-color: var(--contrast-3);
}

#site-navigation .sub-menu .menu-item a{
    color: var(--contrast-2);
}
.main-navigation .menu-toggle, .main-navigation .menu-bar-items {
	color: var(--wp--preset--color--white);
}
.main-navigation .menu-toggle:hover, .main-navigation .menu-bar-items:hover, button.menu-toggle:hover, button.menu-toggle:focus {
	color: var(--accent);
}

/* Woocommerce account dashboard */
.woocommerce-account .woocommerce-MyAccount-content {
	width: 90% !important;
  	margin: auto;
	float: unset;
}
.woocommerce-account .woocommerce {
	padding-bottom: 2em;
	padding-top: 2em;
}

@media (max-width: 768px) {
	.swiper-slide .coblocks-gallery--caption {
		font-size: 1.5rem; /* adjust as needed */
		padding: 0.5rem 0.75rem;
	}
	.wp-block-latest-posts.is-grid {
		margin: 0;
	}
	h1 {
		font-size: 32px;
	}
	h2 {
		font-size: 28px;
	}
}