/*
Theme Name: imbrr Custom
Description: Custom theme for imbrr blog that matches the main site design
Version: 1.0
Author: imbrr
*/

/* Import your existing styles */
@import url('../../../../dashboard/css/sb-admin-2.min.css');
/* Bootstrap and FontAwesome are loaded via CDN in functions.php */

/* Custom Blog Styles */
body {
    font-family: 'Nunito', sans-serif;
    background-color: #f8f9fc;
}

/* Header */
.blog-header {
    max-width: 952px;
    height: 500px;
    background-size: cover;
    background-position: center;
    margin: 0 auto;
}

.blog-header::before {
    content: '';
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.25);
    z-index: 1;
}

.blog-header-content {
    position: relative;
    z-index: 2;
}

.blog-header h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 8px 32px rgba(0,0,0,1), 0 4px 16px rgba(0,0,0,0.95);
    margin-bottom: 1rem;
}

.blog-header p {
    font-size: 1.25rem;
    text-shadow: 0 8px 32px rgba(0,0,0,1), 0 4px 16px rgba(0,0,0,0.95);
}

/* Blog index intro header */
.blog-index-header {
    max-width: 1000px;
    margin: 0 auto 1rem auto;
    padding: 1.25rem;
    background-color: #f8f9fc;
}

.blog-index-header h2 {
    color: #6c757d;
    font-size: 1.6rem;
    margin: 0;
    text-align: left;
}

/* Navigation */
.blog-nav {
    background-color: white;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    margin-bottom: 2rem;
}

.blog-nav .navbar-brand img {
    height: 100px !important;
    width: auto !important;
    max-width: none !important;
}

.blog-nav .navbar-brand {
    padding: 0.5rem 1rem;
}

.blog-nav .navbar-brand {
    font-weight: 700;
    color: #4e73df !important;
}

.blog-nav .nav-link {
    color: #5a5c69 !important;
    font-weight: 600;
}

.blog-nav .nav-link:hover {
    color: #4e73df !important;
}

/* Main Content */
.blog-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-content {
    background-color: white;
    border-radius: 0.35rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    padding: 2rem;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.blog-content {
    background-color: white;
    border-radius: 0.35rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    padding: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* Blog Posts */
.blog-post {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e3e6f0;
}

.blog-post:last-child {
    border-bottom: none;
}

.blog-post h2 {
    color: #5a5c69;
    font-weight: 700;
    margin-bottom: 1rem;
}

.blog-post h2 a {
    color: #4e73df;
    text-decoration: none;
}

.blog-post h2 a:hover {
    color: #2e59d9;
}

.blog-post-meta {
    color: #858796;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.blog-post-meta i {
    margin-right: 0.5rem;
}

.blog-post-excerpt {
    color: #5a5c69;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-post-readmore {
    color: #4e73df;
    font-weight: 600;
    text-decoration: none;
}

.blog-post-readmore:hover {
    color: #2e59d9;
}

/* Sidebar */
.blog-sidebar {
    background-color: white;
    border-radius: 0.35rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    padding: 1.5rem;
}

.blog-sidebar h3 {
    color: #5a5c69;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.blog-sidebar ul {
    list-style: none;
    padding-left: 0;
}

.blog-sidebar li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f8f9fc;
}

.blog-sidebar li:last-child {
    border-bottom: none;
}

.blog-sidebar a {
    color: #4e73df;
    text-decoration: none;
}

.blog-sidebar a:hover {
    color: #2e59d9;
}

/* Single Post */
.single-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5a5c69;
}

.single-post-content h1,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
    color: #5a5c69;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.single-post-content p {
    margin-bottom: 1.5rem;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.single-post-content li {
    margin-bottom: 0.5rem;
}

.single-post-content blockquote {
    border-left: 4px solid #4e73df;
    padding-left: 1rem;
    margin: 2rem 0;
    font-style: italic;
    color: #858796;
}

/* Footer */
.footer {
    background-color: #f8f9fc;
    text-align: center;
    padding: 2rem 1rem;
    color: #6c757d;
    width: 100%;
    margin: 0 auto;
}

/* Pagination */
.blog-pagination {
    text-align: center;
    margin: 2rem 0;
}

.blog-pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background-color: white;
    border: 1px solid #e3e6f0;
    border-radius: 0.35rem;
    color: #4e73df;
    text-decoration: none;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background-color: #4e73df;
    color: white;
    border-color: #4e73df;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .blog-main {
        padding: 0 1rem;
    }
    
    .blog-content {
        padding: 1.5rem;
    }
}

/* Newsletter Signup */
.newsletter-signup {
    background-color: #4e73df;
    color: white;
    padding: 1.5rem;
    border-radius: 0.35rem;
    margin-top: 2rem;
}

.newsletter-signup h4 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-signup .form-control {
    border: none;
    border-radius: 0.35rem;
    margin-bottom: 1rem;
}

.newsletter-signup .btn {
    background-color: white;
    color: #4e73df;
    border: none;
    border-radius: 0.35rem;
    font-weight: 600;
}

.newsletter-signup .btn:hover {
    background-color: #f8f9fc;
}

/* Categories */
.category-badge {
    display: inline-block;
    background-color: #e3e6f0;
    color: #5a5c69;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.5rem;
    text-decoration: none;
}

.category-badge:hover {
    background-color: #4e73df;
    color: white;
}

.container {
    max-width: 1000px;
}
