/**
 * Working Women Worship — main stylesheet
 * Mobile-first, matching the existing one-page visual design.
 */

/* --------------------------------------------------------------------------
   Fonts
   -------------------------------------------------------------------------- */
@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/open-sans.woff2") format("woff2");
}

@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/open-sans.woff2") format("woff2");
}

/* --------------------------------------------------------------------------
   Design tokens
   -------------------------------------------------------------------------- */
:root {
	--www-color-purple: #663399;
	--www-color-lavender: #b5a9dc;
	--www-color-link: #e95095;
	--www-color-link-hover: #7049ba;
	--www-color-heading: #333333;
	--www-color-text: #666666;
	--www-color-bg: #ffffff;
	--www-color-page: #eeeeee;
	--www-font: "Open Sans", Helvetica, Arial, sans-serif;
	--www-content-width: 1140px;
	--www-radius-btn: 0.3em;
	--www-focus: #e95095;
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-family: var(--www-font);
	font-size: 16px;
	line-height: 1.75;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background-color: var(--www-color-page);
	color: var(--www-color-text);
	font-family: var(--www-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
}

img {
	max-width: 100%;
	height: auto;
	border: 0;
	vertical-align: middle;
}

a {
	color: var(--www-color-link);
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--www-color-link-hover);
}

a:focus-visible,
.www-btn:focus-visible,
.www-skip-link:focus {
	outline: 2px solid var(--www-focus);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	color: var(--www-color-heading);
	font-weight: 700;
	line-height: 1.3;
}

p {
	margin: 0 0 1em;
}

ul {
	margin: 0 0 1.25em;
	padding-left: 1.5em;
}

li {
	margin-bottom: 0.35em;
}

/* --------------------------------------------------------------------------
   Accessibility helpers
   -------------------------------------------------------------------------- */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.www-skip-link {
	position: absolute;
	top: -100px;
	left: 1rem;
	z-index: 100000;
	padding: 0.75rem 1rem;
	background: var(--www-color-purple);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	border-radius: 0.25rem;
}

.www-skip-link:focus {
	top: 1rem;
	color: #fff;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.www-site-header {
	display: none;
}

.www-main {
	background-color: var(--www-color-bg);
	min-height: 60vh;
}

.www-container {
	width: 100%;
	max-width: var(--www-content-width);
	margin: 0 auto;
	padding: 1.5rem 1.25rem 3rem;
}

.www-container--narrow {
	max-width: 40rem;
	text-align: center;
}

.www-home .www-container {
	padding-top: 2rem;
	padding-bottom: 4rem;
}

.www-section {
	margin: 0 0 1.25rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.www-btn {
	display: inline-block;
	background-color: var(--www-color-purple);
	color: #ffffff;
	font-family: var(--www-font);
	font-size: 15px;
	font-weight: 700;
	line-height: 2.8;
	letter-spacing: 0;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	padding: 0 1.8em;
	border: 0;
	border-radius: var(--www-radius-btn);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.www-btn:hover,
.www-btn:focus {
	background-color: var(--www-color-link-hover);
	color: #ffffff;
}

.www-ctas {
	text-align: center;
}

.www-ctas__item {
	margin: 0 0 0.85rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.www-hero {
	text-align: center;
	margin-bottom: 0.75rem;
}

.www-hero__image {
	display: inline-block;
	width: 300px;
	max-width: 100%;
	height: auto;
}

/* --------------------------------------------------------------------------
   Welcome
   -------------------------------------------------------------------------- */
.www-welcome {
	text-align: center;
	margin-bottom: 1rem;
}

.www-welcome__heading {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--www-color-heading);
	margin: 0;
}

/* --------------------------------------------------------------------------
   Rich content (from Home page editor)
   -------------------------------------------------------------------------- */
.www-home-content {
	color: var(--www-color-text);
	font-size: 14px;
	line-height: 24px;
	margin-bottom: 1.5rem;
}

.www-home-content > *:first-child {
	margin-top: 0;
}

.www-home-content > *:last-child {
	margin-bottom: 0;
}

.www-home-content h2,
.www-home-content h3,
.www-home-content h4 {
	text-align: center;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--www-color-heading);
	margin: 0 0 0.75rem;
}

.www-home-content h2 + h2,
.www-home-content h2 + h3,
.www-home-content h2 + h4,
.www-home-content h3 + h4,
.www-home-content h4 + h4 {
	margin-top: 0;
}

.www-home-content p {
	margin: 0 0 1em;
}

.www-home-content ul {
	margin: 0 0 1.25em;
	padding-left: 1.4em;
}

.www-home-content li {
	margin-bottom: 0.15em;
}

.www-home-content a {
	color: var(--www-color-link);
}

.www-home-content a:hover,
.www-home-content a:focus {
	color: var(--www-color-link-hover);
}

.www-home-content strong {
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   Secondary donate spacing (matches original 30–50px gap)
   -------------------------------------------------------------------------- */
.www-donate-secondary {
	margin-top: 2rem;
	margin-bottom: 2.5rem;
	text-align: center;
}

/* --------------------------------------------------------------------------
   Worship call graphic
   -------------------------------------------------------------------------- */
.www-worship-call {
	text-align: center;
	margin-bottom: 1.5rem;
}

.www-worship-call__image {
	display: inline-block;
	width: 100%;
	max-width: 500px;
	height: auto;
}

/* --------------------------------------------------------------------------
   Closing
   -------------------------------------------------------------------------- */
.www-closing {
	text-align: center;
	margin-top: 0.5rem;
	margin-bottom: 0;
}

.www-closing__message,
.www-closing__thanks {
	font-size: 24px;
	line-height: 1.35;
	color: var(--www-color-heading);
	margin: 0 0 0.35em;
	font-weight: 400;
}

.www-closing__thanks {
	font-weight: 700;
	margin-bottom: 0;
}

.www-closing__thanks strong {
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   Generic entry / 404
   -------------------------------------------------------------------------- */
.www-entry__header {
	margin-bottom: 1.5rem;
	text-align: center;
}

.www-entry__title {
	font-size: 28px;
}

.www-entry__content {
	max-width: 45rem;
	margin: 0 auto;
}

.www-404 {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

.www-site-footer {
	background: transparent;
	min-height: 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
	html {
		font-size: 14px;
		line-height: 24px;
	}

	.www-container {
		padding-left: 2rem;
		padding-right: 2rem;
	}

	.www-home .www-container {
		padding-top: 2.5rem;
	}
}

@media (min-width: 1024px) {
	.www-container {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

@media (max-width: 374px) {
	.www-btn {
		display: block;
		width: 100%;
		padding-left: 1em;
		padding-right: 1em;
		font-size: 14px;
	}

	.www-about__title,
	.www-about__tagline,
	.www-closing__message,
	.www-closing__thanks {
		font-size: 20px;
	}

	.www-welcome__heading {
		font-size: 18px;
	}
}

@media (max-width: 767px) {
	.www-hero__image {
		width: min(300px, 100%);
	}

	.www-worship-call__image {
		max-width: 100%;
	}
}
