/* =========================================
   BLOG DETAIL PAGE CUSTOM STYLES
   ========================================= */

:root {
    --primary: #059EFF;
    --secondary: #DEF3FF;
    --text-dark: #1a1a1a;
    --text-body: #444444;
    --bg-page: #ffffff;
    --border-color: #E5E9F0;
    --sidebar-bg: #F8F9FA;
}

.blog-detail-page {
    background-color: var(--bg-page);
    min-height: 100vh;
}

.section-padding {
    padding: 50px 0;
}

/* --- Header Banner --- */
.bd-header-banner {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 35px 0;
}

.bd-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bd-page-title {
    margin: 0 0 5px;
    font-size: 28px;
    font-weight: 800;
    color: rgb(64, 179, 241);
}

.bd-page-subtitle {
    margin: 0;
    color: #666;
    font-size: 15px;
}

.bd-breadcrumb {
    font-size: 13px;
    color: #888;
    font-weight: 500;
}

.bd-breadcrumb a {
    color: rgb(64, 179, 241);
    text-decoration: none;
    transition: color 0.3s;
}

.bd-breadcrumb a:hover {
    color: #7FB501;
}

.bd-breadcrumb span {
    color: #000000;
}

/* --- Main Layout --- */
.bd-main-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 50px;
    align-items: start;
}

/* --- Left Column: Content Area --- */
.bd-featured-image {
    width: 100%;
    margin-bottom: 35px;
}

.bd-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Typography Inside Post Body */
.bd-article-body h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 40px 0 15px;
    line-height: 1.3;
}

.bd-article-body h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 30px 0 15px;
}

.bd-article-body p {
    color: #000000;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.bd-article-body strong,
.bd-article-body b {
    color: var(--text-dark);
    font-weight: 700;
}

.bd-article-body ul,
.bd-article-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-body);
}

.bd-article-body li {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 15px;
}

.bd-article-body a {
    color: #1f425d;
    text-decoration: underline;
}

.bd-article-body a:hover {
    text-decoration: none;
    color: #2AB0DD
}

/* --- FAQ Section inside Blog --- */
.bd-faq-section {
    background: #f9f9f9;
    border: 1px solid var(--border-color);
    padding: 30px;
    margin: 40px 0;
}

.bd-faq-section h2 {
    margin-top: 0;
    font-size: 22px;
    margin-bottom: 20px;
}

.bd-faq-item {
    margin-bottom: 20px;
}

.bd-faq-item strong {
    display: block;
    font-size: 16px;
    color: #000000;
    margin-bottom: 8px;
}

/* --- Right Column: Sidebar --- */
.bd-sidebar {
    background-color: var(--sidebar-bg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    height: 100%;
}

.bd-widget-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Categories List */
.bd-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bd-category-list li {
    margin-bottom: -1px;
}

.bd-category-list a {
    display: block;
    padding: 12px 16px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.bd-category-list a:hover,
.bd-category-list a.is-active {
    color: #7FB401;
    background-color: #fcfcfc;
}

/* Recent Posts List */
.bd-recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bd-recent-list li {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bd-recent-list img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    background-color: #fff;
    padding: 2px;
}

.bd-thumb-placeholder {
    width: 65px;
    height: 65px;
    background: #e9ecef;
    border: 1px solid var(--border-color);
}

.bd-recent-list a {
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s;
}

.bd-recent-list a:hover {
    color: var(--primary);
}

/* Tags Cloud Widget */
.bd-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bd-tags-cloud a {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    color: #666;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s ease;
}

.bd-tags-cloud a:hover {
    background-color: #7FB401;
    color: #ffffff;
    border-color: var(--primary);
}

/* --- Responsive Queries --- */
@media (max-width: 1024px) {
    .bd-main-layout {
        grid-template-columns: 1fr 280px;
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .bd-header-flex {
        flex-direction: column;
        text-align: left;
        gap: 15px;
    }

    .bd-main-layout {
        grid-template-columns: 1fr;
    }

    .bd-sidebar {
        order: 2;
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .bd-page-title {
        font-size: 24px;
    }

    .section-padding {
        padding: 40px 0;
    }
}

/* =========================
   Share Box
   ========================= */
.share-box {
    position: relative;
    margin: 60px auto 0;
    max-width: 332px;
    border-radius: 10px;
    background: #40B3F1;
    color: #fff;
    padding: 20px;
}

.share-box .social-media-icons {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    align-items: center;
    justify-content: flex-start;
}

.share-box .social-circle-link {
    text-decoration: none;
    color: inherit;
}

.share-box .social-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #d9d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    transition: all 0.3s ease;
}

.share-box .social-circle:hover {
    border-color: #40B3F1;
    transform: translateY(-2px);
}

.share-box .youtube-1-icon,
.share-box .facebook-1-icon,
.share-box .instagram-1-icon {
    width: 16px;
    height: 16px;
    object-fit: cover;
}
.share-box .social-circle i {
    color: #40B3F1;
    font-size: 14px;
}

/* Base Layout */
.blog-detail-page-3 {
    background-color: #f7f7f7;
    padding-bottom: 60px;
}

.two-col {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 332px;
    gap: 30px;
    padding-top: 40px;
}

/* Hero Section */
.hero-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.image-4-icon {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.blog-detail-page-3-child3 {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.hero-overlay-content {
    position: absolute;
    bottom: 25px;
    left: 25px;
    color: #fff;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.category-chip {
    background: #fff;
    color: #40B3F1;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.chip-dot {
    width: 8px;
    height: 8px;
    background: #40B3F1;
    border-radius: 50%;
}

/* Post Body */
.post-body {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    margin-top: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.bd-article-body p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.bd-faq-section {
    background: #f9f9f9;
    padding: 25px;
    border-left: 4px solid #40B3F1;
    margin: 30px 0;
}

/* Sidebar & Related Cards */
.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.service-card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.service-card-content {
    padding: 15px;
}

.service-card-heading a {
    font-size: 16px;
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

.service-card-link {
    color: #40B3F1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

/* Share Box Fix - USING FONTAWESOME */
.share-box {
    background: #40B3F1;
    border-radius: 12px;
    padding: 20px;
    color: #fff;
    margin-top: 30px;
}

.share-with-your {
    font-weight: 600;
    margin-bottom: 12px;
}

.social-media-icons {
    display: flex;
    gap: 12px;
}

.social-circle {
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.social-circle i {
    color: #40B3F1;
    font-size: 18px;
}

.social-circle:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .two-col {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}