/**
 * Styles for the free Adobe Camera Raw Presets page
 *
 * @copyright   2026, ON1
 */

/* !- Hero */
#hero {
	align-items: center;
	/* Sunrise breaks over the trees on the right - keep it in frame when cover crops the sides on narrow screens */
	background-image: image-set(url(https://ononesoft.cachefly.net/images/free/camera-raw-presets/hero--camera-raw-presets.jpg) 1x, url(https://ononesoft.cachefly.net/images/free/camera-raw-presets/hero--camera-raw-presets@2x.jpg) 2x);
	background-position: 70% center;
	background-repeat: no-repeat;
	background-size: cover;
	/* Re-resolve the color inherited from body against this section's pinned-dark tokens */
	color: var(--text-200);
	display: flex;
	min-height: 420px;
	padding: 4rem 0;
	position: relative;
}

/* Scrim so the copy stays legible over the photo */
#hero::before {
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.56) 100%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

#hero .container {
	position: relative;
	width: 100%;
	z-index: 2;
}

#hero .breadcrumb {
	color: var(--text-200);
	font-size: var(--text-mini);
}

#hero .breadcrumb .separator {
	margin: 0 0.25rem;
}

#hero .breadcrumb a {
	color: var(--text-200);
	text-decoration: none;
}

#hero .breadcrumb a:hover {
	color: var(--text-50);
	text-decoration: underline;
}

#hero .breadcrumb .here {
	color: var(--text-50);
}

#hero .list-inline,
#hero .list-inline-item {
	margin-bottom: 0;
}

#hero .works-with {
	margin-bottom: 2rem;
}

#hero .works-with .rounded-pill {
	background: var(--bg-800);
	border: 1px solid var(--bg-700);
	color: var(--text-200);
	font-size: var(--text-micro);
	font-weight: 500;
	padding: 0.375rem 0.75rem;
}

#hero .btn {
	padding: 0.9375rem 1.875rem;
}

#hero .hero-note {
	color: var(--text-200);
	font-size: var(--text-mini);
	margin-left: 0.75rem;
}

@media (min-width: 992px) {
	/* 2.5:1 by width, but a floor rather than aspect-ratio - an explicit min-height
	   stops an aspect-ratio box from growing, and the copy can outgrow it at lg */
	#hero {
		min-height: max(420px, 40vw);
		padding: 5rem 0;
	}

	/* Copy is left-aligned on wide screens, so weight the scrim left and let the sunrise on the right breathe */
	#hero::before {
		background: linear-gradient(to right, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.56) 45%, rgba(0, 0, 0, 0.3) 68%, rgba(0, 0, 0, 0.08) 88%, rgba(0, 0, 0, 0) 100%);
	}
}

/* 2.5:1 runs to 800px tall on a 2000px window - hold the height it reaches at 1400 */
@media (min-width: 1400px) {
	#hero {
		min-height: 560px;
	}
}

/* !- The pack
 *
 * One pack, so this is a single two-column block rather than the card grid the
 * other free pages use.
 */
#presets .preset-panel {
	background: var(--bg-800);
	border-radius: var(--border-radius);
	padding: 2.5rem;
}

#presets .preset-shot img {
	border-radius: var(--border-radius);
}

#presets h2 {
	margin-bottom: 1rem;
}

#presets .includes-label {
	color: var(--text-100);
	font-size: var(--text-xs);
	font-weight: 700;
	letter-spacing: 0.06em;
	margin-bottom: 0.75rem;
	text-transform: uppercase;
}

#presets .includes-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.75rem;
}

#presets .includes-list li {
	background: var(--bg-900);
	border-radius: 50rem;
	color: var(--text-200);
	font-size: var(--text-micro);
	font-weight: 500;
	padding: 0.375rem 0.75rem;
}

#presets .preset-actions .btn {
	padding: 0.9375rem 1.875rem;
}

#presets .desktop-note {
	color: var(--text-500);
	font-size: var(--text-mini);
	margin: 1rem 0 0 0;
}
