.footer-item-c:hover { font-weight: 700; color: white; }
@media (max-width: 750px) {
  .retop { max-height: 200px !important; }
  .re { margin-bottom: 20px !important; padding-bottom: 20px !important; }
  .rehead { margin-bottom: 20px !important; padding-bottom: 20px !important; }
  #side { display: none; }
}
@media (max-width: 500px) {
  iframe { width: 100% !important; height: 100% !important; aspect-ratio: 1 / 1; }
}
@media (min-width: 750px) {
  .re { margin-bottom: 30px !important; padding-bottom: 30px !important; }
  .rehead { margin-bottom: 20px !important; padding-bottom: 20px !important; }
}
[data-font-size="sm"] { --art-base: 13px; }
[data-font-size="md"] { --art-base: 15px; }
[data-font-size="lg"] { --art-base: 17px; }
[data-font-size="xl"] { --art-base: 19px; }
.font-size-bar { display: none; }
@media (max-width: 991px) {
  .font-size-bar { display: flex; align-items: center; gap: 4px; position: fixed; bottom: 18px; left: 12px; right: auto; z-index: 9999; background: rgba(255,255,255,0.96); border: 1px solid #d0d0d0; border-radius: 30px; padding: 5px 10px; box-shadow: 0 4px 18px rgba(0,0,0,0.15); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity 0.3s ease, transform 0.3s ease; }
  .font-size-bar.fz-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .font-size-bar span.fz-label { font-size: 10px; color: #999; white-space: nowrap; margin-left: 4px; }
  .font-size-bar button { background: transparent; border: none; border-radius: 50%; width: 30px; height: 30px; font-size: 13px; font-weight: 700; color: #444; cursor: pointer; line-height: 1; transition: background 0.2s, color 0.2s; padding: 0; flex-shrink: 0; }
  .font-size-bar button:hover,
  .font-size-bar button.fz-active { background: #0A9A9A; color: #fff; border-radius: 50%; }
}

/* Gallery Carousel */
#blogGallery { max-width: 700px; margin: 20px auto; }
.gallery-carousel-wrapper { position: relative; margin: 20px 0; }
.gallery-carousel-wrapper .carousel-inner { border-radius: 12px; overflow: hidden; }
.gallery-carousel-wrapper .carousel-item img { width: 100%; height: auto; display: block; }
.gallery-carousel-wrapper .carousel-control-prev,
.gallery-carousel-wrapper .carousel-control-next { width: 40px; height: 40px; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); border-radius: 50%; opacity: 0; transition: opacity 0.3s; }
.gallery-carousel-wrapper:hover .carousel-control-prev,
.gallery-carousel-wrapper:hover .carousel-control-next { opacity: 1; }
.gallery-carousel-wrapper .carousel-control-prev { left: 10px; }
.gallery-carousel-wrapper .carousel-control-next { right: 10px; }
.gallery-carousel-wrapper .carousel-indicators { position: static; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.gallery-carousel-wrapper .carousel-indicators button { width: 60px; height: 45px; border: 2px solid transparent; border-radius: 6px; overflow: hidden; opacity: 0.6; transition: all 0.2s; text-indent: 0; position: static; flex: none; }
.gallery-carousel-wrapper .carousel-indicators button.active { opacity: 1; border-color: #0A9A9A; }
.gallery-carousel-wrapper .carousel-indicators button img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 768px) {
  .gallery-carousel-wrapper .carousel-indicators button { width: 45px; height: 34px; }
  .gallery-carousel-wrapper .carousel-control-prev,
  .gallery-carousel-wrapper .carousel-control-next { width: 32px; height: 32px; opacity: 0.7; }
  .gallery-carousel-wrapper .carousel-control-prev { left: 5px; }
  .gallery-carousel-wrapper .carousel-control-next { right: 5px; }
}
.gallery-carousel-wrapper .carousel-control-prev { left: auto !important; right: 10px; }
.gallery-carousel-wrapper .carousel-control-next { right: auto !important; left: 10px; }
@media (max-width: 768px) {
  .gallery-carousel-wrapper .carousel-control-prev { left: auto !important; right: 5px; }
  .gallery-carousel-wrapper .carousel-control-next { right: auto !important; left: 5px; }
}

/* TOC */
.toc-container { background: #f8faff; border: 1px solid #e8edf5; border-radius: 12px; margin-bottom: 24px; overflow: hidden; }
.toc-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; background: #eef3fc; cursor: pointer; user-select: none; }
.toc-header span { font-size: 15px; font-weight: 700; color: #1a2a4a; }
.toc-toggle { font-size: 12px; color: #4a6fa5; background: none; border: none; cursor: pointer; padding: 4px 10px; border-radius: 6px; transition: background 0.2s; }
.toc-toggle:hover { background: #dce6f5; }
.toc-content { padding: 8px 4px 12px 18px; padding: 8px 18px 12px 4px; }
.toc-list { list-style: none; margin: 0; padding: 0; }
.toc-item { margin: 2px 0; }
.toc-item.level-2 { }
.toc-item.level-3 { padding-right: 18px; }
.toc-item.level-4 { padding-right: 36px; }
.toc-item.level-5 { padding-right: 54px; }
.toc-item.level-6 { padding-right: 72px; }
.toc-link { display: flex; align-items: baseline; gap: 6px; padding: 3px 6px; text-decoration: none; color: #2c3e6b; font-size: 14px; line-height: 1.5; border-radius: 6px; transition: all 0.15s; }
.toc-link:hover { background: #e8edf9; color: #1a4b8c; }
.toc-link::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #8aa3cc; flex-shrink: 0; margin-top: 8px; }
.toc-item.level-2 > .toc-link { font-weight: 600; }
.toc-item.level-2 > .toc-link::before { width: 7px; height: 7px; background: #4a6fa5; }
.toc-badge { margin-left: auto; font-size: 10px; background: #dce6f5; color: #4a6fa5; padding: 1px 6px; border-radius: 8px; font-weight: 600; }

/* Key Points Box */
.key-points-box { background: linear-gradient(135deg, #f0f7ff 0%, #faf5ff 100%); border: 1px solid #dce6f5; border-radius: 14px; margin: 16px 0 20px; overflow: hidden; }
.key-points-header { background: linear-gradient(135deg, #4f6ef7 0%, #7c3aed 100%); color: white; padding: 12px 20px; font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.key-points-header i { font-size: 18px; }
.key-points-list { padding: 12px 20px 12px 40px; margin: 0; list-style: none; padding: 12px 40px 12px 20px; }
.key-points-list li { position: relative; padding: 6px 0 6px 24px; font-size: 14px; line-height: 1.65; color: #1e293b; border-bottom: 1px solid #e8edf5; padding: 6px 24px 6px 0; }
.key-points-list li:last-child { border-bottom: none; }
.key-points-list li::before { content: ''; position: absolute; top: 13px; right: 0; width: 8px; height: 8px; border-radius: 50%; background: #4f6ef7; flex-shrink: 0; }
.key-points-footer { padding: 8px 20px; font-size: 12px; color: #64748b; text-align: right; border-top: 1px solid #e8edf5; background: rgba(255,255,255,0.6); }
[dir="rtl"] .key-points-footer { text-align: left; }
@media (max-width: 768px) {
  .key-points-box { margin: 12px 0 16px; }
  .key-points-list { padding: 10px 12px 10px 30px; }
  [dir="rtl"] .key-points-list { padding: 10px 30px 10px 12px; }
  .key-points-list li { font-size: 13px; }
}

/* FAQ */
#faq-div { margin: 20px 0; }
#faq-div .faq-h2 { font-size: 24px; font-weight: 700; color: #1a1a1a; }
#faq-div .ltn__faq-inner-2 { border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; }
#faq-div .card { border: none; border-bottom: 1px solid #e2e8f0; border-radius: 0 !important; }
#faq-div .card:last-child { border-bottom: none; }
#faq-div .ltn__card-title { padding: 14px 18px; font-size: 16px; font-weight: 600; color: #1e293b; cursor: pointer; display: flex; align-items: center; justify-content: space-between; background: #fafbfc; transition: background 0.2s; margin: 0; }
#faq-div .ltn__card-title:hover { background: #f1f4f9; }
#faq-div .ltn__card-title[aria-expanded="true"] { background: #eef3fc; color: #0A9A9A; }
#faq-div .ltn__card-title::after { content: '+'; font-size: 20px; font-weight: 300; color: #94a3b8; transition: transform 0.2s; }
#faq-div .ltn__card-title[aria-expanded="true"]::after { content: '−'; color: #0A9A9A; }
#faq-div .card-body { padding: 0 18px 14px; font-size: 15px; line-height: 1.7; color: #475569; }

/* Related Doctors */
#blog-related-doctors .blog-rel-item { display: flex; gap: 14px; padding: 14px; border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: 12px; background: #fff; transition: box-shadow 0.2s; }
#blog-related-doctors .blog-rel-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
#blog-related-doctors .blog-rel-img { width: 90px; height: 90px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
#blog-related-doctors .blog-rel-info { flex: 1; min-width: 0; }
#blog-related-doctors .blog-rel-name { font-size: 16px; font-weight: 700; color: #1e293b; margin: 0 0 2px; }
#blog-related-doctors .blog-rel-spec { font-size: 13px; color: #64748b; margin: 0 0 4px; }
#blog-related-doctors .blog-rel-meta { display: flex; gap: 12px; font-size: 12px; color: #64748b; margin: 0 0 6px; }
#blog-related-doctors .blog-rel-price { font-size: 15px; font-weight: 700; color: #0A9A9A; margin: 0 0 4px; }
#blog-related-doctors .blog-rel-view { display: inline-block; padding: 4px 14px; background: #0A9A9A; color: #fff; border-radius: 6px; font-size: 12px; font-weight: 600; text-decoration: none; transition: background 0.2s; }
#blog-related-doctors .blog-rel-view:hover { background: #087a7a; color: #fff; }
@media (max-width: 500px) {
  #blog-related-doctors .blog-rel-item { flex-direction: column; align-items: center; text-align: center; }
  #blog-related-doctors .blog-rel-img { width: 70px; height: 70px; }
}

/* Blog Sources */
#blogSources { background: linear-gradient(135deg, #f8fafc, #f1f5f9); border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; margin: 24px 0; }
#blogSources .sources-header { font-size: 16px; font-weight: 700; color: #1e293b; margin: 0 0 12px; }
#blogSources .article-link { display: block; padding: 6px 0; font-size: 13px; color: #4a6fa5; text-decoration: none; border-bottom: 1px solid #e2e8f0; }
#blogSources .article-link:last-child { border-bottom: none; }
#blogSources .article-link:hover { color: #1a4b8c; text-decoration: underline; }

.edit-article-btn { position: fixed; top: 100px; right: 20px; z-index: 9999; }
.edit-article-link { background: #4f6ef7; color: #fff; padding: 8px 16px; border-radius: 8px; text-decoration: none; font-size: 13px; font-weight: 600; }
.link-pt { color: #0A9A9A !important; }
.p0 { padding: 0 !important; }
.p20 { padding: 20px !important; }
.r0-l0 { right: 0 !important; left: 0 !important; }
.cat-btn { display: inline-block; padding: 4px 12px; font-size: 11px; font-weight: 600; border-radius: 6px; text-decoration: none; text-transform: uppercase; letter-spacing: 0.3px; }
.txt-white { color: #fff !important; }
.txt-white:hover { color: #fff !important; }
.ltn__blog-title { font-size: 28px; font-weight: 700; color: #000; line-height: 1.35; margin-bottom: 10px; }
@media (max-width: 500px) {
  .ltn__blog-title { font-size: 20px; }
  #faq-div .ltn__card-title { font-size: 14px; padding: 12px 14px; }
  #faq-div .card-body { font-size: 14px; padding: 0 14px 12px; }
}
.ltn__blog-meta ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ltn__blog-meta ul li { font-size: 13px; color: #64748b; }
.ltn__blog-meta ul li i { margin-left: 4px; }
@media (max-width: 500px) {
  .ltn__blog-meta ul { gap: 8px; }
  .ltn__blog-meta ul li { font-size: 12px; }
}

/* Article Responsive */
@media (max-width: 768px) {
  article h1 { font-size: 22px !important; }
  article h2, .blogcontent h2 { font-size: 18px !important; }
  article h3, .blogcontent h3 { font-size: 16px !important; }
  article p, .blogcontent p { font-size: 15px !important; }
}
@media (min-width: 992px) {
  .toc-container.sticky-toc { position: sticky; top: 100px; }
}

/* Filled circle list RTL */
[dir="ltr"] .filled-circle-list { list-style: none; padding: 0; margin: 4px 0 10px; }
[dir="ltr"] .filled-circle-list li { position: relative; padding-left: 24px; margin-bottom: 4px; line-height: 1.7; }
[dir="ltr"] .filled-circle-list li::before { content: ''; position: absolute; top: 10px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #0A9A9A; flex-shrink: 0; }
[dir="rtl"] .filled-circle-list { list-style: none; padding: 0; margin: 4px 0 10px; }
[dir="rtl"] .filled-circle-list li { position: relative; padding-right: 24px; margin-bottom: 4px; line-height: 1.7; }
[dir="rtl"] .filled-circle-list li::before { content: ''; position: absolute; top: 10px; right: 0; width: 8px; height: 8px; border-radius: 50%; background: #0A9A9A; flex-shrink: 0; }

/* Custom Table */
.custom-table { width: 100%; border-collapse: collapse; margin: 16px 0; border-radius: 10px; overflow: hidden; }
.custom-table thead { background: #0A9A9A; color: #fff; }
.custom-table th { padding: 10px 14px; font-size: 14px; font-weight: 600; text-align: right; }
.custom-table td { padding: 8px 14px; font-size: 14px; border-bottom: 1px solid #e2e8f0; }
.custom-table tbody tr:nth-child(even) { background: #f8fafc; }
.custom-table tbody tr:hover { background: #eef3fc; }

/* Image Container */
.image-container { margin: 16px 0; border-radius: 12px; overflow: hidden; }
.responsive-image { width: 100%; height: auto; display: block; }
.input-info-save { margin: 10px 0; }
.nice-select { width: 100%; }

/* Section list */
.li-sections { padding-top: 0; margin-top: 15px; padding-bottom: 0; margin-bottom: 0; }
.popular-post-widget-item { border-bottom: 1px solid #e5eaee; }
.popular-post-widget-item p { font-size: 14px; font-weight: 500; }
.border-light { background: rgba(229, 234, 238, 0.05); }
footer { display: block; }

.ltn_active { font-weight: 700 !important; color: var(--ltn__secondary-color) !important; }
