/* ================================================
   IJARIIE Blog Module - Premium Theme CSS
   External stylesheet - NO inline or internal CSS
   Theme Colors:
   - Primary Dark: #1f2937
   - Secondary Orange: #f97316
   - Accent Orange: #ea580c
   - BG Light: #f8fafc
================================================ */

/* -----------------------------------------------
   HERO SECTION
----------------------------------------------- */
.blog-hero {
    background: linear-gradient(135deg, #1f2937 0%, #374151 60%, #111827 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.blog-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.blog-hero-eyebrow {
    color: #f97316;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
    display: block;
}

.blog-hero-heading {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 16px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.blog-hero-heading span {
    color: #f97316;
}

.blog-hero-subtitle {
    color: #9ca3af;
    font-size: 1.05rem;
    max-width: 600px;
}

/* Breadcrumb */
.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.blog-breadcrumb-item {
    font-size: 0.85rem;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-breadcrumb-item:hover {
    color: #f97316;
}

.blog-breadcrumb-item.active {
    color: #f97316;
    font-weight: 600;
}

.blog-breadcrumb-sep {
    color: #4b5563;
    font-size: 0.75rem;
}

/* -----------------------------------------------
   BLOG PAGE WRAPPER
----------------------------------------------- */
.blog-page-wrapper {
    background: #f8fafc;
    padding: 60px 0 80px;
}

/* -----------------------------------------------
   SMART FILTER PANEL
----------------------------------------------- */
.blog-filter-panel {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 36px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.blog-filter-panel-title {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #9ca3af;
    margin-bottom: 18px;
}

.blog-filter-row {
    display: flex;
    gap: 14px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.blog-filter-group {
    flex: 1;
    min-width: 200px;
}

.blog-filter-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-filter-select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1.5px solid #e5e7eb;
    font-size: 0.92rem;
    font-family: 'Inter', sans-serif;
    color: #374151;
    background: #f9fafb;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.blog-filter-select:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
    background-color: #fff;
}

.blog-filter-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.blog-filter-btn {
    padding: 12px 28px;
    background: #f97316;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.blog-filter-btn:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.45);
}

.blog-filter-reset {
    padding: 12px 20px;
    background: #f3f4f6;
    color: #6b7280;
    border: none;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.blog-filter-reset:hover {
    background: #e5e7eb;
    color: #374151;
    text-decoration: none;
}

.blog-active-filter-bar {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-active-filter-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #9ca3af;
}

.blog-active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff7ed;
    border: 1.5px solid #fed7aa;
    color: #f97316;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
}

.blog-filter-actions {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-shrink: 0;
}

/* -----------------------------------------------
   CUSTOM SELECT DROPDOWN
----------------------------------------------- */
.custom-select-wrapper {
    position: relative;
    user-select: none;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 48px;
}

.custom-select-trigger:hover {
    border-color: #f97316;
    background: #fff;
}

.custom-select-wrapper.open .custom-select-trigger {
    border-color: #f97316;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
    border-radius: 12px 12px 0 0;
}

.custom-select-icon {
    color: #f97316;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.custom-select-value {
    flex: 1;
    font-size: 0.92rem;
    font-family: 'Inter', sans-serif;
    color: #374151;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-select-arrow {
    font-size: 0.75rem;
    color: #9ca3af;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.custom-select-wrapper.open .custom-select-arrow {
    transform: rotate(180deg);
    color: #f97316;
}

.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1.5px solid #f97316;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    max-height: 240px;
    overflow-y: auto;
    display: none;
}

.custom-select-options::-webkit-scrollbar {
    width: 5px;
}

.custom-select-options::-webkit-scrollbar-track {
    background: #f9fafb;
}

.custom-select-options::-webkit-scrollbar-thumb {
    background: #f97316;
    border-radius: 10px;
}

.custom-select-wrapper.open .custom-select-options {
    display: block;
    animation: dropdownFadeIn 0.18s ease;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.custom-select-option {
    padding: 11px 16px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.15s, color 0.15s;
    border-bottom: 1px solid #f9fafb;
}

.custom-select-option:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

.custom-select-option i {
    color: #d1d5db;
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: color 0.15s;
}

.custom-select-option:hover {
    background: #fff7ed;
    color: #f97316;
}

.custom-select-option:hover i {
    color: #f97316;
}

.custom-select-option.cso-selected {
    background: #fff7ed;
    color: #f97316;
    font-weight: 700;
}

.custom-select-option.cso-selected i {
    color: #f97316;
}

.custom-select-wrapper.csd-disabled .custom-select-trigger {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.custom-select-loading {
    padding: 12px 16px;
    font-size: 0.88rem;
    color: #9ca3af;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 8px;
}



/* -----------------------------------------------
   BLOG GRID CARDS
----------------------------------------------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    min-width: 0;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.04);
    min-width: 0;
    width: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.blog-card-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.blog-card:hover .blog-card-thumb img {
    transform: scale(1.06);
}

.blog-card-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1f2937, #374151);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-thumb-placeholder i {
    font-size: 3rem;
    color: rgba(249, 115, 22, 0.4);
}

.blog-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #f97316;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s;
}

.blog-card-badge:hover {
    background: #ea580c;
    color: #fff;
    text-decoration: none;
}

.blog-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.blog-card-date {
    font-size: 0.78rem;
    color: #9ca3af;
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.45;
    margin-bottom: 12px;
    flex: 1;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-title a:hover {
    color: #f97316;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.blog-read-more {
    font-size: 0.85rem;
    font-weight: 700;
    color: #f97316;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.blog-read-more:hover {
    color: #ea580c;
    text-decoration: none;
    gap: 10px;
}

.blog-card-subcategory {
    font-size: 0.78rem;
    color: #9ca3af;
    font-weight: 500;
}

/* -----------------------------------------------
   PAGINATION
----------------------------------------------- */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.blog-page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.25s ease;
}

.blog-page-btn:hover,
.blog-page-btn.active-page {
    background: #f97316;
    color: #ffffff;
    border-color: #f97316;
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.35);
    transform: translateY(-2px);
    text-decoration: none;
}

.blog-page-btn.disabled-page {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
}

/* -----------------------------------------------
   SIDEBAR
----------------------------------------------- */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sidebar-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.sidebar-card-title {
    font-size: 1rem;
    font-weight: 800;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f3f4f6;
    position: relative;
}

.sidebar-card-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #f97316;
}

/* Category List */
.blog-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.blog-cat-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 10px;
    color: #374151;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    background: #f9fafb;
}

.blog-cat-list li a:hover {
    background: #fff7ed;
    color: #f97316;
    padding-left: 18px;
}

.blog-cat-list li a.cat-active {
    background: #f97316;
    color: #ffffff;
    padding-left: 18px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.blog-cat-list li a.cat-active:hover {
    background: #ea580c;
    color: #ffffff;
}

.blog-cat-list li a.cat-active .blog-cat-count {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.blog-cat-count {
    background: #f97316;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    min-width: 24px;
    text-align: center;
}

/* Recent Posts */
.recent-post-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-post-item:first-child {
    padding-top: 0;
}

.recent-post-thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.recent-post-thumb-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1f2937, #374151);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.recent-post-thumb-placeholder i {
    color: rgba(249, 115, 22, 0.5);
    font-size: 1.2rem;
}

.recent-post-info {
    flex: 1;
    min-width: 0;
}

.recent-post-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.recent-post-title a:hover {
    color: #f97316;
}

.recent-post-date {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}

/* Inquiry / CTA Sidebar Card */
.sidebar-cta-card {
    background: linear-gradient(135deg, #1f2937, #374151);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 8px 30px rgba(31, 41, 55, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sidebar-cta-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(249,115,22,0.25), transparent 70%);
    border-radius: 50%;
}

.sidebar-cta-icon {
    width: 56px;
    height: 56px;
    background: rgba(249, 115, 22, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.sidebar-cta-icon i {
    font-size: 1.5rem;
    color: #f97316;
}

.sidebar-cta-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.sidebar-cta-text {
    font-size: 0.84rem;
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 20px;
}

.sidebar-cta-btn {
    display: inline-block;
    background: #f97316;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.sidebar-cta-btn:hover {
    background: #ea580c;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.5);
}

/* -----------------------------------------------
   EMPTY STATE
----------------------------------------------- */
.blog-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.blog-empty-state i {
    font-size: 4rem;
    color: #e5e7eb;
    margin-bottom: 20px;
    display: block;
}

.blog-empty-state h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 8px;
}

.blog-empty-state p {
    color: #9ca3af;
    font-size: 0.92rem;
}

/* -----------------------------------------------
   BLOG DETAIL PAGE
----------------------------------------------- */
.blog-detail-wrapper {
    background: #f8fafc;
    padding: 60px 0 80px;
}

.blog-detail-main {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.07);
}

.blog-detail-hero-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.blog-detail-hero-placeholder {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #1f2937, #374151);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-detail-hero-placeholder i {
    font-size: 4rem;
    color: rgba(249, 115, 22, 0.3);
}

.blog-detail-content {
    padding: 40px 44px;
}

@media (max-width: 768px) {
    .blog-detail-content {
        padding: 24px 20px;
    }
    .blog-detail-hero-img {
        height: 240px;
    }
    .blog-hero-heading {
        font-size: 1.9rem;
    }
}

.blog-detail-category-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.blog-detail-badge {
    display: inline-block;
    background: #fff7ed;
    color: #f97316;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 50px;
    border: 1.5px solid #fed7aa;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-detail-badge:hover {
    background: #f97316;
    color: #fff;
    border-color: #f97316;
    text-decoration: none;
}

.blog-detail-badge.sub {
    background: #f3f4f6;
    color: #6b7280;
    border-color: #e5e7eb;
}

.blog-detail-badge.sub:hover {
    background: #1f2937;
    color: #fff;
    border-color: #1f2937;
}

.blog-detail-title {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.3;
    margin-bottom: 20px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.blog-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    color: #6b7280;
    font-weight: 500;
}

.blog-detail-meta-item i {
    color: #f97316;
    font-size: 0.85rem;
}

.blog-detail-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #374151;
    word-break: break-word;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.blog-detail-body h2,
.blog-detail-body h3,
.blog-detail-body h4 {
    color: #111827;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-detail-body p {
    margin-bottom: 1.4rem;
}

.blog-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

.blog-detail-body blockquote {
    border-left: 4px solid #f97316;
    padding: 16px 24px;
    background: #fff7ed;
    border-radius: 0 10px 10px 0;
    color: #374151;
    font-style: italic;
    margin: 24px 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* CTA Section */
.blog-cta-section {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-radius: 20px;
    padding: 40px 44px;
    margin: 40px 0 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.blog-cta-section::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.18), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.blog-cta-text h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.blog-cta-text p {
    color: #9ca3af;
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.6;
    max-width: 420px;
}

.blog-cta-btn {
    display: inline-block;
    background: #f97316;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
    position: relative;
    z-index: 1;
}

.blog-cta-btn:hover {
    background: #ea580c;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.55);
}

/* Responsive Sidebar */
@media (max-width: 991px) {
    .blog-filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .blog-hero {
        padding: 60px 0 40px;
    }
    .blog-cta-section {
        padding: 28px 24px;
        flex-direction: column;
    }
    .blog-detail-title {
        font-size: 1.5rem;
    }
}

/* Keywords / Tags styling */
.blog-keywords-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #e5e7eb;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.blog-keywords-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #374151;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-top: 4px;
}

.blog-keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.blog-keyword-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.blog-keyword-chip:hover {
    background: #fff7ed;
    color: #f97316;
    border-color: #ffedd5;
}
