/*
Theme Name: ASCENDRA Business Systems
Theme URI: https://www.linkedin.com/company/ascendrabms/
Author: ASCENDRA
Description: Custom responsive WordPress theme based on the supplied ASCENDRA website design, with editable content and portfolio management.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ascendra
Tags: custom-logo, custom-menu, featured-images, one-column, blog, portfolio
*/

/* WordPress navigation markup uses a ul; match the source preview's inline links. */
.nav .ascendra-menu { display: flex; align-items: center; gap: 15px; margin: 0; padding: 0; list-style: none; }
.nav .ascendra-menu li { margin: 0; padding: 0; }
.nav .ascendra-menu a { display: block; }
.nav .current-menu-item > a { color: #b6801b; }
.topbar a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #c59a50; outline-offset: 3px; }
.service .detail p { margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
.service .detail p + p { margin-top: 10px; }
.case .casecontent { min-width: 0; }
.casevisual span { overflow-wrap: anywhere; }

/* Fix the original preview's tablet menu clipping and mobile logo shrinkage. */
@media (max-width: 1050px) {
  .topbar .wrap { gap: 14px; }
  .topbar .mark { width: 145px; max-width: 100%; height: 85px; }
  .mobilebutton { display: block; margin-left: auto; }
  .navbtn { display: none; }
  .topbar .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 100; background: #fff; border-top: 1px solid #e6e6e0; border-bottom: 1px solid #e6e6e0; padding: 20px 30px; box-shadow: 0 15px 30px rgba(10,27,51,.12); }
  .topbar .nav.visible { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
  .nav .ascendra-menu { align-items: flex-start; flex-direction: column; gap: 17px; }
  .topbar .nav a { font-size: 13px; }
}
@media (max-width: 760px) {
  .topbar { height: 75px; }
  .topbar .mark { width: 130px; height: 68px; }
  .topbar .nav { top: 100%; padding: 20px; }
  .topbar .nav a { color: #10294a; }
  .hero h1 { overflow-wrap: anywhere; }
}

/* Standard content page, posts, archives and 404 support. */
.ascendra-page-hero { background: #0d1d33; color: #fff; padding: 78px 0 65px; }
.ascendra-page-hero h1 { font: 800 clamp(32px, 4vw, 52px)/1.2 Inconsolata, Consolas, monospace; letter-spacing: -.04em; margin: 20px 0 0; }
.ascendra-page-hero .eyebrow { color: #e3bd77; }
.ascendra-content { min-height: 38vh; padding: 70px 0 105px; background: #fff; }
.ascendra-prose { max-width: 810px; color: #35455a; font-size: 16px; line-height: 1.95; overflow-wrap: anywhere; }
.ascendra-prose a:not(.btn) { color: #9d712e; text-decoration: underline; text-underline-offset: 3px; }
.ascendra-prose img { max-width: 100%; height: auto; }
.ascendra-prose h2, .ascendra-prose h3 { color: #12243c; line-height: 1.35; }
.ascendra-prose blockquote { border-left: 3px solid #c59a50; margin: 25px 0; padding: 10px 22px; background: #f8f8f5; }
.ascendra-entries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; }
.ascendra-entry-card { padding: 28px; border: 1px solid #e7e8e8; background: #fff; }
.ascendra-entry-card h2 { margin: 10px 0; font-size: 22px; }
.ascendra-entry-card h2 a { text-decoration: none; color: #10294a; }
.ascendra-entry-card p { color: #667488; line-height: 1.8; }
.ascendra-entry-card .entry-date, .ascendra-prose .entry-date { font-size: 12px; color: #a77b3a; }
.ascendra-pagination { margin: 34px 0; }
.ascendra-pagination .page-numbers { margin-right: 8px; }
@media (max-width: 760px) {
  .ascendra-page-hero { padding: 60px 0 50px; }
  .ascendra-content { padding: 48px 0 75px; }
  .ascendra-entries { grid-template-columns: 1fr; }
}

/* Always retain a consistent monospace brand look when web fonts are unavailable. */
.hero h1, .orb-inner, .section h2, .lead, .aboutpanel blockquote,
.service h3, .sector h3, .casecontent h3, .insightbox h3, .phase h3,
.ascendra-page-hero h1 { font-family: 'Inconsolata', Consolas, 'Courier New', monospace; }
