/* Publications section container */
#publications {
    padding: 2rem 0;
}

/* Section header */
#publications h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #1a202c;
}

/* Publications list */
#publications ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Individual publication items */
#publications li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* All links within publications */
#publications a {
    color: #2563eb;
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}

/* Hover state for links */
#publications a:hover {
    text-decoration: underline;
}

/* Target attribute styling for better readability */
#publications li:target {
    background-color: #f8fafc;
    padding: 0.25rem;
    border-radius: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #publications {
        padding: 1rem 0;
    }
    
    #publications li {
        margin-bottom: 0.75rem;
    }
}

/* Print styles */
@media print {
    #publications a {
        color: #000;
        text-decoration: none;
    }
    
    #publications li {
        break-inside: avoid;
        margin-bottom: 0.25rem;
    }
}