/* EventWrist WordPress Theme — Azure Horizon 2.0 */

:root {
    --primary: #0057bd;
    --surface: #f5f7f9;
    --surface-low: #eef1f3;
    --on-surface: #2c2f31;
    --on-surface-variant: #595c5e;
    --neon: #95aaff;
    --ember: #ff7439;
    --shadow-ambient: 0px 4px 24px rgba(44, 47, 49, 0.07);
    --font-headline: 'Manrope', sans-serif;
    --font-body: 'Inter', -apple-system, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    background-color: var(--surface);
    color: var(--on-surface);
}

/* ── Card ── */
.card-light {
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-ambient);
}

/* ── Prose (article body) ── */
.prose-eventwrist {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--on-surface);
}

.prose-eventwrist h2 {
    font-family: var(--font-headline);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--on-surface);
    margin: 2.5rem 0 1rem;
}

.prose-eventwrist h3 {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--on-surface);
    margin: 2rem 0 0.75rem;
}

.prose-eventwrist p {
    margin-bottom: 1.5rem;
}

.prose-eventwrist a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.prose-eventwrist a:hover {
    opacity: 0.75;
}

.prose-eventwrist ul,
.prose-eventwrist ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.prose-eventwrist li {
    margin-bottom: 0.5rem;
}

.prose-eventwrist blockquote {
    border-left: 3px solid var(--primary);
    padding: 1rem 1.5rem;
    background: #f0f7ff;
    border-radius: 0 0.75rem 0.75rem 0;
    margin: 2rem 0;
    font-style: italic;
    color: var(--on-surface-variant);
}

.prose-eventwrist img {
    width: 100%;
    border-radius: 1rem;
    margin: 2rem 0;
}

.prose-eventwrist pre {
    background: #0b0f10;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 1rem;
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.7;
    margin: 2rem 0;
}

.prose-eventwrist code {
    background: var(--surface-low);
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.875em;
    color: var(--primary);
}

.prose-eventwrist pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.prose-eventwrist hr {
    border: none;
    border-top: 1px solid var(--surface-low);
    margin: 3rem 0;
}

/* ── WordPress Pagination ── */
.pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border-radius: 10px;
    background: var(--surface-low);
    color: var(--on-surface-variant);
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.pagination .page-numbers:hover:not(.current) {
    background: #e0eaff;
    color: var(--primary);
}

.pagination .page-numbers.current {
    background: var(--primary);
    color: #fff;
}

.pagination .page-numbers.dots {
    background: transparent;
    color: #9ca3af;
}

/* ── Search Form ── */
.search-form {
    display: flex;
    gap: 0.5rem;
    max-width: 480px;
    margin: 0 auto;
}

.search-form .search-field {
    flex: 1;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: none;
    border-radius: 0.75rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--on-surface);
    box-shadow: 0 0 0 1.5px #dfe3e6;
    transition: box-shadow 0.15s;
}

.search-form .search-field:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 87, 189, 0.18);
}

.search-form .search-submit {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 0.75rem;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: opacity 0.15s;
}

.search-form .search-submit:hover {
    opacity: 0.9;
}

/* ── Comments ── */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-body {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-ambient);
}

.comment-author .fn {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--on-surface);
}

.comment-metadata {
    font-size: 0.75rem;
    color: var(--on-surface-variant);
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
}

.comment-content p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--on-surface);
    margin: 0;
}

.comment-reply-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    margin-top: 0.75rem;
    display: inline-block;
}

.comment-form label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--on-surface-variant);
    margin-bottom: 0.5rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--surface-low);
    border: none;
    border-radius: 0.75rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--on-surface);
    transition: box-shadow 0.15s;
    margin-bottom: 1rem;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 87, 189, 0.15);
    background: #ffffff;
}

.comment-form textarea {
    min-height: 140px;
    resize: vertical;
}

.comment-form .submit {
    padding: 0.875rem 2rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 0.75rem;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.15s;
}

.comment-form .submit:hover {
    opacity: 0.9;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .prose-eventwrist {
        font-size: 1rem;
    }
    .prose-eventwrist h2 {
        font-size: 1.5rem;
    }
}
