/* Proppixel Blog Styles - Matching Main Website */
:root {
    --primary: #5B2E91;
    --primary-light: #7B5DBA;
    --accent: #A992E2;
    --text: #1a1a2e;
    --text-muted: #64748b;
    --background: #ffffff;
    --card-bg: #f8fafc;
    --border: #e2e8f0;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--background);
    line-height: 1.6;
}

/* Blog Hero */
.blog-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 4rem 1rem;
    text-align: center;
    color: white;
}

.blog-hero h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-hero p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Container */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* Blog Card */
.blog-card {
    background: var(--card-bg);
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(91, 46, 145, 0.1);
}

.blog-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.blog-card-category {
    color: var(--primary);
    font-weight: 500;
}

.blog-card h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card h2 a {
    color: var(--text);
    text-decoration: none;
}

.blog-card h2 a:hover {
    color: var(--primary);
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* Single Blog Post */
.blog-single {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.blog-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.blog-back:hover {
    color: var(--primary);
}

.blog-single-header {
    margin-bottom: 2rem;
}

.blog-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.blog-single h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.blog-single-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.blog-single-author-info strong {
    display: block;
    color: var(--text);
}

.blog-single-author-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Listen Button */
.listen-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 2rem;
}

.listen-btn:hover {
    background: var(--primary-light);
}

.listen-btn.playing {
    background: #dc2626;
}

/* Blog Content */
.blog-content {
    font-size: 1.0625rem;
    line-height: 1.8;
}

.blog-content h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--text);
}

.blog-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
}

.blog-content p {
    margin-bottom: 1.25rem;
    color: var(--text-muted);
}

.blog-content ul, .blog-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-muted);
}

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

.blog-content a {
    color: var(--primary);
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

/* Search & Filter */
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
}

.blog-filters input,
.blog-filters select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    flex: 1;
    min-width: 200px;
}

.blog-filters input:focus,
.blog-filters select:focus {
    outline: none;
    border-color: var(--primary);
}

.blog-filters button {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.blog-filters button:hover {
    background: var(--primary-light);
}

/* Tags */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.blog-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: rgba(91, 46, 145, 0.1);
    color: var(--primary);
    border-radius: 1rem;
    font-size: 0.8125rem;
    text-decoration: none;
}

.blog-tag:hover {
    background: var(--primary);
    color: white;
}

/* Empty State */
.blog-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.blog-empty h2 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.blog-empty p {
    color: var(--text-muted);
}

/* =============================================
   FOOTER - Exact clone of main website
   Matching: bg-card border-t, max-w-7xl, grid-cols-1 md:2 lg:4
   ============================================= */

.site-footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: 1140px; /* Boxed width matching main site */
    margin: 0 auto;
    padding: 3rem 2rem; /* py-12 px-8 */
}

@media (min-width: 640px) {
    .footer-inner {
        padding: 3rem 2.5rem;
    }
}

@media (min-width: 1024px) {
    .footer-inner {
        padding: 3rem 3rem;
    }
}

/* Footer Grid - grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8 */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem; /* gap-8 */
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Footer Logo - h-12 w-auto mb-4 */
.site-footer .footer-logo {
    height: 3rem !important; /* h-12 = 48px */
    width: auto !important;
    max-width: 100%;
    display: block;
    margin-bottom: 1rem; /* mb-4 */
}

/* Footer Description - text-sm text-muted-foreground leading-relaxed */
.footer-desc {
    font-size: 0.875rem; /* text-sm */
    color: var(--text-muted);
    line-height: 1.625; /* leading-relaxed */
}

/* Footer Title - font-heading font-semibold text-foreground mb-4 */
.footer-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem; /* mb-4 */
    font-size: 1rem;
}

/* Remove ALL bullets from footer */
.site-footer ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.site-footer li {
    list-style: none !important;
    list-style-type: none !important;
}

/* Footer Links - space-y-2 */
.footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links li {
    margin-bottom: 0.5rem; /* space-y-2 */
    list-style: none !important;
}

/* Links - text-sm text-muted-foreground hover:text-primary transition-colors */
.footer-links a {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 150ms;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Footer Contact - space-y-3 */
.footer-contact {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-contact li {
    list-style: none !important;
}

/* Contact Item - flex items-center gap-2 text-sm text-muted-foreground */
.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* gap-2 */
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem; /* space-y-3 */
}

/* Address uses items-start instead of items-center */
.contact-address {
    align-items: flex-start;
}

/* Contact Icons - h-5 w-5 text-primary flex-shrink-0 */
.contact-item svg {
    width: 16px !important; /* Match main site icon size */
    height: 16px !important;
    min-width: 16px;
    min-height: 16px;
    color: var(--primary);
    stroke: var(--primary);
    flex-shrink: 0;
}

.contact-address svg {
    margin-top: 2px; /* mt-0.5 */
}

.contact-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 150ms;
}

.contact-item a:hover {
    color: var(--primary);
}

/* Footer Bottom - mt-12 pt-8 border-t border-border */
.footer-bottom {
    margin-top: 3rem; /* mt-12 */
    padding-top: 2rem; /* pt-8 */
    border-top: 1px solid var(--border);
}

/* flex flex-col sm:flex-row justify-between items-center gap-4 */
.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem; /* gap-4 */
}

@media (min-width: 640px) {
    .footer-bottom-inner {
        flex-direction: row;
    }
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* Legal Links - flex gap-6 */
.footer-legal {
    display: flex;
    gap: 1.5rem; /* gap-6 */
}

.footer-legal a {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 150ms;
}

.footer-legal a:hover {
    color: var(--primary);
}

/* =============================================
   RESPONSIVE - Mobile adjustments
   ============================================= */

@media (max-width: 640px) {
    .blog-hero h1 {
        font-size: 1.75rem;
    }
    
    .blog-single h1 {
        font-size: 1.75rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}
