/*
Theme Name: PointEarn Pro
Theme URI: https://example.com/pointearn-pro
Author: Custom Theme Developer
Author URI: https://example.com
Description: একটি সম্পূর্ণ কাস্টম ওয়ার্ডপ্রেস থিম যেখানে ডাইনামিক কার্ড ভিউ, হেডার অপশন, আমাদের সম্পর্কে সেকশন এবং লাইভ চ্যাট সাপোর্ট রয়েছে। পয়েন্ট আয় এবং ডলার কনভার্শনের জন্য বিশেষভাবে ডিজাইন করা।
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pointearn-pro
Tags: custom-header, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, e-commerce
*/

/* ===== CSS Variables ===== */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 12px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header ===== */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.site-title a:hover {
    color: var(--primary-dark);
}

.main-navigation ul {
    display: flex;
    gap: 8px;
    align-items: center;
}

.main-navigation a {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    background: var(--primary-color);
    color: white;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #059669;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    padding: 8px;
}

/* ===== Hero Section ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7c3aed 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: pulse 15s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    background: white;
    color: var(--primary-color);
}

.hero-buttons .btn:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
}

.hero-buttons .btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.hero-buttons .btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

/* ===== Section Common ===== */
.section {
    padding: 70px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Cards Grid ===== */
.cards-section {
    background: var(--bg-light);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.card {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    height: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

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

.card-image .card-icon {
    font-size: 4rem;
    opacity: 0.9;
}

.card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.card-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-info {
    background: #dbeafe;
    color: #1e40af;
}

.card-footer {
    padding: 0 24px 24px;
}

.card-footer .btn {
    width: 100%;
    justify-content: center;
}

/* Empty State */
.empty-cards {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.empty-cards h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.empty-cards p {
    color: var(--text-light);
    margin-bottom: 24px;
}

/* ===== About Section ===== */
.about-section {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.about-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
    box-shadow: var(--shadow-lg);
}

/* ===== How It Works ===== */
.how-it-works {
    background: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== Live Chat Section ===== */
.chat-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 70px 0;
}

.chat-section .section-header h2,
.chat-section .section-header p {
    color: white;
}

.chat-section .section-header p {
    opacity: 0.85;
}

.chat-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.chat-feature {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.chat-feature:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.chat-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.chat-feature h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.chat-feature p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.chat-cta {
    text-align: center;
    margin-top: 40px;
}

/* ===== Footer ===== */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-column h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    text-align: center;
    font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        height: 300px;
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow);
        padding: 20px;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 4px;
    }
    
    .main-navigation a {
        display: block;
        padding: 12px 16px;
    }
    
    .header-inner {
        flex-wrap: wrap;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.05rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ===== Admin / Customizer Hints ===== */
.admin-notice {
    background: #fef3c7;
    border-left: 4px solid var(--accent-color);
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

/* ===== Live Chat Widget Placeholder ===== */
#tawkto-container,
.live-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

/* ===== Single Card Page ===== */
.single-card-header {
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.single-card-content {
    max-width: 800px;
    margin: -40px auto 60px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    position: relative;
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.hidden { display: none; }

/* ===== Points System UI ===== */
.pointearn-form-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 30px;
}
.pointearn-form-card h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--text-dark); }
.pointearn-form-card .form-desc { color: var(--text-light); margin-bottom: 24px; font-size: 0.95rem; }
.pointearn-form .form-group { margin-bottom: 20px; }
.pointearn-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.95rem; color: var(--text-dark); }
.pointearn-form input[type="text"],
.pointearn-form input[type="number"],
.pointearn-form input[type="email"],
.pointearn-form select,
.pointearn-form textarea {
    width: 100%; padding: 12px 16px; border: 1px solid var(--border-color);
    border-radius: 8px; font-size: 0.95rem; font-family: inherit;
    transition: var(--transition); background: #fafafa;
}
.pointearn-form input:focus, .pointearn-form select:focus, .pointearn-form textarea:focus {
    outline: none; border-color: var(--primary-color); background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.pointearn-form small { display: block; margin-top: 5px; color: var(--text-light); font-size: 0.85rem; }
.pointearn-notice { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 0.95rem; }
.pointearn-notice a { color: inherit; text-decoration: underline; font-weight: 600; }
.pointearn-success { background: #d1fae5; color: #065f46; border-left: 4px solid #10b981; }
.pointearn-error { background: #fee2e2; color: #991b1b; border-left: 4px solid #ef4444; }
.pointearn-warning { background: #fef3c7; color: #92400e; border-left: 4px solid #f59e0b; }
.balance-box {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px; margin-bottom: 28px; padding: 20px;
    background: linear-gradient(135deg, #f0f9ff, #ede9fe); border-radius: 10px;
}
.balance-item { text-align: center; }
.balance-item .label { display: block; font-size: 0.8rem; color: var(--text-light); margin-bottom: 4px; }
.balance-item .value { display: block; font-size: 1.25rem; font-weight: 700; color: var(--text-dark); }
.pointearn-table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.pointearn-table { width: 100%; border-collapse: collapse; background: white; font-size: 0.9rem; }
.pointearn-table th { background: #f1f5f9; padding: 12px 16px; text-align: left; font-weight: 600; color: var(--text-dark); border-bottom: 2px solid var(--border-color); }
.pointearn-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-color); color: var(--text-light); }
.pointearn-table tr:last-child td { border-bottom: none; }
.pointearn-table tr:hover td { background: #f8fafc; }
.status-pending { background: #fef3c7; color: #92400e; padding: 3px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.status-approved { background: #d1fae5; color: #065f46; padding: 3px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.status-rejected { background: #fee2e2; color: #991b1b; padding: 3px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.pointearn-empty { text-align: center; color: var(--text-light); padding: 30px; background: white; border-radius: var(--radius); }
.pointearn-dashboard { max-width: 900px; margin: 0 auto; }
.dash-header { text-align: center; margin-bottom: 30px; }
.dash-header h2 { font-size: 1.8rem; margin-bottom: 6px; }
.dash-header p { color: var(--text-light); }
.dash-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; }
.stat-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; display: flex; align-items: center; gap: 16px; }
.stat-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: white; flex-shrink: 0; }
.stat-points .stat-icon { background: linear-gradient(135deg, #f59e0b, #d97706); }
.stat-usd .stat-icon { background: linear-gradient(135deg, #10b981, #059669); }
.stat-rate .stat-icon { background: linear-gradient(135deg, #2563eb, #7c3aed); }
.stat-label { display: block; font-size: 0.85rem; color: var(--text-light); }
.stat-value { display: block; font-size: 1.4rem; font-weight: 700; color: var(--text-dark); }
.dash-actions { display: flex; gap: 12px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.dash-section { margin-bottom: 40px; }
.dash-section h3 { font-size: 1.25rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--border-color); }
.pointearn-balance-badge { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; padding: 6px 14px; border-radius: 20px; font-weight: 600; font-size: 0.9rem; }
.btn-secondary { background: var(--secondary-color); color: white; }
.btn-secondary:hover { background: #059669; transform: translateY(-2px); }

/* ===== Notifications ===== */
.pe-notifications { background: white; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.pe-notif-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.pe-notif-header h3 { font-size: 1.15rem; margin: 0; display: flex; align-items: center; gap: 8px; }
.pe-notif-badge { background: #ef4444; color: white; font-size: 0.75rem; padding: 2px 8px; border-radius: 20px; font-weight: 700; }
.pe-notif-list { display: flex; flex-direction: column; gap: 10px; }
.pe-notif-item { display: flex; gap: 12px; padding: 14px; border-radius: 10px; border: 1px solid var(--border-color); transition: var(--transition); background: #fafafa; }
.pe-notif-item.unread { background: #eff6ff; border-color: #bfdbfe; }
.pe-notif-item.bonus { border-left: 4px solid #f59e0b; }
.pe-notif-item.success { border-left: 4px solid #10b981; }
.pe-notif-item.warning { border-left: 4px solid #ef4444; }
.pe-notif-item.info { border-left: 4px solid #2563eb; }
.pe-notif-icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1; }
.pe-notif-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.pe-notif-msg { font-size: 0.88rem; color: var(--text-light); margin-bottom: 6px; }
.pe-notif-link { display: inline-block; font-size: 0.85rem; font-weight: 600; color: var(--primary-color); margin-bottom: 4px; }
.pe-notif-link:hover { text-decoration: underline; }
.pe-notif-date { font-size: 0.75rem; color: #94a3b8; }

/* ===== Blog / Articles ===== */
.pe-blog-main { padding: 40px 0 60px; }
.pe-blog-header { text-align: center; margin-bottom: 32px; }
.pe-blog-header h1 { font-size: 1.8rem; margin-bottom: 8px; }
.pe-blog-sub { color: var(--text-light, #64748b); }
.pe-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.pe-post-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-color, #e2e8f0); box-shadow: 0 2px 8px rgba(0,0,0,.05); transition: transform .2s, box-shadow .2s; }
.pe-post-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.1); }
.pe-post-card-link { text-decoration: none; color: inherit; display: block; }
.pe-post-card-thumb img { width: 100%; height: 180px; object-fit: cover; display: block; }
.pe-post-card-placeholder { height: 180px; background: linear-gradient(135deg, #dbeafe, #ede9fe); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.pe-post-card-body { padding: 16px 18px 20px; }
.pe-post-card-title { font-size: 1.1rem; margin-bottom: 6px; line-height: 1.35; }
.pe-post-card-meta { font-size: .8rem; color: #94a3b8; margin-bottom: 8px; }
.pe-post-card-excerpt { font-size: .9rem; color: #64748b; margin-bottom: 10px; }
.pe-read-more { font-size: .85rem; font-weight: 600; color: var(--primary-color, #2563eb); }

.pe-article-wrap { max-width: 780px; margin: 0 auto; }
.pe-article { background: #fff; border-radius: 14px; padding: 28px 24px; border: 1px solid var(--border-color, #e2e8f0); box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.pe-breadcrumbs { font-size: .8rem; color: #94a3b8; margin-bottom: 12px; }
.pe-breadcrumbs a { color: #64748b; text-decoration: none; }
.pe-breadcrumbs a:hover { color: #2563eb; }
.pe-article-title { font-size: 1.75rem; line-height: 1.3; margin-bottom: 10px; }
.pe-article-meta { font-size: .85rem; color: #94a3b8; margin-bottom: 20px; }
.pe-article-thumb { margin-bottom: 24px; border-radius: 12px; overflow: hidden; }
.pe-article-thumb img { width: 100%; height: auto; display: block; }
.pe-article-content { font-size: 1.05rem; line-height: 1.75; color: #334155; }
.pe-article-content h2, .pe-article-content h3 { margin: 1.4em 0 .6em; color: #1e293b; }
.pe-article-content p { margin-bottom: 1em; }
.pe-article-content img { max-width: 100%; height: auto; border-radius: 8px; }
.pe-article-content a { color: #2563eb; }
.pe-tags { margin-top: 24px; }
.pe-tags a { display: inline-block; background: #f1f5f9; color: #475569; padding: 4px 10px; border-radius: 6px; font-size: .8rem; text-decoration: none; margin: 0 4px 6px 0; }
.pe-post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.pe-post-nav a { color: #2563eb; font-weight: 600; text-decoration: none; font-size: .9rem; }
.pe-pagination { margin-top: 32px; text-align: center; }
.pe-pagination .nav-links { display: inline-flex; gap: 6px; }
.pe-pagination a, .pe-pagination span { padding: 8px 12px; border-radius: 8px; background: #fff; border: 1px solid #e2e8f0; text-decoration: none; color: #334155; font-size: .9rem; }
.pe-pagination .current { background: #2563eb; color: #fff; border-color: #2563eb; }

@media (max-width: 640px) {
  .pe-article { padding: 18px 14px; }
  .pe-article-title { font-size: 1.35rem; }
  .pe-blog-main { padding: 24px 0 40px; }
}


/* ===== Social Icons & Share ===== */
.pe-social-icons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.pe-social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--pe-sc, #64748b); color: #fff !important;
  text-decoration: none; font-size: 1rem;
  transition: transform .2s, opacity .2s;
}
.pe-social-btn:hover { transform: translateY(-2px); opacity: .9; color: #fff !important; }
.pe-social-footer .pe-social-btn { width: 36px; height: 36px; font-size: .9rem; }

.pe-share-box {
  margin-top: 28px; padding: 18px;
  background: #f8fafc; border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 12px;
}
.pe-share-label {
  font-weight: 700; font-size: .95rem; margin-bottom: 12px;
  color: #1e293b; display: flex; align-items: center; gap: 8px;
}
.pe-share-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.pe-share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 8px; border: none;
  background: var(--pe-sc, #64748b); color: #fff !important;
  font-size: .82rem; font-weight: 600; text-decoration: none;
  cursor: pointer; font-family: inherit;
  transition: transform .15s, opacity .15s;
}
.pe-share-btn:hover { transform: translateY(-1px); opacity: .92; color: #fff !important; }
.pe-share-btn i { font-size: .95rem; }
@media (max-width: 480px) {
  .pe-share-btn span { display: none; }
  .pe-share-btn { padding: 10px 12px; }
}

/* Special sites section */
.special-cards-section {
  background: linear-gradient(180deg, #fffbeb 0%, #f8fafc 100%);
  border-top: 1px solid #fde68a;
}
.special-cards-section .section-header h2 { color: #b45309; }
.card-special {
  border: 2px solid #fbbf24;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.15);
}
.card-image { position: relative; }
.card-special-ribbon {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

/* ===== Breaking News Bar ===== */
.pe-breaking-news {
    display: flex;
    align-items: stretch;
    background: linear-gradient(90deg, #7f1d1d 0%, #b91c1c 40%, #dc2626 100%);
    color: #fff;
    overflow: hidden;
    min-height: 48px;
    box-shadow: 0 2px 8px rgba(185, 28, 28, 0.25);
}
.pe-bn-label {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #450a0a;
    padding: 0 16px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    z-index: 2;
}
.pe-bn-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
    animation: pe-bn-pulse 1.4s infinite;
}
@keyframes pe-bn-pulse {
    0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(251, 191, 36, 0); }
    100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
}
.pe-bn-track-wrap {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.pe-bn-track {
    display: flex;
    width: max-content;
    animation: pe-bn-scroll linear infinite;
    align-items: center;
}
@keyframes pe-bn-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.pe-bn-h1 {
    font-family: 'Hind Siliguri', system-ui, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    padding: 10px 2.5rem 10px 1rem;
    white-space: nowrap;
    color: #fff;
    display: inline-block;
}
.pe-bn-h1 a {
    color: #fff;
    text-decoration: none;
}
.pe-bn-h1 a:hover {
    text-decoration: underline;
}
@media (max-width: 600px) {
    .pe-bn-h1 { font-size: 1.05rem; padding: 8px 1.5rem 8px 0.75rem; }
    .pe-bn-label { padding: 0 10px; font-size: 0.75rem; }
}
