/* Albion Hero - custom styles (put into theme-custom.css) */

.albion-hero {
    position: relative;
    padding: 3.5rem 0;
    color: #fff;
    overflow: visible;
}

/* full viewport option */
.albion-hero--full {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* wrapper with optional rounding */
.albion-hero__wrap {
    position: relative;
    overflow: visible;
    border-radius: 0;
}

.albion-hero__wrap.is-rounded {
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15, 12, 40, 0.25);
}

/* edge radius sizes */
.albion-hero__wrap.radius-sm {
    border-radius: 8px;
}

.albion-hero__wrap.radius-md {
    border-radius: 18px;
}

.albion-hero__wrap.radius-lg {
    border-radius: 32px;
}

/* background image layer (uses common/graphic.tpl output - usually img) */
.albion-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.albion-hero__bg img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1) contrast(1);
    transform-origin: center;
}

/* overlay to darken / tint */
.albion-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(15, 8, 48, 0.42) 0%, rgba(13, 9, 34, 0.55) 100%);
    mix-blend-mode: normal;
}

/* content above background */
.albion-hero .z-top {
    position: relative;
    z-index: 2;
}

/* theme variants */
.albion-hero.purple {
    color: #fff;
}

.albion-hero.purple .hero-title {
    color: #fff;
}

.albion-hero.dark {
    background: #07070a;
    color: #eee;
}

.albion-hero.light {
    background: #fafafa;
    color: #222;
}

/* text sizes */
.hero-title {
    font-size: 2.4rem;
    line-height: 1.06;
    margin-bottom: .6rem;
    font-weight: 700;
}

@media(min-width:992px) {
    .hero-title {
        font-size: 3.6rem;
    }
}

.hero-subtitle {
    font-size: 1.05rem;
    opacity: .92;
    margin-bottom: .8rem;
}

.hero-desc {
    font-size: 1rem;
    opacity: .95;
}

/* media and rounded image */
.hero-media img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    border-radius: 14px;
    box-shadow: 0 12px 34px rgba(5, 6, 40, 0.36);
}

/* actions */
.hero-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    align-items: center;
}

/* highlights */
.hero-highlights .highlight {
    background: rgba(255, 255, 255, 0.06);
    padding: .5rem .75rem;
    border-radius: 999px;
    margin-right: .5rem;
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    font-size: .9rem;
    color: #fff;
}

/* bottom wave */
.albion-hero__wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 3;
    pointer-events: none;
    line-height: 0;
}

.albion-hero__wave svg {
    display: block;
    width: 100%;
    height: 60px;
    fill: rgba(255, 255, 255, 0.12);
}

/* small responsive tweaks */
@media (max-width: 991px) {
    .albion-hero {
        padding: 2.5rem 0;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .albion-hero__wrap.radius-lg {
        border-radius: 16px;
    }
}