@charset "utf-8";

/* CSS Variables for consistent sizing */
:root {
    --base-font-size: 1.1rem;
    --card-font-size: 1.05rem;
    --profile-position-size: 1.2rem;
    --profile-bio-size: 1.15rem;
    --border-radius-xl: 0.8rem;
    
    --h1-size: 2.8rem;
    --h2-size: 2.2rem;
    --h3-size: 1.8rem;
    --h4-size: 1.5rem;
    --h5-size: 1.3rem;
    --h6-size: 1.1rem;
}

body {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: var(--base-font-size) !important;
    padding-top: 5.0rem;
}

/* Override responsive body font size */
@media (max-width: 767.98px) {
    body {
        font-size: var(--base-font-size) !important;
    }
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 700;
}

h1, .h1 { font-size: var(--h1-size) !important; }
h2, .h2 { font-size: var(--h2-size) !important; }
h3, .h3 { font-size: var(--h3-size) !important; }
h4, .h4 { font-size: var(--h4-size) !important; }
h5, .h5 { font-size: var(--h5-size) !important; }
h6, .h6 { font-size: var(--h6-size) !important; }

.card {
    border-radius: var(--border-radius-xl) !important;
}

.card-img-overlay {
    border-radius: var(--border-radius-xl) !important;
}

.rounded-xl {
    border-radius: var(--border-radius-xl) !important;
}

.rounded-xl-bottom {
    border-bottom-right-radius: var(--border-radius-xl) !important;
    border-bottom-left-radius: var(--border-radius-xl) !important;
}

.rounded-xl-top {
    border-top-left-radius: var(--border-radius-xl) !important;
    border-top-right-radius: var(--border-radius-xl) !important;
}


.text-profile-position {
    font-weight: 400;
    font-size: var(--profile-position-size) !important;
}

.text-profile-bio {
    /* font-family: "Raleway"; */
    font-weight: 400;
    font-size: var(--profile-bio-size) !important;
    line-height: 1.6;
}

.navbar {
    opacity: 0.95;
}

.inline-badge {
    height: 20px;
    vertical-align: -10%;
    margin-right: 2px;
    line-break: unset;
}

.experience-logo {
    width: 20px;
}

.no-break {
    white-space: nowrap;
}

.cover-image {
    width: 180px;
    max-height: 120px;
}

.abstract-body {
    min-height: 100px;
}

img.lazy {
    background-image: url('images/loading.gif');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 50px 50px;
    min-height: 80px;
}

div.lazy {
    background-image: url('images/loading.gif');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 50px 50px;
    min-height: 80px;
}

.badge-publication {
    font-size: 100%;
}

/* Card content font sizes */
.card-body,
.card-body .small,
.card-body .small em,
.card-body .media-body,
.card-body ul li,
.card-body a {
    font-size: var(--card-font-size) !important;
}

/* Specific styling for education date text */
.card-body .small em {
    font-size: 1.1rem !important;
    font-weight: 500;
}

/* Common publication list styling - applied to both homepage and publications page */
.publication-list h5 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 0.5rem !important;
}

.publication-list .small {
    font-size: 1rem !important;
    line-height: 1.5;
    margin-bottom: 0.3rem !important;
}

.publication-list .abstract-links {
    font-size: 1rem !important;
}

/* Better spacing for publication items */
.publication-item {
    padding: 1rem 0 !important;
}

