/* Custom Styles for Onmarx Design Theme */

/* Prose Styles */
.prose {
    --tw-prose-body: #94a3b8;
    --tw-prose-headings: #ffffff;
    --tw-prose-lead: #94a3b8;
    --tw-prose-links: #3b82f6;
    --tw-prose-bold: #ffffff;
    --tw-prose-counters: #94a3b8;
    --tw-prose-bullets: #1e293b;
    --tw-prose-hr: #1e293b;
    --tw-prose-quotes: #94a3b8;
    --tw-prose-quote-borders: #f6ad55;
    --tw-prose-captions: #94a3b8;
    --tw-prose-code: #f6ad55;
    --tw-prose-pre-bg: #0f172a;
    --tw-prose-pre-code: #e2e8f0;
    --tw-prose-th-borders: #1e293b;
    --tw-prose-td-borders: #1e293b;
}

.prose a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.prose a:hover {
    color: #f6ad55;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    color: #ffffff;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.prose h1 {
    font-size: 2.25rem;
}

.prose h2 {
    font-size: 1.875rem;
}

.prose h3 {
    font-size: 1.5rem;
}

.prose blockquote {
    border-left: 4px solid #f6ad55;
    padding-left: 1.5rem;
    color: #94a3b8;
    font-style: italic;
}

.prose code {
    background-color: rgba(15, 23, 42, 0.5);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    color: #f6ad55;
    font-family: 'Geist Mono', monospace;
}

.prose pre {
    background-color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 1.5rem;
    overflow-x: auto;
}

.prose pre code {
    background-color: transparent;
    padding: 0;
    color: #e2e8f0;
}

.prose table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.5rem 0;
}

.prose th {
    background-color: rgba(15, 23, 42, 0.5);
    border: 1px solid #1e293b;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    color: #ffffff;
}

.prose td {
    border: 1px solid #1e293b;
    padding: 0.75rem;
    color: #94a3b8;
}

.prose img {
    border-radius: 0.75rem;
    margin: 1.5rem 0;
}

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

.prose li {
    margin: 0.5rem 0;
    color: #94a3b8;
}

/* Navigation Links */
.prose a.wp-block-button__link {
    display: inline-block;
    background-color: #f6ad55;
    color: #000;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.prose a.wp-block-button__link:hover {
    background-color: #3b82f6;
    color: #fff;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu */
.mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation Links */
.mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: #ffffff;
}

/* Pagination */
.page-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.page-links a,
.page-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.375rem;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-links a:hover {
    background-color: #f6ad55;
    border-color: #f6ad55;
    color: #000;
}

.page-links .page-numbers.current {
    background-color: #f6ad55;
    border-color: #f6ad55;
    color: #000;
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
}

.comment-author {
    font-weight: 600;
    color: #ffffff;
}

.comment-metadata {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-top: 0.5rem;
}

.comment-content {
    margin-top: 1rem;
    color: #94a3b8;
}

/* Comment Form */
.comment-form {
    margin-top: 2rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #94a3b8;
    font-size: 0.875rem;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    background-color: #020617;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.375rem;
    color: #ffffff;
    font-family: inherit;
    transition: all 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #f6ad55;
    box-shadow: 0 0 0 3px rgba(246, 173, 85, 0.1);
}

.comment-form input[type="submit"] {
    background-color: #f6ad55;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    width: auto;
}

.comment-form input[type="submit"]:hover {
    background-color: #3b82f6;
    color: #fff;
}

/* Widgets */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    margin-bottom: 0.75rem;
}

.widget ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget ul li a:hover {
    color: #f6ad55;
}

/* Responsive */
@media (max-width: 768px) {
    .prose h1 {
        font-size: 1.875rem;
    }

    .prose h2 {
        font-size: 1.5rem;
    }

    .prose h3 {
        font-size: 1.25rem;
    }
}
