/*
 * Sungard Theme — shared component styles
 * Canonical light-theme versions of blocks previously duplicated
 * (and drifting apart) across page templates.
 */

/* ===== Page hero ===== */
.page-hero {
    background: #ffffff;
    padding-top: calc(100px + 2rem) !important;
    min-height: 200px;
    margin-top: 0;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(33, 105, 180, 0.24) 0%, transparent 65%);
    z-index: 1;
}

/* ===== Breadcrumb ===== */
.breadcrumb-3d {
    background: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(33, 105, 180, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 0;
}

.breadcrumb-3d .breadcrumb-item {
    font-size: 0.95rem;
}

.breadcrumb-3d .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: rgba(33, 105, 180, 0.4);
    padding: 0 0.75rem;
    font-weight: 500;
}

.breadcrumb-item a {
    color: var(--ct-primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: var(--ct-accent) !important;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--ct-muted);
    font-weight: 500;
}

/* ===== Page content card ===== */
.page-content-3d {
    background: #ffffff;
    border: 1px solid rgba(33, 105, 180, 0.2);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.1);
}

.page-content-body {
    line-height: 1.8;
    color: var(--ct-text);
}

.page-content-body h2,
.page-content-body h3,
.page-content-body h4 {
    color: var(--ct-text);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-content-body a {
    color: var(--ct-accent);
    text-decoration: underline;
}

.page-content-body a:hover {
    color: var(--ct-accent-dark);
}

/* ===== Alerts ===== */
.alert-3d {
    background: #ffffff;
    border: 1px solid rgba(33, 105, 180, 0.2);
    border-radius: 0.75rem;
    color: var(--ct-text);
    padding: 1.5rem;
}

/* ===== Lightbox overlay (shared JS) ===== */
.sungard-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.sungard-lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 0.5rem;
}

@media (max-width: 767.98px) {
    .page-content-3d {
        padding: 2rem 1.5rem;
    }
}
