/* ═══════════════════════════════════════════════════════
   SYNE Carbon — resources.css
   Only classes NOT in styles.css
═══════════════════════════════════════════════════════ */

/* ── Nav active ────────────────────────────────────── */
.res-nav-active { color: var(--blue) !important; }

/* ══════════════════════════════════════════════════════
   SHARED SECTION HEADER  (2-col: title | cta)
══════════════════════════════════════════════════════ */
.res-sec-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 36px;
}

/* ══════════════════════════════════════════════════════
   01 METHODOLOGY CARDS
══════════════════════════════════════════════════════ */
.res-meth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.res-meth-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.res-meth-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
  border-color: var(--blue-mid);
}
.res-meth-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  border: 1px solid;
  display: grid; place-items: center;
  margin-bottom: 14px; flex-shrink: 0;
}
.res-meth-icon svg {
  width: 18px; height: 18px;
  stroke: var(--ink-2); fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.res-meth-num {
  font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 5px;
}
.res-meth-title {
  font-size: 15px; font-weight: 700;
  color: var(--ink); margin-bottom: 9px; line-height: 1.3;
}
.res-meth-desc {
  font-size: 13px; line-height: 1.68;
  color: var(--ink-3); flex: 1; margin-bottom: 14px;
}
.res-meth-meta {
  display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px;
}
.res-meth-tag {
  font-size: 10px; font-weight: 600;
  background: var(--bg-grey); border: 1px solid var(--line);
  border-radius: 3px; padding: 3px 8px; color: var(--ink-3);
}
.res-meth-link {
  font-size: 13px; font-weight: 700;
  color: var(--blue); margin-top: auto;
  transition: opacity .15s;
}
.res-meth-link:hover { opacity: .7; }

/* Methodology callout bar */
.res-callout {
  background: var(--blue-lt);
  border: 1px solid var(--blue-mid);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex; align-items: flex-start;
  gap: 16px;
}
.res-callout-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(57,172,231,.15);
  border-radius: var(--r);
  display: grid; place-items: center;
}
.res-callout-icon svg {
  width: 18px; height: 18px;
  stroke: var(--blue); fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.res-callout-title {
  font-size: 14px; font-weight: 700;
  color: var(--ink); margin-bottom: 5px;
}
.res-callout-desc {
  font-size: 13px; line-height: 1.65; color: var(--ink-3); flex: 1;
}

/* ══════════════════════════════════════════════════════
   02 RESEARCH — FEATURED REPORT
══════════════════════════════════════════════════════ */
.res-featured {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--sh-sm);
}
.res-featured-label {
  font-size: 9.5px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--blue);
  padding: 12px 28px;
  background: var(--blue-lt);
  border-bottom: 1px solid var(--blue-mid);
}
.res-featured-inner {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 0;
}
.res-featured-left  { padding: 32px 36px; }
.res-featured-right {
  background: var(--bg-navy);
  padding: 32px 28px;
  display: flex; align-items: center; justify-content: center;
}
.res-featured-cat {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.res-featured-date  { font-size: 12px; color: var(--ink-4); }
.res-featured-title {
  font-size: 22px; font-weight: 700; line-height: 1.25;
  letter-spacing: -.02em; color: var(--ink);
  margin-bottom: 14px;
}
.res-featured-desc  {
  font-size: 14px; line-height: 1.72;
  color: var(--ink-3); margin-bottom: 24px;
}
.res-featured-stats {
  display: flex; gap: 28px; margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.res-feat-stat {}
.res-feat-val {
  font-size: 20px; font-weight: 700;
  color: var(--ink); letter-spacing: -.02em; line-height: 1;
  margin-bottom: 3px;
}
.res-feat-lbl { font-size: 11px; color: var(--ink-4); text-transform: uppercase; letter-spacing: .05em; }

/* Report cover graphic */
.res-report-cover {
  width: 220px;
  background: var(--blue);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,.35);
  overflow: hidden;
}
.res-report-cover-inner { padding: 22px 20px 20px; }
.res-report-cover-eyebrow {
  font-size: 8px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
  margin-bottom: 12px;
}
.res-report-cover-year {
  font-size: 56px; font-weight: 700; line-height: 1;
  color: #fff; letter-spacing: -.04em; margin-bottom: 10px;
}
.res-report-cover-title {
  font-size: 14px; font-weight: 700; line-height: 1.3;
  color: #fff; margin-bottom: 5px;
}
.res-report-cover-sub {
  font-size: 10px; color: rgba(255,255,255,.55);
  margin-bottom: 18px;
}
.res-report-cover-bar {
  height: 2px; background: rgba(255,255,255,.25); margin-bottom: 16px;
}
.res-report-cover-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.res-rcs-val {
  font-size: 15px; font-weight: 700; color: #fff; line-height: 1;
  margin-bottom: 2px;
}
.res-rcs-val span { font-size: 11px; }
.res-rcs-lbl { font-size: 8px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .05em; }

/* Research report grid */
.res-report-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.res-report-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.res-report-card:hover {
  box-shadow: var(--sh-md); transform: translateY(-2px);
  border-color: var(--blue-mid);
}
.res-report-card-top {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 12px;
}
.res-card-date   { font-size: 11px; color: var(--ink-4); }
.res-report-card-title {
  font-size: 14px; font-weight: 700; line-height: 1.45;
  color: var(--ink); margin-bottom: 10px; flex: 1;
}
.res-report-card-desc {
  font-size: 12.5px; line-height: 1.65;
  color: var(--ink-3); margin-bottom: 16px; flex: 1;
}
.res-report-card-foot {
  display: flex; justify-content: space-between;
  align-items: center; padding-top: 12px;
  border-top: 1px solid var(--line);
}
.res-card-pages  { font-size: 11.5px; color: var(--ink-4); }
.res-report-link {
  font-size: 12.5px; font-weight: 700; color: var(--blue);
  transition: opacity .15s;
}
.res-report-link:hover { opacity: .7; }

/* ══════════════════════════════════════════════════════
   03 API PANEL  (inside intel-sec dark background)
══════════════════════════════════════════════════════ */
.res-api-panel {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  overflow: hidden;
  font-family: 'Courier New', monospace;
}
.res-api-chrome {
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
}
.res-api-chrome-title {
  font-family: var(--font);
  font-size: 10px; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  color: rgba(255,255,255,.3); flex: 1; text-align: center;
}
.res-api-body    { padding: 20px; }
.res-api-comment { font-size: 12px; color: rgba(255,255,255,.28); margin-bottom: 6px; }
.res-api-line    { font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 14px; }
.res-api-method  { color: var(--blue); font-weight: 700; }
.res-api-param   { color: var(--amber); }
.res-api-spacer  { height: 1px; background: rgba(255,255,255,.08); margin-bottom: 14px; }
.res-api-json    { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.8; }
.res-api-indent  { padding-left: 14px; }
.res-api-key     { color: #7DD3FC; }
.res-api-str     { color: #86EFAC; }
.res-api-num     { color: var(--amber); }

/* ══════════════════════════════════════════════════════
   04 BLOG GRID
══════════════════════════════════════════════════════ */
.res-blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.res-blog-card {
  background: var(--bg-grey);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.res-blog-card:hover {
  box-shadow: var(--sh-md); transform: translateY(-2px);
  border-color: var(--blue-mid);
}
.res-blog-featured { grid-row: 1 / 3; background: #fff; }
.res-blog-cat    { margin-bottom: 12px; }
.res-blog-title  {
  font-size: 15px; font-weight: 700; line-height: 1.4;
  color: var(--ink); margin-bottom: 10px; flex: 1;
}
.res-blog-featured .res-blog-title { font-size: 18px; }
.res-blog-excerpt {
  font-size: 13px; line-height: 1.68;
  color: var(--ink-3); margin-bottom: 20px; flex: 1;
}
.res-blog-foot   {
  display: flex; justify-content: space-between;
  align-items: center; padding-top: 14px;
  border-top: 1px solid var(--line); margin-top: auto;
}
.res-blog-author {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; color: var(--ink-3);
}
.res-blog-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
}
.res-blog-date { font-size: 11.5px; color: var(--ink-4); }

/* ══════════════════════════════════════════════════════
   05 GLOSSARY
══════════════════════════════════════════════════════ */
.res-gloss-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.res-gloss-section {}
.res-gloss-letter {
  font-size: 42px; font-weight: 700;
  color: var(--blue); letter-spacing: -.04em;
  line-height: 1; margin-bottom: 16px;
  border-bottom: 2px solid var(--blue-mid);
  padding-bottom: 10px;
}
.res-gloss-terms { display: flex; flex-direction: column; gap: 0; }
.res-gloss-term  {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.res-gloss-term:last-child { border-bottom: none; }
.res-gloss-term-name {
  font-size: 14px; font-weight: 700;
  color: var(--ink); margin-bottom: 5px;
}
.res-gloss-term-def {
  font-size: 12.5px; line-height: 1.65; color: var(--ink-3);
}
.res-gloss-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════
   06 WEBINARS / EVENTS
══════════════════════════════════════════════════════ */
.res-event-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.res-event-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.res-event-card:hover {
  box-shadow: var(--sh-md); transform: translateY(-2px);
  border-color: var(--blue-mid);
}
.res-event-upcoming {
  border-color: var(--blue-mid);
  background: var(--blue-lt);
}
.res-event-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue);
}
.res-event-recorded { color: var(--ink-4); }
.res-event-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); display: inline-block;
  animation: blink 1.8s ease infinite;
}
.res-event-date-block { display: flex; align-items: baseline; gap: 6px; }
.res-event-day {
  font-size: 32px; font-weight: 700; line-height: 1;
  color: var(--ink); letter-spacing: -.04em;
}
.res-event-month { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.res-event-title {
  font-size: 14px; font-weight: 700; line-height: 1.4;
  color: var(--ink); flex: 1;
}
.res-event-desc  { font-size: 12.5px; line-height: 1.65; color: var(--ink-3); }
.res-event-meta  {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 4px; font-size: 11.5px; color: var(--ink-4);
}
.res-event-format { font-weight: 500; }
.res-event-reg   { font-weight: 600; color: var(--blue); }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .res-sec-header      { grid-template-columns: 1fr; gap: 16px; }
  .res-meth-grid       { grid-template-columns: 1fr 1fr; }
  .res-featured-inner  { grid-template-columns: 1fr; }
  .res-featured-right  { display: none; }
  .res-report-grid     { grid-template-columns: 1fr 1fr; }
  .res-blog-grid       { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .res-blog-featured   { grid-row: auto; grid-column: 1 / -1; }
  .res-gloss-grid      { grid-template-columns: 1fr 1fr; }
  .res-event-grid      { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .res-meth-grid       { grid-template-columns: 1fr; }
  .res-report-grid     { grid-template-columns: 1fr; }
  .res-blog-grid       { grid-template-columns: 1fr; }
  .res-gloss-grid      { grid-template-columns: 1fr; }
  .res-event-grid      { grid-template-columns: 1fr; }
  .res-callout         { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .res-featured-stats  { flex-wrap: wrap; gap: 16px; }
}
