/* ============================================================================
   DANSIS ADMIN STUDIO v1.00 — STOREFRONT SSR OUTPUT (MEDICAL CARD, FAQ & SEO)
   ============================================================================ */

.das-pub-med-card {
  direction: rtl;
  text-align: right;
  margin: 16px 0 18px;
  padding: 15px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #f0fdfa 100%);
  border: 1.5px solid #99f6e4;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}
.das-pub-med-card a {
  text-decoration: none !important;
  outline: none !important;
}
.das-pub-med-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.das-pub-med-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  background: #2f4b4c;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}
.das-pub-auth-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  font-size: 11.5px;
  font-weight: 800;
}
.das-pub-med-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.das-pub-med-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
}
.das-pub-med-item span { color: #64748b; font-weight: 700; }
.das-pub-med-item strong { color: #0f172a; font-weight: 900; }

.das-pub-med-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.das-pub-btn-pdf,
.das-pub-btn-vid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 800;
}
.das-pub-btn-pdf {
  background: #2f4b4c;
  color: #ffffff !important;
}
.das-pub-btn-vid {
  background: #ffffff;
  border: 1.5px solid #0f766e;
  color: #0f766e !important;
}

.das-pub-top-summary {
  margin: 0 0 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8fafc 0%, #f0fdfa 100%);
  border-right: 4px solid #0f766e;
  color: #1e293b;
  font-size: 13.5px;
  line-height: 1.85;
}

.das-pub-bottom-wrap {
  margin: 26px 0;
  direction: rtl;
  text-align: right;
}
.das-pub-section-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px 22px;
  margin-bottom: 18px;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.04);
}
.das-pub-sec-title {
  margin: 0 0 14px !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
}
.das-pub-video-frame video,
.das-pub-video-frame iframe {
  width: 100%;
  min-height: 380px;
  border: none;
  border-radius: 14px;
  background: #0f172a;
}
.das-pub-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.das-pub-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  background: #f8fafc;
  padding: 12px 16px;
}
.das-pub-faq-item summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  color: #0f172a;
}
.das-pub-faq-item p {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
  font-size: 13.5px;
  line-height: 1.85;
  color: #334155;
}
.das-pub-seo-guide {
  line-height: 1.95;
  color: #1e293b;
  font-size: 14px;
}

@media (max-width: 680px) {
  .das-pub-med-grid {
    grid-template-columns: 1fr;
  }
  .das-pub-video-frame video,
  .das-pub-video-frame iframe {
    min-height: 220px;
  }
}
