/* ======================================================================
   ARTICLE BRANDING & TYPOGRAPHY SYSTEM
   ====================================================================== */
.article-body {
    line-height: 1.7;
    font-size: 1.1rem;
    color: #e0e0e0;
}

/* Primary Article Header */
.article-body h1 {
    font-size: 2.25rem;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 20px;
    /*color: #ffffff;*/
    border-bottom: 1px solid #2d2d2d;
    padding-bottom: 15px;
}

/* Body Paragraphs */
.article-body p {
    margin-bottom: 25px;
    text-align: justify; /* Provides clean text boundaries */
}

/* Inline Highlights / Author Badges */
.article-body span.meta-tag {
    background-color: #1e1e1e;
    color: #888888;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    margin-right: 10px;
}

/* Interactive Links within Article Copy */
.article-body a {
    color: #60a5fa;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.15s ease;
}

.article-body a:hover {
    color: #93c5fd;
}

/* ======================================================================
   ADVANCED TEXT WRAPPING IMAGE LOGIC
   ====================================================================== */
/* Target images directly embedded inside a paragraph tag */
.article-body p img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #2d2d2d;
    background-color: #1e1e1e;
    padding: 4px;
    box-sizing: border-box;
}

/* Alignment modifier classes to drop inside your markup structure */
.article-body p img.align-left {
    float: left;
    margin: 8px 24px 15px 0;
}

.article-body p img.align-right {
    float: right;
    margin: 8px 0 15px 24px;
}

/* Clearfix utility to prevent floated elements from breaking subsequent sections */
.article-body::after, .article-body p::after {
    content: "";
    clear: both;
    display: table;
}


/* ======================================================================
   SEMANTIC IMAGE CAPTION LAYOUTS
   ====================================================================== */
/* Target the figure container wrapper */
.article-body figure {
    margin: 0;
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
}

/* Move float styles from images to the figure container */
.article-body figure.align-left {
    float: left;
    margin: 8px 24px 15px 0;
}

.article-body figure.align-right {
    float: right;
    margin: 8px 0 15px 24px;
}

/* Match your original image border and styling profile */
.article-body figure img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #2d2d2d;
    background-color: #1e1e1e;
    padding: 4px;
    display: block; /* Eliminates the default bottom whitespace gap */
    box-sizing: border-box;
}

/* Clean, readable caption typography scale */
.article-body figcaption {
    margin-top: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #888888; /* Muted gray text contrast */
    text-align: center;
    font-style: italic;
    max-width: 100%;
}

.summar-table-wrapper {
	border: 1px solid #e5e7eb;
	border-radius: 6px;
}
.summary-table {
    width: 100%;
    margin: .5rem 0;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 15px;
    line-height: 1.45;
  }

  .summary-table th,
  .summary-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
  }

  .summary-table th {
    color: #caf200;
  }

  .summary-table tr:last-child td {
    border-bottom: none;
  }

 

/* ======================================================================
   RESPONSIVE MOBILE OVERRIDES (768px and down)
   ====================================================================== */
@media screen and (max-width: 768px) {
    .article-body h1 {
        font-size: 1.75rem;
    }
    
    .article-body {
        font-size: 1.05rem;
    }

    /* CRITICAL MOBILE ACCESSIBILITY WORKAROUND:
       On tiny phone viewports, text wrapped tightly around floated images is unreadable.
       We kill the float, center the graphic, and stack the text beneath it gracefully. */
    .article-body p img.align-left,
    .article-body p img.align-right {
        float: none;
        display: block;
        margin: 15px auto;
        max-width: 100%;
        width: 100%; /* Spans full column width gracefully on small touch screens */
    }
	
	    /* Kill floats and center figures fully on mobile phone screens */
    .article-body figure.align-left,
    .article-body figure.align-right {
        float: none;
        display: block;
        margin: 20px auto;
        width: 100%;
    }

    .article-body figure img {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .summary-table th,
    .summary-table td {
      padding: 10px 12px;
      font-size: 14px;
    }