
  .awg-widget {
    /* رنگ های سفارشی شما */
    --primary: #405A6B;
    --secondary: #E3EEDD;
    --accent: #FC6941;
    
    /* متغیرهای تنظیم شده برای لایت مود */
    --bg: transparent; /* پس زمینه از سایت شما خوانده می شود */
    --surface: #ffffff; /* رنگ باکس ها */
    --surface2: #f8fafc;
    --text: #2c3e50; /* رنگ متن اصلی */
    --muted: #5c6e7a; /* رنگ متن کمرنگ */
    --border: rgba(64, 90, 107, 0.15); /* حاشیه ها بر اساس رنگ اصلی */
    --radius: 16px;
    
    font-family: inherit; /* خواندن فونت از قالب سایت */
    color: var(--text);
    line-height: 1.8;
    font-size: 100%;
  }

  .awg-widget * { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
  }

  .awg-widget .hero {
    position: relative;
    padding: 40px 15px 30px;
    text-align: center;
    overflow: hidden;
  }

  .awg-widget .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% -10%, var(--secondary), transparent 70%);
    pointer-events: none;
    z-index: -1;
  }

  .awg-widget .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--secondary);
    border: 1px solid var(--border);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
  }

  .awg-widget .hero h1 {
    font-size: clamp(22px, 4vw, 36px);
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--primary);
  }

  .awg-widget .hero p {
    color: var(--muted);
    font-size: 15px;
    max-width: 540px;
    margin: 0 auto 28px;
  }

  .awg-widget .keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
    margin-bottom: 0;
  }

  .awg-widget .kw {
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--primary);
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
  }

  .awg-widget .stats-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .awg-widget .stats-row.visible { opacity: 1; transform: translateY(0); }
  
  .awg-widget .stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    text-align: center;
    flex: 1;
    min-width: 110px;
    max-width: 170px;
    box-shadow: 0 4px 15px rgba(64, 90, 107, 0.05);
  }

  .awg-widget .stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 5px;
  }

  .awg-widget .stat-label { font-size: 11px; color: var(--muted); font-weight: 600; }
  
  .awg-widget .container { max-width: 820px; margin: 0 auto; padding: 0 15px 40px; }
  
  .awg-widget .tabs-nav {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    background: var(--surface);
    padding: 6px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px rgba(64, 90, 107, 0.03);
  }

  .awg-widget .tab-btn {
    flex: 1;
    min-width: 90px;
    background: transparent;
    border: none;
    color: var(--muted);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
  }

  .awg-widget .tab-btn.active {
    background: var(--secondary);
    color: var(--primary);
    border: 1px solid rgba(64, 90, 107, 0.15);
  }

  .awg-widget .tab-btn:hover:not(.active) { color: var(--primary); background: rgba(64, 90, 107, 0.04); }
  .awg-widget .tab-panel { display: none; animation: fadeIn 0.35s ease; }
  .awg-widget .tab-panel.active { display: block; }
  
  @keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
  
  .awg-widget .section-label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .awg-widget .section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
  .awg-widget .accordion { display: flex; flex-direction: column; gap: 9px; }
  
  .awg-widget .acc-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.25s;
    box-shadow: 0 2px 8px rgba(64, 90, 107, 0.02);
  }

  .awg-widget .acc-item.open { 
    border-color: rgba(64, 90, 107, 0.4); 
    box-shadow: 0 4px 15px rgba(64, 90, 107, 0.08);
  }

  .awg-widget .acc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 18px;
    cursor: pointer;
    user-select: none;
    gap: 10px;
  }

  .awg-widget .acc-title-wrap {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .awg-widget .acc-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    background: var(--secondary);
  }

  .awg-widget .acc-arrow { color: var(--muted); font-size: 16px; transition: transform 0.3s; flex-shrink: 0; }
  .awg-widget .acc-item.open .acc-arrow { transform: rotate(180deg); color: var(--primary); }
  .awg-widget .acc-body { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1); }
  .awg-widget .acc-body.open { max-height: 600px; }
  
  .awg-widget .acc-content {
    padding: 14px 18px 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
    border-top: 1px solid var(--border);
    background: #fafcff;
  }

  .awg-widget .acc-content strong { color: var(--primary); font-weight: 800; }
  
  .awg-widget .table-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    overflow-x: auto;
    box-shadow: 0 4px 15px rgba(64, 90, 107, 0.04);
  }

  .awg-widget .compare-table { width: 100%; border-collapse: collapse; font-size: 13px; }
  .awg-widget .compare-table th {
    background: var(--secondary);
    color: var(--primary);
    font-weight: 800;
    font-size: 12px;
    padding: 14px 16px;
    text-align: right;
    border-bottom: 2px solid var(--border);
  }

  .awg-widget .compare-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    vertical-align: middle;
    line-height: 1.7;
  }

  .awg-widget .compare-table tr:last-child td { border-bottom: none; }
  .awg-widget .compare-table td:first-child { color: var(--primary); font-weight: 700; width: 28%; background: rgba(64, 90, 107, 0.02); }
  
  .awg-widget .chart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }

  @media (max-width: 540px) { .awg-widget .chart-grid { grid-template-columns: 1fr; } }
  
  .awg-widget .chart-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    box-shadow: 0 4px 15px rgba(64, 90, 107, 0.04);
  }

  .awg-widget .chart-card.visible { opacity: 1; transform: translateY(0); }
  .awg-widget .chart-title { font-size: 12px; font-weight: 800; color: var(--primary); margin-bottom: 16px; }
  
  .awg-widget .dose-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
  @media (max-width: 460px) { .awg-widget .dose-cards { grid-template-columns: 1fr; } }
  
  .awg-widget .dose-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: 0 4px 15px rgba(64, 90, 107, 0.04);
  }

  .awg-widget .dose-card .label { font-size: 11px; color: var(--muted); font-weight: 800; margin-bottom: 5px; }
  .awg-widget .dose-card .value { font-size: 24px; font-weight: 800; color: var(--accent); margin-bottom: 3px; }
  .awg-widget .dose-card .desc { font-size: 13px; color: var(--text); font-weight: 500;}
  
  .awg-widget .progress-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; box-shadow: 0 4px 15px rgba(64, 90, 107, 0.04); }
  .awg-widget .progress-item { margin-bottom: 16px; }
  .awg-widget .progress-item:last-child { margin-bottom: 0; }
  .awg-widget .progress-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--text); font-weight: 600; margin-bottom: 8px; }
  .awg-widget .progress-label span:last-child { color: var(--accent); font-weight: 800; }
  .awg-widget .progress-track { height: 8px; background: var(--secondary); border-radius: 99px; overflow: hidden; }
  .awg-widget .progress-fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    width: 0;
    transition: width 1.1s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .awg-widget .timeline { position: relative; padding-right: 22px; }
  .awg-widget .timeline::before { content: ''; position: absolute; right: 7px; top: 10px; bottom: 10px; width: 2px; background: var(--secondary); }
  .awg-widget .tl-item { position: relative; margin-bottom: 20px; padding-right: 20px; }
  .awg-widget .tl-item:last-child { margin-bottom: 10px; }
  .awg-widget .tl-dot { position: absolute; right: -23px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid #ffffff; box-shadow: 0 0 0 2px rgba(252, 105, 65, 0.2); }
  .awg-widget .tl-week { font-size: 13px; color: var(--primary); font-weight: 800; margin-bottom: 4px; }
  .awg-widget .tl-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }
  
  .awg-widget .warn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
  @media (max-width: 460px) { .awg-widget .warn-grid { grid-template-columns: 1fr; } }
  
  .awg-widget .warn-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    box-shadow: 0 4px 15px rgba(64, 90, 107, 0.04);
  }

  .awg-widget .warn-card.danger { border-color: rgba(252, 105, 65, 0.4); background: rgba(252, 105, 65, 0.02); }
  .awg-widget .warn-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
  .awg-widget .warn-text h4 { font-size: 14px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
  .awg-widget .warn-card.danger .warn-text h4 { color: #d9401e; }
  .awg-widget .warn-text p { font-size: 13px; color: var(--muted); line-height: 1.65; }
  
  .awg-widget .info-card {
    background: rgba(64, 90, 107, 0.04);
    border: 1px solid rgba(64, 90, 107, 0.2);
    border-radius: var(--radius);
    padding: 16px 20px;
    font-size: 14px;
    color: var(--text);
    margin-top: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    line-height: 1.8;
  }

  .awg-widget .info-card span { font-size: 20px; flex-shrink: 0; }
  .awg-widget .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
  .awg-widget .reveal.visible { opacity: 1; transform: translateY(0); }



/* استایل‌های اختصاصی مقاله مجله داروژی (نسخه تقویت شده با اولویت بالا برای وردپرس) */
#darozhi-custom-article {
    line-height: 1.8 !important;
    color: #333333 !important;
    font-size: 16px !important;
    text-align: justify !important;
    direction: rtl !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 15px !important;
}

#darozhi-custom-article h2 {
    color: #00796B !important; /* رنگ سبز دارویی */
    border-bottom: 2px solid #E0F2F1 !important;
    padding-bottom: 10px !important;
    margin-top: 2em !important;
    margin-bottom: 1em !important;
    font-size: 1.5em !important;
    font-weight: bold !important;
}

#darozhi-custom-article h3 {
    color: #009688 !important;
    margin-top: 1.5em !important;
    margin-bottom: 0.8em !important;
    font-size: 1.25em !important;
    font-weight: bold !important;
    position: relative !important;
    padding-right: 15px !important;
}

#darozhi-custom-article h3::before {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    top: 5px !important;
    bottom: 5px !important;
    width: 4px !important;
    background-color: #4DB6AC !important;
    border-radius: 4px !important;
}

#darozhi-custom-article p {
    margin-bottom: 1.2em !important;
    color: #424242 !important;
}

#darozhi-custom-article strong, #darozhi-custom-article b {
    color: #212121 !important;
    font-weight: 800 !important;
}

#darozhi-custom-article em, #darozhi-custom-article i {
    color: #555 !important;
}

#darozhi-custom-article blockquote {
    background-color: #F3FAFA !important;
    border-right: 4px solid #00796B !important;
    padding: 20px !important;
    margin: 25px 0 !important;
    border-radius: 0 0 0 10px !important;
    color: #004D40 !important;
    font-weight: bold !important;
    box-shadow: 0 2px 10px rgba(0, 121, 107, 0.05) !important;
}

#darozhi-custom-article blockquote p {
    margin: 0 !important;
    color: inherit !important;
}

#darozhi-custom-article ul {
    padding-right: 25px !important;
    margin-bottom: 1.5em !important;
}

#darozhi-custom-article li {
    margin-bottom: 1em !important;
    color: #424242 !important;
}

/* استایل جدول مقایسه‌ای */
#darozhi-custom-article .darozhi-table-wrapper {
    overflow-x: auto !important;
    margin: 30px 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    border: 1px solid #E0E0E0 !important;
}

#darozhi-custom-article table {
    width: 100% !important;
    border-collapse: collapse !important;
    min-width: 600px !important;
    background: #ffffff !important;
}

#darozhi-custom-article th, #darozhi-custom-article td {
    border-bottom: 1px solid #EEEEEE !important;
    border-left: 1px solid #EEEEEE !important;
    padding: 15px !important;
    text-align: right !important;
    vertical-align: top !important;
}

#darozhi-custom-article th:last-child, #darozhi-custom-article td:last-child {
    border-left: none !important;
}

#darozhi-custom-article thead th {
    background-color: #00796B !important;
    color: #ffffff !important;
    font-weight: bold !important;
    font-size: 1.05em !important;
    white-space: nowrap !important;
}

#darozhi-custom-article tbody tr:nth-child(even) {
    background-color: #FAFAFA !important;
}

#darozhi-custom-article tbody tr:hover {
    background-color: #F0F8F8 !important;
    transition: background-color 0.3s ease !important;
}

/* استایل آکاردئون (سوالات متداول) */
#darozhi-custom-article details {
    background-color: #ffffff !important;
    border: 1px solid #E0E0E0 !important;
    border-radius: 8px !important;
    margin-bottom: 15px !important;
    padding: 15px 20px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02) !important;
    transition: all 0.3s ease !important;
}

#darozhi-custom-article details[open] {
    border-color: #00796B !important;
    box-shadow: 0 4px 12px rgba(0, 121, 107, 0.08) !important;
}

#darozhi-custom-article summary {
    font-weight: bold !important;
    color: #00796B !important;
    cursor: pointer !important;
    list-style: none !important;
    position: relative !important;
    padding-left: 30px !important; 
    margin: 0 !important;
    font-size: 1.1em !important;
}

#darozhi-custom-article summary::-webkit-details-marker {
    display: none !important;
}

#darozhi-custom-article summary::after {
    content: "+" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 1.5em !important;
    color: #4DB6AC !important;
    font-weight: normal !important;
}

#darozhi-custom-article details[open] summary::after {
    content: "−" !important;
    color: #00796B !important;
}

#darozhi-custom-article details > p, 
#darozhi-custom-article details > ul {
    margin-top: 15px !important;
    padding-top: 15px !important;
    margin-bottom: 0 !important;
    border-top: 1px dashed #E0F2F1 !important;
    color: #424242 !important;
    font-size: 0.9em !important; /* سایز فونت جواب‌ها کوچکتر شد */
    line-height: 1.9 !important;
}



:is(#daroozhi-ash-inline-priority, body.postid-1893) .drz-ash-inline-1 { margin-top:24px; }

:is(#daroozhi-ash-inline-priority, body.postid-1893) .drz-ash-inline-2 { background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px 24px 10px;box-shadow:0 4px 15px rgba(64, 90, 107, 0.04); }

:is(#daroozhi-ash-inline-priority, body.postid-1893) .drz-ash-inline-3 { border-color:rgba(252, 105, 65, 0.4);background:rgba(252, 105, 65, 0.04); }

:is(#daroozhi-ash-inline-priority, body.postid-1893) .drz-ash-inline-4 { line-height: 1.8; color: #333333; font-size: 16px; text-align: justify; direction: rtl; max-width: 900px; margin: 0 auto; padding: 15px; }

:is(#daroozhi-ash-inline-priority, body.postid-1893) .drz-ash-inline-5 { max-width:100%; height:auto; border-radius:8px; margin:20px auto; display:block; }
