/* Custom overrides (not part of the vendor theme build) */

.uk-container-content {
  max-width: 1024px;
}

.page-content {
  padding-top: 4rem;
}

/* Page content: links */
.page-content a {
  color: #1a1a1a;
  font-weight: 600;
  text-decoration: none;
}

.page-content a:hover {
  color: #000;
  text-decoration: underline;
}

/* Page content: tables */
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95em;
}

.page-content table th,
.page-content table td {
  padding: 0.6rem 1rem;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}

.page-content table th {
  background: #f5f5f5;
  font-weight: 600;
  color: #1a1a1a;
}

.page-content table tr:nth-child(even) td {
  background: #fafafa;
}

.template-contact-form-wrapper {
  max-width: 64rem;
}

.template-profile-content {
  text-align: left;
}

.template-profile-content::after {
  content: '';
  display: block;
  clear: both;
}

.template-profile-content > figure:first-of-type,
.template-profile-content > p:first-of-type img,
.template-profile-content > img:first-of-type {
  float: right;
  width: min(45%, 420px);
  margin: 0 0 1.5rem 2rem;
}

.template-profile-content > figure:first-of-type img {
  display: block;
  width: 100%;
  height: auto;
}

.template-profile-content > h1:first-of-type,
.template-profile-content > h2:first-of-type,
.template-profile-content > h3:first-of-type,
.template-profile-content > p:first-of-type {
  margin-top: 0;
}

@media (max-width: 959px) {
  .template-profile-content > figure:first-of-type,
  .template-profile-content > p:first-of-type img,
  .template-profile-content > img:first-of-type {
    float: none;
    width: 100%;
    max-width: 520px;
    margin: 0 auto 1.25rem;
    display: block;
  }
}
