:root {
    --primary-blue: #0048b4;
    --primary-blue-dark: #003a8f;
    --accent-blue: #0d6efd;

    --text-dark: #1c1c1c;
    --text-muted: #555;

    --bg-white: #ffffff;
    --bg-light: #f8f9fc;

    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
    font-family: 'Lexend', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fff;
    color: var(--text-dark);
}

/* Paragraphs */
.post-content p {
    margin: 20px 0;
    font-size: 16px;
    line-height: 1.8;
}

.wp-block-separator {
    margin: 32px 0;
    border-color: #e5e7eb;
}

/* Make WP table scrollable */
.wp-block-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    margin: 1.5rem 0;
}

/* Table base styling */
.wp-block-table table {
    width: 100%;
    min-width: 600px;
    /* forces horizontal scroll on small screens */
    border-collapse: collapse;
    background-color: #ffffff;
}

/* Header styling */
.wp-block-table thead th {
    background-color: #0f172a;
    /* professional dark header */
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
    padding: 14px 16px;
    border-bottom: 2px solid #1e293b;
    white-space: nowrap;
}



/* Body cells */
.wp-block-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    white-space: normal;
    font-size: 12px;
    border: #e7e7e7 1px solid;
    /* allow wrapping */
    word-break: break-word;
    /* break long words */
}

.cta_wrapper {
    margin-top: 16px;
}

/* Zebra striping */
.wp-block-table tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

/* Hover effect */
.wp-block-table tbody tr:hover {
    background-color: #eef2ff;
}

/* Rounded corners */
.wp-block-table table {
    border-radius: 10px;
    overflow: hidden;
}

/* Mobile scrollbar styling (optional, modern look) */
.wp-block-table::-webkit-scrollbar {
    height: 8px;
}

.wp-block-table::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.wp-block-table::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 10px;
}

.wp-block-table::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

.wp-block-image img {
    border-radius: 12px;
    border: #e5e5e5 1px solid;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin: 24px 0;
}

.wp-block-list {
    margin: 20px 0 20px 40px;
    padding: 0;
    list-style-type: disc;
    /* 👈 add dots */
}

.wp-block-list li {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
    list-style-position: outside;
    /* clean alignment */
}




/* Comments wrapper */
.post-comments {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Comments title */
.post-comments h3#comments {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #0f172a;
}

/* Comment list reset */
.post-comments .commentlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.post-comments textarea {
    height: 120px;
}

/* Individual comment */
.post-comments .comment-body {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 1.2rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

/* Hover effect */
.post-comments .comment-body:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* Comment author section */
.post-comments .comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

/* Avatar */
.post-comments .comment-author img.avatar {
    border-radius: 50%;
    border: 2px solid #e5e7eb;
}

/* Author name */
.post-comments .comment-author .fn a {
    font-weight: 600;
    color: #1e40af;
    text-decoration: none;
}

.post-comments .comment-author .fn a:hover {
    text-decoration: underline;
}

/* "says" text */
.post-comments .comment-author .says {
    color: #64748b;
    font-size: 0.9rem;
}

/* Comment meta (date/edit) */
.post-comments .comment-meta {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 10px;
}

.post-comments .comment-meta a {
    color: #6b7280;
    text-decoration: none;
}

.post-comments .comment-meta a:hover {
    text-decoration: underline;
}

/* Comment text */
.post-comments .comment-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #111827;
    margin-bottom: 10px;
}

/* Reply link */
.post-comments .reply a {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.post-comments .reply a:hover {
    text-decoration: underline;
}

/* Reply form */
.post-comments .comment-respond {
    margin-top: 2.5rem;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

/* Reply title */
.post-comments .comment-reply-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
}

/* Cancel reply link */
.post-comments #cancel-comment-reply-link {
    font-size: 0.85rem;
    color: #dc2626;
    text-decoration: none;
}

.post-comments #cancel-comment-reply-link:hover {
    text-decoration: underline;
}

/* Logged-in text */
.post-comments .logged-in-as {
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 12px;
}

/* Comment textarea */
.post-comments textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #cbd5f5;
    font-size: 0.95rem;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.post-comments textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Submit button */
.post-comments input.submit {
    margin-top: 12px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 600;
    border: none;
    padding: 6px 20px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.post-comments input.submit:hover {
    background: #1e40af;
    transform: translateY(-1px);
}

/* Navigation spacing (if used later) */
.post-comments .navigation {
    margin: 1rem 0;
}