

      body { font-family: "Open Sans", Arial, sans-serif; }
      .bbd-header { background: #fff; border-bottom: 1px solid #e8eaed; position: relative; z-index: 1000; }
      .bbd-header-top { display: none; }
      @media (min-width: 992px) {
        .bbd-header-top { display: block; background: #1a2332; color: rgba(255,255,255,0.85); font-size: 12px; padding: 8px 0; }
        .bbd-header-top a { color: rgba(255,255,255,0.85); }
        .bbd-header-top a:hover { color: #8eb4e0; text-decoration: none; }
        .bbd-header-top .pull-right span { margin-left: 18px; }
      }
      .bbd-nav-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; min-height: 72px; flex-wrap: wrap; }
      .bbd-logo img { height: 48px; width: auto; display: inline-block; vertical-align: middle; }
      .bbd-logo-text { display: none; }
      @media (min-width: 768px) {
        .bbd-logo-text { display: inline-block; margin-left: 12px; vertical-align: middle; }
        .bbd-logo-text img { height: 36px; }
      }
      .bbd-nav-toggle { display: none; background: none; border: 1px solid #d1d5db; border-radius: 4px; padding: 8px 12px; font-size: 18px; color: #1a2332; cursor: pointer; }
      .bbd-menu { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 4px; }
      .bbd-menu > li { position: relative; }
      .bbd-menu > li > a {
        display: block; padding: 10px 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.03em;
        text-transform: uppercase; color: #1a2332 !important; text-decoration: none !important; border-radius: 3px;
      }
      .bbd-menu > li > a:hover, .bbd-menu > li.active > a { color: #29436e !important; }
      .bbd-menu .dropdown-menu {
        border: 1px solid #e8eaed; border-radius: 4px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); padding: 8px 0; min-width: 200px;
      }
      .bbd-menu .dropdown-menu > li > a {
        padding: 8px 18px; font-size: 13px; font-weight: 500; text-transform: none; letter-spacing: 0; color: #374151 !important;
      }
      .bbd-menu .dropdown-menu > li > a:hover { background: #f5f6f8; color: #29436e !important; }
      .bbd-menu .nav-cta a { background: #29436e !important; color: #fff !important; margin-left: 8px; }
      .bbd-menu .nav-cta a:hover { background: #1a2d4d !important; color: #fff !important; }
      .bbd-badge { flex-shrink: 0; margin-left: 12px; }
      .bbd-badge img { height: 56px; width: auto; display: block; }
      @media (max-width: 991px) {
        .bbd-nav-toggle { display: block; order: 3; }
        .bbd-logo { order: 1; }
        .bbd-badge { order: 2; margin-left: auto; margin-right: 10px; }
        .bbd-menu {
          display: none; flex-direction: column; align-items: stretch; width: 100%; order: 4;
          position: absolute; left: 0; right: 0; top: 100%; background: #fff;
          border-bottom: 1px solid #e8eaed; box-shadow: 0 12px 24px rgba(0,0,0,0.08); padding: 8px 16px 16px; z-index: 1001;
        }
        .bbd-menu.is-open { display: flex; }
        .bbd-menu .nav-cta a { margin-left: 0; text-align: center; }
        .bbd-badge img { height: 40px; }
      }
      .cp-hero { background: #1a2332; color: #fff; padding: 40px 0 36px; }
      .cp-hero-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
      .cp-hero .breadcrumb { background: transparent; margin: 0; padding: 0; text-align: right; }
      .cp-hero .breadcrumb > li + li:before { color: rgba(255,255,255,0.4); }
      .cp-hero .breadcrumb a { color: rgba(255,255,255,0.7); }
      .cp-hero .breadcrumb a:hover { color: #fff; }
      .cp-hero .breadcrumb > .active { color: rgba(255,255,255,0.95); }
      .cp-hero h1 { margin: 0; font-size: 32px; font-weight: 700; color: #fff; line-height: 1.2; }
      .cp-hero .cp-sub { margin: 0 0 8px; font-size: 16px; color: rgba(255,255,255,0.8); font-weight: 600; }
      .cp-hero .cp-intro { margin: 0 0 8px; max-width: 720px; font-size: 15px; line-height: 1.65; color: rgba(255,255,255,0.82); }
      .cp-content { padding: 36px 0 56px; background: #f5f6f8; }
      .cat-kicker { color: #29436e !important; }
      .project-flex-card.is-active { outline-color: #29436e !important; }
      .project-flex-card .learn-more { color: #8eb4e0 !important; }
      .project-swiper .swiper-button-next,
      .project-swiper .swiper-button-prev { color: #29436e !important; }
      .project-swiper .swiper-pagination-bullet-active { background: #29436e !important; }
      .project-swiper-thumbs .swiper-slide-thumb-active { border-color: #29436e !important; }

.cat-hero { max-width: 820px; margin: 8px 0 36px; padding-bottom: 28px; border-bottom: 1px solid #e5e7eb; }
.cat-back { display: inline-block; margin: 16px 0 18px; font-size: 13px; font-weight: 500; color: #6b7280; text-decoration: none; }
.cat-back:hover { color: #1e2a3a; }
.cat-hero .cat-kicker { display: block; margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #c5a55a; }
.cat-hero h1.cat-title { margin: 0 0 10px; font-size: 36px; font-weight: 700; line-height: 1.15; color: #1e2a3a; font-family: "Open Sans", Arial, sans-serif; }
.cat-hero .cat-subtitle { margin: 0 0 18px; font-size: 18px; font-weight: 600; color: #6b7280; line-height: 1.35; }
.cat-hero .cat-intro { margin: 0 0 14px; max-width: 720px; font-size: 16px; line-height: 1.75; color: #374151; }
.project-select-hint { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #9ca3af; }

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 12px 0 48px; }
.cat-card { position: relative; display: block; min-height: 260px; border-radius: 10px; overflow: hidden; text-decoration: none !important; color: #fff; background: #1e2a3a; box-shadow: 0 4px 14px rgba(0,0,0,0.12); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.18); color: #fff; }
.cat-card .cat-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; transition: transform 0.45s ease; }
.cat-card:hover .cat-thumb { transform: scale(1.12); }
.cat-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,0.94) 0%, rgba(15,23,42,0.72) 40%, rgba(15,23,42,0.35) 70%, rgba(15,23,42,0.18) 100%); z-index: 1; pointer-events: none; }
.cat-card .cat-card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 20px 20px; }
.cat-card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.65); }
.cat-card p { margin: 0 0 12px; font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.5; }
.cat-card .cat-count { font-size: 12px; font-weight: 600; color: #c5a55a; text-transform: uppercase; letter-spacing: 0.04em; }
.cat-card .cat-link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: #fff; }
.cat-card .cat-link:after { content: " →"; }

.cat-project-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 24px; }
.project-flex-card { position: relative; display: block; min-height: 240px; border-radius: 10px; overflow: hidden; text-decoration: none !important; color: #fff; background: #1e2a3a; box-shadow: 0 4px 14px rgba(0,0,0,0.12); transition: transform 0.2s ease, box-shadow 0.2s ease, outline 0.15s ease; cursor: pointer; }
.project-flex-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.18); color: #fff; }
.project-flex-card.is-active { outline: 3px solid #c5a55a; outline-offset: 2px; }
.project-flex-card .pfc-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 0.45s ease; }
.project-flex-card:hover .pfc-thumb { transform: scale(1.12); }
.project-flex-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,0.94) 0%, rgba(15,23,42,0.72) 40%, rgba(15,23,42,0.35) 70%, rgba(15,23,42,0.18) 100%); z-index: 1; pointer-events: none; }
.project-flex-card .pfc-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px 18px 18px; }
.project-flex-card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.65); }
.project-flex-card .loc { font-size: 13px; color: rgba(255,255,255,0.95); margin-bottom: 10px; text-shadow: 0 1px 4px rgba(0,0,0,0.7); }
.project-flex-card .learn-more { font-size: 13px; font-weight: 700; color: #e8c97a; }
.project-flex-card .learn-more:after { content: " →"; }

/* Dynamic gallery host */
.dynamic-gallery {
  display: none;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}
.dynamic-gallery.is-visible { display: block; }
.project-detail-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 20px;
}
.project-detail-header h2 { margin: 0; font-size: 22px; font-weight: 600; color: #1e2a3a; font-family: "Open Sans", Arial, sans-serif; }
.project-detail-header .detail-loc { font-size: 14px; color: #6b7280; }
.btn-back-projects {
  appearance: none; border: 1px solid #d1d5db; background: #fff; color: #374151;
  font-size: 13px; font-weight: 500; padding: 8px 14px; border-radius: 6px; cursor: pointer;
}
.btn-back-projects:hover { border-color: #1e2a3a; color: #1e2a3a; }

.project-swiper { width: 100%; border-radius: 12px; overflow: hidden; background: #0f172a; box-shadow: 0 8px 28px rgba(0,0,0,0.12); }
.project-swiper .swiper-slide { display: flex; align-items: center; justify-content: center; background: #0f172a; min-height: 320px; }
.project-swiper .swiper-slide img { width: 100%; height: auto; max-height: 70vh; object-fit: contain; display: block; }
.project-swiper .swiper-button-next,
.project-swiper .swiper-button-prev {
  color: #c5a55a; width: 44px; height: 44px; margin-top: -22px;
  background: rgba(15,23,42,0.55); border-radius: 50%;
}
.project-swiper .swiper-button-next:after,
.project-swiper .swiper-button-prev:after { font-size: 18px; font-weight: 700; }
.project-swiper .swiper-pagination-bullet { background: #fff; opacity: 0.45; }
.project-swiper .swiper-pagination-bullet-active { background: #c5a55a; opacity: 1; }
.project-swiper-thumbs { margin-top: 12px; padding: 4px 0 8px; }
.project-swiper-thumbs .swiper-slide {
  width: 88px; height: 64px; border-radius: 6px; overflow: hidden; opacity: 0.55;
  cursor: pointer; border: 2px solid transparent; box-sizing: border-box;
}
.project-swiper-thumbs .swiper-slide-thumb-active { opacity: 1; border-color: #c5a55a; }
.project-swiper-thumbs .swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swiper-count-label { text-align: center; font-size: 13px; color: #6b7280; margin-top: 10px; }

.project-description { margin-top: 28px; padding-top: 8px; max-width: 820px; }
.project-description h3 { margin: 0 0 6px; font-size: 26px; font-weight: 700; color: #1e2a3a; font-family: "Open Sans", Arial, sans-serif; }
.project-description .pd-subtitle { margin: 0 0 16px; font-size: 16px; font-weight: 600; color: #6b7280; }
.project-description .pd-body { margin: 0 0 22px; font-size: 15px; line-height: 1.7; color: #374151; }
.project-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; padding-top: 18px; border-top: 1px solid #e5e7eb; }
.project-meta .meta-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #9ca3af; margin-bottom: 4px; }
.project-meta .meta-value { font-size: 15px; font-weight: 600; color: #1e2a3a; }

body.project-selected .cat-project-list { opacity: 0.55; }
body.project-selected .project-flex-card.is-active { opacity: 1; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 991px) {
  .cat-grid, .cat-project-list { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cat-card { min-height: 230px; }
  .project-flex-card { min-height: 210px; }
  .project-swiper .swiper-slide { min-height: 260px; }
}
@media (max-width: 767px) {
  .cat-hero h1.cat-title { font-size: 28px; }
  .cat-hero .cat-subtitle { font-size: 16px; }
  .project-description h3 { font-size: 22px; }
  .project-meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  .cat-grid, .cat-project-list { grid-template-columns: 1fr; }
  .cat-card { min-height: 210px; }
  .project-flex-card { min-height: 190px; }
  .project-swiper .swiper-slide { min-height: 220px; }
  .project-meta { grid-template-columns: 1fr; }
}
