/* Breakdance Tech Directory only — does not change templates/default/assets/css/archive.css.
 * Legacy archive.css still provides .techr* layout; this sheet resets default page chrome. */

.entry-title,
#breadcrumbs,
.ip-banner {
    display: none;
}

.max-container {
    padding: 0;
    max-width: 100%;
}

/* Default page.php wraps Breakdance in #content-sidebar / #content (PHP Tech Directory template did not). */
#content-sidebar,
#content-full,
.inner-page-container.max-container {
    padding: 0;
    min-height: 0;
}

#content {
    line-height: normal;
}

/*
 * defaults.css #content ul adds disc + margin 1.12em 0 / margin-left 40px / line-height 1.7.
 * Only undo those on archive lists. Do not reset padding or li — archive.css sets those
 * (e.g. .filters-checkbox padding, .filters li margin, .search--list li padding).
 */
#content .techrBanner ul,
#content .techrMain ul {
    list-style: none;
    margin: 0;
    margin-left: 0;
    line-height: normal;
}

/* archive.css: .filters-checkbox { margin-top: 2px } — reassert after the ul margin reset */
#content .techrMain__category--filters .category-filter-group .filters-checkbox {
    margin-top: 2px;
}

/* defaults.css #content i { font-style: italic } — icon fonts must stay upright */
#content .techrBanner i,
#content .techrMain i {
    font-style: normal;
}

#content .techrBanner {
    position: relative;
    isolation: isolate;
    /* Breakdance: banner + listing are sibling sections; keep banner above .techrMain
       so #search-list can overlap category filters. */
    z-index: 5;
}

/* Section wrappers are siblings — raise the banner section, not only .techrBanner inside it */
#content .bde-section:has(.techrBanner),
#content .breakdance-element:has(.techrBanner) {
    position: relative;
    z-index: 5;
}

#content .bde-section:has(.techrMain),
#content .breakdance-element:has(.techrMain) {
    position: relative;
    z-index: 1;
}

#content .techrBanner__search {
    position: relative;
    z-index: 10;
}

#content .techrBanner__search--list {
    z-index: 20;
}

#content .techrBanner .bg-img {
    background-color: var(--primary);
}

/* Listing section stays below banner autocomplete; filter chip/dropdown z-index stays local to .techrMain */
#content .techrMain {
    position: relative;
    z-index: 1;
}

#content .techrMain__category {
    position: relative;
    z-index: 3;
}

#content .techrBanner #custom-breadcrumbs {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    padding: 0 15px;
    max-width: 1920px;
    width: 100%;
    margin: auto;
    z-index: 1;
    color: var(--font-color-light);
    font-size: 14px;
    letter-spacing: .02em;
}

#content .techrBanner #custom-breadcrumbs a {
    color: var(--font-color-light);
}

#content .techrBanner #custom-breadcrumbs a:hover {
    color: var(--accent-light);
}

@media screen and (min-width: 1480px) {
    #content .techrBanner #custom-breadcrumbs {
        width: 89vw;
    }
}
