/* ======================================
   BLOG SINGLE PAGE - UNIQUE CSS
   All classes prefixed with bs- (blog-single)
   ====================================== */

/* ===== CSS VARIABLES ===== */
:root {
    --bs-navy: #003E7E;
    --bs-red: #E31E24;
    --bs-magenta: #A5195D;
    --bs-white: #FFFFFF;
    --bs-light-bg: #F8F9FA;
    --bs-text-dark: #2C3E50;
    --bs-text-light: #6C757D;
    --bs-border: #E0E0E0;
}

/* ===== PAGE HEADER ===== */
.bs-page-header {
    position: relative;
    padding: 150px 0 100px;
    overflow: hidden;
    margin-top: 0;
}

.bs-page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.bs-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,62,126,0.9), rgba(165,25,93,0.85));
    z-index: 2;
}

.bs-header-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.bs-category-badge {
    display: inline-block;
    background: var(--bs-red);
    color: var(--bs-white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.bs-page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bs-white);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    animation: bsFadeInDown 0.8s ease;
}

.bs-meta-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.bs-meta-item {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bs-meta-item i {
    color: var(--bs-red);
}

/* ===== CONTENT SECTION ===== */
.bs-content-section {
    padding: 80px 0;
}

.bs-article {
    background: var(--bs-white);
}

.bs-featured-image {
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
}

.bs-main-image {
    width: 100%;
    height: auto;
    display: block;
}

.bs-article-content {
    margin-bottom: 40px;
}

.bs-lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--bs-text-dark);
    font-weight: 500;
    margin-bottom: 30px;
}

.bs-section-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bs-navy);
    margin: 40px 0 20px;
    position: relative;
    padding-bottom: 12px;
}

.bs-section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--bs-red);
    border-radius: 2px;
}

.bs-subsection-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--bs-navy);
    margin: 30px 0 15px;
}

.bs-article-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--bs-text-dark);
    margin-bottom: 20px;
}

.bs-content-list {
    margin: 20px 0 30px 20px;
}

.bs-content-list li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--bs-text-dark);
    margin-bottom: 12px;
}

/* Info Box */
.bs-info-box {
    background: rgba(227,30,36,0.05);
    border-left: 4px solid var(--bs-red);
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    display: flex;
    gap: 20px;
}

.bs-info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--bs-red);
    color: var(--bs-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.bs-info-content h4 {
    color: var(--bs-navy);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.bs-info-content p {
    margin: 0;
    font-size: 1rem;
}

/* Quote */
.bs-quote {
    background: var(--bs-light-bg);
    border-left: 5px solid var(--bs-navy);
    padding: 30px 40px;
    margin: 40px 0;
    border-radius: 10px;
}

.bs-quote p {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--bs-navy);
    margin-bottom: 15px;
    line-height: 1.6;
}

.bs-quote cite {
    color: var(--bs-text-light);
    font-size: 1rem;
    font-style: normal;
}

/* Treatment Grid */
.bs-treatment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.bs-treatment-card {
    background: var(--bs-white);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--bs-border);
    text-align: center;
    transition: all 0.3s ease;
}

.bs-treatment-card:hover {
    border-color: var(--bs-navy);
    transform: translateY(-5px);
}

.bs-treatment-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--bs-magenta), #d41868);
    color: var(--bs-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.bs-treatment-card:hover .bs-treatment-icon {
    background: var(--bs-navy);
    transform: rotateY(360deg);
}

.bs-treatment-card h4 {
    color: var(--bs-navy);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.bs-treatment-card p {
    font-size: 0.95rem;
    margin: 0;
}

/* Tags Section */
.bs-tags-section {
    padding: 30px 0;
    border-top: 1px solid var(--bs-border);
    border-bottom: 1px solid var(--bs-border);
    margin: 40px 0;
}

.bs-tags-title {
    color: var(--bs-navy);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.bs-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bs-tag {
    display: inline-block;
    padding: 8px 18px;
    background: var(--bs-light-bg);
    color: var(--bs-text-dark);
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bs-tag:hover {
    background: var(--bs-navy);
    color: var(--bs-white);
}

/* Share Section */
.bs-share-section {
    padding: 30px 0;
    border-bottom: 1px solid var(--bs-border);
    margin-bottom: 40px;
}

.bs-share-title {
    color: var(--bs-navy);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.bs-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bs-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    color: var(--bs-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.bs-share-btn:hover {
    transform: translateY(-2px);
}

.bs-facebook { background: #3b5998; }
.bs-facebook:hover { background: #2d4373; }
.bs-twitter { background: #1da1f2; }
.bs-twitter:hover { background: #0c85d0; }
.bs-linkedin { background: #0077b5; }
.bs-linkedin:hover { background: #005885; }
.bs-whatsapp { background: #25d366; }
.bs-whatsapp:hover { background: #1ebe57; }

/* Author Box */
.bs-author-box {
    background: var(--bs-light-bg);
    padding: 35px;
    border-radius: 20px;
    display: flex;
    gap: 25px;
    margin-bottom: 50px;
}

.bs-author-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.bs-author-info {
    flex: 1;
}

.bs-author-name {
    color: var(--bs-navy);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.bs-author-title {
    color: var(--bs-red);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.bs-author-bio {
    color: var(--bs-text-dark);
    line-height: 1.7;
    margin-bottom: 15px;
}

.bs-author-social {
    display: flex;
    gap: 10px;
}

.bs-author-social-link {
    width: 35px;
    height: 35px;
    background: var(--bs-navy);
    color: var(--bs-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bs-author-social-link:hover {
    background: var(--bs-red);
    transform: translateY(-3px);
}

/* Related Posts */
.bs-related-posts {
    margin-top: 50px;
}

.bs-related-title {
    color: var(--bs-navy);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

.bs-related-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--bs-red);
    border-radius: 2px;
}

.bs-related-card {
    background: var(--bs-white);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--bs-border);
    transition: all 0.3s ease;
}

.bs-related-card:hover {
    border-color: var(--bs-navy);
    transform: translateY(-5px);
}

.bs-related-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.bs-related-content {
    padding: 20px;
}

.bs-related-category {
    display: inline-block;
    background: rgba(227,30,36,0.1);
    color: var(--bs-red);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.bs-related-post-title {
    margin-bottom: 10px;
}

.bs-related-post-title a {
    color: var(--bs-navy);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.bs-related-post-title a:hover {
    color: var(--bs-red);
}

.bs-related-date {
    color: var(--bs-text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===== SIDEBAR ===== */
.bs-sidebar {
    position: sticky;
    top: 100px;
}

.bs-widget {
    background: var(--bs-white);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    border: 1px solid var(--bs-border);
}

.bs-widget-title {
    color: var(--bs-navy);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.bs-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--bs-red);
    border-radius: 2px;
}

/* Search Widget */
.bs-search-form {
    position: relative;
}

.bs-search-input {
    width: 100%;
    padding: 12px 50px 12px 18px;
    border: 1px solid var(--bs-border);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.bs-search-input:focus {
    outline: none;
    border-color: var(--bs-navy);
    box-shadow: 0 0 0 3px rgba(0,62,126,0.1);
}

.bs-search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bs-red);
    color: var(--bs-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bs-search-btn:hover {
    background: var(--bs-navy);
}

/* Categories Widget */
.bs-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bs-category-list li {
    border-bottom: 1px solid var(--bs-border);
}

.bs-category-list li:last-child {
    border-bottom: none;
}

.bs-category-list a {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    color: var(--bs-text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.bs-category-list a:hover {
    color: var(--bs-red);
    padding-left: 10px;
}

.bs-category-list span {
    color: var(--bs-text-light);
    font-size: 0.9rem;
}

/* Recent Posts Widget */
.bs-recent-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--bs-border);
}

.bs-recent-item:first-child {
    padding-top: 0;
}

.bs-recent-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bs-recent-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.bs-recent-content h5 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.bs-recent-content h5 a {
    color: var(--bs-navy);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.bs-recent-content h5 a:hover {
    color: var(--bs-red);
}

.bs-recent-date {
    color: var(--bs-text-light);
    font-size: 0.85rem;
}

/* Tags Widget */
.bs-widget-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bs-widget-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bs-light-bg);
    color: var(--bs-text-dark);
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bs-widget-tag:hover {
    background: var(--bs-navy);
    color: var(--bs-white);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (992px and below) */
@media (max-width: 992px) {
    .bs-page-title {
        font-size: 2.2rem;
    }

    .bs-section-heading {
        font-size: 1.7rem;
    }

    .bs-content-section {
        padding: 60px 0;
    }

    .bs-sidebar {
        position: static;
        margin-top: 50px;
    }

    .bs-treatment-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    .bs-page-header {
        padding: 120px 0 80px;
    }

    .bs-page-title {
        font-size: 1.8rem;
    }

    .bs-meta-info {
        flex-direction: column;
        gap: 10px;
    }

    .bs-lead {
        font-size: 1.1rem;
    }

    .bs-article-content p {
        font-size: 1rem;
    }

    .bs-author-box {
        flex-direction: column;
        text-align: center;
    }

    .bs-author-image {
        margin: 0 auto;
    }

    .bs-author-social {
        justify-content: center;
    }

    .bs-share-buttons {
        flex-direction: column;
    }

    .bs-share-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Small Mobile (576px and below) */
@media (max-width: 576px) {
    .bs-page-title {
        font-size: 1.5rem;
    }

    .bs-section-heading {
        font-size: 1.4rem;
    }

    .bs-subsection-heading {
        font-size: 1.2rem;
    }

    .bs-info-box {
        flex-direction: column;
        text-align: center;
    }

    .bs-info-icon {
        margin: 0 auto;
    }

    .bs-widget {
        padding: 25px 20px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes bsFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}