/*
Theme Name: Hope and Care Child
Theme URI: http://hopeandcareministries.local/
Description: Child theme for Hope and Care Ministries custom student and team layouts.
Author: OpenAI
Template: dt-the7
Version: 1.0.0
Text Domain: hopeandcare-child
*/

.hocam-content-wrap {
	max-width: none;
	margin: 0;
}

.hocam-filter-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 28px;
}

.hocam-filter-nav a {
	display: inline-flex;
	align-items: center;
	padding: 10px 16px;
	border: 1px solid #d7dfd7;
	border-radius: 999px;
	background: #f6f8f2;
	color: #28432a;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
	transition: all 0.2s ease;
}

.hocam-filter-nav a:hover,
.hocam-filter-nav a:focus {
	background: #dbe7d6;
	border-color: #9ab38f;
	color: #1f3420;
}

.hocam-filter-nav a.is-active {
	background: #2f5b34;
	border-color: #2f5b34;
	color: #fff;
}

.hocam-archive-grid,
.hocam-related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 28px;
}

.hocam-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid #e2e7de;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 16px 50px rgba(23, 39, 18, 0.08);
}

.hocam-card__image {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: linear-gradient(135deg, #d9e7d3 0%, #f2efe5 100%);
}

.hocam-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hocam-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 22px;
}

.hocam-card__title {
	margin: 0 0 8px;
	min-height: 2.3em;
	font-size: 24px;
	line-height: 1.15;
}

.hocam-card__title a {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: #172712;
	text-decoration: none;
}

.hocam-card__title a:hover {
	color: #2f5b34;
}

.hocam-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
}

.hocam-card__meta span,
.hocam-tax-pill {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: #eef4ea;
	color: #355637;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.hocam-card__excerpt,
.hocam-empty-copy {
	margin: 0;
	color: #586455;
	line-height: 1.7;
}

.hocam-card__excerpt {
	display: -webkit-box;
	flex: 1 1 auto;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.hocam-card__button,
.hocam-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	border-radius: 999px;
	background: #2f9688;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hocam-card__button:hover,
.hocam-button:hover,
.hocam-card__button:focus,
.hocam-button:focus {
	background: #c5e384;
	color: #fff;
	box-shadow: 0 12px 30px rgba(195, 147, 45, 0.25);
	transform: translateY(-1px);
}

.hocam-card__footer {
	margin-top: auto;
	padding-top: 18px;
}

.hocam-single__hero {
	overflow: hidden;
	border-radius: 28px;
	background: linear-gradient(135deg, #e8f0e1 0%, #f4f1e6 100%);
	box-shadow: 0 18px 50px rgba(23, 39, 18, 0.08);
}

.hocam-single__hero img {
	width: 100%;
	display: block;
}

.hocam-single__headline {
	margin: 24px 0 18px;
}

.hocam-single__headline h1 {
	margin: 0 0 12px;
	font-size: clamp(34px, 4vw, 48px);
	line-height: 1.08;
	color: #172712;
}

.hocam-detail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 24px 0 0;
}

.hocam-detail-card {
	padding: 18px 20px;
	border: 1px solid #e0e7db;
	border-radius: 18px;
	background: #fbfcf8;
}

.hocam-detail-card span {
	display: block;
	margin-bottom: 6px;
	color: #6f7a6c;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hocam-detail-card strong {
	color: #172712;
	font-size: 18px;
	line-height: 1.35;
}

.hocam-panel {
	padding: 24px;
	border: 1px solid #dfe7da;
	border-radius: 24px;
	background: linear-gradient(180deg, #f7faf3 0%, #ffffff 100%);
	box-shadow: 0 18px 50px rgba(23, 39, 18, 0.08);
}

.hocam-panel h2,
.hocam-panel h3 {
	margin: 0 0 14px;
	color: #172712;
}

.hocam-panel p {
	color: #596555;
	line-height: 1.7;
}

.hocam-panel__amount {
	margin: 16px 0 18px;
	color: #2f5b34;
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
}

.hocam-student-content > .hocam-panel,
.hocam-student-content > .hocam-story {
	margin-top: 36px;
}

.hocam-student-support {
	max-width: 560px;
}

.hocam-story,
.hocam-related-section {
	margin-top: 36px;
}

.hocam-story .entry-content {
	color: #3f4d3e;
	line-height: 1.8;
}

.hocam-archive-intro {
	margin: 0 0 28px;
	color: #556352;
	line-height: 1.75;
}

.hocam-donate-context {
	display: grid;
	grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
	gap: 24px;
	margin: 0 0 34px;
	padding: 22px;
	border: 1px solid #dfe7da;
	border-radius: 28px;
	background: linear-gradient(145deg, #f8fbf4 0%, #ffffff 60%);
	box-shadow: 0 18px 50px rgba(23, 39, 18, 0.08);
}

.hocam-donate-context__media {
	overflow: hidden;
	border-radius: 22px;
	background: linear-gradient(135deg, #d9e7d3 0%, #f2efe5 100%);
}

.hocam-donate-context__media img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.hocam-donate-context__content h2 {
	margin: 0 0 10px;
	color: #172712;
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.1;
}

.hocam-donate-context__copy {
	margin: 0 0 18px;
	color: #5a6656;
	line-height: 1.75;
}

.hocam-donate-context__details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 14px;
	margin: 0 0 18px;
}

.hocam-donate-context__details div {
	padding: 14px 16px;
	border-radius: 18px;
	background: #f3f8ef;
}

.hocam-donate-context__details span {
	display: block;
	margin-bottom: 6px;
	color: #6f7a6c;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hocam-donate-context__details strong {
	color: #173016;
	font-size: 17px;
	line-height: 1.3;
}

.hocam-donate-context__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
}

.hocam-donate-context__back {
	color: #2f5b34;
	font-weight: 700;
	text-decoration: none;
}

.hocam-donate-context__back:hover,
.hocam-donate-context__back:focus {
	color: #1f3420;
	text-decoration: underline;
}

@media (max-width: 980px) {
	.hocam-detail-grid {
		grid-template-columns: 1fr;
	}

	.hocam-donate-context {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.hocam-card__body,
	.hocam-panel {
		padding: 18px;
	}

	.hocam-single__headline h1 {
		font-size: 32px;
	}
}
