/*
Theme Name:   Kadence WSA
Theme URI:    https://www.westsuburbanangels.com/
Description:  West Suburban Angels child theme for Kadence. Adds WSA colors, fonts, header/footer layout and a few section styles. Requires the free Kadence theme.
Author:       West Suburban Angels
Template:     kadence
Version:      1.0.0
Requires at least: 6.3
Requires PHP: 7.4
License:      GPL-2.0-or-later
Text Domain:  kadence-wsa
*/

/* ---------- Header ---------- */
.site-branding .brand.has-logo-image {
	flex-direction: column;
	align-items: center;
	gap: 2px;
}
.wsa-tagline {
	display: block;
	font-size: 13px;
	letter-spacing: 0.02em;
	color: var(--global-palette5);
	text-align: center;
}
.site-top-header-wrap .header-html a { color: var(--global-palette1); }
.site-top-header-wrap .header-html { margin-right: 1.25em; }
.wsa-envelope { margin-right: 4px; }

/* ---------- Script accent heading ("Professionals") ---------- */
.wsa-script,
.entry-content .wsa-script {
	font-family: "Pacifico", cursive;
	font-size: 36px !important;
	line-height: 1.3;
	font-weight: 400;
	text-transform: none;
	color: var(--global-palette1);
	margin-bottom: 0;
}

/* ---------- Home hero ---------- */
.wsa-hero .wp-block-cover__inner-container { max-width: 900px; }
.wsa-hero-text {
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	padding: 1.25em 1.5em;
	border-left: 4px solid var(--global-palette1);
	font-size: 1.2em;
	line-height: 1.6;
}

/* ---------- Service cards (Collaboration / Growth / Success) ---------- */
.wsa-services .wsa-card {
	background: #fff;
	color: var(--global-palette4);
	border: 1px solid #ececec;
	border-radius: 4px;
	padding: 2em 1.5em;
	text-align: center;
	height: 100%;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.wsa-services .wsa-card h3 {
	color: var(--global-palette1);
	text-transform: uppercase;
	font-size: 18px;
	font-weight: 900;
	margin-top: 0;
}
.wsa-services .wp-block-column { display: flex; flex-direction: column; }

/* ---------- Logo grids (partners / portfolio) ---------- */
.wsa-logos.wp-block-gallery.has-nested-images figure.wp-block-image {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 4px;
	padding: 16px;
	height: 130px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-grow: 0;
}
.wsa-logos.wp-block-gallery.has-nested-images figure.wp-block-image a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}
.wsa-logos.wp-block-gallery.has-nested-images figure.wp-block-image img {
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 96px !important;
	object-fit: contain !important;
	flex: 0 1 auto !important;
}
.wsa-logos.wp-block-gallery.columns-2 { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- Team ---------- */
.wsa-team .wp-block-column { text-align: center; }
.wsa-team .wp-block-image img {
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	width: 180px;
	height: 180px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.wsa-team h3 { margin-bottom: 0; }
.wsa-team .wsa-role {
	color: var(--global-palette1);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 0.04em;
	margin-top: 4px;
}
.wsa-team p:not(.wsa-role) { text-align: left; font-size: 16px; }

/* ---------- Membership call-out ---------- */
.wsa-membership {
	background: var(--global-palette7);
	border-top: 4px solid var(--global-palette1);
	padding: 2em;
	border-radius: 4px;
}
.wsa-membership h2 { margin-top: 0; }

/* ---------- FAQ ---------- */
.wsa-faq details {
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	padding: 1em 1.25em;
	margin-bottom: 0.75em;
	background: #fff;
}
.wsa-faq summary {
	font-weight: 700;
	cursor: pointer;
	color: var(--global-palette3);
}
.wsa-faq details[open] summary { color: var(--global-palette1); margin-bottom: 0.5em; }

/* ---------- Application steps ---------- */
.wsa-steps h3 {
	border-left: 4px solid var(--global-palette1);
	padding-left: 12px;
}

/* ---------- Forms (Contact Form 7) ---------- */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea {
	width: 100%;
}
.wpcf7 label { display: block; font-weight: 700; margin-bottom: 0.25em; }
.wpcf7 p { margin-bottom: 1em; }
.wsa-team-single { text-align: center; }

/* ---------- Footer ---------- */
.site-middle-footer-inner-wrap .site-footer-middle-section-1 {
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.5em 1.5em;
}
.wsa-rounded img { border-radius: 6px; }

/* ---------- Side gutters for full-width sections on small screens ---------- */
.entry-content > .wp-block-group.alignwide,
.entry-content > .wp-block-group.alignfull {
	padding-left: 20px;
	padding-right: 20px;
}
