diff --git a/_tabs/3_Assessment.md b/_tabs/3_Assessment.md index e5689c4..664ceba 100644 --- a/_tabs/3_Assessment.md +++ b/_tabs/3_Assessment.md @@ -111,7 +111,7 @@ permalink: /assessment/
-
+
Duration
@@ -119,7 +119,7 @@ permalink: /assessment/
-
+
Key Phases
@@ -141,7 +141,7 @@ permalink: /assessment/
-
+
Assessment Lead
@@ -155,7 +155,7 @@ permalink: /assessment/
-
+
Team Member
@@ -169,7 +169,7 @@ permalink: /assessment/
-
+
Subject Matter Expert
@@ -183,7 +183,7 @@ permalink: /assessment/
-
+
Agency Representative
@@ -202,7 +202,7 @@ permalink: /assessment/
Assessment Tools
-
+
Asana
@@ -241,7 +241,7 @@ permalink: /assessment/
-
+
Report Generation Tool (RGT)
@@ -285,7 +285,7 @@ permalink: /assessment/
-
+
Agency Interviews
@@ -347,7 +347,7 @@ permalink: /assessment/
-
+
Solution Development
@@ -388,7 +388,7 @@ permalink: /assessment/
-
+
Report Writing
@@ -449,20 +449,24 @@ function toggleCard(button) { } // Add event listeners to close cards on outside click -document.addEventListener('click', (e) => { - if (!e.target.closest('.card-header')) { - document.querySelectorAll('.card-header').forEach(header => { - header.classList.remove('active'); - const content = header.nextElementSibling; - if (content) { - content.classList.remove('show'); - } - const chevron = header.querySelector('.chevron'); - if (chevron) { - chevron.style.transform = ''; - } - }); - } +document.addEventListener('DOMContentLoaded', function() { + // Add event listeners to close assessment cards on outside click + document.addEventListener('click', (e) => { + if (!e.target.closest('.assessment-assessment-card-header')) { // Make selector more specific + document.querySelectorAll('.assessment-assessment-card-header').forEach(header => { + header.classList.remove('active'); + const content = header.nextElementSibling; + if (content) { + content.classList.remove('show'); + } + const chevron = header.querySelector('.chevron'); + if (chevron) { + chevron.style.transform = ''; + } + }); + } + e.stopPropagation(); // Prevent event from bubbling up + }, true); }); @@ -566,7 +570,7 @@ document.addEventListener('click', (e) => { box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } -.card-header { +.assessment-card-header { display: flex; align-items: center; gap: 0.75rem; @@ -582,7 +586,7 @@ document.addEventListener('click', (e) => { transition: transform 0.3s ease; } -.card-header.active .chevron { +.assessment-card-header.active .chevron { transform: rotate(180deg); } @@ -592,7 +596,7 @@ document.addEventListener('click', (e) => { transition: all 0.3s ease; } -.card-header.active + .card-content { +.assessment-card-header.active + .card-content { display: block; } @@ -984,7 +988,7 @@ body { box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } -.card-header { +.assessment-card-header { padding: 1rem; cursor: pointer; display: flex; @@ -995,11 +999,11 @@ body { transition: all 0.2s ease; } -.card-header:hover { +.assessment-card-header:hover { background: #f9fafb; } -.card-header h3 { +.assessment-card-header h3 { margin: 0; font-size: 1rem; color: #2c3e50; @@ -1012,7 +1016,7 @@ body { color: #64748b; } -.card-header.active .chevron { +.assessment-card-header.active .chevron { transform: rotate(180deg); } @@ -1123,7 +1127,7 @@ ul li { page-break-inside: avoid; } - .card-header { + .assessment-card-header { background: none; }