.text-orange { color: var(--color-3) !important; }
.text-dark-blue { color: var(--color-1) !important; }
.bg-dark-blue { background-color: var(--color-1) !important; }

/* --- Hero Banner --- */
.blog-hero-section {
    background-color: var(--color-1);
    padding: 80px 0 140px 0; /* Extra bottom padding so main content can overlap */
    position: relative;
    border-bottom: 6px solid var(--color-3);
}

.blog-hero-section .sub-heading {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* --- Main Layout Overlap --- */
.blog-detail-section {
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
    padding-top: 80px;
}

/* --- Blog Post Card --- */
.blog-detail-card {
    border-top: 5px solid var(--color-3);
}

.blog-main-img-wrapper {
    width: 100%;
    max-height: 450px;
    overflow: hidden;
}

.blog-main-img-wrapper img {
    object-fit: cover;
    object-position: center;
}

.blog-meta .meta-item {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    background-color: #f1f5f9;
    padding: 6px 15px;
    border-radius: 30px;
}

.blog-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

/* --- Sidebar: Recent Posts --- */
.recent-posts-list .recent-post-item {
    transition: all 0.3s ease;
}

.recent-post-img img {
    transition: transform 0.4s ease;
}

.recent-post-title {
    transition: color 0.3s ease;
}

.recent-posts-list .recent-post-item:hover .recent-post-img img {
    transform: scale(1.1); /* Slight zoom on image hover */
}

.recent-posts-list .recent-post-item:hover .recent-post-title {
    color: var(--color-3) !important; /* Title turns orange on hover */
}

/* --- Sidebar: Contact CTA Widget --- */
.contact-cta-widget {
    border-bottom: 4px solid var(--color-3);
}

.contact-cta-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.contact-cta-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(10,28,58,0.95) 0%, rgba(10,28,58,0.85) 100%);
    z-index: 0;
}

.cta-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.phone-link {
    transition: color 0.3s ease;
}
.phone-link:hover {
    color: var(--color-3) !important;
}

/* --- Button --- */
.btn-theme-orange {
    background-color: var(--color-3);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-theme-orange:hover {
    background-color: var(--color-1);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(240, 78, 35, 0.2);
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
    .blog-detail-section { margin-top: -50px; }
    .blog-main-title { font-size: 26px; }
}

@media (max-width: 767px) {
    .blog-detail-card { padding: 0; }
    .blog-meta .meta-item { font-size: 13px; padding: 5px 12px; }
}