.publishHero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.publishHero--image {
    min-height: 500px;
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.publishHero--light {
    padding: var(--space-xxl, 64px) var(--space-lg, 24px);
    background-color: #f5f5f5;
    color: #1a1a1a;
}

.publishHero--dark {
    padding: var(--space-xxl, 64px) var(--space-lg, 24px);
    background-color: #2d2d2d;
    color: #f0ece4;
}

.publishHero__overlay {
    position: absolute;
    inset: 0;
    background: #000000;
    opacity: 0.55;
}

.publishHero__content {
    position: relative;
    text-align: center;
    max-width: 800px;
    padding: var(--space-lg, 24px);
}

.publishHero__title {
    font-size: 48px;
    font-weight: 400;
    margin: 0 0 16px;
    line-height: 1.1;
}

.publishHero__title--display {
    font-family: var(--font-family-display, 'DM Serif Display', serif);
}

.publishHero__title--base {
    font-family: var(--font-family-base, 'Roboto', sans-serif);
    font-weight: 700;
}

.publishHero--light .publishHero__subtitle {
    color: #666666;
}

.publishHero--dark .publishHero__subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.publishHero--image .publishHero__subtitle {
    opacity: 0.85;
}

.publishHero__subtitle {
    font-size: 18px;
    margin: 0;
    font-weight: 300;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .publishHero--image {
        min-height: 350px;
    }

    .publishHero__title {
        font-size: 32px;
    }

    .publishHero__subtitle {
        font-size: 16px;
    }

    .publishHero__content {
        padding: 16px;
    }
}
