/*
Theme Name: MaisonSheer Gridly
Theme URI: http://216.106.183.16/
Author: MaisonSheer
Author URI: http://216.106.183.16/
Description: Custom editorial blog theme inspired by Gridly.
Version: 1.0
Text Domain: maisonsheer-gridly
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  background: #ffffff;
  color: #111111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #111111;
  text-decoration: none;
}

a:hover {
  opacity: 0.8;
}

ul {
  list-style: none;
}

.container {
  width: 1340px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.site-header {
  padding-top: 0;
}

.header-main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 0 10px;
}

.header-center {
  text-align: center;
}

.site-title {
  display: inline-block;
  font-family: "League Gothic", Arial, sans-serif;
  font-size: 112px;
  line-height: 0.92;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #111111;
}

.main-navigation {
  border-top: 0;
  border-bottom: 1px solid #111111;
  margin-bottom: 36px;
}

.main-navigation ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  padding: 0 0 14px;
  font-family: "Mulish", Arial, sans-serif;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0;
  font-weight: 400;
  line-height: 1;
  color: #111111;
}



.site-main {
  padding-bottom: 60px;
}

.gridly-intro {
  text-align: center;
  padding: 60px 20px;
}

.gridly-intro h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.gridly-intro p {
  font-size: 18px;
  color: #444444;
}

.site-footer {
  border-top: 1px solid #e5e5e5;
  padding: 30px 0;
  text-align: center;
  font-size: 14px;
  color: #444444;
}

.post-grid {
  column-count: 3;
  column-gap: 34px;
}

.grid-post {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 34px;
}

.grid-post-title {
  margin-bottom: 8px;
  line-height: 1.00;
}

.grid-post-title a {
  display: block;
  font-family: "Mulish", Arial, sans-serif;
  font-size: 20px;
  line-height: inherit;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
}

.grid-post-image {
  display: block;
  margin-bottom: 12px;
}

.grid-post-image img {
  width: 100%;
}

.grid-post-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #444444;
}

.grid-post.no-image {
  padding-top: 2px;
}

.single-post-layout {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 0 40px;
}

.single-entry-header {
  margin-bottom: 28px;
  text-align: center;
}

.single-entry-title {
  font-family: "Mulish", Arial, sans-serif;
  font-size: 52px;
  line-height: 1.05;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
}

.single-featured-image {
  margin-bottom: 30px;
}

.single-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.single-entry-content {
  font-family: "Mulish", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.9;
  font-weight: 400;
  color: #222222;
}

.single-entry-content p {
  margin-bottom: 24px;
}

.single-entry-content h2,
.single-entry-content h3,
.single-entry-content h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
  line-height: 1.2;
  margin: 34px 0 16px;
}

.single-entry-content h2 {
  font-size: 36px;
}

.single-entry-content h3 {
  font-size: 30px;
}

.single-entry-content h4 {
  font-size: 24px;
}

.single-entry-content img {
  margin: 18px 0 26px;
}

.single-entry-content figure {
  margin: 24px 0 30px;
}

.single-entry-content figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #666666;
  text-align: center;
}

.single-entry-content blockquote {
  margin: 30px 0;
  padding: 8px 0 8px 22px;
  border-left: 3px solid #111111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.5;
  font-style: italic;
}

@media (max-width: 980px) {
  .post-grid {
    column-count: 2;
  }

  .main-navigation ul {
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .site-title {
    font-size: 82px;
  }
}

@media (max-width: 640px) {
  .site-title {
    font-size: 58px;
  }

  .post-grid {
    column-count: 1;
  }

  .grid-post-title a {
    font-size: 16px;
  }

  .single-entry-title {
    font-size: 38px;
  }

  .single-entry-content {
    font-size: 17px;
    line-height: 1.8;
  }

  .single-entry-content h2 {
    font-size: 30px;
  }

  .single-entry-content h3 {
    font-size: 26px;
  }

  .menu-search-field {
    width: 120px;
  }
}

.posts-pagination {
  column-span: all;
  -webkit-column-span: all;
  margin-top: 18px;
  padding-top: 12px;
  text-align: center;
}

.posts-pagination .nav-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: "Mulish", Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
}

.posts-pagination a,
.posts-pagination span {
  display: inline-block;
  padding: 6px 10px;
  color: #111111;
  border: 0;
}

.posts-pagination .current {
  font-weight: 700;
}


.grid-post-image img,
.single-entry-content img {
  border-radius: 8px;
}