/* ============================================================
   BLOG-POST.CSS — Single Article Page
   ============================================================ */

/* ── HERO ─────────────────────────────────────────────────── */
.bp-hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: flex-end;
  background: #06101E;
  overflow: hidden;
  padding-top: var(--nav-h, 90px);
}

.bp-hero-bg {
  position: absolute;
  inset: 0;
}

.bp-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.52) saturate(.75);
  transform: scale(1.06);
  transition: transform 12s ease;
}

.bp-hero-bg img.loaded {
  transform: scale(1);
}

.bp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,16,30,.95) 25%, rgba(6,16,30,.55) 65%, rgba(6,16,30,.28) 100%);
}

.bp-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,134,10,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,134,10,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.bp-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 72px;
  width: 100%;
}

.bp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 28px;
}

.bp-breadcrumb a {
  color: rgba(255,255,255,.3);
  text-decoration: none;
  transition: color .2s;
}

.bp-breadcrumb a:hover { color: #C8860A; }
.bp-breadcrumb i { font-size: 8px; opacity: .4; }

.bp-hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.bp-cat-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  font-weight: 500;
}

.bp-cat-architecture { background: rgba(45,74,122,.25); color: #8FA8C8; }
.bp-cat-structural   { background: rgba(26,39,68,.35);  color: #8FA8C8; }
.bp-cat-mep          { background: rgba(200,134,10,.2); color: #C8860A; }
.bp-cat-bim          { background: rgba(58,92,143,.25); color: #8FA8C8; }
.bp-cat-oman         { background: rgba(200,134,10,.18); color: #C8860A; }
.bp-cat-management   { background: rgba(26,39,68,.3);   color: #8FA8C8; }

.bp-meta-sep {
  width: 3px; height: 3px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: inline-block;
}

.bp-hero-meta time,
.bp-hero-meta span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(255,255,255,.35);
}

.bp-hero-meta i { color: #C8860A; margin-right: 3px; }

.bp-hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 4.5vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 24px;
  max-width: 880px;
}

.bp-hero-excerpt {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,.5);
  max-width: 680px;
  margin: 0 0 40px;
}

.bp-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(6,16,30,.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.06);
  border-top: 1px solid rgba(200,134,10,.12);
  width: fit-content;
}

.bp-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 28px;
  border-right: 1px solid rgba(255,255,255,.06);
}

.bp-stat:last-child { border-right: none; }

.bp-stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
}

.bp-stat-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.bp-stat-val em {
  font-style: normal;
  color: #C8860A;
}

/* ── LAYOUT ───────────────────────────────────────────────── */
.bp-layout {
  background: #F4F2ED;
  padding: 80px 0 100px;
}

.bp-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

/* ── ARTICLE BODY ─────────────────────────────────────────── */
.bp-article {
  background: #fff;
  border: 1px solid rgba(26,39,68,.07);
}

.bp-article-inner {
  padding: 56px 56px 48px;
}

/* Lead image */
.bp-lead-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  margin-bottom: 0;
}

/* Section labels */
.bp-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  margin-top: 56px;
}

.bp-section-label:first-child { margin-top: 0; }

.bp-sl-line {
  width: 24px;
  height: 1.5px;
  background: #C8860A;
  flex-shrink: 0;
}

.bp-sl-text {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #C8860A;
  opacity: .8;
}

/* Headings */
.bp-article h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: -.3px;
  text-transform: uppercase;
  color: #1A2744;
  margin: 0 0 20px;
  line-height: 1.2;
}

.bp-article h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .2px;
  text-transform: uppercase;
  color: #1A2744;
  margin: 32px 0 12px;
}

/* Body text */
.bp-article p {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(26,39,68,.65);
  margin: 0 0 20px;
}

/* Highlight block */
.bp-highlight {
  background: rgba(200,134,10,.06);
  border-left: 3px solid #C8860A;
  padding: 24px 28px;
  margin: 32px 0;
}

.bp-highlight p {
  margin: 0;
  font-size: 16px;
  color: rgba(26,39,68,.75);
  font-style: italic;
  line-height: 1.75;
}

/* Key points list */
.bp-keypoints {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bp-keypoints li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(26,39,68,.65);
}

.bp-keypoints li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #C8860A;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

/* Numbered list */
.bp-numlist {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  counter-reset: bp-num;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bp-numlist li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  counter-increment: bp-num;
}

.bp-numlist li::before {
  content: counter(bp-num, decimal-leading-zero);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: #C8860A;
  opacity: .7;
  flex-shrink: 0;
  width: 24px;
  padding-top: 3px;
}

.bp-numlist li span {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(26,39,68,.65);
}

/* Info grid */
.bp-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin: 28px 0;
}

.bp-info-card {
  background: #F4F2ED;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bp-info-card-icon {
  font-size: 20px;
  color: #C8860A;
}

.bp-info-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #1A2744;
}

.bp-info-card-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(26,39,68,.55);
  margin: 0;
}

/* Stat bar inside article */
.bp-stat-row {
  display: flex;
  gap: 2px;
  margin: 32px 0;
}

.bp-stat-box {
  flex: 1;
  background: #1A2744;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}

.bp-stat-box-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: #C8860A;
  letter-spacing: -1px;
  line-height: 1;
}

.bp-stat-box-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

/* Article divider */
.bp-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0;
}

.bp-div-line {
  flex: 1;
  height: 1px;
  background: rgba(26,39,68,.08);
}

.bp-div-icon {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: rgba(200,134,10,.4);
  letter-spacing: 2px;
}

/* Author / article footer */
.bp-article-footer {
  border-top: 1px solid rgba(26,39,68,.07);
  padding: 32px 56px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.bp-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bp-author-avatar {
  width: 48px;
  height: 48px;
  background: #1A2744;
  border: 1.5px solid #C8860A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  font-weight: 500;
  color: #C8860A;
  flex-shrink: 0;
}

.bp-author-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1A2744;
  display: block;
}

.bp-author-role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(26,39,68,.4);
  display: block;
  margin-top: 3px;
}

.bp-share {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bp-share-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(26,39,68,.35);
}

.bp-share-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(26,39,68,.12);
  color: rgba(26,39,68,.45);
  text-decoration: none;
  font-size: 14px;
  transition: all .2s;
}

.bp-share-btn:hover {
  border-color: #C8860A;
  color: #C8860A;
}

.bp-article-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding: 0 56px 32px;
  border-top: none;
}

.bp-article-tags span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(26,39,68,.06);
  color: rgba(26,39,68,.5);
  padding: 5px 10px;
}

/* ── SIDEBAR ──────────────────────────────────────────────── */
.bp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: sticky;
  top: 70px;
}

.bp-widget {
  background: #fff;
  border: 1px solid rgba(26,39,68,.07);
  padding: 28px 24px;
}

.bp-widget-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1A2744;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #C8860A;
  display: inline-block;
}

/* Table of contents */
.bp-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bp-toc-list a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(26,39,68,.6);
  text-decoration: none;
  padding: 9px 12px;
  border: 1px solid transparent;
  transition: all .2s;
  line-height: 1.4;
}

.bp-toc-list a:hover,
.bp-toc-list a.active {
  background: rgba(200,134,10,.05);
  border-color: rgba(200,134,10,.12);
  color: #1A2744;
}

.bp-toc-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  color: #C8860A;
  opacity: .6;
  flex-shrink: 0;
  width: 18px;
  padding-top: 2px;
}

/* Related posts */
.bp-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bp-related-item {
  display: block;
  text-decoration: none;
  padding: 14px;
  border: 1px solid transparent;
  transition: all .2s;
}

.bp-related-item:hover {
  background: rgba(200,134,10,.05);
  border-color: rgba(200,134,10,.12);
}

.bp-related-cat {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #C8860A;
  opacity: .7;
  display: block;
  margin-bottom: 6px;
}

.bp-related-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #1A2744;
  line-height: 1.45;
  display: block;
}

/* CTA widget */
.bp-widget-cta {
  background: #06101E;
  text-align: center;
}

.bp-wc-icon {
  font-size: 28px;
  color: #C8860A;
  margin-bottom: 12px;
  display: block;
}

.bp-widget-cta h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -.2px;
}

.bp-widget-cta p {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(255,255,255,.45);
  margin: 0 0 20px;
}

.bp-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #06101E;
  background: #C8860A;
  padding: 11px 20px;
  text-decoration: none;
  transition: background .2s;
  margin-bottom: 14px;
}

.bp-cta-btn:hover { background: #A06A08; }

.bp-wc-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(255,255,255,.35);
  text-decoration: none;
  transition: color .2s;
}

.bp-wc-phone i { color: #C8860A; }
.bp-wc-phone:hover { color: rgba(255,255,255,.65); }

/* ── RELATED ARTICLES SECTION ─────────────────────────────── */
.bp-related-section {
  background: #06101E;
  padding: 80px 0;
}

.bp-related-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.bp-related-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.bp-rh-line { width: 24px; height: 1.5px; background: #C8860A; }

.bp-rh-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #C8860A;
  opacity: .8;
}

.bp-rh-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.5px;
  color: #fff;
  margin: 0;
}

.bp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.bp-rel-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
  transition: background .3s, border-color .3s;
}

.bp-rel-card:hover {
  background: rgba(200,134,10,.06);
  border-color: rgba(200,134,10,.2);
}

.bp-rel-img {
  height: 180px;
  overflow: hidden;
}

.bp-rel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .7;
  transition: opacity .3s, transform .5s;
}

.bp-rel-card:hover .bp-rel-img img {
  opacity: .9;
  transform: scale(1.05);
}

.bp-rel-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bp-rel-cat {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #C8860A;
  opacity: .7;
}

.bp-rel-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -.1px;
  flex: 1;
}

.bp-rel-read {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  transition: color .2s, gap .2s;
}

.bp-rel-card:hover .bp-rel-read {
  color: #C8860A;
  gap: 8px;
}

/* ── CTA SECTION ──────────────────────────────────────────── */
.bp-cta-section {
  background: #F4F2ED;
  padding: 80px 24px;
  text-align: center;
}

.bp-cta-section-inner {
  max-width: 640px;
  margin: 0 auto;
}

.bp-cta-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #C8860A;
  opacity: .8;
  display: block;
  margin-bottom: 16px;
}

.bp-cta-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
  color: #1A2744;
  line-height: 1.1;
  margin: 0 0 16px;
}

.bp-cta-title em { font-style: normal; color: #C8860A; }

.bp-cta-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(26,39,68,.55);
  margin: 0 0 36px;
}

.bp-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.bp-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #06101E;
  background: #C8860A;
  padding: 14px 28px;
  text-decoration: none;
  transition: background .2s, transform .2s;
}

.bp-cta-primary:hover { background: #A06A08; transform: translateY(-2px); }

.bp-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(26,39,68,.65);
  background: transparent;
  border: 1px solid rgba(26,39,68,.2);
  padding: 14px 28px;
  text-decoration: none;
  transition: all .2s;
}

.bp-cta-secondary:hover {
  border-color: #1A2744;
  color: #1A2744;
  transform: translateY(-2px);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 991px) {
  .bp-container { grid-template-columns: 1fr; }

  .bp-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }

  .bp-widget-cta { grid-column: 1 / -1; }

  .bp-related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .bp-hero-title { letter-spacing: -.5px; }

  .bp-hero-stats { flex-wrap: wrap; width: 100%; }

  .bp-article-inner { padding: 32px 24px; }

  .bp-article-footer { padding: 24px; }
  .bp-article-tags { padding: 0 24px 24px; }

  .bp-info-grid { grid-template-columns: 1fr; }

  .bp-stat-row { flex-direction: column; }

  .bp-related-grid { grid-template-columns: 1fr; }

  .bp-sidebar { grid-template-columns: 1fr; }

  .bp-cta-actions { flex-direction: column; }
  .bp-cta-primary, .bp-cta-secondary { justify-content: center; width: 100%; }
}

@media (max-width: 480px) {
  .bp-hero-inner { padding: 0 16px 56px; }
  .bp-article-inner { padding: 24px 16px; }
}
