/* !SINGLE */

/* Headings */

p.section {
  color: var(--guide-colour, --theme-palette-color-1);
  font-size: 1.1em;
  font-weight: 700;
  margin-bottom: -1.9em;
}

@media screen and (max-width: 767px) {
  p.section {
    margin-bottom: -1.5em;
  }
}

/* Lists */

body.single-guide .entry-content li {
  margin-bottom: 0.5em;
}

/* Authors */

.single_authors p {
  display: flex;
  align-items: center;
}

.single_authors img {
  margin-right: 1em;
}

/* License */

/* Hide section for external guides */
.guide-type-external .single_licence {
  display: none;
}

.single-guide .stk-inner-blocks :is(.single_text, .single_licence) a {
  color: var(--guide-colour, --theme-palette-color-1);
}

.single-guide .stk-inner-blocks :is(.single_text, .single_licence) a:hover {
  color: var(--theme-palette-color-4);
}

/* Downloads */

/* Hide downloads for themes guide */
body.postid-1942 .single_downloads {
  display: none;
}

body.single-guide .single_downloads a {
  background: var(--guide-colour, --theme-palette-color-1);
  border-radius: 6px;
  color: var(--theme-palette-color-8) !important;
  display: block;
  font-size: 1.1em;
  font-weight: 700;
  margin: 0.6em 0 0 0;
  max-width: 400px;
  padding: 10px 30px 10px 15px;
  position: relative;
  text-decoration: none;
  transition: 0.2s;
  width: 100%;
}

body.single-guide .single_downloads a:hover {
  background: var(--theme-palette-color-4);
  color: var(--theme-palette-color-8);
  transform: translateY(-4px);
}

body.single-guide .single_downloads a:after {
  color: var(--theme-palette-color-8);
  content: "";
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  right: 0.7em;
  width: 20px !important;
  height: 20px !important;
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23FFFFFF' d='M374.6 310.6l-160 160C208.4 476.9 200.2 480 192 480s-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L160 370.8V64c0-17.69 14.33-31.1 31.1-31.1S224 46.31 224 64v306.8l105.4-105.4c12.5-12.5 32.75-12.5 45.25 0S387.1 298.1 374.6 310.6z'/%3E%3C/svg%3E");
}
