/*!
Theme Name: Grain Collective
Theme URI: http://underscores.me/
Author: e. james ford
Author URI: http://web.ejimford.com
Description: Custom theme for Grain Collective
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: grain-collective
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Grain Collective is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
        ### Menu Button
# Accessibility
# Alignments
# Clearings
# Widgets
# Header
# Content
	## Posts and pages
	## Comments
# Footer
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

body,
button,
input,
select,
optgroup,
textarea {
  color: #000;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 170%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  font-weight: 400;
}

p {
  margin-bottom: 24px;
}

p.nospace {
  margin-bottom: 0 !important;
}

.entry-content h1,
.entry-header h1.entry-title {
  font-size: 26px;
  line-height: 130%;
}

.entry-content h2 {
  font-size: 22px;
  line-height: 170%;
  font-weight: 300;
}

.entry-content h3,
h2.entry-title {
  font-size: 18px;
  line-height: 130%;
}

.entry-content h4 {
  font-size: 16px;
  line-height: 130%;
  font-weight: 700;
}



dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 15px;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 15px;
  font-size: 0.9375rem;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

@media only screen and (min-width: 1024px) {

  body,
  button,
  input,
  select,
  optgroup,
  textarea {
    font-size: 18px;
    line-height: 160%;
  }
  .entry-content h1,
  .entry-header h1.entry-title {
    font-size: 32px;
    line-height: 130%;
  }
  
  .entry-content h2 {
    font-size: 28px;
    line-height: 130%;
  }
  
  .entry-content h3,
  h2.entry-title {
    font-size: 24px;
    line-height: 130%;
  }
  
  .entry-content h4 {
    font-size: 18px;
    line-height: 130%;
    font-weight: 700;
  }
  
  
}


/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
  box-sizing: inherit;
}

body {
  background: #EC008C;
  /* Fallback for when there is no custom background color defined. */
}

hr {
  background-color: #f9d234;
  border: 0;
  height: 10px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 1.5em 1.5em;
}

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}

figure {
  margin: 0;
  /* Extra wide images within figure tags don't overflow the content area. */
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
a.button,
a.post-edit-link,
a.button:visited,
a.post-edit-link:visited {
  border: 2px solid #e83c29;
  border-radius: 0px;
  background: transparent;
  color: #e83c29;
  line-height: 1;
  padding: 0.85em 1em 0.85em;
  text-decoration: none;
  margin: 6px auto;
  max-width: 120px;
  font-weight: 500;
  text-transform: uppercase;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
a.button:hover,
a.post-edit-link:hover {
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus,
a.button:active,
a.button:focus,
a.post-edit-link:active,
a.post-edit-link:focus {
  border-color: #aaa #bbb #bbb;
}

.wp-block-button {
  text-align: center;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Site Header
--------------------------------------------------------------*/
.site-header {
}

.admin-bar .site-header {
  top: 32px;
}

.site-header-inner {
  max-width: 1240px;
  margin: 0px auto;
}

.site-branding {
  display: none;
  max-width: 180px;
  margin: 20px auto;
}

/* ===== == = === (768px) === = == ===== */
@media only screen and (min-width: 768px) {
  .site-header-inner {
  }
  .site-branding {
    float: left;
    margin: 16px 20px 0px 24px;
  }
}

/* ===== == = === (900px) === = == ===== */
@media only screen and (min-width: 900px) {
  .site-branding {
  }
}

/* ===== == = === (1024px) === = == ===== */
@media only screen and (min-width: 1024px) {
  .site-header {
    display: block;
    padding: 26px 0px;
    position: fixed;
    top: 0px;
    left: 0px;
    background: #EC008C;
    z-index: 999999;
    width: 100%;
  }
  .site-header-inner {
  }

  .site-branding {
    display: block;
  }
}

/* ===== == = === (1440px) === = == ===== */
@media only screen and (min-width: 1300px) {

  .site-branding {
    margin-left: 4px;
  }
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
  color: #ff0000;
}

a:visited {
  color: #ff0000;
}

a:hover,
a:focus,
a:active {
  color: #ff6600;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

a.deactivate-link,
a.deactivate-link:focus {
  cursor: default;
  outline: none;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
  display: block;
  position: fixed;
  bottom: -150%;
  right: 0px;
  width: 80%;
  height: auto;
  transition: all 0.25s ease-in-out;
  z-index: 9998;
  text-transform: uppercase;
}
.main-navigation.is-open {
  bottom: 75px;
  background-color: #112233;
}
.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 24px 0px 36px;
  font-size: 15px;
  text-align: left;
}

.main-navigation li {
  padding: 0px 24px;
  display: block;
}

.main-navigation a {
  padding: 13px 8px 12px;
  display: block;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  border-bottom: 1px solid #f9d234;
}

.header-widgets {
  display: none;
  line-height: 1;
}

.header-widgets p {
  margin: 0px;
}
.header-widgets a {
  color: #fff;
  display: inline-block;
  margin: 0px;
}

.main-navigation ul ul {
  background-color: #112233;
  display: none;
}
.main-navigation ul ul li {
  padding: 0px 0px;
}

.main-navigation li.focus ul {
  display: block;
}

.main-navigation li.focus > a {
  display: block;
  color: #FFD400;
}
@media screen and (max-width: 767px) {
  .main-navigation li.focus ul {
    padding-top: 0px;
  }
}

@media screen and (min-width: 768px) {

}

@media screen and (min-width: 1024px) {
	.main-navigation,
	.main-navigation.is-open {
	  position: relative;
	  float: right;
	  right: initial;
	  top: initial;
	  bottom: initial;
	  height: auto;
	  width: auto;
	  padding: 8px 0px 0px 0px;
	  background-color: transparent;
	}
	.main-navigation ul {
	  display: block;
	  font-size: 15px;
	  padding: 0;
	}
	.main-navigation li {
		padding: 0px;
		float: left;
	}
	.main-navigation a {
		padding: 12px 20px;
		border-bottom: none;
	}
	.main-navigation ul ul {
	  background-color: #112233;
	  float: none;
	  position: absolute;
	  top: 98%;
	  left: -999em;
	  z-index: 99999;
	}
  
	.header-widgets {
	  float: right;
	  max-height: 26px;
	}
	.header-widgets a {
	  padding: 21px 1px 0px 1px;
	}
	.main-navigation ul ul ul {
	}
  
	.main-navigation ul ul li:hover > ul,
	.main-navigation ul ul li.focus > ul {
	}
  
	.main-navigation ul ul a {
	  width: 247px;
	  line-height: 1em;
	  color: #fff;
	  font-weight: 500;
	  font-size: 13px;
	  line-height: 15px;
	  text-transform: uppercase;
	  padding: 0px 20px 20px 20px;
	  margin-top: 0px;
	  display: inline-block;
	}
  
	.main-navigation ul li.focus > ul {
	  left: -25%;
	  columns: 3;
	  padding: 24px;
	}
  
	.main-navigation ul ul li {
	  text-align: left;
	  float: none;
	}

	.header-widgets {
		display: block;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}

/*--------------------------------------------------------------
## Mobile Navigation
--------------------------------------------------------------*/
.mobile-navigation {
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  background: #EC008C;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}
.mobile-navigation a,
.mobile-navigation .button-container {
  width: 33%;
  margin: 0px;
  padding: 0px;
  text-align: center;
  font-size: 36px;
  color: #fff;
  font-weight: 500;
}

a.logo-mobile {
  display: block;
  text-indent: -9999999px;
  background-image: url(images/letter-h.png);
  background-size: 35px;
  background-repeat: no-repeat;
  background-position: top 12px left 24px;
  width: 18%;
}

.mobile-navigation .button-container button,
.mobile-navigation .button {
  border: none;
  color: #fff;
  font-weight: 500;
  max-width: none;
}

.mobile-navigation .button-container button.hamburger {
  font-size: 24px !important;
  width: 18%;
}

.mobile-navigation .custom-logo-link {
  text-align: left;
  padding-left: 24px;
  padding-top: 4px;
}
.mobile-navigation .button-container.map-mobile {
  font-size: 16px;
  font-weight: 500;
  width: 64%;
}
.mobile-navigation .custom-logo-link img {
  width: 140px;
}
@media screen and (min-width: 1024px) {
  .mobile-navigation {
    display: none;
  }
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
  table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

.clear {
  clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
  margin: 0 0 1.5em;
  /* Make sure select elements fit in widgets. */
}

.widget select {
  max-width: 100%;
}

.widget ul {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
  display: block;
}

.post,
.page {
}

.updated:not(.published) {
  display: none;
}

.site-content {
  background: #fff;
  padding: 0;
  margin: 0px auto;
}

.single .entry-header {
  margin-top: 96px;
}

.page .page-header,
.page .entry-header {
  display: none;
}

h2.entry-title {
  margin-bottom: 0;
  font-weight: 400;
}

a.post-link-external {
  display: inline-block;
} 
a.post-link-external::after {
  content: " ";
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-left: 16px;
  background-image:url('https://gr.houseofcakes.com/wp-content/uploads/2023/03/ExternalLinkIcon.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;

}
a[data-type="attachment"] {
  display: inline-block;
  padding-right: 40px;
  background-image:url('https://gr.houseofcakes.com/wp-content/uploads/2023/03/ExternalLinkIcon.svg');
  background-size: 24px 24px;
  background-position: bottom 2px right;
  background-repeat: no-repeat;
} 

.project-header {
  display: none;
}


.page-content,
.entry-content,
.entry-summary {
	padding: 0px;
}
.entry-content > *,
.entry-header > * {
  max-width: 1000px;
  margin: 0px auto 24px;
  padding: 0px 20px;
}

.entry-header > * {
  margin-bottom: 0px;
}
.entry-content ul,
.entry-content ol {
  padding: 0px 60px 0px 28px;
  max-width: 760px;
  margin-left: 0px;
}

.entry-content ul li,
.entry-content ol li {
  margin-bottom: 8px;
}




.entry-content .wp-block-columns {
  max-width: 1000px;
  gap: 30px;
}

.entry-content .wp-block-columns.is-style-wide-gap {
  gap: 90px;
}

.entry-content > .wp-block-spacer {
  margin-bottom: 0;
}

.entry-content > .wp-block-cover,
body.home .entry-content > .wp-block-cover {
  max-width: 100%;
  margin-bottom: 0px;
}


.entry-content > .wp-block-cover:first-child,
body.home .entry-content > .wp-block-cover:first-child {
  overflow: hidden;
}
body.home .entry-content > .wp-block-cover:first-child {
  height: 89vh;
  overflow: hidden;
}

.entry-content.project-content > .wp-block-cover:first-child {
  height: 80.5vh;
  max-height: 760px;
  overflow: hidden;
  position: relative;
}


.entry-content.project-content > .wp-block-cover:first-child .project-cover-title-text {
  position: absolute;
  bottom: 40px;
  left: 0px;
  width: 100%;
}
.entry-content.project-content > .wp-block-cover:first-child .project-cover-title-text-inner {
  max-width: 1000px;
  margin: 0px auto;
  padding: 0px 20px;
  color: #fff;
  text-shadow: 0px 0px 7px #000000;

}


.entry-content.project-content > .wp-block-cover:first-child .project-cover-title-text a {
  color: #fff;
  text-decoration: none;
  text-shadow: 0px 0px 7px #000000;
}



.wp-block-cover-image img.wp-block-cover__image-background, 
.wp-block-cover-image video.wp-block-cover__video-background, 
.wp-block-cover img.wp-block-cover__image-background, 
.wp-block-cover video.wp-block-cover__video-background {
}

.project-content-inner {
  max-width: 1000px;
  margin: 0px auto;
}

.project-content-inner > *{
  margin-bottom: 24px;
}

.wp-block-project-meta {
  font-size: 12px;
  text-transform: uppercase;
  margin: 60px auto 0px auto
}



.project-content h1,
.project-content h2 {
  clear: none;
  margin-top: 0px;
}


.project-data h5 {
  font-size: 12px;
  line-height: 18px;
  font-weight: 400;
  color: #EC008C;
  text-transform: uppercase;
  margin: 30px 0px 10px 0px;
}
.project-data h5:first-child {
  margin-top: 12px;
}
.project-data p {
  font-size: 18px;
  line-height: 24px;
  margin: 0px;
}



.wp-block-separator {
  border-top: none;
  border-bottom: none;
}

.wp-block-quote {
  color: #F04E23;
  text-align: center;
  font-size: 21px;
}

.is-style-intro {
  font-size: 18px;
  line-height: 170%;
}



.entry-footer {
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.wp-block-group.has-background {
  padding: 24px 24px;
  max-width: none;

}
body.page-id-9 .wp-block-group.has-background {
  padding: 80px;
  max-width: 960px;
}
body.page-id-9 .wp-block-group.has-background .wp-block-columns {
  margin-bottom: 0;
}


.entry-content > .wp-block-group.has-background .wp-block-group__inner-container {
  max-width: 960px;
  margin: 0px auto;
}

.wp-block-columns.bio-block {
  padding: 0 0;
  margin-top: 100px;
}

.wp-block-columns.bio-block > .wp-block-column > * {
  padding: 0 20px;
}

.wp-block-columns.bio-block > .wp-block-column > figure.wp-block-image {
  padding: 0 0;
}




body.blog .site-content article.post,
body.archive .site-content article.post {
  max-width: 1000px;
  padding: 0px 20px;
  margin: 0px auto 36px auto;
}

body.blog article.post .entry-header,
body.archive article.post .entry-header {
  display: block;
}

body.single article.post .entry-header .entry-meta,
body.blog article.post .entry-header .entry-meta,
body.archive article.post .entry-header .entry-meta {
  font-size: 11px;
  line-height: 15px;
  text-transform: uppercase;
}

body.single article.post .entry-header .entry-meta a,
body.blog article.post .entry-header .entry-meta a,
body.archive article.post .entry-header .entry-meta a {
  color: #EC008C;
  text-decoration: none;
}

body.blog article.post .entry-header h2,
body.archive article.post .entry-header h2 {
  margin-top: 4px;
}

body.blog article.post .entry-header h2 a,
body.archive article.post .entry-header h2 a {
  color: #000;
  text-decoration: none;
}


body.home .page-bottom-clear,
body.parent-pageid-12 .page-bottom-clear {
  display: none;
}
body.home .wp-block-group.has-grain-navy-background-color,
body.parent-pageid-12 .wp-block-group.has-grain-lime-background-color  {
  margin-bottom: 0px;
}

.team-resuable-block a {
  color: #333 !important;
}

@media only screen and (min-width: 390px) {
  body.home .entry-content > .wp-block-cover:first-child {
    height: 91vh;
  }  
}


@media screen and (min-width: 600px) {
}


@media screen and (min-width: 768px) {
  .project-data {
    width: 23.3334%;
    float: right;
    margin-left: 6%;
    margin-bottom: 36px;
    min-height: 300px;
  }
  body.home .entry-content > .wp-block-cover:first-child {
    height: 93vh;
  }  
  
}

@media screen and (min-width: 782px) {
  .wp-block-columns.bio-block > .wp-block-column > * {
    padding: 0 0;
  }
}



@media screen and (min-width: 1024px) {

  .site-content {
    margin: 125px auto 0 auto;
  }
  


  body.home .entry-content > .wp-block-cover:first-child {
    height: 84vh;
    overflow: hidden;
  }
  .is-style-intro {
    font-size: 20px;
    line-height: 180%;
  }
  .wp-block-quote {
    font-size: 22px;
    line-height: 200%;
  }
  

}
@media screen and (min-width: 1300px) {
  

}


/*--------------------------------------------------------------
## Project List
--------------------------------------------------------------*/

.archive-header {
  max-width: 1000px;
  margin: 48px auto;
  padding: 0px 40px;
}
.entry-content > .project-list-block {
  padding: 0px 0px;
}
.project-list-single-project {
  margin-bottom: 48px;
}
.project-list-single-project h3 {
  font-size: 20px;
  margin: 0;
  font-weight: 300;
  line-height: 130%;
}
.project-list-single-project h3 a {
  color: #333333;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}


.project-list-single-project .single-project-thumbnail-link {
  display: block;
  line-height: 1;
}

.single-project-categories {
  margin-top: 16px;
}
.single-project-categories,
.single-project-categories a {
  text-decoration: none;
  text-transform: uppercase;
  color: #00AEEF;
  font-weight: 400;
  font-size: 12px;
}

.has-grain-cyan-background-color .single-project-categories,
.has-grain-cyan-background-color .single-project-categories a,
.has-grain-navy-background-color .single-project-categories,
.has-grain-navy-background-color .single-project-categories a,
.has-grain-navy-background-color .project-list-single-project-data,
.wp-block-group.has-grain-white-color .single-project-categories,
.wp-block-group.has-grain-white-color .single-project-categories a,
.wp-block-group.has-grain-white-color .project-list-single-project h3 a,
.wp-block-group.has-grain-white-color .project-list-single-project-data,
.wp-block-group.has-grain-navy-background-color .project-list-single-project h3 a {
  color: #fff;
}


.project-list-single-project-data {
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  margin-top: 4px;
  text-transform: uppercase;
}

.project-list-single-project .single-project-categories,
.project-list-single-project .single-project-thumbnail-link,
.project-list-single-project h3,
.project-list-single-project .project-list-single-project-data {
  padding: 0px 20px;
}

.project-list-single-project.project-list-single-project-layout-wide .single-project-thumbnail-link {
  padding: 0px 0px;
}


@media only screen and (min-width: 575px) {
  .entry-content > .project-list-block {
    padding: 0px 20px;
  }

  .project-list-projects {
    display: grid;
    grid-template-columns: 48.75% 48.75%;
    gap: 2.5%;
  }
  .project-list-projects.project-list-count-1 {
    display: block;
    grid-template-columns: none;
    gap: unset;
  }
  .project-list-single-project {
    margin-bottom: 0;
  }

  
  .project-list-single-project h3 {
    font-size: 18px;
  }  

  .project-list-single-project .single-project-categories,
  .project-list-single-project .single-project-thumbnail-link,
  .project-list-single-project h3,
  .project-list-single-project .project-list-single-project-data,
  .project-list-single-project.project-list-single-project-layout-wide .single-project-thumbnail-link {
    padding: 0px 0px;
  }
}
@media only screen and (min-width: 768px) {
  .project-list-projects {
    display: grid;
    grid-template-columns: 31.6666666% 31.6666666% 31.6666666%;
    gap: 2.5%;
  }

  .project-list-single-project.project-list-single-project-layout-wide {
    grid-column-end: span 2;
  }
  .single-project-categories,
  .single-project-categories a {
  }
}
@media only screen and (min-width: 1024px) {
  .project-list-single-project h3 {
    font-size: 20px;
  }  
  .single-project-categories,
  .single-project-categories a {
    font-size: 14px;
  }
}
@media only screen and (min-width: 1200px) {
  .project-list-single-project h3 {
    font-size: 22px;
  }

}

@media only screen and (min-width: 1300px) {
  .entry-content > .project-list-block,
  .archive-header {
  }

}







/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/*--------------------------------------------------------------
# Site Footer
--------------------------------------------------------------*/

.mc4wp-form p {
  margin: 0px;
}

.mc4wp-form label {
  display: block;
  text-align: left;
}
.mc4wp-form input {
  width: 100%;
}
.mc4wp-name {
  text-align: left;
  margin-bottom: 6px;
}

.mc4wp-name div {
  width: 49.5%;
  display: inline-block;
}
.mc4wp-name div label {
  font-size: 11px;
}

.site-footer {
  background: #EC008C;
}

.site-footer-inner {
  padding: 48px 20px;
  max-width: 1240px;
  margin: 0px auto;
  font-size: 15px;
  color: #fff;
}
.site-footer-inner .wp-block-group.has-background {
  padding: 0;
}
.site-footer a {
  color: #fff;
  text-decoration: none;
}
.site-footer a i {
  color: #fff;
  font-size: 20px;
  padding: 0px 5px;
}
.site-footer a:not(.wp-block-social-link-anchor):hover {
  text-decoration: underline;
}

.footer-widgets .widget {
  text-align: left;
  max-width: 440px;
  margin-bottom: 0px;
}

.site-footer .mc4wp-name,
.site-footer .mc4wp-form label,
.site-footer .mc4wp-form input[type="submit"] {
  display: none;
}
.footer-widgets .wp-block-gallery.has-nested-images figure.wp-block-image img {
  max-width: 108px;
}

.footer-widgets p {
  margin: 0px 0px 12px 0px;
}

/* ===== == = === (600px) === = == ===== */
@media only screen and (min-width: 600px) {
  .site-footer-inner {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .footer-widgets {
    display: grid;
    grid-template-columns: 48.75% 48.75%;
    gap: 2.5%;

  }
}

@media only screen and (min-width: 768px) {
  .footer-widgets {
    grid-template-columns: 31.6666666% 31.6666666% 31.6666666%;
  }
}
@media only screen and (min-width: 768px) {
  .site-footer-inner {
    padding: 100px 0px;
  }
}
/*--------------------------------------------------------------
## Back to Top Button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  width: 36px;
  height: 48px;
  opacity: 0;
  right: -50px;
  bottom: 15px;
  background-image: url(images/icons/arrow-double-up.png);
  background-size: contain;
  background-position: center right;
  background-repeat: no-repeat;
  text-indent: -99999px;
  display: block;
  transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  z-index: 999;
}
/*
.back-to-top.scrolled {
  opacity: 0.8;
  right: 16px;
  bottom: 16px;
}
*/
/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}
.wp-block-embed.is-provider-youtube iframe {
  max-width: 100%;
  width: 100%;
  aspect-ratio: 16 /9;
  height: auto;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.wp-block-gallery {
  gap: 2.5% !important;
}
.wp-block-gallery figure.wp-block-image {
  margin-bottom: 30px !important;
}
.wp-block-image figcaption {
}

@media only screen and (min-width: 600px) {
  .wp-block-gallery {
    margin-bottom: 30px !important;
  }
  .wp-block-gallery figure.wp-block-image {
    margin-bottom: 0 !important;
  }
  .wp-block-gallery figure.wp-block-image,
  .wp-block-gallery-2.wp-block-gallery figure.wp-block-image {
    width: 48.75% !important;
  }
  .wp-block-gallery-3.wp-block-gallery figure.wp-block-image {
    width: 31.6666666% !important;
  }
  .wp-block-gallery-4.wp-block-gallery figure.wp-block-image {
    width: 23.125% !important;
  }
}
