/*
 * SECURYCOR: keep the look identical after SEO heading-tag changes (Nov 2026).
 * Each rule restores the computed style the element had before its tag changed.
 * Source copy: platform/themes/apexa/public/css/securycor-seo.css (keep both in step).
 */

/* Breadcrumb title: was always a <div>; now an <h1> on pages without their own H1.
   Inherit like the div did (theme styles .breadcrumb__area h1 differently). */
.breadcrumb__area .breadcrumb__content h1.title {
    color: var(--breadcrumb-txt-color, inherit) !important;
    font-family: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-transform: inherit;
    margin-top: 0;
}

/* Homepage statistics: number was <h2 class="count">, now <p class="count">. */
.counter-item .content p.count {
    color: var(--tg-heading-color);
    font-family: var(--tg-heading-font-family);
    margin-top: 0;
}

/* FAQ questions: were <h5 class="accordion-header">, now <h3>. */
h3.accordion-header {
    font-size: 1.25rem;
}

/* Off-canvas / mobile menu contact block: labels were <h4>, now <p class="h4-style">. */
.offCanvas__side-info .contact-list p.h4-style {
    color: var(--tg-heading-color);
    font-family: var(--tg-heading-font-family);
    font-size: 18px;
    font-weight: 700;
    line-height: var(--tg-heading-line-height);
    margin: 0 0 0.5rem;
}

/* Visually hidden text for icon-only links (screen readers and crawlers still read it). */
.sc-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Brochure widget title: was <h4 class="sidebar__widget-title">, now a <p>. */
p.sidebar__widget-title.h4-style {
    color: var(--tg-heading-color);
    font-family: var(--tg-heading-font-family);
    line-height: var(--tg-heading-line-height);
    margin-top: 0;
}

/* 404 page help block (services, call, contact, search). Uses theme buttons. */
.sc-404-help { margin-top: 40px; }
.sc-404-help__label { font-weight: 600; margin-bottom: 10px; color: var(--tg-heading-color); }
.sc-404-help__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-bottom: 25px; }
.sc-404-help__links a { color: var(--tg-theme-primary); text-decoration: underline; }
.sc-404-help__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 25px; }
.sc-404-help__search { display: flex; justify-content: center; gap: 10px; max-width: 520px; margin: 0 auto; }
.sc-404-help__search input { flex: 1; min-width: 0; height: 56px; padding: 0 20px; border: 1px solid var(--tg-border-1, #d9d9d9); border-radius: 6px; }
