@charset "UTF-8";
/* CSS Document */

:root {
    --primary-blue: #044f7c;         /* Core Brand Dark Blue */
    --accent-blue: #2c6e9c;          /* Mid-Tone Pathway Blue */
    --gold-accent: #ffc60b;          /* Accent Gold Line */
    --bg-light-gray: #fdfdfd;
    --border-gray: #ccc;             /* Matches main site table borders */
    --highlight-bg: #eaf2f8;         /* High-visibility active row soft fill */
    --highlight-border: #2c6e9c;     /* Activated card profile edge lines */
    --text-dark: #0a141d;            /* Main font color anchor */
}

/* FIXED: Removed the extra stray closing bracket here */
body { 
    background-image: linear-gradient(to right bottom, #ffffff, #c3e3fd, #f3faff); 
}

.instruction-text {
    color: #444;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* ============================================================
   DESKTOP TABLE STYLES (Applies to wide screens)
   ============================================================ */
.pathway-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.20);
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-gray);
    background-color: #fff;
    margin-bottom: 4vw;
}

.pathway-table th {
    background-color: var(--primary-blue);
    color: white;
    text-align: left;
    padding: 16px 18px;
    font-size: 1.35rem;
	line-height: 1.45rem;
    letter-spacing: 0.05em;
    border-bottom: 3px solid var(--gold-accent); 
}

.pathway-table td {
    padding: 18px;
    border-bottom: 1px solid var(--border-gray);
    vertical-align: top;
}

/* Column Width Layouts */
.col-stage {
    width: 20%;
    font-weight: 700;
    background-color: #4b8cc0;
    font-size: 1.05rem;
    color: #fff;
    border-right: 1px solid var(--border-gray); 
}

.col-stage img { 
    width: 90%;
}

.col-credential {
    width: 40%;
    border-right: 1px solid var(--border-gray); 
}

.col-roles {
    width: 40%;
}
        
.color0 { background-color: #000000 !important;  background: linear-gradient(to bottom, #053a60, #044d7a);}
.color1 { background-color: #2c6e9c; font-size: 18px; }
.color2 { background-color: #4b8cc0; font-size: 18px; }
.color3 { background-color: #011a28; font-size: 18px; }
.color4 { background-color: #023452; font-size: 18px; }

.pathwayWedge { 
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

/* Interactive Items styling */
.credential-item {
    display: block;
    padding: 10px 14px;
    margin-bottom: 8px;
    background-color: #fff;
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    font-weight: 500;
}

.credential-item:hover {
    border-color: var(--accent-blue);
    background-color: var(--highlight-bg);
    color: var(--primary-blue);
}

.credential-item.active {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
}

.role-item {
    display: block;
    padding: 10px 14px;
    margin-bottom: 8px;
    background-color: #fff;
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    opacity: 0.35; 
}

.empOpps {
    display: block;
    text-align: center;
    padding: 10px 14px;
    margin-bottom: 8px;
    background: linear-gradient(to bottom, #034f7c, #2c6e9c);
    color: #fff;
    border: 1px solid var(--border-gray);
    border-radius: 22px;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    width: 60%;
    line-height: 1.2em;
}

.empOpps a:link, .empOpps a:visited { 
    color: #ffffff; 
    text-decoration: none; 
}
.empOpps a:hover { color: #ffc50a; }
.empOpps a:active { color: red; }

/* Highlight state logic */
.role-item.highlighted {
    opacity: 1 !important;
    background-color: var(--highlight-bg);
    border-color: var(--highlight-border);
    color: var(--primary-blue);
    font-weight: 700;
    transform: translateX(4px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* Default state rule: if no credential is clicked, all roles show normally */
.pathway-table:not(.filtering) .role-item {
    opacity: 1;
}


        /* 1. Force pointer hand cursor on both sides */

        .credential-item, .role-item {

            cursor: pointer !important;

        }



        /* 2. REVERSE INTERACTION VISUALS: What happens when clicking a Career Role (Right Column) */



        /* Dim all credential items on the left when a right-side role is clicked */

        .pathway-table.filtering-roles .credential-item {

            opacity: 0.35;

        }



        /* Keep the clicked career role solid and highlighted */

        .role-item.active {

            background-color: #044f7c !important; /* var(--primary-blue) */

            color: white !important;

            border-color: #044f7c !important;

            opacity: 1 !important;

        }



        /* Light-blue highlight effect for the matching credentials on the left */

        .credential-item.highlighted {

            opacity: 1 !important;

            background-color: #eaf2f8 !important; /* var(--highlight-bg) */

            border-color: #2c6e9c !important; /* var(--highlight-border) */

            color: #044f7c !important; /* var(--primary-blue) */

            font-weight: 700;

            transform: translateX(4px);

            box-shadow: 0 2px 6px rgba(0,0,0,0.04);

        }



        /* 3. FORWARD INTERACTION VISUALS (Fallback rules preserved from original layout) */

        .pathway-table.filtering .role-item {

            opacity: 0.35;

        }



        .credential-item.active {

            background-color: #044f7c !important;

            color: white !important;

            border-color: #044f7c !important;

            opacity: 1 !important;

        }



        .role-item.highlighted {

            opacity: 1 !important;

            background-color: #eaf2f8 !important;

            border-color: #2c6e9c !important;

            color: #044f7c !important;

            font-weight: 700;

            transform: translateX(4px);

        }

            .pathway-table .credential-item:hover {

                border-color: #2c6e9c !important; /* Hardcoded fallback for var(--accent-blue) */

                background-color: #eaf2f8 !important; /* Hardcoded fallback for var(--highlight-bg) */

                color: #044f7c !important; /* Hardcoded fallback for var(--primary-blue) */

                cursor: pointer !important;

            }



            #pathwayTable:not(.filtering) .role-item:hover {

                border-color: #2c6e9c !important;

                background-color: #eaf2f8 !important;

                color: #044f7c !important;

                cursor: pointer !important;

            }



/* ============================================================
   MOBILE RESPONSIVE STACK (Strictly bounded inside 768px)
   ============================================================ */
@media (max-width: 768px) {
    
    /* Strip the background, border, and shadow from the master table container container */
    .pathway-table {
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* Reset table layout structure to clean block elements */
    .pathway-table tbody, 
    .pathway-table tr, 
    .pathway-table td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }

    /* Hide desktop headers */
    .pathway-table thead {
        display: none;
    }

    /* Turn rows into separate visual milestone cards */
    .pathway-table tr {
        margin-bottom: 35px;
        border: 2px solid var(--border-gray);
        border-radius: 12px;
        overflow: hidden; 
        background-color: #ffffff;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
    }

    /* Convert the Stage column into a bold card header banner */
    .col-stage {
        text-align: center;
        font-size: 1.6rem !important;
        font-weight: 700;
        padding: 14px 18px !important;
        color: #ffffff !important;
        letter-spacing: 0.05em;
        border-right: none !important;
        border-bottom: 2px solid var(--gold-accent) !important;
        width: 100% !important;
    }

    /* Hide desktop horizontal wedge/arrow images */
    .pathwayWedge {
        display: none !important;
    }

    /* Style the content columns within the mobile card */
    .col-credential, 
    .col-roles {
        padding: 20px 18px !important;
        border-right: none !important;
        width: 100% !important;
    }

    /* Give the credential section a subtle background shift */
    .col-credential {
        background-color: #f0f2f3;
        border-bottom: 2px dashed var(--border-gray) !important;
    }

    /* Inject labels using pseudo-elements */
    .col-credential::before {
        content: "Certificates, Degrees, or Credentials:";
        display: block;
        font-weight: 700;
        margin-bottom: 12px;
        color: var(--primary-blue);
        font-size: 1.25rem;
		line-height: 1.45rem;
        letter-spacing: 0.03em;
    }

    .col-roles::before {
        content: "Valid Career Roles:";
        display: block;
        font-weight: 700;
        margin-bottom: 12px;
        color: var(--primary-blue);
        font-size: 1.25rem;
		line-height: 1.45rem;
        letter-spacing: 0.03em;
    }

    .credential-item, 
    .role-item {
        margin-bottom: 10px;
        padding: 8px 14px;
        font-size: 0.95rem;
		line-height: 1.25rem;
    }

    .role-item.highlighted {
        transform: translateX(2px);
    }

    /* Stretch employment opportunities link block to full width */
    .empOpps {
        width: 100% !important;
        margin-top: 15px;
        margin-bottom: 0;
        padding: 14px;
        border-radius: 8px;
        font-size: 0.9rem;
        box-sizing: border-box;
    }
}

/* ============================================================
   RESPONSIVE OVERRIDES: Career Pathways Page Fixes
   ============================================================ */

/* 1. Tablet View (801px - 950px): Tighten Nav to prevent wrapping */
@media (max-width: 950px) and (min-width: 801px) {
  body .main-nav .nav-list {
    gap: 5px !important;       /* Tighten gap */
    padding: 0 5px !important; /* Reduce padding */
  }

  body .main-nav .nav-list a {
    font-size: 0.82rem !important;
    padding: 1.1rem 5px !important;
  }
}

/* 2. Mobile View (800px and Below): Ensure hamburger/menu functionality */
@media (max-width: 800px) {
  body .main-nav .nav-toggle {
    display: block !important;
  }

  body .main-nav .nav-list {
    display: none !important; 
    flex-direction: column !important;
    width: 100% !important;
    gap: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: #044d7a !important;
    border-bottom: #ffc60b 3px solid !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
  }
  
  body .main-nav .nav-list.open {
    display: flex !important;
  }
  
  body .main-nav .nav-list a {
    display: block !important;
    width: 100% !important;
    padding: 14px 24px !important;
    box-sizing: border-box !important;
  }
}