body.xfrota-help-page #xf-header, body.error404 #xf-header { background: #041226; }
.xf-help { background: #fff; color: #25364b; padding-top: 68px; }
.admin-bar .xf-help { padding-top: 68px; }
.xf-help-inner { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.xf-help-heading { padding: 38px 0 36px; background: #f3f7fa; border-bottom: 1px solid #dce5ed; }
.xf-help-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; font-size: 14px; }
.xf-help a { color: #075cba; text-underline-offset: 3px; }
.xf-help h1 { margin: 0 0 16px; max-width: 900px; font-size: 40px; line-height: 1.2; color: #13243b; letter-spacing: 0; overflow-wrap: anywhere; }
.xf-help p { line-height: 1.65; margin: 0 0 20px; }
.xf-help-search { max-width: 650px; margin-top: 28px; }
.xf-help-search label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.xf-help-search > div { display: grid; grid-template-columns: minmax(0, 1fr) 48px; }
.xf-help-search input[type=search] { width: 100%; min-width: 0; min-height: 48px; font-size: 16px; border: 1px solid #aab9c8; border-radius: 4px 0 0 4px; background: #fff; padding: 10px 14px; color: #25364b; }
.xf-help-search button { border: 0; background: #075cba; color: #fff; border-radius: 0 4px 4px 0; padding: 0; width: 48px; height: 48px; }
.xf-help-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 48px; padding-block: 40px 64px; }
.xf-help h2 { font-size: 24px; line-height: 1.35; color: #13243b; margin: 0 0 16px; }
.xf-help-topics h2 { font-size: 17px; }
.xf-help-topics a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid #e2e9ef; font-size: 15px; text-decoration: none; line-height: 1.5; }
.xf-help-topics a[aria-current] { color: #13243b; font-weight: 700; }
.xf-help-topics a span { color: #526173; }
.xf-help-topics .xf-help-support { justify-content: flex-start; margin-top: 24px; }
.xf-help-count, .xf-help-topic-label { color: #526173; font-size: 13px; }
.xf-help-result { padding: 24px 0; border-bottom: 1px solid #dce5ed; }
.xf-help-result:first-of-type { padding-top: 8px; }
.xf-help-result h3 { margin: 4px 0 10px; font-size: 23px; line-height: 1.35; }
.xf-help-result h3 a { display: flex; align-items: baseline; gap: 18px; justify-content: space-between; text-decoration: none; }
.xf-help-result h3 a:hover { text-decoration: underline; }
.xf-help-result h3 i { font-size: 15px; flex-shrink: 0; }
.xf-help-result p { margin: 0; }
.xf-help-result .xf-help-topic-label { margin-bottom: 6px; }
.xf-help-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #526173; font-size: 13px; }
.xf-help-tools > span:first-child { margin-right: 12px; }
.xf-help-tools button { height: 44px; width: 44px; border: 1px solid #b5c2cd; border-radius: 4px; background: #fff; color: #075cba; padding: 0; }
.xf-help-tools button:hover { background: #e9f1f8; }
.xf-help-document { min-width: 0; font-size: 17px; line-height: 1.7; }
.xf-help-document h2 { margin-top: 32px; scroll-margin-top: 120px; }
.xf-help-document > h2:first-child { margin-top: 0; }
.xf-help-document h3 { font-size: 20px; }
.xf-help-document li { margin-bottom: 10px; }
.xf-help-document img { max-width: 100%; height: auto; }
.xf-help-document table { width: 100%; font-size: 15px; border-collapse: collapse; }
.xf-help-document th, .xf-help-document td { border: 1px solid #dce5ed; padding: 12px; overflow-wrap: anywhere; }
.xf-help-document th { background: #f3f7fa; }
.xf-help-document-support { border-top: 1px solid #dce5ed; margin-top: 40px; padding-top: 12px; }
.xf-not-found { padding-block: 96px 48px; text-align: center; }
.admin-bar .xf-not-found { padding-top: 96px; }
.xf-not-found > .xf-help-inner { max-width: 850px; }
.xf-not-found-illustration { width: min(400px, 100%); aspect-ratio: 3 / 2; margin: 0 auto 16px; }
.xf-not-found-illustration img { display: block; width: 100%; height: auto; }
.xf-not-found h1 { font-size: 34px; margin-inline: auto; }
.xf-not-found .xf-help-search { max-width: 560px; margin-inline: auto; text-align: left; }
.xf-not-found p.xf-not-found-code { color: #526173; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.xf-not-found-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 24px; }
.xf-not-found-links a { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.xf-projects-index { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 24px; }
.xf-projects-index a { min-height: 44px; display: inline-flex; align-items: center; }
.xf-projects-content { padding-block: 20px 64px; }
.xf-project { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 48px; padding-block: 44px; border-bottom: 1px solid #dce5ed; scroll-margin-top: 120px; }
.xf-project-brand img { width: 150px; max-height: 100px; height: auto; object-fit: contain; }
.xf-project-details h2 { font-size: 30px; }
.xf-project-details h3 { font-size: 19px; color: #13243b; margin-block: 24px 12px; }
.xf-project-details p, .xf-project-details li { font-size: 17px; line-height: 1.7; }
.xf-project-details li { margin-bottom: 8px; }
.xf-projects-contact { padding-top: 36px; }
@media (max-width: 767px) {
    .xf-help-inner { width: calc(100% - 36px); }
    .xf-help h1 { font-size: 30px; }
    .xf-not-found { padding-block: 96px 36px; }
    .xf-not-found h1 { font-size: 28px; max-width: calc(100% - 88px); }
    .xf-not-found-illustration { width: min(330px, 100%); }
    .xf-help-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 28px 48px; }
    .xf-help-topics { display: flex; flex-wrap: wrap; column-gap: 20px; }
    .xf-help-topics h2 { width: 100%; }
    .xf-help-topics a { min-height: 44px; }
    .xf-help-topics .xf-help-support { margin-top: 0; }
    .xf-help-toc { display: block; }
    .xf-help-result h3 { font-size: 20px; }
    .xf-help-document table { font-size: 13px; }
    .xf-help-document th, .xf-help-document td { padding: 8px; }
    .xf-project { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 32px; }
}
@media print {
    #xf-header, .elementor-location-footer, #wpadminbar, .xf-help-topics, .xf-help-tools, .xfrota-vlibras-control, .grecaptcha-badge, .xf-help-document-support { display: none !important; }
    .xf-help { padding: 0; }
    .xf-help-inner { width: 100%; }
    .xf-help-heading { background: none; padding: 0 0 20px; }
    .xf-help-layout { display: block; }
    .xf-help h1 { font-size: 26px; }
}

/* Central de Ajuda: shared inner-page banner with the global transparent header. */
body.post-type-archive-xfrota_manual #xf-header:not(.elementor-sticky--effects):not(.xf-header--scrolled) { background: transparent !important; }
body.post-type-archive-xfrota_manual .xf-help { padding-top: 0; }
body.post-type-archive-xfrota_manual.admin-bar .xf-help { padding-top: 0; }
body.post-type-archive-xfrota_manual .xf-help-heading {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 106px 0 68px;
    border-bottom: 0;
    color: #fff;
    background: #081b42 url('/site/wp-content/uploads/2026/09/hero-network-2026.webp') center center / cover no-repeat;
}
body.post-type-archive-xfrota_manual .xf-help-heading::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 18, 38, .97), rgba(4, 18, 38, .9) 45%, rgba(4, 18, 38, .3));
    content: '';
}
body.post-type-archive-xfrota_manual .xf-help-heading .xf-help-inner { position: relative; }
body.post-type-archive-xfrota_manual .xf-help-heading h1 { color: #fff; font-size: 44px; }
body.post-type-archive-xfrota_manual .xf-help-heading p { max-width: 610px; color: #d7e5f4; font-size: 17px; }
body.post-type-archive-xfrota_manual .xf-help-breadcrumb,
body.post-type-archive-xfrota_manual .xf-help-breadcrumb a { color: #b7d9ed; }
body.post-type-archive-xfrota_manual .xf-help-search label { color: #fff; }

.xf-help-archive-notes {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid #dce5ed;
}
.xf-help-archive-notes h2 { margin: 0 0 16px; font-size: 28px; }
.xf-help-archive-notes h3 { margin: 28px 0 8px; font-size: 19px; }
.xf-help-archive-notes p { margin: 0 0 14px; color: #42536a; font-size: 16px; line-height: 1.75; }
.xf-help-archive-notes a { font-weight: 700; }

@media (max-width: 1024px) {
    body.post-type-archive-xfrota_manual .xf-help-heading h1 { font-size: 38px; }
}
@media (max-width: 767px) {
    body.post-type-archive-xfrota_manual .xf-help-heading { padding: 98px 0 40px; }
    body.post-type-archive-xfrota_manual .xf-help-heading h1 { font-size: 31px; }
    body.post-type-archive-xfrota_manual .xf-help-heading p { font-size: 15px; }
    .xf-help-archive-notes { margin-top: 36px; padding-top: 28px; }
    .xf-help-archive-notes h2 { font-size: 24px; }
}
