/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    .table-1669 {
      padding: var(--sectionPadding);
    }
    .table-1669 .cs-container {
      width: 100%;
      max-width: 80rem;
      margin: auto;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      /* 48px - 64px */
      gap: clamp(3rem, 6vw, 4rem);
    }
    .table-1669 .cs-content {
      /* set text align to left if content needs to be left aligned */
      text-align: left;
      width: 100%;
      display: flex;
      flex-direction: column;
      /* centers content horizontally, set to flex-start to left align */
      align-items: flex-start;
    }
    .table-1669 .cs-table {
      width: 100%;
      border-collapse: collapse;
    }
    .table-1669 .cs-th {
      padding: 0.75rem 1rem;
      box-sizing: border-box;
    }
    .table-1669 .cs-td {
      padding: 0.5rem 1rem;
      box-sizing: border-box;
    }
    .table-1669 .cs-th,
    .table-1669 .cs-td {
      border: 1px solid #000000;
      text-align: center;
      max-width: 25rem;
      white-space: normal;
      word-wrap: break-word;
      word-break: break-word;
    }
    .table-1669 .cs-color .cs-th:first-child {
      color: #fff;
      background-color: var(--primary);
    }
    .table-1669 .cs-th:first-child,
    .table-1669 .cs-td:first-child {
      position: sticky;
      left: 0;
      z-index: 100;
      /* Make sure it sits above the other cells */
      background-color: #f2f2f2;
      border: 1px solid #000000;
      text-align: left;
    }
    .table-1669 .cs-th {
      background-color: #f2f2f2;
    }
    .table-1669 .cs-tr {
      color: var(--bodyTextColor);
    }
    .table-1669 .cs-icon {
      height: 1rem;
      width: auto;
    }
  }
  /* Tablet - 600px */
  @media screen and (max-width: 37.5rem) {
    .table-1669 .cs-table {
      display: block;
      overflow-x: auto;
    }
  }

/* Phones and small tablets: a 5-7 column table squeezed into ~360px breaks
   words mid-letter and grows rows hundreds of pixels tall. Tables marked
   .cs-stack turn each row into a card instead. Each cell is labeled from its
   data-label attribute; cells without one (the row's title, the action
   buttons) span the full card, and a leading unlabeled cell is the heading. */
@media screen and (max-width: 48rem) {
    .table-1669 .cs-table.cs-stack,
    .table-1669 .cs-table.cs-stack tbody,
    .table-1669 .cs-table.cs-stack tr,
    .table-1669 .cs-table.cs-stack td {
        display: block;
        width: 100%;
    }

    /* The per-cell labels replace the header row; keep it for screen readers */
    .table-1669 .cs-table.cs-stack thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .table-1669 .cs-table.cs-stack tr {
        margin-bottom: 0.75rem;
        padding: 0.25rem 0.875rem;
        background-color: #fff;
        border: 1px solid #d6d6d6;
        border-radius: 0.5rem;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    }

    .table-1669 .cs-table.cs-stack td {
        position: static;
        max-width: none;
        padding: 0.5rem 0;
        font-size: 1rem;
        line-height: 1.4;
        text-align: left;
        background-color: transparent;
        border: none;
        border-bottom: 1px solid #ececec;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .table-1669 .cs-table.cs-stack td:last-child {
        border-bottom: none;
    }

    .table-1669 .cs-table.cs-stack td[data-label] {
        display: grid;
        grid-template-columns: 5.5rem minmax(0, 1fr);
        column-gap: 0.75rem;
        align-items: baseline;
    }

    .table-1669 .cs-table.cs-stack td[data-label]::before {
        content: attr(data-label);
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--primary);
    }

    /* Multi-part values (e.g. a log date and its excerpt) stay in the value column */
    .table-1669 .cs-table.cs-stack td[data-label] > * {
        grid-column: 2;
    }

    /* Nothing to show (e.g. no phone on file): skip the bare label */
    .table-1669 .cs-table.cs-stack td[data-label]:empty {
        display: none;
    }

    .table-1669 .cs-table.cs-stack td:first-child:not([data-label]) {
        font-size: 1.125rem;
        font-weight: 700;
        color: var(--headerColor);
    }
}
/* Property details (#hero-856) uses a legacy <table width="1000"> layout.
   Cap it to the viewport, and stack the two 50% columns on narrow screens
   so phones don't get horizontal scrolling. CSS widths here intentionally
   override the presentational width= attributes in the HTML. */
#hero-856 > table {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    #hero-856 > table,
    #hero-856 > table > tbody,
    #hero-856 > table > tbody > tr,
    #hero-856 > table > tbody > tr > td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
}
