/* V90 card system: white surfaces, one-pixel borders, no floating shadows. */
#main#main :is(
  .service-tile,
  .post-card,
  .pathway-item,
  .forum-callout,
  .v59-profile-feature .v59-inner,
  .about-home .about-split,
  .off-home-teaser,
  .off-card,
  .off-region,
  .off-method,
  .off-final,
  .v38-photo-card,
  .v38-resource,
  .v32-forum-item,
  .v32-forum-panel,
  .v32-forum-side-card,
  .v32-topics-panel,
  .v32-article-card,
  .aside-card,
  .v35-market-service-card,
  .market-card,
  .v37-gallery-card,
  .quote-card,
  .info-card,
  .milestone-card,
  .link-card,
  .form-panel,
  .auth-card,
  .tag-v33-item,
  .tag-v33-card
) {
  background: #fff !important;
  color: #263241 !important;
  border: 1px solid #e8ebef !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}
#main#main :is(
  .service-tile,
  .post-card,
  .pathway-item,
  .forum-callout,
  .v59-profile-feature .v59-inner,
  .about-home .about-split,
  .off-home-teaser,
  .off-card,
  .off-region,
  .off-method,
  .off-final,
  .v38-photo-card,
  .v38-resource,
  .v32-forum-item,
  .v32-forum-panel,
  .v32-forum-side-card,
  .v32-topics-panel,
  .v32-article-card,
  .aside-card,
  .v35-market-service-card,
  .market-card,
  .v37-gallery-card,
  .quote-card,
  .info-card,
  .milestone-card,
  .link-card,
  .form-panel,
  .auth-card,
  .tag-v33-item,
  .tag-v33-card
):hover {
  box-shadow: none !important;
  transform: none !important;
}
#main#main :is(
  .service-tile,
  .post-card,
  .pathway-item,
  .forum-callout,
  .off-card,
  .off-region,
  .off-method,
  .off-final,
  .v38-photo-card,
  .v38-resource,
  .v32-forum-item,
  .v32-forum-panel,
  .v32-forum-side-card,
  .v32-topics-panel,
  .v32-article-card,
  .aside-card,
  .v35-market-service-card,
  .market-card,
  .v37-gallery-card,
  .quote-card,
  .info-card,
  .milestone-card,
  .link-card,
  .form-panel,
  .auth-card,
  .tag-v33-item,
  .tag-v33-card
) :is(h1,h2,h3,h4,p,span,small,strong,li):not(.btn):not(.icon):not(.service-tile-icon) {
  color: #263241 !important;
}
#main#main .forum-callout-icon { color: #b60000 !important; }
#main#main .forum-callout .btn { background: #b60000 !important; color: #fff !important; border-color: #b60000 !important; }
#main > section.home-contact-bleed > .cta-strip {
  border: 1px solid #e8ebef !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}
#main > section.home-contact-bleed > .cta-strip:hover {
  box-shadow: none !important;
  transform: none !important;
}


/* Homepage: remove the two requested frames. */
#main#main .forum-callout,
#main#main .v59-profile-feature .v59-inner {
  border: 0 !important;
}

/* Forum content shares the same left and right guide as the site container. */
.v64-forum-rules {
  width: calc(100% - 100px) !important;
  max-width: 1140px !important;
  margin-inline: auto !important;
  justify-content: flex-start !important;
}
.v90-forum-links-only { justify-content: flex-start !important; }
@media (max-width: 1160px) {
  .v64-forum-rules { width: calc(100% - 72px) !important; max-width: none !important; }
}
@media (max-width: 950px) {
  .v64-forum-rules { width: calc(100% - 60px) !important; }
}
@media (max-width: 700px) {
  .v64-forum-rules { width: calc(100% - 40px) !important; }
}
@media (max-width: 460px) {
  .v64-forum-rules { width: calc(100% - 34px) !important; }
}

/* Forum page: remove outlines from the visible cards and dividers. */
#main#main .v32-forum-hero,
#main#main .v64-forum-rules,
#main#main .v32-forum-overview,
#main#main .v32-forum-panel,
#main#main .v32-forum-item,
#main#main .v32-forum-side-card,
#main#main .v32-forum-disclaimer,
#main#main .v35-forum-ad,
#main#main .v68-feed,
#main#main .v68-feed-items {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
#main#main .v32-forum-overview > div,
#main#main .v32-forum-panel-header,
#main#main .v32-forum-icon,
#main#main .v32-forum-ring,
#main#main .v32-forum-item {
  border: 0 !important;
}

/* Raise specificity above the shared white-card theme on the forum page. */
#main#main .v32-forum-hero.v32-forum-hero,
#main#main .v64-forum-rules.v64-forum-rules,
#main#main .v32-forum-overview.v32-forum-overview,
#main#main .v32-forum-panel.v32-forum-panel.v32-forum-panel,
#main#main .v32-forum-item.v32-forum-item.v32-forum-item,
#main#main .v32-forum-side-card.v32-forum-side-card.v32-forum-side-card,
#main#main .v32-forum-disclaimer.v32-forum-disclaimer.v32-forum-disclaimer,
#main#main .v35-forum-ad.v35-forum-ad,
#main#main .v35-ad-space.v35-ad-space,
#main#main .v68-feed.v68-feed {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
#main#main .v32-forum-panel-header.v32-forum-panel-header,
#main#main .v32-forum-icon.v32-forum-icon,
#main#main .v32-forum-item.v32-forum-item.v32-forum-item,
#main#main .v32-forum-ring.v32-forum-ring {
  border: 0 !important;
}
