/**
 * CliniQo Medical Insights & Blog Article Styles
 */

.blog-detail-section {
    padding: 50px 0 80px;
    background: #F8FAFC;
    min-height: calc(100vh - 200px);
}

/* Breadcrumbs */
.cliniqo-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #64748B;
}
.cliniqo-breadcrumb a {
    color: #0077FE;
    text-decoration: none;
    transition: color 0.2s ease;
}
.cliniqo-breadcrumb a:hover {
    color: #0056B3;
    text-decoration: underline;
}
.cliniqo-breadcrumb .sep {
    font-size: 11px;
    color: #94A3B8;
}

/* Main Article Card */
.article-main-card {
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(10, 28, 54, 0.05);
    border: 1px solid #E2E8F0;
    overflow: hidden;
    margin-bottom: 30px;
}

.article-hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #0A1C36;
}

.article-hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #0077FE;
    color: #FFFFFF;
    font-size: 12.5px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 119, 254, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

html[dir="rtl"] .article-category-badge {
    left: auto;
    right: 20px;
}

.article-header {
    padding: 35px 40px 20px;
    border-bottom: 1px solid #F1F5F9;
}

.article-title {
    font-size: 30px;
    font-weight: 800;
    color: #0A1C36;
    line-height: 1.35;
    margin-bottom: 18px;
    letter-spacing: -0.3px;
}

.article-meta-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: #64748B;
    font-size: 13.5px;
    font-weight: 600;
}

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

.article-meta-item i {
    color: #0077FE;
    font-size: 15px;
}

.article-content {
    padding: 35px 40px 40px;
    font-size: 16.5px;
    line-height: 1.85;
    color: #334155;
    word-break: break-word;
}

.article-content p {
    margin-bottom: 22px;
    font-size: 16.5px;
    line-height: 1.85;
    color: #334155;
}

.article-content h2, .article-content h3, .article-content h4 {
    color: #0A1C36;
    font-weight: 800;
    margin-top: 35px;
    margin-bottom: 16px;
}

.article-content blockquote {
    background: #F0F7FF;
    border-left: 4px solid #0077FE;
    padding: 20px 25px;
    border-radius: 0 16px 16px 0;
    margin: 30px 0;
    font-style: italic;
    color: #0A1C36;
    font-size: 17px;
    font-weight: 600;
}

html[dir="rtl"] .article-content blockquote {
    border-left: none;
    border-right: 4px solid #0077FE;
    border-radius: 16px 0 0 16px;
}

.medical-tip-box {
    background: linear-gradient(135deg, #EFF6FF 0%, #E0F2FE 100%);
    border: 1px solid #BAE6FD;
    border-radius: 16px;
    padding: 22px 26px;
    margin: 30px 0;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.medical-tip-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #0077FE;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 119, 254, 0.25);
}

/* Share & Reviewer Bar */
.article-footer-bar {
    padding: 25px 40px;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.article-share-btns {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-share {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    font-size: 15px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    text-decoration: none !important;
}

.btn-share:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.btn-share.facebook { background: #1877F2; }
.btn-share.twitter { background: #1DA1F2; }
.btn-share.whatsapp { background: #25D366; }
.btn-share.copy-link { background: #64748B; cursor: pointer; }

/* Sidebar Widgets */
.blog-sidebar-widget {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 28px 24px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 8px 24px rgba(10, 28, 54, 0.04);
    margin-bottom: 24px;
}

.widget-title {
    font-size: 18px;
    font-weight: 800;
    color: #0A1C36;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #F1F5F9;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #0077FE;
    border-radius: 2px;
}

html[dir="rtl"] .widget-title::after {
    left: auto;
    right: 0;
}

.recent-article-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #F1F5F9;
    text-decoration: none !important;
    transition: background 0.2s ease;
}

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

.recent-article-thumb {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #E2E8F0;
}

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

.recent-article-info h6 {
    font-size: 14px;
    font-weight: 700;
    color: #0A1C36;
    margin: 0 0 4px 0;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.recent-article-item:hover .recent-article-info h6 {
    color: #0077FE;
}

.recent-article-date {
    font-size: 12px;
    color: #94A3B8;
    font-weight: 600;
}

.widget-booking-cta {
    background: linear-gradient(135deg, #0077FE 0%, #00B4D8 100%);
    color: #FFFFFF;
    border-radius: 20px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 12px 28px rgba(0, 119, 254, 0.25);
    margin-bottom: 24px;
}

.widget-booking-cta h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.widget-booking-cta p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-sidebar-book {
    background: #FFFFFF !important;
    color: #0077FE !important;
    font-weight: 800 !important;
    font-size: 14.5px !important;
    padding: 12px 24px !important;
    border-radius: 12px !important;
    border: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1) !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-sidebar-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

@media (max-width: 991px) {
    .article-hero-image-wrapper {
        height: 300px;
    }
    .article-header {
        padding: 25px 20px 15px;
    }
    .article-title {
        font-size: 24px;
    }
    .article-content {
        padding: 25px 20px;
        font-size: 15.5px;
    }
    .article-footer-bar {
        padding: 20px;
    }
}
