.fjg-home-template-main {
    position: relative;
}

.fjg-home-hero {
    position: relative;
    margin-top: -140px;
    padding: 190px 0 90px;
    background:
        linear-gradient(180deg, rgba(248, 249, 247, 0.10) 0%, rgba(248, 249, 247, 0.02) 28%, rgba(248, 249, 247, 0.16) 100%);
    background-size: cover;
    background-position: center center;
    overflow: hidden;
}

.fjg-home-hero__backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 30, 40, 0.18) 0%, rgba(8, 30, 40, 0.10) 100%),
        radial-gradient(circle at top right, rgba(216, 179, 106, 0.14), transparent 35%),
        radial-gradient(circle at bottom left, rgba(47, 111, 126, 0.14), transparent 35%);
    pointer-events: none;
}

.fjg-home-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: 28px;
    align-items: end;
}

.fjg-home-hero__panel,
.fjg-home-hero__highlights,
.fjg-home-intro-shell,
.fjg-home-editor-shell,
.fjg-home-feature-card {
    position: relative;
    overflow: hidden;
}

.fjg-home-hero__panel,
.fjg-home-hero__highlights,
.fjg-home-intro-shell,
.fjg-home-editor-shell {
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.fjg-home-hero__panel {
    padding: clamp(1.7rem, 3vw, 2.7rem);
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.fjg-home-hero__title {
    margin-bottom: 0.9rem;
    font-size: clamp(2.4rem, 4vw, 5rem);
    line-height: 0.94;
    color: #ffffff;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.fjg-home-hero__panel .fjg-section-kicker {
    color: rgba(255, 255, 255, 0.92);
}

.fjg-home-hero__intro {
    max-width: 58ch;
    margin-bottom: 1.5rem;
}

.fjg-home-hero__intro p {
    margin: 0;
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(1rem, 1.1vw, 1.18rem);
    line-height: 1.7;
}

.fjg-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fjg-home-hero__highlights {
    padding: 1.4rem;
}

.fjg-home-hero__highlights-grid {
    display: grid;
    gap: 14px;
}

.fjg-home-stat {
    padding: 1rem 1rem 1.05rem;
    border: 1px solid rgba(217, 225, 222, 0.9);
    border-radius: calc(var(--fjg-radius) + 2px);
    background: rgba(255, 255, 255, 0.82);
}

.fjg-home-stat__label {
    margin-bottom: 0.35rem;
    color: var(--fjg-color-text-soft);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fjg-home-stat__value {
    color: var(--fjg-color-primary);
    font-family: var(--fjg-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.15;
}

.fjg-home-section {
    position: relative;
    padding: clamp(3rem, 5vw, 4.75rem) 0;
}

.fjg-home-section--intro {
    margin-top: -28px;
    padding-top: 0;
}

.fjg-home-intro-shell,
.fjg-home-editor-shell {
    padding: clamp(1.6rem, 3vw, 2.6rem);
}

.fjg-home-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 28px;
    align-items: start;
}

.fjg-home-intro-copy p {
    color: var(--fjg-color-text-soft);
    max-width: 65ch;
}

.fjg-home-notice-card {
    padding: 1.35rem;
    border: 1px solid var(--fjg-color-border);
    border-radius: calc(var(--fjg-radius) + 2px);
    background: rgba(255, 255, 255, 0.86);
}

.fjg-home-notice-card__eyebrow {
    margin-bottom: 0.5rem;
    color: var(--fjg-color-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fjg-home-notice-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.45rem;
}

.fjg-home-notice-card p {
    margin-bottom: 0;
    color: var(--fjg-color-text-soft);
}

.fjg-home-editor-content > *:last-child {
    margin-bottom: 0;
}

.fjg-home-editor-content .wp-block-columns,
.fjg-home-editor-content .kt-row-layout-inner-wrap {
    gap: 28px;
}

.fjg-section-intro {
    margin-bottom: 1.8rem;
}

.fjg-home-feature-grid {
    align-items: stretch;
}

.fjg-home-feature-card {
    padding: 1.5rem;
    transition: transform var(--fjg-transition), box-shadow var(--fjg-transition), border-color var(--fjg-transition);
}

.fjg-home-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
    border-color: color-mix(in srgb, var(--fjg-color-secondary) 28%, var(--fjg-color-border));
}

.fjg-home-feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--fjg-color-surface-alt) 80%, #ffffff);
    color: var(--fjg-color-primary);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
}

.fjg-home-feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
}

.fjg-home-feature-card p {
    margin-bottom: 0;
    color: var(--fjg-color-text-soft);
}

.fjg-home-template-main .wp-block-image img,
.fjg-home-template-main .fjg-home-editor-content img {
    border-radius: calc(var(--fjg-radius) + 2px);
}

.fjg-home-template-main .wp-block-separator {
    border-color: rgba(0, 0, 0, 0.08);
}

.fjg-home-template-main .wp-block-group.is-layout-constrained,
.fjg-home-template-main .wp-block-cover,
.fjg-home-template-main .wp-block-columns,
.fjg-home-template-main .kt-row-layout-inner,
.fjg-home-template-main .kt-row-layout-inner-wrap {
    border-radius: var(--fjg-radius-lg);
}

.fjg-home-template-main .wp-block-button__link {
    border-radius: 999px;
}

.fjg-home-template-main .wp-block-button.is-style-outline .wp-block-button__link {
    border-width: 1px;
}

@media (max-width: 1023px) {
    .fjg-home-hero {
        margin-top: -90px;
        padding: 145px 0 72px;
    }

    .fjg-home-hero__inner,
    .fjg-home-intro-grid {
        grid-template-columns: 1fr;
    }

    .fjg-home-hero__title {
        font-size: clamp(2rem, 8vw, 3.4rem);
    }

    .fjg-home-hero__panel {
        min-height: 0;
    }

    .fjg-home-section--intro {
        margin-top: -18px;
    }
}

@media (max-width: 767px) {
    .fjg-home-hero {
        margin-top: -70px;
        padding: 125px 0 58px;
    }

    .fjg-home-hero__panel,
    .fjg-home-hero__highlights,
    .fjg-home-intro-shell,
    .fjg-home-editor-shell,
    .fjg-home-feature-card {
        border-radius: calc(var(--fjg-radius) + 4px);
    }

    .fjg-home-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .fjg-home-hero__actions .fjg-button {
        width: 100%;
    }
}