/* Section/Article */

section,
article {
  margin-bottom: 3em;
}

article p {
  line-height: 1.3em !important;
  margin: .5em 0 !important;
}

section > :last-child,
article > :last-child,
section:last-child {
  margin-bottom: 0;
}

header h2,
header h3 {
  margin: 0 0 0.25em 0;
}

header p {
  margin: 0;
}

footer {
  margin: 2.5em 0 0 0;
}

.bold{
  font-weight: 600;
}

@media screen and (max-width: 980px) {
  section,
  article {
    clear: both;
    margin-bottom: 3em !important;
  }

  section.last,
  article.last {
    margin-bottom: 0 !important;
  }
}

@media screen and (max-width: 736px) {
  section,
  article {
    clear: both;
    margin-bottom: 3em !important;
  }

  section.last,
  article.last {
    margin-bottom: 0 !important;
  }
  
}

/* UAFG */

#content {
  border-bottom: 1px solid #efefef;
  margin-bottom: 1em;
}

#content ul {
  list-style: circle;
}

#content article a,
.wp-block-file a {
  font-size: 1.1em;
  font-weight: 500;
  transition: all 0.2s;
  -moz-transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -ms-transition: all 0.2s;
}

#content article a:hover,
.wp-block-file a:hover {
  color: rgba(70, 137, 102, 0.6);
}

.reference {
  color: #ffa929;
  margin-right: 0.3em;
  font-size: 1.8em;
}

.links {
  font-size: 1.3em;
}

#content article ul, #content article ol {
  margin: .5em 1.3em;
  line-height: 1.3em;
}

.wp-block-image img{
  background-color: #fff;
  border-radius: 18px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.wp-block-file__button {
  background-color: #fff !important;
  color: #468966 !important;
  border-radius: 0 !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 1.5em;
}

.wp-block-file__button:hover {
  color: rgba(70, 137, 102, 0.7) !important;
}

.wp-block-table.is-style-stripes {
  border-bottom: 0 !important;
}

.wp-block-preformatted {
  max-width: 100%;
}

.wp-block-group p {
  width: 80%;
}

.wp-block-embed__wrapper iframe {
  width: 500px;
  height: 280px;
}

@media screen and (max-width: 980px) {
  #content article .rl-gallery-item a {
    font-size: 0.85em;
  }

  .rl-gallery .rl-gallery-item-title,
  .rl-gallery .rl-gallery-item-caption {
    font-size: 1em !important;
  }

}