/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1f618d 0%, var(--primary) 100%);
    color: var(--text-light);
    padding-top: 60px;
    overflow: hidden;
    min-height: calc(100vh - 150px);
}

.hero-container {
    display: flex;
    align-items: center;
    width: 90%;
    margin: 0 auto;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    padding-bottom: 40px;
}

.hero-text h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    border-left: 3px solid rgba(255,255,255,0.5);
    padding-left: 20px;
}

.hero-text p {
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Highlighted text styles for Home/Index */
.hero-text p b,
.hero-text p strong,
.hero-text p u,
.hero-text p i,
.hero-text p a {
    color: #90ee90; /* Light Green */
}

.hero-text p a {
    font-weight: 700;
    transition: color 0.8s ease;
    text-decoration: none;
}

.hero-text p u {
    text-decoration: underline;
}

.hero-text p a:hover {
    color: #9ae2cc; /* Darker Green */
    cursor: pointer;
}

.hero-image {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: flex-end;
}

.hero-image img {
    width: 450px;
    height: 550px;
    object-fit: cover;
    object-position: center top;
    /* border-radius: 8px; */
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.2); */
    /* Make image responsive */
    max-width: 100%;
    height: auto;
}

/* Profiles Section */
.profiles-section {
    background-color: white;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.profiles-container {
    display: flex;
    justify-content: center;
    width: 90%;
    margin: 0 auto;
}

.profile-link {
    display: block;
    flex: 1;
    max-width: 400px;
    padding: 20px 40px;
    text-align: center;
    color: var(--text-grey);
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
    border-right: 1px solid #eee;
}

.profile-link:first-child { border-left: 1px solid #eee; }
.profile-link:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
    background-color: #f9f9f9;
}

/* Responsive Home */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        padding: 40px 0;
        text-align: center;
    }
    
    .hero-text h1 {
        border-left: none;
        padding-left: 0;
        font-size: 1.8rem;
        border-bottom: 3px solid rgba(255,255,255,0.5);
        padding-bottom: 15px;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        width: 80%;
        max-width: 450px;
    }

    .profiles-container {
        flex-direction: column;
        align-items: center;
    }
    
    .profile-link {
        width: 100%;
        max-width: none;
        border-right: none;
        border-left: none;
        border-bottom: 1px solid #eee;
    }
}

/* Recent Paper Section Styles */
.recent-paper-section {
    background-color: transparent;
    padding: 60px 0;
    border-top: 1px solid #eee;
}

.recent-paper-container {
    width: 96%;
    max-width: none;
    margin: 0 auto;
}

/* Reusing section-title style concept if existing or creating new */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--dark-bg);
    margin-bottom: 40px;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Paper Card - Condensed Look */
.paper-card {
    background: transparent;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.paper-card:hover {
    /* No hover effect */
}

.paper-meta {
    font-family: "Segoe UI", sans-serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.paper-title {
    font-family: "Segoe UI", sans-serif; /* Clean modern font for title */
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.paper-authors {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
    font-style: italic;
}

.paper-authors b {
    color: var(--dark-bg);
    font-weight: 700;
}

.paper-journal-info {
    font-family: Georgia, serif; /* Serif for that academic feel */
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.paper-doi {
    display: inline-block;
    margin-left: 10px;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.9rem;
    color: var(--primary);
    background: rgba(26, 188, 156, 0.1); /* Light primary bg */
    padding: 2px 8px;
    border-radius: 4px;
    transition: background 0.3s;
}

.paper-doi:hover {
    background: rgba(26, 188, 156, 0.2);
    text-decoration: none;
}

.paper-abstract-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.paper-abstract {
    font-family: "Segoe UI", sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #666;
    text-align: justify;
    margin-bottom: 30px;
}

/* Action Buttons */
.paper-actions {
    text-align: right;
}

.view-paper-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background-color: var(--dark-bg);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.view-paper-btn:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(26, 188, 156, 0.3);
}

.view-paper-btn i {
    font-size: 0.9rem;
}

/* Loading State */
.paper-loader {
    text-align: center;
    color: #999;
    padding: 40px;
    font-style: italic;
}

/* Responsive adjustments for the new section */
@media (max-width: 768px) {
    .recent-paper-section {
        padding: 40px 0;
    }
    
    .paper-card {
        padding: 25px;
    }
    
    .paper-title {
        font-size: 1.5rem;
    }
    
    .paper-actions {
        text-align: center;
    }
    
    .view-paper-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Paper Grid Layout */
.paper-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.paper-image-col {
    flex: 0 0 300px;
    max-width: 300px;
}

.paper-cover-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 1px solid #eee;
}

.paper-content-col {
    flex: 1;
}

/* Responsive adjustments for the new grid */
@media (max-width: 900px) {
    .paper-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .paper-image-col {
        flex: 0 0 auto;
        max-width: 250px;
        width: 100%;
        margin: 0 auto;
    }
    
    .paper-content-col {
        width: 100%;
    }
}
