.work {
	display: flex;
	flex-direction: column;
}
#brand {
	margin-top: 100px;
	height: fit-content;
}

.post_wrapper, .post_text, .post_body, .post_header {
/*	width: 100%;*/
	position: relative;
	display: flex;
}
.post_wrapper, .post_body, .post_header {
/*	width: 100%;*/
	position: relative;
	display: flex;
	align-items: flex-start;
}
.post_wrapper {
	flex-direction: column;
}
.post_header, .post_body {
	flex-grow: 1;
}
.post_header {
	flex-direction: column;
}
.post_meta {
	display: flex;
	flex: 1 0 1;
	flex-wrap: wrap;
	flex-direction: column;
	align-items: flex-start;
}
.post_meta__text {
	display: flex;
	flex-wrap: wrap;
	align-items: start;
	justify-content: flex-start;
	flex-direction: row;
}
.post_meta__item {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.post_meta__logo {
	margin:0;
	min-width: fit-content;
}
.post_body {
	gap: 24px;
	flex-direction: column;
}
.post_body > p,.post_body > h3, .post_body > h2, .post_body > div {
	box-sizing: border-box;
}
.post_body h3{
	width: 100%;
}
.post_text h3 {
	margin: 0;
}
.post_body > div {
	margin: 0 auto;
	height: fit-content;
	width: fit-content;
	max-width: 1515px;
	padding: 24px;
}
.post_image {
	box-sizing: border-box;
	width: auto;
	height: auto;
	cursor: pointer;
	border-radius: 30px;
	box-shadow: 0 0 50px;
}
.post_images_container {
	width: 100%;
	overflow-x: auto;
	overflow-y: visible;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE and Edge */
	padding: 50px 0;
}
.post_images_container::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera */
}
.post_images_scroll {
	display: flex;
	flex-direction: row;
	gap: 24px;
	width: fit-content;
	padding: 0 50px;
}
.post_images_scroll .post_image {
	flex-shrink: 0;
	height: auto;
}
.post_images_scroll video {
	flex-shrink: 0;
	height: auto;
	border-radius: 30px;
	box-shadow: 0 0 50px;
	cursor: pointer;
}
.lightbox {
	display: none;
	position: fixed;
	flex-direction: column;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: var(--dark-urple);
}
.lightbox_content {
	position: relative;
	display: flex;
	flex-direction: column;
	width: fit-content;
	max-width: 100%;
	box-sizing: border-box;
	justify-content: center;
	overflow: auto;
}
.lightbox_image__container {
	max-height: 100%;
}
.lightbox_image {
	width: auto;
}
.lightbox_close {
	float: right;
	font-weight: bold;
	line-height: 0;	
	margin: 0 0 24px auto;
}
.lightbox_close:hover, .lightbox_close:focus {
	text-decoration: none;
	cursor: pointer;
}

/* PHONE __________________________________________________________________________________________ */
@media only screen and (max-width: 768px) {
	.work {
		gap: 72px;
		margin-bottom: 48px;
	}
	#brand {
		margin-top: 100px;
	}
	#brand .page_title {
		margin: 0 24px;
	}
	.post_wrapper {
		margin: 0 auto;
		gap: 36px;
	}
	.post_text {
		flex-direction: column;
		width: 100%;
		gap: 24px;
	}
	.post_text h3 {
		margin: 0 24px;
	}
	.post_header {
		width: 100%;
		margin: 0 auto;
	}	
	.post_title {
		width: auto;
		margin: 0 24px;
		max-width:100%;
		padding: 0;
	}
	.post_title h1 {
		font-size:32px;
		margin: 0;
	}	
	.post_meta {
		margin: 0 24px;
		gap: 24px;
		align-items: start;
		justify-content: flex-start;
	}
	.post_meta__logo {
		height: 48px;
	}
	.post_meta__text {
		gap: 12px 24px;
	}
	.post_meta__item {
		gap: 6px;
	}
	.post_meta__eyebrow {
		font-size: 10px;
	}
	.post_meta__label {
		font-size: 16px;
	}
	.post_body {
		margin: 0 24px;
	}
	.post_body h3, .post_body h2, .post_body p {
		margin: 0;
	}
	.post_body > div {
		padding: 12px;
		width: 100%;
	}
	.post_image {
		margin:0 auto;
		max-height: 400px;
		max-width: 100%;
		border: 4px solid var(--dark-urple);
	}
	.post_images_container {
		margin-top: 24px;
		width: 100%;
		padding: 50px 0;
	}
	.post_images_scroll {
		padding: 0 26px;
	}
	.post_images_scroll .post_image {
		max-width: 100%;
		max-height: 400px;
	}
	.image_row {
		flex-direction: column;
		gap: 24px;
	}
	.lightbox {
		justify-content: flex-end;
	}
	.lightbox_content {
		margin: 24px auto;
		padding: 48px;
		max-height: calc(100vh - 48px);
	}
	.lightbox_content h2 {
		font-size: 48px;
		margin-bottom: 8px;
	}
	.lightbox_content p {
		margin-bottom: 48px;
	}
	.lightbox_close {
		font-size: 28px;
	}
	.lightbox_image {
		max-width: auto;
	}
	.lightbox_image__container {
		width: 100%;
	}
}

/* TABLET __________________________________________________________________________________________ */
@media only screen and (min-width: 769px) {
	.work {
		gap: 256px;
		margin-bottom: 48px;
	}
	#brand {
		margin-top: 100px;
		height: fit-content;
	}
	#brand .page_title {
		margin: 0 48px;
	}
	.post_wrapper {
		align-items: center;
		margin: 0 auto;
		gap: 24px;
		max-width: 100%;
		box-sizing: border-box;
	}
	.post_header {
		margin: 0;
		gap: 12px;
	}
	.post_text {
		flex-direction: column;
		justify-content: center;
		width: 100%;
		gap: 24px;
	}	
	.post_text h3 {
		margin: 0 48px;
	}
	.post_title {
		width: auto;
		margin: 0 48px;
		max-width:100%;
	}
	.post_title h1{
		font-size:42px;
	}	
	.post_meta {
		gap: 12px;
		align-items: start;
		justify-content: flex-start;
		margin: 0 48px;
	}
	.post_meta__logo {
		height: 48px;
	}
	.post_meta__text {
		gap: 12px;
	}
	.post_meta__item {
		gap: 10px;
	}
	.post_meta__label {
		font-size: 16px;
	}
	.post_body {
		margin: 0 48px;
	}
	.post_body p {
		margin: 0;
	}
	.post_image {
		margin:0 auto;
		max-width: 300px;
		border: 6px solid var(--dark-urple);
	}
	.post_images_container {
		margin-top: 24px;
		width: 100%;
		padding: 50px 0;
		overflow-x: auto;
		overflow-y: hidden;
		box-sizing: border-box;
	}
	.post_images_scroll {
		padding: 0 50px;
	}
	.post_images_scroll .post_image {
		max-width: 300px;
		max-height: 400px;
	}
	.lightbox {
		justify-content: flex-end;
	}
	.lightbox_content {
		margin: 0px auto;
		height: 100%;
		min-height: calc(100vh - 250px);
	}
	.lightbox_content h2 {
		margin-bottom: 8px;
	}
	.lightbox_content p {
		margin-bottom: 48px;
	}
	.lightbox_image__container {
		width: 100%;
		min-height: fit-content;
		max-height: 100%;
	}
	.lightbox_image {
		max-width: auto;
		min-height: 100%;
		padding: 0 48px;
	}
}


/* DESKTOP __________________________________________________________________________________________ */
@media only screen and (min-width: 993px) {
	.work {
		gap: 128px;
		margin-bottom: 48px;
	}
	#brand {
		margin: 256px auto;
		height: fit-content;
	}
	.post_wrapper {
		align-items: center;
		width: 100%;
		margin: 0 auto;
		gap: 48px;
	}
	.detail > .post_wrapper {
		flex-direction: column;
	}
	.work > .post_wrapper {
		flex-direction: row;
	}
	.work > .post_wrapper:has(.post_images_container) {
		flex-direction: column;
		width: 100%;
		max-width: 100%;
	}
	.work > .post_wrapper:has(.post_images_container) .post_text {
		width: 100%;
	}
	.detail .post_text {
		flex-direction: row;
	}
	.work .post_text {
		flex-direction: column;		
	}
	.post_text {
		flex: 1 1 auto; /* allows natural sizing */
		width: 100%;
		max-width: 1280px;
		gap: 24px;
		align-items: flex-start;
	}
	.text_group {
		flex: 1;
	}
	.post_header, .post_body {
		max-width: 100%;
	}
	.post_header {
		margin: 0;
		gap: 12px;
	}
	.post_title {
		margin: 0 auto;
		width: 100%;
	}
	#brand .page_title {
		margin: 0;
	}
	.post_text h3 {
		margin: 0;
	}
	.post_title h1 {
		font-size: 48px;
		font-style: normal;
		font-weight: 500;
		line-height: normal;
	}
	.post_meta {
		gap: 24px;
		margin: 0;
		align-items: flex-start;
		justify-content: flex-start;
	}
	.post_meta__logo {
		height: 36px;
	}
	.post_meta__text {
		gap: 12px;
	}
	.post_meta__label {
		font-size: 14px;
		letter-spacing: .5em;
	}
	.post_body {
		margin: 0;
	}
	.post_body p {
		margin: 0;
	}
	.post_image {
		max-width: 300px;
		margin:0 auto;
		border: 8px solid var(--dark-urple);
	}
	.post_images_container {
		margin-top: 24px;
		width: 100vw;
		margin-left: calc(-50vw + 50%);
		margin-right: calc(-50vw + 50%);
		padding: 50px 0;
		overflow-x: auto;
		overflow-y: visible;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none; /* Firefox */
		-ms-overflow-style: none; /* IE and Edge */
	}
	.post_images_container::-webkit-scrollbar {
		display: none; /* Chrome, Safari, Opera */
	}
	.post_images_scroll {
		padding-left: max(50px, calc((100% - 1280px) / 2));
	}
	.post_images_scroll .post_image {
		max-width: 400px;
		max-height: 500px;
	}

	.lightbox {
		justify-content: center;
	}
	.lightbox_content {
		margin: 48px auto;
		padding: 48px;
		height: 100%;
		max-height: calc(100vh - 96px);
	}
	.lightbox_content h2 {
		margin-bottom: 4px;
	}
	.lightbox_content p {
		margin-bottom: 24px;
	}
	.lightbox_close {
		font-size: 36px;
	}
	.lightbox_image__container {
		min-height: fit-content;
		max-height: 100%;
	}
	.lightbox_image {
		max-width: auto;
		height: auto;
		max-height: 100%;
		padding: 0;
	}
}
/* LARGE DESKTOP __________________________________________________________________________________________ */
@media only screen and (min-width: 1740px) {

}