/* Desktop title band — V1 Minimal (sitewide).
   Mobile (<900px) keeps the classic Corzo hero + breadcrumbs unchanged. */

@media (min-width: 900px) {
  /* Skip custom landing templates that don't use Corzo title chrome */
  body.cash-advance-directory .corzo-blog-title-wrap,
  body.cash-advance-directory .top_breadcrumb {
    /* no-op — these pages don't have them */
  }

  /* ---- Strip hero image chrome ---- */
  body.single .corzo-blog-title-wrap,
  body.page .corzo-page-title-wrap {
    background-image: none !important;
    background-color: #fff !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: none !important;
  }

  body.single .corzo-blog-title-overlay,
  body.single .corzo-blog-title-top-overlay,
  body.single .corzo-blog-title-bottom-overlay,
  body.single .corzo-header-transparent-substitute,
  body.page .corzo-page-title-overlay,
  body.page .corzo-page-title-top-gradient,
  body.page .corzo-page-title-bottom-gradient,
  body.page .corzo-header-transparent-substitute {
    display: none !important;
    height: 0 !important;
    opacity: 0 !important;
  }

  body.single .corzo-blog-title-container,
  body.page .corzo-page-title-container {
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
  }

  body.single .corzo-blog-title-content,
  body.page .corzo-page-title-content {
    padding: 14px 0 6px !important;
  }

  body.single .corzo-single-article-title,
  body.page .corzo-page-title {
    color: #1c2128 !important;
    text-shadow: none !important;
    margin: 0 !important;
    font-size: clamp(1.45rem, 2.2vw, 1.85rem) !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
  }

  body.single .corzo-single-article-head-divider,
  body.page .corzo-page-caption-divider {
    display: none !important;
  }

  /* Meta row under hero title (date / comments) — hide for compact V1 */
  body.single .corzo-blog-title-wrap .corzo-blog-info-wrapper {
    display: none !important;
  }

  /* Visual breadcrumbs — hide on desktop (Yoast BreadcrumbList JSON-LD stays) */
  body.single .top_breadcrumb,
  body.page .top_breadcrumb,
  body.single .corzo-breadcrumbs,
  body.page .corzo-breadcrumbs {
    display: none !important;
  }

  /* Tighten gap before Editor's Note / first content */
  body.single .corzo-content-container,
  body.page .corzo-content-container {
    padding-top: 0 !important;
  }

  body.single .corzo-content-wrap,
  body.page .corzo-content-wrap {
    padding-top: 0 !important;
  }

  body.single .corzo-content-area,
  body.page .corzo-content-area {
    padding-top: 8px !important;
  }

  body.single .corzo-blog-title-content,
  body.page .corzo-page-title-content {
    padding: 12px 0 4px !important;
  }

  body.single .corzo-content-area > *:first-child,
  body.page .corzo-content-area > *:first-child {
    margin-top: 0 !important;
  }

  /* Optional overrides if comparing via ?oda_title=2|3 */
  body.oda-title-v2 .top_breadcrumb,
  body.oda-title-v3 .top_breadcrumb {
    display: none !important;
  }
}

/* Staging picker only when explicitly previewing (legacy); hidden on mobile */
@media (min-width: 900px) {
  .oda-title-picker {
    position: sticky;
    top: 0;
    z-index: 200;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 8px 16px;
    background: #1c2128;
    color: #fff;
    font: 600 0.8rem/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }

  .oda-title-picker span {
    opacity: 0.75;
    font-weight: 500;
  }

  .oda-title-picker a {
    color: #fff !important;
    text-decoration: none !important;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
  }

  .oda-title-picker a:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .oda-title-picker a.is-active {
    background: #1f6b4a;
    border-color: #1f6b4a;
  }

  .oda-title-picker a.oda-title-exit {
    margin-left: auto;
    border-color: rgba(255, 255, 255, 0.4);
  }
}

@media (max-width: 899px) {
  .oda-title-picker {
    display: none !important;
  }
}
