/* Hosted case study page. Scoped to .fpress-cs so it sits inside any theme. */

.fpress-cs {
	--fpress-navy: #1d2b4a;
	--fpress-orange: #f26a1b;
	--fpress-muted: #5b6676;
	--fpress-soft: #eef1f5;
	max-width: 960px;
	margin: 0 auto;
}

.fpress-cs *,
.fpress-cs *::before,
.fpress-cs *::after {
	box-sizing: border-box;
}

.fpress-cs__company {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}

.fpress-cs__logo {
	max-height: 48px;
	width: auto;
}

.fpress-cs__company-name {
	font-weight: 700;
	font-size: 1.1em;
}

.fpress-cs__label {
	margin-left: auto;
	font-size: 0.75em;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--fpress-orange);
	font-weight: 700;
}

.fpress-cs__snapshot {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 2px;
	margin: 0 0 24px;
	background: #fff;
}

.fpress-cs__snapshot > div {
	background: var(--fpress-soft);
	padding: 12px 14px;
}

.fpress-cs__snapshot dt {
	font-size: 0.7em;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--fpress-muted);
	margin: 0;
}

.fpress-cs__snapshot dd {
	margin: 2px 0 0;
	font-weight: 700;
}

.fpress-cs__photos {
	display: grid;
	gap: 16px;
	margin: 0 0 32px;
}

.fpress-cs__photos--2 {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.fpress-cs__photos figure {
	margin: 0;
}

.fpress-cs__photos img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

.fpress-cs__photos figcaption {
	font-size: 0.75em;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--fpress-muted);
	margin-top: 6px;
	text-align: center;
}

.fpress-cs__story {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	margin-bottom: 32px;
}

.fpress-cs__story h2 {
	font-size: 0.9em;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--fpress-orange);
	margin: 0 0 8px;
}

.fpress-cs__story p {
	margin: 0 0 0.8em;
}

.fpress-cs__quote {
	border-left: 4px solid var(--fpress-orange);
	margin: 0 0 32px;
	padding: 4px 0 4px 20px;
}

.fpress-cs__quote p {
	font-size: 1.3em;
	font-style: italic;
	margin: 0 0 8px;
}

.fpress-cs__quote footer {
	color: var(--fpress-muted);
	font-size: 0.9em;
}

.fpress-cs__stars {
	color: #e8912d;
	margin-right: 6px;
	letter-spacing: 0.1em;
}

.fpress-cs__cta {
	background: var(--fpress-navy);
	color: #fff;
	border-radius: 10px;
	padding: 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
}

.fpress-cs__cta-text {
	font-size: 1.2em;
	font-weight: 700;
	margin: 0;
}

.fpress-cs__cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.fpress-cs__button {
	display: inline-block;
	background: var(--fpress-orange);
	color: #fff !important;
	padding: 10px 18px;
	border-radius: 6px;
	font-weight: 700;
	text-decoration: none !important;
}

.fpress-cs__button--ghost {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.6);
}

.fpress-cs__branding {
	text-align: center;
	font-size: 0.85em;
	color: var(--fpress-muted);
	margin-top: 24px;
}
