/* Project-specific adjustments for Hugo markup on top of legacy TextGrid CSS */

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

html,
body {
  margin: 0;
  padding: 0;
}

.tg.site,
.has-control-menu .tg.site {
  margin-top: 0 !important;
}

.tg.site {
  background: whitesmoke !important;
}

.tg.main {
  background: #fff;
}

.journal-content-article h2,
.is-home .journal-content-article > h3 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: SancoaleSoftenedRegular, Helvetica, Arial, sans-serif;
  font-weight: normal;
  font-size: 31px;
  line-height: 39px;
  margin: 0 0 26px;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.tg.main .journal-content-article {
  max-width: none;
}

.tg.main .journal-content-article img {
  height: auto;
  max-width: 100%;
}

.tg.content-list {
  list-style: disc;
  margin-left: 1.5rem;
}

.tg.standout {
  margin-bottom: 26px;
}

.tg.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 26px 0;
}

.tg.card {
  border: 1px solid #ccc;
  border-radius: 2px;
  box-shadow: 0 0 26px rgba(0, 0, 0, 0.06) inset;
  padding: 26px;
  width: 100%;
}

.tg.card.-small {
  flex: 1 1 calc(33.333% - 18px);
}

.tg.card.-large {
  flex: 1 1 calc(50% - 13px);
}

.tg.card_title {
  font-size: 31px;
  line-height: 39px;
  font-family: SancoaleSoftenedRegular, Helvetica, Arial, sans-serif;
  font-weight: normal;
  margin-top: 0;
  padding-top: 0;
}

.tg.card_actions {
  margin-top: 26px;
}

.tg.custom-button {
  background: #1c75bc;
  border: 0;
  border-radius: 2px;
  color: #f4f8fc;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  line-height: 26px;
  min-width: 52px;
  padding: 13px;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.tg.custom-button:hover,
.tg.custom-button:active,
.tg.custom-button:focus {
  background: #114975;
  color: #f3f6f8;
}

.tg.button-row {
  margin: 26px 0;
}

.tg.button-row.-center {
  text-align: center;
}

.tg.button-row.-right {
  text-align: right;
}

.tg.lead-text {
  border-left: 3px solid #1c75bc;
  margin: 26px 0;
  padding-left: 26px;
}

.is-home .journal-content-article > h2:first-child {
  font-size: 46px;
  line-height: 52px;
  font-family: SancoaleSoftenedRegular, Helvetica, Arial, sans-serif;
  font-weight: normal;
  margin: 0;
  padding: 0 26px 26px;
  text-align: center;
}

.is-home .journal-content-article > h3 {
  border-top: 1px solid #ccc;
  margin-top: 26px;
  padding-top: 26px;
}

.is-home .journal-content-article > .tg.standout:first-of-type {
  margin-bottom: 0;
}

.is-home .tg.hero_subheading img {
  vertical-align: middle;
}

.tg.breadcrumbs {
  background: whitesmoke;
  border: 0;
  box-shadow: none;
  color: #777;
  font-family: OpenSans, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 26px;
  margin: 0 0 26px;
  padding: 7px 26px 6px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.tg.breadcrumbs li+li:before {
  color: #777;
  content: "\f105";
  font-family: FontAwesome;
  font-size: 12px;
  margin-right: 0.5em;
}

.tg.breadcrumbs li:last-child {
  color: #555;
}

@media (max-width: 700px) {
  .tg.breadcrumbs {
    margin-left: 0;
    margin-right: 0;
    padding-left: 13px;
    padding-right: 13px;
  }
}

@media (min-width: 1005px) {
  .tg.nav_item.-has-dropdown:hover > .tg.dropdown_menu.-nav,
  .tg.nav_item.-has-dropdown:focus-within > .tg.dropdown_menu.-nav,
  .tg.dropdown:hover > .tg.dropdown_menu.-centered,
  .tg.dropdown:focus-within > .tg.dropdown_menu.-centered {
    opacity: 1;
    top: 100%;
    z-index: 1000;
  }
}

@media (max-width: 1004px) {
  .tg.card.-small,
  .tg.card.-large {
    flex-basis: 100%;
  }

  .is-home .tg.hero {
    padding-left: 26px;
    padding-right: 26px;
  }
}

@media (max-width: 700px) {
  .is-home .journal-content-article > h2:first-child {
    font-size: 31px;
    line-height: 39px;
    padding-left: 0;
    padding-right: 0;
  }
}
