* { padding: 0; margin: 0; box-sizing: border-box; }

body {
  color: #2B3940;
  font-size: 16px;
  font-family: 'Nunito', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: grayscale;
  background-color: #ffffff;
}

a {
  text-decoration: none;
}

.width-container {
  max-width: 1140px;
  margin: 0 auto;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Nunito', sans-serif;
  font-weight: 700;
}

.hidden {
  display: none !important;
}

.wp-block-image .aligncenter {
  margin-left: auto;
  margin-right: auto;
}

img {
  border: none;
}

input, textarea {
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  padding: 8px 15px;
  border: 1px solid #D6E1DA;
  border-radius: 6px;
  background-color: white;
}

.button {
  font-size: 1rem;
  height: 46px;
  line-height: 46px;
  padding: 0 28px;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  background: none;
  border: none;
  appearance: none;
  border-radius: 0.625rem;
  transition: all ease 250ms;
}

.button.block {
  width: 100%;
  box-sizing: border-box;
}

.button.outline {
  color: #00B074;
  background-color: transparent;
  border: 1px solid #D1F1E6;
}

.button.outline:hover {
  color: #00B074;
  background-color: transparent;
  border: 1px solid #00B074;
}

.button.primary {
  color: #00B074;
  background-color: #D1F1E6;
}

.button.primary:hover {
  color: #ffffff;
  background-color: #00B074;
}

.lock-scroll {
  overflow: hidden;
}

.pagination {
  display: flex;
}

.pagination a {
  color: #00B074;
  padding: 8px 14px;
  border-radius: 10px;
  background-color: #D1F1E6;
  margin-right: 5px;
}

.pagination a:hover {
  background-color: #c2f0e0;
}

.pagination span.current {
  color: #FFFFFF;
  background-color: #00B074;
  padding: 8px 14px;
  border-radius: 10px;
  margin-right: 5px;
}

/* Ads
 * ----------------------------------------------------- */

.ads-1140-130 {
  width: 100%;
  overflow: hidden;
  text-align: center;
}

/* Posts
 * ----------------------------------------------------- */

.posts-wrapper {
  display: flex;
  margin-top: 3.125rem;
}

.posts-wrapper .ads-300 {
  width: 300px;
  margin-left: 80px;
}

.posts {
  flex: 1;
}

.posts .posts-header {
  margin-bottom: 1.5625rem;
}

.posts .posts-header h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.posts .posts-header p {
  margin-top: 10px;
}

.posts .posts-footer {
  margin-top: 55px;
}

.posts > article {
  display: grid;
  grid-template-columns: 300px auto;
  column-gap: 1.5625rem;
  padding-bottom: 2.1875rem;
  margin-bottom: 2.1875rem;
  border-bottom: 1px solid #EDF0EE;
}

.posts > article h3 {
  margin-bottom: 0.625rem;
}

.posts > article time {
  color: #7E8989;
  text-transform: uppercase;
  font-size: 0.75rem;
  display: block;
  margin-bottom: 0.625rem;
}

.posts > article a {
  display: block;
  color: #2B3940;
  transition: color ease 250ms;
}

.posts > article a:hover {
  color: #00B074;
}

.posts .readmore a {
  color: #7E8989;
  font-size: 0.875rem;
}

.posts .preview {
  margin-bottom: 0.625rem;
  line-height: 22px;
}

/* Comments
 * ----------------------------------------------------- */

.comments {}


.comments > ul {
  list-style: none;
}

.comments > ul > li {
  margin-bottom: 1.25rem;
}

.comments .comment figure {
  width: 50px;
  height: 50px;
  overflow: hidden;
  border-radius: 50%;
  background-color: #EDF0EE;
}

.comments .comment figure img {
  width: 100%;
}

.comments .comment-header {
  color: #7E8989;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.625rem;
}

.comments .comment-header h3 {
  font-family: 'Nunito', sans-serif;;
  font-size: 1rem;
  font-weight: normal;
}

.comments .comment-header time {
  font-size: 0.75rem; 
}

.comments .comment-body {
  width: 100%;
  display: grid;
  grid-template-columns: 50px 1fr;
  position: relative;
}

.comments .comment-meta {
  position: absolute;
  top: 10px;
  right: 10px;
}

.comments .comment-meta a {
  color: #7E8989 !important;
  font-size: 11px;
}

.comments .comment-meta a:hover {
  text-decoration: none !important;
}

.comments .says,
.comments .reply {
  display: none;
}

.comments .comment-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
} 

.comments .comment-body p {
  width: 100%;
  padding: 42px 1rem 1rem;
  margin-left: 1rem;
  background-color: #EDF0EE;
  border-radius: 0 1rem 1rem 1rem;
}

.comments .comment-awaiting-moderation {
  position: absolute;
  top: 40px;
  left: 84px;
  color: #856404;
  background-color: #ffeeba;
  padding: 10px;
  border-radius: 10px;
}

.comments .fn {
  color: #7E8989;
  position: absolute;
  top: 10px;
  left: 83px;
  font-style: normal;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: normal;
}


.comment-form {
  margin-bottom: 3.125rem;
}

.comment-form .comment-notes {
  color: #7E8989;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: none;
}

.comment-form input[type=text], .comment-form input[type=email] {
  width: 330px;
  margin-bottom: 1rem;
}

.comment-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  resize: vertical;
}

.widget-list {
  list-style: none;
}

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

img.alignleft, img.alignright, img.alignnone {
	border-radius: 0;
	border: none;
}

.typography h1,
.typography h2,
.typography h3,
.typography h4,
.typography h5,
.typography p {
  margin-bottom: 1rem;
}

.typography img.alignleft, .typography img.alignright, .typography img.alignnone {
	background: #FFF;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
	border: none;
	padding: 5px;
}

.typography .alignleft {
	float: left;
	margin: 0 25px 10px 0;
}

.typography .alignright {
	float: right;
	margin: 0 0 30px 30px;
}

.typography .alignnone {
	float: none;
	display: block;
	text-align: center;
	margin: 0 auto 30px;
}

.typography .thumbnail .caption {
	text-align: center;
	font-size: 12px;
}

.typography ol, .typography ul {
	margin: 0 0 2em;
	padding-left: 20px;
}

.typography ul li, .typography ol li {
	line-height: 1.6;
	margin-bottom: 0.8em;
}

.typography > .main blockquote, .typography > .main blockquote p {
	font-size: 16px;
	font-style: italic;
	line-height: 1.5;
}

.typography p.attribute {
	text-align: right;
	font-weight: bold;
	color: #0077c0;
	margin: 0 0 30px;
}

.typography .wp-caption img {
	max-width: 100%;
}

/* Header
 * ----------------------------------------------------- */

#header {
  margin-bottom: 50px;
}

#header .logo {
  color: #2B3940;
  display: block;
}

#header .logo p {
  margin-top: 4px;
  font-weight: 600;
}

#header .header-container {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#header .nav {
  height: 50px;
  background-color: #2B3940;
}

#header .menu {
  display: flex;
}

#header .nav .nav-container {
  display: flex;
}

#header .nav a {
  height: 50px;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  color: #F1F1F1;
  transition: 200ms background-color ease;
}

#header .nav a:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

#header .search input[type=text] {
  width: 186px;
  color: #7E8989; 
  height: 40px;
  font-size: 0.875rem;
  padding: 0 10px 0 38px;
  border: 1px solid #AAB1B5;
  border-radius: 4px;
  background: url('images/search.svg') no-repeat;
  background-position: 10px 10px;
}

#header .nav form.search {
  display: none;
}

#header .sandwich {
  display: none;
  padding: 0.5rem 1rem;
  background-color: transparent;
  border: none;
  appearance: none;
}

#header .sandwich img {
  width: 28px;
}

/* Footer
 * ----------------------------------------------------- */
#footer {
  background-color: #EAF5F1;
}

#footer .footer-summary {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#footer .footer-copy {
  padding: 1rem 0;
  font-size: 0.875rem;
  background-color: #DDEBE6;
}

#footer .footer-copy > div {
  color: #0C7853;
  height: 100%;
  display: flex;
  align-items: center;
}

#footer .footer-copy a {
  color: #0C7853;
}

#footer .circle-separator {
  width: 6px;
  height: 6px;
  background-color: #0C7853;
  display: inline-block;
  margin: 0 1rem;
  border-radius: 50%;
}

#footer .footer-copy a:hover {
  text-decoration: underline;
}

#footer .social-media p {
  color: #396757;
  font-size: 14px;
  font-weight: bold;
}

#footer .social-media .links {
  margin-top: 0.5rem;
  display: flex;
  justify-content: flex-end;
}

#footer .social-media .links > * {
  margin-left: 0.5rem;
}

/* Pages
 * ----------------------------------------------------- */

#page,
#single,
#category,
#homepage {
  margin-bottom: 130px;
}

/* Home page - Gallery
* ----------------------------------------------------- */
#homepage .gallery {
  height: 407px;
  margin-top: 3.125rem;
  margin-bottom: 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 10px;
}

#homepage .gallery article {
  position: relative;
}

#homepage .gallery a {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  overflow: hidden;
}

#homepage .gallery a:hover img {
  transform: scale(1.05);
}

#homepage .gallery article img {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  object-fit: cover;
  top: 0;
  left: 0;
  transition: 800ms all ease-out;
  transform: scale(1.01);
}

#homepage .gallery article figcaption {
  width: 100%;
  min-height: 50%;
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0) 100%);
}

#homepage .gallery article figcaption h2 {
  color: #ffffff;
  font-size: 22px;
  margin: 20px 25px;
}

#homepage .gallery-right {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#homepage .gallery-right-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 10px;
  margin-bottom: 10px;
  flex: 1;
}

#homepage .gallery .item1 {
  background-color: rgb(85, 68, 160);
}

#homepage .gallery .item2 {
  background-color: rgb(45, 150, 127);
}

#homepage .gallery .item3 h2,
#homepage .gallery .item2 h2 {
  font-size: 1rem;
}

#homepage .gallery .item3 {
  background-color: rgb(124, 32, 104);
}

#homepage .gallery .item4 {
  flex: 1;
  background-color: rgb(156, 60, 30);
}

/* Single
* ----------------------------------------------------- */

#single a {
  color: #00B074;
  text-decoration: none;
}

#single a:hover {
  text-decoration: underline;
}

#single .single-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  column-gap: 3.75rem;
  margin-top: 3.125rem;
}

#page .single-header,
#single .single-header {
  margin-bottom: 1.5625rem;
}

#page .single-header h1,
#single .single-header h1 {
  font-size: 2.375rem;
  margin-bottom: 0.625rem;
}

#single .single-header .single-header-info {
  color: #7E8989;
  text-transform: uppercase;
  font-size: 0.75rem;
  display: flex;
}

#single .single-header-info .author {
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid #EDF0EE;
}

#page .content,
#single .content {
  padding-bottom: 25px;
  margin-bottom: 50px;
  border-bottom: 4px solid #EDF0EE;
}

#single .single-footer h2 {
  font-size: 26px;
  margin-bottom: 1.25rem;
}

#single .single-footer .comments {
  margin-top: 50px;
}

#single .single-sidebar .article-list {
  margin: 2.5rem 0;
}

#single .single-sidebar .article-list h3 {
  color: #7E8989;
  font-size: 1.125rem;
  margin-bottom: 20px;
}

#single .single-sidebar .article-list ul {
  list-style: none;
}

#single .single-sidebar .article-list li {
  margin-bottom: 0.75rem;
}

#single .single-sidebar .article-list a {
  display: grid;
  grid-template-columns: 110px 1fr;
  column-gap: 20px;
}

#single .single-sidebar .article-list a:hover {
  text-decoration: none;
}

#single .single-sidebar .article-list img {
  width: 100%;
}

#single .single-sidebar .article-list h4 {
  font-size: 0.9375rem;
  color: #2B3940;
  transition: color ease 250ms;
}

#single .single-sidebar .article-list a:hover h4 {
  color: #00B074;
}

/* Page not found 404
* ----------------------------------------------------- */

#page-not-found {
  text-align: center;
  padding: 2rem 0;
  margin-bottom: 100px;
}

#page-not-found h1 {
  font-size: 36px;
  margin: 20px 0 30px;
}

#page-not-found article > p {
  max-width: 500px;
  margin: 0 auto 30px;
} 

#page-not-found article input[name='s'] {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Media Queries
* ----------------------------------------------------- */

@media screen and (max-width: 1140px) {
  .width-container {
    margin: 0 30px;
  }
}

@media screen and (max-width: 1000px) {
  .posts-wrapper .ads-300 {
    display: none;
  }
}

@media screen and (max-width: 920px) {
  #homepage .gallery {
    height: auto;
    display: block;
  }

  #homepage .gallery .item4,
  #homepage .gallery .item3,
  #homepage .gallery .item2,
  #homepage .gallery .item1 {
    height: 300px;
  }

  #homepage .gallery .item1 {
    margin-bottom: 10px;
  }

  #single .single-wrapper {
    display: block;
  }

  #single .single-sidebar {
    margin-top: 50px;
  }

  #single .single-sidebar .ads > * {
    display: block;
    margin: 0 auto 1rem;
  }

  .comment-form input {
    width: 100%;
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 700px) {
  .width-container {
    margin: 0 30px;
  }

  #header {
    position: relative;
    border-bottom: 6px solid #DDEBE6;
  }

  #header .header-container form.search {
    display: none;
  }

  #header .nav {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    display: none;
  }

  #header .nav.show {
    display: block;
  }

  #header .nav .nav-container {
    display: block;
  }

  #header .nav form.search {
    display: block;
    margin: 30px;
    text-align: center;
  }

  #header .menu {
    display: block;
  }

  #header .nav .nav-container a {
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
  }

  #header .nav form.search input {
    width: 100%;
    font-size: 1rem;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  #header .sandwich {
    display: block;
  }

  #header .menu-close {
    width: 30px;
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 30px;
    right: 30px;
    border: none;
    background: none;
    appearance: none;
  }

  #header .menu-close .svg-close {
    width: 20px;
  }
  
  #header .menu-close img {
    width: 20px;
  }
}

@media screen and (max-width: 600px) {
  #homepage .gallery .gallery-right-top {
    display: block;
  }

  #homepage .gallery .item2 {
    margin-bottom: 10px;
  }

  #homepage .gallery .item2 figcaption h2,
  #homepage .gallery .item3 figcaption h2 {
    font-size: 1.375rem;
  }

  .comments .comment-body {
    display: block;
  }

  .comments .comment-body p {
    margin-left: 0;
    padding-top: 1rem;
  }

  .comments .comment-author {
    display: grid;
    grid-template-columns: 50px 1fr;
    align-items: center;
    column-gap: 12px;
    margin-bottom: 10px;
  }

  .comments .fn {
    position: relative;
    top: 0;
    left: 0;
  }

  .comments .comment-meta {
    display: none;
  }

  .posts-wrapper .posts article {
    display: block;
  }

  .posts-wrapper .posts article figure {
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 550px) {
  #footer .footer-copy .circle-separator {
    display: none;
  }

  #footer .footer-copy > div {
    display: block;
  }

  #footer .footer-copy > div p {
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 475px) {
  .posts-wrapper .posts article figure a {
    display: block;
  }

  .posts .posts-header {
    border-bottom:1px solid #EDF0EE;
    margin-bottom: 5rem;
  }
  
  .posts .posts-header h2 {
    display: none;
  }

  .posts-wrapper .posts article figure img {
    width: 100%;
  }

  #page-not-found article input[name='s'] {
    width: 100%;
    display: block;
    margin: 0 auto 1rem;
  }
}

@media screen and (max-width: 475px) {
  #footer .footer-summary .logo img {
    width: 120px;
  }
}
