/* BMTS site chrome — header/nav/footer/hubs (Work Order 2) */
:root {
  --bmts-ink: #1C1C1C;
  --bmts-green: #2F5D3A;
  --bmts-green-deep: #1a4d2e;
  --bmts-muted: #555;
  --bmts-line: #e5e5e0;
  --bmts-soft: #f6f6f3;
}

body {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  color: var(--bmts-ink);
}

/* Hub / page titles */
.ast-archive-description .ast-archive-title,
.entry-header .entry-title,
.page .entry-title,
.ast-single-post .entry-header .entry-title,
h1.entry-title,
.bmts-hub h1,
.bmts-page h1 {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--bmts-ink);
}

/* Header wordmark sizing */
.site-header .custom-logo-link img,
.site-header .site-logo-img img,
.ast-site-identity .custom-logo-link img {
  height: 36px;
  width: auto;
  max-height: 40px;
}

/* Force readable Primary + mobile menu colors (override purple demo whites) */
.main-header-menu .menu-item > .menu-link,
.ast-builder-menu-mobile .main-header-menu .menu-item > .menu-link,
.ast-mobile-popup-drawer .main-header-menu .menu-item > .menu-link,
.ast-hfb-header .main-header-menu .menu-item > .menu-link {
  color: var(--bmts-ink) !important;
}

.main-header-menu .menu-item:hover > .menu-link,
.main-header-menu .menu-item:focus > .menu-link,
.ast-builder-menu-mobile .main-header-menu .menu-item:hover > .menu-link,
.ast-mobile-popup-drawer .main-header-menu .menu-item:hover > .menu-link {
  color: var(--bmts-ink) !important;
}

.main-header-menu .current-menu-item > .menu-link,
.main-header-menu .current_page_item > .menu-link,
.main-header-menu .current-menu-ancestor > .menu-link,
.ast-builder-menu-mobile .main-header-menu .current-menu-item > .menu-link,
.ast-builder-menu-mobile .main-header-menu .current_page_item > .menu-link,
.ast-mobile-popup-drawer .main-header-menu .current-menu-item > .menu-link,
.ast-mobile-popup-drawer .main-header-menu .current_page_item > .menu-link {
  color: var(--bmts-ink) !important;
  box-shadow: inset 0 -3px 0 var(--bmts-green);
}

/* Search icon → header text color */
.ast-header-search .astra-search-icon,
.ast-header-search .ast-icon svg,
.ast-header-search .slide-search .search-submit,
.ast-header-search .ast-search-menu-icon .search-submit,
.site-header .ast-header-search .ast-icon,
.ast-search-menu-icon .astra-search-icon {
  color: var(--bmts-ink) !important;
  fill: var(--bmts-ink) !important;
}
.ast-header-search .ast-icon svg,
.ast-header-search svg {
  fill: currentColor !important;
  color: var(--bmts-ink) !important;
}

/* Mobile trigger */
.ast-mobile-menu-trigger-minimal,
.menu-toggle.main-header-menu-toggle {
  color: var(--bmts-ink) !important;
}

/* Footer */
.site-footer,
.ast-footer-copyright {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.ast-footer-copyright a {
  color: var(--bmts-green-deep);
  text-decoration: none;
}
.ast-footer-copyright a:hover {
  text-decoration: underline;
}

/* Hide comments UI sitewide for now (film pages + stubs) */
.ast-separate-container .comments-area,
.comments-area,
#comments,
.comment-respond,
.ast-comment-list {
  display: none !important;
}

/* Hub cards — stretched link; title underline on hover only */
.bmts-hub-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.bmts-hub-card {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--bmts-line);
  border-radius: 10px;
  background: #fff;
  color: inherit;
  text-decoration: none !important;
}
.bmts-hub-card:hover {
  border-color: #c9d8cc;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.bmts-hub-stretched {
  position: absolute;
  inset: 0;
  z-index: 0;
  text-decoration: none !important;
}
.bmts-hub-thumb {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bmts-soft);
}
.bmts-hub-thumb img,
.bmts-hub-card img.bmts-hub-img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  text-decoration: none !important;
}
.bmts-hub-ph {
  width: 96px;
  height: 96px;
  border-radius: 6px;
  background: linear-gradient(145deg, #e8ebe6 0%, #d5dbd4 100%);
  display: block;
}
.bmts-hub-ph-neutral {
  background: linear-gradient(145deg, #2a2a2a 0%, #1c1c1c 100%);
  border: 1px solid #3a3a3a;
}
.bmts-hub-body {
  position: relative;
  z-index: 1;
  pointer-events: none; /* clicks go to stretched link except title */
}
.bmts-hub-title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  margin: 0 0 .25rem;
  line-height: 1.15;
  color: var(--bmts-ink);
}
.bmts-hub-title-link {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  color: var(--bmts-ink);
  text-decoration: none !important;
}
.bmts-hub-title-link:hover,
.bmts-hub-title-link:focus {
  text-decoration: underline !important;
  text-underline-offset: 2px;
}
.bmts-hub-year,
.bmts-hub-desc {
  margin: 0;
  text-decoration: none !important;
  color: #333;
}
.bmts-hub-year {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  color: var(--bmts-muted);
  font-size: .95rem;
  margin: 0 0 .35rem;
}
.bmts-hub-desc {
  font-size: .98rem;
  line-height: 1.45;
}
.bmts-hub-empty {
  color: var(--bmts-muted);
  font-style: italic;
}

/* Align hub/home cards with section headings (no indent) */
.bmts-hub .bmts-hub-list,
.bmts-home .bmts-hub-list,
.bmts-page .bmts-hub-list,
.entry-content .bmts-hub-list {
  margin-left: 0;
  padding-left: 0;
}
.bmts-hub,
.bmts-home,
.bmts-page {
  padding-left: 0;
  margin-left: 0;
}

/* Homepage sections */
.bmts-home {
  max-width: 920px;
  margin: 0 auto;
  padding: 0.5rem 0 2.5rem;
}
.bmts-home .bmts-home-intro {
  font-size: 1.15rem;
  max-width: 40rem;
  margin: 0 0 1.75rem;
}
.bmts-home h1 {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--bmts-ink);
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
}
.bmts-home h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  margin: 1.75rem 0 .85rem;
  color: var(--bmts-ink);
}
.bmts-home .bmts-home-more {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  color: var(--bmts-green-deep);
  text-decoration: none;
}
.bmts-home .bmts-home-more:hover {
  text-decoration: underline;
}

/* Text pages: ~70ch column (About, Editorial, Contact, Disclosure) */
.page-id-39 .entry-content,
.page-id-55 .entry-content,
.page-id-56 .entry-content,
.page-id-40 .entry-content,
.page-slug-about .entry-content,
.page-slug-editorial-standards .entry-content,
.page-slug-contact .entry-content,
.page-slug-disclosure .entry-content,
body.page-about .entry-content,
body.page-editorial-standards .entry-content,
body.page-contact .entry-content,
body.page-disclosure .entry-content {
  max-width: 70ch;
}
.bmts-page {
  max-width: 70ch;
}

@media (max-width: 544px) {
  .bmts-hub-card {
    grid-template-columns: 72px 1fr;
  }
  .bmts-hub-thumb,
  .bmts-hub-thumb img,
  .bmts-hub-card img.bmts-hub-img,
  .bmts-hub-ph {
    width: 72px;
    height: 72px;
  }
}

/* WO3 harden: kill list bullets / default link underline on cards */
.entry-content ul.bmts-hub-list,
.bmts-hub-list,
.bmts-hub-list > li {
  list-style: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}
.entry-content .bmts-hub-card a,
.entry-content .bmts-hub-year,
.entry-content .bmts-hub-desc {
  text-decoration: none !important;
}
.entry-content .bmts-hub-title-link:hover,
.entry-content .bmts-hub-title-link:focus {
  text-decoration: underline !important;
}

.entry-content ul.bmts-hub-list,
.ast-article-single ul.bmts-hub-list,
.bmts-home ul.bmts-hub-list,
.bmts-hub ul.bmts-hub-list {
  padding-left: 0 !important;
  padding-inline-start: 0 !important;
  margin-left: 0 !important;
  margin-inline-start: 0 !important;
}
.entry-content ul.bmts-hub-list > li.bmts-hub-card {
  margin-left: 0 !important;
  padding-left: 1rem; /* card internal pad only */
}
