/* Layout styles for academic website */

/* Profile image styling */
.profile-image {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Sidebar styling */
.sidebar {
    margin-bottom: 30px;
}

.contact-info {
    margin-bottom: 20px;
}

/* Content section styling */
.content-section {
    margin-bottom: 30px;
}

/* Full-width sections that appear below the main content */
.full-width-section {
    clear: both;
    width: 100%;
    /* margin: 40px 0;
    padding-top: 20px; */
}

/* Publications styling */
.publication-list {
    list-style-type: none;
    padding-left: 0;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.publication-item {
    margin-bottom: 20px;
    padding: 15px;
    border-left: 4px solid var(--accent-color);
    background-color: var(--card-bg);
    border-radius: 0 5px 5px 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.publication-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

/* New wrapper for making the whole item clickable */
.publication-link-wrapper {
    display: block;
    padding: 15px;
    color: inherit;
    text-decoration: none;
}

.publication-link-wrapper:hover {
    text-decoration: none;
    color: inherit;
}

.pub-title {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.pub-title a {
    color: var(--text-color);
    text-decoration: none;
}

.pub-title a:hover {
    text-decoration: underline;
}

.pub-authors {
    font-size: 0.95em;
    margin-bottom: 5px;
}

.pub-venue {
    font-size: 0.9em;
    color: var(--text-color);
    opacity: 0.9;
}

.pub-count {
    text-align: center;
    font-size: 0.9em;
    margin-top: 20px;
    color: var(--text-color);
    opacity: 0.8;
}

/* Social icons styling */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 35px;
    margin: 30px 0;
    text-align: center;
    width: 100%;
}

.social-icons a {
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    display: inline-block;
}

.social-icons a:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.social-icons i {
    font-size: 64px;
    color: var(--accent-color);
}

/* Research interests styling */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin: 25px 0;
    width: 100%;
}

.research-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-color);
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    border-left: 4px solid var(--accent-color);
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.research-icon {
    font-size: 28px;
    color: var(--accent-color);
    margin-right: 15px;
    width: 40px;
    text-align: center;
}

.research-text {
    font-weight: 500;
}

footer {
    font-size: 1.2em;
}

/* For small screens */
@media (max-width: 768px) {

    .profile-image {
        max-width: 100%;
        max-height: 250px;
        align-items: center;
        justify-content: flex;
        height: auto;
    }

    .social-icons {
        gap: 25px;
    }
    
    .social-icons i {
        font-size: 54px;
    }

    .research-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}
