/*
 * ATJM 3.0 overrides, loaded after layout.css.
 * Kept separate because layout.css was hand-edited by olyweb and no longer matches sass/.
 * Note: olyweb also moved the facets from Text widgets to Block widgets, so the theme's
 * "#leftBar .widget .textwidget ..." facet rules no longer match anything.
 */

/* Phase 1: keep every document subject on one line on desktop by widening the gray
   left column (25% -> 30%, or a third plus 14px text on 992-1199px screens). Phones
   and tablets stack/split the columns and were not affected. */
@media (min-width: 992px) {
  .interior-content.hasLeftCol #leftBar {
    width: 33.3333%;
  }
  .interior-content.hasLeftCol #right {
    width: 66.6667%;
  }
  #leftBar .facetwp-facet-document_subject .facetwp-checkbox {
    font-size: 14px;
  }
}

@media (min-width: 1200px) {
  .interior-content.hasLeftCol #leftBar {
    width: 30%;
  }
  .interior-content.hasLeftCol #right {
    width: 70%;
  }
  #leftBar .facetwp-facet-document_subject .facetwp-checkbox {
    font-size: inherit;
  }
}

/* Phase 1: working share links (replaces the dead AddThis toolbox; same look). */
div.shareWrapper .shareLinks {
  font-size: 36px;
  display: inline-block;
  float: left;
  padding: 0 15px;
  margin: -8px;
}
div.shareWrapper .shareLinks a {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}
div.shareWrapper .shareLinks a:hover {
  opacity: .8;
}
div.shareWrapper .shareLinks .share-facebook { color: #4a6bab; }
div.shareWrapper .shareLinks .share-linkedin { color: #008dc1; }
div.shareWrapper .shareLinks .share-x svg {
  display: block;
  width: .82em;
  height: .82em;
  fill: #000;
}

/* Phase 1: show why a search result matched (highlighted words + matching fields). */
.documentExcerpt mark {
  background: #fff1a8;
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}
.documentExcerpt .matchReason {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dotted #ddd;
  font-size: 13px;
  line-height: 1.5;
  color: #585353;
}
.documentExcerpt .matchReason .matchField {
  font-weight: 600;
}
