/*
Theme Name: CyberKRU Blog
Theme URI: https://cyberkru.com
Author: CyberKRU
Author URI: https://cyberkru.com
Description: A modern, premium, Tailwind-powered theme for the CyberKRU Blog.
Version: 1.0.2
Text Domain: cyberkru
*/

/* --- Custom CSS from HTML Mockup --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

body { 
    font-family: 'Inter', sans-serif; 
    background-color: #ffffff; 
    color: #0f172a; 
}

.btn-primary { 
    background-color: #7ebc11; 
    color: #ffffff; 
    transition: all 0.2s ease-in-out; 
}

.btn-primary:hover { 
    background-color: #6da30f; 
    transform: translateY(-2px); 
    box-shadow: 0 10px 25px -5px rgba(126, 188, 17, 0.4); 
}

.blog-card { 
    border: 1px solid #e2e8f0; 
    transition: all 0.3s ease; 
}

.blog-card:hover { 
    border-color: #7ebc11; 
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.05); 
    transform: translateY(-4px); 
}

/* Typography styles for WordPress Gutenberg/Classic Editor Content */
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    color: #0f172a;
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}
.prose h2 { font-size: 1.875rem; }
.prose h3 { font-size: 1.5rem; }
.prose p { margin-bottom: 1.25rem; line-height: 1.75; color: #475569; }
.prose strong { color: #0f172a; }
.prose ul { list-style-type: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; color: #475569;}
.prose ol { list-style-type: decimal; padding-left: 1.5rem; margin-bottom: 1.25rem; color: #475569;}
.prose a { color: #7ebc11; text-decoration: none; font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.prose img { border-radius: 0.75rem; margin-top: 2rem; margin-bottom: 2rem; }

/* --- WordPress Native Quote Styling --- */
.prose blockquote {
    background-color: rgba(126, 188, 17, 0.05); /* matches bg-brand-green/5 */
    border-left: 4px solid #7ebc11;             /* matches border-brand-green */
    padding: 1.5rem;                            /* matches p-6 */
    margin-top: 2rem;                           /* matches my-8 */
    margin-bottom: 2rem;
    border-top-right-radius: 1rem;              /* matches rounded-r-2xl */
    border-bottom-right-radius: 1rem;
}

.prose blockquote p {
    font-style: italic;
    color: #334155; /* text-slate-700 */
    margin-bottom: 0.75rem;
}

.prose blockquote p:last-child {
    margin-bottom: 0;
}

/* Handle Nested Quotes Gracefully (for the exact structure you tested) */
.prose blockquote blockquote {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: rgba(126, 188, 17, 0.08); /* slightly darker to show nesting depth */
}

/* --- WordPress Pagination Styling --- */
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.75rem;
    min-width: 2.75rem;
    padding: 0 1rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

a.page-numbers:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: #7ebc11;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

span.page-numbers.current {
    background-color: #7ebc11;
    border-color: #7ebc11;
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(126, 188, 17, 0.4);
}

span.page-numbers.dots {
    background-color: transparent;
    border-color: transparent;
    color: #94a3b8;
    padding: 0 0.5rem;
    min-width: auto;
}