/*
Theme Name: BridgePath Clear & Connected
Theme URI: https://bridgepathpro.com/
Author: BridgePath Innovation LLC
Description: White, navy and teal BridgePath design with the existing content and browser-local interactive guide.
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: bridgepath-version-b
*/

/* WordPress integration only. The approved design lives in assets/css. */
/* Keep the centered Version B actions centered at intermediate laptop widths. */
body.variant-b .hero-actions { align-items: center; }
body.admin-bar .site-header { top: 32px; }
body.admin-bar .bp-guide-panel { max-height: calc(100dvh - 60px); }
.bridgepath-nav-list { display: flex; align-items: center; gap: 28px; list-style: none; padding: 0; margin: 0; }
.bridgepath-nav-list li { position: relative; margin: 0; }
.bridgepath-nav-list .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 210px; list-style: none; padding: 14px; margin: 0; background: #fffdf9; border: 1px solid var(--line); box-shadow: var(--shadow); }
.bridgepath-nav-list li:hover > .sub-menu, .bridgepath-nav-list li:focus-within > .sub-menu { display: block; }
.bridgepath-nav-list .sub-menu a { display: block; }
.bridgepath-entry { max-width: 900px; margin-inline: auto; padding: 36px; border: 1px solid var(--line); background: #fffdf9; border-radius: 16px; overflow-wrap: anywhere; }
.bridgepath-entry > * + * { margin-top: 1.4em; }
.bridgepath-entry ul, .bridgepath-entry ol { padding-left: 1.6em; }
.bridgepath-entry a { text-decoration: underline; text-underline-offset: .2em; }
.bridgepath-entry img { max-width: 100%; height: auto; }
.bridgepath-entry .alignwide { max-width: 100%; }
.bridgepath-entry .aligncenter { margin-inline: auto; }
.bridgepath-post-list { display: grid; gap: 28px; }
.bridgepath-post-list article { width: 100%; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; }
.screen-reader-text:focus { clip: auto; clip-path: none; height: auto; width: auto; position: fixed !important; top: 10px; left: 10px; z-index: 100000; padding: 12px; background: white; color: #163042; }
.wp-caption { max-width: 100%; }.wp-caption-text, .gallery-caption { font-size: .9em; }.bypostauthor { border-left: 2px solid var(--line); }
@media(max-width: 900px) { #mobile-nav .bridgepath-nav-list { display: block; } #mobile-nav .bridgepath-nav-list .sub-menu { position: static; display: block; padding: 0 0 0 18px; border: 0; box-shadow: none; } }
@media(max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media(max-width: 600px) { body.admin-bar .site-header { top: 0; } .bridgepath-entry { padding: 22px; } }
/* Keep footer links above the fixed chat launcher at the end of the page. */
body.variant-b .site-footer { padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)); }
