/* Education */

#publications .container>h3 {
    color: var(--text-secondary-color) !important;
}

/* shared card styles moved to `static/css/_shared-cards.css` */
/* Section-specific accents (if needed) can remain here. */
#publications .card .card-body {
    border-radius: 1.5rem;
    padding: 2rem;
}

@media all and (max-width:768px) {
    #publications .card .card-body {
        padding: 2rem 1rem;
    }
}

#publications .card:hover {
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(197, 98, 98, 0.4);
    /* border: 2px solid var(--primary-color) !important; */
}

#publications .card .card-body .education-content a {
    color: var(--text-link-color) !important;
    text-decoration: none;
    opacity: 0.9;
}

#publications .card .card-body>a h6 {
    display: inline-block;
    text-decoration: none;
    color: var(--text-link-color) !important;
}

#publications .card .card-body>a h6::after {
    content: "";
    display: block;
    width: 0px;
    height: 2px;
    bottom: 0.37em;
    background-color: var(--primary-color);
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    opacity: 0.5;
}

#publications .card .card-body>a h6:hover::after,
#publications .card .card-body>a h6:focus::after,
#publications .card .card-body>a h6:active::after {
    width: 100%;
}

#publications .card .card-body a.btn {
    opacity: 0.9;
    border: 1px solid var(--primary-color) !important;
    color: var(--text-color) !important;
    border-radius: .75rem;
    box-shadow: none;
    transition: none;
}

#publications .card .card-body a.btn:hover {
    opacity: 0.8;
}