/* Custom CSS for Eric Coleman's Website */

/* Modern blockquotes styling */
blockquote {
    border-left: 5px solid #2196F3;
    /* primary color in materia */
    padding: 10px 20px;
    margin: 0 20px 20px;
    font-size: .8rem;
    background-color: rgba(33, 150, 243, 0.05);
    /* faint blue background */
    border-radius: 0 4px 4px 0;
}

[data-bs-theme="dark"] blockquote {
    border-left-color: #375a7f;
    /* darkly primary */
    background-color: rgba(55, 90, 127, 0.1);
}

/* Callout styling adjustments */
.callout {
    border-left-width: 5px;
}

/* Profile image styling */
.profile-image {
    max-width: 300px;
    width: 100%;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Sidebar links styling */
.sidebar .nav-link i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
}


/* Dimensions badge spacing fix */
.__dimensions_badge_embed__ {
    margin-top: 15px;
    display: inline-block;
    min-height: 58px;
}

/* Fix Quarto scrollspy failing to track articles inside cards 
   by preventing cards from becoming offset parents */
.card {
    position: static !important;
}