/* Dynamic GiveWP category content layered onto the static action-page design. */
.cc-static-category-shell .cc-give-category-nav {
	display: grid;
	min-width: 0;
	grid-template-rows: minmax(0, 1fr) auto;
	background: #f7f6f2;
}

.cc-static-category-shell .cc-give-category-tabs {
	grid-template-rows: repeat(var(--cc-visible-count, 4), minmax(0, 1fr));
}

.cc-static-category-shell .cc-give-category-tabs button[hidden] {
	display: none;
}

.cc-give-category-slider-controls {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) 52px;
	align-items: center;
	min-height: 68px;
	border-top: 1px solid #deddd7;
	background: #fff;
}

.cc-give-category-slider-controls button {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	margin: auto;
	padding: 0;
	border: 1px solid #c7cac7;
	border-radius: 50%;
	color: var(--cc-ink);
	background: transparent;
	font: inherit;
	cursor: pointer;
	transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.cc-give-category-slider-controls button:hover:not(:disabled),
.cc-give-category-slider-controls button:focus-visible {
	border-color: var(--cc-teal);
	color: #fff;
	background: var(--cc-teal);
}

.cc-give-category-slider-controls button:disabled {
	cursor: default;
	opacity: .3;
}

.cc-give-category-slider-status {
	color: var(--cc-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-align: center;
}

.cc-static-category-shell .cc-gaza-v4-selector__layout,
.cc-static-category-shell .cc-gaza-v4-panel {
	min-height: 760px;
}

.cc-static-category-shell .cc-gaza-v4-panel__image {
	background-position: center;
	background-size: cover;
}

.cc-static-category-shell .cc-action-hero h1 {
	color: var(--cc-white);
}

.cc-static-category-shell .cc-give-category-empty {
	margin: 0;
	padding: 70px 30px;
	border: 1px solid #e1e0da;
	color: var(--cc-muted);
	text-align: center;
}

.cc-give-category-card-grid {
	display: none;
}

.cc-give-progress {
	width: 100%;
	max-width: 480px;
	margin-top: 20px;
}

.cc-give-progress__bar {
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: #e8e7e1;
}

.cc-give-progress__bar > span {
	display: block;
	height: 100%;
	min-width: 0;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--cc-orange), var(--cc-teal));
}

.cc-give-progress__stats {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-top: 12px;
}

.cc-give-progress__stats > span {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.cc-give-progress__stats > span:last-child {
	align-items: flex-end;
	text-align: right;
}

.cc-give-progress__stats small {
	color: var(--cc-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.cc-give-progress__stats strong {
	color: var(--cc-ink);
	font-size: 15px;
	font-weight: 700;
}

@media (max-width: 1024px) {
	.cc-static-category-shell .cc-gaza-v4-selector__layout {
		display: none;
	}

	.cc-give-category-card-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

	.cc-give-category-card {
		display: flex;
		min-width: 0;
		flex-direction: column;
		overflow: hidden;
		border: 1px solid #e1e0da;
		background: #fff;
		box-shadow: 0 12px 32px rgba(22, 45, 48, .07);
	}

	.cc-give-category-card__media {
		display: block;
		overflow: hidden;
		aspect-ratio: 4 / 3;
		background: #f7f6f2;
	}

	.cc-give-category-card__media img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		transition: transform .35s ease;
	}

	.cc-give-category-card:hover .cc-give-category-card__media img,
	.cc-give-category-card:focus-within .cc-give-category-card__media img {
		transform: scale(1.035);
	}

	.cc-give-category-card__body {
		display: flex;
		flex: 1;
		align-items: flex-start;
		flex-direction: column;
		padding: 28px;
	}

	.cc-give-category-card__body > span {
		color: var(--cc-orange-dark);
		font-size: 11px;
		font-weight: 700;
		letter-spacing: .14em;
		text-transform: uppercase;
	}

	.cc-give-category-card h3 {
		margin: 13px 0 12px;
		font-size: clamp(25px, 3.2vw, 34px);
		font-weight: 600;
		letter-spacing: -.035em;
		line-height: 1.05;
	}

	.cc-give-category-card p {
		margin: 0;
		color: var(--cc-muted);
		font-size: 15px;
		line-height: 1.6;
	}

	.cc-give-category-card .cc-button {
		margin-top: 24px;
	}

	.cc-give-category-card .cc-give-progress {
		margin-top: auto;
		padding-top: 20px;
	}
}

@media (max-width: 600px) {
	.cc-static-category-shell {
		max-width: 100%;
		overflow-x: hidden;
	}

	.cc-static-category-shell .cc-action-shell,
	.cc-static-category-shell .cc-action-hero__content {
		width: calc(100% - 30px);
		max-width: 100%;
	}

	.cc-static-category-shell .cc-action-hero h1,
	.cc-static-category-shell .cc-gaza-v4-intro h2,
	.cc-static-category-shell .cc-gaza-v4-selector__header h2,
	.cc-static-category-shell .cc-gaza-v4-method h2,
	.cc-static-category-shell .cc-gaza-v4-cta h2 {
		max-width: 100%;
		overflow-wrap: anywhere;
		white-space: normal;
	}

	.cc-static-category-shell .cc-action-hero h1 {
		font-size: clamp(38px, 13vw, 52px);
	}

	.cc-static-category-shell .cc-gaza-v4-intro h2,
	.cc-static-category-shell .cc-gaza-v4-selector__header h2 {
		font-size: clamp(38px, 11.5vw, 49px);
	}

	.cc-give-category-card-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.cc-give-category-card__body {
		padding: 24px;
	}

	.cc-give-category-card h3 {
		font-size: 28px;
	}
}
