.b60-opportunity-detail[hidden] { display: none !important; }

body.b60-detail-open { overflow: hidden; }

.b60-opportunity-detail {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: 1fr minmax(520px, 680px);
  color: #161614;
}

.b60-detail-backdrop {
  grid-column: 1 / -1;
  grid-row: 1;
  background: rgba(12, 12, 11, .48);
}

.b60-detail-panel {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: auto;
  background: #f2f0e8;
  border-left: 2px solid #161614;
  box-shadow: -18px 0 0 rgba(0,0,0,.08);
  outline: none;
  animation: b60-detail-enter .22s ease-out both;
}

.b60-detail-close {
  position: sticky;
  top: 0;
  z-index: 5;
  margin-left: auto;
  display: block;
  min-width: 104px;
  min-height: 44px;
  border: 0;
  border-left: 1px solid #161614;
  border-bottom: 1px solid #161614;
  background: #d7ff36;
  color: #161614;
  font: 900 12px/1 system-ui, sans-serif;
  letter-spacing: .03em;
}

.b60-detail-content { margin-top: -44px; }

.b60-detail-visual {
  margin: 0;
  border-bottom: 1px solid #161614;
  background: #d9d8d2;
}

.b60-detail-visual img {
  display: block;
  width: 100%;
  height: clamp(250px, 35vh, 390px);
  object-fit: cover;
}

.b60-detail-visual figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 14px;
  font-size: 9px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-top: 1px solid rgba(22,22,20,.3);
}

.b60-detail-intro { padding: 28px 30px 24px; border-bottom: 1px solid #161614; }
.b60-detail-kicker { display: flex; justify-content: space-between; gap: 12px; font: 900 10px/1 system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.b60-detail-kicker time { font-weight: 700; opacity: .62; }
.b60-detail-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 26px; font-size: 11px; }
.b60-detail-meta b { padding: 6px 8px; background: #161614; color: #f2f0e8; }
.b60-detail-meta span { font-weight: 900; }
.b60-detail-benefit { display: block; margin-top: 18px; font: 900 clamp(42px, 7vw, 74px)/.88 Arial, Helvetica, sans-serif; letter-spacing: -.065em; }
.b60-detail-intro h2 { margin: 16px 0 0; font: 900 clamp(27px, 4vw, 44px)/1 Arial, Helvetica, sans-serif; letter-spacing: -.05em; }
.b60-detail-intro p { max-width: 56ch; margin: 18px 0 0; font-size: 14px; line-height: 1.65; }

.b60-detail-truth {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid #161614;
  background: #d7ff36;
}
.b60-detail-truth > div { min-width: 0; padding: 16px 18px; border-right: 1px solid #161614; }
.b60-detail-truth > div:last-child { border-right: 0; }
.b60-detail-truth span { display: block; font: 800 9px/1.2 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.b60-detail-truth strong { display: block; margin-top: 8px; font-size: 12px; line-height: 1.4; }

.b60-detail-section { padding: 24px 30px 28px; border-bottom: 1px solid #161614; }
.b60-detail-section > header { display: flex; gap: 12px; align-items: baseline; margin-bottom: 18px; }
.b60-detail-section > header span { font: 900 10px/1 system-ui, sans-serif; }
.b60-detail-section > header h3 { margin: 0; font: 900 24px/1 Arial, Helvetica, sans-serif; letter-spacing: -.035em; }

.b60-detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid rgba(22,22,20,.26); border-left: 1px solid rgba(22,22,20,.26); }
.b60-detail-facts > div { min-width: 0; padding: 14px; border-right: 1px solid rgba(22,22,20,.26); border-bottom: 1px solid rgba(22,22,20,.26); background: rgba(255,255,255,.45); }
.b60-detail-facts dt { font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; opacity: .56; }
.b60-detail-facts dd { margin: 7px 0 0; font-size: 12px; font-weight: 800; line-height: 1.45; overflow-wrap: anywhere; }
.b60-detail-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.b60-detail-tags span { border: 1px solid #161614; padding: 6px 8px; background: #fff; font: 800 9px/1 system-ui, sans-serif; }

.b60-detail-conditions { margin: 0; padding: 0; list-style: none; }
.b60-detail-conditions li { position: relative; padding: 11px 8px 11px 22px; border-top: 1px solid rgba(22,22,20,.25); font-size: 12px; line-height: 1.5; }
.b60-detail-conditions li::before { content: '—'; position: absolute; left: 0; top: 11px; font-weight: 900; }
.b60-detail-empty { margin: 0; font-size: 12px; line-height: 1.55; opacity: .66; }

.b60-detail-source-list { border-top: 1px solid #161614; }
.b60-detail-source-list a { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 13px 6px; color: inherit; text-decoration: none; border-bottom: 1px solid rgba(22,22,20,.26); }
.b60-detail-source-list a:hover { background: #fff; }
.b60-detail-source-no { font: 900 9px/1 system-ui, sans-serif; opacity: .5; }
.b60-detail-source-copy { min-width: 0; }
.b60-detail-source-copy b { display: block; font: 900 9px/1 system-ui, sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.b60-detail-source-copy strong { display: block; margin-top: 5px; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.b60-detail-source-list em { font-size: 10px; font-style: normal; font-weight: 900; }

.b60-detail-actions {
  position: sticky;
  bottom: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  border-top: 2px solid #161614;
  background: #f2f0e8;
}
.b60-detail-actions a { display: grid; min-height: 62px; place-items: center; padding: 10px 16px; color: inherit; text-decoration: none; font: 900 12px/1.2 system-ui, sans-serif; text-align: center; }
.b60-detail-actions .is-source { border-right: 1px solid #161614; background: #fff; }
.b60-detail-actions .is-primary { background: #161614; color: #f2f0e8; }
.b60-detail-actions small { grid-column: 1 / -1; padding: 8px 12px; border-top: 1px solid #161614; font-size: 9px; line-height: 1.35; text-align: center; opacity: .58; }

@keyframes b60-detail-enter { from { transform: translateX(38px); opacity: .6; } to { transform: translateX(0); opacity: 1; } }

@media (max-width: 760px) {
  .b60-opportunity-detail { grid-template-columns: 1fr; align-items: end; }
  .b60-detail-panel { grid-column: 1; width: 100%; height: 95dvh; border-left: 0; border-top: 2px solid #161614; box-shadow: 0 -12px 0 rgba(0,0,0,.08); }
  .b60-detail-visual img { height: min(34vh, 310px); }
  .b60-detail-intro { padding: 22px 18px 20px; }
  .b60-detail-benefit { font-size: clamp(42px, 14vw, 64px); }
  .b60-detail-intro h2 { font-size: clamp(28px, 8vw, 38px); }
  .b60-detail-truth { grid-template-columns: 1fr; }
  .b60-detail-truth > div { border-right: 0; border-bottom: 1px solid #161614; padding: 13px 16px; }
  .b60-detail-truth > div:last-child { border-bottom: 0; }
  .b60-detail-section { padding: 22px 18px 25px; }
  .b60-detail-facts { grid-template-columns: 1fr; }
  .b60-detail-actions { grid-template-columns: 1fr; }
  .b60-detail-actions .is-source { border-right: 0; border-bottom: 1px solid #161614; }
}

@media (prefers-reduced-motion: reduce) {
  .b60-detail-panel { animation: none; }
}
