/* ==========================================================================
   Blog Detail Page — scoped styles (prefixed with "bd-" everywhere)
   Loaded only on the /blog/{slug} page, so it never touches any other
   page's CSS/Tailwind classes.
   ========================================================================== */

.bd-wrap {
    background: #fffdf9;
    padding: 40px 0 60px;
}

.bd-container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Breadcrumb */
.bd-breadcrumb {
    font-size: 14px;
    color: #8a8a8a;
    margin-bottom: 24px;
}

.bd-breadcrumb a {
    color: #ad1457;
    text-decoration: none;
}

.bd-breadcrumb a:hover {
    text-decoration: underline;
}

.bd-breadcrumb span {
    margin: 0 6px;
}

.bd-breadcrumb-current {
    color: #666;
}

/* ---------------------------------------------------------------
   Simple, self-contained Bootstrap-style grid: row / col-lg-8 / col-lg-4
   --------------------------------------------------------------- */
.bd-wrap .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.bd-wrap .col-lg-8,
.bd-wrap .col-lg-4 {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .bd-wrap .col-lg-8 {
        flex: 0 0 66.6667%;
        max-width: 66.6667%;
    }

    .bd-wrap .col-lg-4 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

/* ================= Main article (col-lg-8) ================= */
.bd-article {
    /* background: #fff; */
    border-radius: 12px;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); */
    /* padding: 32px; */
}

.bd-category-pill {
    display: inline-block;
    background: #f8bbd9;
    color: #ad1457;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 999px;
    text-decoration: none;
    margin-bottom: 14px;
}

.bd-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
    color: #2b2b2b;
    margin: 0 0 14px;
}

.bd-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 14px;
    color: #8a8a8a;
    margin-bottom: 22px;
}

.bd-meta i {
    margin-right: 6px;
    color: #e91e63;
}

.bd-image {
    margin-bottom: 26px;
    border-radius: 10px;
    overflow: hidden;
}

.bd-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Rich text content coming from the admin's CKEditor field */
.bd-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.bd-content p {
    margin: 0 0 18px;
}

.bd-content h2,
.bd-content h3,
.bd-content h4 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #ad1457;
    margin: 30px 0 14px;
    line-height: 1.35;
}

.bd-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 14px 0;
}

.bd-content ul,
.bd-content ol {
    margin: 0 0 18px;
    padding-left: 22px;
}

.bd-content a {
    color: #e91e63;
    text-decoration: underline;
}

.bd-content blockquote {
    border-left: 4px solid #e91e63;
    background: #fdf2f6;
    padding: 14px 20px;
    margin: 20px 0;
    color: #6b2e46;
    font-style: italic;
}

.bd-article-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bd-tag {
    background: #f5f5f5;
    color: #555;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 999px;
    text-decoration: none;
}

.bd-tag:hover {
    background: #f8bbd9;
    color: #ad1457;
}

/* ================= Sidebar (col-lg-4) ================= */
.bd-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 992px) {
    .bd-sidebar {
        position: sticky;
        top: 20px;
        align-self: flex-start;
    }
}

.bd-widget {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    padding: 22px;
}

.bd-widget-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    color: #2b2b2b;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f8bbd9;
}

.bd-empty {
    font-size: 14px;
    color: #999;
    margin: 0;
}

/* Small WhatsApp CTA card */
.bd-cta-widget {
    background: linear-gradient(135deg, #ad1457, #e91e63);
    text-align: center;
}

.bd-cta-widget p {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 14px;
}

.bd-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 11px 18px;
    border-radius: 999px;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    transition: background 0.2s ease;
}

.bd-whatsapp-btn:hover {
    background: #1ebe57;
}

.bd-whatsapp-btn i {
    font-size: 18px;
}

/* Recent blogs list */
.bd-recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bd-recent-list li + li {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f1f1f1;
}

.bd-recent-list a {
    display: flex;
    gap: 12px;
    text-decoration: none;
    align-items: flex-start;
}

.bd-recent-list img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.bd-recent-list strong {
    display: block;
    font-size: 14px;
    color: #2b2b2b;
    line-height: 1.35;
    font-weight: 600;
}

.bd-recent-list small {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.bd-recent-list a:hover strong {
    color: #e91e63;
}

/* Category plain list */
.bd-plain-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bd-plain-list li + li {
    border-top: 1px solid #f1f1f1;
}

.bd-plain-list a {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    color: #444;
    text-decoration: none;
    font-size: 14px;
}

.bd-plain-list a:hover {
    color: #e91e63;
}

/* Tag cloud */
.bd-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bd-tag-cloud a {
    background: #f5f5f5;
    color: #555;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 999px;
    text-decoration: none;
}

.bd-tag-cloud a:hover {
    background: #f8bbd9;
    color: #ad1457;
}

/* Follow us */
.bd-social-list {
    display: flex;
    gap: 10px;
}

.bd-social-list a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #ad1457;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.bd-social-list a:hover {
    background: #e91e63;
    color: #fff;
}

@media (max-width: 991px) {
    /* .bd-article {
        padding: 22px;
    } */

    .bd-title {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    /* .bd-article {
         padding: 15px; 
    } */
     .bd-title {
        font-size: 20px;
    }
}
