/* --------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# General Structure
  ## Code
  ## Cover
  ## Embeds
  ## Gallery
  ## Group
  ## Image
  ## Latest Posts
  ## List
  ## More
  ## Navigation
  ## Pullquote
  ## Quote
  ## Separator
  ## Site Tagline
  ## Table
  ## Video
# Additional Theme Styles
  ## Color Palette

-------------------------------------------------------------- */

:root {
	--main-font: "Roboto Condensed";
	--yellow: #fc0;
	--purple: #6f448b;
	--dark-gray: #414141;
	--light-gray: #f4f4f5;
}

/* --------------------------------------------------------------
# Block Styles
-------------------------------------------------------------- */

/* --------------------------------------------------------------
## General Structure
-------------------------------------------------------------- */

.entry-content > * {
	max-width: 580px;
	padding-right: 14px;
	padding-left: 14px;
	margin: 36px auto;
}

.entry-content > .alignwide {
	max-width: 1070px;
}

.entry-content > .alignfull {
	max-width: 100%;
	margin: 1.5em 0;
}

@media screen and (min-width: 608px) {
	.entry-content > * {
		padding-right: 0;
		padding-left: 0;
	}
}


/* --------------------------------------------------------------
## Button
-------------------------------------------------------------- */
.wp-block-button a {
	padding: 9px 35px;
	border-radius: 4px;
	background-color: var(--purple);
	font-size: 16px;
	font-weight: lighter;
	color: #fff;
}

.wp-block-button a:hover {
	background-color: var(--yellow);
	color: var(--purple);
}


/* --------------------------------------------------------------
## Code
-------------------------------------------------------------- */
.wp-block-code {
	padding: 0.8em 1em;
	margin-right: 14px;
	margin-left: 14px;
}

@media screen and (min-width: 608px) {
	.wp-block-code {
		margin-right: auto;
		margin-left: auto;
	}
}

/* --------------------------------------------------------------
## Cover
-------------------------------------------------------------- */

.wp-block-cover, .wp-block-cover-image {
	height: auto;
}

.wp-block-cover-text p {
	padding: 1.5em 14px;
}

@media screen and (min-width: 608px) {
	.wp-block-cover-text p {
		padding: 1.5em 0;
	}
}


/* --------------------------------------------------------------
## Embeds
-------------------------------------------------------------- */
.wp-block-embed.type-video > .wp-block-embed__wrapper {
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 56.25%;
}

.wp-block-embed.type-video > .wp-block-embed__wrapper > iframe {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/* --------------------------------------------------------------
# Gallery
-------------------------------------------------------------- */

.wp-block-gallery:not(.components-placeholder) {
	margin: 1.5em auto;
}


/* --------------------------------------------------------------
## Group
-------------------------------------------------------------- */
.wp-block-group > .wp-block-group__inner-container > *:not(.entry-content) {
	max-width: 580px;
	margin-right: auto;
	margin-left: auto;
}

.wp-block-group > .wp-block-group__inner-container > .alignwide {
	max-width: 1070px;
}

.wp-block-group > .wp-block-group__inner-container > .alignfull {
	max-width: 100%;
}

.wp-block-group.has-background > .wp-block-group__inner-container > :first-child {
	margin-top: 0;
}

.wp-block-group.has-background > .wp-block-group__inner-container > .alignfull {
	position: relative;
	left: -30px;
	width: calc(100% + 60px);
	max-width: calc(100% + 60px);
}


/* --------------------------------------------------------------
# Image
-------------------------------------------------------------- */
.wp-block-image,
.wp-block-image.alignwide {
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
}

.wp-block-image img {
	display: block;
}

.wp-block-image.alignleft,
.wp-block-image.alignright {
	width: 100%;
}

.wp-block-image.alignfull img {
	width: 100vw;
}

.wp-block-image .alignleft img,
.wp-block-image .alignright img,
.wp-block-image .alignleft figcaption,
.wp-block-image .alignright figcaption {
	width: 100%;
	max-width: 100%;
}

@media (min-width: 576px) {
	.wp-block-image,
	.wp-block-image.alignwide {
		max-width: 540px;
	}
}

@media (min-width: 768px) {
	.wp-block-image,
	.wp-block-image.alignwide {
		max-width: 720px;
	}
}

@media (min-width: 992px) {
	.wp-block-image,
	.wp-block-image.alignwide {
		max-width: 960px;
	}
}

@media (min-width: 1200px) {
	.wp-block-image,
	.wp-block-image.alignwide {
		max-width: 1140px;
	}

	.wp-block-image.alignfull {
		width: 100%;
	}
}


/* --------------------------------------------------------------
## Latest Posts
-------------------------------------------------------------- */

ul.wp-block-latest-posts.alignwide,
ul.wp-block-latest-posts.alignfull,
ul.wp-block-latest-posts.is-grid.alignwide,
ul.wp-block-latest-posts.is-grid.alignwide {
	padding: 0 14px;
}


/* --------------------------------------------------------------
# List
-------------------------------------------------------------- */
.entry-content ul,
.entry-content ol {
	max-width: 580px;
	margin: 1.5em auto;
	list-style-position: outside;
}

.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul {
	margin: 0 auto;
}

.entry-content ul ul,
.entry-content ul ol {
	padding: 0;
}

.entry-content ul ul li,
.entry-content ol ol li,
.entry-content ul ol li,
.entry-content ol ul li {
	margin-left: 0;
}


/* --------------------------------------------------------------
## More
-------------------------------------------------------------- */
.more-link {
	display: block;
}


/* --------------------------------------------------------------
## Navigation
-------------------------------------------------------------- */
.wp-block-navigation-link__label {
	font-family: inherit;
	color: #0073aa;
}


/* --------------------------------------------------------------
## Pullquote
-------------------------------------------------------------- */
.wp-block-pullquote > p:first-child {
	margin-top: 0;
}

.wp-block-pullquote {
	border-top: 4px solid var(--light-gray);
	border-bottom: 4px solid var(--light-gray);
}


/* --------------------------------------------------------------
## Quote
-------------------------------------------------------------- */
.wp-block-quote {
	padding: 0;
	margin: 36px auto 36px 80px;
	border-left: 4px solid var(--light-gray);
}

.wp-block-quote > * {
	margin-left: 30px;
	font-family: var(--main-font);
	font-size: 18px;
	font-weight: 300;
	font-style: italic;
	line-height: 30px;
	color: var(--purple);
}

.wp-block-quote__citation,
.wp-block-quote cite,
.wp-block-quote footer {
	color: var(--dark-gray);
}


.wp-block-quote.is-large,
.wp-block-quote.is-style-large {
	padding: 0;
	margin: 36px auto 36px 80px;
}

.wp-block-quote.is-large cite,
.wp-block-quote.is-large footer,
.wp-block-quote.is-style-large cite,
.wp-block-quote.is-style-large footer {
	font-size: 13px;
}


/* --------------------------------------------------------------
## Separator
-------------------------------------------------------------- */
.wp-block-separator {
	padding: 0;
	margin: 35px auto;
	border-bottom: 1px solid #cacaca;
}

.wp-block-separator.is-style-wide::before {
	position: absolute;
	width: 41px;
	height: 3px;
	background-color: var(--yellow);
	content: "";
}


/* --------------------------------------------------------------
## Site Tagline
-------------------------------------------------------------- */
.wp-block-site-tagline {
	margin-top: 0;
}


/* --------------------------------------------------------------
## Site Title
-------------------------------------------------------------- */
.wp-block-site-title {
	margin-bottom: 0;
}


/* --------------------------------------------------------------
## Table
-------------------------------------------------------------- */
.wp-block-table {
	width: calc(100% - 28px);
	margin-left: 14px;
	margin-right: 14px;
	overflow-x: auto;
}

.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
}

.wp-block-table td, .wp-block-table th {
	padding: 0.5em;
}

@media screen and (min-width: 608px) {
	.wp-block-table {
		width: 100%;
		margin-right: auto;
		margin-left: auto;
	}
}


/* --------------------------------------------------------------
## Video
-------------------------------------------------------------- */
.wp-block-video video {
	max-width: 580px;
}


/* --------------------------------------------------------------
## File
-------------------------------------------------------------- */
.wp-block-file {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 40px;
	padding-left: 45px;
	margin-bottom: 0;
}

.wp-block-file::before {
	position: absolute;
	left: 0;
	content: "\f1c1";
	font-family: "Font Awesome 5 Free";
	font-size: 30px;
	font-weight: 500;
	color: var(--yellow);
}

.wp-block-file .wp-block-file__button {
	display: none;
}

@media screen and (max-width: 576px) {
	.wp-block-file {
		padding-left: 50px;
	}

	.wp-block-file::before {
		left: 10px;
	}
}


/* --------------------------------------------------------------
# Additional Theme Styles
-------------------------------------------------------------- */

/* --------------------------------------------------------------
## Color Palette
-------------------------------------------------------------- */
.has-strong-blue-color {
	color: #0073aa;
}

.has-strong-blue-background-color {
	background-color: #0073aa;
}

.has-lighter-blue-color {
	color: #229fd8;
}

.has-lighter-blue-background-color {
	background-color: #229fd8;
}

.has-very-light-gray-color {
	color: #eee;
}

.has-very-light-gray-background-color {
	background-color: #eee;
}

.has-very-dark-gray-color {
	color: #444;
}

.has-very-dark-gray-background-color {
	background-color: #444;
}
