/* ============================================
   MODERN PUBLICATION FORMAT
   Clean style with bold underlined resource links
   ============================================ */

/* Publication Container */
.publications-modern-list {
    max-width: 900px;
    margin: 0 auto;
}

/* Individual Publication Entry */
.pub-modern {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.pub-modern:hover {
    background: var(--bg-light);
    border-left-color: var(--secondary-color);
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

/* Publication Text */
.pub-modern-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 12px;
}

/* Author Names */
.pub-modern-text .author {
    font-weight: 400;
}

/* Highlight Your Name */
.pub-modern-text .author-you {
    font-weight: 700;
    color: var(--primary-color);
}

/* Year */
.pub-modern-text .year {
    font-weight: 600;
}

/* Journal/Book Title - Italic */
.pub-modern-text .journal {
    font-style: italic;
}

/* Volume/Issue/Pages */
.pub-modern-text .citation {
    font-weight: 500;
}

/* Resource Links Container */
.pub-resources {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    align-items: center;
}

/* Individual Resource Link - Bold Underlined Style */
.resource-link {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.resource-link:hover {
    color: var(--secondary-color);
    text-decoration-thickness: 3px;
    transform: translateY(-1px);
}

/* Specific Resource Colors */
.resource-pdf {
    color: #E74C3C;
}

.resource-pdf:hover {
    color: #C0392B;
}

.resource-infographic {
    color: #3498DB;
}

.resource-infographic:hover {
    color: #2980B9;
}

.resource-video {
    color: #E67E22;
}

.resource-video:hover {
    color: #D35400;
}

.resource-podcast {
    color: #9B59B6;
}

.resource-podcast:hover {
    color: #8E44AD;
}

.resource-data {
    color: #1ABC9C;
}

.resource-data:hover {
    color: #16A085;
}

.resource-slides {
    color: #F39C12;
}

.resource-slides:hover {
    color: #E67E22;
}

.resource-code {
    color: #34495E;
}

.resource-code:hover {
    color: #2C3E50;
}

.resource-supplemental {
    color: #95A5A6;
}

.resource-supplemental:hover {
    color: #7F8C8D;
}

/* Publication Number (Optional) */
.pub-number {
    display: inline-block;
    font-weight: 700;
    color: var(--text-light);
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Year Group Headers */
.year-header-modern {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 40px 0 25px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--secondary-color);
    font-family: var(--font-heading);
}

/* Award/Recognition Badge */
.pub-award {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 10px;
    vertical-align: middle;
}

/* Citation Count Badge */
.pub-citations {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--bg-light);
    color: var(--text-color);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

.pub-citations i {
    color: var(--secondary-color);
    font-size: 0.7rem;
}

/* Open Access Badge */
.pub-openaccess {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #E8F5E9;
    color: #27AE60;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Featured Publication Highlight */
.pub-modern.featured {
    background: linear-gradient(135deg, rgba(170, 138, 76, 0.05), rgba(13, 92, 140, 0.05));
    border-left-width: 6px;
    border-left-color: var(--secondary-color);
}

.featured-star {
    display: inline-block;
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-right: 8px;
    vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pub-modern {
        padding: 15px;
    }
    
    .pub-modern-text {
        font-size: 0.95rem;
    }
    
    .resource-link {
        font-size: 0.85rem;
    }
    
    .pub-resources {
        gap: 8px;
    }
    
    .year-header-modern {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .pub-modern-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .pub-number {
        display: block;
        margin-bottom: 5px;
    }
}

/* Print Styles */
@media print {
    .pub-modern {
        page-break-inside: avoid;
        box-shadow: none;
        border: none;
    }
    
    .resource-link {
        color: #000;
        text-decoration: underline;
    }
    
    .pub-resources::before {
        content: "Available at: ";
        font-weight: 600;
    }
}
