[data-component-id="avchildcare:table_group"] {

  /* Mobile */
  display: flex;
  flex-direction: column;
  width: 100%;

  & .av-table__row-headers {
    display: none;
  }

  & .paragraph {
    height: 100%;
    border-top: 1px solid var(--border-secondary);

    &[data-label] {
      display: flex;
      flex-direction: row;
      align-items: center;

      &::before {
        flex: 0 0 81px;
        margin-bottom: 0;
      }

      & > * {
        flex: 1;
        min-width: 0;
        padding: 0 16px;
      }
    }
  }

  /* Desktop */
  @media (min-width: 768px) {
    display: grid;
    grid-template-columns: 307px;
    grid-auto-columns: 1fr;
    grid-auto-rows: auto;
    max-width: 1200px;

    & .av-table__col-header {
      padding: 16px 24px;
      font-weight: 700;
      color: var(--text-primary);
      border-bottom: 1px solid var(--border-secondary);
    }

    & .paragraph {
      border: none;
    }

    & .av-table__row-headers {
      display: grid;
      grid-column: 1;
      grid-row: 2 / span 100;
      grid-template-rows: subgrid;

      & > * {
        padding: 28px 24px;
        border-top: 1px solid var(--border-secondary);
        color: var(--color-teal);
        font-weight: 600;
      }
    }

  }
}
