/* VARIABLES */
:root {
    --base: 8px;
    --base-2: calc(2 * var(--base));
    --base-3: calc(3 * var(--base));
    --base-4: calc(4 * var(--base));
    --base-5: calc(5 * var(--base));
    --link-border-width: calc(var(--base) / 2);
    --link-border: var(--link-border-width) solid rgba(0, 0, 0, .1);
}

/* GLOBAL */
*, *:before, *:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system,system-ui,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: black;
  background-color: #17c37b;

  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3 {
  font-family: Signika, sans-serif;
  font-weight: 600;
  margin: var(--base-2) 0 var(--base) 0;
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: var(--link-border);
  transition: .1s linear;
}

a:hover, a.active {
  border-bottom-color: white;
  color: #fff;  
}

p {
  margin-bottom: .5rem;
}

blockquote {
  margin: var(--base-2) 0;
  padding: var(--base) var(--base-2);
  border-left: var(--link-border-width) solid rgba(255, 255, 255, .6);
  font-style: italic;
}

.margin-bottom-2 {
  margin-bottom: var(--base-2);
}

time {
  display: block;
  font-weight: 600;
}

main {
  flex-grow: 1;
}

main h1 {
  font-size: 2.5rem;
  margin-top: var(--base);
  margin-bottom: var(--base-2);
  line-height: 1.2;
}

main h2 {
  font-size: 1.8rem;
}

main h3 {
  font-size: 1.4rem;
}

main ul {
  margin-left: 1.2rem;
  margin-bottom: .5rem;
}

main p img {
  max-width: 100%;
}

main summary {
  cursor: pointer;
}

ul {
  list-style-type: square;
}

ul, ol {
  list-style-position: inside;
}

/* GRID */
.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--base-2);
  padding-right: var(--base-2);
  width: 900px;
  max-width: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(-1 * var(--base-2));
  margin-right: calc(-1 * var(--base-2));
}

[class^='col'] {
  padding-left: var(--base-2);
  padding-right: var(--base-2);
  flex-grow: 1;
}

.col {
  flex-grow: 1;
}

.col-4 {
  flex-basis: 100%;
}

.col-3 {
  flex-basis: 75%;
}

.col-2 {
  flex-basis: 50%;
  min-width: 350px;
}

.col-1 {
  flex-basis: 25%;
}

/* HEADER */
.header {
  margin-bottom: 30px;
  padding: var(--base-4) 0;
  color: white;
  background-color: rgba(0,0,0,.1);
}

@media screen and (min-width: 800px) {
  .header .container {
    background: url(../images/gpc-logo-main.svg);
    background-repeat: no-repeat;
    background-position: 100% 0%;
    background-size: auto 100px;
    background-origin: content-box;
    height: 100%;
  }
}

.header .header-title {
  font-family: Signika, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  border: none;
  transition: none;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.header nav {
  margin-top: 1.5em;
}

.header nav ul {
  list-style: none;
  display: flex;
  gap: 0 2rem;
  flex-wrap: wrap;
}

@media screen and (max-width: 450px) {
  .header {
    padding: var(--base-2) 0;
  }

  .header .header-title {
    font-size: 1.5rem;
  }

  .header nav {
    margin-top: .5rem;
  }

  .header nav ul {
    gap: 0 1rem;
  }
}

.header nav ul a {
  font-family: Signika, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  white-space: nowrap;
}

/* FOOTER */
footer {
  margin-top: 60px;
  padding: 60px 0;
  background-color: rgba(0, 0, 0, .1);
}

/* ARTICLES */
article {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: var(--base-5);
}

article header {
  flex-basis: 100%;
  margin-bottom: 1rem;
}

article h2 {
  margin-bottom: 0.5rem;
}

article .thumbnail {
  flex-basis: 25%;
  padding-right: var(--base-2);
}

article .thumbnail img {
  max-width: 100%;
  height: auto;
}

article .thumbnail + .excerpt {
  padding-left: var(--base-2);
}

article .excerpt {
  flex-basis: 75%;
  flex-grow: 1;
}

.lead {
  font-weight: 600;
}

.entry-content img {
  max-width: 100%;
  margin: var(--base-2) 0;
}

.entry-image {
  margin-bottom: var(--base-2);
}

.entry-image img {
  max-width: 100%;
}

.entry-gallery {
  flex-grow: 1;
}

/* FIGURES */

@media screen and (min-width: 650px) {
  figure {
    float: right;
    max-width: 50%;
    margin-left: 1rem;
  }
}

figure img {
  display: block;
  width: 100%;
}

/* NOTICE */
/* from shortcode core plugin */
/* increased specificity to overwrite plugin styles */

.sc-notice > div::before {
  display: none;
}

div.sc-notice > div:first-child::after {
  left: 20px;
  font-weight: bold;
}

div.sc-notice.tip > div:first-child::after {
  content: "Hinweis";
}

div.sc-notice.warning > div:first-child::after {
  content: "Achtung!";
}

/* TOC */
/* from Page Toc plugin */
main .toc-anchor.before {
  margin-left: -1em;
  width: 1em;
  padding: 0;
  border: none;
}

