/* Public catalogs only: protect the dark canvas from theme/background overrides. */
body.venus-site.venus-catalog-page,
body.venus-site.venus-catalog-page #page-container,
body.venus-site.venus-catalog-page #et-main-area,
body.venus-site.venus-catalog-page #main-content,
body.venus-site.venus-catalog-page .venus-managed-page-template,
body.venus-site.venus-catalog-page .venus-managed-page-content,
body.venus-site.venus-catalog-page .venus-managed-page-content > .entry-content,
body.venus-site.venus-catalog-page #main-content > .container,
body.venus-site.venus-catalog-page #main-content .et_pb_section,
body.venus-site.venus-catalog-page .venus-explorer {
 background-color: #080808 !important;
 color: #f7f7f7;
}

body.venus-catalog-page .venus-explorer-heading h1,
body.venus-catalog-page .venus-stories-heading h2 {
 color: #fff !important;
}
body.venus-catalog-page .venus-explorer-heading p { color: #c4c4c4; }
body.venus-catalog-page .venus-ad-title { min-width: 0; align-items: flex-start; }
body.venus-catalog-page .venus-ad-title h3,
body.venus-catalog-page .venus-ad-title h3 a {
 white-space: normal !important;
 overflow: visible !important;
 text-overflow: clip !important;
 overflow-wrap: anywhere;
 height: auto !important;
 max-height: none !important;
}
body.venus-catalog-page a:focus-visible,
body.venus-catalog-page button:focus-visible,
body.venus-catalog-page summary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Divi adds a second 54px inset around the shortcode. Remove that outer inset. */
body.venus-catalog-page .venus-managed-page-content > .et-l--post > .et_builder_inner_content > .et_pb_section {
 padding-top: 0 !important;
 padding-bottom: 0 !important;
}
/* Keep content readable while removing the former 72px gap between header rows. */
body.venus-catalog-page .venus-explorer { padding-top: 20px !important; padding-bottom: 28px !important; }
body.venus-catalog-page .venus-explorer-heading {
 margin-top: 0 !important;
 margin-bottom: 12px !important;
 row-gap: 8px !important;
 column-gap: 24px !important;
 align-items: start !important;
 min-height: 0 !important;
}
body.venus-catalog-page .venus-explorer-heading .venus-explorer-title { margin: 0 !important; }
body.venus-catalog-page .venus-explorer-heading h1 { margin: 0 !important; padding-bottom: 0 !important; line-height: 1.18 !important; }
body.venus-catalog-page .venus-explorer-heading .venus-eyebrow,
body.venus-catalog-page .venus-stories-heading .venus-eyebrow { display: block; margin: 0 0 4px !important; padding: 0 !important; line-height: 1.3 !important; }
body.venus-catalog-page .venus-seo-intro { margin: 0 !important; padding: 0 !important; }
body.venus-catalog-page .venus-seo-intro p:last-child,
body.venus-catalog-page .venus-explorer-heading .venus-result-count { margin: 0 !important; padding: 0 !important; }
body.venus-catalog-page .venus-filter-panel { margin-top: 0 !important; margin-bottom: 16px !important; }
body.venus-catalog-page .venus-filter-panel > summary { padding-top: 10px !important; padding-bottom: 10px !important; min-height: 44px; }
body.venus-catalog-page .venus-explorer > .venus-stories { margin-top: 0 !important; margin-bottom: 16px !important; }
body.venus-catalog-page .venus-stories-heading { margin-top: 0 !important; margin-bottom: 8px !important; gap: 8px !important; }
body.venus-catalog-page .venus-stories-heading h2 { margin: 0 !important; padding: 0 !important; font-size: 22px !important; line-height: 1.2 !important; }
body.venus-catalog-page .venus-stories-rail { padding-top: 2px !important; padding-bottom: 4px !important; gap: 10px !important; }
body.venus-catalog-page .venus-story-bubble { flex: 0 0 86px; width: 86px; gap: 5px !important; }
body.venus-catalog-page .venus-story-bubble-avatar { width: 72px !important; height: 72px !important; }
body.venus-catalog-page .venus-profile-results .venus-listing > .venus-plan-group-title:first-child { margin-top: 0 !important; margin-bottom: 0 !important; padding-bottom: 4px !important; }
body.venus-catalog-page .venus-explorer > .venus-seo-content { margin-top: 28px !important; margin-bottom: 20px !important; }
@media (max-width: 680px) {
 body.venus-catalog-page .venus-explorer { padding-top: 12px !important; padding-bottom: 20px !important; }
 body.venus-catalog-page .venus-explorer-heading { margin-bottom: 10px !important; row-gap: 6px !important; }
 body.venus-catalog-page .venus-filter-panel,
 body.venus-catalog-page .venus-explorer > .venus-stories { margin-bottom: 12px !important; }
 body.venus-catalog-page .venus-filter-panel > summary { min-height: 48px; }
 body.venus-catalog-page .venus-stories-heading { margin-bottom: 6px !important; }
 body.venus-catalog-page .venus-stories-heading h2 { font-size: 19px !important; }
 body.venus-catalog-page .venus-story-bubble { flex-basis: 74px; width: 74px; }
 body.venus-catalog-page .venus-story-bubble-avatar { width: 64px !important; height: 64px !important; }
}

/* One container owns the gutters. Override legacy viewport widths and negative margins. */
body.venus-catalog-page .venus-explorer {
 box-sizing: border-box;
 width: 100% !important;
 max-width: 100% !important;
 margin-inline: auto !important;
 padding: 32px clamp(16px, 2.5vw, 48px) 28px !important;
}
body.venus-catalog-page .venus-explorer > .venus-explorer-heading,
body.venus-catalog-page .venus-explorer > .venus-filter-panel,
body.venus-catalog-page .venus-explorer > .venus-stories,
body.venus-catalog-page .venus-explorer > .venus-profile-results,
body.venus-catalog-page .venus-explorer > .venus-seo-content,
body.venus-catalog-page .venus-explorer .venus-profile-results > .venus-listing {
 box-sizing: border-box;
 width: 100% !important;
 max-width: 100% !important;
 min-width: 0;
 margin-left: 0 !important;
 margin-right: 0 !important;
}
body.venus-catalog-page .venus-explorer .venus-explorer-heading {
 padding: 0 !important;
}
body.venus-catalog-page .venus-explorer .venus-explorer-title,
body.venus-catalog-page .venus-explorer .venus-seo-intro,
body.venus-catalog-page .venus-explorer .venus-stories-heading {
 padding-left: 0 !important;
 padding-right: 0 !important;
 min-width: 0;
}
body.venus-catalog-page .venus-explorer-heading > .venus-result-count,
body.venus-catalog-page .venus-explorer-heading > .venus-filtered-label {
 grid-column: 1 / -1;
 white-space: normal;
}
body.venus-catalog-page .venus-explorer .venus-stories-slider,
body.venus-catalog-page .venus-explorer .venus-stories-rail { min-width: 0; max-width: 100%; box-sizing: border-box; }
@media (max-width: 767px) {
 body.venus-catalog-page .venus-explorer {
  padding-top: 24px !important;
  padding-left: max(16px, env(safe-area-inset-left)) !important;
  padding-right: max(16px, env(safe-area-inset-right)) !important;
  padding-bottom: 24px !important;
 }
 body.venus-catalog-page .venus-explorer .venus-explorer-heading { display: grid; grid-template-columns: minmax(0, 1fr); }
}
