/* Replacements for theme icon fonts that were not archived */
.icon-salient-search:before,
.icon-salient-search {
  font-family: inherit !important;
}
.icon-salient-search:before {
  content: "" !important;
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E") center / contain no-repeat;
}
.steadysets-icon-share:before {
  font-family: FontAwesome !important;
  content: "\f1e0" !important;
}
.icon-salient-x-twitter:before {
  font-family: FontAwesome !important;
  content: "\f099" !important;
}

/* Contact form */
.contact-form-wrap .cf-hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.contact-form-wrap .gfield { margin-bottom: 18px; }
.contact-form-wrap .gfield_label { display: block; font-weight: 600; margin-bottom: 6px; }
.contact-form-wrap .gfield_required_text { font-weight: 400; font-size: .85em; opacity: .7; margin-left: 4px; }
.contact-form-wrap input[type=text],
.contact-form-wrap input[type=email],
.contact-form-wrap textarea { width: 100%; box-sizing: border-box; }
.contact-form-notice { padding: 12px 16px; border-radius: 6px; margin-bottom: 18px; font-weight: 600; }
.contact-form-notice.ok { background: #e6f6ec; color: #1d6b3a; }
.contact-form-notice.err { background: #fdecec; color: #9b1c1c; }

/* Search results / 404 */
.static-listing { padding: 60px 0 80px; }
.static-listing h1 { margin-bottom: 10px; }
.static-listing .search-again { margin: 20px 0 40px; display: flex; gap: 10px; max-width: 640px; }
.static-listing .search-again input[type=text] { flex: 1; }
.static-listing ul.results { list-style: none; margin: 0; padding: 0; }
.static-listing ul.results li { padding: 22px 0; border-bottom: 1px solid rgba(0,0,0,.08); list-style: none; }
.static-listing ul.results li h3 { margin-bottom: 6px; }
.static-listing ul.results li h3 a { color: inherit; }
.static-listing ul.results li p { margin: 0; opacity: .8; }

/* ---- Single post header (the theme's single-post stylesheet was not archived) ---- */
.featured-media-under-header { text-align: center; padding-bottom: 50px; margin-bottom: 40px; border-radius: 20px; }
.featured-media-under-header__content { max-width: 960px; margin: 0 auto; padding: 0 30px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.featured-media-under-header h1.entry-title { margin: 0; }
.featured-media-under-header__cat-wrap .meta-category { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.featured-media-under-header__cat-wrap .meta-category a { display: inline-block; padding: 6px 14px; border-radius: 50px; background: rgba(255,255,255,.75); color: #1a1a1a; font-size: 13px; line-height: 1.4; transition: background .2s, color .2s; }
.featured-media-under-header__cat-wrap .meta-category a:hover { background: var(--nectar-accent-color, #1c5ed1); color: #fff; }
@media only screen and (min-width: 1000px) {
  body.single .featured-media-under-header { padding-top: 160px !important; }
}

/* ---- Toggles (collapsible "Table of Contents" etc.) ---- */
.toggles .toggle { margin-bottom: 10px; }
.toggles .toggle > div { display: none; padding: 10px 0 0; }
.toggles .toggle.open > div { display: block; }
.toggles .toggle-title { margin: 0; font-size: 18px; line-height: 1.4; }
.toggles .toggle-title a { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.toggles .toggle-title a i { transition: transform .25s; }
.toggles .toggle.open .toggle-title a i { transform: rotate(45deg); }

/* ---- Room for the floating header on archive / generated pages and mobile posts ---- */
body.archive .container-wrap > .main-content { padding-top: 50px; }
.static-listing { padding-top: 150px !important; }
body.archive .blog-archive-header { padding-top: 140px !important; }
@media only screen and (max-width: 999px) {
  body.single .featured-media-under-header { padding-top: 110px !important; }
  body.archive .container-wrap > .main-content { padding-top: 20px; }
  .static-listing { padding-top: 110px !important; }
  body.archive .blog-archive-header { padding-top: 100px !important; }
}

/* Tips and Guides hub: links to its three sections */
.tips-sections { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.tips-sections .tips-section-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 200px; background: #fff; color: #000; border: 1px solid rgba(0,0,0,.12); font-size: 15px; line-height: 1.4; transition: background .2s, color .2s; }
.page-header-no-bg .section-title .tips-sections .tips-section-link span { font-size: 12px !important; line-height: 1 !important; opacity: .6; }
.tips-sections .tips-section-link:hover { background: #000; color: #fff; }

/* Archive title post count: small superscript next to the title */
.page-header-no-bg .section-title h1 .nectar-archive-tax-count { font-size: .4em; vertical-align: super; margin-left: 8px; opacity: .55; }

/* Post grid card heights. WordPress generated these per page; only the 50vh rule survived in the archive,
   so grids using 30vh / 40vh collapsed to 0px tall (empty gaps on /small-business-ideas/ etc.). */
.nectar-post-grid[data-grid-item-height="30vh"] .nectar-post-grid-item { min-height: 30vh; }
.nectar-post-grid[data-grid-item-height="40vh"] .nectar-post-grid-item { min-height: 40vh; }
.nectar-post-grid-wrap[data-style="content_under_image"] [data-grid-item-height="30vh"] .nectar-post-grid-item-bg { height: 30vh; }
.nectar-post-grid-wrap[data-style="content_under_image"] [data-grid-item-height="40vh"] .nectar-post-grid-item-bg { height: 40vh; }
.nectar-post-grid-wrap[data-style="content_under_image"] [data-grid-item-height] .nectar-post-grid-item { min-height: 0; }

/* Light-blue sections like the home page (#d3e7f3), added by tools/page_bands.py.
   bip-hero: full-width band behind the first row (H1 + intro); it also fills the 40px above it.
   bip-box: rounded box around the FAQ, like "How It Works" on the home page. */
.wpb_row.bip-hero { background: #d3e7f3; box-shadow: 0 0 0 100vmax #d3e7f3; clip-path: inset(-40px -100vmax 0 -100vmax);
  padding-bottom: 50px !important; margin-bottom: 50px !important; }
.wpb_row.bip-box { background: #d3e7f3; border-radius: 15px; padding: 50px 40px 40px !important; margin-top: 40px; }
@media (max-width: 690px) { .wpb_row.bip-box { padding: 35px 20px 25px !important; } }

/* Space above the page title on every page except the home page */
body:not(.home) h1 { margin-top: 4rem !important; }
