.blogs-detail-hero {
    position: relative;
    overflow: hidden;
}

.blogs-detail-hero::after {
    position: absolute;
    z-index: 0;
    content: "";
    inset: 0;
    background-image: linear-gradient(180deg, #000000b3, #0000007d);
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .blogs-detail-hero {
        margin-top: -70px;
        padding-top: calc(70px + 2.5rem);
        padding-bottom: 2.5rem;
    }
}

@media (min-width: 992px) {
    .blogs-detail-hero {
        margin-top: -120px;
        padding-top: calc(120px + 3.5rem);
        padding-bottom: 0;
    }
}

.blogs-detail-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.blogs-detail-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    margin: 0;
}

.blogs-detail-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: start;
    gap: 0.75rem;
}

.blogs-detail-hero__title {
    margin: 0;
    color: #fff;
    font-size: calc(1.375rem + 1.5vw);
    line-height: 1.2;
}

@media (min-width: 1200px) {
    .blogs-detail-hero__title {
        font-size: 2rem;
        line-height: 1.6;
    }
}

.blogs-detail-hero__nav {
    display: flex;
    justify-content: start;
    width: 100%;
}

.blogs-detail-hero__breadcrumb {
    --bs-breadcrumb-divider-color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: start;
    flex-wrap: wrap;
}

.blogs-detail-hero__breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #fff;
}

.blogs-detail-hero__breadcrumb .breadcrumb-item {
    color: #fff;
}

.blogs-detail-hero__home-icon {
    font-size: 1.25rem;
    padding-inline-end: 0.25rem;
}

.blogs-detail-hero__link {
    text-decoration: none;
    color: #fff;
    margin-inline-start: 0.25rem;
}

.blogs-detail-hero__current {
    margin-inline-start: 0.25rem;
}

.blogs-detail-hero__breadcrumb .breadcrumb-item.active .blogs-detail-hero__current,
.blogs-detail-hero__breadcrumb .breadcrumb-item.active {
    color: #fff;
}

html.light-mode .blogs-detail-hero__title,
html.light-mode .blogs-detail-hero__link,
html.light-mode .blogs-detail-hero__current,
html.light-mode .blogs-detail-hero__breadcrumb .breadcrumb-item,
html.light-mode .blogs-detail-hero__breadcrumb .breadcrumb-item.active,
html.light-mode .blogs-detail-hero__breadcrumb .breadcrumb-item.active .blogs-detail-hero__current {
    color: #fff;
}

html.light-mode .blogs-detail-hero__breadcrumb {
    --bs-breadcrumb-divider-color: #fff;
}

html.light-mode .blogs-detail-hero__breadcrumb .breadcrumb-item + .breadcrumb-item::before,
html.light-mode .blogs-detail-hero__home-icon {
    color: #fff;
}

.article-meta-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    /* margin-bottom: 40px; */
}

.meta-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
    transition: 0.3s;
}

.meta-chip:hover {
    border-color: var(--luxury-gold);
    background: var(--luxury-gold-soft);
}

.meta-chip i,
.meta-chip img {
    color: var(--luxury-gold);
    filter: none;
}

.blogs-details {
    padding-left: 30px;
}
.article-text {
    line-height: 2;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8) !important;
    text-align: justify;
}

.related-projects-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(212, 175, 93, 0.2);
}

.sidebar-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s;
    backdrop-filter: blur(10px);
}

.sidebar-card:hover {
    transform: translateX(-5px);
    border-color: var(--luxury-gold);
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-card img {
    height: 90px;
    object-fit: cover;
}

.sidebar-card .article-title {
    font-size: 14px;
    color: #fff;
    transition: 0.3s;
}

.sidebar-card:hover .article-title {
    color: var(--luxury-gold);
}

/* Comments */
.comment-form-anchor {
    display: block;
    height: 0;
    pointer-events: none;
}

.comment-form-anchor {
    scroll-margin-top: 7.5rem;
}

@media (min-width: 992px) {
    .comment-form-anchor {
        scroll-margin-top: 13rem;
    }
}

.comments-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-bottom: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(212, 175, 93, 0.2);
}

.comments-section-header .related-projects-title {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.comments-add-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 93, 0.35);
    background: rgba(212, 175, 93, 0.1);
    color: var(--luxury-gold);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.3s;
}

.comments-add-link:hover {
    background: var(--luxury-gold);
    border-color: var(--luxury-gold);
    color: #000;
}

html.light-mode .comments-add-link {
    background: rgba(212, 175, 93, 0.12);
    color: #9a7b2f;
}

html.light-mode .comments-add-link:hover {
    background: var(--luxury-gold);
    color: #000;
}

/* Comment Form */
.comment-form-custom {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 25px;
    backdrop-filter: blur(20px);
}

.form-control-custom {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    transition: 0.3s;
}

.form-control-custom:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--luxury-gold);
    box-shadow: 0 0 15px rgba(212, 175, 93, 0.1);
    outline: none;
}

.btn-comment {
    background: var(--luxury-gold);
    color: #000;
    font-weight: 700;
    border: none;
    transition: 0.4s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-comment:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Comments List */
.comment-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 25px;
    transition: 0.3s;
}

.comment-card:hover {
    border-color: rgba(212, 175, 93, 0.3);
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border: 2px solid var(--luxury-gold);
    padding: 2px;
}

.customer-name {
    font-weight: 700;
    font-size: 16px;
}

.comment-date {
    font-size: 12px;
    opacity: 0.5;
}

.btn-reply {
    background: rgba(212, 175, 93, 0.1);
    color: var(--luxury-gold);
    border: 1px solid rgba(212, 175, 93, 0.2);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 13px;
    transition: 0.3s;
}

.btn-reply:hover {
    background: var(--luxury-gold);
    color: #000;
}

.reply-box {
    margin-top: 25px;
    margin-right: 40px;
    padding: 20px;
    background: rgba(212, 175, 93, 0.03);
    border-right: 3px solid var(--luxury-gold);
    border-radius: 0 15px 15px 0;
}

/* Light Mode */
html.light-mode .meta-chip,
html.light-mode .sidebar-card,
html.light-mode .comment-card,
html.light-mode .comment-form-custom {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

html.light-mode .meta-chip {
    color: #333;
}

html.light-mode .article-title,
html.light-mode .customer-name,
html.light-mode .form-label {
    color: #000 !important;
}

html.light-mode .article-text,
html.light-mode .comment-text {
    color: #444 !important;
}

html.light-mode .form-control-custom {
    background: #f9f9f9;
    border-color: #ddd;
    color: #000;
}

html.light-mode .sidebar-card .article-title {
    color: #333;
}



/* Responsive */
@media (max-width: 991px) {
    .blogs-details {
        padding-left: 0;
    }

    .sidebar-card {
        margin-bottom: 15px;
    }

    .reply-box {
        margin-right: 20px;
    }
}