body:has(.blog-detail-page-wrapper) #root {
  background: #ffffff !important;
}

.blog-detail-page-wrapper {
  max-width: 1200px !important;
  padding-top: 40px;
}

/* Layout grid for Sidebar + Article */
.blog-detail-layout-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    margin-bottom: 50px;
}

@media (max-width: 960px) {
    .blog-detail-layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Sidebar Styles */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid rgba(140, 111, 56, 0.15);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.015);
}

.widget-title {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-green);
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Recent posts widget */
.sidebar-recent-posts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recent-post-item {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-fast);
}

.recent-post-item:hover .recent-post-title {
    color: var(--brand-gold);
}

.recent-post-img-box {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.05);
}

.recent-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-meta {
    display: flex;
    flex-direction: column;
}

.recent-post-title {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-green);
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-date {
    font-size: 0.72rem;
    color: var(--text-gray);
}

/* Search widget */
.sidebar-search-box {
    position: relative;
}

.sidebar-search-input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-family: var(--font-body);
    font-size: 0.88rem;
    background-color: var(--bg-secondary);
    transition: var(--transition-fast);
}

.sidebar-search-input:focus {
    outline: none;
    border-color: var(--brand-gold);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px var(--brand-gold-glow);
}

.sidebar-search-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    pointer-events: none;
}

/* Sidebar Callout widget */
.sidebar-cta-widget {
    background: linear-gradient(135deg, var(--brand-green-dark) 0%, #0c1410 100%);
    border: 1px solid var(--brand-gold);
    color: #ffffff;
}

.sidebar-cta-widget .widget-title {
    color: var(--brand-gold);
    border-bottom-color: rgba(255,255,255,0.08);
}

.sidebar-cta-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

/* Comment Section Styles */
.comments-section-container {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.comments-title {
    font-family: var(--font-headings);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-green);
    margin-bottom: 24px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.comment-card {
    display: flex;
    gap: 16px;
    background: var(--bg-secondary);
    border: 1px solid rgba(0,0,0,0.04);
    padding: 20px;
    border-radius: 12px;
}

.comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-green);
    color: var(--brand-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.comment-content-box {
    flex-grow: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.commenter-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--brand-green);
}

.comment-date {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.comment-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #334155;
}

/* Comment Form Styles */
.comment-form-box {
    background: #ffffff;
    border: 1px solid rgba(140, 111, 56, 0.15);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.01);
}

.comment-form-title {
    font-family: var(--font-headings);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-green);
    margin-bottom: 20px;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .form-row-two {
        grid-template-columns: 1fr;
    }
}

.comment-input-field {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-family: var(--font-body);
    font-size: 0.9rem;
    background-color: var(--bg-secondary);
    transition: var(--transition-fast);
}

.sidebar-widget . GoldPill {
    border-color: var(--brand-gold);
}

.comment-input-field:focus {
    outline: none;
    border-color: var(--brand-gold);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px var(--brand-gold-glow);
}

textarea.comment-input-field {
    resize: vertical;
    min-height: 120px;
}

                .detail-nav-row {
                    margin-bottom: 32px;
                }

                .detail-back-btn {
                    background: transparent;
                    border: none;
                    color: var(--brand-gold);
                    font-family: var(--font-headings);
                    font-size: 0.85rem;
                    font-weight: 700;
                    letter-spacing: 0.05em;
                    cursor: pointer;
                    display: inline-flex;
                    align-items: center;
                    gap: 8px;
                    padding: 8px 0;
                    transition: var(--transition-fast);
                }

                .detail-back-btn:hover {
                    color: var(--brand-green);
                }

                .detail-back-btn:hover .back-arrow {
                    transform: translateX(-4px);
                }

                .back-arrow {
                    transition: transform 0.3s;
                }

                .blog-main-article {
                    background: #ffffff;
                    border: 1px solid rgba(140, 111, 56, 0.15);
                    border-radius: 24px;
                    padding: 50px;
                    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
                }

                .article-header {
                    margin-bottom: 32px;
                }

                .article-category-row {
                    display: flex;
                    align-items: center;
                    gap: 16px;
                    margin-bottom: 20px;
                }

                .category-tag {
                    font-family: var(--font-headings);
                    font-size: 0.72rem;
                    font-weight: 700;
                    letter-spacing: 0.05em;
                    padding: 4px 12px;
                    border-radius: 4px;
                    text-transform: uppercase;
                }

                .badge-gold {
                    background: rgba(140, 111, 56, 0.1);
                    color: var(--brand-gold);
                    border: 1px solid rgba(140, 111, 56, 0.2);
                }

                .badge-green {
                    background: rgba(38, 57, 44, 0.08);
                    color: var(--brand-green);
                    border: 1px solid rgba(38, 57, 44, 0.15);
                }

                .badge-sand {
                    background: rgba(117, 92, 46, 0.08);
                    color: #755c2e;
                    border: 1px solid rgba(117, 92, 46, 0.15);
                }

                .badge-default {
                    background: rgba(0, 0, 0, 0.05);
                    color: var(--text-gray);
                }

                .reading-time-pill {
                    display: inline-flex;
                    align-items: center;
                    gap: 5px;
                    font-size: 0.8rem;
                    color: var(--text-gray);
                    font-weight: 500;
                }

                .article-main-title {
                    font-size: 2.6rem;
                    font-weight: 800;
                    color: var(--brand-green);
                    line-height: 1.2;
                    margin-bottom: 24px;
                    letter-spacing: -0.01em;
                }

                .article-author-card {
                    display: flex;
                    align-items: center;
                    gap: 12px;
                    padding-top: 16px;
                    border-top: 1px solid rgba(0, 0, 0, 0.06);
                }

                .author-avatar-circle {
                    width: 40px;
                    height: 40px;
                    border-radius: 50%;
                    background: var(--brand-green);
                    color: var(--brand-gold);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-family: var(--font-headings);
                    font-size: 0.85rem;
                    font-weight: 700;
                    border: 1px solid rgba(140, 111, 56, 0.3);
                }

                .author-details-box {
                    display: flex;
                    flex-direction: column;
                }

                .author-name-text {
                    font-size: 0.9rem;
                    font-weight: 700;
                    color: var(--brand-green);
                    letter-spacing: 0.02em;
                }

                .publication-date-text {
                    font-size: 0.78rem;
                    color: var(--text-gray);
                }

                .article-featured-image-wrapper {
                    width: 100%;
                    max-height: 480px;
                    overflow: hidden;
                    border-radius: 16px;
                    border: 1px solid rgba(140, 111, 56, 0.2);
                    margin-bottom: 40px;
                    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
                }

                .article-featured-image {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    display: block;
                }

                .article-body-content {
                    margin-bottom: 50px;
                }

                .article-body-content h2 {
                    font-size: 1.6rem;
                    color: var(--brand-green);
                    margin-top: 36px;
                    margin-bottom: 16px;
                    font-weight: 700;
                    border-left: 4px solid var(--brand-gold);
                    padding-left: 12px;
                }
                .article-body-content h3 {
                    font-size: 1.3rem;
                    color: var(--brand-green);
                    margin-top: 28px;
                    margin-bottom: 12px;
                    font-weight: 600;
                }
                .article-body-content p {
                    margin-bottom: 20px;
                    font-size: 1.08rem;
                    line-height: 1.95;
                    color: #334155;
                }
                .article-body-content ul, .article-body-content ol {
                    margin-bottom: 24px;
                    padding-left: 24px;
                    color: #334155;
                }
                .article-body-content li {
                    margin-bottom: 8px;
                    font-size: 1.05rem;
                    line-height: 1.8;
                }
                .article-body-content strong {
                    color: #0f172a;
                    font-weight: 700;
                }

                /* Lead Paragraph Styling */
                .lead-paragraph {
                    font-size: 1.22rem;
                    line-height: 1.8;
                    color: #1e293b; /* Dark Slate for high contrast */
                    font-weight: 500;
                    margin-bottom: 24px;
                }

                .body-text {
                    font-size: 1.08rem;
                    line-height: 1.95;
                    color: #334155; /* Slate 700 - extremely readable and compliant with contrast ratios */
                    white-space: pre-line;
                }

                /* Article CTA callout */
                .article-cta-box {
                    background: linear-gradient(135deg, var(--brand-green-dark) 0%, #0c1410 100%);
                    border: 1px solid var(--brand-gold);
                    border-radius: 16px;
                    padding: 40px;
                    text-align: center;
                    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
                    color: #ffffff;
                }

                .cta-icon-holder {
                    width: 50px;
                    height: 50px;
                    border-radius: 50%;
                    background: rgba(140, 111, 56, 0.15);
                    border: 1px solid var(--brand-gold);
                    color: var(--brand-gold);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    margin: 0 auto 20px;
                }

                .cta-sparkle {
                    animation: sparklePulse 2s infinite ease-in-out;
                }

                @keyframes sparklePulse {
                    0%, 100% { transform: scale(1); opacity: 0.8; }
                    50% { transform: scale(1.15); opacity: 1; }
                }

                .cta-title {
                    font-size: 1.3rem;
                    font-weight: 700;
                    color: var(--brand-gold);
                    letter-spacing: 0.05em;
                    margin-bottom: 12px;
                    text-transform: uppercase;
                }

                .cta-description {
                    font-size: 0.95rem;
                    line-height: 1.6;
                    color: #a0ac9e;
                    max-width: 550px;
                    margin: 0 auto 24px;
                }

                .cta-btn-inquire {
                    background-color: var(--brand-gold);
                    color: #ffffff;
                    border: 1px solid var(--brand-gold);
                    padding: 10px 24px;
                    border-radius: 4px;
                    font-weight: 700;
                    font-size: 0.85rem;
                }

                .cta-btn-inquire:hover {
                    background-color: var(--brand-gold-hover);
                    border-color: var(--brand-gold-hover);
                    box-shadow: 0 4px 15px rgba(140, 111, 56, 0.4);
                }

                /* Related Articles Grid */
                .related-articles-section {
                    margin-top: 60px;
                    border-top: 1px solid rgba(0, 0, 0, 0.08);
                    padding-top: 40px;
                }

                .related-section-header {
                    margin-bottom: 24px;
                }

                .related-title-heading {
                    font-size: 1.3rem;
                    font-weight: 700;
                    color: var(--brand-green);
                    letter-spacing: 0.05em;
                    margin-bottom: 10px;
                }

                .title-divider-line {
                    width: 40px;
                    height: 2px;
                    background: var(--brand-gold);
                }

                .related-articles-grid {
                    display: grid;
                    grid-template-columns: repeat(2, 1fr);
                    gap: 24px;
                }

                .related-article-card {
                    background: #ffffff;
                    border: 1px solid rgba(140, 111, 56, 0.15);
                    border-radius: 12px;
                    overflow: hidden;
                    display: flex;
                    cursor: pointer;
                    transition: var(--transition-normal);
                    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
                }

                .related-article-card:hover {
                    transform: translateY(-2px);
                    box-shadow: 0 8px 24px rgba(140, 111, 56, 0.05);
                    border-color: rgba(140, 111, 56, 0.3);
                }

                .related-img-holder {
                    width: 120px;
                    height: 120px;
                    flex-shrink: 0;
                    overflow: hidden;
                    border-right: 1px solid rgba(140, 111, 56, 0.15);
                }

                .related-img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    transition: transform 0.5s ease;
                }

                .related-article-card:hover .related-img {
                    transform: scale(1.04);
                }

                .related-info-holder {
                    padding: 16px;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                }

                .related-category-text {
                    font-family: var(--font-headings);
                    font-size: 0.65rem;
                    font-weight: 700;
                    color: var(--brand-gold);
                    letter-spacing: 0.05em;
                    text-transform: uppercase;
                    margin-bottom: 6px;
                }

                .related-card-title {
                    font-size: 0.95rem;
                    font-weight: 700;
                    color: var(--brand-green);
                    line-height: 1.35;
                    margin-bottom: 8px;
                    display: -webkit-box;
                    -webkit-line-clamp: 2;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                }

                .related-arrow-action {
                    font-family: var(--font-headings);
                    font-size: 0.7rem;
                    font-weight: 700;
                    color: var(--brand-gold);
                    display: inline-flex;
                    align-items: center;
                    gap: 4px;
                    transition: var(--transition-fast);
                }

                .related-article-card:hover .related-arrow-action {
                    color: var(--brand-gold-hover);
                }

                .related-article-card:hover .related-arrow-action svg {
                    transform: translateX(3px);
                }

                .related-arrow-action svg {
                    transition: transform 0.3s;
                }

                /* Article Pagination styles */
                .article-pagination-row {
                    display: grid;
                    grid-template-columns: 1fr 1fr;
                    gap: 24px;
                    margin-top: 40px;
                    margin-bottom: 40px;
                    border-top: 1px solid rgba(140, 111, 56, 0.15);
                    border-bottom: 1px solid rgba(140, 111, 56, 0.15);
                    padding: 20px 0;
                }

                .pagination-btn {
                    background: transparent;
                    border: none;
                    cursor: pointer;
                    display: flex;
                    flex-direction: column;
                    text-align: left;
                    transition: var(--transition-fast);
                    padding: 10px;
                    border-radius: 8px;
                }

                .pagination-btn:hover {
                    background: rgba(140, 111, 56, 0.04);
                }

                .pagination-btn.next {
                    text-align: right;
                    align-items: flex-end;
                }

                .pagination-label {
                    font-family: var(--font-headings);
                    font-size: 0.72rem;
                    font-weight: 700;
                    color: var(--brand-gold);
                    letter-spacing: 0.08em;
                    margin-bottom: 6px;
                    display: inline-flex;
                    align-items: center;
                    gap: 4px;
                }

                .pagination-title {
                    font-size: 0.95rem;
                    font-weight: 700;
                    color: var(--brand-green);
                    line-height: 1.35;
                    max-width: 300px;
                    display: -webkit-box;
                    -webkit-line-clamp: 2;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                }

                .pagination-btn:hover .pagination-title {
                    color: var(--brand-gold);
                }

                .pagination-spacer {
                    display: block;
                }

                @media (max-width: 600px) {
                    .article-pagination-row {
                        grid-template-columns: 1fr;
                        gap: 16px;
                    }
                    .pagination-btn.next {
                        text-align: left;
                        align-items: flex-start;
                    }
                }

                @media (max-width: 768px) {
                    .blog-main-article {
                        padding: 30px 20px;
                    }
                    .article-main-title {
                        font-size: 2rem;
                    }
                    .related-articles-grid {
                        grid-template-columns: 1fr;
                    }
                }