/* ENGAGEMENTS.CSS
   Styles for specific engagement pages (Foundational, Enablement, etc.)
   Relies on variables defined in styles.css
*/

/* --- Hero Section --- */
.engagement-hero {
    padding: 80px 0 60px 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid var(--border-color);
}

.engagement-hero .eyebrow {
    display: block;
    font-family: var(--font-header);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--medium-green);
    margin-bottom: 10px;
}

.engagement-hero h1 {
    font-family: var(--font-header);
    font-size: 3rem;
    color: var(--dark-green);
    margin-bottom: 20px;
    max-width: 800px;
}

.engagement-hero .hero-sub {
    font-size: 1.3rem;
    color: #555;
    max-width: 700px;
    line-height: 1.5;
}

/* --- Layout Grid (Sidebar vs Content) --- */
.engagement-content {
    padding: 60px 0;
}

.grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Content takes 2/3, Sidebar takes 1/3 */
    gap: 60px;
}

/* --- Main Content Typography --- */
.main-content h2 {
    font-family: var(--font-header);
    font-size: 1.8rem;
    color: var(--dark-green);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.main-content h2:first-child {
    margin-top: 0;
}

.main-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.main-content h3 {
    font-family: var(--font-header);
    font-size: 1.4rem;
    color: var(--dark-green);
    margin-bottom: 15px;
}

/* --- Feature Boxes & Lists --- */
.highlight-box {
    background-color: var(--bg-light);
    border-left: 4px solid var(--medium-green);
    padding: 30px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.check-list, .bullet-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

/* Updated for Font Awesome 7 Pro */
.check-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.check-list li::before {
    content: '\f00c'; /* FA Checkmark */
    font-family: "Font Awesome 7 Pro";
    font-weight: 900;
    color: var(--medium-green);
    position: absolute;
    left: 0;
    top: 3px;
}

/* Updated to fix encoding glitch */
.bullet-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.bullet-list li::before {
    content: "\f111"; /* FA Circle (cleaner than standard bullet) */
    font-family: "Font Awesome 7 Pro";
    font-weight: 900;
    color: var(--medium-green);
    font-size: 0.5em; /* Scaled down to look like a bullet */
    position: absolute;
    left: 0;
    top: 9px; /* Adjusted top alignment for the smaller icon */
}

.subtle-note {
    font-size: 0.85rem !important;
    color: #888 !important;
    font-style: italic;
    line-height: 1.4 !important;
    margin: 40px auto;
    display: block;
}

/* --- Sidebar Styling --- */
.sidebar {
    position: sticky;
    top: 100px; /* Sticks when scrolling */
    height: fit-content;
}

.sidebar-card {
    background: white;
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.sidebar-card h3 {
    font-family: var(--font-header);
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--dark-green);
    text-align: center;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.detail-row:last-of-type {
    border-bottom: none;
}

.detail-row .label {
    font-weight: bold;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-row .label i {
    color: var(--medium-green);
}

.detail-row .value {
    font-weight: 700;
    color: var(--dark-green);
}

/* Implementation Credit Box */
.credit-notice {
    background-color: #eef5f1;
    border: 1px solid #cce5d6;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    font-size: 0.9rem;
    color: #2c5e42;
}

.credit-notice strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark-green);
}

.credit-notice a {
    color: var(--dark-green);
    text-decoration: underline;
    font-weight: 700;
}

.sidebar-note {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    font-style: italic;
    line-height: 1.4;
}

.full-width {
    width: 100%;
    text-align: center;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .grid-layout {
        grid-template-columns: 1fr; /* Stack sidebar under content on mobile */
        gap: 40px;
    }

    .sidebar {
        position: static; /* Remove sticky on mobile */
    }

    .engagement-hero h1 {
        font-size: 2.2rem;
    }
}