/* AIGS v08: narrow-screen readability only.
   Keep the approved v01/v07 desktop design, colors, typography and imagery unchanged. */
@media (max-width: 767.98px) {
  /* Only the two data-heavy conference pages below use stacked rows. */
  .aigs-mobile-table {
    overflow-x: visible;
  }
  .aigs-mobile-table table,
  .aigs-mobile-table tbody,
  .aigs-mobile-table tr,
  .aigs-mobile-table td {
    display: block;
    width: 100%;
    max-width: 100%;
  }
  .aigs-mobile-table table {
    border-spacing: 0;
    margin: 0;
  }
  .aigs-mobile-table thead {
    /* Keep the column headers available to assistive technology. */
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    clip-path: inset(50%);
  }
  .aigs-mobile-table tbody tr {
    margin: 0 0 1rem;
    border: 1px solid #dce3e1;
    border-radius: 3px;
    overflow: hidden;
    background: #fff;
  }
  .aigs-mobile-table tbody tr td {
    padding: .72rem .85rem;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #e8eeeb;
    text-align: left;
    vertical-align: top;
  }
  .aigs-mobile-table tbody tr td:last-child {
    border-bottom: 0;
  }
  .aigs-mobile-table tbody tr td:first-child {
    font-weight: 700;
    color: #22313c;
    background: #f5f8f7;
  }
  .aigs-mobile-table tbody tr td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    font-size: .78rem;
    line-height: 1.35;
    margin-bottom: .24rem;
    opacity: .78;
  }
  /* Existing images and forms must fit narrow viewports without touching desktop rules. */
  .main-wrapper img:not(.logochange img) {
    max-width: 100%;
  }
  .main-wrapper input:not([type="checkbox"]):not([type="radio"]),
  .main-wrapper select,
  .main-wrapper textarea {
    max-width: 100%;
  }
}
@media (max-width: 359.98px) {
  /* Stop long table values and registration controls touching phone edges. */
  .aigs-mobile-table tbody tr td { padding: .65rem .72rem; }
}
