/**
 * One-off page templates: 404, Coming Soon, legal pages.
 */

.error-404-container {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.error-404-code {
    font-family: var(--vosges-font-display);
    font-size: clamp(4.5rem, 12vw, 7rem);
    font-weight: 700;
    line-height: 1;
    margin: 0 0 0.5rem 0;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.error-404-title {
    font-family: var(--vosges-font-display);
    font-size: 1.9rem;
    color: var(--text-primary);
    margin: 0 0 0.9rem 0;
}

.error-404-text {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.6;
    margin: 0 auto 2rem auto;
    max-width: 480px;
}

.error-404-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.error-404-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1.1rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-soft);
}

.error-404-links-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.error-404-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--rect-blue-4);
    text-decoration: none;
    transition: color 0.2s ease;
}

.error-404-links a:hover {
    color: var(--rect-blue-3);
    text-decoration: underline;
}

@media (max-width: 480px) {
    .error-404-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .error-404-actions .btn-sharp-primary,
    .error-404-actions .btn-sharp-secondary {
        width: 100%;
    }
}

/* ==========================================================================
   Coming Soon Page — same pattern as 404 above. Used both as a Page Template
   and by the Arabic-locale gate in functions.php until real AR content exists.
   ========================================================================== */
.coming-soon-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3% 5rem 3%;
}

.coming-soon-container {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.coming-soon-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #FFFFFF;
    box-shadow: var(--shadow-glow);
    margin-bottom: 1.5rem;
}

.coming-soon-badge {
    display: inline-block;
}

.coming-soon-title {
    font-family: var(--vosges-font-display);
    font-size: 1.9rem;
    color: var(--text-primary);
    margin: 0.6rem 0 0.9rem 0;
}

.coming-soon-text {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.6;
    margin: 0 auto 2rem auto;
    max-width: 480px;
}

.coming-soon-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.coming-soon-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1.1rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-soft);
}

.coming-soon-links-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.coming-soon-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--rect-blue-4);
    text-decoration: none;
    transition: color 0.2s ease;
}

.coming-soon-links a:hover {
    color: var(--rect-blue-3);
    text-decoration: underline;
}

@media (max-width: 480px) {
    .coming-soon-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .coming-soon-actions .btn-sharp-primary,
    .coming-soon-actions .btn-sharp-secondary {
        width: 100%;
    }
}
