/* =============================================================================
   Hero component — default theme
   ============================================================================= */

.page-hero {
    width: 100%;
}

.page-hero .hero {
    padding: 100px 24px 80px;
    text-align: center;
    background: linear-gradient(140deg, #0f0f0f 0%, #1a1a2e 60%, #1f1f1f 100%);
    color: #fff;
}

.page-hero .hero h1 {
    color: #fff;
    overflow-wrap: break-word;
    word-break: break-word;
}

.page-hero .hero p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 32px;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* ── Actions container ───────────────────────────────────────────────────── */
.page-hero .hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* ── cta-button style comes from core style.css (per-theme) ──────────────── */
/* The first action is the main one: filled. The second is outlined. The
   component has always set these two classes; until 0.1.0.6 no theme drew
   them, so both buttons looked the same (a screenshot showed it). */
.page-hero .cta-primary {
    background: #fff;
    color: #1a1a2e;
    border-color: #fff;
}
.page-hero .cta-primary:hover {
    background: #fff;
    color: #0f3460;
    border-color: #fff;
}
.page-hero .cta-secondary {
    background: transparent;
}
.page-hero .cta-secondary:hover {
    background: rgba(255,255,255,0.12);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .page-hero .hero { padding: 60px 16px 50px; }
}
@media (max-width: 480px) {
    .page-hero .hero-actions { flex-direction: column; align-items: center; }
    .page-hero .cta-button    { width: 100%; max-width: 280px; text-align: center; }
}
