/* Page-specific styles */

/* ===== HERO THEME ===== */
.article-hero { background: #fefce8; }
.article-tag-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.article-hero-sub { color: #555; }
.article-meta-read { color: #666; }
.article-cta { background: #fefce8; border: 2px solid #e8dca0; }
.article-cta p { color: #555; }
.article-cta a.secondary { color: var(--brand-green-dark); border: 2px solid var(--brand-green); }

/* ===== HOUR FLOW ===== */
.ws-flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 36px 0 48px;
  position: relative;
}
.ws-flow::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(25% + 10px);
  right: calc(25% + 10px);
  height: 2px;
  background: linear-gradient(90deg, #eef5e8, #fefce8);
  z-index: 0;
}
.ws-step {
  background: #eef5e8;
  border: 2px solid #d4e8a8;
  border-radius: 16px;
  padding: 28px 20px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.ws-num {
  width: 52px; height: 52px;
  background: #eef5e8; color: var(--brand-green-dark);
  font-size: 22px; font-weight: 900; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 16px rgba(98,181,23,0.3);
}
.ws-step-title { font-size: 15px; font-weight: 900; color: #1a1a1a; margin-bottom: 8px; }
.ws-step-desc  { font-size: 13px; color: #555; line-height: 1.6; }
@media (max-width: 560px) {
  .ws-flow { grid-template-columns: 1fr; }
  .ws-flow::before { display: none; }
}

/* ===== WORKSHOP REFERENCE CARDS ===== */
.ws-ref-card {
  background: #fff;
  border: 2px solid #d4e8a8;
  border-radius: 16px;
  padding: 28px 28px 24px;
  margin: 28px 0;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.ws-ref-card.hour-two { border-color: #c04040; }
.ws-ref-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.ws-ref-body { flex: 1; }
.ws-ref-hour {
  font-size: 9px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 6px;
}
.ws-ref-title { font-size: 18px; font-weight: 900; color: #1a2a0a; margin-bottom: 8px; line-height: 1.3; }
.ws-ref-desc { font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 16px; }
.ws-ref-timing {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px;
}
.ws-ref-timing-pill {
  font-size: 11px; font-weight: 900;
  padding: 4px 12px; border-radius: 20px;
  background: #eef5e8; color: #2a7a10;
  letter-spacing: 0.3px;
}
.ws-ref-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 900;
  text-decoration: none; padding: 10px 18px; border-radius: 8px;
  transition: background 0.15s, transform 0.15s, border-color 0.15s, color 0.15s;
  background: #eef5e8; color: var(--brand-green-dark);
  border: 2px solid var(--brand-green);
  box-shadow: 0 2px 8px rgba(98,181,23,0.25);
}
.ws-ref-link:hover { border-color: var(--brand-green-dark); color: var(--brand-green-dark); transform: translateY(-1px); }
.ws-ref-link.red { background: #fefce8; color: #a04010; border: 2px solid #c04040; box-shadow: 0 2px 8px rgba(192,64,64,0.25); }
.ws-ref-link.red:hover { border-color: #9a2a2a; color: #9a2a2a; }
@media (max-width: 560px) {
  .ws-ref-card { flex-direction: column; }
}

/* ===== KILL CHAIN ===== */
.killchain {
  background: #eef5e8;
  border-radius: 14px;
  padding: 28px 24px;
  margin: 28px 0;
}
.killchain-title {
  font-size: 10px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--brand-green-dark); margin-bottom: 20px;
}
.killchain-stages {
  display: flex; gap: 0; overflow-x: auto;
  margin-bottom: 24px;
}
.kc-stage {
  flex: 1; min-width: 80px;
  text-align: center; padding: 10px 6px;
  background: rgba(98,181,23,0.1);
  border: 1px solid rgba(98,181,23,0.2);
}
.kc-stage:first-child { border-radius: 8px 0 0 8px; }
.kc-stage:last-child  { border-radius: 0 8px 8px 0; }
.kc-stage + .kc-stage { border-left: none; }
.kc-num  { font-size: 9px; font-weight: 900; color: var(--brand-green-dark); opacity: 0.7; margin-bottom: 4px; }
.kc-name { font-size: 10px; font-weight: 900; color: #1a2a0a; line-height: 1.3; }
.kc-example-label {
  font-size: 9px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 2px; color: var(--brand-green-dark); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.kc-example-label span {
  background: rgba(209,219,36,0.15); color: #2a4010;
  padding: 2px 8px; border-radius: 4px; font-size: 9px;
}
.kc-rows { display: flex; flex-direction: column; gap: 10px; }
.kc-row {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(98,181,23,0.15);
  border-radius: 10px; padding: 12px 14px;
}
.kc-row-badge {
  flex-shrink: 0; min-width: 100px;
  padding: 4px 10px; border-radius: 6px;
  font-size: 9px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 1.2px; text-align: center; line-height: 1.5;
  margin-top: 1px;
}
.kc-row-text {
  font-size: 13px; color: #444; line-height: 1.7; font-weight: 600;
}

/* ===== NIST TABLE ===== */
.nist-table {
  width: 100%; border-collapse: collapse;
  margin: 24px 0; font-size: 14px;
  border-radius: 12px; overflow: hidden;
}
.nist-table th {
  background: #eef5e8; color: #1a2a0a;
  font-size: 10px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 2px;
  padding: 12px 16px; text-align: left;
}
.nist-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e8f0d8;
  background: #fff; vertical-align: top;
}
.nist-table tr:last-child td { border-bottom: none; }
.nist-fn { font-size: 13px; font-weight: 900; color: #1a2a0a; margin-bottom: 3px; }
.nist-q  { font-size: 12px; color: #444; line-height: 1.55; font-weight: 600; }
.nist-badge {
  display: inline-block; padding: 3px 8px;
  border-radius: 5px; font-size: 9px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-right: 6px; white-space: nowrap;
}
.nb-gv  { background: #eef5e8; color: #2a3560; }
.nb-id  { background: #fefce8; color: #1e3a8a; }
.nb-pr  { background: #eef5e8; color: #2a7a10; }
.nb-de  { background: #fefce8; color: #7a6000; }
.nb-rs  { background: #eef5e8; color: #a04010; }
.nb-rc  { background: #fefce8; color: #5a1a9a; }

/* Heading/CTA text darkened to read on the pale hero/CTA background (was inheriting white from blog.css) */
.article-hero h1 { color: #1a1a1a; }
.article-hero h1 em { color: var(--brand-green-dark); }
.article-cta h3 { color: #1a1a1a; }
