/*
Theme Name: JNews Child Ethos
Theme URI: http://themeforest.net
Template: jnews
Author: Ethos Charitable Foundation
Author URI: https://ethosfound.org
Description: JNews based theme for Ethos Charitable Foundation website
Tags: custom-background,custom-colors,custom-menu,editor-style,featured-images,full-width-template,sticky-post,theme-options,threaded-comments,translation-ready
Version: 11.6.16.1778680674
Updated: 2026-05-13 17:57:54

*/

/* =============================================================
   VARYA CAMPAIGN PAGE  —  page-varya-campaign.php
   Prefix: vc-  (varya campaign)
   Design principle: clean, airy, trustworthy. Inherit all
   typography and base colors from JNews parent theme.
   ============================================================= */

/* Smooth anchor scrolling for the whole page */
html {
	scroll-behavior: smooth;
}

/* Offset for sticky header so CTA anchor doesn't hide under it */
#donation-widget-container {
	scroll-margin-top: 100px;
}

/* ---------- Layout helpers ---------- */

.varya-campaign {
	width: 100%;
}

.vc-wrap {
	max-width: 1180px;
	margin-inline: auto;
	padding-inline: clamp(16px, 4vw, 48px);
}

.vc-wrap--narrow {
	max-width: 860px;
}

/* ---------- Section titles ---------- */

.vc-section-title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	margin-bottom: 0.5em;
	line-height: 1.25;
}

/* ---------- CTA button ----------
   Visual styling (color, bg, padding, radius, font-weight, etc.)
   all comes from JNews's .btn rule and the Customizer-injected
   accent color. We only add layout glue here so we don't fight
   the cascade or break live theme color changes.
   ------------------------------------------------------------ */

.vc-btn {
	text-decoration: none;  /* <a> elements inherit link color otherwise */
	text-align: center;
	min-width: 250px;
	max-width: 100%;
	box-sizing: border-box;
	padding-left: 40px !important;
	padding-right: 40px !important;
	/* Lift on hover complements JNews's inset box-shadow darken */
	transition: transform 0.12s ease;
	/* Override JNews .btn border-radius: 0 with a pill shape */
	border-radius: 50px !important;
}

.vc-btn:hover,
.vc-btn:focus-visible {
	transform: translateY(-2px);
	text-decoration: none;
}

.vc-btn--full {
	display: block;
	width: 100%;
}

/* ============================================================
   1. HERO
   ============================================================ */

.vc-hero {
	padding-block: clamp(48px, 8vw, 96px);
	background-color: #fafafa;
	border-bottom: 1px solid #ebebeb;
}

.vc-hero .vc-wrap {
	display: flex;
	flex-direction: column;
}

.vc-hero__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
	margin-top: 32px;
}

.vc-hero__label {
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.75rem;
	font-weight: 600;
	opacity: 0.55;
	margin-bottom: 12px;
}

.vc-hero__title {
	font-size: clamp(1.5rem, 3.5vw, 2.5rem);
	font-weight: 800;
	line-height: 1.25;
	margin-bottom: 0;
}

.vc-hero__lead {
	font-size: 1.05rem;
	line-height: 1.7;
	opacity: 0.85;
	margin-bottom: 32px;
}

/* Video */

.vc-video-wrap {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.vc-video-wrap iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: none;
}

.vc-video-note {
	padding: 10px 14px;
	font-size: 0.8rem;
	opacity: 0.55;
	text-align: center;
	background: rgba(0, 0, 0, 0.03);
	margin: 0;
}

/* ============================================================
   2. STORY
   ============================================================ */

.vc-story {
	padding-block: clamp(56px, 8vw, 96px);
}

.vc-story__grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: clamp(32px, 4vw, 56px);
	align-items: start;
	margin-top: 32px;
}

.vc-story__text p {
	font-size: 1rem;
	line-height: 1.9;
	margin-bottom: 1.3em;
}

.vc-story__text p:last-child {
	margin-bottom: 0;
}

/* Story image placeholders */

.story-image-placeholder {
	width: 100%;
	height: 300px;
	margin: 32px 0;
	background: #f0f2f5;
	border: 1px solid #e0e3e8;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	opacity: 0.5;
}

/* Fact sidebar */

.vc-story__facts {
	background: #f5f7fa;
	border-radius: 8px;
	padding: 28px 24px;
	border-left: 4px solid currentColor;
	position: sticky;
	top: clamp(80px, 20vh, 160px);
}

.vc-facts-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.vc-facts-list__item {
	display: flex;
	gap: 10px;
	font-size: 0.9rem;
	line-height: 1.5;
}

.vc-facts-list__icon {
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	margin-top: 6px;
	font-size: 8px;
	opacity: 0.4;
}

/* ============================================================
   3. GOAL
   ============================================================ */

.vc-goal {
	padding-block: clamp(56px, 8vw, 96px);
	background: #fafafa;
	border-top: 1px solid #ebebeb;
	border-bottom: 1px solid #ebebeb;
}

.vc-goal__grid {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px;
	margin-top: 32px;
}

.vc-goal__grid > * {
	flex: 1;
	min-width: 0;
	margin-top: 0;
	padding-top: 0;
}

/* Progress block */

.vc-progress-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 10px;
}

.vc-progress-header__label {
	font-weight: 700;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.55;
}

.vc-progress-header__total {
	font-weight: 600;
	font-size: 0.95rem;
}

.vc-progress-bar {
	height: 10px;
	background: #e8eaed;
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 10px;
}

.vc-progress-bar__fill {
	height: 100%;
	border-radius: 6px;
	background: currentColor;
	transition: width 0.6s ease;
	min-width: 0;
}

.vc-progress-raised {
	font-size: 1.5rem;
	font-weight: 800;
	margin-bottom: 24px;
}

.vc-progress-raised__sub {
	font-size: 0.9rem;
	font-weight: 400;
	opacity: 0.5;
}

/* Budget breakdown */

.vc-breakdown-title {
	font-size: 1.05rem;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 4px;
}

.vc-breakdown-note {
	font-size: 0.85rem;
	opacity: 0.55;
	margin-bottom: 20px;
}

.vc-breakdown-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.vc-breakdown-list__item {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.vc-breakdown-list__info {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}

.vc-breakdown-list__name {
	font-size: 0.9rem;
	line-height: 1.4;
}

.vc-breakdown-list__amount {
	font-weight: 700;
	white-space: nowrap;
	font-size: 0.95rem;
}

.vc-breakdown-list__bar-wrap {
	height: 6px;
	background: #e8eaed;
	border-radius: 4px;
	overflow: hidden;
}

.vc-breakdown-list__bar {
	height: 100%;
	background: currentColor;
	border-radius: 4px;
	opacity: 0.5;
}

.vc-breakdown-deadline {
	margin-top: 20px;
	padding: 12px 16px;
	background: rgba(0, 0, 0, 0.04);
	border-radius: 6px;
	font-size: 0.88rem;
	line-height: 1.5;
}

/* ============================================================
   4. DONATION WIDGET
   ============================================================ */

.vc-donate {
	padding-block: clamp(56px, 8vw, 96px);
}

.vc-donate__sub {
	font-size: 1rem;
	line-height: 1.7;
	opacity: 0.7;
	margin-bottom: 36px;
}

.vc-widget-host {
	display: flex;
	justify-content: center;
}

/* Donate section — full column centering */
.vc-donate .vc-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/* Story — two-column photo pair */
.vc-story__image-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin: 32px 0;
}

.vc-story__image-grid .story-image-placeholder {
	margin: 0;
}

/* ============================================================
   5. DOCUMENTS
   ============================================================ */

.vc-docs {
	padding-block: clamp(56px, 8vw, 96px);
	background: #fafafa;
	border-top: 1px solid #ebebeb;
}

.vc-docs__lead {
	font-size: 1rem;
	line-height: 1.7;
	opacity: 0.7;
	margin-bottom: 32px;
}

.vc-docs-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.vc-docs-list__item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	background: #fff;
	border: 1px solid #ebebeb;
	border-radius: 8px;
	transition: box-shadow 0.15s ease;
}

.vc-docs-list__item:first-child {
	border-radius: 8px 8px 4px 4px;
}

.vc-docs-list__item:last-child {
	border-radius: 4px 4px 8px 8px;
}

.vc-docs-list__item + .vc-docs-list__item {
	margin-top: 4px;
}

.vc-docs-list__item:hover {
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.vc-docs-list__icon {
	flex-shrink: 0;
	opacity: 0.4;
	display: flex;
}

.vc-docs-list__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.vc-docs-list__name {
	font-size: 0.95rem;
	font-weight: 600;
}

.vc-docs-list__meta {
	font-size: 0.8rem;
	opacity: 0.5;
}

.vc-docs-list__badge {
	flex-shrink: 0;
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 4px 10px;
	border-radius: 20px;
	background: rgba(0, 0, 0, 0.06);
	opacity: 0.65;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {

	.vc-hero__cols {
		grid-template-columns: 1fr;
	}

	.vc-hero__media {
		order: -1;
	}

	.vc-story__grid {
		grid-template-columns: 1fr;
	}

	.vc-story__facts {
		position: static;
		border-left: none;
		border-top: 4px solid currentColor;
	}

}

@media (max-width: 768px) {

	.vc-goal__grid {
		flex-direction: column;
		gap: 32px;
	}

	.vc-goal__grid > * {
		width: 100%;
	}

	/* Collapse side-by-side photo pair on mobile */
	.vc-story__image-grid {
		grid-template-columns: 1fr;
	}

	/* Prevent button overflow on narrow screens */
	.vc-btn {
		min-width: 0;
		width: 100% !important;
	}

}

@media (max-width: 560px) {

	.vc-breakdown-list__info {
		flex-direction: column;
		gap: 2px;
	}

	.vc-docs-list__item {
		flex-wrap: wrap;
	}
}

/* =============================================================
   ABOUT US PAGE  —  page-about-us.php
   Prefix: au-  (about us)
   Design principle: open, factual, respectful. Inherits all
   typography and base colors from the JNews parent theme.
   ============================================================= */

/* ============================================================
   1. HERO
   ============================================================ */

.au-hero {
	padding-block: clamp(48px, 8vw, 96px);
	background-color: #fafafa;
	border-bottom: 1px solid #ebebeb;
}

.au-hero__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.au-hero__title {
	font-size: clamp(2rem, 4.5vw, 3.5rem);
	font-weight: 800;
	line-height: 1.15;
	margin-bottom: 24px;
}

.au-hero__lead {
	font-size: clamp(1rem, 1.4vw, 1.125rem);
	line-height: 1.8;
	opacity: 0.8;
	margin-bottom: 0;
}

.about-hero-image-placeholder {
	width: 100%;
	aspect-ratio: 4 / 3;
	background: #f0f2f5;
	border: 1px solid #e0e3e8;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	opacity: 0.5;
}

/* ============================================================
   2. DIRECTIONS
   ============================================================ */

.au-directions {
	padding-block: clamp(56px, 8vw, 96px);
}

.au-directions__heading {
	margin-bottom: 40px;
}

.au-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 2.5vw, 28px);
}

.au-card {
	background: #fff;
	border: 1px solid #ebebeb;
	border-top: 3px solid currentColor;
	border-radius: 8px;
	padding: clamp(24px, 3vw, 36px);
	display: flex;
	flex-direction: column;
}

.au-card__num {
	display: block;
	font-size: 2.75rem;
	font-weight: 800;
	line-height: 1;
	opacity: 0.07;
	margin-bottom: 20px;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}

.au-card__title {
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.3;
	margin-top: 0;
	margin-bottom: 12px;
}

.au-card__text {
	font-size: 0.95rem;
	line-height: 1.8;
	opacity: 0.72;
	margin-bottom: 0;
	flex: 1;
}

/* ============================================================
   3. CTA
   ============================================================ */

.au-cta {
	padding-block: clamp(56px, 8vw, 96px);
	background-color: #fafafa;
	border-top: 1px solid #ebebeb;
}

.au-cta__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 28px;
}

.au-cta__text {
	font-size: clamp(1.1rem, 2.5vw, 1.35rem);
	font-weight: 600;
	line-height: 1.65;
	max-width: 580px;
	opacity: 0.85;
	margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {

	.au-hero__cols {
		grid-template-columns: 1fr;
	}

	.au-hero__media {
		order: -1;
	}

	.about-hero-image-placeholder {
		aspect-ratio: 16 / 9;
	}

	.au-cards {
		grid-template-columns: 1fr 1fr;
	}

}

@media (max-width: 600px) {

	.au-cards {
		grid-template-columns: 1fr;
	}

	.au-cta .vc-btn {
		min-width: 0;
		width: 100% !important;
	}

}

