/*
 * Post Page
 */

/* -- Post Share -- */
.post-section .share-url {
	margin-bottom: 20px;
	cursor: pointer;
}

.post-section .share-url .share-url-label {
	font-weight: 400;
	background-image: -webkit-linear-gradient(left, var(--orange) 0%, var(--pink) 50%, transparent 50%);
	background-color: var(--dark);
	background-position: 100% 0;
	background-size: 200% 200%;
	color: transparent;
	-webkit-transition: background .4s .2s;
	-webkit-background-clip: text;
}

.post-section .share-url:hover .share-url-label {
	color: var(--orange);
	background-position: 0 0;
	color: transparent;
	transition: .5s 0;
}

@media( min-width: 640px )  {}
@media( min-width: 1040px ) {}
@media( min-width: 1480px ) {}

/*
 * Post Content
 */

.post-content {
	position: relative;
	color: var(--dark);
	font-weight: 400;
	font-size: 1.4rem;
	line-height: 1.375;
}

.post-content .wp-block-column:nth-child( n + 3 ) {
	display: none;
}
@media ( min-width: 1040px ) {
	.post-content .wp-block-columns {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-gap: 0 2rem;
	}
}
/* same as .row in grid.css
/*.post-content .wp-block-columns {
	font-size: 0;
}
.post-content .wp-block-columns:after {
	content: "";
	display: table;
	clear: both;
}*/
/* same as .column(s) in grid.css */
/*.post-content .wp-block-column {
	display: inline-block;
	vertical-align: top;
	width: 100%;
	box-sizing: border-box;
	font-size: 1.5rem;
}*/
/* same as .small-12 in grid.css */
/*.post-content .wp-block-column {
	width: 100%;
}*/

@media ( min-width: 1040px ) {
	/* same as .large-5 in grid.css */
	/*.post-content .wp-block-column { width: 50%; }*/
}


.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
	line-height: 1;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6,
.post-content p {
	display: block;
	padding-bottom: var(--space-25);
}

.post-content h1 { font-size: 3.6rem; }
.post-content h2 { font-size: 3.0rem; }
.post-content h3 { font-size: 2.4rem; }
.post-content h4 { font-size: 2.0rem; }
.post-content h5 { font-size: 1.8rem; }
.post-content h6 { font-size: 1.6rem; }
.post-content p 	{ font-size: 1.6rem; }
.post-content small { font-size: 1.0rem; }
.post-content label { font-size: 1.2rem; }

.post-content a {
	color: var(--orange);
	text-decoration: underline;
}

.post-content blockquote {
	display: block;
	margin: 0;
	background-color: var(--neutral-1);
	padding: var(--space-25);
	padding-bottom: 0;
	margin-bottom: var(--space-25);
}

.post-content ul:not(.slick-slider) {
	position: relative;
	list-style: inherit;
	padding-left: 0;
	padding-bottom: var(--space-25);
}
.post-content ul:not(.slick-slider) li:not(.slick-slide) {
	display: flex; /* this makes the :before behave like ::marker */
	padding-left: 0;
	font-size: 1.8rem;
	margin-bottom: 0;
	list-style: none;
}
.post-content ul:not(.slick-slider) li:not(.slick-slide):before {
	display: inline-block;
	content: '\2014';
	padding-right: var(--space-min);
	color: var(--teal);
	font-size: inherit;
	font-weight: 700;
	font-family: inherit;
	line-height: inherit;
}
.post-content hr {
	margin: var(--space-25) 0;
	border-color: var(--orange);
}

.post-content .wp-block-image {
	padding-bottom: var(--space-25);
}

.post-content .wp-block-image {
	margin: 0;
}
.post-content .wp-block-image { margin: 0; }
.post-content .wp-block-image img {}

.post-content .wp-block-image.size-large img {
	width: 100%;
}

.post-content .wp-block-image.alignfull {
	width: 100vw;
	margin-left: calc( ((100vw - var(--container-width))/2) * -1 );
}
.post-content .wp-block-image.alignfull img {
	width: 100%;
	max-width: none;
}

.post-content .wp-block-image.alignwide {
	width: var(--container-width);
}
.post-content .wp-block-image.alignwide img {
	width: 100%;
	max-width: none;
}

@media( min-width: 640px )  {
	.post-content h1 { font-size: 4.2em; }
	.post-content h2 { font-size: 3.4rem; }
	.post-content h3 { font-size: 2.8rem; }
	.post-content h4 { font-size: 2.2rem; }
	.post-content h5 { font-size: 1.8rem; }
	.post-content h6 { font-size: 1.6rem; }
	.post-content p 	{ font-size: 1.6rem; }
	.post-content small { font-size: 1.0rem; }
	.post-content label { font-size: 1.2rem; }

	.post-content .wp-block-image.alignfull {
		margin-left: calc( (((100vw - var(--container-width))/2) + var(--space-100)) * -1 );
	}

	.post-content .wp-block-image.alignwide {
		margin-left: calc(var(--space-100) * -1);
	}
}

@media( min-width: 1040px ) {
	.post-content h1 { font-size: 8.0rem; }
	.post-content h2 { font-size: 5.6rem; }
	.post-content h3 { font-size: 4.0rem; }
	.post-content h4 { font-size: 2.8rem; }
	.post-content h5 { font-size: 2.0rem; }
	.post-content h6 { font-size: 1.6rem; }
	.post-content p 	{ font-size: 1.6rem; }
	.post-content small { font-size: 1.2rem; }
	.post-content label { font-size: 1.4rem; }

	.post-content blockquote {
		width: 75%;
	}
	.post-content .wp-block-column blockquote {
		width: 95%;
	}

	.post-content ul:not(.slick-slider) li:not(.slick-slide) {
		font-size: 2.0rem;
	}
}

@media( min-width: 1480px ) {
	.post-content h1 { font-size: 9.6rem; }
	.post-content h2 { font-size: 6.8rem;  }
	.post-content h3 { font-size: 4.8rem;  }
	.post-content h4 { font-size: 3.2rem;  }
	.post-content h5 { font-size: 2.4rem;  }
	.post-content h6 { font-size: 1.8rem;  }
	.post-content p 	{ font-size: 1.8rem;  }
	.post-content small { font-size: 1.4rem; }
	.post-content label { font-size: 1.6rem; }

	.post-content ul:not(.slick-slider) li:not(.slick-slide) {
		font-size: 2.4rem;
	}
}


/*
 * Gallery
 */

.wp-block-gallery {
	position: relative;
	margin: 0;
	width: 100%;
	margin-left: 50%;
	width: 100vw;
	transform: translateX(-50%);
}

.post-content .wp-block-gallery { margin-bottom: var(--space-25); }

/* for reasons unknown, WordPress generates cruft markup that breaks the layout */
.wp-block-gallery br,
.wp-block-gallery p {
	display: none;
}

.wp-block-gallery .blocks-gallery-grid {
	list-style: none;
	display: block;
	background-color: var(--dark);
}
.wp-block-gallery .blocks-gallery-grid .blocks-gallery-item {
	display: inline-block;
	width: auto;
	height: auto;
	margin: 0;
	font-size: 0;
	vertical-align: top;
}
.wp-block-gallery .blocks-gallery-grid .blocks-gallery-item figure {
	position: relative;
	display: inline-block;
	width: auto;
	height: auto;
	margin: 0;
	padding: 2px 1px;
}
.wp-block-gallery .blocks-gallery-grid .blocks-gallery-item figure img {
	display: inline-block;
	height: calc( var(--space-100) * 3 );
	width: auto;
	object-fit: contain;
}

.wp-block-gallery figcaption {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: auto;
	font-size: 1.2rem;
	text-align: center;
	color: var(--light);
	background-color: rgba(0,0,0,0.75);
	padding: 5px 0;
}
.wp-block-gallery > figcaption {
	top: 100%;
}

/* -- Slicks Resets -- */
.post-content .wp-block-gallery .blocks-gallery-grid.slick-slider {
	margin-bottom: 0;
}
/* There is a bug on Chrome where each carousel item has additional vacant vertical space */
.wp-block-gallery .blocks-gallery-grid.slick-slider .slick-slide {
	height: auto;
}
.post-content .wp-block-gallery .blocks-gallery-grid.slick-slider .slick-dots {
	bottom: 5px;
	z-index: 4
}
.post-content .wp-block-gallery .blocks-gallery-grid.slick-slider .slick-dots li button:before {
	font-family: 'futura-pt', 'Arial Black', Arial, sans-serif;
	font-weight: 700;
	content: '—';
	font-size: 20px;
	line-height: 10px;
	margin-top: 3px;
	color: var(--light);
}
.post-content .wp-block-gallery .blocks-gallery-grid.slick-slider .slick-dots li.slick-active button:before {
	color: var(--dark);
}
.post-content .wp-block-gallery .blocks-gallery-grid.slick-slider .slick-next,
.post-content .wp-block-gallery .blocks-gallery-grid.slick-slider .slick-prev {
	width: var(--space-100);
	height: var(--space-100);
	z-index: 4;
	background-color: var(--orange);
	background-size: 20px;
	background-position: center;
	background-repeat: no-repeat;
}
.post-content .wp-block-gallery .blocks-gallery-grid.slick-slider .slick-next:before,
.post-content .wp-block-gallery .blocks-gallery-grid.slick-slider .slick-prev:before {
	display: none;
}
.post-content .wp-block-gallery .blocks-gallery-grid.slick-slider .slick-next {
	right: 0;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	background-image: url('../../../media/icon/icon-next-dark.svg');
	/*transform: translate(50%, -50%);*/
}
.post-content .wp-block-gallery .blocks-gallery-grid.slick-slider .slick-prev {
	left: 0;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	background-image: url('../../../media/icon/icon-prev-dark.svg');
	/*transform: translate(-50%, -50%);*/
}
@media( min-width: 640px )  {
	.wp-block-gallery .blocks-gallery-grid .blocks-gallery-item figure img {
		height: calc( var(--space-100) * 6 );
	}
	.post-section .wp-block-gallery figcaption { font-size: 1.2rem; }
}
@media( min-width: 1040px ) {
	.post-content .wp-block-gallery .blocks-gallery-grid.slick-slider .slick-next,
	.post-content .wp-block-gallery .blocks-gallery-grid.slick-slider .slick-prev {
		width: var(--space-75);
		height: var(--space-75);
	}

	.wp-block-gallery .blocks-gallery-grid .blocks-gallery-item figure img {
		height: calc( var(--space-100) * 5 );
	}

	.post-section .wp-block-gallery figcaption { font-size: 1.4rem; }
}
@media( min-width: 1480px ) {
	.wp-block-gallery .blocks-gallery-grid .blocks-gallery-item figure img {
		height: calc( var(--space-100) * 4 );
	}

	.wp-block-gallery .blocks-gallery-grid.slick-slider .slick-next,
	.wp-block-gallery .blocks-gallery-grid.slick-slider .slick-prev {
		background-size: 24px;
	}

	.post-section .wp-block-gallery figcaption { font-size: 1.6rem; }
}
/* -- END: Slicks Resets -- */



