/* Custom styles for Yero Ndiaye's academic website — Bootstrap overrides */

/* Profile image float */
img.profile-float {
    float: right;
    max-width: 280px;
    border-radius: 8px;
    margin: 0 0 1.5rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

/* Highlighted section (job market paper) */
.highlight {
    background-color: #f8f9fa;
    border-left: 0.4em solid #0d6efd;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-size: 0.95em;
    overflow: hidden;
}

.highlight h4 {
    margin-top: 0;
    margin-bottom: 0.3rem;
}

.highlight .subtitle {
    color: #666;
    font-style: italic;
    font-size: 0.9em;
    margin-bottom: 0.8rem;
}

.highlight .tags {
    color: #999;
    font-size: 0.85em;
}

/* Kickboxing brief on front page */
.kickboxing-brief {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0;
    font-size: 0.95em;
}

/* Sticky navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* Navbar brand styling */
.navbar-brand {
    font-size: 1.4rem;
    font-weight: 700;
}

/* Footer social icons */
footer .social-link img {
    width: 14px;
    height: 14px;
    margin-right: 0.3rem;
    vertical-align: middle;
}

/* Section dividers */
.section-divider {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.4rem;
    margin-bottom: 1rem;
}

/* Card hover effect */
.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Definition list styling for kickboxing record */
dt {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 1.2rem;
    color: #0d6efd;
}

dd {
    margin-bottom: 0.6rem;
    margin-left: 1rem;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    img.profile-float {
        float: none;
        display: block;
        margin: 0 auto 1.5rem auto;
        max-width: 100%;
    }
}
