/* ==========================================
   Q-SPIN LAB Publications
========================================== */

body{
    background:#f5f7fb;
}

/* Statistics */

.publication-stats{

    max-width:1200px;

    margin:50px auto;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:20px;

}

.stat-card{

    background:white;

    padding:30px;

    border-radius:12px;

    text-align:center;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

    transition:.3s;

}

.stat-card:hover{

    transform:translateY(-5px);

}

.stat-card h2{

    color:#003366;

    font-size:42px;

    margin-bottom:10px;

    font-weight:600;

}

.stat-card p{

    color:#555;

    font-size:16px;

}

/* Search */

.search-section{

    max-width:1000px;

    margin:30px auto;

}

#searchBox{

    width:100%;

    padding:16px;

    font-size:18px;

    border-radius:8px;

    border:1px solid #ccc;

    outline:none;

}

#searchBox:focus{

    border-color:#003366;

}

/* Year Buttons */

.year-filter{

    max-width:1100px;

    margin:20px auto 40px auto;

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    justify-content:center;

}

.year-filter button{

    background:white;

    border:1px solid #003366;

    color:#003366;

    padding:10px 18px;

    border-radius:25px;

    cursor:pointer;

    transition:.3s;

}

.year-filter button:hover{

    background:#003366;

    color:white;

}

/* Publication Cards */

.publication-card{

    background:white;

    padding:28px;

    margin:25px 0;

    border-left:5px solid #003366;

    border-radius:10px;

    box-shadow:0 4px 12px rgba(0,0,0,.08);

    transition:.3s;

}

.publication-card:hover{

    transform:translateY(-3px);

}

/* Title */

.pub-title{

    font-size:22px;

    color:#002147;

    font-weight:400;

    line-height:1.5;

    margin-bottom:15px;

}

/* Authors */

.pub-authors{

    font-size:17px;

    color:#333;

    line-height:1.8;

    margin-bottom:10px;

}

.pub-authors strong{

    color:#003366;

    font-weight:700;

}

/* Journal */

.pub-journal{

    font-size:17px;

    font-style:italic;

    color:#555;

    margin-bottom:18px;

}

/* DOI Button */

/* DOI */

.pub-doi{

    margin-top:18px;

    margin-bottom:15px;

    font-size:16px;

    color:#333;

}

.doi-label{

    font-weight:600;

    color:#002147;

    margin-right:6px;

}

.doi-link{

    color:#0056b3;

    text-decoration:none;

    word-break:break-word;

    transition:0.3s;

}

.doi-link:hover{

    color:#002147;

    text-decoration:underline;

}
/* Tags */

.pub-tags{

    margin-top:15px;

}

.pub-tags span{

    display:inline-block;

    background:#eef3fa;

    color:#003366;

    padding:5px 12px;

    border-radius:20px;

    margin:5px;

    font-size:13px;

}

/* Year Heading */

.year-heading{

    font-size:34px;

    color:#002147;

    margin-top:50px;

    margin-bottom:20px;

    border-bottom:2px solid #003366;

    padding-bottom:10px;

}

/* Mobile */

@media(max-width:768px){

.pub-title{

font-size:18px;

}

.pub-authors{

font-size:15px;

}

.pub-journal{

font-size:15px;

}

.stat-card h2{

font-size:30px;

}

}

