/* css/refactor-fixes.css — Sprint 1 structural refactor
   Small, additive fixes only. Never edit theme CSS files directly — put overrides here. */

/* --- Heading hierarchy fix -----------------------------------------------
   main.css styles ".page-title-heading h2" by TAG, not by class. Pages were
   promoted from <h2 class="title"> to <h1 class="title"> to give each page
   exactly one H1; this rule reproduces the old h2 styling for h1 so the
   visual result is unchanged. */
.page-title-heading h1 {
    font-weight: 700;
    text-transform: capitalize;
    font-size: 40px;
    line-height: 46px;
    margin-bottom: 5px;
}

/* --- Breadcrumb component (Phase 4) --------------------------------------
   New, additive element placed directly under the header on inner pages. */
.djeh-breadcrumbs {
    background: #f7f7f7;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    font-size: 13px;
}
.djeh-breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}
.djeh-breadcrumbs li {
    color: #777;
}
.djeh-breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin: 0 8px;
    color: #bbb;
}
.djeh-breadcrumbs a {
    color: #204066;
    text-decoration: none;
}
.djeh-breadcrumbs a:hover {
    color: #c51871;
    text-decoration: underline;
}
.djeh-breadcrumbs li[aria-current="page"] span {
    color: #c51871;
    font-weight: 500;
}

/* --- Mobile tap targets (Phase 3) -----------------------------------------
   Desktop is untouched; only the smallest, clearly sub-44px tap targets get
   extra padding on mobile. */
@media (max-width: 767px) {
    .top_bar_contact_item a[href^="tel:"],
    .top_bar_social a {
        padding: 10px 6px;
        display: inline-block;
    }
    #totop {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .toggle-title a {
        padding: 12px 15px;
        display: block;
    }
}
