/*
Theme Name:   West Edge Digital Child
Theme URI:    https://westedgedigital.com.au
Description:  Child theme for Astra. Brand styles for West Edge Digital, built on Gutenberg core blocks.
Author:       West Edge Digital
Template:     astra
Version:      1.1.0
Text Domain:  west-edge-digital-child
*/

/*
 * Site chrome only (front end). Content and block styles, which are shared
 * with the block editor, live in css/blocks.css.
 */

:focus-visible {
	outline: 3px solid var(--wed-cyan);
	outline-offset: 3px;
}

/* Astra full-width pages: remove default top/bottom spacing so sections butt together */
.ast-plain-container.ast-no-sidebar #primary {
	margin-top: 0;
	margin-bottom: 0;
}

/* A dark section at the very end of a page runs straight into the navy footer,
   so its bottom padding reads as extra empty space: trim it. */
.entry-content > .wp-block-group.wed-section--dark:last-child {
	padding-bottom: 20px;
}

/* ==========================================================================
   Header (Astra builder)
   ========================================================================== */
.ast-primary-header-bar,
.ast-mobile-header-wrap .ast-primary-header-bar {
	background-color: var(--wed-navy);
	border-bottom: 0;
}

.ast-primary-header-bar .main-header-menu > .menu-item > .menu-link {
	color: #ffffff;
	font-weight: 600;
}

.ast-primary-header-bar .main-header-menu > .menu-item > .menu-link:hover,
.ast-primary-header-bar .main-header-menu > .menu-item.current-menu-item > .menu-link {
	color: var(--wed-cyan);
}

.ast-header-button-1 .ast-custom-button {
	background-color: var(--wed-cyan);
	color: var(--wed-navy);
	font-weight: 700;
	border-radius: 8px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

.ast-header-button-1 .ast-custom-button:hover {
	background-color: var(--wed-cyan-hover);
	color: var(--wed-navy);
}

.ast-mobile-menu-trigger-minimal .ast-mobile-svg,
.ast-button-wrap .menu-toggle .ast-mobile-svg {
	fill: #ffffff;
}

.ast-button-wrap .menu-toggle {
	min-width: 48px;
	min-height: 48px;
}

/* ==========================================================================
   Footer (Astra builder)
   ========================================================================== */
.site-below-footer-wrap[data-section="section-below-footer-builder"],
.site-footer {
	background-color: var(--wed-navy);
}

.site-below-footer-wrap .ast-builder-grid-row {
	padding: 28px var(--wed-gutter);
}

.site-footer .ast-footer-copyright,
.site-footer .ast-footer-copyright p {
	color: #c9d3e0;
	font-size: 15px;
}

.site-footer .footer-widget-area .menu-link,
.site-footer .footer-nav-wrap .menu-link {
	color: #ffffff;
	font-size: 15px;
	padding-top: 8px;
	padding-bottom: 8px;
}

.site-footer .footer-nav-wrap .menu-link:hover {
	color: var(--wed-cyan);
}
