/* ==========================================
   blog-detail.css
   Premium styles for the Blog Detail page.
   Scoped and styled to wow the user.
   ========================================== */

/* Page background */
.bld-page {
    background: #f9f7f4;
}

.bld-main {
    padding-bottom: 24px;
    background: #f9f7f4;
    font-family: 'Nunito', sans-serif;
}

/* Breadcrumb and Banner */
.bld-hero-banner {
    background: linear-gradient(135deg, #1a3c34 0%, #0f2520 100%);
    padding: 60px 0;
    color: #fff;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Subtle decorative circles for a premium look */
.bld-hero-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: rgba(232, 160, 32, 0.08);
    border-radius: 50%;
    z-index: 1;
}

.bld-hero-banner::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 10%;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    z-index: 1;
}

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

.bld-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 15px;
    font-size: 13px;
    font-weight: 600;
}

.bld-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.bld-breadcrumb .breadcrumb-item a:hover {
    color: #e8a020;
}

.bld-breadcrumb .breadcrumb-item.active {
    color: #fff;
    font-weight: 700;
}

.bld-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.35);
}

.bld-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.25;
    color: #fff;
}

.bld-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    align-items: center;
}

.bld-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bld-meta-item i {
    color: #e8a020;
}

.bld-cat-badge {
    background: #e8a020;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Two-column Layout Details */
.bld-img-container {
    position: sticky;
    top: 100px;
}

.bld-featured-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border: 4px solid #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 24px;
    max-height: 420px;
}

.bld-featured-img-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.bld-featured-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* Author Box Details */
.bld-author-card {
    background: #fff;
    border-radius: 16px;
    border: 1.5px solid #e4e0d8;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.02);
}

.bld-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e8a020;
}

.bld-author-info h6 {
    margin: 0 0 4px 0;
    font-weight: 800;
    color: #1a1a1a;
    font-size: 15px;
}

.bld-author-info p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Blog Content Details */
.bld-content-card {
    background: #fff;
    border-radius: 20px;
    border: 1.5px solid #e4e0d8;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.bld-lead-paragraph {
    font-size: 18px;
    line-height: 1.7;
    color: #2d6a4f;
    font-weight: 600;
    margin-bottom: 28px;
    border-left: 4px solid #e8a020;
    padding-left: 20px;
}

.bld-body-text {
    color: #222;
    font-family: initial;
    font-size: initial;
    line-height: normal;
    overflow-wrap: break-word;
}

.bld-body-text p {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    margin: 0 0 16px;
}

.bld-body-text h1,
.bld-body-text h2,
.bld-body-text h3,
.bld-body-text h4,
.bld-body-text h5,
.bld-body-text h6 {
    color: inherit;
    font-family: inherit;
    line-height: normal;
    margin: 20px 0 12px;
}

.bld-body-text ul,
.bld-body-text ol {
    margin: 0 0 18px 28px;
    padding-left: 18px;
}

.bld-body-text ul {
    list-style: disc;
}

.bld-body-text ol {
    list-style: decimal;
}

.bld-body-text li {
    display: list-item;
    margin-bottom: 6px;
}

.bld-body-text a {
    color: #0f5f56;
    text-decoration: underline;
}

.bld-body-text img {
    max-width: 100%;
    height: auto;
}

.bld-body-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
}

.bld-body-text table,
.bld-body-text th,
.bld-body-text td {
    border: 1px solid #d8d2c8;
}

.bld-body-text th,
.bld-body-text td {
    padding: 10px;
    vertical-align: top;
}

.bld-body-text iframe,
.bld-body-text video {
    max-width: 100%;
}

/* Styled Blockquote */
.bld-blockquote {
    background: #fbf9f5;
    border-left: 4px solid #e8a020;
    padding: 24px 30px;
    margin: 30px 0;
    border-radius: 0 16px 16px 0;
    position: relative;
}

.bld-blockquote p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 18px;
    color: #1a3c34;
    line-height: 1.6;
    margin-bottom: 8px !important;
}

.bld-blockquote cite {
    font-size: 13px;
    font-weight: 700;
    color: #e8a020;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-style: normal;
}

/* Checked List */
.bld-list {
    list-style: none;
    padding-left: 0;
    margin: 24px 0;
}

.bld-list li {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.bld-list li i {
    color: #e8a020;
    font-size: 18px;
    margin-top: 2px;
}

/* Social Share Block */
.bld-share-box {
    border-top: 1px solid #f0ece5;
    margin-top: 40px;
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.bld-share-title {
    font-weight: 800;
    font-size: 15px;
    color: #1a1a1a;
    margin: 0;
}

.bld-share-socials {
    display: flex;
    gap: 10px;
}

.bld-share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f4f1ea;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.bld-share-btn:hover {
    color: #fff;
    transform: translateY(-3px);
}

.bld-share-btn.fb:hover { background: #3b5998; }
.bld-share-btn.tw:hover { background: #1da1f2; }
.bld-share-btn.pin:hover { background: #bd081c; }
.bld-share-btn.wa:hover { background: #25d366; }

/* Elegant CTA Section */
.bld-cta-section {
    background: linear-gradient(135deg, #1a3c34 0%, #112924 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
    margin-top: 20px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(26,60,52,0.15);
    overflow: hidden;
    position: relative;
}

.bld-cta-section::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    width: 150px;
    height: 150px;
    background: rgba(232, 160, 32, 0.06);
    border-radius: 50%;
}

.bld-cta-inner {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.bld-cta-icon {
    font-size: 40px;
    color: #e8a020;
    margin-bottom: 16px;
    animation: pulse-paw 2s infinite;
}

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

.bld-cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.bld-cta-desc {
    font-size: 15px;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 28px;
}

.bld-cta-btn {
    background: #e8a020;
    color: #fff;
    border: none;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 800;
    border-radius: 30px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(232, 160, 32, 0.3);
}

.bld-cta-btn:hover {
    background: #fff;
    color: #1a3c34;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(255,255,255,0.25);
}

/* Responsive tweaks */
@media (max-width: 991px) {
    .bld-img-container {
        position: static;
        margin-bottom: 30px;
    }
    .bld-content-card {
        padding: 30px 20px;
    }
    .bld-featured-img-wrap {
        max-height: 280px;
    }
    .bld-featured-img {
        height: 280px;
    }
}
