/* ============================================
   BIO-CLINIC SALUTE HUB - ARTICLE STYLES
   Medical content articles: health guides
   ============================================ */

/* === ARTICLE LAYOUT === */
.salute-article {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

/* === REVIEWER BADGE === */
.reviewer-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #f0f7e6 0%, #e8f5e9 100%);
  border: 1px solid #c8e6c9;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 1.5rem;
  font-size: 0.85em;
}
.reviewer-badge img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #4caf50;
}
.reviewer-badge .reviewer-info {
  flex: 1;
}
.reviewer-badge .reviewer-label {
  color: #666;
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.reviewer-badge .reviewer-name {
  font-weight: 600;
  color: #2e7d32;
}
.reviewer-badge .reviewer-name a {
  color: inherit;
  text-decoration: none;
}
.reviewer-badge .reviewer-name a:hover {
  text-decoration: underline;
}
.reviewer-badge .reviewer-credentials {
  font-size: 0.85em;
  color: #555;
}

/* === AI SUMMARY BOX === */
.ai-summary {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-left: 4px solid #1976d2;
  border-radius: 0 10px 10px 0;
  padding: 20px;
  margin-bottom: 2rem;
  font-size: 0.95em;
  line-height: 1.7;
}
.ai-summary h2 {
  font-size: 1em;
  color: #1565c0;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-summary ul {
  margin: 0;
  padding-left: 1.2em;
}
.ai-summary li {
  margin-bottom: 4px;
}

/* === ARTICLE HERO === */
.article-hero {
  margin-bottom: 2rem;
}
.article-hero .article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  font-size: 0.85em;
  color: #666;
}
.article-hero .article-specialty-tag {
  background: #E53935;
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: 600;
  text-decoration: none;
}
.article-hero .article-date {
  color: #888;
}
.article-hero .reading-time {
  color: #888;
}
.article-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2em;
  color: #1a1a1a;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}
@media (max-width: 640px) {
  .article-hero h1 { font-size: 1.5em; }
}
.article-hero .article-subtitle {
  font-size: 1.15em;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

/* === CONTENT SECTIONS === */
.salute-article h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4em;
  color: #1a1a1a;
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0e0e0;
}
.salute-article h3 {
  font-size: 1.15em;
  color: #333;
  margin: 1.5rem 0 0.75rem;
}
.salute-article p {
  line-height: 1.8;
  color: #333;
  margin-bottom: 1rem;
}

/* === SYMPTOMS TABLE === */
.symptoms-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.9em;
}
.symptoms-table thead th {
  background: #f5f5f5;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #ddd;
}
.symptoms-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  color: #444;
  vertical-align: top;
}
.symptoms-table tbody tr:hover {
  background: #fafafa;
}

/* === SPECIALIST CARDS === */
.specialist-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 1.5rem 0;
}
.specialist-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  border-left: 4px solid var(--card-accent, #E53935);
}
.specialist-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.specialist-card img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.specialist-card .specialist-initials {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1em;
  flex-shrink: 0;
  color: var(--card-accent, #E53935);
  background: color-mix(in srgb, var(--card-accent, #E53935) 12%, white);
}
.specialist-card .specialist-card-info h4 {
  margin: 0;
  font-size: 0.95em;
  color: #1a1a1a;
}
.specialist-card .specialist-card-info p {
  margin: 2px 0 0;
  font-size: 0.8em;
  color: #666;
  line-height: 1.3;
}

/* === EXCELLENCE BOX (Bio-Clinic) === */
.excellence-box {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border: 2px solid #4caf50;
  border-radius: 12px;
  padding: 24px;
  margin: 2rem 0;
}
.excellence-box h3 {
  color: #2e7d32;
  margin: 0 0 12px;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.excellence-box ul {
  margin: 0;
  padding-left: 1.2em;
}
.excellence-box li {
  margin-bottom: 6px;
  color: #333;
}

/* === SARDINIA ANGLE BOX === */
.sardinia-box {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  border-left: 4px solid #f57c00;
  border-radius: 0 10px 10px 0;
  padding: 18px 20px;
  margin: 1.5rem 0;
}
.sardinia-box h3 {
  color: #e65100;
  margin: 0 0 8px;
  font-size: 1em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sardinia-box p {
  margin: 0;
  color: #444;
  font-size: 0.95em;
}

/* === WHEN TO SEE DOCTOR === */
.alert-box {
  background: #fff3f3;
  border: 2px solid #ef5350;
  border-radius: 12px;
  padding: 20px;
  margin: 1.5rem 0;
}
.alert-box h3 {
  color: #c62828;
  margin: 0 0 10px;
  font-size: 1em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.alert-box ul {
  margin: 0;
  padding-left: 1.2em;
}
.alert-box li {
  margin-bottom: 4px;
  color: #333;
}

/* === FAQ SECTION (reuse from physician) === */
.salute-faq .faq-item {
  margin-bottom: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}
.salute-faq .faq-question {
  padding: 14px 16px;
  background: #f8f9fa;
  font-weight: 600;
  font-size: 0.95em;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.salute-faq .faq-question:hover { background: #f0f0f0; }
.salute-faq .faq-question::after { content: '+'; font-size: 1.2em; color: #666; transition: transform 0.2s; }
.salute-faq .faq-item.open .faq-question::after { content: '\2212'; }
.salute-faq .faq-answer {
  padding: 0 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 0.9em;
  color: #555;
  line-height: 1.7;
}
.salute-faq .faq-item.open .faq-answer {
  max-height: 500px;
  padding: 14px 16px;
}

/* === BIBLIOGRAPHY === */
.bibliography {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin: 2rem 0;
}
.bibliography h3 {
  font-size: 1em;
  color: #333;
  margin: 0 0 12px;
}
.bibliography ol {
  margin: 0;
  padding-left: 1.4em;
  font-size: 0.85em;
  color: #555;
}
.bibliography li {
  margin-bottom: 6px;
  line-height: 1.5;
}
.bibliography a {
  color: #1565c0;
  word-break: break-all;
}

/* === CTA BOX === */
.cta-box {
  background: linear-gradient(135deg, #00704A 0%, #009963 100%);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  margin: 2.5rem 0;
  color: #fff;
}
.cta-box h3 {
  color: #fff;
  margin: 0 0 10px;
  font-size: 1.2em;
}
.cta-box p {
  color: rgba(255,255,255,0.9);
  margin: 0 0 16px;
  font-size: 0.95em;
}
.cta-box .cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-box .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95em;
  transition: all 0.2s;
}
.cta-box .btn-cta-primary {
  background: #fff;
  color: #00704A;
}
.cta-box .btn-cta-primary:hover { background: #f0f0f0; }
.cta-box .btn-cta-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.cta-box .btn-cta-secondary:hover { background: rgba(255,255,255,0.25); }

/* === SALUTE INDEX (hub page) === */
.salute-hub .article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 2rem 0;
}
.salute-hub .article-preview {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}
.salute-hub .article-preview:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.salute-hub .article-preview .preview-specialty {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 0.75em;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.salute-hub .article-preview h3 {
  font-size: 1.05em;
  margin: 0 0 6px;
  color: #1a1a1a;
  line-height: 1.3;
}
.salute-hub .article-preview .preview-excerpt {
  font-size: 0.85em;
  color: #666;
  line-height: 1.5;
  margin: 0 0 10px;
}
.salute-hub .article-preview .preview-meta {
  font-size: 0.78em;
  color: #999;
}

/* === LAST UPDATED BADGE === */
.last-updated {
  font-size: 0.8em;
  color: #888;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  text-align: center;
}

/* === PRINT === */
@media print {
  .reviewer-badge, .cta-box, .specialist-cards { display: none; }
  .salute-article { max-width: 100%; }
  .salute-article h2 { page-break-after: avoid; }
}
