/*
Theme Name: Medical Website
Theme URI: https://leventalpay.com/
Author: Antigravity
Description: A premium medical website theme converted from HTML.
Version: 1.0.0
Text Domain: medical-website
*/

/* ==========================================================================
   AUTHOR PAGE (DOCTOR PROFILE)
   ========================================================================== */
.author-page {
    background: #f8fafc;
}

.author-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.author-hero {
    background: linear-gradient(135deg, #012B5B 0%, #29a3ad 100%);
    padding: 80px 0;
    color: #fff;
    overflow: hidden;
}

.author-hero-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.author-hero-img {
    flex: 0 0 300px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border: 5px solid rgba(255,255,255,0.2);
}

.author-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-hero-text .author-name {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
}

.author-hero-text .author-title {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-hero-text .author-title::before {
    content: '';
    width: 40px;
    height: 2px;
    background: #4fd1c5;
}

.author-social {
    display: flex;
    gap: 15px;
}

.author-social .social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    transition: all 0.3s ease;
}

.author-social .social-link:hover {
    background: #4fd1c5;
    transform: translateY(-3px);
}

/* Content Layout */
.author-content-wrapper {
    margin-top: -50px;
    padding-bottom: 100px;
}

.author-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.author-bio {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.section-title-author {
    font-size: 1.75rem;
    color: #012B5B;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #edf2f7;
    position: relative;
}

.section-title-author::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #012B5B;
}

.bio-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 20px;
}

/* Sidebar */
.author-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-block {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.sidebar-title {
    font-size: 1.25rem;
    color: #012B5B;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #012B5B;
    border-radius: 2px;
}

.expertise-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.expertise-item {
    background: #ebf8ff;
    color: #012B5B;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.timeline-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-step {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #edf2f7;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #012B5B;
    border-radius: 50%;
    border: 2px solid #fff;
}

.step-year {
    display: block;
    font-size: 0.85rem;
    color: #012B5B;
    font-weight: 700;
    margin-bottom: 5px;
}

.step-desc {
    font-size: 0.95rem;
    color: #4a5568;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .author-grid {
        grid-template-columns: 1fr;
    }
    
    .author-hero-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .author-hero-text .author-title {
        justify-content: center;
    }
    
    .author-social {
        justify-content: center;
    }
    
    .author-hero-img {
        flex: 0 0 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .author-hero {
        padding: 60px 0;
    }
    
    .author-hero-text .author-name {
        font-size: 2.25rem;
    }
    
    .author-bio {
        padding: 30px;
    }
}

/* Reset or global styles if any from index.html */
body {
    margin: 0;
    padding: 0;
}
.elementor-11 .elementor-element.elementor-element-376a6d6 { background: none !important; }

/* Footer Submenu Styles */
.footer-sub-menu {
    display: none !important;
    list-style: none !important;
    margin-top: 5px !important;
    border-left: 1px solid rgba(255,255,255,0.1);
    width: 100% !important; /* Ensure it takes full width below the parent */
}
/* Indentation for different levels */
.footer-sub-menu.depth-1 { padding-left: 20px !important; }
.footer-sub-menu.depth-2 { padding-left: 15px !important; margin-left: 5px !important; }
.footer-sub-menu.depth-3 { padding-left: 10px !important; margin-left: 10px !important; }

.elementor-icon-list-item.has-footer-dropdown {
    flex-wrap: wrap !important; /* Force children to wrap */
}

.elementor-icon-list-item.footer-dropdown-opened > .footer-sub-menu {
    display: block !important;
}
.footer-sub-menu .elementor-icon-list-text {
    font-size: 0.9em !important;
    opacity: 0.8 !important;
}
.footer-dropdown-toggle {
    margin-left: auto; /* Push to right */
    padding-left: 10px;
    font-size: 10px;
    opacity: 0.5;
    transition: transform 0.3s ease;
}
.elementor-icon-list-item.footer-dropdown-opened > a .footer-dropdown-toggle {
    transform: rotate(180deg);
}
/* Scientific Publications Accordion */
.publications-section {
    padding: 60px 0;
    background: #fff;
    border-radius: 20px;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.publications-section .section-title-author {
    margin-bottom: 40px;
}

.pub-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pub-accordion-item {
    border: 1px solid #edf2f7;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pub-accordion-item:hover {
    border-color: #012B5B;
    box-shadow: 0 5px 15px rgba(1, 43, 91, 0.05);
}

.pub-accordion-header {
    padding: 20px 25px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background 0.3s ease;
}

.pub-accordion-header:hover {
    background: #f8fafc;
}

.pub-accordion-item.active .pub-accordion-header {
    background: #012B5B;
    color: #fff;
}

.pub-accordion-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
}

.pub-accordion-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.pub-accordion-item.active .pub-accordion-icon {
    transform: rotate(180deg);
}

.pub-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    background: #fff;
}

.pub-accordion-item.active .pub-accordion-content {
    max-height: 2000px; /* Large enough to fit content */
    transition: max-height 0.5s ease-in-out;
}

.pub-content-inner {
    padding: 25px;
    border-top: 1px solid #edf2f7;
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
}

.pub-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e2e8f0;
}

.pub-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.pub-examine-link {
    display: inline-block;
    margin: 10px 0;
    color: #29a3ad;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.pub-examine-link:hover {
    border-bottom-color: #29a3ad;
    padding-left: 5px;
}

.pub-meta {
    display: block;
    font-size: 0.9rem;
    color: #718096;
    font-style: italic;
    margin-top: 5px;
}

.pub-index {
    color: #012B5B;
    font-weight: 700;
}

@media (max-width: 768px) {
    .publications-section {
        padding: 40px 20px;
    }
    
    .pub-accordion-title {
        font-size: 1.05rem;
    }
}
