.diagnosis-item {
    width: 100%;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    font-family: var(--font-family-primary);
}

.diagnosis-item img {
    width: 100%;
}

.diagnosis-container {
    padding: 0 30px;
}

.diagnose_name {
    text-align: left; 
    font-family: var(--font-family-primary,  Helvetica, sans-serif); 
    font-size: 24px;
    line-height: 1.2;
    color: var(--color-primary);
    padding: 10px 20px 0 20px;
}

.diagnose_description {
    text-align: justify; 
    font-family: var(--font-family-secondary); 
    font-size: 14px;
    line-height: 24px;
    padding: 0px 20px;
}

.treatments-links {
    display: inline-block;
    width: 80%; /* Take up 80% of the parent div's width */
    text-align: center; /* Center the content within the div */
    white-space: normal; /* Allow text to wrap to the next line */
}

.treatments-links a {
    font-size: 12px;
    font-family: var(--font-family-secondary); 
    color: var(--color-primary);
}

.even-row {
    background-color: var(--color-secondary);
}

.odd-row {
    background-color: white;
}

@media (min-width: 1000px) {
    .diagnosis-item {
        width: 80%;
        flex-direction: row;
    }

    .diagnosis-item img {
        height: 300px;
        width: auto;
    }

    .position-1 {
        order: 2;
        background-color: var(--color-secondary);
    }

    .position-2 {
        order: 1;
    }

    .diagnosis-container {
        width: 100%;
        position: relative;
        left: 0%;
    }
}
