/* ==========================================================
   CLIMATE CHANGE ASSESSMENT — climate-change-assessment.css
   ========================================================== */

/* ── Hero ── */
.cca-hero {
  position: relative;
  padding: 80px 0 96px;
  color: #fff;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}
/* .cca-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/Economic-and-sectoral-scenario.jpg') center 40% / cover no-repeat;
  z-index: 0;
} */
.cca-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(3,22,12,0.94) 0%, rgba(5,50,28,0.84) 55%, rgba(10,60,35,0.6) 100%);
  z-index: 0;
}
.cca-hero .tp { position: relative; z-index: 1; }
.cca-hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cca-hero-eyebrow .sep { width: 1px; height: 12px; background: rgba(255,255,255,0.3); }
.cca-hero h1 {
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.07;
  margin: 0 0 24px;
  max-width: 660px;
}
.cca-hero h1 strong { font-weight: 700; }
.cca-hero-lead {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.72;
  color: rgba(255,255,255,0.87);
  max-width: 620px;
  margin: 0;
}

/* ── Sections ── */
.cca-section { padding: 60px 0; }
.cca-section--alt { background: var(--surface-2); }
.cca-section--green {
  background: #062614;
  color: #fff;
}

/* ── Section heading rule ── */
.cca-rule {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 36px;
}
.cca-rule h2 {
  font-size: clamp(17px, 1.9vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}
.cca-rule-line { flex: 1; height: 1.5px; background: var(--border); }
.cca-section--green .cca-rule h2 { color: #fff; }
.cca-section--green .cca-rule-line { background: rgba(255,255,255,0.2); }

/* ── Governance intro two-col ── */
.cca-gov-intro {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--text);
  max-width: 720px;
  margin: 0 0 40px;
}
.cca-gov-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.cca-gov-col h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.3;
}
.cca-gov-col p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--text);
  margin: 0;
}

/* ── Org Chart ── */
.cca-org-section { margin-bottom: 48px; }
.cca-org-section h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.cca-org {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.cca-org-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
  position: relative;
}
/* Connector lines */
.cca-org-connector {
  width: 2px;
  height: 24px;
  background: var(--border);
  margin: 0 auto;
}
.cca-org-branch {
  display: flex;
  justify-content: center;
  gap: 12px;
  position: relative;
  width: 100%;
}
.cca-org-branch::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  height: 2px;
  background: var(--border);
}
.cca-org-branch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}
.cca-org-branch-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 18px;
  background: var(--border);
}
.cca-org-node {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  border: none;
}
.cca-org-node--top {
  background: #1a3a2a;
  color: #fff;
  padding: 12px 32px;
}
.cca-org-node--amber {
  background: #f5a81d;
  color: #1a1a1a;
}
.cca-org-node--green {
  background: #1a3a2a;
  color: #fff;
}
.cca-org-body-text {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  text-align: center;
  margin-top: 8px;
  width: 100%;
}

/* ── Mgmt role + strategy grid ── */
.cca-mgmt-strategy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}
.cca-mgmt-role h3, .cca-strategy-biz h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}
.cca-mgmt-role p, .cca-strategy-biz p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--text);
  margin: 0 0 12px;
}
.cca-march-box {
  background: #005351;
  color: #fff;
  padding: 22px 24px;
  margin-top: 16px;
}
.cca-march-box h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.3;
}
.cca-march-box ul {
  padding-left: 18px;
  margin: 0;
}
.cca-march-box li {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 7px;
  color: rgba(255,255,255,0.9);
}

/* ── Time horizons ── */
.cca-horizons {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text);
}
.cca-horizons span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.cca-hz-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cca-hz-dot--short  { background: #1268b3; }
.cca-hz-dot--medium { background: #f5a81d; }
.cca-hz-dot--long   { background: #00944a; }

/* ── Risks / Opps section header ── */
.cca-ro-head {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 28px 0 0;
}
.cca-ro-head--opp  { background: #005351; }
.cca-ro-head--phys { background: #005351; }
.cca-ro-head--trans{ background: #005351; }

/* ── Opportunities grid ── */
.cca-opp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-top: none;
}
.cca-opp-item {
  padding: 18px 16px 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.cca-opp-item:nth-child(3n) { border-right: none; }
.cca-opp-item:nth-last-child(-n+3) { border-bottom: none; }
.cca-opp-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.3;
}
.cca-opp-item p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 12px;
}
.cca-impact-label {
  display: inline-block;
  background: #bed62f;
  color: #111;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 30px;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  border-radius: 20px;
}
.cca-impact-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cca-icon-dot {
  width: 30px;
  height: 18px;
  border-radius: 20px;
  flex-shrink: 0;
}
.cca-icon-dot--short  { background: #1968b3; }
.cca-icon-dot--medium { background: #ffcb1f; }
.cca-icon-dot--long   { background: #00ac5c; }
.cca-icon-plus, .cca-icon-minus {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  /* border: 2px solid; */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
/* .cca-icon-plus  { border-color: #00944a; color: #00944a; }
.cca-icon-minus { border-color: #dc4d28; color: #dc4d28; } */
.cca-icon-sector {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  color: #fff;
}
.cca-icon-sector--ren  { background: #00944a; }
.cca-icon-sector--td   { background: #1268b3; }
.cca-icon-sector--th   { background: #f5a81d; color: #111; }

/* ── Physical / Transition risk cards ── */
.cca-risk-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-top: none;
}
.cca-risk-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-top: none;
}
.cca-risk-four-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-top: none;
}
.cca-risk-item {
  padding: 18px 16px 16px;
  border-right: 1px solid var(--border);
  background: var(--surface);
}
.cca-risk-item:last-child { border-right: none; }
.cca-risk-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}
.cca-risk-item p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text);
  margin: 10px 0 10px;
}
.cca-scenario-note {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}
.cca-scenario-note strong { font-weight: 700; color: var(--text); }

/* ── IRO Legend ── */
.cca-iro-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 20px;
  padding: 16px 0 0;
  border-top: 1px solid var(--border);
}
.cca-iro-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text);
}

/* ── Risk Management 3-col ── */
.cca-riskm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}
.cca-riskm-card {
  padding: 0;
  border-right: 1px solid var(--border);
}
.cca-riskm-card:last-child { border-right: none; }
.cca-riskm-head {
  background: #005351;
  color: #fff;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  min-height: 72px;
  display: flex;
  align-items: center;
}
.cca-riskm-body {
  padding: 18px 20px;
  background: var(--surface);
}
.cca-riskm-body p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 10px;
}
.cca-riskm-body p:last-child { margin-bottom: 0; }

/* ── Metrics Table ── */
.cca-metrics-container {
  overflow-x: auto;
  border: 1px solid var(--border);
}
.cca-metrics-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}
.cca-metrics-section-head {
  background: #1268b3;
  color: #fff;
}
.cca-metrics-section-head td {
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 700;
  border: none;
}
.cca-metrics-table thead th {
  background: var(--surface-2);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  padding: 9px 14px;
  border: 1px solid var(--border);
  text-align: left;

  &:nth-child(3) {
    background: #8dd8f8; text-align: right;}

    &:last-child {
      text-align: right;
    }

}
.cca-metrics-table tbody td {
  padding: 10px 14px;
  font-size: 16px;
  color: var(--text);
  border: 1px solid var(--border);
  vertical-align: top;
  background: var(--surface);

  &:nth-child(3) {
    background: #8dd8f8; text-align: right;}

     &:last-child {
      text-align: right;
    }
}
/* .cca-metrics-table tbody tr:nth-child(even) td { background: var(--surface-2); } */
.cca-metrics-table .cca-metrics-section-head td { background: #1268b3; color: #fff; }
.cca-val-strong {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  display: block;
}
.cca-val-sub {
  font-size: 14px;
  color: #000;
  font-weight: 300;
  display: block;
  margin-top: 1px;
}
.cca-metrics-note-row td {
  font-size: 11px;
  color: var(--muted);
  /* font-style: italic; */
  background: var(--surface-2) !important;
  padding: 6px 14px !important;
}

/* ── Targets & Progress ── */
.cca-tp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cca-tp-card {
  border: 1px solid var(--border);
  overflow: hidden;
}
.cca-tp-head {
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cca-tp-head--targets  { background: #1268b3; }
.cca-tp-head--progress { background: #1a3a2a; }
.cca-tp-head svg { width: 16px; height: 16px; }
.cca-tp-body {
  padding: 18px 20px;
  background: var(--surface);
}
.cca-tp-body ul { padding-left: 18px; margin: 0; }
.cca-tp-body li {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 8px;
}
.cca-tp-body li:last-child { margin-bottom: 0; }

/* ── Nature / TNFD section ── */
.cca-nature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.cca-nature-col h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}
.cca-nature-col p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--text);
  margin: 0 0 12px;
}
.cca-sdg-list {
   padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cca-sdg-item {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text);
}
 
.cca-sdg-num {
  font-weight: 700;
  color: #000;
  flex-shrink: 0;
  font-size: 13px;
  min-width: 52px;
}

.cca-sdg-list1 {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.cca-sdg-item {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.55;
    color: var(--text);
    margin-bottom: 5px;
    display: list-item; /* or simply remove display:flex */
}

/* ── Biodiversity Table ── */
.cca-bio-container {
  overflow-x: auto;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.cca-bio-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
}
.cca-bio-table thead th {
  background: #1268b3;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 14px;
  border-right: 2px solid rgba(255,255,255,0.2);
  text-align: left;
  line-height: 1.3;
}
.cca-bio-table thead th:last-child { border-right: none; }
.cca-bio-table td {
  padding: 9px 14px;
  font-size: 13px;
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--surface);
}
.cca-bio-table tbody tr:nth-child(even) td { 
  /* background: var(--surface-2); */
 }
.cca-bio-level {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
}
.cca-bio-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cca-bio-dot--vh    { background: #28327f; }
.cca-bio-dot--high  { background: #f5a81d; }
.cca-bio-dot--med   { background: #dc4d28; }
.cca-bio-dot--low   { background: #00944a; }
.cca-bio-dot--vlow  { background: #00944a; }
.cca-bio-dot--dlow  { background: #005350; }
.cca-bio-dot--na    { background: #ccc; }

/* ── Mitigation Hierarchy Table ── */
.cca-mh-container {
  overflow-x: auto;
  border: 1px solid var(--border);
}
.cca-mh-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}
.cca-mh-table thead th {
  background: #1268b3;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 16px;
  border-right: 2px solid rgba(255,255,255,0.2);
  text-align: left;
}
.cca-mh-table thead th:last-child { border-right: none; }
.cca-mh-table td {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text);
  border: 1px solid var(--border);
  vertical-align: top;
  background: var(--surface);
  line-height: 1.6;


}

.cca-mh-table td:nth-child(1) {
  background-color: #c3e9fc;
}

.cca-mh-table td:nth-child(2) {
  background-color: #fafcf2;
}

.cca-mh-table td:nth-child(3) {
  background-color: #ebf6f4;
}
/* .cca-mh-table tbody tr:nth-child(even) td { background: var(--surface-2); } */
.cca-mh-table ul { padding-left: 16px; margin: 0; }
.cca-mh-table li { margin-bottom: 5px; font-size: 13px; line-height: 1.55; }
.cca-mh-level {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
  /* color: #fff;
  background: #1a3a2a; */
  border-radius: 2px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .cca-gov-two-col { grid-template-columns: 1fr; }
  .cca-opp-grid { grid-template-columns: 1fr 1fr; }
  .cca-riskm-grid { grid-template-columns: 1fr; }
  .cca-riskm-card { border-right: none; border-bottom: 1px solid var(--border); }
  .cca-riskm-card:last-child { border-bottom: none; }
  .cca-tp-grid { grid-template-columns: 1fr; }
  .cca-nature-grid { grid-template-columns: 1fr; }
  .cca-risk-four-col { grid-template-columns: 1fr 1fr; }
  .cca-mgmt-strategy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .cca-hero { padding: 56px 0 68px; }
  .cca-section { padding: 44px 0; }
  .cca-opp-grid { grid-template-columns: 1fr; }
  .cca-risk-two-col { grid-template-columns: 1fr; }
  .cca-risk-three-col { grid-template-columns: 1fr; }
  .cca-risk-four-col { grid-template-columns: 1fr; }
  .cca-horizons { gap: 16px; }
  .cca-rule h2 { white-space: normal; }
}

/* ── Anim base ── */
.anim { opacity: 0; transform: translateY(22px); }
