.hero {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: linear-gradient( to right, rgba(23, 23, 23, 0.80), rgba(23, 0, 0, 0) ), url(../img/patient-ed-hero.png);
    padding: 15vh 0;
    color: #FFF;
}
    .active{
        color: #531F59;
    }

/*====================================================================
Tabbed Nav
=====================================================================*/

/*====================================================================
Patient Education
=====================================================================*/
#patient-education {
    display: flex;
    flex-direction: column;
}

.mobile-selector {
    position: relative; 
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
    overflow: hidden; /* Hide the overflow */
    border: 1px solid #9598A6;
}

.mobile-selector:after {
    content: '';
    position: absolute;
    right: 10px; /* Adjust as needed */
    top: 50%;
    transform: translateY(-50%);
    background: url('../img/custom-arrow.svg') no-repeat center;
    width: 20px; /* Adjust as needed */
    height: 20px; /* Adjust as needed */
    pointer-events: none; /* Make it unclickable */
}

.mobile-selector select {
    width: 100%;
    padding: 20px 32px;
    padding-right: 50px; /* Adjusted to make room for the icon */
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    font-size: 16px;
    outline: none; /* Remove focus outline */
}

.side-nav {
    padding: 20px 0;
    background-color: #F6E4F6;
    display: none;
}

.side-nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: left;

}

.side-nav a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: black;
    transition: background-color 0.3s;
    text-align: left;
}

.side-nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.content {
    width: 100% !important;
    padding: 0 30px;
    background-color: white;  /* Content background color */
}

/* Tablet styles */
@media (min-width: 768px) {
    #patient-education {
        flex-direction: row;  /* Tablet/Desktop: side-nav to the left */
    }

    .side-nav .active{
        border-left:2px solid #531F59;
        color: #fff !important;
    }
   .active-menu-item:active {
        border-left:2px solid #531F59;
    }
    .side-nav {
        flex-basis: 200px;  /* Adjust this width as needed */
        border-right: 1px solid #ddd;  /* A slight separator */
        height: fit-content;
        flex-shrink: 0;
        display: block;
    }

    .mobile-selector {
        display: none;
    }

    .content {
        flex-grow: 1;
        border: none;  /* remove border for mobile */
    }
}

/* Desktop styles */
@media (min-width: 992px) {
    .side-nav {
        flex-basis: 250px;  /* Adjust this width as needed for desktop */
        flex-shrink: 0;
        height: fit-content;
    }
}

.active-link {
    color: #531F59 ;
}

.hero-text {
    text-align: center;
}

.subnav h2 {
    font-weight:500;
}