/*
Theme Name: Well Beyond Community (Astra Child)
Theme URI: https://wellbeyondcommunity.org
Description: Child theme of Astra for Well Beyond Community Outreach, Inc. All custom design, templates, and functionality live here.
Author: Well Beyond Community Outreach
Template: astra
Version: 1.0.0
Text Domain: wellbeyond-child
*/

:root {
	--wbco-primary: #0e4a5a;
	--wbco-primary-dark: #093642;
	--wbco-teal: #12707e;
	--wbco-accent: #f2a541;
	--wbco-coral: #e76f51;
	--wbco-ink: #1d2b32;
	--wbco-gray: #5b6770;
	--wbco-line: #e3e9ec;
	--wbco-bg: #f7f9fa;
	--wbco-white: #ffffff;
	--wbco-radius: 14px;
	--wbco-shadow: 0 10px 30px rgba(9, 54, 66, 0.10);
	--wbco-font-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
	--wbco-font-body: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--wbco-font-body);
	color: var(--wbco-ink);
	line-height: 1.65;
}

h1, h2, h3, h4, h5, h6,
.entry-content h1, .entry-content h2, .entry-content h3 {
	font-family: var(--wbco-font-head);
	color: var(--wbco-primary-dark);
	font-weight: 600;
	line-height: 1.25;
}

a {
	color: var(--wbco-teal);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--wbco-accent);
	outline-offset: 2px;
}

::selection {
	background: var(--wbco-accent);
	color: var(--wbco-primary-dark);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	box-shadow: 0 2px 14px rgba(9, 54, 66, 0.08);
}

.main-navigation ul li.wbco-nav-cta-help a,
.main-navigation ul li.wbco-nav-cta-donate a,
.main-navigation ul li.wbco-nav-cta-volunteer a {
	border-radius: 999px;
	padding: 8px 18px !important;
	margin-left: 8px;
	font-family: var(--wbco-font-head);
	font-weight: 700;
}

.main-navigation ul li.wbco-nav-cta-help a {
	background: var(--wbco-coral);
	color: var(--wbco-white) !important;
}

.main-navigation ul li.wbco-nav-cta-donate a {
	background: var(--wbco-accent);
	color: var(--wbco-primary-dark) !important;
}

.main-navigation ul li.wbco-nav-cta-volunteer a {
	background: var(--wbco-primary);
	color: var(--wbco-white) !important;
}

.main-navigation ul li.wbco-nav-cta-help a:hover,
.main-navigation ul li.wbco-nav-cta-donate a:hover,
.main-navigation ul li.wbco-nav-cta-volunteer a:hover {
	opacity: 0.88;
}

.home .ast-container {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.home .entry-content {
	max-width: none;
}

.entry-content[data-ast-blocks-layout] > .wbco-hero,
.entry-content[data-ast-blocks-layout] > .wbco-banner,
.entry-content[data-ast-blocks-layout] > .wbco-cta,
.entry-content[data-ast-blocks-layout] > .wbco-section {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.wbco-hero,
.wbco-banner,
.wbco-cta {
	width: 100%;
	margin-left: 0;
}

.wbco-hero {
	background: linear-gradient(115deg, rgba(9, 54, 66, 0.92) 0%, rgba(14, 74, 90, 0.85) 55%, rgba(18, 112, 126, 0.78) 100%), var(--wbco-hero-img, none);
	background-size: cover;
	background-position: center;
	color: var(--wbco-white);
	text-align: center;
	padding: 96px 24px 104px;
}

.wbco-hero h1 {
	color: var(--wbco-white);
	font-size: clamp(2.1rem, 5vw, 3.4rem);
	max-width: 900px;
	margin: 0 auto 18px;
}

.wbco-hero p {
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	max-width: 760px;
	margin: 0 auto 34px;
	color: #eef6f7;
}

.wbco-hero .wbco-btn-row {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

.wbco-btn,
.wpcf7-submit,
button.wbco-btn {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 999px;
	font-family: var(--wbco-font-head);
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.wbco-btn:hover,
.wbco-btn:focus {
	transform: translateY(-2px);
	box-shadow: var(--wbco-shadow);
	text-decoration: none;
}

.wbco-btn-primary {
	background: var(--wbco-accent);
	color: var(--wbco-primary-dark) !important;
}

.wbco-btn-primary:hover {
	background: #ffbd5f;
}

.wbco-btn-secondary {
	background: var(--wbco-white);
	color: var(--wbco-primary-dark) !important;
}

.wbco-btn-ghost {
	background: transparent;
	color: var(--wbco-white) !important;
	border-color: rgba(255, 255, 255, 0.75);
}

.wbco-btn-ghost:hover {
	background: rgba(255, 255, 255, 0.12);
}

.wbco-btn-coral {
	background: var(--wbco-coral);
	color: var(--wbco-white) !important;
}

.wbco-btn-coral:hover {
	background: #ef7d61;
}

.wbco-banner {
	background: var(--wbco-accent);
	color: var(--wbco-primary-dark);
	padding: 34px 24px;
	text-align: center;
}

.wbco-banner .wbco-banner-inner {
	max-width: 1080px;
	margin: 0 auto;
}

.wbco-banner h2 {
	color: var(--wbco-primary-dark);
	font-size: clamp(1.3rem, 3vw, 1.8rem);
	margin: 0 0 8px;
}

.wbco-banner p {
	font-size: 1.08rem;
	margin: 0 0 20px;
	color: #3d3222;
}

.wbco-banner .wbco-btn-row {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

.wbco-banner .wbco-btn-secondary {
	background: var(--wbco-primary-dark);
	color: var(--wbco-white) !important;
}

.wbco-section {
	padding: 72px 24px;
}

.wbco-section.alt {
	background: var(--wbco-bg);
}

.wbco-section-head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 44px;
}

.wbco-section-head h2 {
	font-size: clamp(1.6rem, 3.4vw, 2.2rem);
	margin: 0 0 10px;
}

.wbco-section-head p {
	color: var(--wbco-gray);
	font-size: 1.08rem;
	margin: 0;
}

.wbco-counters {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 22px;
	max-width: 1080px;
	margin: 0 auto;
}

.wbco-counter {
	background: var(--wbco-white);
	border: 1px solid var(--wbco-line);
	border-radius: var(--wbco-radius);
	box-shadow: var(--wbco-shadow);
	padding: 30px 18px;
	text-align: center;
}

.wbco-counter .wbco-count {
	display: block;
	font-family: var(--wbco-font-head);
	font-weight: 700;
	font-size: 2.6rem;
	color: var(--wbco-teal);
	line-height: 1.1;
}

.wbco-counter .wbco-count-label {
	display: block;
	margin-top: 6px;
	color: var(--wbco-gray);
	font-weight: 600;
	letter-spacing: 0.02em;
}

.wbco-programs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	max-width: 1140px;
	margin: 0 auto;
}

.wbco-program-card {
	display: block;
	background: var(--wbco-white);
	border: 1px solid var(--wbco-line);
	border-radius: var(--wbco-radius);
	padding: 30px 26px;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.wbco-program-card:hover,
.wbco-program-card:focus {
	transform: translateY(-4px);
	box-shadow: var(--wbco-shadow);
	border-color: var(--wbco-teal);
	text-decoration: none;
}

.wbco-program-card .wbco-program-icon {
	font-size: 2.2rem;
	line-height: 1;
}

.wbco-program-card h3 {
	margin: 14px 0 8px;
	font-size: 1.22rem;
	color: var(--wbco-primary-dark);
}

.wbco-program-card p {
	color: var(--wbco-gray);
	margin: 0 0 12px;
}

.wbco-program-card .wbco-program-link {
	color: var(--wbco-teal);
	font-weight: 700;
	font-family: var(--wbco-font-head);
	font-size: 0.95rem;
}

.wbco-cta {
	background: linear-gradient(115deg, var(--wbco-primary-dark), var(--wbco-teal));
	color: var(--wbco-white);
	text-align: center;
	padding: 76px 24px;
}

.wbco-cta h2 {
	color: var(--wbco-white);
	font-size: clamp(1.6rem, 3.6vw, 2.3rem);
	margin: 0 0 12px;
}

.wbco-cta p {
	color: #dceef1;
	max-width: 640px;
	margin: 0 auto 30px;
	font-size: 1.1rem;
}

.wbco-cta .wbco-btn-row {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

.wbco-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 22px;
	max-width: 1080px;
	margin: 0 auto;
}

.wbco-card {
	background: var(--wbco-white);
	border: 1px solid var(--wbco-line);
	border-radius: var(--wbco-radius);
	padding: 26px 24px;
}

.wbco-card h3 {
	margin: 10px 0 8px;
	font-size: 1.15rem;
}

.wbco-card p {
	color: var(--wbco-gray);
	margin: 0;
}

.wbco-card .wbco-card-icon {
	font-size: 1.9rem;
	line-height: 1;
}

.wbco-levels {
	width: 100%;
	max-width: 860px;
	margin: 0 auto 8px;
	border-collapse: collapse;
	background: var(--wbco-white);
	border-radius: var(--wbco-radius);
	overflow: hidden;
	box-shadow: var(--wbco-shadow);
}

.wbco-levels th,
.wbco-levels td {
	padding: 16px 20px;
	text-align: left;
	border-bottom: 1px solid var(--wbco-line);
}

.wbco-levels th {
	background: var(--wbco-primary);
	color: var(--wbco-white);
	font-family: var(--wbco-font-head);
}

.wbco-levels tr:last-child td {
	border-bottom: none;
}

.wbco-levels .wbco-level-amount {
	font-family: var(--wbco-font-head);
	font-weight: 700;
	color: var(--wbco-teal);
	white-space: nowrap;
}

.wbco-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
	max-width: 1080px;
	margin: 0 auto;
}

.wbco-gallery figure {
	margin: 0;
	background: var(--wbco-white);
	border: 1px dashed var(--wbco-line);
	border-radius: var(--wbco-radius);
	min-height: 190px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 18px;
	color: var(--wbco-gray);
	font-size: 0.95rem;
}

.wbco-note {
	background: #fdf6e8;
	border-left: 4px solid var(--wbco-accent);
	padding: 16px 20px;
	border-radius: 8px;
	color: #5a4a26;
	max-width: 860px;
	margin: 24px auto;
}

.wbco-disclaimer {
	font-size: 0.92rem;
	color: var(--wbco-gray);
	max-width: 760px;
	margin: 18px auto;
}

.wbco-event-card {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: center;
	background: var(--wbco-white);
	border: 1px solid var(--wbco-line);
	border-radius: var(--wbco-radius);
	padding: 24px 26px;
	max-width: 900px;
	margin: 0 auto 20px;
}

.wbco-event-date {
	background: var(--wbco-primary);
	color: var(--wbco-white);
	border-radius: 10px;
	padding: 14px 18px;
	font-family: var(--wbco-font-head);
	font-weight: 700;
	text-align: center;
	min-width: 110px;
}

.wbco-event-body h3 {
	margin: 0 0 6px;
}

.wbco-event-body p {
	margin: 0;
	color: var(--wbco-gray);
}

.wpcf7 {
	max-width: 720px;
	margin: 0 auto;
	background: var(--wbco-white);
	border: 1px solid var(--wbco-line);
	border-radius: var(--wbco-radius);
	padding: 30px 28px;
	box-shadow: var(--wbco-shadow);
}

.wpcf7 label {
	display: block;
	font-weight: 600;
	font-family: var(--wbco-font-head);
	font-size: 0.95rem;
	color: var(--wbco-primary-dark);
	margin: 14px 0 4px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #c8d3d8;
	border-radius: 8px;
	font-size: 1rem;
	font-family: var(--wbco-font-body);
	background: #fcfefe;
}

.wpcf7 .wpcf7-checkbox .wpcf7-list-item {
	display: block;
	margin: 6px 0;
	font-weight: 400;
	font-family: var(--wbco-font-body);
}

.wpcf7 .wpcf7-checkbox input {
	margin-right: 8px;
	transform: scale(1.15);
}

.wpcf7-submit {
	margin-top: 22px;
	background: var(--wbco-accent);
	color: var(--wbco-primary-dark);
	min-width: 180px;
}

.wpcf7-submit:hover {
	background: #ffbd5f;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--wbco-teal);
	background: #eef8f4;
	color: #14532d;
}

.wpcf7 .wpcf7-response-output {
	border-radius: 8px;
	font-weight: 600;
}

.wbco-mobile-cta {
	display: none;
}

@media (max-width: 782px) {
	.wbco-mobile-cta {
		display: block;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 9999;
		background: var(--wbco-primary-dark);
		box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.25);
	}

	.wbco-mobile-cta ul {
		display: flex;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.wbco-mobile-cta li {
		flex: 1;
	}

	.wbco-mobile-cta a {
		display: block;
		text-align: center;
		padding: 15px 6px;
		color: var(--wbco-white);
		font-family: var(--wbco-font-head);
		font-weight: 700;
		font-size: 0.92rem;
		letter-spacing: 0.03em;
		text-decoration: none;
	}

	.wbco-mobile-cta li + li a {
		border-left: 1px solid rgba(255, 255, 255, 0.18);
	}

	.wbco-mobile-cta .wbco-mcta-help a {
		background: var(--wbco-coral);
	}

	.wbco-mobile-cta .wbco-mcta-donate a {
		background: var(--wbco-accent);
		color: var(--wbco-primary-dark) !important;
	}

	body {
		padding-bottom: 54px;
	}
}

.wbco-footer-info {
	max-width: 1140px;
	margin: 0 auto;
	padding: 34px 24px 10px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	color: inherit;
}

@media (min-width: 769px) {
	.wbco-footer-info {
		grid-template-columns: repeat(3, 1fr);
	}
}

.wbco-footer-info h3 {
	color: inherit;
	font-size: 1.05rem;
	margin: 0 0 12px;
}

.wbco-footer-info ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wbco-footer-info li {
	margin: 7px 0;
}

.wbco-footer-info a {
	color: inherit;
	text-decoration: none;
}

.wbco-footer-info a:hover {
	text-decoration: underline;
}

.wbco-social-row {
	display: flex;
	gap: 12px;
	margin-top: 10px;
}

.wbco-social-row a,
.wbco-social-row span {
	display: inline-flex;
	width: 38px;
	height: 38px;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	font-size: 0.85rem;
	font-weight: 700;
	font-family: var(--wbco-font-head);
	opacity: 0.75;
	cursor: default;
}

.wbco-footer-bottom {
	text-align: center;
	padding: 18px 24px 26px;
	font-size: 0.9rem;
}

.home .entry-header {
	display: none;
}

.blog .entry-header,
.archive .entry-header {
	text-align: center;
}

.ast-small-footer {
	display: none;
}

@media (max-width: 782px) {
	.wbco-hero {
		padding: 64px 18px 72px;
	}

	.wbco-section {
		padding: 52px 18px;
	}
}
