*,
:after,
:before {
	box-sizing: border-box;
	border: 0 solid #e5e7eb;
}

.text-sm {
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.text-gray {
	color: #6b7280;
}

/* MARGINS */

.cases-container {
	font-size: 14px;
	display: flex;
	flex-direction: column;
	background: #fff;
	color: #29354e;
	width: 100%;
	padding: 32px 1rem;
	margin-top: 60px;
}

@media (min-width: 1440px) {
	.cases-container {
		font-size: 14px;
		padding: 32px 68px;
		max-width: 1440px;
	}
}

.cases-title {
	color: #3f3f46;
	font-size: 32px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	font-family: 'Inter Variable';
	margin-top: 32px;
	margin-bottom: 12px;
}

.main-cases-content {
	display: flex;
	flex-direction: column;
	width: 100%;
	align-items: center;
}

/* BREADCRUMB */

.breadcrumb-container {
	display: flex;
	width: 100%;
	margin-top: 32px;
}

sl-breadcrumb-item::part(base),
sl-breadcrumb-item::part(label) {
	font-size: 14px !important;
	@media (max-width: 768px) {
		text-wrap: wrap;
		text-align: start;
	}
}

sl-breadcrumb::part(separator) {
	color: #9ca3af;
}

sl-breadcrumb-item::part(label) {
	color: #2563eb;
	font-weight: 500;
}

sl-breadcrumb-item[aria-current='page']::part(label) {
	color: #374151;
	font-weight: 500;
	pointer-events: none;
}

sl-icon {
	color: #2563eb;
	font-size: 16px;
}

/* FOOTER */

.cases-footer-container {
	background-color: #29354e;
	color: #ffffff;
	width: 100%;
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
}

.cases-footer-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	flex-direction: column;
	max-width: 1440px;
	padding: 0 1rem;
}

@media (min-width: 768px) {
	.cases-footer-wrapper {
		padding: 0 3rem;
	}
}

.cases-footer-container-inside {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 2rem;
	width: 100%;
	max-width: 1440px;
}

.cases-footer-logo {
	display: flex;
	justify-content: flex-start;
	width: 100%;
	padding-top: 2rem;
	padding-bottom: 1rem;
}

.footer-column h4 {
	color: #ffffff;
	font-size: 1rem;
	font-weight: 500;
	margin-bottom: 0.5rem;
}

.footer-column ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-column li {
	margin-bottom: 0.5rem;
}

.footer-column a {
	color: #cbd5e1;
	font-size: 0.9rem;
	text-decoration: none;
}

.footer-column a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid #1f2a38;
	font-size: 0.8rem;
	color: #94a3b8;
}

.footer-bottom a {
	margin-left: 1rem;
	color: #94a3b8;
	text-decoration: none;
}

.footer-bottom a:hover {
	color: #ffffff;
}

@media (max-width: 423px) {
	.cases-footer-container-inside > div {
		text-align: center;
	}

	.cases-footer-container-inside ul {
		padding-left: 0;
	}
}

.cases-footer-bottom {
	justify-content: space-between;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	border-top: 1px solid #e5e7eb;
	margin-top: 2rem;
	padding-top: 2rem;
	padding-bottom: 4rem;
	font-size: 0.9rem;
	color: #9ca3af;
}

.cases-footer-bottom a {
	color: #9ca3af;
	text-decoration: none;
	text-align: center;
}

.cases-footer-bottom a:hover {
	text-decoration: underline;
}

.cases-footer-links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	margin-top: 1rem;
	flex-direction: column;
}

@media (min-width: 768px) {
	.cases-footer-links {
		flex-direction: row;
		margin-top: 0;
	}
}

@media (min-width: 768px) {
	.cases-footer-bottom {
		flex-direction: row;
	}
}

.cases-footer-social {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-top: 2rem;
}

@media (min-width: 768px) {
	.cases-footer-social {
		margin-top: 0;
	}
}

.footer-icon {
	font-size: 1.2rem;
	color: #9ca3af;
	transition: color 0.2s ease;
}

.footer-icon:hover {
	color: #ffffff;
}

/* DOCUMENT LAYOUT */

.document-layout {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.document-left,
.document-right {
	width: 100%;
}

@media (min-width: 768px) {
	.document-layout {
		flex-direction: row;
		gap: 32px;
		padding-top: 20px;
	}

	.document-left {
		flex: 1;
		max-width: 100%;
	}

	.document-right {
		width: 336px;
		flex-shrink: 0;
	}
}

.document-case-layout {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 29px;
	justify-content: center;
	align-items: flex-start;
	border-radius: 4px;
	border-top: 1px solid #e7e4e4;
	border-left: 1px solid #e7e4e4;
	border-right: 1px solid #e7e4e4;
	background: #f9f7f7;
}

.document-case-layout-inside {
	display: flex;
	width: 100%;
	padding: 24px 15px;
	flex-direction: column;
	justify-content: flex-start;
	background-color: #ffffff;
	box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.06);
	border-radius: 4px;
	font-family: 'Source Serif 4';
	font-size: 14px;
}

@media (min-width: 768px) {
	.document-case-layout-inside {
		padding: 56px 96px;
		font-size: 16px;
	}
}

.cases-left-wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.case-footer-cta {
	position: relative;
	text-align: center;
	padding: 258px 16px 132px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 38.74%);
	width: 100%;
}

.cta-content {
	background-color: transparent;
	width: 100%;
	align-items: center;
	display: flex;
	flex-direction: column;
}

.cta-title {
	font-size: 24px;
	color: #000;
	width: 100%;
	max-width: 550px;
	text-align: center;
	font-family: 'At Aero Retina';
	font-style: normal;
	font-weight: 400;
	line-height: 160%;
	margin-bottom: 16px;
}

.sticky-footer-inside {
	position: absolute;
	bottom: 0;
	z-index: 10;

	width: 100%;
}
.footer-cta-wrapper {
	margin-top: 40px;
	padding: 32px;
	background: white;
	border-top: 1px solid #e0e0e0;
	box-shadow: 0px -2px 12px rgba(0, 0, 0, 0.05);
}

.document-case-layout-container {
	position: relative;
}

/* CASE DETAILS CARD */

.case-details-card {
	display: none;
	flex-direction: column;
	gap: 16px;
	font-size: 16px;
	color: #464343;
	padding: 8px 4px;
	font-family: 'Inter Variable';
}

@media (min-width: 768px) {
	.case-details-card {
		display: flex;
	}
}

.case-detail-card strong {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
}

.case-detail p {
	margin: 0;
	line-height: 1.5;
}

/* RIGHT SIDE LAYOUT */

.right-side-layout {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 40px;
}

/* DOCUMENT BANNER */

.document-case-banner-layout {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 29px 29px 0px 29px;
	justify-content: center;
	align-items: flex-start;
	border-radius: 4px;
	border: 1px solid #e7e4e4;
	background: #f9f7f7;
}

.document-case-banner-layout-inside {
	display: flex;
	width: 100%;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: #ffffff;
	box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.06);
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	padding: 96px 16px;
}

/* CASE CARDS GRID */

.two-column-grid {
	display: flex;
	flex-direction: column;
	gap: 24px;
	border-top: 1px solid #d8d4d4;
	padding-top: 25px;
}

@media (min-width: 768px) {
	.two-column-grid {
		display: grid;
		grid-template-columns: 200px 1fr;
		gap: 0 45px;
		align-items: flex-start;
	}
}

.cases-count {
	color: #000;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	margin-top: 20px;
	font-family: 'Inter Variable';
}

/* TRY VINCENT CARD */

.try-vincent-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background-color: transparent;
	width: 100%;
	padding: 48px 16px 55px 16px;
}

.try-vincent-title {
	font-family: 'At Aero Retina', sans-serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 160%;
	color: #000;
	margin-bottom: 24px;
}

/* CASE METADATA CARD */

.case-display-metadata {
	display: flex;
	@media (min-width: 768px) {
		display: none;
	}
}

.case-metadata-card {
	display: grid;
	grid-template-columns: max-content 1fr;
	row-gap: 16px;
	column-gap: 24px;
	width: 100%;
	padding: 0px 0 24px 32px;
	align-items: start;
	font-family: 'Inter Variable';
	@media (min-width: 768px) {
		grid-template-columns: 1fr;
		column-gap: 0px;
		row-gap: 0px;
		padding: 0px;
	}
}

.case-metadata-label {
	font-weight: 600;
	color: #52525d;
	white-space: nowrap;
	font-size: 12px;
	line-height: 1.6;
	@media (min-width: 768px) {
		font-size: 16px;
	}
}

.case-metadata-value {
	font-weight: 400;
	color: #52525b;
	font-size: 12px;
	line-height: 1.6;
	@media (min-width: 768px) {
		margin-bottom: 16px;
		font-size: 16px;
	}
}

.cases-details-card-container {
	display: none;
}

@media (min-width: 768px) {
	.cases-details-card-container {
		display: flex;
	}
}

.content {
	p {
		margin: 0 0 10px;
	}
	a {
		color: var(--colour-vlex-bright-blue);
	}
	ol {
		list-style-type: decimal;
		margin-block-start: 1em;
    	margin-block-end: 1em;
		padding: 0;
		margin: 0 0 10px 25px;
	}
	blockquote {
		padding: 0 0 0 15px;
		margin: 0 0 18px;
		border-left: 5px solid #eee;
	
		p {
			color: #333;
			padding: inherit;
			font-size: inherit;
			text-align: left;
			font-style: italic;
			font-family: 'times new roman', times, serif;
		}
	}
}