.elementor-20029 .elementor-element.elementor-element-3bd98cb{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-20029 .elementor-element.elementor-element-d08b3ff > .elementor-widget-container{margin:0px -23px 0px -23px;}.elementor-20029 .elementor-element.elementor-element-218d2f6{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-20029 .elementor-element.elementor-element-89b2c48{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-20029 .elementor-element.elementor-element-89b2c48:not(.elementor-motion-effects-element-type-background), .elementor-20029 .elementor-element.elementor-element-89b2c48 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://exirdentalclinic.ir/wp-content/uploads/2025/10/Untitled-design-61-1.png");}.elementor-20029 .elementor-element.elementor-element-ba1b76f{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-20029 .elementor-element.elementor-element-48390e3{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-20029 .elementor-element.elementor-element-48390e3:not(.elementor-motion-effects-element-type-background), .elementor-20029 .elementor-element.elementor-element-48390e3 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://exirdentalclinic.ir/wp-content/uploads/2025/10/Untitled-design-61-1.png");}.elementor-20029 .elementor-element.elementor-element-7ed7816{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-20029 .elementor-element.elementor-element-6ce089c{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-20029 .elementor-element.elementor-element-6ce089c:not(.elementor-motion-effects-element-type-background), .elementor-20029 .elementor-element.elementor-element-6ce089c > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://exirdentalclinic.ir/wp-content/uploads/2025/10/Untitled-design-61-1.png");}.elementor-20029 .elementor-element.elementor-element-d1cdd11{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-20029 .elementor-element.elementor-element-b15b083{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-20029 .elementor-element.elementor-element-b15b083:not(.elementor-motion-effects-element-type-background), .elementor-20029 .elementor-element.elementor-element-b15b083 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://exirdentalclinic.ir/wp-content/uploads/2025/10/Untitled-design-61-1.png");}.elementor-20029 .elementor-element.elementor-element-c0f66e4{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}@media(max-width:767px){.elementor-20029 .elementor-element.elementor-element-d08b3ff > .elementor-widget-container{margin:-21px -21px -21px -21px;}.elementor-20029 .elementor-element.elementor-element-48390e3{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-20029 .elementor-element.elementor-element-6ce089c{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}}/* Start custom CSS for html, class: .elementor-element-d08b3ff *//* ===== باکس‌ها ===== */
.insurance-container {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: row-reverse; /* <--- این خط را اضافه کنید */
  align-items: center;
  justify-content: center;
  gap: 25px;
  width: 100%;
  max-width: 1240px;
  margin-top: -40px;
}
@media (max-width: 900px) {
            /* ایجاد فاصله از کناره‌های صفحه برای اینکه باکس وسط چین و جدا دیده شود */
            #dandanline-rules-container {
                flex-direction: column;
                gap: 0;
                width: 100%;
                max-width: 100%;
                padding: 0 20px !important; /* تغییر مهم: فاصله ۲۰ پیکسلی از چپ و راست */
                margin: 20px auto !important; /* فاصله از بالا و پایین */
                box-sizing: border-box;
            }

            /* استایل کارت اصلی (باکس سفید) */
            .drc-card {
                width: 100%;
                max-width: 100%;
                order: 2;
                border-radius: 25px !important; /* گردی بیشتر گوشه‌ها */
                border: 1px solid #e0e0e0;
                background-color: #ffffff;
                /* سایه برای اینکه باکس از زمینه جدا شود */
                box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
                overflow: hidden; /* برای حفظ گردی گوشه‌ها */
            }

            /* گردی هدر سیاه رنگ */
            .drc-header {
                border-top-left-radius: 25px; 
                border-top-right-radius: 25px;
            }

            /* گردی پایین محتوا */
            .drc-content {
                border-bottom-left-radius: 25px;
                border-bottom-right-radius: 25px;
                padding: 25px 20px 20px; /* فضای داخلی بیشتر */
            }

            /* استایل باکس فهرست مطالب (TOC) در موبایل */
            .mobile-toc-inside-article {
                border-radius: 20px !important; /* گردی باکس فهرست */
                padding: 20px;
                margin-bottom: 25px; /* فاصله از متن پایین */
                background-color: #2a2a2a;
                /* پترن پس زمینه */
                background-image: repeating-linear-gradient( 90deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, rgba(0, 0, 0, 0.06) 1px, rgba(0, 0, 0, 0.06) 3px );
                box-shadow: inset 0 0 15px rgba(0,0,0,0.5); /* سایه داخلی برای عمق */
                border: 1px solid rgba(255,255,255,0.1);
            }

            /* سایر تنظیمات موبایل (بدون تغییر) */
            #reading-toc-wrapper { flex: none; width: 100%; position: relative; height: auto !important; order: 1; margin-bottom: 20px; padding: 0 20px; /* هماهنگ با پدینگ کانتینر */ }
            #reading-toc{ position: relative !important; top: auto !important; width: 100%; }
            .mobile-toc-inside-article nav ul { list-style: none; padding: 0; margin: 0; }
            .mobile-toc-inside-article nav li { margin-bottom: 5px; }
            .mobile-toc-inside-article nav ul ul.submenu { list-style: none; padding-right: 15px; margin: 5px 0 0 0; max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
            .mobile-toc-inside-article nav li.open > ul.submenu { max-height: 500px; margin-top: 8px; }
            .mobile-toc-inside-article nav a.toc-toggle { position: relative; }
            .mobile-toc-inside-article nav a.toc-toggle::before { content: '\25C2'; position: absolute; left: 10px; top: 50%; transform: translateY(-50%) rotate(0deg); transition: transform 0.3s ease; font-size: 0.8em; color: #bbb; }
            .mobile-toc-inside-article nav li.open > a.toc-toggle::before { transform: translateY(-50%) rotate(-90deg); }
            .mobile-toc-inside-article nav a { display: block; text-decoration: none; padding: 8px 15px 8px 12px; border-radius: 8px; color: #bbb; font-size: 0.95rem; transition: color 0.2s ease; text-align: right; border: 1px solid transparent; background: transparent; box-shadow: none; position:relative; }
            .mobile-toc-inside-article nav a::before { content: '•'; color: #bbb; position: absolute; right: 0px; top: 50%; transform: translateY(-50%); transition: color 0.2s ease; font-size: 1.2em; line-height: 1; }
            .mobile-toc-inside-article nav a.toc-toggle::before { content: '\25C2'; right: auto; left: 10px; font-size: 0.8em; }
            .mobile-toc-inside-article nav a.toc-level-3 { color: #bbb; font-size: 0.9rem; padding-right: 25px; font-weight: 400; }
            .mobile-toc-inside-article nav a.toc-level-3::before { right: 10px; }
            .mobile-toc-inside-article nav a:hover, .mobile-toc-inside-article nav a.active { color: #38bdf8; background: transparent; box-shadow: none; border-color: transparent; }
            .mobile-toc-inside-article nav a:hover::before, .mobile-toc-inside-article nav a.active::before { color: #38bdf8; }
            .mobile-toc-inside-article nav a.active { font-weight: 600; }
            .mobile-toc-inside-article nav a.toc-level-3.active { color: #38bdf8; font-weight: 600; background: transparent; border: 1px solid transparent; box-shadow: none; }
            .mobile-toc-inside-article nav a.toc-level-3.active::before { color: #38bdf8; }
            .drc-section p, .drc-section ul { text-align: justify; font-size: 1rem; line-height: 1.85; }
            .mobile-toc-inside-article + .drc-section { margin-top: 30px; }
            #dandanline-rules-container .drc-card .drc-content .drc-section h2,
            #dandanline-rules-container .drc-card .drc-content .drc-section h3 { font-size: 1.15rem !important; line-height: 1.4; font-weight: 600 !important; }
            .drc-faq-box { max-width: 100%; border-radius: 20px; margin: 25px auto 0 auto; box-shadow: 0 5px 20px rgba(0,0,0,0.2); }
            
            /* مخفی کردن TOC دسکتاپ */
            .mobile-toc-inside-article { display: block; }
            .desktop-toc { display: none; } 
        }/* End custom CSS */