* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: white;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1140px;
    margin: 10px auto;
    padding: 0;
    background-color: transparent;
}

.main-header {
    text-align: center;
    margin-bottom: 0;
    padding: 20px 50px 0px 50px;
    background-color: white;
    border-radius: 25px 25px 0 0;
}

.main-header h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #000;
    margin-bottom: 0;
    line-height: 28px;
}

.content-section {
    display: flex;
    gap: 60px;
    align-items: center;
    margin: 15px;
    padding: 10px;
    background-color: white;
    border-radius: 0 0 25px 25px;
}

.author-section {
    flex: 0 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.author-image-container {
    margin-bottom: 10px;
    position: relative;
}

.author-image {
    width: 365px;
    height: auto;
    border-radius: 25px;
    object-fit: cover;
    background-color: #1a1a1a;
}

.author-info {
    text-align: center;
}

.author-name {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin-bottom: 5px;
    line-height: 24px;
}

.author-credentials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #000;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.author-credentials:hover {
    opacity: 0.7;
}

.plus-icon {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
    transition: transform 0.3s ease;
}

.plus-icon.rotated {
    transform: rotate(45deg);
}

.specialist-bio {
    font-size: 1rem;
    color: #000;
}

/* Bio content styles */
.bio-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background-color: transparent;
    margin-top: 20px;
    border-radius: 8px;
    width: 365px;
}

.bio-content.expanded {
    max-height: 2000px;
    transition: max-height 0.5s ease-in;
    border: 1px dotted #ccc;
}

.bio-inner {
    padding: 20px;
}

.bio-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
    text-align: left;
}

.bio-content p:last-child {
    margin-bottom: 0;
}

.article-content {
    flex: 1;
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    line-height: 25.5px;
    color: #000000;
    text-align: justify;
    text-size-adjust: 100%;
    unicode-bidi: isolate;
    width: 602px;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-content p:last-child {
    margin-bottom: 0;
}

/* Image scaling between 1150px and 767px */
@media (max-width: 1150px) {
    .author-image {
        max-width: 365px;
        width: 25vw;
    }
    
    .bio-content {
        max-width: 365px;
        width: 25vw;
        background-color: transparent;
    }
    
    .bio-content.expanded {
        border: 1px dotted #ccc;
    }
}

/* Tablet and mobile layout at 1150px and below - match product section margins */
@media (max-width: 1150px) {
    .container {
        margin: 0 !important;
        padding: 0 !important;
        max-width: none !important;
    }
    
    .doctor-section-wrapper {
        margin: 20px 15px !important;
        padding: 10px !important;
        margin-bottom: 120px !important;
        max-width: none !important;
    }
}


/* Mobile layout at 767px and below */
@media (max-width: 767px) {
    .main-header {
        padding: 20px 20px 20px 20px;
    }
    
    .content-section {
        flex-direction: column;
        gap: 30px;
        margin: 15px;
        padding: 10px;
    }
    
    .main-header h1 {
        font-size: 28px;
        line-height: 28px;
    }
    
    .author-section {
        flex: none;
        width: 100%;
    }
    
    .author-image {
        max-width: 100%;
        width: 100%;
        height: auto;
    }
    
    .bio-content {
        width: 100%;
        max-width: 100%;
        background-color: transparent;
    }
    
    .bio-content.expanded {
        border: 1px dotted #ccc;
    }
    
    .article-content {
        font-size: 1rem;
        width: 100%;
    }
}

.doctor-section-wrapper {
    max-width: 1140px;
    margin: 30px auto;
    padding: 10px;
    box-shadow: 0 0 15px #c5d0d0;
    border-radius: 25px;
    margin-bottom: 80px;
    overflow: hidden;
}

.site-footer {
    background-color: #EEEEEE;
    width: 100%;
    margin-top: 500px;
    padding: 30px 0;
}

.footer-content {
    width: 95%;
    margin: 0 auto;
    padding: 0 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #5f5f5f;
    line-height: 1.1;
}

.footer-content p {
    margin-bottom: 15px;
}

.footer-content p:first-child {
    font-weight: normal;
    margin-bottom: 20px;
}

.footer-content .disclaimer-title {
    font-weight: bold;
} 