/* Project overrides on top of Start Bootstrap themes. */

/* Public site logo */
.navbar-marketing .navbar-brand img.navbar-brand-logo {
    height: 3rem;
    width: auto;
    max-width: none;
}

/* Admin panel logo (topnav) */
.topnav .navbar-brand img.admin-brand-logo {
    height: 2.25rem;
    width: auto;
    max-width: none;
}

/* Restore horizontal navbar alignment (theme offsets nav links for tiny logos). */
.navbar-marketing {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.navbar-marketing .navbar-nav {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-marketing .navbar-collapse {
    align-items: center;
}

.navbar-marketing .nav-link {
    white-space: nowrap;
}

@media (min-width: 992px) {
    .navbar-marketing {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .navbar-marketing .navbar-nav {
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* Site-wide social links (footer + blog) */
.site-social {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.site-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 2.35rem;
    min-height: 2.35rem;
    padding: 0.4rem 0.7rem;
    border-radius: 0.45rem;
    font-size: 1.05rem;
    line-height: 1;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.site-social--footer .site-social__link {
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
}

.site-social--footer .site-social__link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    text-decoration: none;
}

.site-social--blog .site-social__link,
.site-social--blog-inline .site-social__link {
    color: var(--eq-primary, #0061f2);
    background: rgba(0, 97, 242, 0.08);
    font-size: 0.92rem;
    font-weight: 600;
}

.site-social--blog .site-social__link:hover,
.site-social--blog-inline .site-social__link:hover {
    color: #0052cc;
    background: rgba(0, 97, 242, 0.14);
    text-decoration: none;
}

.site-social__icon {
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
    display: block;
}

/* Admin flash messages must sit above overlapping stat cards (mt-n10 layout). */
.admin-alerts {
    position: relative;
    z-index: 2;
}

/* Feather SVGs must not swallow clicks on icon buttons. */
.btn svg,
.btn-datatable svg {
    pointer-events: none;
}

/* Blog post detail: author block below content (single column). */
.blog-author__photo {
    object-fit: cover;
    flex-shrink: 0;
}

.blog-author__photo-placeholder {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.blog-content > *:last-child {
    margin-bottom: 0;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem 0;
}

/* Staff blog: inline content images on edit form */
.blog-inline-images__preview {
    width: 88px;
    height: 88px;
    object-fit: cover;
}

.blog-inline-images__field {
    user-select: all;
    cursor: text;
    background-color: var(--bs-tertiary-bg, #f8f9fa);
}

/* Staff receipt review: collapsible section headers */
.review-section-toggle {
    cursor: pointer;
    font-weight: 600;
}

.review-section-toggle .review-collapse-chevron {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.2s ease-in-out;
}

.review-section-toggle.collapsed .review-collapse-chevron {
    transform: rotate(-90deg);
}

/* Enrollment list: certificate delivery status (blue loaded, green sent, red error). */
.certificate-status-dot {
    display: inline-block;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    flex-shrink: 0;
    vertical-align: middle;
}
