/* WordPress integration only. Approved layout rules remain in approved-site.css. */
.admin-bar .clear-header { top: 32px; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { clip: auto !important; clip-path: none; display: block; height: auto; left: 5px; top: 5px; width: auto; z-index: 100000; }
.featured-art.has-image { background-position: center; background-size: cover; }
.post-card .post-link, .featured-copy .post-link { text-decoration: none; }
.single-article { padding: 96px max(32px, calc((100vw - 900px)/2)); background: #fffdfa; }
.single-article .post-meta { display: block; margin-bottom: 20px; }
.single-article h1 { font: 650 clamp(44px, 5vw, 70px)/1.02 "Avenir Next", Avenir, sans-serif; letter-spacing: -.05em; margin: 0 0 30px; }
.single-article-media { margin: 0 0 45px; }
.single-article-media img { display: block; height: auto; width: 100%; }
.single-article-content { color: #5f6b77; font-size: 17px; line-height: 1.8; }
.single-article-content h2, .single-article-content h3 { color: #042a5a; line-height: 1.15; }
.single-article-content a { color: #c75133; text-decoration: underline; }
.navigation.pagination { margin-top: 42px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 10px; }
.page-numbers { border: 1px solid #c0c8d0; padding: 10px 14px; }
.page-numbers.current { background: #042a5a; color: #fff; }
@media (max-width: 782px) { .admin-bar .clear-header { top: 46px; } }
@media (max-width: 650px) { .single-article { padding: 72px 24px; } }
/* Endura brand: readable article meta */
.single-article .post-meta { color: #2c5aa0; }
.about-more { margin-top: 30px !important; font-size: 16px !important; color: #4a5156; }
.about-more a { color: #2c5aa0; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Endura brand: two paths to get started (CWE evaluation / existing report) */
.cwe-btn { display: inline-flex; align-items: center; gap: 14px; background: #f05a28; color: #fff !important; border-radius: 8px; padding: 12px 22px 12px 12px; font: 700 15px/1.2 Montserrat, "Avenir Next", Avenir, "Segoe UI", sans-serif; text-decoration: none; box-shadow: 0 6px 18px rgba(240, 90, 40, .25); transition: background .2s, transform .2s; }
.cwe-btn:hover { background: #d94a1c; transform: translateY(-2px); }
.cwe-btn .cwe-chip { background: #fff; border-radius: 5px; padding: 4px 8px; display: flex; align-items: center; flex: none; }
.cwe-btn .cwe-chip img { height: 30px; width: auto; display: block; }
.cwe-btn small { display: block; font: 500 12px/1.3 Montserrat, "Avenir Next", Avenir, sans-serif; letter-spacing: 0; color: #fff; opacity: .95; margin-top: 2px; text-transform: none; }
.clear-actions-paths .path-note { margin: 12px 0 0 !important; font-size: 13px !important; color: #4a5156; }
.clear-actions-paths .have-report { display: inline-block; margin-top: 18px; font-weight: 700; font-size: 15px; color: #2c5aa0; text-decoration: underline; text-underline-offset: 3px; }
.start-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1000px; margin: 34px auto 0; text-align: left; }
.start-card { background: #fff; border-radius: 12px; padding: 30px; border-top: 5px solid #112957; box-shadow: 0 10px 30px rgba(17, 41, 87, .08); display: flex; flex-direction: column; gap: 12px; }
.start-card.cwe { border-top-color: #f05a28; }
.start-card > small { font: 800 11px/1 sans-serif; letter-spacing: .14em; color: #2c5aa0; }
.start-card.cwe > small { color: #b8441a; }
.start-card h3 { margin: 0; font-size: 24px; color: #112957; letter-spacing: -.02em; }
.start-card p { margin: 0 !important; color: #4a5156; font-size: 15px !important; line-height: 1.6; }
.start-card .button, .start-card .cwe-btn { align-self: flex-start; margin: 6px 0 0 !important; }
@media (max-width: 800px) { .start-paths { grid-template-columns: 1fr; } .start-card { padding: 24px; } }
@media (max-width: 420px) { .cwe-btn { padding-right: 16px; font-size: 14px; } .cwe-btn .cwe-chip img { height: 26px; } }

/* Endura: mobile menu */
.mobile-menu { display: none; }
.mobile-menu summary { list-style: none; width: 44px; height: 44px; border-radius: 8px; border: 1px solid #d9dcdf; background: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { width: 18px; height: 2px; border-radius: 2px; background: #112957; transition: transform .2s, opacity .2s; }
.mobile-menu[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu[open] summary span:nth-child(2) { opacity: 0; }
.mobile-menu[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { position: absolute; left: 0; right: 0; top: 100%; z-index: 200; background: #fff; border-bottom: 1px solid #d9dcdf; box-shadow: 0 24px 40px rgba(17, 41, 87, .16); padding: 8px 24px 24px; display: flex; flex-direction: column; max-height: calc(100vh - 90px); overflow-y: auto; }
.mobile-nav a { padding: 15px 0; border-bottom: 1px solid #eceef0; font: 700 17px/1.2 "Avenir Next", Avenir, "Segoe UI", sans-serif; color: #112957; }
.mobile-nav .mobile-cta { margin-top: 18px; border: 0; border-radius: 8px; background: #112957; color: #fff; text-align: center; }
.mobile-nav .mobile-call { border: 0; text-align: center; color: #2c5aa0; }
@media (max-width: 900px) {
  .clear-header { display: flex !important; justify-content: space-between; align-items: center; gap: 12px; }
  .clear-header > nav { display: none !important; }
  .mobile-menu { display: block; }
  .header-actions { gap: 10px; }
}

/* Endura: services */
.services { padding: 112px max(32px, calc((100vw - 1220px) / 2)); background: #f5f6f7; }
.services-head { max-width: 780px; margin-bottom: 44px; }
.services-head h2 { font: 650 clamp(36px, 4vw, 54px)/1.05 "Avenir Next", Avenir, sans-serif; letter-spacing: -.045em; margin: 0 0 16px; color: #112957; }
.services-head > p:last-child { margin: 0; color: #4a5156; font-size: 17px; line-height: 1.7; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.services-grid article { background: #fff; border: 1px solid #d9dcdf; border-top: 4px solid #112957; border-radius: 10px; padding: 26px; }
.services-grid h3 { margin: 0 0 8px; font-size: 19px; color: #112957; }
.services-grid p { margin: 0; color: #4a5156; font-size: 15px; line-height: 1.6; }
.services-note { margin: 28px 0 0; color: #4a5156; font-size: 15px; }
.services-note a { color: #2c5aa0; font-weight: 700; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services { padding: 76px 24px; } .services-grid { grid-template-columns: 1fr; } }

/* Endura: footer service area */
.footer-mid .footer-area { margin-top: 8px !important; font-size: 12px; color: #a9b8cf; }

/* Endura: proposal request form */
.proposal-form { margin-top: 28px; max-width: 760px; }
.proposal-form p { margin: 0 0 16px !important; }
.proposal-form label { display: block; margin-bottom: 6px; font: 700 14px/1.3 "Avenir Next", Avenir, "Segoe UI", sans-serif; color: #112957; }
.proposal-form label span { font-weight: 500; color: #4a5156; }
.proposal-form input[type="text"], .proposal-form input[type="tel"], .proposal-form input[type="email"], .proposal-form textarea { width: 100%; padding: 13px 14px; border: 1px solid #c0c8d0; border-radius: 8px; background: #fff; color: #1f2428; font: 400 16px/1.4 "Avenir Next", Avenir, "Segoe UI", sans-serif; }
.proposal-form input[type="file"] { width: 100%; padding: 12px; border: 1px dashed #9aaaba; border-radius: 8px; background: #f5f6f7; font-size: 15px; }
.proposal-form input:focus, .proposal-form textarea:focus { outline: 2px solid #2c5aa0; outline-offset: 1px; border-color: #2c5aa0; }
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.pf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.proposal-form .pf-small { font-size: 13px; color: #4a5156; }
.proposal-form button.button { border: 0; cursor: pointer; font-size: 15px; }
.proposal-notice { max-width: 760px; margin: 24px 0; padding: 18px 20px; border-radius: 10px; }
.proposal-notice p { margin: 6px 0 0 !important; }
.proposal-notice.success { background: #e6ebf2; border-left: 4px solid #112957; color: #112957; }
.proposal-notice.error { background: #fdecea; border-left: 4px solid #b3261e; color: #5c1a14; }
@media (max-width: 600px) { .pf-grid { grid-template-columns: 1fr; } }

/* Endura: mobile menu overrides for the theme's small-screen nav rules */
.clear-header .mobile-nav { display: flex !important; flex-direction: column; gap: 0 !important; width: 100% !important; left: 0 !important; right: 0 !important; justify-self: stretch !important; overflow-x: hidden; box-sizing: border-box; }
.clear-header .mobile-nav a { display: block !important; }

/* Endura: menu icon (three lines -> X) */
.mobile-menu summary { position: relative; }
.mobile-menu summary span { position: absolute; left: 12px; top: 50%; margin-top: -1px; width: 18px; }
.mobile-menu summary span:nth-child(1) { transform: translateY(-6px); }
.mobile-menu summary span:nth-child(3) { transform: translateY(6px); }
.mobile-menu[open] summary span:nth-child(1) { transform: rotate(45deg); }
.mobile-menu[open] summary span:nth-child(3) { transform: rotate(-45deg); }

/* Blog author byline + author box */
.single-article .post-byline { display: inline-flex; align-items: center; gap: 12px; margin: 4px 0 28px; text-decoration: none; color: inherit; }
.single-article .post-byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center top; box-shadow: 0 0 0 1px #d5dbe5; background: #e8ecf2; }
.single-article .post-byline strong { display: block; color: #112957; font-size: 15px; line-height: 1.3; }
.single-article .post-byline small { display: block; color: #5b6676; font-size: 13px; line-height: 1.3; }
.single-article .post-byline:hover strong { text-decoration: underline; }
.single-article .author-box { display: flex; gap: 20px; align-items: flex-start; margin: 48px 0 8px; padding: 24px; border: 1px solid #d5dbe5; border-radius: 12px; background: #f5f7fa; }
.single-article .author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: center top; display: block; background: #e8ecf2; }
.single-article .author-box > a { flex: none; }
.single-article .author-box small { font-size: 11px; letter-spacing: .12em; color: #5b6676; font-weight: 700; }
.single-article .author-box h2 { font-size: 20px; line-height: 1.25; margin: 4px 0 8px; }
.single-article .author-box h2 a { color: #112957; text-decoration: none; }
.single-article .author-box h2 a:hover { text-decoration: underline; }
.single-article .author-box p { margin: 0 0 10px; font-size: 15px; line-height: 1.55; color: #333c48; }
.single-article .author-box .author-more { color: #2c5aa0; font-weight: 600; text-decoration: none; font-size: 15px; }
.single-article .author-box .author-more:hover { text-decoration: underline; }
.partner-card { scroll-margin-top: 110px; }
@media (max-width: 560px) { .single-article .author-box { flex-direction: column; gap: 14px; } }

/* Hero second line */
.clear-hero .clear-hero-copy p.hero-kicker { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.3; color: #112957; font-weight: 600; margin: 14px 0 16px; }
.clear-hero .clear-hero-copy p.hero-kicker em { font-family: inherit; font-style: italic; color: #2c5aa0; }

/* Owner photo positioning */
.clear-hero .clear-photo { background-position: center 12%, center 12% !important; }
.interior-hero .interior-hero-art { background-position: center 30% !important; }

/* Get-started cards: perk callout + aligned buttons */
.start-paths .start-card { display: flex; flex-direction: column; }
.start-paths .start-card > .cwe-btn, .start-paths .start-card > .button { margin-top: auto; }
.start-paths .start-perk { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 20px; padding: 12px 14px; border-radius: 10px; background: #eef3f9; border: 1px solid #d5dfec; color: #1e7a4a; text-align: left; }
.start-paths .start-perk svg { flex: none; margin-top: 2px; }
.start-paths .start-perk strong { display: block; color: #112957; font-size: 16px; line-height: 1.3; }
.start-paths .start-perk span { display: block; color: #4a5566; font-size: 14px; line-height: 1.45; margin-top: 2px; }
.start-paths .button-navy { background: #112957; color: #fff; border-color: #112957; justify-content: center; }
.start-paths .button-navy:hover { background: #1b3a75; border-color: #1b3a75; color: #fff; }
