/**
 * BhagyaChakras Main CSS
 * Additional styles loaded after style.css
 *
 * @package BhagyaChakras
 */

/* ===== Typography Enhancements ===== */
.bc-content p:first-of-type {
    font-size: 1.08rem;
    color: #333;
}

.bc-content p:first-of-type::first-letter {
    font-size: 1.4em;
    font-weight: 700;
    color: #c0392b;
}

/* ===== Pagination Styles ===== */
.nav-links {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all .2s;
}

.nav-links .page-numbers:hover {
    background: #fef3f0;
    border-color: #c0392b;
    color: #c0392b;
}

.nav-links .page-numbers.current {
    background: #c0392b;
    border-color: #c0392b;
    color: #fff;
}

/* ===== Comment Styles ===== */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.comment-list li {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 16px;
    border: 1px solid #eee;
}

.comment-author {
    font-weight: 600;
    margin-bottom: 4px;
}

.comment-metadata {
    font-size: .82rem;
    color: #888;
    margin-bottom: 8px;
}

.comment-content p {
    margin-bottom: 0;
}

.comment-respond {
    margin-top: 32px;
}

.comment-respond label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: .9rem;
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: .95rem;
    margin-bottom: 16px;
    font-family: inherit;
}

.comment-respond textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-respond .submit {
    padding: 12px 28px;
    background: #c0392b;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: .95rem;
    transition: background .2s;
}

.comment-respond .submit:hover {
    background: #a93226;
}

/* ===== Featured Snippet Box ===== */
.bc-snippet-box {
    background: #fef9f0;
    border-left: 4px solid #d4a017;
    border-radius: 0 10px 10px 0;
    padding: 18px 22px;
    margin: 20px 0 28px;
    font-size: .95rem;
    line-height: 1.7;
    font-weight: 500;
}

.bc-dark .bc-snippet-box {
    background: #1e1e1e;
    border-left-color: #d4a017;
}

/* ===== Trust Badges ===== */
.bc-trust-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.bc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #f0faf0;
    border: 1px solid #c8e6c9;
    border-radius: 6px;
    font-size: .82rem;
    color: #2e7d32;
    font-weight: 500;
}

.bc-dark .bc-badge {
    background: #1a2e1a;
    border-color: #2e5a2e;
}

/* ===== Table Styles Enhancement ===== */
.bc-content table {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.bc-content thead th {
    background: #c0392b;
    color: #fff;
    font-weight: 600;
    font-size: .88rem;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.bc-content tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.bc-dark .bc-content thead th {
    background: #a93226;
}

.bc-dark .bc-content tbody tr:nth-child(even) {
    background: #1a1a1a;
}

.bc-dark .bc-content table {
    border-color: #333;
}

.bc-dark .bc-content th,
.bc-dark .bc-content td {
    border-color: #333;
}

/* ===== List Style Enhancement ===== */
.bc-content ul {
    list-style: none;
    padding-left: 0;
}

.bc-content ul li {
    position: relative;
    padding-left: 20px;
}

.bc-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: #c0392b;
    border-radius: 50%;
}

.bc-content ol {
    counter-reset: content-list;
    padding-left: 0;
}

.bc-content ol li {
    counter-increment: content-list;
    padding-left: 28px;
    position: relative;
}

.bc-content ol li::before {
    content: counter(content-list);
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background: #c0392b;
    color: #fff;
    border-radius: 50%;
    font-size: .72rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    .bc-content p:first-of-type {
        font-size: 1rem;
    }

    .bc-trust-badges {
        gap: 8px;
    }

    .bc-badge {
        font-size: .78rem;
        padding: 6px 10px;
    }

    .bc-content table {
        font-size: .85rem;
    }

    .bc-content th,
    .bc-content td {
        padding: 8px 10px;
    }

    .nav-links .page-numbers {
        min-width: 36px;
        height: 36px;
        font-size: .82rem;
    }
}

@media (max-width: 480px) {
    .bc-content table {
        font-size: .78rem;
    }

    .bc-content th,
    .bc-content td {
        padding: 6px 8px;
    }
}

/* ===== Animation: Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
