
    :root {
      --primary-color: #003659;
      --primary-container: #0a4d7a;
      --secondary-light: #B5E2FF;
      --surface-soft: #eaf5ff;
      --crisis-red: #FF0000;
      --text-dark: #121c2a;
      --text-muted: #41474f;
      --crisis-tint: #ffebee;
      --crisis-border: #ffcdd2;
    }

    body {
     font-family: sans-serif ;
      background-color: #f8f9ff;
      color: var(--text-dark);
      margin: 0;
      padding: 0;
    }

    p {
      line-height: 28px;
    }

    /* Emergency Top Bar */
    .top-crisis-bar {
      background-color: #ffebee;
      border-bottom: 1px solid #ffdad6;
      font-size: 13px;
    }

    /* Header Branding */
    .hospital-header {
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(12px);
      box-shadow: 0 2px 12px rgba(10, 77, 122, 0.06);
    }

    /* Clinical Cards & Grid Hover */
    .card-clinical {
    background-color: #ffffff;
    border: 1px solid #d9e6f2;
    border-left: 6px solid var(--primary-container);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card-clinical:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(10, 77, 122, 0.12);
    border-left-color: var(--primary-container);
    }

   .card-featured,
    .card-standard {
    border-left-color: var(--primary-container);
    }
    
    .case-description {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 26px;
    }

    .case-card-title {
        color: var(--primary-color);
        font-size: 21px;
        line-height: 1.45;
    }
    
    .case-card-meta {
        color: var(--text-muted);
        font-size: 14px;
        line-height: 1.6;
    }

    /* Image Container Uniform Height */
    .case-thumb-wrap {
      width: 100%;
      height: 220px;
      position: relative;
      overflow: hidden;
     background-color: var(--surface-soft);
    }

    .case-thumb-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }

    .card-clinical:hover .case-thumb-wrap img {
      transform: scale(1.03);
    }

    .case-location-badge {
      position: absolute;
      bottom: 12px;
      left: 12px;
      background: rgba(0, 30, 44, 0.78);
      color: #ffffff;
      font-size: 12px;
      font-weight: 500;
      padding: 4px 10px;
      border-radius: 9999px;
      backdrop-filter: blur(4px);
    }

    .case-status-badge {
      position: absolute;
      bottom: 12px;
      right: 12px;
      background: var(--crisis-red);
      color: #ffffff;
      font-size: 11px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 9999px;
    }

    .case-status-badge.green {
      background: #00796b;
    }
    

    /* Patient Profile Strip */
    .profile-strip {
      background-color: #f4f9fd;
      border: 1px dashed var(--secondary-light);
      border-radius: 12px;
      padding: 10px 14px;
    }

    /* Tag Pills */
    .tag-pill {
      font-size: 12px;
      padding: 4px 10px;
      border-radius: 6px;
      font-weight: 600;
      background-color: #eaf5ff;
      color: var(--primary-container);
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    /* Buttons */
    .btn-emergency-pill {
      background-color: var(--crisis-red);
      color: #ffffff !important;
      border-radius: 9999px;
      padding: 11px 24px;
      font-weight: 700;
      font-size: 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      text-decoration: none;
      box-shadow: 0 4px 14px rgba(255, 0, 0, 0.28);
      transition: all 0.2s ease;
    }

    .btn-emergency-pill:hover {
      background-color: #d32f2f;
      transform: translateY(-1px);
    }



    .btn-soft-primary {
      background-color: #eaf5ff;
      color: var(--primary-container) !important;
      border-radius: 9999px;
      padding: 10px 20px;
      font-weight: 600;
      font-size: 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      text-decoration: none;
      border: 1px solid var(--secondary-light);
      transition: all 0.2s ease;
    }

    .btn-soft-primary:hover {
      background-color: #d8eeff;
      color: #003659 !important;
    }

    .no-scrollbar::-webkit-scrollbar {
      display: none;
    }

    .no-scrollbar {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }
    
    @media (max-width: 575.98px) {
    .case-thumb-wrap {
        height: 200px;
    }

    .case-description {
        font-size: 15px;
        line-height: 25px;
    }

    .case-card-title {
        font-size: 19px;
    }
}
    
    /*Detail Page*/
       /* Main Editorial Container Card */
    .unified-article-card {
      background: #ffffff;
      border: 1px solid #ddecfa;
      border-radius: 20px;
      box-shadow: 0 4px 24px rgba(10, 77, 122, 0.06);
      padding: 32px 36px;
    }

    @media (max-width: 768px) {
      .unified-article-card {
        padding: 20px 16px;
      }
    }

    /* Refined Images */
    .editorial-img {
      width: 100%;
      height: 340px;
      object-fit: cover;
      border-radius: 16px;
      border: 1px solid #d8eaf8;
      box-shadow: 0 4px 14px rgba(10, 77, 122, 0.08);
      display: block;
    }

    @media (max-width: 768px) {
      .editorial-img {
        height: 210px;
      }
    }

    /* Sleek Meta-Header Patient Strip */
    .patient-profile-strip {
      background: linear-gradient(135deg, #f0f7ff 0%, #e3f1fc 100%);
      border: 1px solid var(--secondary-light);
      border-radius: 14px;
      padding: 16px 20px;
    }

    /* Continuous Timeline Styling */
    .timeline-journey {
      position: relative;
      padding-left: 28px;
    }

    .timeline-journey::before {
      content: "";
      position: absolute;
      left: 10px;
      top: 8px;
      bottom: 12px;
      width: 3px;
      background: linear-gradient(180deg, #0a4d7a 0%, #36637c 50%, #B5E2FF 100%);
      border-radius: 2px;
    }

    .timeline-step {
      position: relative;
      margin-bottom: 28px;
    }

    .timeline-step:last-child {
      margin-bottom: 0;
    }

    .timeline-node {
      position: absolute;
      left: -28px;
      top: 2px;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: #0a4d7a;
      border: 3px solid #ffffff;
      box-shadow: 0 0 0 2px #B5E2FF;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* Emergency Alert Box */
    .emergency-callout {
      background-color: var(--crisis-tint);
      border-left: 5px solid var(--crisis-red);
      border-top: 1px solid var(--crisis-border);
      border-right: 1px solid var(--crisis-border);
      border-bottom: 1px solid var(--crisis-border);
      border-radius: 12px;
      padding: 20px;
    }

    
    
.patient-details-table {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.patient-details-table .table {
    width: 100%;
    font-size: 17px;
    border-color: #dee2e6;
}

.patient-details-table th {
    width: 35%;
    padding: 15px 18px;
    color: #41474f;
    font-weight: 600;
}

.patient-details-table td {
    padding: 15px 18px;
    color: #0a4d7a;
    font-weight: 500;
}

@media (max-width: 575.98px) {
    .patient-details-table .table {
        font-size: 15px;
    }

    .patient-details-table th,
    .patient-details-table td {
        padding: 12px;
    }
}

.case-listing-card {
    width: 100%;
    overflow: hidden;
}

.case-listing-header {
    padding: 24px 28px;
    border-bottom: 1px solid #d6e3ed;
    background: #f4f9fd;
}

.case-listing-header .tag-pill {
    margin-bottom: 12px;
}

.case-title-link {
    color: #003659;
    text-decoration: none;
}

.case-listing-subtitle {
    color: #41474f;
    font-size: 16px;
    line-height: 1.7;
}

.case-listing-body {
    padding: 26px 28px;
}

.patient-info-box {
    height: 100%;
    min-height: 100px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #fff;
    border: 1.5px solid #0a4d7a;
    border-radius: 8px;
    box-shadow: 0 3px 9px rgba(0, 54, 89, 0.10);
}

.patient-info-label {
    display: block;
    margin-bottom: 6px;
    color: #41474f;
    font-size: 14px;
    line-height: 1.5;
}

.patient-info-value {
    display: block;
    margin: 0;
    color: #003659;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.case-preview-heading {
    margin-bottom: 12px;
    color: #003659;
    font-size: 20px;
    font-weight: 700;
}

.case-listing-body .case-description {
    color: #41474f;
    font-size: 16px;
    line-height: 1.85;
}

@media (max-width: 575.98px) {
    .case-listing-header {
        padding: 20px 16px;
    }

    .case-listing-body {
        padding: 20px 16px;
    }

    .patient-info-box {
        min-height: 90px;
        padding: 12px 8px;
    }

    .patient-info-label {
        font-size: 13px;
    }

    .patient-info-value {
        font-size: 16px;
    }

    .case-listing-body .case-description {
        font-size: 15px;
    }
}
    
  