/* Landing page design adopted from the approved TTM mockup. */
/* Society names retain their heading appearance while remaining links. */
body.path-frontpage .welcome-wrapper .ttm-society-details {
  border: 0;
}
body.path-frontpage .welcome-wrapper .ttm-society-details > summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
body.path-frontpage .welcome-wrapper h4 {
  font-size: 1.125rem;
  line-height: 1.4;
}
body.path-frontpage .welcome-wrapper h4 a:is([href="/about"], [href="/page/about-nasscfl"]) {
  color: inherit;
  text-decoration: none;
}
body.path-frontpage .welcome-wrapper h4 a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
/* TTM charcoal text, retaining the separate cream heading/link rules. */
body.path-frontpage { --bs-body-color: #404040; color: #404040; }
body.path-frontpage .block-toc-cahiers,
body.path-frontpage .block-toc-join,
body.path-frontpage .emf-footer-region,
body.path-frontpage .footer-wrapper { color: #404040; }
body.path-frontpage .block-toc-member-news .toc-block-col-content,
body.path-frontpage .block-toc-jobs .toc-block-col-content,
body.path-frontpage .block-toc-cfp .toc-block-col-content,
body.path-frontpage .block-toc-scholarships .toc-block-col-content,
body.path-frontpage .block-toc-grants .toc-block-col-content,
body.path-frontpage .block-toc-publications .toc-block-col-content,
body.path-frontpage .block-toc-readable .toc-block-col-content,
body.path-frontpage #toc-group-2 > .bs-region--second > div > div {
  color: #404040 !important;
}
body.path-frontpage #block-b5-test-subtheme-emfnavbar > ul li a { color: #404040; }

/* TTM: replace inherited white text with cream. */
body.path-frontpage .emf-toc-wrapper .toc-block-col-content {
  color: #FAF9F2;
}
body.path-frontpage .toc-block-col-content a,
body.path-frontpage .emf-toc-wrapper a,
body.path-frontpage .toc-view-block a {
  color: #FAF9F2 !important;
}
body.path-frontpage .toc-block-footer-wrapper,
body.path-frontpage .emf-view-footer,
body.path-frontpage .toc-block-col-content .view-footer,
body.path-frontpage .toc-member-news .view-content,
body.path-frontpage .emf-toc-wrapper.block-toc-on-this-date,
body.path-frontpage .homepage-slide,
body.path-frontpage .homepage-slide h2 {
  color: #FAF9F2;
}

body.path-frontpage .block-toc-join #toc-link-box,
body.path-frontpage .block-toc-cahiers #toc-link-box {
  background-color: rgba(128, 128, 128, 0.65);
}

body.path-frontpage .block-toc-join {
  background-image: url("../images/members-group.png");
  background-size: cover;
  background-position: center;
}

body.path-frontpage .emf-toc-wrapper .toc-block-col-header,
body.path-frontpage .emf-toc-wrapper .toc-block-col-header h2 { color: #FAF9F2 !important; }
/* TTM: original typography and layout with CJ heading background assignments. */
body.path-frontpage .emf-toc-wrapper.block-toc-conferences div.toc-block-col-header { background: #C9B99A !important; }
body.path-frontpage .emf-toc-wrapper.block-toc-join div.toc-block-col-header,
body.path-frontpage .emf-toc-wrapper.block-toc-jobs div.toc-block-col-header { background: #5C7389 !important; }
body.path-frontpage .emf-toc-wrapper.block-toc-member-news div.toc-block-col-header,
body.path-frontpage .emf-toc-wrapper.block-toc-grants div.toc-block-col-header { background: #9C8B72 !important; }
body.path-frontpage .emf-toc-wrapper.block-toc-cahiers div.toc-block-col-header,
body.path-frontpage .emf-toc-wrapper.block-toc-publications div.toc-block-col-header { background: #7F9A8C !important; }
body.path-frontpage .emf-toc-wrapper.block-toc-cfp div.toc-block-col-header { background: #8FA3B5 !important; }
body.path-frontpage .emf-toc-wrapper.block-toc-on-this-date div.toc-block-col-header { background: transparent !important; }
