/* Zenodo Links for Research Strands */    
.btn-gradient {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(90deg, #1e73be 0%, #7ed957 100%);
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Principal container for Zenodo Publications */
.div-zenodo-publications{
    max-width: 1200px; 
    margin: auto; 
    padding: 0rem 2rem;
}

.zenodo-publications {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    padding: 20px;
    scroll-behavior: smooth;
}

/* Header Styles */
.intrig-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.intrig-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.intrig-title {
    font-size: 42px;
    font-weight: bold;
    color: #2c3e50;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.intrig-subtitle {
    font-size: 16px;
    color: #7f8c8d;
    margin: 10px 0 0 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.intrig-description {
    font-size: 14px;
    color: #95a5a6;
    margin: 5px 0 0 0;
    font-style: italic;
}

/* Loading and Error States */
.loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 18px;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #1172BA;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    margin: 20px 0;
}

/* Year Controls */
.year-controls {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: rgba(248, 249, 250, 0.95);
    border-radius: 8px;
    border: 1px solid #e9ecef;
    position: sticky;
    top: 20px;
    z-index: 100;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.year-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* Control Buttons */
.year-controls-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.expand-all-btn,
.collapse-all-btn {
    padding: 8px 16px;
    background: white;
    border: 2px solid #1172BA;
    color: #1172BA;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.expand-all-btn:hover,
.collapse-all-btn:hover {
    background: #1172BA;
    color: white;
}

.expand-icon,
.collapse-icon {
    font-size: 12px;
}

/* Year Section */
.year-section {
    margin-bottom: 20px;
}

.year-header-collapsible {
    background: linear-gradient(135deg, #1172BA 0%, #8DC63F 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.year-header-collapsible:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.year-header-content {
    flex-grow: 1;
    text-align: center;
}

.year-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
}

.year-stats {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 300;
}

.year-chevron {
    font-size: 20px;
    transition: transform 0.3s ease;
    margin-left: 20px;
}

.year-publications {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 0 0 12px 12px;
    margin-top: -5px;
    animation: slideDown 0.3s ease;
}

/* Type Section Styles (inside years) */
.type-section {
    margin: 10px 20px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.type-header-collapsible {
    background: linear-gradient(135deg, #56A1AF 0%, #8DC63F 100%);
    color: white;
    padding: 12px 15px;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.type-header-collapsible:hover {
    opacity: 0.9;
    transform: translateX(3px);
}

.type-header-content {
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
    align-items: center;
}

.type-title {
    font-size: 16px;
    font-weight: 600;
}

.type-stats {
    font-size: 13px;
    opacity: 0.9;
    margin-left: 15px;
}

.type-chevron {
    font-size: 14px;
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.type-publications {
    padding: 10px;
    background: #fafafa;
}

/* Publications */
.publication {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 3px solid #8DC63F;
}

.publication:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateX(2px);
}

.pub-title {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.4;
}

.pub-title a {
    color: #2c3e50;
    text-decoration: none;
}

.pub-title a:hover {
    color: #1172BA;
    text-decoration: underline;
}

.pub-authors {
    color: #34495e;
    margin-bottom: 6px;
    font-style: italic;
}

.pub-journal {
    color: #7f8c8d;
    margin-bottom: 6px;
    font-weight: 500;
}

.pub-date {
    color: #95a5a6;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.pub-description {
    color: #555;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.pub-type {
    display: inline-block;
    padding: 2px 8px;
    background: linear-gradient(135deg, #E8F4F8 0%, #F0F8E8 100%);
    color: #1172BA;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 8px;
    border: 1px solid #8DC63F;
}

.pub-links {
    margin-top: 10px;
}

.pub-link {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 5px;
    padding: 5px 12px;
    background: #56A1AF;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.pub-link:hover {
    background: #37656B;
    color: white;
}

.pub-link.doi {
    background: #8DC63F;
}

.pub-link.doi:hover {
    background: #526D26;
}

/* No Publications Message */
.no-publications {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
    border: 2px dashed #1172BA;
}

/* Stats */
.stats {
    text-align: center;
    margin: 20px 0;
    color: #7f8c8d;
    font-size: 14px;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .div-zenodo-publications{
        padding: 0rem 1rem;
    }

    .year-title {
        font-size: 24px;
    }
    
    .year-header-collapsible {
        padding: 15px;
    }
    
    .year-controls-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .type-title {
        font-size: 14px;
    }
    
    .zenodo-publications {
        padding: 15px;
    }
    
    .intrig-header {
        padding: 30px 15px;
        margin-bottom: 20px;
    }
    
    .intrig-logo {
        flex-direction: column;
        gap: 15px;
    }
    
    .intrig-title {
        font-size: 32px;
        letter-spacing: 1px;
    }
    
    .intrig-subtitle {
        font-size: 14px;
        text-align: center;
    }
    
    .intrig-description {
        font-size: 13px;
        text-align: center;
    }
    
    .expand-all-btn,
    .collapse-all-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .type-section {
        margin: 8px 10px;
    }
}