/* ============================================================================
   image-header.css — global stylesheet for ImageHeaderComponent
   ============================================================================ */

.image-header {
    position: relative;
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    overflow: hidden;
    isolation: isolate;
    border-radius: 0;
    padding: 0 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #fff;
    background: radial-gradient(at 0% 0%, var(--ih-c-300) 0px, transparent 50%), radial-gradient(at 100% 0%, var(--ih-c-base) 0px, transparent 50%), radial-gradient(at 100% 100%, var(--ih-c-800) 0px, transparent 50%), radial-gradient(at 0% 100%, var(--ih-c-600) 0px, transparent 50%), var(--ih-c-base);
}

/* Glass card for optional SVG icon (rendered when ImageName is provided). */
.image-header-icon {
    position: absolute;
    left: 18px;
    top: 18px;
    width: 96px;
    height: 62px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    padding: 9px 10px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

/* Optional "360°" watermark (shown when DecorationText is set). */
.image-header-deco {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 55%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 14px;
}

.image-header-deco-text {
    font: 800 46px/.9 "Manrope", sans-serif;
    letter-spacing: -3px;
    color: rgba(255, 255, 255, .20);
    user-select: none;
    white-space: nowrap;
}

.image-header-deco-text sup {
    font-size: 0.45em;
    vertical-align: super;
    letter-spacing: 0;
}

    .image-header-icon svg {
        height: 100%;
        width: auto;
        max-width: 100%;
        max-height: 100%;
        display: block;
        color: #fff;
    }

/* Caption: left-aligned, vertically centered in the row. */
.image-header-caption {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
    z-index: 2;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
    letter-spacing: 1.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* J2 orbit icon: right-aligned, vertically centered, same colour as caption. */
.image-header-nav-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    opacity: .65;
}

.image-header-nav-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
