/* Ds.Trung Child Theme — extracted from single-medicine.php. */
.container-hoatchat { 
            width: 100% !important; 
            max-width: 1280px !important; 
            margin: 0 auto !important; 
            padding: 5px !important; 
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important; 
            color: #1e293b !important; 
            line-height: 1.6 !important; 
            box-sizing: border-box !important;
            display: block !important;
        }

        .medicine-layout-wrapper {
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            justify-content: space-between !important;
            gap: 30px !important;
            margin-top: 15px !important;
            width: 100% !important;
        }

        .medicine-main-content {
            width: 68% !important;
            flex: 0 0 68% !important;
            min-width: 0 !important;
            box-sizing: border-box !important;
        }

        .medicine-sidebar-wrapper {
            width: 30% !important;
            flex: 0 0 30% !important;
            max-width: 30% !important;
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
            box-sizing: border-box !important;
        }

        @media (max-width: 991px) {
            .medicine-layout-wrapper {
                flex-direction: column !important;
            }
            .medicine-main-content, .medicine-sidebar-wrapper {
                width: 100% !important;
                flex: 0 0 100% !important;
                max-width: 100% !important;
            }
        }

        /* BREADCRUMB */
        .custom-breadcrumb-force {
            display: flex !important;
            visibility: visible !important;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
            font-size: 0.9rem;
            color: #64748b;
            margin-bottom: 15px;
        }
        .custom-breadcrumb-force a { color: #0284c7 !important; text-decoration: none !important; font-weight: 500; }
        .custom-breadcrumb-force a:hover { text-decoration: underline !important; }
        .custom-breadcrumb-force .sep { color: #94a3b8; }
        .custom-breadcrumb-force .current { color: #334155; font-weight: 600; }

        .entry-title { font-size: 2.1rem; font-weight: 800; color: #0f172a; margin: 0 0 16px 0; }

        /* META BAR */
        .medicine-meta-bar { background-color: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 20px; display: flex; flex-wrap: wrap; gap: 15px 25px; align-items: center; font-size: 0.95rem; color: #475569; margin-bottom: 25px; }
        .meta-item { display: inline-flex; align-items: center; gap: 6px; }
        .meta-item strong { color: #1e293b; font-weight: 700; }

        /* FEATURED IMAGE */
        .medicine-featured-image {
            margin-bottom: 25px;
            width: 100%;
        }
        .medicine-featured-image img {
            width: 100%;
            max-height: 500px;
            object-fit: cover;
            border-radius: 10px;
            border: 1px solid #e2e8f0;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            display: block;
        }

        /* SUMMARY & TOC */
        .summary-box { background: #eff6ff; border-left: 4px solid #0284c7; padding: 16px 20px; margin-bottom: 25px; border-radius: 0 8px 8px 0; }
        .toc-wrapper { background: #fff; border: 1px solid #cbd5e1; border-radius: 10px; padding: 20px; margin-bottom: 30px; }
        .toc-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; color: #0f172a; }
        .toc-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 16px; }
        .toc-list a { color: #0284c7; text-decoration: none; }

        /* SECTION COMMON */
        .info-section { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 15px; margin-bottom: 25px; }
        .section-title { font-size: 1.35rem; color: #0f172a; margin: 0 0 20px 0; padding-bottom: 10px; border-bottom: 2px solid #f1f5f9; display: flex; align-items: center; justify-content: space-between; font-weight: 700; }
        .ai-anchor { font-size: 0.85rem; color: #94a3b8; text-decoration: none; }

        /* FAQ CARDS */
        .faq-styled-section { border: none; background: transparent; padding: 0; }
        .faq-card-container { display: flex; flex-direction: column; gap: 18px; margin-top: 10px; }
        .faq-card-pair { background: #fcfdfd; border: 1px solid #e2e8f0; border-left: 5px solid #059669; border-radius: 8px; padding: 20px 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.02); transition: transform 0.2s ease, box-shadow 0.2s ease; }
        .faq-card-pair:hover { background: #ffffff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.05); }
        .faq-card-question { font-size: 1.15rem; font-weight: 700; color: #047857; margin: 0 0 10px 0; line-height: 1.4; }
        .faq-card-answer { font-size: 1rem; color: #334155; margin: 0; line-height: 1.65; }

        /* RELATIONSHIPS */
        .rel-section { background: #f8fafc; border: 1px dashed #cbd5e1; }
        .rel-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
        .rel-list li a { background: #fff; color: #15803d; padding: 8px 16px; border-radius: 8px; text-decoration: none; font-size: 0.95rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #bbf7d0; transition: all 0.2s ease; }
        .rel-list li a:hover { background: #15803d; color: #fff; border-color: #15803d; }

        /* AUTHOR BIO BOX (E-E-A-T) - ĐÃ SỬA LỖI HIỂN THỊ ẢNH */
        .author-bio-box { background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 10px; padding: 25px; margin-top: 35px; display: flex; gap: 20px; align-items: flex-start; }
        .author-avatar { flex: 0 0 80px; width: 80px; height: 80px; }
        .author-avatar img { width: 80px !important; height: 80px !important; border-radius: 50% !important; object-fit: cover !important; display: block !important; margin: 0 !important; max-width: none !important; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
        .author-description { flex: 1; min-width: 0; }
        .author-description h4 { margin: 0 0 6px 0; font-size: 1.15rem; color: #0f172a; }
        .author-description h4 a { color: #0284c7; text-decoration: none; }
        .author-description p { margin: 4px 0; font-size: 0.95rem; color: #475569; }

        /* SIDEBAR CARD STYLING FOR WIDGETS */
        .medicine-sidebar-wrapper .widget, 
        .medicine-sidebar-wrapper .sidebar-box {
            background: #fff !important;
            border: 1px solid #e2e8f0 !important;
            border-radius: 10px !important;
            padding: 20px !important;
            margin-bottom: 25px !important;
            box-shadow: 0 1px 3px rgba(0,0,0,0.02) !important;
            display: block !important;
        }
        .medicine-sidebar-wrapper .widget-title, 
        .medicine-sidebar-wrapper .sidebar-title {
            font-size: 1.15rem !important;
            font-weight: 700 !important;
            color: #0f172a !important;
            margin-top: 0 !important;
            margin-bottom: 15px !important;
            padding-bottom: 8px !important;
            border-bottom: 2px solid #0284c7 !important;
        }
        .medicine-sidebar-wrapper ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
        .medicine-sidebar-wrapper ul li { padding: 8px 0 !important; border-bottom: 1px solid #f1f5f9 !important; }
        .medicine-sidebar-wrapper ul li:last-child { border-bottom: none !important; }
        .medicine-sidebar-wrapper ul li a { color: #334155 !important; text-decoration: none !important; font-weight: 500 !important; font-size: 0.95rem !important; }
        .medicine-sidebar-wrapper ul li a:hover { color: #0284c7 !important; }

/* Static inline styles moved from template. */
.dst-medicine-author-link { color: #0284c7; text-decoration: none; font-weight: 600; }
.dst-summary-heading { margin: 0 0 6px 0; color: #1e40af; }
.dst-summary-text { margin: 0; }
.dst-section-title-divider { border-bottom: 2px solid #e2e8f0; margin-bottom: 15px; }
.dst-author-desc { margin-top: 8px; }
.dst-recent-posts-box { background: #fff; padding: 20px; border-radius: 10px; border: 1px solid #e2e8f0; }
.dst-recent-posts-title { font-size: 1.15rem; font-weight: 700; margin-top: 0; border-bottom: 2px solid #0284c7; padding-bottom: 8px; }
.dst-recent-posts-list { list-style: none; padding: 0; margin: 0; }
.dst-recent-post-item { padding: 8px 0; border-bottom: 1px solid #f1f5f9; }
.dst-recent-post-link { color: #334155; text-decoration: none; }
