.article-image {
    max-width: 60%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.image-caption {
    text-align: center;
    font-style: italic;
    margin-top: 10px;
    color: #666;
    font-size: 0.9em;
}

.highlight-box {
    background-color: #f8f8f8;
    border-left: 4px solid #D3D3D3;
    padding: 20px;
    margin: 30px 0;
    font-size: 1.1em;
}

.doctor-profile {
    text-align: center;
    margin: 20px 0;
    padding: 8px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.qr-code {
    display: block;
    margin: 20px auto;
    max-width: 200px;
}

@media (max-width: 768px) {
    .article-container {
        padding: 15px;
    }
    
    .article-image {
        margin: 20px auto;
    }
}

/* Responsive image styling for mobile and tablet only */
@media (max-width: 1024px) {
    .article-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px auto !important;
    }
    
    .qr-code {
        max-width: 200px !important;
        width: 100% !important;
        height: auto !important;
    }
}

/* Additional optimization for very small mobile devices */
@media (max-width: 480px) {
    .article-image {
        margin: 15px auto !important;
    }
}