* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:focus {
  border: 2px solid var(--main-head-color);
}

header#logo {
  height: 28px;
  background: #000;
  padding: .3% 0 .3% 1%;
}

header#logo a {
  border: 0;
  box-shadow: none;
  text-decoration: none;
}

header#logo a img {
  width: 140px;
  padding: .2% 0;
}

@media only screen and (max-width: 740px) {
  header#logo a img {
    padding: 1.5% 0 0 0;
  }
}


/* SHARE SECTION */
.sd-sharing-enabled {
  display: block;
  max-width: 900px;
  margin: 0 auto;
}

/* COMMENTS SECTION */
section#comments {
  max-width: 600px;
  margin: 0 auto;
  margin-top: 5%;
  margin-bottom: 3%;
  background-color: #FFF;
  padding: 2% 5%;
  display: block;
  color: #15141A;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  box-shadow:
  0 2.8px 2.2px rgba(0, 0, 0, 0.034),
  0 6.7px 5.3px rgba(0, 0, 0, 0.048),
  0 12.5px 10px rgba(0, 0, 0, 0.06),
  0 22.3px 17.9px rgba(0, 0, 0, 0.072),
  0 41.8px 33.4px rgba(0, 0, 0, 0.086),
  0 100px 80px rgba(0, 0, 0, 0.12)
;
}

@media only screen and (max-width: 740px) {
  section#comments {
    margin-left: 0;
  }
}

section#comments h1,
section#comments h2,
section#comments h3 {
  background: none;
  color:#15141A;
}

section#comments li.comment {
  border-bottom: 1px solid;
  padding-bottom: 1%;
  margin-top: 10%;
}

section#comments li.byuser footer {
  background-color: #fff0f0;
}

section#comments .comment-content p {
  font-size: 1.1rem;
  font-size: clamp(1rem, 5vw, 1.1rem);
  line-height: 1.4;
  letter-spacing: -.01em;
  margin-bottom: 1.1rem;
  margin-block-start: 1em;
  margin-block-end: 1em;
}

section#comments #respond p.form-submit {
  text-align: right;
  margin-top: 10%;
}

section#comments footer.comment-meta {
  text-align: left;
  display: block;
}

section#comments #respond input#submit {
  background: var(--main-second-color);
  font-weight: bold;
  padding: 1% 2%;
  border: 1px solid var(--main-text-color);
  box-shadow: 1px 2px 1px #ccc;
}

section#comments #respond input#submit:active {
  box-shadow: none;
}

section#comments #respond input#submit:hover {
  background: var(--main-bg-color);
}

section#comments .regels {  
  background: #FFF;
  padding: 3%;
}

section#comments .regels a {
  color: #05398f;
  text-decoration-color: #05398f;
}

#respond p.comment-subscription-form label {
  color: var(--main-text-color);
}

section#comments .regels ol li {
  margin-bottom: 5px;
}

section#comments .comment-metadata a {
  color: #05398f;
  text-decoration-color: #05398f;
}

section#comments .comment-metadata a:hover {
  text-decoration-thickness: 3px;
}

/* RESPONSIVE */
@media only screen and (min-width: 780px) and (max-width: 920px) {

  /* tablet portrait */
  section#comments {
    max-width: 600px;
    margin: 0 auto;
  }
}

/* FOOTER SECTION */

footer#longread {
  display: grid;
  background: #FFF;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  border-top: 1px dashed #444;
  grid-gap: 20px;
  justify-items: center;
  padding: 1% 0 3% 0;
  color: #222;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

footer#longread h1,
footer#longread h2,
footer#longread h3,
footer#longread h4 {
  color: #222;
}

footer#longread a {
  color: midnightblue;
  text-decoration-thickness: 1px;
}

footer#longread a:hover {
  text-decoration-color: hotpink;
  text-decoration-thickness: 2px;
}

footer#longread h3 {
  grid-column: 1/5;
  font-size: clamp(1.7rem, 5vw, 2rem);
  line-height: 1.5;
} 

footer#longread h4 {
  font-size: clamp(1rem, 5vw, 1.3rem);
  margin-bottom: 5px;
}


footer#longread .magCover {
  grid-column: 2/3;
  max-width: 300px;
}

footer#longread .magCover img:hover {
  filter: contrast(150%);
  border: 3px solid hotpink;
}

footer#longread .magArticles {
  grid-column: 3/4;
  max-width: 375px;
}

footer#longread .magArticles ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

footer#longread .magArticles ul li {
  margin-bottom: 10px;
}

@media only screen and (max-width: 740px) {

footer#longread {
  display: flex;
  flex-direction: column;
 }
}