body.post-template-default {
  background-image: url('../images/bg_pages.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  background-attachment: fixed;
  text-align: center;
  display: grid;
  grid-template-rows: 10vh auto 14vh;
  height: 100vh;
}

body.post-template-default > main {
  margin-top: 4vh;
  padding-top: 4vh;
  overflow: auto;
}

body.post-template-default main.scrollborder-top {
  box-shadow: 0 -2px 2px 0 rgba(0,0,0,0.1);
}

body.post-template-default main.scrollborder-bottom {
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.1);
}

body.post-template-default main.scrollborder-top.scrollborder-bottom {
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.1), 0 -2px 2px 0 rgba(0,0,0,0.1);
}

body.post-template-default main h1:first-child {
  font-size: 4vh;
  font-weight: 700;
  color: var(--zindel-gold);
  inline-size: 12ch;
  text-align: left;
  margin: 0 10% 10vh;
}

body.post-template-default > main > h1,
body.post-template-default > main > h2,
body.post-template-default > main > h3 {
  color: var(--zindel-gold);
  margin: 0 10% 10vh;
  text-align: left;
}

body.post-template-default > main > h1.no-margin,
body.post-template-default > main > h2.no-margin,
body.post-template-default > main > h3.no-margin {
  margin-bottom: 0;
}

body.post-template-default > main > p {
  margin: 0 10%;
  text-align: left;
}

body.post-template-default > main > figure img {
  max-width: 80%;
  height: auto;
  margin: auto;
}

body.post-template-default .wp-block-columns {
  display: flex;
  margin: 1vh 10% 0;
  font-size: 1.4vh;
  text-align: left;
}

body.post-template-default .wp-block-columns .wp-block-content.text {
  width: 50%;
}

body.post-template-default .wp-block-columns h2 {
  color: var(--zindel-gold);
  margin-top: 0;
  margin-bottom: .25em;
}

body.post-template-default p {
  color: var(--zindel-blue);
  font-weight: 700;
  font-size: 2.3rem;
  margin-top: 0;
}

body.post-template-default figcaption {
  color: var(--zindel-blue);
  font-weight: 700;
  font-size: 2.3rem;
  margin-top: 0.75em;
}

body.post-template-default figcaption {
  font-size: 1.5rem;
}

body.post-template-default .wp-block-columns .wp-block-content.img {
  width: 40%;
  text-align: center;
}

body.post-template-default .wp-block-columns .wp-block-content.img img {
  max-width: 16vh;
  max-height: 10vh;
  cursor: pointer;
}

body.post-template-default .wp-block-image.size-full {
  margin-inline: 0;
  margin-top: 0.3em;
}

.flex-33 {
  flex-basis: 33%;
}

.flex-33 .wp-block-column {
  width: 33%;
}

.wp-block-column {
  padding: 0 1rem;
}

.wp-block-column:first-child {
  padding-left: 0;
}

.wp-block-column:nth-child(2) {
  padding-right: 0;
}

.flex-33 img {
  max-width: 100%;
  height: auto;
}

.wp-block-quote {
margin-inline: 1rem;
margin-top: 0.5em;
text-align: center;
background-color: var(--zindel-gold-opac-15);
padding: 1rem;
border-radius: 1rem;
}

.wp-block-quote p:first-child {
  margin-top: 0;
}

/* Overlay */
#overlay {
  display: none;
  position: fixed;
  inset: 0;
  flex-direction: column;
  justify-content: center;
  background-color: var(--zindel-blue-opac);
  background-image: url('../images/zindel_white_opac20.svg');
  background-repeat: no-repeat;
  background-position: 15vh -3vh;
  background-size: 50vh;
}

#overlay.active {
  display: flex;
}

#overlay .content {
  max-width: 90%;
  margin: 0 auto;
}

#overlay .claim {
  margin: 2vh 10% 8vh 0;
  font-family: 'Brandon Grotesque', Economica;
  text-align: right;
  text-transform: uppercase;
  color: var(--zindel-gold);
  font-size: 1.2vh;
  font-weight: 700;
}

#overlay .claim img {
  height: 3vh;
  margin: 1vh 0 -1.2vh 1vh;
}

#overlay::before,
#overlay::after {
  content: '';
  position: absolute;
  top: 1vh;
  right: 2vh;
  width: .2vh;
  height: 2vh;
  background-color: white;
  transform: rotate(45deg);
  cursor: pointer;
}
#overlay::after {
  transform: rotate(-45deg);
}
